:root{--ink:#213e37;--muted:#74817b;--green:#286551;--line:#e1e7e1;--paper:#f6f7f3}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:15px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;color:var(--ink);padding:10px 17px}button:hover{background:#edf3ec}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #81b6a0;outline-offset:3px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#1b4e3e}.shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}aside{background:#fff;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:27px;font-weight:750;letter-spacing:-1px}.brand b{display:inline-block;background:#dcebdc;border-radius:12px;padding:0 9px;margin-right:9px;font-size:25px}.tagline{font-size:11px;color:var(--muted);margin:5px 0 38px 46px}.nav{display:grid;gap:7px}.nav button{text-align:left;border:0;background:none;color:#66766d;padding:12px}.nav button.selected{background:#eaf1e8;color:#295f49;font-weight:650}.nav span{margin-right:13px;font-size:18px}.aside-label{font-size:10px;letter-spacing:1.5px;color:#94a097;margin:28px 12px 10px}.school{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.school small{display:block;color:var(--muted)}main{min-width:0}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fbfcf9}.topbar small{color:var(--muted)}.profile{display:flex;gap:12px;align-items:center}.avatar{background:#e3ebdc;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:650}.content{max-width:1350px;margin:auto;padding:34px 42px}.demo{border:1px solid #dce5d7;background:#eef3e8;color:#657653;border-radius:7px;font-size:12px;padding:8px 13px;margin-bottom:30px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}h1{font-size:32px;letter-spacing:-1px;line-height:1.3;margin:0 0 8px}h2{font-size:18px;margin:0}h3{font-size:15px;margin:0}.muted{color:var(--muted)}p{margin:5px 0 16px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:#6d8576;margin-bottom:10px}.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:16px 0 30px}.class-card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;text-align:left;box-shadow:0 3px 7px #213e3703}.class-card strong{font-size:25px;display:block;margin-bottom:16px}.class-card p{color:var(--muted);font-size:13px;margin:0}.class-card footer{display:flex;justify-content:space-between;margin-top:22px;border-top:1px solid var(--line);padding-top:15px;font-size:12px}.split{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-body{padding:23px}.row{padding:19px 23px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf0ea}.row:last-child{border:0}.row .grow{flex:1}.row p{font-size:12px;color:var(--muted);margin:2px 0}.pill{display:inline-block;border-radius:5px;padding:3px 8px;background:#f0f3ed;font-size:11px;margin:2px 4px 2px 0}.red{background:#fae9e4;color:#a55240}.yellow{background:#fbf3dc;color:#9b7a28}.green{background:#e5f0e5;color:#4d8054}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:7px;background:currentColor}.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick button{text-align:left;padding:17px 12px;font-size:13px}.quick span{display:block;font-size:20px;margin-bottom:7px}.note-box{background:#eaf0e5;border-radius:10px;padding:23px;font-size:13px;margin-top:22px}.tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--line);margin:20px 0}.tabs button{border:0;border-radius:0;white-space:nowrap;background:none}.tabs .selected{border-bottom:2px solid var(--green);color:var(--green);font-weight:600}.toolbar{display:flex;gap:12px;margin-bottom:20px}input,select,textarea{border:1px solid #d6ded5;border-radius:7px;background:white;color:var(--ink);padding:10px 12px;max-width:100%}textarea{min-height:110px;resize:vertical}label{display:grid;gap:7px;font-size:13px;margin-bottom:17px}label:has(input[type=checkbox]){display:inline-flex;align-items:center;margin:5px 14px 12px 0}form .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}dialog{border:1px solid var(--line);border-radius:15px;padding:30px;width:560px;max-width:94vw;color:var(--ink)}dialog::backdrop{background:#203d3560;backdrop-filter:blur(3px)}dialog h2{font-size:24px;margin-bottom:23px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#234f3e;color:white;border-radius:9px;padding:12px 24px;display:none;z-index:5}.login{max-width:470px;margin:10vh auto;padding:36px;background:white;border:1px solid var(--line);border-radius:18px}.login select{width:100%}.login .brand{margin-bottom:24px}.login button{width:100%}.empty{padding:35px;text-align:center;color:var(--muted)}.link{border:0;background:none;padding:0;color:var(--green);text-align:left}.stats{display:flex;gap:20px;flex-wrap:wrap}.stats div{flex:1;padding:25px;background:white;border:1px solid var(--line);border-radius:10px}.stats strong{font-size:36px;display:block}.timeline{border-left:2px solid #e3eadd;margin-left:10px;padding:0 0 10px 24px}.timeline article{padding:8px 0 23px}.timeline small{color:var(--muted)}.timeline p{white-space:pre-wrap;margin-top:8px}.student-row{cursor:pointer}.student-row:hover{background:#f6f9f3}.error{color:#a55240;font-size:13px}.login small{display:block;margin-top:20px}@media(max-width:1000px){.shell{grid-template-columns:190px 1fr}aside{padding:25px 14px}.content{padding:26px}.topbar{padding:0 26px}.split{grid-template-columns:1fr}.class-grid{gap:10px}.class-card{padding:17px}}@media(max-width:680px){.shell{display:block}aside{position:static;height:auto;padding:15px}.tagline,.aside-label,.school{display:none}.nav{display:flex;overflow:auto;margin-top:10px}.nav button{white-space:nowrap;padding:8px}.nav span{margin-right:5px}.topbar{height:65px;padding:0 18px}.content{padding:20px 16px}.class-grid{grid-template-columns:1fr}.class-card strong{margin-bottom:5px}.class-card footer{margin-top:10px;padding-top:8px}.heading{align-items:start}h1{font-size:27px}.profile small{display:none}.heading button{font-size:12px}.row{padding:16px}.toolbar{flex-wrap:wrap}.demo{margin-bottom:22px}}
.school-notice{background:#eaf1ed;border:1px solid #cfdfd6;border-radius:8px;padding:12px 16px;margin-bottom:25px;font-size:13px;color:#365e4b}input[type=password],input[autocomplete=username]{width:100%}.login button:disabled{opacity:.6;cursor:wait}.nav{flex-shrink:0}aside{overflow-y:auto}.school{padding-top:15px}.error:empty{display:none}

.teacher-home{min-height:100vh;background:#f5f7f6}.teacher-header{display:flex;align-items:center;justify-content:space-between;padding:22px max(24px,calc((100vw - 960px)/2));border-bottom:1px solid #e1e7e4;background:white;gap:20px}.teacher-header .link{margin-left:16px}.teacher-wrap{max-width:960px;margin:auto;padding:30px 24px}.teacher-wrap h1{font-size:36px;margin:28px 0 8px}.teacher-intro{font-size:18px;margin-bottom:28px}.teacher-compose{background:white;border:1px solid #d9e3de;border-radius:18px;padding:26px;margin-bottom:28px;box-shadow:0 4px 20px #123c2c06}.teacher-compose h2{margin:0 0 20px}.teacher-compose select,.teacher-compose textarea{width:100%;font:inherit;padding:14px;border:1px solid #b8c8c0;border-radius:9px;background:#fff}.teacher-compose label{display:block;margin-bottom:18px;font-weight:600}.teacher-compose textarea{display:block;margin-top:8px;resize:vertical}.teacher-compose select{display:block;margin-top:8px}.teacher-save{display:flex;justify-content:space-between;align-items:center;gap:16px}.teacher-save button{min-height:48px}.teacher-pupil-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.teacher-pupil-head input{max-width:300px;padding:12px;border:1px solid #c6d4cd;border-radius:9px;font:inherit}.teacher-filters{display:flex;gap:8px;margin:12px 0 18px;flex-wrap:wrap}.teacher-filters button{min-height:44px;padding:10px 22px;border-radius:24px}.teacher-filters .selected{background:#184f3a;color:#fff}.teacher-pupil{display:flex;align-items:center;gap:12px;padding:20px;background:white;border-bottom:1px solid #e5ebe7}.teacher-pupil:first-child{border-radius:12px 12px 0 0}.teacher-pupil:last-child{border-radius:0 0 12px 12px}.teacher-pupil p{margin:6px 0 0;color:#66766d;font-size:14px}.teacher-pupil button{min-height:44px}.teacher-footer{text-align:center;color:#718077;padding:35px}.teacher-wrap .panel{margin-bottom:30px}@media(max-width:650px){.teacher-header{padding:16px}.teacher-header .brand{font-size:23px}.teacher-wrap{padding:20px 16px}.teacher-compose{padding:20px}.teacher-save{align-items:stretch;flex-direction:column}.teacher-pupil{flex-wrap:wrap}.teacher-pupil .grow{flex-basis:100%}.teacher-pupil-head{align-items:stretch;flex-direction:column}.teacher-pupil-head input{max-width:none}.teacher-wrap h1{font-size:30px}}

.teacher-focus{margin:0 0 20px;padding:16px 18px;border:1px solid #c6d4cd;border-radius:10px}.teacher-focus legend{padding:0 6px;font-weight:600}.teacher-focus>div{display:flex;gap:8px 22px;flex-wrap:wrap}.teacher-compose .teacher-focus label{display:flex;align-items:center;gap:8px;margin:0;min-height:44px;cursor:pointer;font-weight:400}.teacher-focus input[type=checkbox]{width:20px;height:20px;accent-color:#184f3a;margin:0}

.dictation-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-4px 0 10px}.dictation-toolbar button{min-height:46px;display:inline-flex;align-items:center;gap:8px;border:1px solid #aac1b5;background:#eef6f1;color:#184f3a;font-weight:600}.dictation-toolbar button[aria-pressed=true]{background:#a72f35;color:white;border-color:#a72f35}.dictation-toolbar span,.dictation-privacy{font-size:14px}.dictation-privacy{margin:0 0 22px}.teacher-compose textarea[readonly]{background:#f6faf8}

/* Elevblik's shared visual theme */
:root {
  --ink: #182d2a;
  --muted: #526761;
  --green: #17604e;
  --line: #dae5df;
  --paper: #f3f7f5;
  --surface: #fff;
  --tint: #e7f3ed;
  --shadow: 0 2px 5px #142d2410, 0 12px 28px #142d2408;
}
body { background: radial-gradient(ellipse at top right, #e1efe7, transparent 45rem), var(--paper); }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.045em; line-height: 1.12; }
h2 { letter-spacing: -.025em; }
button { border-radius: 10px; font-weight: 550; }
button:hover { background: var(--tint); }
.primary { box-shadow: 0 3px 8px #17604e26; }
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline: 3px solid #24876e; outline-offset: 3px; }

.shell > aside { background: #132e2a; color: #f3faf6; border-right: 0; }
.brand { display: flex; align-items: center; letter-spacing: -.045em; }
.brand b { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; background: #bbebd3; color: #133c31; }
.shell > aside :is(.tagline, .aside-label, .school small) { color: #a9c6ba; }
.shell > aside .school { border-color: #ffffff2b; }
.nav button { color: #d9e9e1; border-radius: 10px; }
.nav button:hover { background: #ffffff14; }
.nav button.selected { background: #d6f1e3; color: #153d31; }
.topbar { background: #ffffffdb; gap: 12px; }
.avatar { background: var(--tint); color: var(--green); flex-shrink: 0; }

.heading { padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(110deg, #fff, #e8f5ee); box-shadow: var(--shadow); }
.heading p { margin-bottom: 0; }
.heading > button { flex-shrink: 0; }
.class-card, .panel, .stats div, .teacher-compose { border-radius: 16px; border-color: var(--line); box-shadow: var(--shadow); }
.class-card { border-top: 3px solid #8ecab0; min-width: 0; }
.class-card strong { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.class-card strong span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--green); background: var(--tint); font-size: 15px; }
.class-card:hover { border-color: #8ecab0; background: #f7fcf9; }
.panel-head { background: #f9fbfa; gap: 10px; flex-wrap: wrap; }
.pill { border-radius: 99px; padding: 3px 9px; }
.yellow { color: #795716; }
.green { color: #356441; }
.demo, .school-notice, .note-box { background: var(--tint); color: #345d4e; border-color: #cee4d9; }
.login, dialog { box-shadow: 0 18px 56px #132e2a1c; border-radius: 20px; }
.login { width: min(470px, calc(100% - 32px)); padding: clamp(22px, 5vw, 38px); }
.teacher-home { background: transparent; }
.teacher-header { border-color: var(--line); }
.teacher-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.teacher-pupil { border-color: var(--line); }
.teacher-pupil p { color: var(--muted); }

@media (max-width: 680px) {
  .heading { flex-wrap: wrap; gap: 14px; }
  .heading > button { min-height: 44px; }
  .nav button { min-height: 44px; }
  .topbar { height: auto; min-height: 65px; padding-block: 10px; flex-wrap: wrap; }
  .teacher-header { flex-wrap: wrap; }
  .row { flex-wrap: wrap; }
  .row .grow, .teacher-pupil .grow { min-width: 0; overflow-wrap: anywhere; }
}

.brand img { flex: 0 0 36px; margin-right: 9px; }

/* Blue navigation and light work surfaces for the school demo. */
:root {
  --ink: #20334a;
  --muted: #53677d;
  --green: #1a5684;
  --line: #d8e2ec;
  --paper: #f2f6fa;
  --tint: #e8f2fb;
}
body { background: var(--paper); }
.shell > aside { background: #153f63; }
.shell > aside :is(.tagline, .aside-label, .school small) { color: #c1d7e8; }
.nav button { color: #f2f7fc; }
.nav button.selected { background: #e3f1fc; color: #17466d; }
.heading { background: #fff; }
.primary:hover { background: #134269; }
.class-card, .class-card:hover { border-top-color: #75adde; }
.class-card:hover, .student-row:hover { background: #f2f8fd; }
.demo, .school-notice, .note-box { color: #254f71; border-color: #d0e3f5; }
.teacher-filters .selected { background: var(--green); }
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline-color: #2474ad; }
