/* School Next Platform · FSchool Theme 1.0.2 · no external assets */
:root{color-scheme:light;--bg:#f4f7fb;--panel:#fff;--text:#17253e;--muted:#64748b;--line:#e1e8f2;--accent:#087f79;--accent-soft:#e5f6f3;--sidebar:#142a3e;--sidebar-text:#d4e3f2;--shadow:0 10px 34px #18344d0a;--radius:16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.65}a{color:#14648b;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #41b6ab;outline-offset:2px}.skip-link{position:absolute;left:12px;top:-80px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}.app-frame{min-height:100vh;display:flex;flex-direction:column}.has-sidebar .app-frame{margin-left:264px}.sidebar{position:fixed;inset:0 auto 0 0;width:264px;background:var(--sidebar);color:var(--sidebar-text);display:flex;flex-direction:column;z-index:30;padding:22px 14px}.side-brand{display:flex;align-items:center;gap:11px;padding:6px 8px 27px;color:white;font-weight:750;line-height:1.25}.side-brand small{display:block;color:#9db4c9;font-size:11px;font-weight:500;margin-top:5px}.brand-symbol{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#15b2a6,#246bb5);color:#fff;font-size:20px}.nav-caption{padding:9px 13px;color:#8fa8be;font-size:10px;font-weight:750;letter-spacing:1.3px}.side-nav{display:grid;gap:5px}.side-nav a{color:var(--sidebar-text);display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;font-weight:550}.side-nav a:hover,.side-nav a[aria-current=page]{background:#28465e;color:#fff;text-decoration:none}.side-nav a[aria-current=page]{box-shadow:inset 3px 0 #2bd0bc}.nav-mark{font-size:19px;width:23px;text-align:center}.side-bottom{margin-top:auto;border-top:1px solid #365065;padding:18px 13px;display:grid;gap:8px}.side-bottom a{color:#c7e6e7}.side-bottom small{color:#8ca9bd}.topbar{height:72px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 clamp(16px,3vw,40px);position:sticky;top:0;z-index:20}.topbar-start,.top-actions{display:flex;align-items:center;gap:17px;min-width:0}.top-brand{font-weight:800;color:#183b5b;white-space:nowrap}.top-divider{height:24px;width:1px;background:var(--line)}.top-context{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{font-size:13px;white-space:nowrap}.user-chip{padding:7px 11px;border-radius:25px;background:#eef4f9;color:#294861;max-width:180px;overflow:hidden;text-overflow:ellipsis}.link-button{border:1px solid var(--line);border-radius:9px;background:white;color:#234969;padding:7px 11px;font-weight:600}.menu-toggle{display:none;border:0;background:transparent;font-size:23px;color:#1d3b51}.content-wrap{width:min(1140px,calc(100% - 48px));margin:36px auto 20px;flex:1}.page-heading{margin-bottom:20px}.eyebrow{font-size:11px;color:var(--accent);font-weight:800;letter-spacing:1.3px}h1{font-size:clamp(25px,3vw,32px);line-height:1.25;letter-spacing:-.8px;margin:6px 0 0}h2{font-size:21px}.content-panel{padding:clamp(20px,3vw,32px);border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);box-shadow:var(--shadow);min-height:330px}.content-panel>p:first-child{margin-top:0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:18px 0}.cards a,.help-card{display:block;border:1px solid var(--line);padding:18px;border-radius:12px;background:#fff;color:#204562;transition:border-color .2s,transform .2s}.cards a:hover,.help-card:hover{border-color:#60bfb5;transform:translateY(-2px);text-decoration:none}.cards small,.help-card small{display:block;color:var(--muted);margin-top:5px}.content-panel form:not(.inline-form){max-width:850px}.content-panel label{display:block;font-weight:650;margin:12px 0 6px}.content-panel input,.content-panel select{width:100%;max-width:600px;padding:11px 13px;border:1px solid #cbd7e5;border-radius:9px;background:#fff;color:var(--text)}.content-panel button:not(.link-button){background:var(--accent);color:white;border:0;border-radius:9px;padding:11px 17px;font-weight:700;margin-top:12px}.content-panel button:hover{filter:brightness(.92)}.error{padding:14px;border-radius:10px;background:#fff0ed;color:#a52722}table{width:100%;border-collapse:collapse;margin:16px 0;display:block;overflow-x:auto}td,th{padding:12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}th{background:#f8fafc;color:#46617c}.app-footer{text-align:center;color:var(--muted);font-size:12px;padding:30px 15px}.app-footer span{padding:0 8px}.help-intro{color:var(--muted);margin:0 0 20px}.help-tools{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end;background:#f6f9fc;border:1px solid var(--line);padding:16px;border-radius:13px}.help-tools label{margin:0!important;font-size:13px}.help-tools input,.help-tools select{max-width:none}.help-tools button{margin:0!important;height:46px}.help-summary{color:var(--muted);font-size:13px;margin:19px 0}.help-group{margin:22px 0}.help-group h2{font-size:17px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px}.help-count{font-size:12px;color:#0c827b;background:var(--accent-soft);padding:2px 9px;border-radius:20px}.help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.help-card strong{display:block;line-height:1.35}.help-card .help-feature{display:inline-block;color:#0b7973;background:#e7f7f3;font-size:11px;padding:2px 7px;border-radius:7px;margin-top:9px}.help-article{max-width:850px}.help-article pre{white-space:pre-wrap;font:inherit;line-height:1.95}.help-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:16px}.help-empty{padding:22px;background:#f7f9fc;border-radius:10px;color:var(--muted)}.sidebar-backdrop{display:none}@media(max-width:1100px){.has-sidebar .app-frame{margin-left:0}.sidebar{transform:translateX(-100%);transition:transform .2s}.menu-open .sidebar{transform:translateX(0)}.menu-toggle{display:block}.menu-open .sidebar-backdrop{display:block;position:fixed;inset:0;background:#09192980;z-index:25}}@media(max-width:650px){.topbar{height:62px;padding:0 14px}.top-context,.top-divider,.desktop-only,.user-chip{display:none}.top-actions{gap:8px}.content-wrap{width:calc(100% - 24px);margin:20px auto}.content-panel{padding:17px;min-height:260px}.help-tools{grid-template-columns:1fr}.help-tools button{width:100%}.cards,.help-grid{grid-template-columns:1fr}}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#0e1825;--panel:#19283a;--text:#e5eef7;--muted:#a3b6c9;--line:#34475c;--accent:#42c9b9;--accent-soft:#1a3d40;--shadow:none}.top-brand,.link-button{color:#d5e9f6}.link-button,.cards a,.help-card,.content-panel input,.content-panel select{background:#203348;color:#e5eef7}.help-tools,.help-empty,th{background:#1b3045}.user-chip{background:#28465d;color:#dcecf7}a{color:#85cbe6}}

/* Next 1.0.3 configurable theme */
html[data-theme="light"]{color-scheme:light;--bg:#f4f7fb;--panel:#fff;--text:#17253e;--muted:#64748b;--line:#e1e8f2;--shadow:0 10px 34px #18344d0a}
html[data-theme="dark"]{color-scheme:dark;--bg:#0e1825;--panel:#19283a;--text:#e5eef7;--muted:#a3b6c9;--line:#34475c;--shadow:none}
html[data-theme="light"] .cards a,html[data-theme="light"] .help-card{background:#fff;color:#204562}
html[data-theme="dark"] .cards a,html[data-theme="dark"] .help-card,html[data-theme="dark"] .content-panel input,html[data-theme="dark"] .content-panel select,html[data-theme="dark"] textarea{background:#203348;color:#e5eef7}
html[data-theme="dark"] .top-brand{color:#d5e9f6}
html[data-theme="dark"] .help-tools,html[data-theme="dark"] th{background:#1b3045}
.content-panel textarea{width:100%;max-width:850px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font:inherit}
.studio-nav-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin:7px 0}.studio-nav-row label{margin:0!important;display:flex;align-items:center;gap:12px}.studio-nav-row input{width:auto}.studio-nav-row button{margin:0!important;padding:5px 11px!important}.studio-action{display:inline-block;background:var(--accent);color:#fff;padding:10px 14px;border-radius:9px}
