.dashboard-unified .storage-tabs{scrollbar-width:thin;gap:8px;padding:2px 1px 12px;display:flex;overflow-x:auto}.dashboard-unified .storage-tabs button{color:#607092;cursor:pointer;white-space:nowrap;background:#f8f9fe;border:1px solid #e3e8f5;border-radius:10px;flex:none;align-items:center;gap:8px;min-height:39px;padding:7px 12px;font-size:.79rem;font-weight:800;transition:background .16s,border-color .16s,color .16s;display:inline-flex}.dashboard-unified .storage-tabs button:hover{color:#4b3cff;background:#f0efff;border-color:#cdc9ff}.dashboard-unified .storage-tabs button.active{color:#4738df;background:#eeedff;border-color:#c8c2ff}.dashboard-unified .storage-tabs button span{color:#7180a3;text-align:center;background:#e9edf7;border-radius:6px;min-width:22px;padding:2px 6px;font-size:.71rem}.dashboard-unified .storage-tabs button.active span{color:#4738df;background:#d9d5ff}.dashboard-unified .storage-tabs button:focus-visible,.dashboard-unified .storage-preview:focus-visible,.dashboard-unified .storage-file-actions button:focus-visible{outline-offset:2px;outline:3px solid #7367ee66}.dashboard-unified .storage-page .storage-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:16px}.dashboard-unified .storage-page .storage-file{flex-direction:column;padding:0;display:flex;overflow:hidden}.dashboard-unified .storage-preview{color:#6b77a2;cursor:pointer;background:#f3f5fc;border:0;width:100%;height:155px;padding:0;display:block;overflow:hidden}.dashboard-unified .storage-preview-image,.dashboard-unified .storage-preview-placeholder{flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;display:flex}.dashboard-unified .storage-preview-image img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.dashboard-unified .storage-preview:hover img{transform:scale(1.04)}.dashboard-unified .storage-preview-placeholder span{font-size:.76rem;font-weight:800}.dashboard-unified .storage-file-pdf .storage-preview{color:#d95059;background:#fff0f0}.dashboard-unified .storage-file-videos .storage-preview{color:#6277cc;background:#eef3ff}.dashboard-unified .storage-file-documents .storage-preview{color:#45a46d;background:#eff8f2}.dashboard-unified .storage-file-other .storage-preview{color:#98816b;background:#f5f3f0}.dashboard-unified .storage-file-body{flex-direction:column;flex:1;min-width:0;padding:13px 14px 14px;display:flex}.dashboard-unified .storage-file-body h3{text-overflow:ellipsis;white-space:nowrap;color:#263859;text-align:right;min-width:0;margin:0;font-size:.83rem;font-weight:800;overflow:hidden}.dashboard-unified .storage-file-body p{color:#8793b0;margin:6px 0 15px;font-size:.75rem}.dashboard-unified .storage-file-actions{margin-top:auto}.dashboard-unified .storage-file-actions button{cursor:pointer}.dashboard-unified .storage-file-actions button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:760px){.dashboard-unified .storage-page .storage-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.dashboard-unified .storage-preview{height:135px}}
.school-news-page{--news-accent:var(--school-accent,#514cf5);color:#17223b;background:#f8faff;min-height:70vh;padding-bottom:78px}.news-hero{background:radial-gradient(at 65% 18%,#fff 0,#f5f8ff 46%,#e9f0ff 100%);border-bottom:1px solid #e8edfb;position:relative;overflow:hidden}.news-hero:before{content:"";background:#e1e6ffb8;border-radius:50%;width:180px;height:180px;position:absolute;top:38%;right:39%;transform:rotate(-20deg)scaleX(1.4)}.news-hero:after{content:"";opacity:.8;background-image:radial-gradient(#bfc8ff 1.7px,#0000 2px);background-size:15px 15px;width:84px;height:95px;position:absolute;top:52px;left:-25px}.news-hero-inner{z-index:1;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;gap:clamp(30px,5vw,80px);width:min(1440px,100% - 64px);min-height:260px;margin:auto;padding:21px 0;display:grid;position:relative}.news-hero-copy{text-align:right;padding:12px 0}.news-eyebrow{color:var(--news-accent);margin-bottom:12px;font-size:.9rem;font-weight:800;display:inline-block}.news-hero-copy h1{letter-spacing:-.035em;color:#17223b;margin:0 0 11px;font-size:clamp(2.1rem,3.4vw,3.45rem);line-height:1.32}.news-hero-copy h1 span{color:var(--news-accent)}.news-hero-copy p{color:#738099;max-width:620px;margin:0;font-size:1.03rem;line-height:1.95}.news-hero-visual{background:#e5eaff;border-radius:20px;height:218px;overflow:hidden;box-shadow:0 15px 35px #263d8019}.news-hero-visual img{object-fit:cover;width:100%;height:100%;display:block}.news-hero-placeholder{width:100%;height:100%;color:var(--news-accent);background:linear-gradient(125deg,#dce5ff,#f7f8ff 58%,#dce7ff);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-weight:800;display:flex}.news-content{width:min(1440px,100% - 64px);margin:auto;padding-top:20px}.news-toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.news-categories{scrollbar-width:thin;align-items:center;gap:9px;min-width:0;padding:2px 0 5px;display:flex;overflow-x:auto}.news-categories button{color:#5659b6;white-space:nowrap;background:#f0f2ff;border:0;border-radius:999px;flex:none;padding:10px 18px;font-size:.79rem;font-weight:750;transition:background .2s,transform .2s,color .2s}.news-categories button:hover{background:#e6e9ff;transform:translateY(-2px)}.news-categories button.active{background:var(--news-accent);color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--news-accent) 23%,transparent)}.news-search{color:#8190b1;background:#fff;border:1px solid #dfe6f4;border-radius:11px;align-items:center;gap:9px;width:278px;min-width:210px;min-height:43px;padding:0 12px;display:flex;box-shadow:0 6px 20px #26345908}.news-search:focus-within{border-color:var(--news-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--news-accent) 14%,transparent)}.news-search input[type=search]{width:100%;min-height:39px;box-shadow:none;text-align:right;color:#17223b;background:0 0;border:0;padding:0;font-size:.82rem}.news-search input[type=search]:focus{box-shadow:none;border:0}.news-search input::placeholder{color:#9ba7bd}.news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.news-card{background:#fff;border:1px solid #edf0f8;border-radius:18px;flex-direction:column;min-width:0;padding:12px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 7px 23px #28377609}.news-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #28377619}.news-card-image{aspect-ratio:2.05;background:#edf1ff;border-radius:12px;width:100%;display:block;position:relative;overflow:hidden}.news-card-image img,.news-image-placeholder{object-fit:cover;width:100%;height:100%;display:block}.news-image-placeholder{color:var(--news-accent);background:linear-gradient(135deg,#e5eaff,#f7f9ff);place-items:center;display:grid}.news-category-badge{color:#514cf5;white-space:nowrap;background:#eeedff;border-radius:999px;align-items:center;gap:5px;width:max-content;max-width:calc(100% - 16px);padding:7px 10px;font-size:.73rem;font-weight:800;line-height:1.2;display:inline-flex}.news-card-image .news-category-badge{position:absolute;top:10px;right:10px;box-shadow:0 3px 9px #15224f1c}.news-category-student_council{color:#0eaa57;background:#e0fae8}.news-category-education{color:#2c6de2;background:#e4efff}.news-category-exams{color:#4f54ed;background:#e7efff}.news-category-trips{color:#dc780e;background:#fff2dc}.news-category-culture{color:#7850d5;background:#f1eaff}.news-category-achievements{color:#a87908;background:#fff4d9}.news-category-other{color:#68758c;background:#edf0f7}.news-card-body{flex-direction:column;flex:1;min-width:0;padding:13px 5px 2px;display:flex}.news-date{color:#8490a8;align-items:center;gap:5px;font-size:.74rem;font-weight:700;display:inline-flex}.news-date svg{color:#8c9ab9}.news-card .news-date{direction:rtl;align-self:flex-start;margin-bottom:7px}.news-card h2{color:#17223b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 5px;font-size:1rem;font-weight:800;line-height:1.65;display:-webkit-box;overflow:hidden}.news-card h2 a:hover{color:var(--news-accent)}.news-card p{color:#7f8aa1;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 10px;font-size:.8rem;line-height:1.75;display:-webkit-box;overflow:hidden}.news-read-more{width:max-content;color:var(--news-accent);align-items:center;gap:8px;margin-top:auto;font-size:.79rem;font-weight:800;display:inline-flex}.news-read-more:hover{gap:12px}.news-show-more{color:var(--news-accent);background:#fff;border:1px solid #cfd2ff;border-radius:12px;margin:27px auto 0;padding:11px 25px;font-weight:800;display:block}.news-show-more:hover{background:#f0f0ff}.news-state,.news-empty{text-align:center;color:#75829a;padding:45px 20px}.news-empty{background:#fff;border:1px dashed #d9e1f2;border-radius:18px;flex-direction:column;align-items:center;gap:9px;display:flex}.news-empty svg{color:var(--news-accent)}.news-empty h2{color:#17223b;margin:0}.news-empty p{margin:0;font-size:.88rem}.news-article-shell{width:min(940px,100% - 40px);margin:auto;padding-top:38px}.news-back-link{color:var(--news-accent);align-items:center;gap:8px;margin-bottom:22px;font-size:.88rem;font-weight:800;display:inline-flex}.news-article{background:#fff;border:1px solid #e8edf7;border-radius:20px;overflow:hidden;box-shadow:0 10px 35px #2837760b}.news-article-heading{padding:35px 40px 25px}.news-article-heading h1{margin:17px 0 12px;font-size:clamp(1.8rem,3vw,2.65rem)}.news-article-cover{object-fit:cover;border-radius:15px;width:calc(100% - 80px);max-height:470px;margin:0 40px;display:block}.news-article-body{color:#35415d;overflow-wrap:anywhere;padding:30px 40px 42px;line-height:2.05}.news-article-body img{border-radius:12px;max-width:100%;height:auto}.news-article-body a{color:var(--news-accent);text-decoration:underline}@media (max-width:1150px){.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.news-hero-inner{grid-template-columns:1fr 1fr;gap:26px}.news-hero-copy h1{font-size:clamp(2rem,3.3vw,2.8rem)}}@media (max-width:820px){.news-hero-inner,.news-content{width:calc(100% - 36px)}.news-hero-inner{grid-template-columns:1fr;gap:18px;padding:27px 0}.news-hero-copy{padding:0}.news-hero-visual{height:230px}.news-toolbar{flex-direction:column-reverse;align-items:stretch;gap:11px}.news-search{width:100%}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:540px){.news-hero-inner,.news-content{width:calc(100% - 28px)}.news-hero-copy h1{font-size:2.15rem}.news-hero-copy p{font-size:.9rem}.news-hero-visual{height:180px}.news-categories button{padding:9px 14px}.news-grid{grid-template-columns:1fr;gap:13px}.news-card-image{aspect-ratio:2.1}.news-article-shell{width:calc(100% - 28px);padding-top:24px}.news-article-heading{padding:25px 20px 19px}.news-article-cover{width:calc(100% - 40px);margin:0 20px}.news-article-body{padding:20px}}
.student-dashboard{direction:rtl;background:#f4f7ff;grid-template-columns:256px minmax(0,1fr);min-height:100vh}.student-dashboard .sidebar{color:#dfe6ff;background:linear-gradient(160deg,#253163,#1b2549 45%,#202b50);padding:0 14px;box-shadow:-8px 0 30px #1a245024}.student-dashboard .dashboard-brand{color:#fff;background:linear-gradient(135deg,#333484,#242a69);border-radius:0 0 0 38px;align-items:center;gap:12px;height:98px;margin:0 -14px 18px;padding:20px 29px;display:flex}.student-dashboard .dashboard-brand .brand{color:#fff;padding:0;font-size:1.38rem;line-height:1.2}.student-dashboard .sidebar-school{color:#c4c9e9;white-space:nowrap;margin:4px 0 0;padding:0;font-size:.72rem}.student-dashboard .sidebar nav{gap:3px}.student-dashboard .sidebar nav a{color:#dce4ff;border-radius:11px;align-items:center;gap:17px;min-height:44px;padding:10px 15px;font-size:.88rem;display:flex}.student-dashboard .sidebar nav a svg{flex:none}.student-dashboard .sidebar nav a:hover,.student-dashboard .sidebar nav a.active{color:#fff;background:#493bff;box-shadow:0 8px 18px #100e5e42}.student-dashboard .sidebar-divider{background:#ffffff30;height:1px;margin:14px 12px 17px}.student-dashboard .sidebar-caption{color:#b9c4e2;margin:0 15px 8px;font-size:.74rem}.student-dashboard .dash-main{background:radial-gradient(circle at 4% 0,#e6ebff 0 70px,#0000 71px),radial-gradient(circle at 68% 3%,#e5eaff 0 45px,#0000 46px),#f4f7ff;min-width:0}.student-dashboard .dash-top{background:#ffffffdc;border-bottom:1px solid #e8ecf8;justify-content:space-between;gap:18px;height:70px;padding:0 26px;display:flex}.student-dashboard .dashboard-global-search{color:#7280a2;text-align:right;background:#f1f4fb;border:0;border-radius:10px;align-items:center;gap:12px;width:min(440px,45%);min-width:300px;height:42px;padding:0 12px;font-size:.77rem;display:flex}.student-dashboard .dashboard-global-search span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.student-dashboard .dashboard-global-search kbd{font:inherit;direction:ltr;border:1px solid #e1e7f4;border-radius:6px;padding:1px 5px}.student-dashboard .dashboard-account{color:#1a2c54;align-items:center;gap:11px;margin-right:auto;font-size:.82rem;display:flex}.student-dashboard .dashboard-account strong,.student-dashboard .dashboard-account small{white-space:nowrap;display:block}.student-dashboard .dashboard-account small{color:#8793b1;margin-top:2px}.student-dashboard .dashboard-avatar{color:#473df3;background:#e3eaff;border-radius:50%;place-items:center;width:37px;height:37px;font-size:1.1rem;font-weight:800;display:grid}.student-dashboard .dashboard-notification{color:#304066;background:0 0;border:0;margin-left:6px;padding:7px;position:relative}.student-dashboard .dashboard-notification:after{content:"";background:#e93058;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:6px}.student-dashboard .dashboard-logout{color:#4b3cff;background:#fff;border:1px solid #d7d4ff;border-radius:10px;align-items:center;gap:8px;margin-right:20px;padding:8px 13px;font-weight:800;display:inline-flex}.student-dashboard .dash-content{max-width:none;padding:28px 24px 34px}.students-page{color:#1d2a51;max-width:1580px;margin:auto}.students-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;display:flex}.students-title{align-items:center;gap:15px;display:flex}.students-title-icon{color:#0672e8;background:#fff;border:5px solid #edf1ff;border-radius:16px;place-items:center;width:65px;height:65px;display:grid;box-shadow:0 5px 18px #8194c825}.students-title .eyebrow{font-size:.72rem}.students-title h1{color:#152346;margin:1px 0 5px;font-size:2rem;line-height:1.2}.students-title p{color:#7180a5;margin:0;font-size:.91rem;font-weight:600}.students-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.student-primary,.student-outline{white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-size:.88rem;font-weight:800;display:inline-flex}.student-primary{color:#fff;background:#4b3bff;border:1px solid #5142ff;box-shadow:0 8px 18px #4537f43a}.student-primary:hover{background:#392adb}.student-outline{color:#4b3bff;background:#fff;border:1px solid #cbcfff;box-shadow:0 5px 15px #4a44e613}.student-outline:hover{background:#f6f5ff}.students-actions .import-control{gap:6px;display:flex}.students-actions .import-control label{color:#4b3bff;background:#fff;border:1px solid #cbcfff;border-radius:11px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-size:.88rem;font-weight:800;display:inline-flex;box-shadow:0 5px 15px #4a44e613}.students-actions .import-control label:before{content:"⇩";margin-left:8px;font-size:1.3rem;font-weight:900;line-height:1}.students-actions .import-control .muted{z-index:3;background:#fff;border:1px solid #dbe2f6;border-radius:8px;padding:8px 12px;position:absolute;top:142px;left:25px;box-shadow:0 8px 24px #18265020}.student-success{color:#0b8b5d;background:#e6f8ee;border:1px solid #b6e6ce;border-radius:10px;align-items:center;gap:8px;margin:10px 0;padding:9px 13px;display:flex}.student-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0;display:grid}.student-stat{background:#fff;border-radius:16px;justify-content:space-between;gap:12px;min-height:136px;padding:20px;display:flex;box-shadow:0 12px 30px #2537640a}.student-stat>div{flex-direction:column;align-items:flex-start;display:flex}.student-stat span:not(.student-stat-icon):not(.green-dot){font-size:.85rem;font-weight:800}.student-stat strong{color:#4a3afa;margin-top:2px;font-size:2rem;line-height:1.4}.student-stat small{color:#8592b4;white-space:nowrap;margin-top:auto;font-size:.73rem}.green-dot{background:#11aa6a;border-radius:50%;width:8px;height:8px;margin-left:5px;display:inline-block}.student-stat-icon{border-radius:50%;flex:none;place-items:center;width:65px;height:65px;display:grid}.student-stat-icon.blue{color:#0879ed;background:#e8f3ff}.student-stat-icon.amber{color:#f2a00c;background:#fff2de}.student-stat-icon.purple{color:#5840f3;background:#f0edff}.student-stat-icon.green{color:#10a767;background:#e5f8ee}.student-list-panel{background:#fff;border-radius:16px;padding:19px 22px 21px;box-shadow:0 12px 35px #2537640b}.student-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.student-search,.student-select{color:#607298;background:#fff;border:1px solid #dde5f5;border-radius:9px;align-items:center;gap:9px;height:44px;padding:0 13px;display:flex}.student-search{flex:290px;min-width:220px;max-width:360px}.student-search input{color:#273861;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:.8rem}.student-search input::placeholder{color:#91a0c0}.student-select{flex:145px;min-width:145px;max-width:190px}.student-select select{appearance:none;color:#34466e;cursor:pointer;background:0 0;border:0;outline:0;width:100%;font-size:.81rem;font-weight:700}.student-select svg:last-child{flex:none}.student-bulk{margin-right:auto;position:relative}.student-bulk-trigger{color:#e12245;white-space:nowrap;background:#fff1f3;border:0;border-radius:9px;align-items:center;gap:10px;height:44px;padding:0 14px;font-size:.82rem;font-weight:800;display:flex}.student-bulk-trigger:disabled{opacity:.58;cursor:not-allowed}.student-bulk-menu{z-index:5;background:#fff;border:1px solid #e3e8f5;border-radius:12px;width:240px;padding:12px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 15px 35px #1b2d5a30}.student-bulk-menu label{color:#5a6683;flex-direction:column;gap:6px;font-size:.77rem;display:flex}.student-bulk-menu select{border:1px solid #dfe4f1;border-radius:7px;padding:8px}.student-bulk-menu button{color:#4a3cff;background:#eef0ff;border:0;border-radius:7px;width:100%;margin-top:8px;padding:8px;font-weight:700}.student-bulk-menu button.danger{color:#db2545;background:#fff0f3}.student-bulk-menu button:disabled{opacity:.5}.student-table-wrap{border:1px solid #e9eef8;border-radius:12px;overflow-x:auto}.student-table{border-collapse:collapse;text-align:right;width:100%;min-width:840px}.student-table th{color:#7180a5;white-space:nowrap;background:#f4f6fc;height:46px;font-size:.78rem;font-weight:800}.student-table td{color:#34466e;vertical-align:middle;height:49px;padding:7px 12px;font-size:.81rem}.student-table tr:last-child td{border-bottom:0}.student-table th:first-child,.student-table td:first-child{text-align:center;width:44px}.student-table input[type=checkbox]{accent-color:#4e3fff;cursor:pointer;width:15px;height:15px}.student-name{color:#20345f;white-space:nowrap;align-items:center;gap:9px;font-weight:700;display:flex}.student-avatar{color:#5946e9;background:linear-gradient(135deg,#e4eafe,#f5eaff);border-radius:50%;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.student-code{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;direction:ltr}.student-grade,.student-class,.student-status{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:5px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.student-grade{color:#5540ee;background:#f0edff}.student-class{color:#6c7da6;background:#f1f4fb}.student-status{cursor:pointer;border:0;gap:7px}.student-status.active{color:#0b9b65;background:#e6f8ef}.student-status.inactive{color:#de294f;background:#fff0f3}.student-status span{background:currentColor;border-radius:50%;width:7px;height:7px}.student-row-actions{white-space:nowrap;gap:8px;display:flex}.student-row-actions button{border:0;border-radius:8px;align-items:center;gap:5px;padding:6px 9px;font-size:.73rem;font-weight:800;display:inline-flex}.student-edit{color:#006fea;background:#eaf4ff}.student-delete{color:#e12e50;background:#fff0f3}.student-empty{text-align:center!important;color:#7987a4!important;padding:35px!important}.student-pagination{color:#596a90;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:21px;font-size:.78rem;display:flex}.student-page-size,.student-page-buttons{align-items:center;gap:9px;display:flex}.student-page-size label{align-items:center;gap:7px;display:flex}.student-page-size select,.student-page-buttons button{color:#52648d;background:#fff;border:1px solid #e1e8f5;border-radius:8px;height:36px;padding:0 10px}.student-page-buttons button{min-width:36px;font-weight:800}.student-page-buttons button.current{color:#fff;background:#4b3bff;border-color:#4b3bff;box-shadow:0 5px 13px #4b3bff47}.student-page-buttons button:disabled{opacity:.4;cursor:default}.student-modal-backdrop{z-index:20;background:#12204094;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.student-modal{background:#fff;border-radius:18px;width:min(770px,100%);max-height:calc(100vh - 40px);padding:25px;overflow:auto;box-shadow:0 24px 70px #14204e5e}.student-modal-head{justify-content:space-between;align-items:start;margin-bottom:20px;display:flex}.student-modal-head h2{margin:3px 0 0}.student-icon-button{color:#40517a;background:#f4f6ff;border:0;border-radius:8px;padding:7px}.student-modal .form-grid label{color:#3a4b72;font-size:.78rem;font-weight:700}.student-modal .form-grid input,.student-modal .form-grid select{border:1px solid #dbe2f2;border-radius:8px;outline-color:#5947ff;min-height:42px;padding:8px}.student-modal-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}@media (max-width:1180px){.student-dashboard{grid-template-columns:210px minmax(0,1fr)}.student-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.student-toolbar .student-search{max-width:none}}@media (max-width:760px){.student-dashboard{display:block}.student-dashboard .sidebar{padding:10px;position:relative}.student-dashboard .dashboard-brand{border-radius:10px;height:auto;margin:0;padding:8px 10px}.student-dashboard .sidebar nav{flex-direction:row;margin-top:9px;display:flex;overflow-x:auto}.student-dashboard .sidebar nav a{white-space:nowrap}.student-dashboard .sidebar-divider,.student-dashboard .sidebar-caption{display:none}.student-dashboard .dash-top{padding:0 14px}.student-dashboard .dashboard-global-search{width:42px;min-width:0;padding:10px}.student-dashboard .dashboard-global-search span,.student-dashboard .dashboard-global-search kbd,.student-dashboard .dashboard-account>div,.student-dashboard .dashboard-account>svg{display:none}.student-dashboard .dashboard-logout{margin-right:0}.student-dashboard .dash-content{padding:20px 12px}.students-title h1{font-size:1.6rem}.student-stats{gap:10px}.student-stat{min-height:112px;padding:14px}.student-stat-icon{width:45px;height:45px}.student-stat strong{font-size:1.6rem}.student-list-panel{padding:12px}.student-toolbar>*{flex:100%;max-width:none!important}.student-bulk{margin:0}.student-bulk-trigger{justify-content:center;width:100%}}.subject-pairs{white-space:normal;flex-direction:column;gap:8px;min-width:220px;display:flex}.subject-pair{overflow-wrap:anywhere;background:#f7f9fc;border:1px solid #e5eaf2;border-radius:9px;flex-direction:column;gap:4px;padding:8px 12px;display:flex}.subject-pair a{color:#394fb1;font-weight:600;text-decoration:none}.subject-pair span,.subject-unassigned{color:#69758a;font-size:12px}.subject-unassigned{white-space:normal}.subject-assignment-fields{border:1px solid #e5eaf2;border-radius:12px;min-width:0;margin-top:20px;padding:16px}.subject-assignment-fields legend{padding:0 8px;font-size:14px;font-weight:700}.subject-assignment-fields p{color:#69758a;margin:0 0 14px;font-size:12px;line-height:1.9}.subject-assignment-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin-bottom:14px;display:grid}.subject-assignment-row label{flex-direction:column;gap:7px;min-width:0;font-size:12px;display:flex}.subject-assignment-row select{width:100%;min-width:0}.subject-assignment-row button{min-height:40px}.subject-teacher-caption{color:#69758a;margin-top:4px;font-size:11px;font-weight:400;display:block}@media (max-width:600px){.subject-assignment-row{grid-template-columns:minmax(0,1fr) auto}.subject-assignment-row label:first-child{grid-column:1/-1}.subject-assignment-fields{padding:12px}}
.dashboard-unified .dashboard-context{color:#5f6e91;font-size:.84rem;font-weight:800}.dashboard-unified .dash-content{width:100%}.dashboard-unified .dashboard-heading{margin-bottom:21px}.dashboard-unified .overview-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-unified .overview-metric{color:inherit;text-decoration:none;transition:transform .16s,box-shadow .16s}.dashboard-unified .overview-metric:hover{transform:translateY(-3px);box-shadow:0 16px 35px #2537641c}.dashboard-unified .overview-metric .student-stat-icon{width:54px;height:54px}.dashboard-unified .overview-panel{margin-top:20px}.dashboard-unified .resource-panel-title{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.dashboard-unified .resource-panel-title h2{color:#202e52;margin:0 0 4px;font-size:1.08rem}.dashboard-unified .resource-panel-title p{color:#8793b0;margin:0;font-size:.78rem}.dashboard-unified .overview-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dashboard-unified .overview-shortcut{color:#263859;border:1px solid #e6ebf8;border-radius:12px;align-items:center;gap:11px;min-height:76px;padding:13px 15px;font-size:.89rem;transition:background .16s,border-color .16s;display:flex}.dashboard-unified .overview-shortcut:hover{background:#f8f9ff;border-color:#cfd0ff}.dashboard-unified .overview-shortcut>span{color:#4e40ee;background:#eeedff;border-radius:11px;place-items:center;width:41px;height:41px;display:grid}.dashboard-unified .overview-shortcut>svg:last-child{color:#7f8caa;margin-right:auto}.dashboard-unified .resource-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-unified .resource-table-count{color:#7b88a7;margin-right:auto;font-size:.82rem;font-weight:800}.dashboard-unified .resource-list-panel .student-search{max-width:390px}.dashboard-unified .resource-list-panel .student-search input{height:auto;box-shadow:none;background:0 0;border:0;padding:0}.dashboard-unified .resource-table{min-width:660px}.dashboard-unified .resource-table th:first-child,.dashboard-unified .resource-table td:first-child{text-align:right;width:auto;padding-right:14px}.dashboard-unified .resource-table td{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.dashboard-unified .resource-table th{white-space:nowrap}.dashboard-unified .resource-row-link{color:#4e40ee;background:#eeedff;border-radius:8px;align-items:center;padding:6px 9px;font-size:.73rem;font-weight:800;display:inline-flex}.dashboard-unified .resource-status{color:#6552cd;white-space:nowrap;background:#eff2ff;border-radius:8px;justify-content:center;align-items:center;padding:5px 9px;font-size:.72rem;font-weight:800;display:inline-flex}.dashboard-unified .resource-status.pending,.dashboard-unified .resource-status.reviewing{color:#cb820f;background:#fff4e5}.dashboard-unified .resource-status.accepted{color:#078f5d;background:#e5f7ee}.dashboard-unified .resource-status.rejected{color:#d93759;background:#fff0f3}.dashboard-unified .resource-modal .form-grid label{color:#374971;font-size:.79rem;font-weight:700}.dashboard-unified .resource-modal .form-grid input,.dashboard-unified .resource-modal .form-grid select,.dashboard-unified .resource-modal .form-grid textarea{border:1px solid #dbe3f2;border-radius:8px;outline-color:#5947ff;min-height:42px;padding:8px}.dashboard-unified .resource-modal .form-grid textarea{min-height:120px}.dashboard-unified .notice{color:#3f35ad;background:#f1f0ff;border:1px solid #d8dcff}.dashboard-unified .page-head{align-items:center;margin-bottom:21px}.dashboard-unified .page-head h1{color:#182746;font-size:1.9rem}.dashboard-unified .page-head .eyebrow{font-size:.75rem}.dashboard-unified .page-head .button.light,.dashboard-unified .page-head .subtle-link{color:#4e3cff;background:#fff;border:1px solid #d5d3ff;border-radius:10px;align-items:center;min-height:42px;padding:9px 15px;font-size:.85rem;font-weight:800;display:inline-flex;box-shadow:0 5px 15px #3435aa12}.dashboard-unified .card{border-color:#e8ecf8;border-radius:16px;box-shadow:0 12px 30px #2537640b}.dashboard-unified .editor,.dashboard-unified .table-card,.dashboard-unified .website-editor-section{margin-top:18px;padding:22px}.dashboard-unified .table-card h2{margin-bottom:16px;font-size:1.08rem}.dashboard-unified .table-wrap{border:1px solid #e9eef8;border-radius:11px;overflow-x:auto}.dashboard-unified .table-wrap table{min-width:670px}.dashboard-unified .table-wrap th{color:#7381a3;vertical-align:middle;background:#f4f6fc;height:45px;font-size:.78rem}.dashboard-unified .table-wrap td{color:#34466e;vertical-align:middle;font-size:.82rem}.dashboard-unified .table-wrap tr:last-child td{border-bottom:0}.dashboard-unified .editor label,.dashboard-unified .website-editor label{color:#34466e;font-size:.81rem;font-weight:700}.dashboard-unified .editor input,.dashboard-unified .editor select,.dashboard-unified .editor textarea,.dashboard-unified .website-editor input:not([type=file]),.dashboard-unified .website-editor select,.dashboard-unified .website-editor textarea{border:1px solid #dbe3f2;border-radius:9px;outline-color:#5747f5}.dashboard-unified .primary{background:#4b3bff;border-radius:10px;box-shadow:0 8px 18px #4537f43a}.dashboard-unified .primary:hover{background:#392adb}.dashboard-unified .checks{flex-wrap:wrap;gap:10px;display:flex}.dashboard-unified .checks label{background:#f8f9fe;border:1px solid #e3e8f5;border-radius:9px;padding:8px 12px}.dashboard-unified .score-input{text-align:center;border:1px solid #dae2f1;border-radius:8px;width:80px;min-height:35px}.dashboard-unified .detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:670px}.dashboard-unified .detail-form .student-primary,.dashboard-unified .grades-page .table-card>.student-primary{margin-top:17px}.dashboard-unified .detail-delete{color:#e12e50;background:#fff0f3;border:0;border-radius:8px;align-items:center;gap:5px;padding:6px 10px;font-size:.75rem;font-weight:800;display:inline-flex}.dashboard-unified .grades-page .checks label{align-items:center;gap:7px;display:inline-flex}.dashboard-unified .grades-page .checks input{accent-color:#4b3bff}.dashboard-unified .report-toolbar{margin-bottom:15px}.dashboard-unified .report-paper{max-width:920px;margin:auto}.dashboard-unified .storage-upload{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.dashboard-unified .storage-upload label{flex:260px}.dashboard-unified .storage-picker{cursor:pointer;position:relative}.dashboard-unified .storage-picker-field{color:#65769d;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #dbe3f2;border-radius:9px;align-items:center;gap:8px;min-height:43px;padding:8px 12px;font-weight:600;display:flex;overflow:hidden}.dashboard-unified .storage-picker input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.dashboard-unified .storage-picker:focus-within .storage-picker-field{border-color:#7367ee;outline:3px solid #7367ee30}.dashboard-unified .storage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.dashboard-unified .storage-file{min-width:0;padding:17px}.dashboard-unified .storage-file-title{align-items:center;gap:10px;min-width:0;display:flex}.dashboard-unified .storage-file-title>span{color:#4b3cff;background:#eeedff;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;display:grid}.dashboard-unified .storage-file-title h3{text-overflow:ellipsis;white-space:nowrap;text-align:right;min-width:0;margin:0;font-size:.86rem;overflow:hidden}.dashboard-unified .storage-file p{margin:13px 0;font-size:.76rem}.dashboard-unified .storage-file-actions{gap:10px;display:flex}.dashboard-unified .storage-file-actions button{color:#0871ea;background:#eaf4ff;border:0;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-weight:800;display:inline-flex}.dashboard-unified .storage-file-actions button.danger{color:#d73354;background:#fff0f3}@media (max-width:1250px){.dashboard-unified .overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-unified .resource-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.dashboard-unified .overview-shortcuts,.dashboard-unified .storage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.dashboard-unified.dash-layout,.dashboard-unified .dashboard-brand .brand,.dashboard-unified .dashboard-brand .sidebar-school{display:block}.dashboard-unified .sidebar nav{scrollbar-width:none}.dashboard-unified .sidebar nav::-webkit-scrollbar{display:none}.dashboard-unified .overview-metrics,.dashboard-unified .resource-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-unified .overview-shortcuts,.dashboard-unified .storage-grid{grid-template-columns:1fr}.dashboard-unified .resource-list-panel .student-search{max-width:none}.dashboard-unified .resource-table-count{margin:0}.dashboard-unified .page-head{flex-direction:column;align-items:flex-start}.dashboard-unified .editor,.dashboard-unified .table-card,.dashboard-unified .website-editor-section{padding:16px}}@media (max-width:420px){.dashboard-unified .resource-metrics,.dashboard-unified .overview-metrics{grid-template-columns:1fr 1fr}.dashboard-unified .student-stat{min-height:105px;padding:12px}.dashboard-unified .student-stat-icon{width:42px;height:42px}}@media print{.dashboard-unified{background:#fff;display:block}.dashboard-unified .sidebar,.dashboard-unified .dash-top,.dashboard-unified .report .dashboard-heading{display:none}.dashboard-unified .dash-content{padding:0}.dashboard-unified .report-paper{box-shadow:none;border:0}}
:root{color:#17223b;font-synthesis:none;background:#f6f8fc;font-family:Vazirmatn,Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.35}h2{font-size:1.35rem}.container{width:min(1180px,100% - 40px);margin:auto}.section{padding:70px 0}.narrow{max-width:760px}.topbar{background:#fff;border-bottom:1px solid #e6eaf1;justify-content:space-between;align-items:center;gap:20px;height:76px;padding:0 max(24px,50vw - 590px);display:flex}.topbar nav{flex-wrap:wrap;align-items:center;gap:25px;display:flex}.brand{color:#4f46e5;white-space:nowrap;font-size:1.45rem;font-weight:800}.button,.primary{color:#fff;background:#4f46e5;border:0;border-radius:12px;justify-content:center;align-items:center;padding:12px 22px;font-weight:700;display:inline-flex;box-shadow:0 8px 20px #4f46e526}.button:hover,.primary:hover{background:#4338ca}.button.small{padding:8px 16px}.button.light{color:#4338ca;background:#fff}.hero{background:linear-gradient(135deg,#eef2ff,#f8fbff);padding:100px 0}.hero-grid{grid-template-columns:1.1fr .9fr;align-items:center;gap:70px;display:grid}.hero p,.school-hero p{color:#56627a;max-width:630px;font-size:1.1rem;line-height:2}.eyebrow{color:#4f46e5;letter-spacing:.03em;font-size:.85rem;font-weight:800}.hero-card,.card{background:#fff;border:1px solid #e5eaf3;border-radius:20px;box-shadow:0 10px 32px #2837760b}.hero-card{padding:30px;transform:rotate(-1deg)}.hero-card-head{border-bottom:1px solid #e5eaf3;padding-bottom:20px;font-weight:800}.metric-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;display:grid}.metric-grid div{background:#f5f7ff;border-radius:13px;flex-direction:column;gap:8px;padding:20px;display:flex}.metric-grid strong{color:#4338ca}.metric-grid span{color:#68758c;font-size:.84rem}.feature-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;margin-top:28px;display:grid}.feature-grid .card{padding:26px}.feature-dot{background:#e0e7ff;border-radius:10px;width:36px;height:36px;margin-bottom:20px;display:block}.muted{color:#68758c}.cta{text-align:center;color:#fff;background:#25275f;padding:75px 20px}.cta p{color:#d4d8ef}footer{text-align:center;color:#718096;background:#fff;border-top:1px solid #e6eaf1;padding:30px}.center-page{place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{flex-direction:column;gap:18px;width:min(430px,100%);padding:40px;display:flex}.login-card h1{margin:0;font-size:1.7rem}.login-card p{margin:0}.login-card label,.form-grid label{flex-direction:column;gap:7px;font-size:.9rem;font-weight:600;display:flex}input:not([type=checkbox]),select,textarea{color:#17223b;background:#fff;border:1px solid #d6deea;border-radius:10px;outline:none;width:100%;min-height:43px;padding:9px 12px}input:focus,select:focus,textarea:focus{border-color:#7367ee;box-shadow:0 0 0 3px #7367ee20}textarea{resize:vertical;min-height:130px}.subtle-link,.text-link{color:#4f46e5;font-weight:700}.notice{color:#312e81;background:#eef2ff;border-radius:10px;margin:15px 0;padding:12px 16px}.dash-layout{grid-template-columns:245px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#d7dced;background:#1f2442;padding:26px 18px}.sidebar .brand{color:#fff;padding:0 14px;display:block}.sidebar-school{color:#aeb8d1;padding:8px 14px 18px;font-size:.83rem}.sidebar nav{flex-direction:column;gap:3px;display:flex}.sidebar nav a{border-radius:9px;padding:11px 14px;font-size:.9rem}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#3f4775}.dash-main{min-width:0}.dash-top{background:#fff;border-bottom:1px solid #e6eaf1;justify-content:flex-end;align-items:center;gap:22px;height:70px;padding:0 34px;display:flex}.dash-content{max-width:1450px;margin:auto;padding:34px}.page-head{justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px;display:flex}.page-head h1{margin:5px 0 0;font-size:2rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:17px;display:grid}.stat{flex-direction:column;gap:12px;padding:25px;display:flex}.stat strong{color:#4f46e5;font-size:2.5rem}.welcome{margin-top:24px;padding:30px}.editor,.create-school{margin:20px 0;padding:28px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.span2{grid-column:1/-1}.actions{justify-content:flex-end;margin-top:24px;display:flex}.section-title{justify-content:space-between;display:flex}.ghost,.text-button{color:#4f46e5;background:0 0;border:0;font-weight:700}.danger{color:#d33f57}.table-card{margin-top:20px;padding:24px;overflow:hidden}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:right;width:100%;min-width:650px}th,td{vertical-align:top;border-bottom:1px solid #edf0f5;padding:14px 12px}th{color:#5b6580;background:#f8f9fd;font-size:.84rem}td{font-size:.9rem}.row-actions{white-space:nowrap;gap:14px;display:flex}.empty{text-align:center;color:#718096;padding:50px}.school-tile{display:block}.school-tile:hover{border-color:#a5b4fc}.school-hero{background:#eef2ff;border-top:6px solid #4f46e5;padding:90px 0}.site-main{min-height:70vh}.prose{white-space:pre-wrap;padding:35px;line-height:2}.prose h2{margin-top:25px}.post-card{display:block;overflow:hidden}.post-card img{object-fit:cover;border-radius:12px;width:100%;height:180px}.post-cover{border-radius:13px;max-width:100%}.checks{flex-wrap:wrap;gap:20px;margin:20px 0;display:flex}.checks label{align-items:center;gap:6px;display:flex}.score-input{max-width:100px}@media (max-width:850px){.hero-grid{grid-template-columns:1fr;gap:35px}.dash-layout{grid-template-columns:1fr}.sidebar{padding:14px}.sidebar .brand,.sidebar-school{display:none}.sidebar nav{white-space:nowrap;flex-direction:row;overflow:auto}.sidebar nav a{flex:none}.dash-content{padding:20px}.topbar{align-items:start;height:auto;min-height:70px;padding:15px 20px}.topbar nav{gap:12px;font-size:.86rem}}@media (max-width:600px){.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.page-head{flex-direction:column;align-items:start}.hero{padding:60px 0}.topbar{flex-direction:column}.metric-grid{gap:8px}.metric-grid div{padding:14px}}.plan{flex-direction:column;gap:12px;padding:30px;display:flex}.plan strong{color:#4f46e5;font-size:1.7rem}.plan .primary{margin-top:auto}.file-card{padding:24px;overflow:hidden}.file-card h3{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.report{max-width:850px;margin:auto}.report-toolbar{margin-bottom:20px}.report-paper{padding:35px}.report-paper header{border-bottom:2px solid #17223b;align-items:center;gap:20px;padding-bottom:20px;display:flex}.report-paper header img{object-fit:contain;width:70px;height:70px}.report-paper h1{margin:0;font-size:1.5rem}.report-meta,.report-summary{flex-wrap:wrap;justify-content:space-between;gap:15px;padding:20px 0;display:flex}.report-summary{border-top:2px solid #17223b;margin-top:20px}@media print{@page{size:A5 portrait;margin:8mm}.sidebar,.dash-top,.report-toolbar{display:none!important}.dash-layout{display:block}.dash-content{padding:0}.report-paper{box-shadow:none;border:0;padding:0}.report-paper table{min-width:0}}.import-control{align-items:center;gap:12px;display:flex}.import-control label{cursor:pointer}.bulk-bar{flex-wrap:wrap;align-items:center;gap:15px;padding:15px 20px;display:flex}.bulk-bar select{max-width:220px}@media (max-width:600px){.import-control{flex-direction:column;align-items:flex-start}}.linked-banner{color:#fff;text-align:center;background:#312e81;padding:10px}.linked-banner a{font-weight:700;text-decoration:underline}.school-hero-inner{align-items:center;gap:32px;display:flex}.school-logo{object-fit:contain;background:#fff;border-radius:18px;width:100px;height:100px;padding:12px}.school-stats{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-26px;display:grid;position:relative}.school-stats .card{flex-direction:column;align-items:center;gap:5px;padding:22px;display:flex}.school-stats strong{color:#4f46e5;font-size:2rem}.school-stats span{color:#68758c}.subject-chips{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.subject-chips span{color:#312e81;background:#e8ebff;border-radius:999px;padding:9px 18px;font-weight:700}.linked-school{text-align:center;padding:30px}@media (max-width:600px){.school-hero-inner{flex-direction:column;align-items:flex-start}.school-stats{gap:8px}.school-stats .card{padding:14px}.school-stats strong{font-size:1.4rem}}.payment-destination{background:#eef2ff;border:1px solid #c7d2fe;border-radius:12px;margin:18px 0;padding:18px}.payment-destination p{margin:0 0 8px}.payment-destination p:last-child{margin-bottom:0}.school-site-header{z-index:5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffed;border-bottom:1px solid #e9edfa;position:sticky;top:0}.school-header-inner{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:30px;width:min(1440px,100% - 64px);min-height:78px;margin:auto;display:grid}.school-brand{white-space:nowrap;color:#111a32;align-items:center;gap:11px;font-size:1.03rem;display:flex}.school-brand>span{width:38px;height:38px;color:var(--school-accent,#514cf5);place-items:center;display:grid}.school-brand img{object-fit:contain;width:36px;height:36px}.school-header-actions{direction:ltr;align-items:center;gap:10px;display:flex}.school-login,.school-header-register{white-space:nowrap;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 17px;font-weight:750;display:inline-flex}.school-login{background:var(--school-accent,#514cf5);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--school-accent,#514cf5) 22%,transparent)}.school-header-register{color:var(--school-accent,#514cf5);background:#fff;border:1px solid #c9caff}.school-nav{white-space:nowrap;justify-content:center;align-items:center;gap:clamp(10px,1.8vw,28px);display:flex}.school-nav a{color:#17223b;border-radius:14px;padding:11px 12px;font-size:.88rem;font-weight:700;transition:background .2s,color .2s}.school-nav a:hover,.school-nav a.active{color:var(--school-accent,#514cf5);background:#f0f0ff}.school-mobile-menu{color:var(--school-accent,#514cf5);background:#f1f1ff;border:0;border-radius:10px;padding:6px 11px;font-size:1.25rem;display:none}.school-home{--school-accent:#514cf5;background:#f5f7ff;padding-bottom:70px;position:relative;overflow:hidden}.school-home-container{width:min(1440px,100% - 64px);margin-inline:auto}.school-home-hero{isolation:isolate;background:radial-gradient(at 67% 18%,#fff 0,#f7f8ff 42%,#edf1ff 100%);padding:38px 0 30px;position:relative}.school-home-hero:before{content:"";z-index:-1;background:#dfe5ff;border-radius:50%;width:280px;height:280px;position:absolute;top:-150px;right:-180px}.school-home-hero:after{content:"";z-index:-1;background:#e2e8ff;border-radius:50%;width:220px;height:220px;position:absolute;bottom:-115px;left:-160px}.school-hero-grid{grid-template-columns:1fr 1.04fr;align-items:center;gap:clamp(35px,6vw,94px);min-height:420px;display:grid}.school-hero-copy{text-align:right;padding:16px 0}.school-kicker,.school-section-kicker{color:var(--school-accent);align-items:center;gap:8px;font-size:.91rem;font-weight:800;display:inline-flex}.school-kicker{background:#eeefff;border-radius:999px;margin-bottom:14px;padding:10px 16px}.school-hero-copy h1{letter-spacing:-.04em;color:#111a32;margin:0 0 14px;font-size:clamp(2.45rem,4.1vw,4.2rem);line-height:1.3}.school-hero-copy>p{color:#64718b;max-width:600px;margin:0 0 20px;font-size:1.08rem;line-height:2}.school-hero-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.school-primary-action,.school-secondary-action{border-radius:13px;gap:9px;min-height:49px}.school-primary-action{background:var(--school-accent);box-shadow:0 9px 20px color-mix(in srgb,var(--school-accent) 25%,transparent)}.school-secondary-action{color:var(--school-accent);background:#fff;box-shadow:0 6px 22px #29325d0b}.school-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.school-stat-card{background:#ffffffa6;border:1px solid #e0e8f7;border-radius:19px;align-items:center;gap:11px;min-height:78px;padding:12px 14px;display:flex}.school-stat-card>span:last-child{flex-direction:column;gap:2px;display:flex}.school-stat-card strong{color:var(--school-accent);font-size:1.45rem;line-height:1.1}.school-stat-card small{color:#73809b;white-space:nowrap;font-size:.75rem}.school-stat-icon{width:43px;height:43px;color:var(--school-accent);background:#e8ebff;border-radius:50%;flex:none;place-items:center;display:grid}.stat-students{background:#f2f8ff;border-color:#e1edff}.stat-students .school-stat-icon{color:#2580df;background:#e0efff}.stat-teachers{background:#f8f6ff;border-color:#e8e3ff}.stat-teachers .school-stat-icon{background:#ebe7ff}.stat-classes{background:#f3fbf6;border-color:#e2f1e7}.stat-classes .school-stat-icon{color:#13a15a;background:#def8e9}.stat-classes strong{color:#149b55}.school-hero-visual{aspect-ratio:1.72;border-radius:25px;min-width:0;position:relative;overflow:visible;box-shadow:0 22px 55px #34447620}.school-hero-image{aspect-ratio:1.72;object-fit:cover;background:#e4e9ff;border-radius:25px;width:100%;height:100%;display:block}.school-image-placeholder,.school-classroom-placeholder{color:var(--school-accent);background:linear-gradient(135deg,#e1e7ff,#f9faff 55%,#dce5ff);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:1.2rem;font-weight:800;display:flex}.school-video-card{text-align:right;color:#16213a;background:#fffffff0;border:1px solid #ffffffb3;border-radius:17px;align-items:center;gap:13px;min-width:220px;padding:11px 15px;display:flex;position:absolute;bottom:20px;left:22px;box-shadow:0 9px 30px #26345923}.school-play-button{background:var(--school-accent);color:#fff;border-radius:50%;place-items:center;width:45px;height:45px;padding-right:2px;display:grid}.school-video-card>span:last-child{flex-direction:column;gap:3px;display:flex}.school-video-card strong{font-size:.87rem}.school-video-card small{color:#6e7990;font-size:.75rem}.school-visual-sparkle{width:42px;height:42px;color:var(--school-accent);background:#fff;border-radius:14px;place-items:center;display:grid;position:absolute;top:-13px;right:-13px;box-shadow:0 6px 20px #28377615}.school-highlights{z-index:1;background:#fff;border:1px solid #edf0fa;border-radius:20px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0;display:grid;position:relative;box-shadow:0 8px 26px #2837760b}.school-highlight{text-align:right;justify-content:center;align-items:center;gap:14px;min-height:130px;padding:20px 16px;display:flex}.school-highlight+.school-highlight{border-right:1px solid #edf0f5}.highlight-icon{border-radius:50%;flex:none;place-items:center;width:49px;height:49px;display:grid}.highlight-icon svg{stroke-width:2.6px;width:23px;height:23px}.highlight-icon.rose{color:#e84b75;background:#fff0f3}.highlight-icon.violet{color:#514cf5;background:#edebff}.highlight-icon.amber{color:#e5a414;background:#fff5dd}.highlight-icon.green{color:#17aa68;background:#e5f8ee}.school-highlight h2{color:#17223b;margin:0 0 6px;font-size:.91rem}.school-highlight p{color:#718099;margin:0;font-size:.77rem;line-height:1.8}.school-home-lower{grid-template-columns:1.03fr 1.9fr;gap:18px;margin-top:20px;display:grid}.school-about-card,.school-news-card{background:#fff;border:1px solid #edf0f7;border-radius:20px;min-width:0;padding:19px;box-shadow:0 8px 26px #28377609}.school-about-card{grid-template-columns:1fr 1fr;align-items:center;gap:20px;display:grid}.school-about-image{object-fit:cover;background:#edf1ff;border-radius:16px;width:100%;height:100%;min-height:200px;max-height:255px}.school-classroom-placeholder{font-size:.9rem}.school-about-copy h2{color:#18223a;margin:10px 0;font-size:1.17rem}.school-about-copy p{color:#6e7b93;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0 0 14px;font-size:.85rem;line-height:1.95;display:-webkit-box;overflow:hidden}.school-more-link,.school-all-news{color:var(--school-accent);white-space:nowrap;background:#f0f0ff;border-radius:12px;align-items:center;gap:8px;padding:10px 14px;font-size:.81rem;font-weight:800;display:inline-flex}.school-news-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:9px;display:flex}.school-news-heading h2{margin:6px 0 0;font-size:1.1rem}.school-news-list{flex-direction:column;display:flex}.school-news-item{border-bottom:1px solid #edf0f5;grid-template-columns:80px minmax(0,1fr) 18px;align-items:center;gap:13px;min-height:72px;padding:9px 0;display:grid}.school-news-item:last-child{border-bottom:0}.school-news-item>img,.school-news-placeholder{object-fit:cover;width:80px;height:58px;color:var(--school-accent);background:#eff1ff;border-radius:11px}.school-news-placeholder{place-items:center;display:grid}.school-news-item>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.school-news-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;overflow:hidden}.school-news-item small{color:#8490a4;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.school-news-item>svg{color:#929bb0}.school-news-empty{color:#77839a;justify-content:center;align-items:center;gap:12px;min-height:160px;font-size:.85rem;display:flex}.school-news-empty svg{color:var(--school-accent)}.school-programs{background:#fff;border:1px solid #edf0f7;border-radius:18px;grid-template-columns:minmax(190px,.55fr) minmax(0,1fr);align-items:center;gap:26px;margin-top:18px;padding:25px;display:grid}.school-programs h2{margin:7px 0 0;font-size:1.12rem}.school-program-content{flex-direction:column;gap:12px;display:flex}.school-grade-list,.school-program-subjects{flex-wrap:wrap;gap:9px;display:flex}.school-grade-list>span,.school-program-subjects>span{color:#343e5b;background:#fafaff;border:1px solid #e9ebfa;border-radius:11px;align-items:center;gap:8px;padding:9px 13px;font-size:.8rem;font-weight:750;display:inline-flex}.school-grade-list small{color:#858fa4;font-size:.69rem;font-weight:500}.school-program-subjects>span{color:var(--school-accent);background:#f0f0ff;border-color:#0000}.school-linked-card{background:#fff;border:1px solid #edf0f7;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:24px;display:flex}.school-linked-card h2{margin:7px 0;font-size:1.1rem}.school-linked-card p{color:#7b879b;margin:0;font-size:.84rem}.school-site-footer{color:#7d879b;background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:24px max(32px,50vw - 720px);font-size:.82rem;display:flex}.school-video-modal{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111729dd;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.school-video-modal video{background:#000;border-radius:16px;width:min(1050px,100%);max-height:82vh}.school-video-close{color:#fff;background:#ffffff20;border:0;border-radius:50%;width:44px;height:44px;font-size:1.8rem;position:absolute;top:20px;left:25px}.school-editor-success{color:#18734a;background:#e7f7ed;border-radius:12px;padding:12px 16px}.website-editor{flex-direction:column;gap:18px;display:flex}.website-editor-section{padding:26px}.website-editor-heading{align-items:center;gap:13px;margin-bottom:22px;display:flex}.website-editor-heading h2{margin:0 0 4px;font-size:1.08rem}.website-editor-heading p{color:#7b879b;margin:0;font-size:.83rem}.website-editor-icon{color:#554cf4;background:#eef;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.website-editor-icon.video-icon{color:#de4b70;background:#fff0f4}.media-upload-grid{grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);align-items:center;gap:22px;display:grid}.media-preview{background:#f7f8fc;border:1px dashed #cbd2e5;border-radius:16px;min-height:190px;overflow:hidden}.media-preview img,.media-preview video{object-fit:contain;background:#111;width:100%;height:100%;min-height:190px;max-height:290px;display:block}.media-placeholder{color:#919bb0;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:190px;font-size:.84rem;display:flex}.media-upload-actions p{color:#7f8ba1;margin:12px 0;font-size:.78rem;line-height:1.8}.media-upload-button{color:#4f46e5;cursor:pointer;background:#eef;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:12px 17px;font-weight:800;display:inline-flex;position:relative}.media-upload-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.website-editor-footer{color:#77839a;justify-content:space-between;align-items:center;gap:15px;padding:8px 2px;font-size:.83rem;display:flex}.website-editor-footer .primary{align-items:center;gap:9px;display:flex}@media (max-width:1100px){.school-header-inner{grid-template-columns:auto minmax(0,1fr) auto;gap:14px}.school-nav{gap:4px}.school-nav a{padding:10px 8px;font-size:.79rem}.school-brand strong{text-overflow:ellipsis;max-width:155px;overflow:hidden}.school-highlight{text-align:center;flex-direction:column}.school-home-lower{grid-template-columns:1fr 1.4fr}}@media (max-width:820px){.school-header-inner,.school-home-container{width:calc(100% - 36px)}.school-header-inner{grid-template-columns:auto auto auto;min-height:70px}.school-mobile-menu{grid-area:1/1;display:block}.school-brand{grid-area:1/2}.school-header-actions{grid-area:1/3}.school-header-register{display:none}.school-nav{flex-direction:column;grid-area:2/1/auto/-1;align-items:stretch;padding:0 0 12px;display:none}.menu-open .school-nav{display:flex}.school-nav a{padding:11px 14px}.school-hero-grid{grid-template-columns:1fr;gap:25px}.school-hero-copy{grid-row:1}.school-hero-visual{grid-row:2;justify-self:center;width:100%;max-width:700px}.school-home-hero{padding:28px 0}.school-highlights{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.school-highlight:nth-child(3){border-right:0}.school-highlight:nth-child(n+3){border-top:1px solid #edf0f5}.school-highlight{text-align:right;flex-direction:row;justify-content:flex-start;min-height:115px}.school-home-lower{grid-template-columns:1fr}.school-programs{grid-template-columns:1fr;gap:16px}.school-about-card{grid-template-columns:1fr 1fr}.school-site-footer{flex-wrap:wrap;padding:22px 18px}.media-upload-grid{grid-template-columns:1fr}}@media (max-width:540px){.school-home-container{width:calc(100% - 28px)}.school-header-inner{gap:8px;width:calc(100% - 24px)}.school-brand{gap:5px;font-size:.86rem}.school-brand>span{width:30px}.school-brand svg{width:24px}.school-login{min-height:39px;padding:0 11px;font-size:.8rem}.school-hero-copy h1{font-size:2.35rem}.school-hero-copy>p{font-size:.93rem}.school-kicker{font-size:.77rem}.school-hero-visual,.school-hero-image{border-radius:18px}.school-video-card{min-width:auto;padding:8px 10px;bottom:12px;left:12px}.school-play-button{width:38px;height:38px}.school-video-card strong{font-size:.78rem}.school-video-card small{font-size:.68rem}.school-hero-stats{gap:6px}.school-stat-card{border-radius:14px;gap:7px;min-height:68px;padding:8px 7px}.school-stat-icon{width:34px;height:34px}.school-stat-icon svg{width:17px}.school-stat-card strong{font-size:1.12rem}.school-stat-card small{font-size:.66rem}.school-highlights{grid-template-columns:1fr;margin-top:13px}.school-highlight{min-height:90px;padding:13px 17px}.school-highlight+.school-highlight{border-top:1px solid #edf0f5;border-right:0}.school-highlight h2{font-size:.85rem}.school-about-card{grid-template-columns:1fr}.school-about-image{min-height:185px}.school-news-item{grid-template-columns:64px minmax(0,1fr) 16px;gap:9px}.school-news-item>img,.school-news-placeholder{width:64px;height:54px}.school-news-heading{align-items:flex-start}.school-news-heading h2{font-size:.98rem}.school-all-news{padding:9px;font-size:.73rem}.school-site-footer{flex-direction:column;align-items:flex-start;gap:7px}.website-editor-section{padding:18px}.website-editor-footer{flex-direction:column;align-items:stretch}.website-editor-footer .primary{justify-content:center}}.admin-shell{color:#202944;background:#f5f7fb;min-height:100vh}.admin-topbar{background:#fff;border-bottom:1px solid #e8ebf2;justify-content:space-between;align-items:center;gap:20px;height:78px;padding:0 max(28px,50vw - 660px);display:flex}.admin-top-actions,.admin-user{align-items:center;gap:18px;display:flex}.admin-user{color:#525e74;font-size:.9rem}.admin-avatar{color:#4f46e5;background:#e8eaff;border-radius:12px;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.admin-count{background:#ffffff35;border-radius:20px;place-items:center;min-width:22px;height:22px;margin-right:6px;padding:0 5px;display:inline-grid}.admin-content{width:min(1320px,100% - 48px);margin:0 auto;padding:44px 0 64px}.admin-welcome{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.admin-welcome h1{margin:6px 0;font-size:2rem}.admin-welcome p{color:#7a8498;margin:0}.admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:34px;display:grid}.admin-metric{background:#fff;border:1px solid #e8ebf2;border-radius:18px;align-items:center;gap:16px;min-height:132px;padding:20px;display:flex;box-shadow:0 8px 24px #26365b08}.admin-metric>div{flex-direction:column;gap:4px;display:flex}.admin-metric>div>span{color:#717c91;font-size:.85rem}.admin-metric strong{color:#202944;font-size:1.8rem;line-height:1.2}.admin-metric small{color:#a0a8b8;font-size:.76rem}.metric-icon{color:#5549dc;background:#e8ebff;border-radius:15px;flex:none;place-items:center;width:48px;height:48px;font-size:1.4rem;font-weight:700;display:grid}.metric-icon-1{color:#1b9a67;background:#e4f7ef}.metric-icon-2{color:#d38b1e;background:#fff4dc}.metric-icon-3{color:#d84a62;background:#ffeaed}.admin-section{background:#fff;border:1px solid #e8ebf2;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #26365b08}.admin-section-head{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:18px;padding:23px 26px;display:flex}.admin-section-head h2{margin:0 0 4px;font-size:1.2rem}.admin-section-head p{color:#8993a5;margin:0;font-size:.83rem}.admin-tools{align-items:center;gap:14px;display:flex}.admin-search{color:#9aa3b4;border:1px solid #e0e5ee;border-radius:11px;align-items:center;gap:8px;width:min(330px,45vw);padding:0 12px;display:flex}.admin-search input{box-shadow:none!important;border:0!important;min-height:40px!important;padding:6px 0!important}.admin-school-list{padding:0 24px}.admin-school-card{border-bottom:1px solid #edf0f5;grid-template-columns:minmax(160px,1.1fr) minmax(200px,1.1fr) minmax(180px,1.2fr) minmax(86px,.55fr) minmax(150px,.85fr);align-items:center;gap:20px;padding:20px 0;display:grid}.admin-school-card:last-child{border-bottom:0}.school-main{align-items:center;gap:12px;min-width:0;display:flex}.school-mark{color:#5147cf;background:#eff0ff;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-size:1.1rem;font-weight:800;display:grid}.school-main h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:.95rem;overflow:hidden}.school-subdomain{color:#909aab;text-align:right;direction:ltr;font-size:.76rem;display:block}.school-stats-mini{color:#828ca0;flex-wrap:wrap;gap:14px;font-size:.75rem;display:flex}.school-stats-mini b{color:#35415d;font-size:.87rem}.school-admins{font-size:.82rem}.admin-label{color:#9aa3b1;margin-bottom:5px;font-size:.73rem;display:block}.admin-person{white-space:nowrap;justify-content:space-between;align-items:center;gap:7px;display:flex}.admin-person .text-button{padding:3px;font-size:.74rem}.school-plan{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.school-plan small{color:#8791a4;font-size:.73rem}.status-pill{color:#a97212;white-space:nowrap;background:#fff3d8;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:700}.status-pill.active{color:#188359;background:#e4f7ed}.status-pill.suspended,.status-pill.expired{color:#cf4058;background:#ffeaed}.school-actions{white-space:nowrap;align-items:center;gap:12px;font-size:.78rem;display:flex}.admin-lower-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px;display:grid}.admin-shortcut{color:inherit;background:#fff;border:1px solid #e8ebf2;border-radius:16px;align-items:center;gap:14px;padding:18px;display:flex;position:relative}.admin-shortcut h3{margin:0 0 4px;font-size:.88rem}.admin-shortcut p{color:#8791a4;margin:0;font-size:.75rem}.shortcut-icon{color:#d18a18;background:#fff3df;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.shortcut-icon.purple{color:#6855d9;background:#efebff}.shortcut-icon.orange{color:#cf4a61;background:#ffeaed}.shortcut-arrow{color:#5549dc;margin-right:auto}.admin-success{color:#18734a;background:#e7f7ed;border-radius:11px;margin:12px 0;padding:12px 16px}.admin-modal-backdrop{z-index:10;background:#17203a88;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.admin-modal{background:#fff;border-radius:20px;width:min(680px,100%);max-height:calc(100vh - 40px);padding:28px;overflow:auto;box-shadow:0 24px 80px #10172c4d}.admin-modal h2{margin:4px 0 0;font-size:1.25rem}.admin-modal .section-title{align-items:flex-start;margin-bottom:14px}.admin-modal .form-grid{margin:22px 0}.admin-modal label{flex-direction:column;gap:7px;font-size:.86rem;font-weight:600;display:flex}.admin-modal label small{font-weight:400}.admin-modal .actions{justify-content:flex-start;gap:10px}.reset-modal{width:min(490px,100%)}.reset-modal>label{margin-top:18px}.admin-modal-backdrop .ghost{padding:8px}.admin-modal .primary{min-width:135px}.admin-modal .muted{font-size:.88rem;line-height:1.8}@media (max-width:1100px){.admin-school-card{grid-template-columns:1.2fr 1fr 1.2fr .6fr}.school-actions{grid-column:2/-1;justify-content:flex-start}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.admin-topbar{padding:0 18px}.admin-content{width:calc(100% - 28px);padding:28px 0}.admin-top-actions{gap:8px}.admin-user>span:not(.admin-avatar){display:none}.admin-welcome{flex-direction:column;align-items:flex-start}.admin-section-head{flex-direction:column;align-items:flex-start;padding:20px}.admin-tools,.admin-search{width:100%}.admin-school-list{padding:0 18px}.admin-school-card{grid-template-columns:1fr 1fr;gap:13px;padding:17px 0}.school-main,.school-stats-mini{grid-column:1/-1}.school-admins{min-width:0}.school-actions{grid-column:1/-1}.admin-lower-grid{grid-template-columns:1fr}.admin-metrics{gap:10px}.admin-metric{gap:10px;min-height:110px;padding:14px}.metric-icon{width:40px;height:40px}.admin-metric strong{font-size:1.5rem}.admin-modal{padding:20px}.admin-modal .form-grid{grid-template-columns:1fr}}@media (max-width:420px){.admin-metrics{grid-template-columns:1fr 1fr}.admin-topbar .button{padding:8px 10px;font-size:.76rem}.admin-user{gap:6px}}
.skeleton{background:linear-gradient(90deg,#eef1f8 25%,#f6f8fc 37%,#eef1f8 63%) 0 0/400% 100%;border-radius:12px;animation:1.4s infinite skeleton-shimmer;display:block}.skeleton-page{flex-direction:column;gap:18px;width:min(1440px,100% - 64px);margin:auto;padding:38px 0 70px;display:flex}.skeleton-title{width:min(420px,70%);height:44px}.skeleton-line{width:min(620px,90%);height:16px}.skeleton-block{height:220px}@keyframes skeleton-shimmer{0%{background-position:100%}to{background-position:0}}@media (max-width:820px){.skeleton-page{width:calc(100% - 36px)}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}
.portal{--portal-accent:#437b69;--portal-soft:#edf6f1;--portal-ink:#203b33;color:#243a34;background:#f7f9f8;min-height:100dvh;font-size:14px;line-height:1.8;display:flex}.portal-teacher{--portal-accent:#5265a8;--portal-soft:#eef1fb;--portal-ink:#303f75}.portal a,.portal button,.portal input,.portal select,.portal summary{-webkit-tap-highlight-color:transparent}.portal :focus-visible{outline:3px solid var(--portal-accent);outline-offset:4px}.portal button:disabled{opacity:.5;cursor:not-allowed}.portal h1,.portal h2,.portal h3{color:var(--portal-ink);line-height:1.6}.portal-skip{z-index:50;background:#fff;padding:14px;position:fixed;top:-100px;right:24px}.portal-skip:focus{top:8px}.portal-sidebar{z-index:20;background:#fff;border-left:1px solid #e6ece8;flex-direction:column;width:242px;padding:35px 22px 24px;display:flex;position:fixed;inset:0 0 0 auto;overflow-y:auto}.portal-brand{align-items:center;gap:12px;margin:0 8px 45px;display:flex}.portal-brand>span{background:var(--portal-accent);color:#fff;border-radius:15px;place-items:center;width:46px;height:46px;display:grid}.portal-brand strong{font-size:25px;font-weight:800;display:block}.portal-brand small{color:#7a8983;font-size:10px}.portal-side-label{color:#8b9691;margin:0 16px 12px;font-size:11px;font-weight:600}.portal-sidebar nav{gap:9px;display:grid}.portal-sidebar nav a{color:#727f79;border-radius:12px;align-items:center;gap:14px;min-height:51px;padding:12px 17px;font-weight:500;display:flex}.portal-sidebar nav a.active{background:var(--portal-soft);color:var(--portal-accent);font-weight:800}.portal-sidebar nav a:hover{background:#f5f8f6}.portal-side-note{background:var(--portal-soft);color:var(--portal-accent);border:1px solid #e8ede9;border-radius:16px;margin:auto 0 22px;padding:23px 17px 17px}.portal-side-note svg{margin-bottom:10px}.portal-side-note strong{font-size:12px;display:block}.portal-side-note p{color:#718079;margin:8px 0 0;font-size:11px;line-height:2}.portal-school-link{color:#78867e;justify-content:space-between;align-items:center;padding:12px;font-size:12px;display:flex}.portal-main-wrap{width:calc(100% - 242px);min-width:0;margin-right:242px}.portal-topbar{background:#ffffffdb;border-bottom:1px solid #e8eeea;justify-content:space-between;align-items:center;gap:20px;height:82px;padding:0 42px;display:flex}.portal-top-title,.portal-top-account{align-items:center;gap:12px;display:flex}.portal-top-title>svg{color:var(--portal-accent)}.portal-top-title>span{color:#94a098;border-right:1px solid #dce4de;margin-right:5px;padding-right:15px;font-size:11px}.portal-top-account{font-size:12px}.portal-avatar{color:#877557;background:#f2eee5;border-radius:50%;place-items:center;width:36px;height:36px;font-size:16px;display:grid}.portal-top-account button{color:#819087;background:0 0;border:0;border-radius:10px;place-items:center;min-width:44px;min-height:44px;display:grid}.portal-top-account button:hover{background:#f4f6f5}.portal-content{outline:none;width:min(1220px,100%);margin:auto;padding:30px 42px 60px}.portal-welcome-line{color:#75867d;justify-content:space-between;gap:15px;margin-bottom:19px;font-size:12px;display:flex}.portal-welcome-line>span{color:#4c6458;font-weight:700}.portal-hero{background:#e9f2ec;border:1px solid #e0e9e1;border-radius:23px;justify-content:space-between;align-items:center;gap:20px;min-height:248px;padding:30px 34px;display:flex;position:relative;overflow:hidden}.portal-teacher .portal-hero{background:#edf0fa;border-color:#e2e6f2}.portal-hero>div:first-child{z-index:1;position:relative}.portal-hero-kicker{color:var(--portal-accent);align-items:center;gap:7px;margin-bottom:10px;font-size:11px;font-weight:500;display:flex}.portal-hero h1{margin:0 0 10px;font-size:27px;font-weight:800}.portal-hero p{color:#688174;margin-bottom:23px;font-size:13px}.portal-teacher .portal-hero p{color:#737f9c}.portal-button{background:var(--portal-accent);color:#fff;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:16px;min-height:46px;padding:10px 19px;font-size:12px;font-weight:600;line-height:1.7;display:inline-flex}.portal-button:hover{filter:brightness(.95)}.portal-button.secondary{background:var(--portal-soft);color:var(--portal-accent)}.portal-hero-art{flex:none;width:240px;height:190px;margin-left:10px;position:relative}.portal-orbit{border:1px dashed #a4bfac;border-radius:50%;width:195px;height:195px;position:absolute;top:0;left:15px;transform:rotate(-20deg)}.portal-orbit:after{content:"";background:#dceade;border-radius:50%;position:absolute;inset:15px}.portal-teacher .portal-orbit{border-color:#bac3df}.portal-teacher .portal-orbit:after{background:#e0e5f5}.portal-art-book{width:118px;height:120px;color:var(--portal-accent);background:#fffefa;border-radius:27px;place-items:center;display:grid;position:absolute;top:38px;left:58px;transform:rotate(-12deg);box-shadow:0 15px 30px #24483313}.portal-art-star{color:#b6985b;background:#fff7e7;border:5px solid #f9fbf5;border-radius:20px;padding:12px;position:absolute;top:0;right:5px;transform:rotate(10deg)}.portal-art-cap{color:var(--portal-accent);background:#fff;border-radius:16px;padding:12px;position:absolute;bottom:0;left:8px;transform:rotate(9deg);box-shadow:0 6px 15px #2448330a}.portal-art-dot{background:#b7cdbc;border-radius:50%;width:12px;height:12px;position:absolute;bottom:19px;right:28px}.portal-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:22px 0 28px;display:grid}.portal-metric{background:#fff;border:1px solid #e5ebe7;border-radius:16px;align-items:center;gap:15px;padding:20px 23px;display:flex}.portal-icon{border-radius:14px;flex:none;place-items:center;width:48px;height:48px;display:inline-grid}.portal-icon.mint{color:#4c8b70;background:#edf6f0}.portal-icon.lavender{color:#8271b5;background:#f0edfa}.portal-icon.peach{color:#b79257;background:#fbf2e6}.portal-metric>div{flex-direction:column;display:flex}.portal-metric strong{font-size:26px;line-height:1.4}.portal-metric>div>span{color:#849088;margin-top:4px;font-size:11px}.portal-metric>svg{color:#a4afa8;margin-right:auto}.portal-home-grid{grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:29px;display:grid}.portal-panel{background:#fff;border:1px solid #e5ebe7;border-radius:18px;min-width:0;padding:23px}.portal-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.portal-section-heading h2{margin:0;font-size:16px;font-weight:750}.portal-section-heading p{color:#8a978f;margin:3px 0 0;font-size:11px}.portal-section-heading>a{color:var(--portal-accent);align-items:center;gap:3px;min-height:44px;font-size:11px;font-weight:600;display:flex}.portal-eyebrow{color:#91a098;margin-bottom:3px;font-size:10px;display:block}.portal-exam-card{border-top:1px solid #edf1ee;align-items:center;gap:13px;padding:17px 0;display:flex}.portal-exam-card:hover .portal-exam-copy h3{color:var(--portal-accent)}.portal-exam-card>.portal-icon{border-radius:12px;width:42px;height:47px}.portal-exam-card>svg{color:#a1afa6;flex:none;margin-right:auto}.portal-exam-copy{flex:1;min-width:0}.portal-exam-copy>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.portal-exam-copy h3{overflow-wrap:anywhere;margin:0;font-size:13px}.portal-exam-copy p{color:#7d8b83;margin:3px 0;font-size:11px}.portal-exam-copy small{color:#89978f;align-items:center;gap:5px;font-size:10px;display:flex}.portal-tag{white-space:nowrap;border-radius:6px;align-items:center;padding:3px 8px;font-size:10px;font-weight:500;display:inline-flex}.portal-tag.green{color:#498267;background:#edf6ef}.portal-tag.amber{color:#957238;background:#fcf4e5}.portal-tag.neutral{color:#76847b;background:#f1f4f2}.portal-quick>a{border-top:1px solid #edf1ee;align-items:center;gap:13px;padding:13px 0;display:flex}.portal-quick>a>div{flex-direction:column;gap:3px;display:flex}.portal-quick>a strong{font-size:12px}.portal-quick>a small{color:#8b9790;font-size:10px}.portal-quick>a>svg{color:#a3afa7;flex:none;margin-right:auto}.portal-quick .portal-icon{border-radius:11px;width:39px;height:39px}.portal-class-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px;display:grid}.portal-class-card{background:#fff;border:1px solid #e4ebe6;border-radius:17px;min-width:0;padding:22px}.portal-class-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.portal-class-card h3{overflow-wrap:anywhere;margin:0 0 3px;font-size:16px}.portal-class-card>p{color:#8c9890;margin-bottom:15px;font-size:11px}.portal-subjects{border-top:1px solid #eef2ef;flex-direction:column;gap:13px;padding:16px 0;display:flex}.portal-subjects>div{color:#84958a;align-items:center;gap:10px;display:flex}.portal-subjects strong{color:#526b5c;font-size:12px;font-weight:500}.portal-subjects small{color:#8d9a92;font-size:10px;display:block}.portal-class-footer{color:#91a095;border-top:1px solid #eef2ef;align-items:center;gap:7px;padding-top:13px;font-size:11px;display:flex}.portal-roster{border-top:1px solid #eef2ef;padding-top:5px}.portal-roster summary{cursor:pointer;color:#667f70;align-items:center;gap:6px;min-height:44px;font-size:11px;display:flex}.portal-roster summary>span{color:var(--portal-accent);margin-right:auto;font-size:10px}.portal-roster ol{max-height:300px;padding-right:25px;font-size:12px;line-height:2.5;overflow-y:auto}.portal-roster p{color:#7c8982;margin:10px 0;font-size:11px}.portal-empty{text-align:center;color:#83958a;min-width:0;padding:40px 20px}.portal-empty>svg{color:#a4b8aa;margin-bottom:8px}.portal-empty h3{margin:0 0 8px;font-size:14px}.portal-empty h1,.portal-empty h2{font-size:19px}.portal-empty p{max-width:400px;margin:0 auto 14px;font-size:12px;line-height:2}.portal-page-heading{margin-bottom:26px}.portal-page-heading h1{margin:0 0 7px;font-size:26px}.portal-page-heading p{color:#87968c;margin:0;font-size:13px}.portal-filters{gap:14px;margin-bottom:23px;display:flex}.portal-search{color:#96a498;background:#fff;border:1px solid #dfe8e1;border-radius:11px;align-items:center;gap:10px;width:100%;min-width:0;max-width:420px;padding:0 13px;display:flex}.portal .portal-search input{min-width:0;min-height:46px;box-shadow:none;background:0 0;border:0;padding:10px 0;font-size:13px}.portal .portal-filters>select{border-color:#dfe8e1;max-width:230px;min-height:48px;font-size:13px}.portal-exam-list .portal-exam-card:first-child{border-top:0}.portal-exam-list .portal-exam-card{padding:21px 0}.portal-profile{text-align:center;max-width:650px;margin:auto;padding:35px}.portal-profile-avatar{background:var(--portal-soft);width:90px;height:90px;color:var(--portal-accent);border-radius:30px;place-items:center;margin:0 auto 20px;display:grid}.portal-profile h2{margin-bottom:10px;font-size:20px}.portal-profile dl{text-align:right;margin:25px 0}.portal-profile dl>div{border-bottom:1px solid #edf1ee;justify-content:space-between;gap:20px;padding:17px 0;display:flex}.portal-profile dt{color:#8a9a8e}.portal-profile dd{overflow-wrap:anywhere;margin:0}.portal-profile>p{color:#87968b;font-size:12px}.portal-back{color:#7b8d80;align-items:center;gap:8px;min-height:44px;margin-bottom:13px;font-size:12px;display:inline-flex}.portal-report-summary{background:var(--portal-soft);border-radius:18px;align-items:center;gap:20px;margin-bottom:22px;padding:26px;display:flex}.portal-report-summary>div{color:#789381;flex-direction:column;font-size:12px;display:flex}.portal-report-summary strong{color:var(--portal-ink);font-size:35px;line-height:1.7}.portal-report-summary strong small{font-size:12px;font-weight:400}.portal-report-summary p{color:#7c9284;margin:0 auto 0 0;font-size:11px}.portal-score-row{border-top:1px solid #eaf0ec;justify-content:space-between;align-items:center;gap:20px;padding:20px 5px;display:flex}.portal-score-row>div{flex-direction:column;gap:4px;display:flex}.portal-score-row strong{font-size:14px}.portal-score-row small{color:#97a69a;font-size:11px}.portal-score{color:var(--portal-accent);white-space:nowrap;font-size:23px;font-weight:700}.portal-score.ungraded{color:#91a094;font-size:11px;font-weight:400}.portal-grade-controls{align-items:end;gap:20px;margin:20px 0;display:flex}.portal-grade-controls>label{flex:1;min-width:0}.portal-grade-controls>label:first-child{color:#7d8b81;flex-direction:column;gap:7px;font-size:12px;display:flex}.portal-grade-controls select{min-height:48px}.portal-grade-row{border-top:1px solid #eaf0ec;align-items:center;gap:15px;padding:15px 0;display:flex}.portal-grade-row>label{overflow-wrap:anywhere;flex:1;min-width:0;font-size:13px}.portal-grade-row small{color:#91a095;font-size:10px;display:block}.portal-student-number{color:#8b9990;background:#f4f6f5;border-radius:10px;flex:none;place-items:center;width:32px;height:32px;font-size:12px;display:grid}.portal .portal-grade-row>input{text-align:center;direction:ltr;flex:none;width:83px;min-height:49px;font-size:18px}.portal-save-bar{z-index:5;background:#fff;border:1px solid #e1e8e3;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding:18px 23px;display:flex;position:sticky;bottom:18px;box-shadow:0 5px 30px #243a3410}.portal-save-bar>div{flex-direction:column;gap:3px;display:flex}.portal-save-bar strong{font-size:12px}.portal-save-bar small{color:#8b9b8e;font-size:10px}.portal-save-bar>p{flex-basis:100%;margin:0;font-size:12px}.portal-error{color:#b24343}.portal-success{color:#328062}.portal-loading{text-align:center;color:#819188;padding:90px 20px}.portal-loading h2{font-size:18px}.portal-loading p{font-size:12px}.portal-loading>span{border:3px solid #e3ebe5;border-top-color:var(--portal-accent);border-radius:50%;width:30px;height:30px;margin:0 auto 20px;animation:.8s linear infinite portal-spin;display:block}.portal-bottom-nav{display:none}@keyframes portal-spin{to{transform:rotate(360deg)}}@media (min-width:1500px){.portal-content{padding-top:36px}.portal-hero{min-height:270px}}@media (max-width:1150px){.portal-sidebar{width:215px;padding-inline:17px}.portal-main-wrap{width:calc(100% - 215px);margin-right:215px}.portal-content{padding:25px}.portal-topbar{padding-inline:25px}.portal-top-title>span{display:none}.portal-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-hero-art{width:195px;transform:scale(.9)}.portal-metric{gap:10px;padding:18px 15px}.portal-metric>svg{display:none}.portal-home-grid{grid-template-columns:1.2fr 1fr}}@media (max-width:800px){.portal-sidebar{display:none}.portal-main-wrap{width:100%;margin:0}.portal-topbar{height:68px;padding-inline:21px}.portal-content{padding:23px 20px calc(105px + env(safe-area-inset-bottom))}.portal-bottom-nav{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid #e3ebe5;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid;position:fixed;inset:auto 0 0}.portal-bottom-nav a{color:#96a398;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:55px;font-size:10px;display:flex}.portal-bottom-nav a.active{background:var(--portal-soft);color:var(--portal-accent);font-weight:700}.portal-save-bar{bottom:calc(88px + env(safe-area-inset-bottom))}.portal-top-account>span:nth-child(2){display:none}.portal-top-title{font-size:13px}.portal-welcome-line{font-size:11px}.portal-hero h1{font-size:25px}.portal-home-grid{grid-template-columns:1.2fr 1fr}}@media (max-width:560px){.portal-content{padding-inline:16px;padding-top:19px}.portal-topbar{padding-inline:16px}.portal-top-account{gap:4px}.portal-top-account .portal-avatar{width:32px;height:32px;font-size:14px}.portal-welcome-line{gap:10px;font-size:10px}.portal-welcome-line>span{overflow-wrap:anywhere;max-width:52%}.portal-hero{border-radius:19px;min-height:246px;padding:25px 23px;display:block}.portal-hero-kicker{margin-bottom:13px;font-size:10px}.portal-hero h1{max-width:90%;margin-bottom:10px;font-size:22px}.portal-hero p{max-width:78%;margin-bottom:22px;font-size:11px;line-height:2}.portal-hero .portal-button{gap:12px;min-height:44px;padding-inline:15px;font-size:11px}.portal-hero-art{transform-origin:0 100%;opacity:.6;pointer-events:none;width:230px;position:absolute;bottom:-10px;left:-38px;transform:scale(.55)}.portal-art-star{display:none}.portal-metrics{gap:9px;margin:16px 0 22px}.portal-metric{text-align:center;border-radius:14px;flex-direction:column;gap:8px;padding:14px 8px;display:flex}.portal-metric .portal-icon{border-radius:11px;width:35px;height:35px}.portal-metric .portal-icon svg{width:19px;height:19px}.portal-metric strong{font-size:24px}.portal-metric>div>span{white-space:nowrap;margin-top:2px;font-size:9px}.portal-home-grid{grid-template-columns:1fr;gap:17px;margin-bottom:24px}.portal-panel{border-radius:16px;padding:19px 17px}.portal-section-heading h2{font-size:15px}.portal-section-heading>a{font-size:10px}.portal-eyebrow{font-size:9px}.portal-exam-card{gap:10px}.portal-exam-copy h3{font-size:12px}.portal-exam-copy small{font-size:10px}.portal-tag{font-size:9px}.portal-empty{padding:28px 12px}.portal-empty p{font-size:11px}.portal-class-grid{grid-template-columns:1fr;gap:14px}.portal-class-card{padding:20px}.portal-page-heading{margin-bottom:20px}.portal-page-heading h1{font-size:23px}.portal-page-heading p{font-size:12px}.portal-filters{flex-direction:column;gap:10px}.portal .portal-filters>select,.portal-search{max-width:none}.portal .portal-search input,.portal select{font-size:16px}.portal-profile{padding:28px 20px}.portal-profile dl{font-size:12px}.portal-profile dd{max-width:65%}.portal-report-summary{flex-wrap:wrap;gap:12px;padding:20px}.portal-report-summary p{flex-basis:100%;margin:0}.portal-grade-controls{flex-direction:column;align-items:stretch;gap:13px}.portal-grade-row{gap:10px}.portal-grade-row>label{font-size:12px}.portal .portal-grade-row>input{width:70px}.portal-student-number{width:27px;height:27px;font-size:10px}.portal-save-bar{gap:10px;padding:14px}.portal-save-bar>div{flex-basis:100%}.portal-save-bar .portal-button{width:100%}.portal-save-bar small{font-size:9px}.portal-score.ungraded{font-size:10px}}@media (prefers-reduced-motion:reduce){.portal *{scroll-behavior:auto!important;animation:none!important}}.portal-welcome-line,.portal-side-label,.portal-class-card>p,.portal-page-heading p,.portal-empty,.portal-profile dt,.portal-profile>p,.portal-back{color:#697a70}.portal-eyebrow,.portal-section-heading p,.portal-exam-copy p,.portal-exam-copy small,.portal-quick>a small,.portal-subjects small,.portal-class-footer,.portal-grade-row small,.portal-score-row small,.portal-save-bar small,.portal-metric>div>span{color:#6f7e75}.portal .portal-search input::placeholder{color:#758278;opacity:1}@media (max-width:560px){.portal-welcome-line,.portal-hero-kicker{font-size:11px}.portal-hero p,.portal-hero .portal-button{font-size:12px}.portal-metric>div>span{font-size:10px}.portal-bottom-nav a,.portal-eyebrow,.portal-section-heading p,.portal-exam-copy small,.portal-tag,.portal-subjects small,.portal-class-footer,.portal-section-heading>a{font-size:11px}.portal-quick>a strong,.portal-exam-copy h3,.portal-subjects strong{font-size:13px}.portal-quick>a small,.portal-empty p,.portal-exam-copy p{font-size:12px}.portal-grade-row>label{font-size:13px}.portal-save-bar>div{flex:1;min-width:0}.portal-save-bar .portal-button{gap:7px;width:auto;min-width:125px;padding-inline:12px;font-size:11px}.portal-save-bar small{max-width:175px;font-size:10px}}

