:root{color:#20243b;font-synthesis:none;text-rendering:optimizelegibility;--ink:#20243b;--muted:#777f95;--soft-muted:#9197a4;--line:#e8ebf2;--paper:#fff;--canvas:#edf2f4;--primary:#63499f;--primary-dark:#6342af;--primary-soft:#eef0ff;--teal:#3a86ff;--teal-soft:#e8f6f1;--amber:#b7751d;--amber-soft:#fff5e6;--red:#c15a5a;--red-soft:#fff0ef;--shadow:0 12px 36px #242c5a1f;background:#f5f7fb;font-family:system-ui,IBM Plex Sans Arabic,Segoe UI}*{box-sizing:border-box}html{scroll-behavior:smooth;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;min-width:320px}body{min-width:320px;min-height:100svh;color:var(--ink);background:var(--canvas);margin:0;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #4c5bc559}[hidden]{display:none!important}.app-frame{min-height:100svh}.brand{color:var(--ink);white-space:nowrap;align-items:center;gap:11px;font-size:1.25rem;font-weight:700;text-decoration:none;display:inline-flex}.brand>img{object-fit:contain;flex:none;width:40px;height:40px;display:block}.ui-icon{width:1em;height:1em;-webkit-mask:var(--icon-image) center / contain no-repeat;-webkit-mask:var(--icon-image) center / contain no-repeat;mask:var(--icon-image) center / contain no-repeat;background:currentColor;flex:none;display:inline-block}.icon-arrow-left{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/arrow-left.svg)}.icon-arrow-up-right{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/arrow-up-right.svg)}.icon-check{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/check.svg)}.icon-clock{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/clock.svg)}.icon-sparkles{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/sparkles.svg)}.icon-info{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/info.svg)}.icon-ellipsis{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/ellipsis.svg)}.icon-search{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/search.svg)}.icon-plus{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/plus.svg)}.icon-x{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/x.svg)}.icon-external-link{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/external-link.svg)}.icon-link{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/link.svg)}.icon-book-open{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/book-open.svg)}.icon-globe{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/globe.svg)}.icon-moon{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/moon.svg)}.icon-sun{--icon-image:url(https://cdn.jsdelivr.net/npm/lucide-static@1.61.0/icons/sun.svg)}.eyebrow{color:var(--primary);letter-spacing:.01em;font-size:.79rem;font-weight:700;display:block}.auth-view{background:var(--paper);grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr);min-height:100svh;display:grid}.auth-brand{color:#fff;background:#682ac0;flex-direction:column;justify-content:space-between;min-height:100%;padding:clamp(28px,5vw,64px);display:flex;position:relative;overflow:hidden}.auth-brand .brand{z-index:1;color:#fff;align-self:flex-start}.auth-intro{z-index:1;width:min(540px,100%);margin:4vh 0 7vh}.auth-intro .eyebrow{color:#c7cdff;margin-bottom:14px}.auth-intro h1{margin:0;font-size:clamp(2.6rem,5vw,4.25rem);font-weight:700;line-height:1.23}.auth-intro h1 span{color:#a9f0df}.auth-intro>p{color:#ffffffc2;max-width:440px;margin:22px 0 0;font-size:1.06rem}.auth-benefits{color:#ffffffe0;gap:15px;margin-top:38px;display:grid}.auth-benefits>div{align-items:center;gap:13px;display:flex}.benefit-icon{color:#b1f0df;background:#ffffff17;border:1px solid #ffffff1f;border-radius:9px;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.benefit-icon .ui-icon{width:14px;height:14px}.auth-copyright{z-index:1;color:#ffffff8c;margin:0;font-size:.81rem}.auth-panel-wrap{background:#fff;flex-direction:column;justify-content:center;align-items:center;padding:38px;display:flex}.auth-panel{width:min(420px,100%)}.auth-panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:28px;display:flex}.auth-heading-copy{min-width:0}.theme-toggle{width:40px;height:40px;color:var(--muted);background:var(--paper);border:1px solid var(--line);border-radius:11px;flex:0 0 40px;place-items:center;transition:color .16s,background .16s,border-color .16s;display:grid}.theme-toggle .ui-icon{width:18px;height:18px}.theme-toggle:hover{color:var(--primary);background:var(--primary-soft);border-color:var(--primary-soft)}.theme-icon-sun,html[data-theme=dark] .theme-icon-moon{display:none}html[data-theme=dark] .theme-icon-sun{display:inline-block}.panel-kicker{color:var(--primary);margin-bottom:7px;font-size:.85rem;font-weight:700;display:block}.auth-panel-heading h2{letter-spacing:-.035em;margin:0;font-size:1.8rem}.auth-panel-heading p{color:var(--muted);margin:6px 0 0}.auth-alert{color:#6c571d;background:#fff8e8;border:1px solid #f1dfb8;border-radius:12px;gap:12px;margin-bottom:20px;padding:13px 14px;font-size:.83rem;display:flex}.auth-alert p{margin:3px 0 0}.alert-icon{color:#8c6c22;border:1px solid #dbc483;border-radius:50%;flex:0 0 22px;place-items:center;width:22px;height:22px;display:grid}.alert-icon .ui-icon{width:12px;height:12px}.auth-form,.profile-form{gap:10px;display:grid}.login-method-switch{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px;display:grid}.login-method-button{min-height:42px;font-size:.85rem}.login-method-button.is-active{color:#fff;background:var(--primary);border-color:var(--primary)}.student-login-hint{margin:2px 0 4px;line-height:1.7}.field-label{color:#42485c;gap:7px;font-size:.87rem;font-weight:600;display:grid}input,select,textarea{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #dfe3ec;border-radius:10px;padding:11px 14px;transition:border-color .16s,box-shadow .16s,background .16s}input::placeholder,textarea::placeholder{color:#a6acbb}input:hover,select:hover,textarea:hover{border-color:#bdc4d9}input:focus,select:focus,textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #4c5bc51c}textarea{resize:vertical;min-height:108px}.text-button{color:var(--primary);background:0 0;border:0;padding:0;font-size:.86rem;font-weight:650}.text-button:hover,.text-link:hover{color:var(--primary-dark);text-underline-offset:3px;text-decoration:underline}.forgot-button{justify-self:start;margin:0 0 6px}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-size:.88rem;font-weight:650;line-height:1.2;transition:background .16s,border-color .16s,color .16s,transform .16s,box-shadow .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:wait;opacity:.72}.button-primary{color:#fff;background:var(--primary);box-shadow:0 5px 12px #4c5bc52e}.button-primary:hover:not(:disabled){background:var(--primary-dark);box-shadow:0 8px 17px #4c5bc538}.button-secondary{color:#464d62;background:#fff;border-color:#dfe3ec}.button-secondary:hover:not(:disabled){color:var(--primary);background:#fafaff;border-color:#c6cbed}.button-danger-ghost{color:#b34d53;background:#fff;border-color:#f0d5d6}.button-danger-ghost:hover{background:#fff5f5;border-color:#e8bfc1}.button-full{width:100%;min-height:49px;margin-top:8px;font-size:.97rem}.guest-access-note{color:var(--muted);text-align:center;margin:8px 0 0;font-size:.79rem}.guest-indicator{color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:4px 10px;font-size:.76rem;font-weight:650}.guest-login-button{min-height:36px;padding:6px 12px;font-size:.8rem}.button-arrow{font-size:1.15rem;line-height:1}.form-hint{color:var(--muted);margin:1px 0 0;font-size:.79rem}.auth-switch{color:var(--muted);text-align:center;margin:22px 0 0;font-size:.88rem}.auth-switch .text-button{margin-inline-start:3px}#reset-form .back-to-login{justify-self:center;margin-top:5px}.auth-footnote{color:#a4a9b7;margin:22px 0 0;font-size:.79rem}.app-shell{min-height:100svh;display:flex}.sidebar{border-left:1px solid var(--line);background:#fff;flex-direction:column;flex:0 0 252px;width:252px;height:100svh;padding:27px 18px 18px;display:flex;position:sticky;top:0}.sidebar-brand{padding:0 8px}.sidebar-caption{color:#a0a6b5;margin:35px 11px 10px;font-size:.72rem;font-weight:650}.side-nav{gap:5px;display:grid}.side-link{color:#727a8e;text-align:right;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;min-height:46px;padding:0 12px;transition:color .16s,background .16s;display:flex}.side-link:hover{color:var(--primary);background:#f7f8ff}.side-link.active{color:var(--primary);background:var(--primary-soft);font-weight:650}.side-icon{object-fit:contain;filter:brightness(0)saturate()invert(49%)sepia(9%)saturate(537%)hue-rotate(187deg)brightness(91%)contrast(86%);flex:none;width:24px;height:24px;display:block}.side-link:hover .side-icon,.side-link.active .side-icon{filter:brightness(0)saturate()invert(34%)sepia(35%)saturate(1607%)hue-rotate(205deg)brightness(95%)contrast(88%)}.nav-count{color:#757da2;text-align:center;background:#fff;border-radius:99px;min-width:23px;margin-inline-start:auto;padding:1px 6px;font-size:.7rem}.sidebar-bottom{gap:17px;margin-top:auto;display:grid}.sidebar-help{background:linear-gradient(145deg,#f1f3ff,#f7f9ff);border:1px solid #eceeff;border-radius:14px;padding:17px 15px 16px;position:relative}.sidebar-help strong{color:#474f91;margin-top:6px;font-size:.88rem;display:block}.sidebar-help p{color:#858ba9;margin:4px 0 0;font-size:.74rem;line-height:1.55}.help-spark{color:#747fe0}.profile-mini{text-align:right;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;padding:9px 6px;display:flex}.profile-mini:hover{background:#f8f9fc}.avatar{color:#4957b4;background:#e9ecff;border-radius:13px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:1rem;font-weight:700;display:grid}.profile-mini-text{flex:1;display:grid;overflow:hidden}.profile-mini-text strong{color:#42485b;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.profile-mini-text small{color:#a0a5b1;font-size:.7rem}.profile-more{color:#858b9b;font-size:1.3rem}.main-column{flex-direction:column;flex:1;min-width:0;min-height:100svh;display:flex}.topbar{z-index:5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;border-bottom:1px solid #e8ebf2db;justify-content:space-between;align-items:center;gap:18px;min-height:74px;padding:10px clamp(22px,4vw,54px);display:flex;position:sticky;top:0}.breadcrumb{color:#9ba1af;align-items:center;gap:10px;font-size:.82rem;display:flex}.breadcrumb strong{color:#555d72;font-weight:650}.breadcrumb-separator{color:#c2c6d0}.topbar-actions{align-items:center;gap:22px;display:flex}.current-date{color:#9299a9;font-size:.78rem}.profile-chip{color:#50576a;background:0 0;border:0;align-items:center;gap:8px;padding:4px 0 4px 4px;font-size:.8rem;font-weight:600;display:inline-flex}.avatar-small{border-radius:11px;flex-basis:32px;width:32px;height:32px;font-size:.85rem}.main-content{flex:1;width:min(100%,1440px);margin:0 auto;padding:35px clamp(22px,4vw,54px) 50px}.view-panel{animation:.24s both view-enter}@keyframes view-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.welcome-row{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:27px;display:flex}.welcome-row .eyebrow,.page-heading .eyebrow{margin-bottom:6px}.welcome-row h1,.page-heading h1{letter-spacing:-.04em;margin:0;font-size:clamp(1.8rem,3vw,2.4rem);font-weight:700;line-height:1.4}.welcome-row h1>span:first-child{color:var(--primary)}.welcome-row p,.page-heading p{color:var(--muted);margin:4px 0 0;font-size:.9rem}.wave{color:#e1aa58;vertical-align:5px;margin-right:2px;font-size:.85em;display:inline-block}.clock-card{border:1px solid var(--line);text-align:center;background:#fff;border-radius:13px;gap:1px;min-width:155px;padding:13px 18px 12px;display:grid;box-shadow:0 4px 13px #27306008}.clock-label,.clock-card>span:last-child{color:#9097a7;font-size:.7rem}.clock-card strong{color:#3f4ba5;font-variant-numeric:tabular-nums;letter-spacing:.035em;direction:ltr;font-size:1.55rem;line-height:1.4}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:38px;display:grid}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;min-height:135px;padding:17px 18px 15px;box-shadow:0 4px 15px #2a315605}.stat-top{color:#777f91;justify-content:space-between;align-items:center;gap:10px;font-size:.78rem;display:flex}.stat-icon{width:30px;height:30px;color:var(--primary);background:var(--primary-soft);border-radius:9px;place-items:center;font-size:1rem;font-weight:700;display:grid}.stat-done .stat-icon{color:var(--teal);background:var(--teal-soft)}.stat-remaining .stat-icon{color:var(--amber);background:var(--amber-soft)}.stat-progress .stat-icon{color:#357c99;background:#e9f5fa}.stat-card>strong{color:#292e42;margin-top:8px;font-size:1.7rem;font-weight:700;line-height:1.3;display:block}.stat-note{color:#a0a6b3;margin-top:2px;font-size:.7rem;display:block}.progress-track{background:#eef0f4;border-radius:99px;height:5px;margin-top:11px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#69c9ae,#399a88);width:0;height:100%;transition:width .22s;display:block}.content-section,.admin-table-section{margin-top:36px}.section-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:16px;display:flex}.section-heading .eyebrow{margin-bottom:3px;font-size:.72rem}.section-heading h2{letter-spacing:-.02em;margin:0;font-size:1.23rem;font-weight:700}.text-link{color:var(--primary);background:0 0;border:0;align-items:center;gap:7px;padding:4px 0;font-size:.82rem;font-weight:650;display:inline-flex}.assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.assignment-card[data-assignment-details]{cursor:pointer}.assignment-card[data-assignment-details]:focus-visible{outline-offset:2px;outline:3px solid #4c5bc559}.assignment-card{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;min-height:260px;padding:17px 17px 14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative;box-shadow:0 4px 16px #2a315605}.assignment-card:hover{box-shadow:var(--shadow);border-color:#d5d9ec;transform:translateY(-2px)}.assignment-card.is-complete{background:linear-gradient(155deg,#fff,#fbfefc);border-color:#d9eee5}.assignment-card-top{justify-content:space-between;align-items:center;display:flex}.subject-tag{color:#5864b6;background:#f0f1ff;border-radius:7px;align-items:center;min-height:25px;padding:3px 9px;font-size:.69rem;font-weight:650;display:inline-flex}.complete-toggle{color:#9ca3b4;background:#fff;border:1px solid #dfe3eb;border-radius:9px;place-items:center;width:29px;height:29px;font-size:1rem;font-weight:700;transition:color .16s,background .16s,border-color .16s,transform .16s;display:grid}.complete-toggle:hover{color:var(--teal);border-color:#a9d9c8;transform:scale(1.05)}.complete-toggle.is-complete{color:#fff;background:var(--teal);border-color:var(--teal)}.assignment-card h3{color:#30364b;margin:14px 0 4px;font-size:1.04rem;line-height:1.5}.assignment-description{color:#7e8697;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.81rem;line-height:1.7;display:-webkit-box;overflow:hidden}.assignment-meta{color:#8b91a0;align-items:flex-start;gap:7px;margin-top:15px;font-size:.73rem;display:flex}.deadline-icon{color:#9298a8}.deadline-soon{color:#b47a29;font-weight:650}.deadline-overdue{color:#bd5356;font-weight:650}.deadline-normal{color:#858c9b}.submission-link,.resource-link{color:var(--primary);align-items:center;gap:5px;font-size:.76rem;font-weight:650;text-decoration:none;display:inline-flex}.submission-link{align-self:flex-start;margin-top:10px}.submission-note{color:var(--muted);overflow-wrap:anywhere;margin:10px 0 0;font-size:.76rem}.submission-note strong{color:var(--ink);font-weight:650}.resource-links{flex-wrap:wrap;gap:7px 12px;margin-top:9px;display:flex}.resource-link{color:#54867d;font-size:.72rem}.submission-link:hover,.resource-link:hover{text-underline-offset:3px;text-decoration:underline}.completion-note{color:#afb4bf;margin:auto 0 0;padding-top:14px;font-size:.66rem}.is-complete .completion-note{color:#589889}.links-preview-section{margin-top:39px}.quick-links-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.quick-link-card{min-height:125px;color:inherit;border:1px solid var(--line);background:#fff;border-radius:13px;align-items:flex-start;gap:11px;padding:15px 14px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;box-shadow:0 4px 16px #2a315605}.quick-link-card:hover{box-shadow:var(--shadow);border-color:#cfd4ed;transform:translateY(-2px)}.quick-link-icon{color:#5662bd;background:#eff1ff;border-radius:10px;flex:0 0 35px;place-items:center;width:35px;height:35px;font-size:1rem;display:grid}.quick-link-content{flex:1;gap:2px;min-width:0;display:grid}.quick-link-category{color:#8b91a2;font-size:.66rem}.quick-link-content strong{color:#42485d;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:650;overflow:hidden}.quick-link-description{color:#9a9fac;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:.71rem;line-height:1.5;display:-webkit-box;overflow:hidden}.quick-link-arrow{color:#a3a9b7;font-size:.9rem}.page-heading{justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:26px;display:flex}.page-heading h1{font-size:clamp(1.9rem,3vw,2.5rem)}.toolbar{align-items:center;gap:10px;margin-bottom:12px;display:flex}.search-field{flex:1;min-width:min(330px,100%);display:flex;position:relative}.search-field>span{color:#9ca3b2;font-size:1.25rem;position:absolute;top:50%;right:13px;transform:translateY(-54%)}.search-field input{background:#fff;padding-right:39px}.select-field select{color:#60687c;background:#fff;min-width:155px;height:48px;padding-inline:12px 34px;font-size:.81rem}.results-caption{color:#a0a6b2;margin-bottom:12px;font-size:.76rem}.all-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.important-images-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.important-image-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;min-width:0;overflow:hidden;box-shadow:0 5px 18px #2a31560a}.important-image-media{aspect-ratio:16/10;background:var(--canvas);display:block;overflow:hidden}.important-image-media img{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.important-image-media:hover img{transform:scale(1.025)}.important-image-placeholder{min-height:170px;color:var(--muted);background:var(--canvas);place-items:center;font-size:.82rem;display:grid}.important-image-copy{gap:6px;padding:15px;display:grid}.important-image-copy strong{color:var(--ink);font-size:.96rem}.important-image-copy p{color:var(--muted);white-space:pre-wrap;margin:0;font-size:.8rem;line-height:1.7}.important-image-actions{justify-content:flex-start;margin-top:8px;display:flex}.image-download-button{min-height:38px}.image-draft-badge{color:#90651f;background:#fff3d9;border-radius:99px;justify-self:start;padding:3px 9px;font-size:.68rem}.image-file-help{color:var(--muted);margin-top:7px;font-size:.74rem;line-height:1.6;display:block}.important-image-current-preview{object-fit:contain;border:1px solid var(--line);border-radius:10px;grid-column:1/-1;justify-self:start;width:min(100%,320px);max-height:220px}.empty-state{color:#9299a9;text-align:center;background:#fff;border:1px dashed #dfe3ed;border-radius:14px;grid-column:1/-1;align-content:center;justify-items:center;min-height:190px;padding:25px;display:grid}.empty-icon{color:#6470c4;background:#f0f2ff;border-radius:14px;place-items:center;width:42px;height:42px;margin-bottom:9px;font-size:1.15rem;display:grid}.empty-icon .ui-icon{width:22px;height:22px}.empty-state strong{color:#565d71;font-size:.97rem}.empty-state p{color:#979eac;max-width:360px;margin:5px 0 0;font-size:.79rem}.loading-card{color:#8f96a7;border:1px solid var(--line);background:#fff;border-radius:13px;grid-column:1/-1;justify-content:center;align-items:center;gap:10px;min-height:115px;font-size:.82rem;display:flex}.loader{border:2px solid #e1e4f4;border-top-color:var(--primary);border-radius:50%;width:17px;height:17px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.profile-card{border:1px solid var(--line);background:#fff;border-radius:15px;width:min(920px,100%);padding:32px;box-shadow:0 6px 22px #2a315608}.profile-card-top{align-items:center;gap:18px;margin-bottom:30px;display:flex}.avatar-large{border-radius:20px;flex-basis:68px;width:68px;height:68px;font-size:1.5rem}.profile-card-top>div{flex:1;min-width:0}.profile-card-top h2{color:#34394d;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.25rem;overflow:hidden}.profile-card-top p{color:#9298a7;text-align:right;text-overflow:ellipsis;direction:ltr;margin:2px 0 0;font-size:.8rem;overflow:hidden}.role-badge{color:#5d67b2;background:#f0f1ff;border-radius:99px;padding:5px 10px;font-size:.73rem;font-weight:650}.profile-form{max-width:620px}.inline-form-field{gap:8px;display:flex}.inline-form-field input{flex:1}.profile-divider{background:#edf0f4;height:1px;margin:23px 0}.profile-security-row{justify-content:space-between;align-items:center;gap:18px;display:flex}.profile-password-section{align-items:flex-start}.profile-password-section>div{width:100%}.profile-password-form{max-width:560px;margin-top:12px;margin-bottom:10px}.profile-password-form .inline-form-field{align-items:center;gap:8px;display:flex}.profile-password-form .inline-form-field input{flex:1;min-width:0}.temporary-password-alert{color:#6c571d;background:#fff8e8;border:1px solid #f1dfb8;border-radius:12px;align-items:center;gap:12px;margin:0 0 20px;padding:14px 16px;font-size:.84rem;display:flex}.temporary-password-alert>.ui-icon{flex:none;font-size:1.2rem}.temporary-password-alert>div{flex:1}.temporary-password-alert p{margin:3px 0 0;line-height:1.65}.profile-security-row strong{color:#454b5e;font-size:.87rem}.profile-security-row p{color:#9298a7;margin:3px 0 0;font-size:.76rem}.page-heading.admin-heading{align-items:center}.admin-actions{gap:8px;display:flex}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:33px;display:grid}.admin-stat{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;min-height:86px;padding:15px 17px;display:flex}.admin-stat span{color:#808798;font-size:.78rem}.admin-stat strong{color:#414ca5;font-size:1.45rem}.admin-table-section{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px}.admin-table-section+.admin-table-section{margin-top:19px}.admin-table-section .section-heading{margin-bottom:13px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:right;white-space:nowrap;width:100%}th{color:#959bac;border-bottom:1px solid #edf0f4;padding:11px 10px;font-size:.71rem;font-weight:600}td{color:#767d8e;border-bottom:1px solid #f0f2f6;padding:13px 10px;font-size:.76rem}tbody tr:last-child td{border-bottom:0}td strong{color:#454b5e;font-weight:650}.status-badge{border-radius:99px;padding:3px 8px;font-size:.68rem;font-weight:600;display:inline-flex}.status-published{color:#32816f;background:#eaf7f1}.status-draft{color:#9b6c26;background:#fff4df}.table-actions{align-items:center;gap:11px;display:flex}.table-action{color:#5965b5;background:0 0;border:0;padding:3px 0;font-size:.73rem;font-weight:600}.table-action-danger{color:#bc585c}.inline-error{color:#9e464b;background:#fff1f1;border:1px solid #f1d9da;border-radius:11px;margin-top:20px;padding:12px 15px;font-size:.84rem}.site-footer{color:#a0a6b3;border-top:1px solid #e9ecf2;justify-content:space-between;align-items:center;gap:12px;padding:15px clamp(22px,4vw,54px);font-size:.72rem;display:flex}.editor-dialog{background:#fff;border:1px solid #e7eaf1;border-radius:18px;width:min(720px,100% - 28px);max-height:min(92vh,880px);padding:0;overflow:auto;box-shadow:0 24px 90px #1a204842}.editor-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#171c397a}.editor-form{padding:25px}.assignment-details-grid{gap:16px}.assignment-detail-value{color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;font-size:.88rem;font-weight:400;line-height:1.8}.assignment-details-dialog .dialog-heading h2{overflow-wrap:anywhere}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.dialog-heading h2{margin:2px 0 0;font-size:1.35rem}.icon-button{color:#81889a;background:#f5f6f9;border:0;border-radius:10px;place-items:center;width:34px;height:34px;font-size:1.35rem;display:grid}.icon-button .ui-icon{width:16px;height:16px}.icon-button:hover{color:#434a60;background:#eceef4}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-grid .field-label{font-size:.81rem}.field-full{grid-column:1/-1}.checkbox-field{color:#6e7688;align-self:end;align-items:center;gap:9px;min-height:47px;font-size:.8rem;display:flex}.checkbox-field input{width:17px;height:17px;min-height:17px;accent-color:var(--primary);margin:0}.dialog-actions{border-top:1px solid #edf0f4;justify-content:flex-start;gap:8px;margin-top:22px;padding-top:17px;display:flex}.toast-region{z-index:20;gap:8px;width:min(390px,100vw - 32px);display:grid;position:fixed;bottom:24px;right:24px}.toast{color:#fff;background:#303957;border-radius:12px;padding:13px 16px;font-size:.85rem;animation:.2s both toast-enter;box-shadow:0 12px 35px #151b3938}.toast-error{background:#a9424c}@keyframes toast-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e8ecf5;--muted:#a7b0c1;--soft-muted:#8f99ad;--line:#343c4d;--paper:#1a202c;--canvas:#0d1b2a;--primary:#8338ec;--primary-dark:#722ed1;--primary-soft:#303953;--teal:#3a86ff;--teal-soft:#29443e;--amber:#f0c478;--amber-soft:#443827;--red:#f28f95;--red-soft:#452d36;--shadow:0 14px 36px #0000003d}html[data-theme=dark] body{color:var(--ink)}html[data-theme=dark] .assignment-card[data-assignment-details]:focus-visible,html[data-theme=dark] :is(button,a,input,select,textarea):focus-visible{outline-color:#aeb8ff94}html[data-theme=dark] :is(.auth-view,.auth-panel-wrap,.auth-panel,.sidebar,.topbar,.clock-card,.stat-card,.assignment-card,.quick-link-card,.loading-card,.profile-card,.admin-stat,.admin-table-section,.editor-dialog,.button-secondary,.button-danger-ghost,.nav-count,.complete-toggle,.search-field input,.select-field select){background-color:var(--paper);border-color:var(--line)}html[data-theme=dark] .temporary-password-alert{color:#ead8a3;background:#302a1d;border-color:#66552f}html[data-theme=dark] .login-method-button.is-active{color:#fff;background:var(--primary);border-color:var(--primary)}html[data-theme=dark] .empty-state{color:var(--muted);background:var(--paper);border-color:var(--line)}html[data-theme=dark] .auth-view{background:var(--canvas)}html[data-theme=dark] .topbar{background:var(--paper);border-bottom-color:var(--line)}html[data-theme=dark] :is(input,select,textarea){color:var(--ink);background:var(--paper);border-color:var(--line)}html[data-theme=dark] :is(input,textarea)::placeholder{color:var(--soft-muted)}html[data-theme=dark] :is(input,select,textarea):hover{border-color:#58647b}html[data-theme=dark] :is(.field-label,.side-link,.profile-chip,.profile-mini-text strong,.breadcrumb strong,.stat-top,.stat-card>strong,.assignment-card h3,.assignment-description,.assignment-meta,.quick-link-content strong,.quick-link-category,.quick-link-description,.empty-state strong,.profile-card-top h2,.profile-security-row strong,.admin-stat span,.admin-stat strong,td,td strong,.checkbox-field,.button-secondary){color:var(--ink)}html[data-theme=dark] :is(.sidebar-caption,.current-date,.breadcrumb,.stat-note,.clock-label,.clock-card>span:last-child,.deadline-icon,.deadline-normal,.completion-note,.quick-link-arrow,.quick-link-category,.quick-link-description,.results-caption,.empty-state p,.loading-card,.profile-card-top p,.profile-security-row p,th,.site-footer){color:var(--soft-muted)}html[data-theme=dark] :is(.side-link:hover,.profile-mini:hover,.button-secondary:hover,.icon-button:hover),html[data-theme=dark] :is(.nav-count,.avatar,.subject-tag,.quick-link-icon,.role-badge,.empty-icon){color:var(--primary-dark);background:var(--primary-soft)}html[data-theme=dark] .sidebar-help{background:linear-gradient(145deg,#252e45,#202a39);border-color:#39435a}html[data-theme=dark] .sidebar-help strong{color:#c0c8ff}html[data-theme=dark] .sidebar-help p{color:#a5aec3}html[data-theme=dark] .assignment-card.is-complete{background:linear-gradient(155deg,#202d32,#202d30);border-color:#35564d}html[data-theme=dark] :is(.assignment-card:hover,.quick-link-card:hover){border-color:#59647d}html[data-theme=dark] .complete-toggle{color:var(--soft-muted)}html[data-theme=dark] .complete-toggle.is-complete{color:#172521;background:var(--teal);border-color:var(--teal)}html[data-theme=dark] .clock-card strong,html[data-theme=dark] .admin-stat strong,html[data-theme=dark] .table-action{color:var(--primary)}html[data-theme=dark] :is(.stat-progress .stat-icon,.deadline-soon){color:#9bd7ef}html[data-theme=dark] :is(.resource-link,.is-complete .completion-note,.status-published){color:#8ed8c1}html[data-theme=dark] .status-published{background:#29443e}html[data-theme=dark] :is(.deadline-overdue,.table-action-danger,.button-danger-ghost,.inline-error){color:#ff9fa4}html[data-theme=dark] :is(.button-danger-ghost,.inline-error){background:var(--red-soft);border-color:#66404b}html[data-theme=dark] .button-danger-ghost:hover{background:#52313c;border-color:#7a4a57}html[data-theme=dark] .status-draft{color:#f2ca83;background:var(--amber-soft)}html[data-theme=dark] .auth-alert{color:#f2d58d;background:#403721;border-color:#655533}html[data-theme=dark] .auth-alert p{color:#d5bd7f}html[data-theme=dark] :is(.progress-track,.icon-button){background:#2b3342}html[data-theme=dark] .profile-divider{background:var(--line)}html[data-theme=dark] :is(.dialog-actions,th,td,.site-footer){border-color:var(--line)}html[data-theme=dark] :is(th,td){border-bottom-color:var(--line)}html[data-theme=dark] .loader{border-color:#39435a;border-top-color:var(--primary)}html[data-theme=dark] .important-image-card{background:var(--paper);border-color:var(--line)}html[data-theme=dark] .important-image-copy strong{color:var(--ink)}html[data-theme=dark] .image-draft-badge{color:#f0c77f;background:#4c3a1d}html[data-theme=dark] .editor-dialog{color:var(--ink)}html[data-theme=dark] .dialog-actions{background:var(--paper)}@media (width<=1120px){.sidebar{flex-basis:220px;width:220px}.main-content{padding-left:28px;padding-right:28px}.assignment-grid,.quick-links-grid,.stats-grid,.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.temporary-password-alert{flex-wrap:wrap;align-items:flex-start}.temporary-password-alert .button{width:100%}.profile-password-form .inline-form-field{flex-direction:column;align-items:stretch}.profile-password-form .inline-form-field .button{width:100%}.auth-view{background:#f7f8fc;grid-template-columns:1fr}.auth-brand{min-height:240px;padding:22px 23px 26px}.auth-brand .brand>img{border-radius:11px;width:35px;height:35px}.auth-intro{margin:27px 0 0}.auth-intro .eyebrow{margin-bottom:6px}.auth-intro h1{font-size:clamp(2rem,8vw,2.7rem)}.auth-intro>p{margin-top:9px;font-size:.9rem}.auth-benefits,.auth-copyright{display:none}.auth-panel-wrap{align-items:center;padding:24px 20px 35px}.auth-panel{border:1px solid var(--line);background:#fff;border-radius:16px;width:min(440px,100%);padding:23px 20px;box-shadow:0 8px 28px #242c5a0d}.auth-panel-heading{margin-bottom:20px}.auth-footnote{text-align:center}.app-shell{display:block}.sidebar{z-index:9;border-left:0;border-bottom:1px solid var(--line);width:100%;height:auto;padding:9px 12px 10px;display:block;position:sticky;top:0;box-shadow:0 4px 15px #242c5a0a}.sidebar-brand,.sidebar-caption,.sidebar-bottom{display:none}.side-nav{scrollbar-width:none;gap:5px;display:flex;overflow-x:auto}.side-nav::-webkit-scrollbar{display:none}.side-link{white-space:nowrap;flex:none;gap:7px;min-height:38px;padding:0 11px;font-size:.78rem}.side-icon{width:20px;height:20px}.nav-count{min-width:19px;padding:0 5px;font-size:.65rem}.topbar{min-height:60px;padding:9px 18px;position:static}.mobile-brand{display:block}.mobile-brand .brand{gap:7px;font-size:1rem}.mobile-brand .brand>img{border-radius:10px;width:32px;height:32px}.breadcrumb{display:none}.topbar-actions{gap:9px}.current-date,.profile-chip>span:last-child{display:none}.main-content{padding:24px 17px 38px}.welcome-row{align-items:flex-start;gap:12px;margin-bottom:19px}.welcome-row h1{font-size:clamp(1.45rem,6vw,1.9rem)}.welcome-row p{max-width:235px;font-size:.78rem}.clock-card{min-width:105px;padding:8px 10px}.clock-card strong{font-size:1.2rem}.clock-label,.clock-card>span:last-child{font-size:.6rem}.stats-grid{gap:9px;margin-bottom:28px}.stat-card{border-radius:12px;min-height:116px;padding:12px}.stat-top{font-size:.69rem}.stat-icon{width:26px;height:26px}.stat-card>strong{margin-top:5px;font-size:1.45rem}.stat-note{font-size:.63rem}.section-heading{align-items:flex-end;gap:8px}.section-heading h2{font-size:1.05rem}.section-heading .text-link{white-space:nowrap;max-width:130px;font-size:.71rem}.assignment-grid{grid-template-columns:1fr;gap:10px}.assignment-card{min-height:235px;padding:15px}.quick-links-grid,.all-links-grid{grid-template-columns:1fr;gap:9px}.quick-link-card{min-height:100px;padding:13px}.page-heading{margin-bottom:19px}.page-heading h1{font-size:1.9rem}.page-heading p{font-size:.82rem}.toolbar{flex-wrap:wrap;align-items:stretch}.search-field{min-width:100%}.select-field{flex:1}.select-field select{min-width:0}.profile-card{padding:19px 16px}.profile-card-top{gap:10px}.avatar-large{border-radius:15px;flex-basis:48px;width:48px;height:48px}.profile-card-top h2{font-size:.97rem}.profile-card-top p{font-size:.7rem}.role-badge{padding:4px 7px;font-size:.65rem}.inline-form-field{flex-direction:column;align-items:stretch}.profile-security-row{flex-direction:column;align-items:flex-start}.admin-heading{flex-direction:column;align-items:flex-start!important}.admin-actions{width:100%}.admin-actions .button{flex:1;padding-inline:10px;font-size:.76rem}.admin-stats{gap:8px}.admin-stat{min-height:68px;padding:10px 12px}.admin-stat span{font-size:.68rem}.admin-stat strong{font-size:1.2rem}.admin-table-section{padding:14px 11px}.admin-table-section .section-heading h2{font-size:.98rem}.admin-table-section .text-link{font-size:.7rem}.site-footer{flex-direction:column;align-items:flex-start;gap:2px;padding:13px 18px;font-size:.67rem}.editor-form{padding:19px 16px}.form-grid{grid-template-columns:1fr;gap:12px}.field-full{grid-column:auto}.checkbox-field{align-self:start;min-height:30px}.dialog-actions{background:#fff;position:sticky;bottom:-1px}.toast-region{bottom:16px;right:16px}}@media (width<=370px){.side-link{padding-inline:8px;font-size:.71rem}.welcome-row{flex-direction:column}.clock-card{text-align:right;grid-template-columns:auto auto;align-items:center;column-gap:7px;min-width:0}.clock-card>span:last-child{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.push-status{color:var(--muted);margin-top:5px;font-size:.78rem;line-height:1.6}#push-toggle-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=1120px){.important-images-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.important-images-grid{grid-template-columns:1fr}}.private-assignment-note{color:var(--muted);margin:-5px 0 14px;font-size:.82rem;line-height:1.7}.private-assignment-card{min-height:285px}.private-assignment-actions{border-top:1px solid var(--line);align-items:center;gap:8px;margin-top:12px;padding-top:11px;display:flex}.private-assignment-actions .table-action{min-height:32px;padding-inline:10px}html[data-theme=dark] .private-assignment-note{color:var(--soft-muted)}@media (width<=760px){.private-assignment-section .section-heading{flex-direction:column;align-items:flex-start}.private-assignment-section .section-heading .button{justify-content:center;width:100%}.private-assignment-card{min-height:250px}}.pdf-image-media{color:var(--primary);flex-direction:column;justify-content:center;align-items:center;gap:10px;text-decoration:none;display:flex}.pdf-file-icon{color:#fff;background:#c94343;border-radius:9px;place-items:center;width:64px;height:76px;font-size:1.1rem;font-weight:800;display:grid;box-shadow:0 6px 16px #0000001f}.pdf-current-preview{width:fit-content;min-height:52px;color:var(--primary);background:var(--canvas);justify-content:center;align-items:center;padding:12px 18px;font-weight:700;text-decoration:none;display:inline-flex}.pdf-current-preview[hidden]{display:none}.app-shell{display:block}.sidebar{z-index:40;overscroll-behavior:contain;width:min(320px,100vw - 28px);height:100dvh;padding:22px 18px calc(18px + env(safe-area-inset-bottom));background:var(--paper);border:1px solid var(--line);visibility:hidden;pointer-events:none;border-right:0;border-radius:22px 0 0 22px;flex-direction:column;flex:none;transition:transform .26s cubic-bezier(.2,.8,.2,1),visibility 0s linear .26s;display:flex;position:fixed;top:0;left:auto;right:0;overflow-y:auto;transform:translate(105%);box-shadow:-18px 0 55px #19213c29}.sidebar.is-open{visibility:visible;pointer-events:auto;transition:transform .26s cubic-bezier(.2,.8,.2,1),visibility;transform:translate(0,0)}.sidebar-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.sidebar-brand{padding:0 8px;display:inline-flex}.sidebar-close,.menu-toggle{width:42px;height:42px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:12px;flex:0 0 42px;place-items:center;transition:background .16s,border-color .16s,transform .16s;display:grid}.sidebar-close{font-size:1.8rem;line-height:1}.sidebar-close:hover,.menu-toggle:hover{background:var(--primary-soft);border-color:var(--primary)}.menu-toggle:active,.sidebar-close:active{transform:scale(.96)}.menu-lines{gap:4px;width:19px;display:grid}.menu-lines span{background:currentColor;border-radius:99px;width:19px;height:2px;display:block}.sidebar-caption{margin:24px 11px 10px;display:block}.side-nav{gap:5px;display:grid;overflow:visible}.sidebar .side-link{flex:initial;white-space:normal;gap:12px;min-height:48px;padding:0 12px;font-size:.88rem}.sidebar .side-icon{width:23px;height:23px}.sidebar-bottom{gap:17px;margin-top:auto;padding-top:20px;display:grid}.sidebar-backdrop{z-index:35;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer;background:#0e13226b;border:0;width:100%;height:100%;padding:0;position:fixed;inset:0}.sidebar-backdrop[hidden]{display:none!important}body.sidebar-open{overflow:hidden}.mobile-brand{display:none!important}.breadcrumb{white-space:nowrap;flex:1;min-width:0;display:flex;overflow:hidden}.topbar{z-index:5;position:sticky;top:0}.menu-toggle{flex:0 0 42px;display:grid}@media (width<=760px){.topbar{gap:12px;min-height:62px;padding:9px 15px}.breadcrumb{gap:6px;font-size:.74rem}.topbar-actions{flex:none;gap:8px}.menu-toggle,.sidebar-close{flex-basis:40px;width:40px;height:40px}.sidebar{padding-top:max(18px, env(safe-area-inset-top))}}.profile-class-label,.admin-help-text{color:var(--muted,#7b8291);margin:5px 0 0;font-size:.82rem}.news-heading{align-items:center}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.news-card{background:var(--surface,#fff);border:1px solid var(--line);border-radius:16px;min-width:0;padding:20px;box-shadow:0 8px 26px #17243d0b}.news-card h2{margin:12px 0 8px;font-size:1.08rem;line-height:1.6}.news-card p{color:var(--muted,#737b8c);white-space:pre-line;overflow-wrap:anywhere;margin:0;line-height:1.9}.news-card-meta{color:var(--muted,#858c9b);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:.75rem;display:flex}.news-attachment{color:var(--primary);overflow-wrap:anywhere;align-items:center;gap:8px;margin-top:14px;font-weight:650;display:inline-flex}.news-attachment-image{max-width:100%;display:block}.news-attachment-image img{object-fit:contain;background:var(--surface-muted,#f4f6fa);border-radius:12px;width:100%;max-height:320px;display:block}.subject-folder{background:var(--surface,#fff);border:1px solid var(--line);border-radius:15px;margin-bottom:12px;padding:0 16px}.subject-folder>summary,.resource-subfolder>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;font-weight:700;list-style:none;display:flex}.subject-folder>summary::-webkit-details-marker{display:none}.resource-subfolder>summary::-webkit-details-marker{display:none}.subject-folder>summary small,.resource-subfolder>summary small{color:var(--muted,#858c9b);font-size:.75rem;font-weight:500}.resource-subfolders{padding:0 0 10px}.resource-subfolder{background:var(--surface-muted,#f7f8fb);border:1px solid var(--line);border-radius:12px;margin:0 0 8px;padding:0 13px}.resource-subfolder>summary{padding:12px 0;font-size:.9rem}.resource-folder-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;padding:0 0 12px;display:grid}.folder-empty{color:var(--muted,#858c9b);grid-column:1/-1;margin:0;padding:12px;font-size:.82rem}.publisher-form{grid-template-columns:minmax(0,1.4fr) minmax(130px,.7fr) auto;align-items:end;gap:12px;margin:0 0 16px;display:grid}.publisher-form .field-label{min-width:0}.activation-code-result{background:var(--surface-muted,#f4f6fa);color:var(--text,#283044);overflow-wrap:anywhere;border-radius:10px;margin-top:12px;padding:12px;display:block}.activation-code-result:empty{display:none}.activation-code-result code{letter-spacing:.06em;direction:ltr;unicode-bidi:isolate;margin:0 6px;font-size:.95rem;display:inline-block}#view-admin,#view-admin .admin-table-section,#view-admin .table-wrap{min-width:0;max-width:100%}#view-admin .table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}#view-admin table{min-width:590px}.manager-control[hidden],.admin-only-control[hidden]{display:none!important}@media (width<=760px){#view-admin .admin-heading{flex-direction:column;align-items:stretch;gap:14px}#view-admin .admin-heading>div:first-child{min-width:0}#view-admin .admin-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;display:grid}#view-admin .admin-actions .button{white-space:normal;justify-content:center;width:100%;min-width:0;padding-inline:10px;font-size:.82rem}#view-admin .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#view-admin .admin-stat{min-width:0;padding:13px}#view-admin .admin-table-section{border-radius:12px;margin-top:14px;padding:13px}#view-admin .section-heading{flex-direction:column;align-items:flex-start;gap:8px}#view-admin .publisher-form{grid-template-columns:minmax(0,1fr);gap:10px}#view-admin .publisher-form .button{width:100%}#view-admin .table-wrap{margin-inline:-3px;padding-bottom:4px}#view-admin .table-wrap table{min-width:560px}.news-grid{grid-template-columns:minmax(0,1fr)}.news-card{padding:16px}.page-heading.news-heading{flex-direction:column;align-items:stretch}.page-heading.news-heading .button{align-self:flex-start}.resource-folder-grid{grid-template-columns:minmax(0,1fr)}.editor-dialog{width:min(100% - 16px,600px);max-width:600px;max-height:calc(100dvh - 16px);overflow-y:auto}.editor-dialog .editor-form{padding:18px}.editor-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.editor-dialog .field-full{grid-column:auto}.editor-dialog .dialog-actions{background:var(--surface,#fff);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0 0;display:grid;position:sticky;bottom:-18px}.editor-dialog .dialog-actions .button{width:100%;min-width:0}}@media (width<=420px){#view-admin .admin-actions{grid-template-columns:minmax(0,1fr)}#view-admin .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-folder{padding-inline:11px}.resource-subfolder{padding-inline:10px}.activation-code-result code{overflow-wrap:anywhere;margin:8px 0;display:block}}.resource-library-heading{justify-content:space-between;align-items:flex-end;gap:20px}.resource-library-heading>div:first-child{min-width:0}.resource-library-heading h1{margin-bottom:7px}.resource-library-count{flex:none;align-items:stretch;gap:9px;display:flex}.resource-library-count>span{background:var(--paper);border:1px solid var(--line);border-radius:13px;align-items:center;gap:9px;min-width:88px;padding:10px 13px;display:flex}.resource-library-count img{flex:none;width:27px;height:27px}.resource-library-count strong{color:var(--ink);font-size:1rem;line-height:1.2}.resource-library-count small{color:var(--muted);font-size:.7rem;line-height:1.4}.resource-library-intro{background:linear-gradient(110deg, var(--primary-soft), var(--paper) 75%);border:1px solid var(--line);border-radius:15px;align-items:center;gap:13px;margin:22px 0 17px;padding:15px 17px;display:flex}.resource-library-intro-icon{background:var(--paper);border:1px solid var(--line);border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:grid}.resource-library-intro-icon img{width:25px;height:25px}.resource-library-intro strong{color:var(--ink);margin-bottom:3px;font-size:.9rem;display:block}.resource-library-intro p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.6}.important-images-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:15px;display:grid}.resource-subject-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;min-width:0;transition:border-color .16s,box-shadow .16s;overflow:hidden;box-shadow:0 5px 20px #242c5a0a}.resource-subject-card[open]{border-color:color-mix(in srgb, var(--primary) 32%, var(--line));box-shadow:0 9px 28px #242c5a12}.resource-subject-summary{cursor:pointer;grid-template-columns:27px 48px minmax(0,1fr) 15px;align-items:center;gap:12px;min-height:83px;padding:15px 16px;list-style:none;display:grid}.resource-subject-summary::-webkit-details-marker{display:none}.resource-folder-summary::-webkit-details-marker{display:none}.resource-subject-number{color:var(--soft-muted);font-variant-numeric:tabular-nums;font-size:.72rem;font-weight:700}.resource-subject-icon{background:var(--primary-soft);border-radius:13px;place-items:center;width:46px;height:46px;display:grid}.resource-subject-icon img{width:27px;height:27px}.resource-subject-info{gap:5px;min-width:0;display:grid}.resource-subject-info strong{color:var(--ink);overflow-wrap:anywhere;font-size:.88rem;font-weight:700;line-height:1.6}.resource-subject-info small{color:var(--muted);font-size:.72rem}.resource-subject-chevron,.resource-folder-chevron{border-right:1.7px solid var(--muted);border-bottom:1.7px solid var(--muted);width:9px;height:9px;transition:transform .16s;transform:rotate(45deg)}.resource-subject-card[open] .resource-subject-chevron,.resource-folder-card[open] .resource-folder-chevron{transform:rotate(225deg)}.resource-subject-content{border-top:1px solid var(--line);padding:0 15px 15px}.resource-folder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:13px;display:grid}.resource-folder-card{background:var(--canvas);border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}.resource-folder-card[open]{background:var(--paper);border-color:color-mix(in srgb, var(--primary) 25%, var(--line));grid-column:1/-1}.resource-folder-summary{cursor:pointer;grid-template-columns:35px minmax(0,1fr) 10px;align-items:center;gap:8px;min-height:65px;padding:10px;list-style:none;display:grid}.resource-folder-icon{background:var(--paper);border:1px solid var(--line);border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.resource-folder-icon img{width:22px;height:22px}.resource-folder-label{gap:3px;min-width:0;display:grid}.resource-folder-label strong{color:var(--ink);font-size:.74rem;line-height:1.45}.resource-folder-label small{color:var(--muted);font-size:.68rem}.resource-folder-chevron{width:7px;height:7px}.resource-folder-content{padding:0 10px 10px}.resource-folder-empty{min-height:67px;color:var(--muted);background:var(--canvas);border:1px dashed var(--line);border-radius:10px;align-items:center;gap:10px;padding:10px;font-size:.74rem;line-height:1.6;display:flex}.resource-folder-empty img{opacity:.75;flex:none;width:27px;height:27px}.resource-file-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;grid-template-columns:66px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.resource-file-card+.resource-file-card{margin-top:8px}.resource-file-preview{background:var(--canvas);border:1px solid var(--line);border-radius:10px;place-items:center;width:66px;height:66px;display:grid;overflow:hidden}.resource-file-preview img{object-fit:cover;width:100%;height:100%;display:block}.resource-file-preview-icon img{object-fit:contain;width:44px;height:44px}.resource-file-content{gap:4px;min-width:0;display:grid}.resource-file-title{color:var(--ink);overflow-wrap:anywhere;font-size:.82rem;line-height:1.55}.resource-file-date{color:var(--muted);font-size:.68rem}.resource-file-description{color:var(--muted);overflow-wrap:anywhere;margin:1px 0 0;font-size:.72rem;line-height:1.6}.resource-download-button{min-height:37px;color:var(--primary);background:var(--primary-soft);cursor:pointer;font:inherit;white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:700;transition:background .15s,border-color .15s;display:inline-flex}.resource-download-button:hover{background:var(--paper);border-color:var(--primary)}.resource-download-button:disabled{cursor:wait;opacity:.65}.resource-download-button img{filter:none;width:17px;height:17px}.resource-subject-card summary:focus-visible,.resource-folder-card summary:focus-visible,.resource-download-button:focus-visible,.resource-file-preview:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 38%, transparent);outline-offset:3px}@media (width<=900px){.important-images-grid{grid-template-columns:minmax(0,1fr)}.resource-folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=620px){.resource-library-heading{flex-direction:column;align-items:flex-start}.resource-library-count{width:100%}.resource-library-count>span{flex:1 1 0}.resource-library-intro{margin-top:16px;padding:12px}.resource-subject-summary{grid-template-columns:24px 43px minmax(0,1fr) 12px;gap:9px;min-height:73px;padding:12px}.resource-subject-icon{width:42px;height:42px}.resource-subject-info strong{font-size:.82rem}.resource-subject-content{padding-inline:10px}.resource-folder-grid{grid-template-columns:minmax(0,1fr);gap:7px}.resource-folder-card[open]{grid-column:auto}.resource-folder-summary{min-height:59px}.resource-file-card{grid-template-columns:54px minmax(0,1fr);gap:9px;padding:9px}.resource-file-preview{width:54px;height:54px}.resource-file-preview-icon img{width:38px;height:38px}.resource-download-button{grid-column:1/-1;width:100%;min-height:36px}}@media (prefers-reduced-motion:reduce){.resource-subject-card,.resource-subject-chevron,.resource-folder-chevron,.resource-download-button{transition:none}}.news-file-icon{object-fit:contain;flex:none;width:22px;height:22px;display:block}.news-attachment-file{align-items:center;gap:8px;display:inline-flex}.editor-dialog{box-sizing:border-box;overscroll-behavior:contain;width:min(720px,100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:hidden auto}.editor-dialog *,.editor-dialog :before,.editor-dialog :after{box-sizing:border-box}.editor-dialog .editor-form{min-width:0;padding:clamp(14px,3vw,25px)}.editor-dialog .form-grid{min-width:0}.editor-dialog .field-label,.editor-dialog input,.editor-dialog select,.editor-dialog textarea{min-width:0;max-width:100%}@media (width<=760px){.editor-dialog{border-radius:16px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.editor-dialog .editor-form{padding:16px}.editor-dialog .dialog-heading{gap:10px;margin-bottom:16px}.editor-dialog .dialog-heading h2{overflow-wrap:anywhere;min-width:0;font-size:1.12rem}.editor-dialog .form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.editor-dialog .field-full{grid-column:1}.editor-dialog .dialog-actions{z-index:2;background:var(--paper,#fff);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;padding:12px 0 0;display:grid;position:sticky;bottom:-16px}.editor-dialog .dialog-actions .button{width:100%;min-width:0;padding-inline:10px}}@media (width<=380px){.editor-dialog .editor-form{padding:13px}.editor-dialog .dialog-actions{grid-template-columns:minmax(0,1fr);bottom:-13px}}.news-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:stretch;gap:18px}.news-card{background:radial-gradient(circle at 100% 0%, #7c3aed1a, transparent 42%), var(--surface,#fff);cursor:pointer;border-radius:20px;flex-direction:column;min-height:230px;padding:20px;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden}.news-card:hover,.news-card:focus-visible{border-color:var(--primary);outline:none;transform:translateY(-3px);box-shadow:0 14px 32px #17243d1a}.news-card-meta{justify-content:flex-start;gap:10px;margin-bottom:8px}.news-audience{border:1px solid var(--line);background:var(--surface-muted,#78788c14);border-radius:999px;align-items:center;padding:5px 10px;display:inline-flex}.news-card h2{overflow-wrap:anywhere;margin:7px 0 8px;font-size:1.12rem;line-height:1.65}.news-card .news-card-excerpt{-webkit-line-clamp:4;line-clamp:4;color:var(--muted,#737b8c);white-space:pre-line;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;line-height:1.9;display:-webkit-box;overflow:hidden}.news-card-attachment{margin-top:14px}.news-card-attachment .news-attachment{margin-top:0}.news-card-attachment .news-attachment-image img{object-fit:cover;max-height:170px}.news-read-more{color:var(--primary);justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:16px;font-size:.86rem;font-weight:700;display:flex}.news-read-more span{font-size:1.1rem;transition:transform .2s}.news-card:hover .news-read-more span{transform:translate(-4px)}.news-details-dialog{width:min(680px,100vw - 28px)}.news-details-dialog .editor-form{gap:16px}.news-details-meta{color:var(--muted,#858c9b);flex-wrap:wrap;gap:8px 14px;font-size:.82rem;display:flex}.news-details-meta>span{color:var(--primary);font-weight:700}.news-details-body{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:1rem;line-height:2}.news-details-attachment-field{gap:10px;display:grid}.news-details-image{max-width:100%;display:block}.news-details-image img{object-fit:contain;border:1px solid var(--line);background:var(--surface-muted,#f4f6fa);border-radius:14px;width:100%;max-height:min(55vh,460px);display:block}@media (width<=600px){.news-grid{grid-template-columns:minmax(0,1fr);gap:12px}.news-card{border-radius:16px;min-height:0;padding:16px}.news-details-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.news-details-dialog .editor-form{padding:16px}}.news-card{color:var(--ink);background:radial-gradient(circle at 100% 0%, #7c3aed1a, transparent 42%), var(--paper);border:1px solid var(--line)}.news-card h2{color:var(--ink)}.news-card .news-card-meta,.news-card .news-card-excerpt{color:var(--muted)}.news-card .news-audience{color:var(--ink);background:var(--primary-soft);border-color:var(--line)}.news-card-attachment .news-attachment-image img{background:var(--canvas)}html[data-theme=dark] .news-card{background:radial-gradient(circle at 100% 0%, #8338ec29, transparent 44%), var(--paper);border-color:var(--line);box-shadow:0 10px 28px #0000003d}html[data-theme=dark] .news-card:hover,html[data-theme=dark] .news-card:focus-visible{border-color:var(--primary);box-shadow:0 14px 34px #00000057}html[data-theme=dark] .news-card .news-audience{color:var(--ink);background:var(--primary-soft);border-color:var(--line)}.news-details-body{color:var(--ink)}.overview-widgets{flex:none;align-items:stretch;gap:12px;display:flex}.overview-widgets .clock-card{min-width:150px}.weather-card{min-width:195px;color:var(--ink);background:var(--paper);border:1px solid var(--line);text-align:right;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;display:flex;box-shadow:0 4px 13px #2730600a}.weather-card-copy{gap:1px;min-width:0;display:grid}.weather-label{color:var(--muted);font-size:.7rem;font-weight:600}.weather-card #weather-temperature{color:var(--ink);font-variant-numeric:lining-nums tabular-nums;font-size:1.55rem;font-weight:750;line-height:1.25}.weather-condition{color:var(--ink);font-size:.78rem;font-weight:650}.weather-feels-like,.weather-source{color:var(--muted);overflow-wrap:anywhere;font-size:.62rem;line-height:1.5}.weather-source{opacity:.8}.weather-card>img{object-fit:contain;flex:0 0 60px;width:60px;height:60px;display:block}@media (width<=760px){.welcome-row{flex-wrap:wrap}.overview-widgets{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;display:grid}.overview-widgets .clock-card,.overview-widgets .weather-card{min-width:0;min-height:94px;padding:9px 10px}.weather-card{gap:5px}.weather-card>img{flex-basis:47px;width:47px;height:47px}.weather-card #weather-temperature{font-size:1.28rem}.weather-label,.weather-condition{font-size:.68rem}.weather-feels-like,.weather-source{font-size:.56rem}}@media (width<=350px){.overview-widgets .clock-card,.overview-widgets .weather-card{padding-inline:7px}.weather-card>img{flex-basis:40px;width:40px;height:40px}}@media (width<=760px){html,body{max-width:100%;overflow-x:clip}.app-shell,.main-content,.view-panel,#view-admin{width:100%;min-width:0;max-width:100%}#view-admin .admin-heading,#view-admin .admin-stats,#view-admin .admin-table-section,#view-admin .admin-table-section .section-heading,#view-admin .publisher-form{min-width:0;max-width:100%}#view-admin .admin-table-section{overflow:hidden}#view-admin .table-wrap{overscroll-behavior-x:contain;width:100%;min-width:0;max-width:100%;overflow-x:auto}#view-admin .table-wrap table{width:max-content;min-width:560px;max-width:none}.editor-dialog,.editor-dialog[open]{box-sizing:border-box;overscroll-behavior:contain;width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:0;position:fixed;inset:50% auto auto 50%;overflow:hidden auto;transform:translate(-50%,-50%)}.editor-dialog .editor-form{width:100%;min-width:0;max-width:100%;padding:16px}.editor-dialog .dialog-heading,.editor-dialog .dialog-heading>div,.editor-dialog .form-grid,.editor-dialog .field-label{min-width:0;max-width:100%}.editor-dialog .form-grid{grid-template-columns:minmax(0,1fr);width:100%}.editor-dialog input,.editor-dialog select,.editor-dialog textarea{width:100%;min-width:0;max-width:100%}.editor-dialog input[type=file]{width:100%;padding:10px;font-size:.78rem;display:block}.editor-dialog .dialog-actions{width:100%}.editor-dialog .dialog-actions .button{white-space:normal;min-width:0}}@media (width<=380px){#view-admin .admin-actions{grid-template-columns:minmax(0,1fr)}#view-admin .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-dialog .editor-form{padding:12px}.editor-dialog .dialog-actions{grid-template-columns:minmax(0,1fr)}}.home-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-news-grid .news-card{min-width:0}@media (width<=760px){.home-news-grid{grid-template-columns:minmax(0,1fr)}}.pwa-install-banner{z-index:25;bottom:max(20px, env(safe-area-inset-bottom));background:var(--paper);border:1px solid var(--line);width:min(460px,100vw - 48px);box-shadow:var(--shadow);direction:rtl;border-radius:17px;align-items:center;gap:12px;padding:13px;display:flex;position:fixed;left:24px}.pwa-install-banner[hidden]{display:none}.pwa-install-icon{object-fit:cover;border-radius:12px;flex:0 0 46px;width:46px;height:46px}.pwa-install-copy{flex:1;gap:2px;min-width:0;display:grid}.pwa-install-copy strong{color:var(--ink);font-size:.85rem;font-weight:700}.pwa-install-copy span{color:var(--muted);font-size:.72rem;line-height:1.5}.pwa-install-controls{flex:none;align-items:center;gap:6px;display:flex}.pwa-install-action{min-height:37px;padding:7px 13px;font-size:.78rem}.pwa-install-dismiss{width:34px;height:34px;padding:0;font-size:1.1rem}.pwa-help-dialog{width:min(440px,100% - 28px)}.pwa-help-instructions{color:var(--muted);margin:0;font-size:.92rem;line-height:1.9}html[data-theme=dark] .pwa-install-banner{background:var(--paper);border-color:var(--line)}@media (width<=560px){.pwa-install-banner{right:12px;bottom:max(12px, env(safe-area-inset-bottom));gap:9px;width:auto;padding:11px;left:12px}.pwa-install-icon{flex-basis:40px;width:40px;height:40px}.pwa-install-copy strong{font-size:.77rem}.pwa-install-copy span{font-size:.66rem}.pwa-install-action{min-height:34px;padding:6px 10px;font-size:.72rem}.pwa-install-dismiss{width:30px;height:30px}}.push-prompt{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);direction:rtl;border-radius:14px;align-items:center;gap:12px;margin:0 0 18px;padding:13px 15px;display:flex}.push-prompt[hidden]{display:none}.push-prompt-copy{flex:1;gap:2px;min-width:0;display:grid}.push-prompt-copy strong{color:var(--ink);font-size:.9rem;font-weight:700}.push-prompt-copy span{color:var(--muted);font-size:.78rem;line-height:1.6}.push-prompt-controls{flex:none;align-items:center;gap:6px;display:flex}.push-prompt-action{min-height:37px;padding:7px 16px;font-size:.8rem}.push-prompt-dismiss{width:34px;height:34px;padding:0;font-size:1.1rem}html[data-theme=dark] .push-prompt{background:var(--paper);border-color:var(--line)}@media (width<=560px){.push-prompt{gap:9px;padding:11px}.push-prompt-copy strong{font-size:.82rem}.push-prompt-copy span{font-size:.7rem}.push-prompt-action{min-height:34px;padding:6px 12px;font-size:.74rem}.push-prompt-dismiss{width:30px;height:30px}}
