@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750&display=swap');
.project-chat-shell{display:grid;grid-template-columns:minmax(0,1fr)280px;gap:20px;align-items:start}.project-chat-main{min-width:0;overflow:hidden}.project-chat-main .panel-heading small{display:block;color:var(--muted);margin-top:4px}.project-chat-scope{padding:12px 22px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:15px}.project-chat-messages{min-height:310px!important;max-height:60vh!important}.project-chat-answer{width:100%;max-width:100%!important}.project-chat-source{padding:10px 0;border-bottom:1px solid var(--line)}.project-chat-source:last-of-type{border-bottom:0}.project-chat-source h3{font-size:12px;margin-bottom:6px}.project-chat-source small{display:block;color:var(--blue);font-size:10px;margin-top:8px}.project-chat-answer footer{margin-top:12px;padding-top:8px;font-size:9px;color:var(--muted);border-top:1px solid var(--line)}.project-chat-aside>ul{padding:0 20px 0 35px}.project-chat-aside li{margin:12px 0;font-size:12px}.project-chat-aside>p{padding:15px 20px;font-size:11px;color:var(--muted)}.project-chat-aside>.btn{width:calc(100% - 40px);margin:0 20px 20px}.project-chat-main>.assistant-error{margin:0 20px 16px}.project-chat-aside .assistant-setup .btn{white-space:normal;text-align:left;font-size:10px}
@media(max-width:1100px){.project-chat-shell{grid-template-columns:minmax(0,1fr)}.project-chat-aside{max-width:none}}@media(max-width:620px){.project-chat-scope{flex-direction:column;align-items:flex-start;padding:12px 15px;gap:8px}.project-chat-main .panel-heading{flex-wrap:wrap;gap:10px}.project-chat-messages{min-height:230px!important}.project-chat-answer footer{line-height:1.7}}

/* Local condition dialogue: the chat and the confirmed teacher memory stay distinct. */
.assistant-toolbar{padding:16px 20px;display:flex;align-items:center;gap:24px;margin-bottom:18px}.assistant-toolbar label{display:flex;flex-direction:column;gap:5px;flex:1;max-width:480px;font-weight:600}.assistant-toolbar select{width:100%}.assistant-status{display:grid;grid-template-columns:8px 1fr;gap:4px 8px;align-items:center}.assistant-status small{grid-column:2;color:var(--muted)}.assistant-dot-off{background:#a7b1c1!important;box-shadow:none!important}.assistant-layout{display:grid;grid-template-columns:minmax(0,1fr)300px;gap:20px;align-items:start}.assistant-chat{min-width:0;overflow:hidden}.assistant-steps{display:flex;gap:0;list-style:none;padding:12px 22px;margin:0;border-bottom:1px solid var(--line);counter-reset:assistant-step}.assistant-steps li{flex:1;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:7px}.assistant-steps li:before{counter-increment:assistant-step;content:counter(assistant-step);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--canvas);border:1px solid var(--line)}.assistant-steps .current{color:var(--blue);font-weight:600}.assistant-steps .current:before{background:var(--blue);color:#fff;border-color:var(--blue)}.assistant-steps .complete{color:var(--green)}.assistant-messages{max-height:52vh;min-height:220px;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth}.assistant-message{max-width:92%;border-radius:10px;background:var(--canvas);padding:12px 15px;align-self:flex-start;overflow-wrap:anywhere}.assistant-message.user{align-self:flex-end;background:var(--blue-tint);border-left:2px solid var(--blue)}.assistant-message>span{display:block;font-size:10px;font-weight:650;color:var(--muted);margin-bottom:5px}.assistant-message p{white-space:pre-line;line-height:1.7}.assistant-thinking{font-size:11px;color:var(--blue);padding:8px 0}.assistant-composer{border-top:1px solid var(--line);padding:18px 22px;background:#fff}.assistant-composer textarea{width:100%;resize:vertical;max-height:200px;min-height:80px}.assistant-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.assistant-composer>div>span{font-size:10px;color:var(--muted);max-width:340px}.assistant-examples{display:flex;flex-wrap:wrap;gap:6px;padding:0 22px 18px}.assistant-examples button{border:1px solid var(--line);padding:6px 9px;border-radius:6px;font-size:10px}.assistant-examples button:hover{border-color:var(--blue);color:var(--blue)}.assistant-review{margin:0 22px 20px;padding:18px;background:#f7faff;border:1px solid #cddafc;border-radius:8px}.assistant-review h3{font-size:14px;margin:10px 0;overflow-wrap:anywhere}.assistant-facts{padding-left:18px;margin:10px 0;font-size:12px}.assistant-facts li{margin:8px 0}.assistant-facts small{display:block;color:var(--muted)}.assistant-review .field-help{margin:12px 0}.assistant-manual{padding:12px;border-left:3px solid #c6953c;background:#fff8e9;margin:12px 0}.assistant-manual>p{margin-top:6px;overflow-wrap:anywhere}.assistant-manual label{display:flex;gap:8px;align-items:flex-start;margin-top:12px;font-size:11px}.assistant-error{padding:14px 18px;border:1px solid #efd5b5;background:#fff9ed;border-radius:8px;margin-bottom:16px;overflow-wrap:anywhere}.assistant-memory .panel{margin-bottom:18px}.assistant-memory-list{padding:0 16px}.assistant-memory-list article{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.assistant-memory-list article:last-child{border-bottom:0}.assistant-memory-list article>strong{display:block;font-size:12px}.assistant-memory-list article>small{display:block;color:var(--muted);font-size:10px;margin:6px 0}.assistant-memory-list details{margin:10px 0;font-size:11px}.assistant-memory-list details p{margin:8px 0}.assistant-memory-list .assistant-facts{font-size:11px}.assistant-history>div:not(.panel-heading){display:flex;gap:5px;padding:6px 14px}.assistant-history>p{padding:16px;font-size:11px;color:var(--muted)}.assistant-saved{padding:20px 22px;background:#eef8f4;border-top:1px solid #d7ece1}.assistant-saved>strong{color:var(--green)}.assistant-saved p{margin:8px 0 12px}.assistant-setup{padding:16px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.assistant-setup p{margin:12px 0}.assistant-setup summary,.assistant-memory summary{cursor:pointer;color:var(--blue)}.assistant-composer .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1100px){.assistant-layout{grid-template-columns:minmax(0,1fr)}.assistant-memory{display:grid;grid-template-columns:1fr 1fr;gap:18px}.assistant-messages{max-height:50vh}}
@media(max-width:620px){.assistant-toolbar{flex-direction:column;align-items:stretch;gap:14px;padding:14px}.assistant-memory{display:block}.assistant-chat .panel-heading{flex-wrap:wrap;gap:10px}.assistant-messages{padding:15px;min-height:220px}.assistant-message{max-width:96%;font-size:12px}.assistant-composer{padding:14px}.assistant-composer>div{align-items:flex-end}.assistant-composer>div>span{font-size:9px}.assistant-steps{padding:12px 14px}.assistant-review{margin:0 14px 14px;padding:14px}.assistant-examples{padding:0 14px 14px}.assistant-setup{padding:14px}}
@media(prefers-reduced-motion:reduce){.assistant-messages{scroll-behavior:auto}}

:root{--navy:#182b46;--navy-soft:#223854;--blue:#315fee;--blue-dark:#244bc4;--blue-tint:#eef3ff;--ink:#202d42;--muted:#788396;--line:#e6eaf0;--canvas:#f5f7fb;--white:#fff;--green:#238771;--amber:#ae7b28;--radius:12px;--shadow:0 8px 32px #172a4512;--body:'Golos Text','Segoe UI',Arial,sans-serif;--display:'Bahnschrift','Golos Text','Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:13px/1.5 var(--body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.6}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ca9ff;outline-offset:3px}input,select,textarea{min-width:0;color:var(--ink)}input:not([type=checkbox]):not([type=file]),select,textarea{background:#fff;border:1px solid #dce2eb;border-radius:7px;padding:10px 12px;line-height:1.4}input::placeholder,textarea::placeholder{color:#98a2b2}input:not([type=checkbox]):not([type=file]):hover,select:hover,textarea:hover{border-color:#bbc8db}input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue);flex-shrink:0}select{padding-right:30px!important}svg{flex-shrink:0;vertical-align:middle}.icon{width:18px;height:18px}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1.05px;line-height:1.25;font-weight:650}h2{font-size:16px;letter-spacing:-.3px;font-weight:600}h3{font-size:14px;margin:22px 0 12px}.subtle{color:var(--muted);font-size:12px}.mono,code{font-family:var(--body);font-variant-numeric:tabular-nums;letter-spacing:.1px}code{font-size:11px;white-space:nowrap;color:#6e7d91;border:1px solid var(--line);padding:3px 6px;border-radius:4px;background:#f9fafc}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{width:216px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#d3ddea;display:flex;flex-direction:column;z-index:30;padding:29px 16px 0}.brand{display:flex;gap:10px;align-items:center;color:#fff;font-family:var(--display);font-size:24px;font-weight:600;line-height:1.1;letter-spacing:-.8px;padding:0 7px}.brand-light{font-weight:350;color:#d0dced}.brand small{display:block;font:8px/1.5 var(--body);letter-spacing:1.4px;margin-top:7px;color:#95abc6}.brand-mark{display:grid;place-items:center;width:34px;height:36px;background:var(--blue);border-radius:9px;color:white}.brand-mark .icon{width:24px;height:24px}.school-card{margin:31px 2px 31px;padding:14px 9px;border:1px solid #ffffff15;border-radius:9px;display:flex;align-items:center;gap:9px;background:#ffffff04}.school-icon{color:#9bb2d2}.school-card strong{display:block;font-size:12px;font-weight:550;color:#eef3fc}.school-card span:not(.school-icon){display:block;font-size:9px;color:#8ea1bc;margin-top:3px}.nav-label{font-size:8px;font-weight:550;letter-spacing:1.25px;color:#7690af;padding:0 13px 11px}.nav-item{display:flex;align-items:center;gap:12px;color:#adbed5;width:100%;padding:12px 13px;border-radius:7px;margin-bottom:5px;font-weight:450;text-align:left;font-size:12px;transition:background .15s,color .15s}.nav-item .icon{width:17px;height:17px}.nav-item:hover{background:#ffffff08;color:#f1f6ff}.nav-item.active{background:#315fee;color:white;box-shadow:0 3px 12px #0e20454d}.nav-dot{margin-left:auto;width:5px;height:5px;border-radius:100%;background:#adc0ff}.sidebar-bottom{margin-top:auto;padding-top:65px}.demo-note{margin:0 13px 24px;font-size:10px;color:#a9bcd6}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#73c4ae;margin-right:6px;vertical-align:2px}.demo-note small{display:block;color:#718aa9;font-size:10px;line-height:1.75;margin:7px 0 0 12px}.help-link{display:flex;align-items:center;gap:9px;color:#95aac6;padding:12px;width:100%;font-size:11px;margin-bottom:15px}.help-link .icon:last-child{width:13px;margin-left:auto}.help-link:hover{color:#fff}.account-switch{border-top:1px solid #ffffff12;display:flex;align-items:center;gap:9px;margin:0 -16px;padding:17px 15px;width:calc(100% + 32px);text-align:left;color:#e5edf8}.account-switch strong{display:block;font-size:10px;font-weight:550}.account-switch small{display:block;font-size:9px;color:#8299b9;margin-top:2px}.account-switch>.icon{width:13px;margin-left:auto;color:#9dafc7}.avatar{width:32px;height:32px;background:#eaf0ff;color:#4968ba;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:10px;font-weight:600;flex-shrink:0}.account-switch .avatar{width:31px;height:31px;background:#3a506d;color:#e7efff}.workspace{margin-left:216px;min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:white;border-bottom:1px solid var(--line);gap:16px}.top-left{min-width:0}.breadcrumb{display:flex;align-items:center;gap:13px;color:#9aa3b1;font-size:11px;white-space:nowrap}.breadcrumb .icon{width:12px;height:12px;color:#b0b9c8}.breadcrumb strong{font-weight:450;color:#53627a}.top-actions{display:flex;align-items:center;gap:18px}.year-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#697992;font-variant-numeric:tabular-nums}.year-label .icon{width:15px;height:15px}.prototype-pill{padding:3px 7px;background:#fff7e9;color:#a97b30;border:1px solid #f0dfbd;border-radius:4px;font-size:9px;font-weight:500}.top-avatar{width:30px;height:30px;border-radius:50%;background:#edf1fb;color:#5268a2;font-size:10px;font-weight:600}.icon-btn{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;color:#8a96a7;border-radius:6px;flex-shrink:0}.icon-btn:hover{background:#edf2fa;color:var(--blue)}.icon-btn.chosen{color:var(--blue);background:var(--blue-tint)}.icon-btn .icon{width:16px;height:16px}.mobile-menu{display:none}main{padding:30px 30px 20px;flex:1;min-width:0}.eyebrow{font-size:8px;letter-spacing:1.4px;font-weight:550;color:#8d99ac;margin-bottom:8px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{color:#8590a2;margin-top:9px;font-size:11px;line-height:1.8}.heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0;padding-top:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:500;line-height:1.4;white-space:nowrap;min-height:36px;transition:background .15s,box-shadow .15s}.btn .icon{width:15px;height:15px}.btn.primary{background:var(--blue);color:white;box-shadow:0 3px 5px #315fee14}.btn.primary:hover{background:var(--blue-dark);box-shadow:0 4px 10px #315fee20}.btn.secondary{background:white;color:#526179;border-color:#dfe5ed;box-shadow:0 1px 2px #1b2b4705}.btn.secondary:hover{background:#f8faff;border-color:#b6c6e3}.btn.small{font-size:10px;min-height:30px;padding:6px 10px}.btn.full{width:100%}.btn.text{color:#718099;padding-left:0;padding-right:0}.btn.danger-btn{background:#bd4d55;color:#fff}.danger{color:#b65f68!important}.text-btn{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:500;color:#6680a6;padding:4px 0;white-space:nowrap}.text-btn .icon{width:14px;height:14px}.text-btn:hover{color:var(--blue)}.badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#f1f4f8;color:#7c899c;border-radius:4px;padding:3px 7px;font-size:9px;font-weight:450;white-space:nowrap;line-height:1.5;border:1px solid transparent}.badge.blue{background:#edf2ff;color:#5679d6;border-color:#e1e9ff}.badge.success{background:#edf7f2;color:#438d74;border-color:#dceee5}.badge.warning{background:#fff6e8;color:#ae823a;border-color:#f6e7cd}.schedule-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 18px;min-height:49px}.status-left{display:flex;align-items:center;gap:10px;min-width:0}.status-left strong{font-size:11px;font-weight:500}.status-separator{height:12px;width:1px;background:#dce3ed}.status-copy{font-size:10px;color:#98a2b0}.status-actions{display:flex;align-items:center;gap:17px}.status-actions>.subtle{font-size:10px}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.schedule-layout.with-panel{grid-template-columns:minmax(0,1fr) 228px}.schedule-card{background:white;border:1px solid #e1e7f0;border-radius:10px;box-shadow:0 3px 8px #253a5c03;overflow:hidden;min-width:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);min-height:65px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:13px;min-width:0}.segmented{display:flex;background:#f2f4f8;border-radius:6px;padding:3px;gap:2px;flex-shrink:0}.segmented button{padding:5px 10px;color:#8b97a9;font-size:10px;border-radius:4px;white-space:nowrap}.segmented button:hover{color:#385c9e}.segmented button.selected{background:white;color:#385789;box-shadow:0 1px 3px #23385215;font-weight:550}.entity-select{border:0!important;padding:5px 22px 5px 0!important;background-color:transparent!important;font-size:12px;font-weight:600;max-width:205px}.toolbar-right select{font-size:10px;padding:6px 9px;border-color:#e6ebf4}.shift-tag{font-size:9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#7890b6}.shift-tag .icon{width:14px;height:14px;color:#a5b6d2}.shift-tag.afternoon{color:#a88e5e}.shift-tag.afternoon .icon{color:#c7ac7f}.timetable-scroll{overflow:auto}.timetable{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:680px}.timetable th,.timetable td{border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.timetable thead th{height:68px;text-align:left;vertical-align:middle;padding:13px 10px;background:#fff;font-weight:450}.timetable thead th:last-child,.timetable td:last-child{border-right:0}.timetable .time-heading{width:57px;text-align:center;padding:0;font-size:7px;letter-spacing:1px;color:#a1abbc}.timetable thead strong{font-size:10px;display:block;font-weight:550;color:#4e5c73}.timetable thead small{display:block;font-size:8px;color:#a3adbc;margin-top:3px}.day-abbr{display:none}.time-cell{padding:0 3px;background:#fcfdff;text-align:center;width:57px;vertical-align:middle;font-variant-numeric:tabular-nums}.time-cell strong{font-family:var(--display);font-size:17px;color:#a7b2c3;display:block;font-weight:450;margin-bottom:5px}.time-cell span{display:block;font-size:8px;color:#8c9bb0;line-height:1.8}.time-cell small{display:block;font-size:8px;color:#bcc5d2}.timetable td{padding:6px;vertical-align:top;height:101px;background:#fff}.lesson{position:relative;display:block;width:100%;min-height:84px;background:var(--subject-bg);color:var(--subject-ink);border:1px solid var(--subject-line);border-left:3px solid var(--subject-accent);border-radius:6px;text-align:left;padding:8px 8px 7px;transition:box-shadow .15s,transform .15s}.lesson:hover{box-shadow:0 3px 12px #22395e18;transform:translateY(-1px)}.lesson+.lesson{margin-top:5px}.blue{--subject-bg:#f0f5ff;--subject-ink:#4c6ca6;--subject-accent:#94afe5;--subject-line:#dfe8fa}.violet{--subject-bg:#f5f1fc;--subject-ink:#8970af;--subject-accent:#bca2d9;--subject-line:#eae1f5}.teal{--subject-bg:#eff8f8;--subject-ink:#528d94;--subject-accent:#92c5c9;--subject-line:#dceeee}.amber{--subject-bg:#fcf7ee;--subject-ink:#ab8755;--subject-accent:#dcc295;--subject-line:#f1e7d8}.rose{--subject-bg:#fcf1f3;--subject-ink:#b07887;--subject-accent:#dbb0ba;--subject-line:#f1e0e6}.green{--subject-bg:#f0f7f0;--subject-ink:#7c9870;--subject-accent:#afc7a5;--subject-line:#e1ecdd}.indigo{--subject-bg:#f0f1fc;--subject-ink:#7b7cb2;--subject-accent:#a9acdc;--subject-line:#e0e3f4}.lesson-title{display:flex;justify-content:space-between;gap:4px;align-items:start;font-size:10px;font-weight:550;color:var(--subject-ink);line-height:1.4}.lesson-lock{color:var(--subject-accent);padding-top:1px}.lesson-lock .icon{width:10px;height:10px}.lesson:not(:hover) .lesson-lock:has(svg):not(:empty){opacity:.8}.lesson-teacher{display:block;font-size:8px;color:#8993a2;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-bottom{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:8px;font-size:7px;line-height:1}.lesson-room{display:flex;align-items:center;gap:3px;color:var(--subject-ink);font-size:8px}.lesson-room .icon{width:10px;height:10px}.lesson-code{color:#a8b0be;font-size:6px;white-space:nowrap}.lesson-error{outline:1px solid #d47078;border-color:#d47078;background:#fff3f3}.empty-slot{height:84px;display:grid;place-items:center;color:#d7dfea}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;color:#a1acbc;font-size:8px;border-top:0}.table-footer>span:first-child{color:#8b99af}.mini-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#8098d5;margin-right:6px}.shift-divider td{height:auto;padding:8px 16px;background:#f8faff;color:#7b8ca7;font-size:10px}.shift-divider .icon{width:14px;height:14px;margin-right:6px}.inspector{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.inspector-title{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 15px;border-bottom:1px solid var(--line)}.inspector-title>span{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:550}.inspector-title>span>.icon{width:14px;height:14px;color:#7d8b9f}.inspector-title>.icon-btn{width:22px;height:22px}.inspector-title .icon-btn .icon{width:12px}.health-block{padding:23px 16px 19px;text-align:center}.health-icon{display:grid;place-items:center;width:41px;height:41px;background:#eff8f4;border:1px solid #e4f0ea;color:#6aa58c;border-radius:50%;margin:0 auto 11px}.health-icon .icon{width:21px;height:21px}.health-block>strong{font-size:12px;font-weight:550}.health-block p{font-size:9px;color:#93a0b2;line-height:1.75;max-width:165px;margin:6px auto 16px}.health-block .btn{font-size:9px;min-height:32px;padding:8px 6px;color:#667d9c}.health-block.has-errors .health-icon{background:#fff4e9;color:#bf8152}.inspector-section{border-top:1px solid var(--line);padding:17px 16px}.section-caption{font-size:8px;font-weight:550;color:#9ca8b9;letter-spacing:1px;display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-caption .badge{min-width:19px;padding:1px 5px;font-size:8px}.wish-item{display:flex;align-items:flex-start;text-align:left;width:100%;gap:8px;padding:0;margin-bottom:14px}.wish-icon{width:24px;height:24px;background:#fcf5e8;color:#bb9b60;display:grid;place-items:center;border-radius:6px;flex-shrink:0}.wish-icon .icon{width:13px;height:13px}.wish-item strong{display:block;font-size:9px;font-weight:500}.wish-item small{display:block;color:#96a1b1;font-size:8px;margin-top:4px}.wish-item em{display:block;font-size:7px;font-style:normal;color:#c09b5a;margin-top:6px}.wish-item>.icon{width:11px;height:11px;color:#b8c2d0;margin-top:5px;margin-left:auto}.inspector-section>.text-btn{font-size:9px;color:#8392a7}.resource-row{display:flex;align-items:center;gap:8px;font-size:9px;color:#8c9aaf;margin:13px 0}.resource-row .icon{width:14px;height:14px;color:#a5b2c5}.resource-row strong{margin-left:auto;font-size:10px;font-weight:500;color:#5f718d}.tiny-note{font-size:8px;color:#a6b1c1;line-height:1.8;padding-top:4px}.keyboard-hint{padding:16px;border-top:1px solid var(--line);background:#fbfcff;font-size:8px;color:#a5b1c2;display:flex;gap:8px;line-height:1.8}.keyboard-hint .icon{width:12px;height:12px;margin-top:2px;color:#abb9cf}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 31px;color:#a2adbe;font-size:8px}.app-footer>span:last-child{display:flex;align-items:center;gap:6px}.app-footer .icon{width:10px;height:10px;margin-left:6px}.footer-dot{margin:0 6px;color:#c3cbd6}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid var(--line)}.panel-heading p{margin-top:6px;font-size:10px}.panel-heading>.icon{color:#93a6c4}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 23px;display:grid;grid-template-columns:1fr auto;gap:2px}.summary-card>.icon{grid-column:2;grid-row:1/3;color:#93a7c7;width:22px;height:22px;align-self:center}.summary-card strong{font:30px/1.2 var(--display);font-weight:450;color:#294367}.summary-card>span{font-size:10px;color:#94a1b3;margin-top:8px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:20px;margin-bottom:22px}.checklist{padding:3px 21px}.checklist-item{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:20px 0;border-bottom:1px solid #f0f2f6}.checklist-item:last-child{border-bottom:0}.check-marker{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eff8f4;color:#6ea58d}.check-marker .icon{width:14px;height:14px}.checklist-item strong{display:block;font-size:12px;font-weight:500}.checklist-item small{display:block;font-size:10px;color:#99a4b5;margin-top:4px}.checklist-item>.icon{margin-left:auto;width:14px;color:#a5b3c7}.publication-card{padding:23px;text-align:center;background:linear-gradient(145deg,#fff 30%,#f5f8ff)}.publication-card .section-caption{justify-content:center;margin-bottom:23px}.publication-icon{display:grid;place-items:center;width:49px;height:49px;margin:0 auto 17px;background:#edf2ff;color:#6887ce;border-radius:12px}.publication-icon .icon{width:25px;height:25px}.publication-card h2{font-size:16px}.publication-card p{font-size:10px;color:#97a4b7;margin:8px 0 12px}.publication-date{font-size:9px;color:#a7b2c1;margin:15px 0 18px}.activity-row{display:flex;align-items:center;gap:13px;padding:17px 22px;border-bottom:1px solid #f1f3f7}.activity-row:last-child{border-bottom:0}.activity-marker{display:grid;place-items:center;width:29px;height:29px;background:#f4f7fb;color:#97a8c1;border-radius:7px}.activity-row strong{display:block;font-size:11px;font-weight:450}.activity-row small{display:block;color:#9ba7b9;font-size:9px;margin-top:3px}.activity-row time{font-size:9px;color:#aab5c5;margin-left:auto}.tabs{display:flex;gap:25px;border-bottom:1px solid #dfe5ed;margin-bottom:20px;overflow-x:auto}.tab{position:relative;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:0 2px 14px;font-size:11px;color:#8997ac}.tab.active{color:var(--blue);font-weight:500}.tab.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--blue);border-radius:2px}.tab span{font-size:9px;background:#eaf0f9;color:#8da0c0;min-width:19px;text-align:center;border-radius:4px;padding:1px 4px}.tab.active span{background:#e9efff;color:#6687de}.data-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 21px;border-bottom:1px solid var(--line)}.search-field{display:flex;align-items:center;gap:9px;color:#98a6bd}.search-field .icon{width:16px;height:16px}.search-field input{border:0!important;padding:4px 0!important;background:transparent!important;width:290px;max-width:100%;font-size:11px}.search-field input:focus-visible{outline-offset:5px}.data-toolbar>.subtle{font-size:9px}.data-table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}.data-table th{background:#fbfcfe;color:#96a3b6;font-size:9px;font-weight:450;padding:13px 21px;border-bottom:1px solid var(--line)}.data-table td{padding:17px 21px;border-bottom:1px solid #edf0f5;color:#73829a}.data-table td strong{color:#405370;font-weight:500}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafcff}.data-table td>.icon-btn{width:26px;height:26px}.person-cell{display:flex;align-items:center;gap:11px}.person-cell .avatar{background:var(--subject-bg,#edf2fc);color:var(--subject-ink,#6e87b4);width:33px;height:33px;font-size:10px}.person-cell strong{font-weight:450!important;font-size:11px}.person-cell small,.data-table td>small{display:block;font-size:9px;color:#a4aec0;margin-top:3px}.chips{display:flex;flex-wrap:wrap;gap:5px;max-width:220px}.subject-chip{display:inline-flex;align-items:center;padding:4px 8px;background:var(--subject-bg,#eef3ff);color:var(--subject-ink,#6683bf);border:1px solid var(--subject-line,#e0e8f7);font-size:9px;line-height:1.5;border-radius:4px;white-space:nowrap}.data-footer{padding:14px 21px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#a2afc2}.inline-note{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.8;color:#8c9bb2;padding:15px 0;margin:7px 0 0}.inline-note .icon{width:15px;height:15px;margin-top:2px;color:#9cafd0}.room-avatar{display:grid;place-items:center;width:32px;height:32px;background:#f3f6fb;border-radius:7px;color:#8fa4c4}.room-avatar .icon{width:17px;height:17px}.class-name{font-size:16px;font-weight:500!important}.rule-intro{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.rule-intro>div{padding:20px 23px;display:flex;gap:13px;border:1px solid var(--line);border-radius:10px;background:white}.rule-intro>div>.icon{width:20px;height:20px;color:#839cd1;margin-top:3px}.rule-intro>div:last-child>.icon{color:#c3a56e}.rule-intro strong{display:block;font-size:12px;font-weight:500}.rule-intro small{display:block;color:#9ba7b9;font-size:10px;margin-top:4px}.rule-row{display:flex;align-items:center;gap:16px;padding:23px;border-bottom:1px solid #eef1f6}.rule-row:last-child{border-bottom:0}.rule-symbol{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.rule-symbol.soft{background:#fff6e9;color:#c1a26d}.rule-symbol.hard{background:#eff3fd;color:#839dcf}.rule-description{flex:1}.rule-description strong{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500}.rule-description small{display:block;font-size:10px;color:#97a5b8;margin-top:6px}.rule-description code{font-size:8px;padding:2px 4px;margin:0 4px}.switch{display:inline-flex;position:relative;width:31px;height:19px;flex-shrink:0}.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;z-index:1;cursor:pointer}.switch span{position:absolute;inset:0;background:#d7dfeb;border-radius:20px;transition:background .15s}.switch span:before{content:'';position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:100%;background:white;box-shadow:0 1px 2px #1a2c431a;transition:transform .15s}.switch input:checked+span{background:#7392e4}.switch input:checked+span:before{transform:translateX(12px)}.switch input:focus-visible+span{outline:3px solid #8ca9ff;outline-offset:3px}.auto-rules{margin-top:23px}.auto-rule-grid{display:grid;grid-template-columns:1fr 1fr;padding:6px 23px}.auto-rule-grid>div{display:flex;align-items:flex-start;gap:10px;padding:19px 12px 19px 0}.auto-rule-grid>div>.icon:first-child{color:#a2b1c8;width:17px;height:17px;margin-top:2px}.auto-rule-grid>div>.icon:last-child{color:#91b6a7;width:14px;height:14px;margin-left:auto;margin-right:20px}.auto-rule-grid strong{font-size:11px;font-weight:500;display:block}.auto-rule-grid small{display:block;font-size:9px;color:#9faabc;margin-top:5px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:22px}.form-body{padding:23px}.form-body>label,.stack-form>label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:450;margin-bottom:20px}.form-body input,.form-body select,.stack-form input:not([type=checkbox]),.stack-form select,.stack-form textarea{width:100%;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row>label{display:flex;flex-direction:column;gap:8px;font-size:11px;margin-bottom:20px}.field-help{font-size:10px;font-weight:400;color:#97a6bb;line-height:1.8;margin-top:0;margin-bottom:16px}.form-body>.field-help{margin-top:-8px}.settings-note{padding:27px;text-align:center}.settings-note p{font-size:10px;line-height:1.9;color:#95a3b8;margin:12px 0 18px}.settings-note>strong{font-size:12px;font-weight:500}.settings-note .btn.text{font-size:10px;margin-top:8px}.divider{height:1px;background:var(--line);margin:23px 0}.bells-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:20px}.bells-grid h2{display:flex;align-items:center;gap:10px}.bells-grid h2 .icon{color:#98a9c7}.bell-table td{padding:12px 21px}.bell-table input{font-size:12px;width:110px;padding:7px 9px!important}.profile-card{max-width:650px;padding:35px;text-align:center}.avatar.large{width:65px;height:65px;font-size:20px;margin-bottom:16px}.profile-card h2{font-size:22px;margin-bottom:12px}.profile-card>p{font-size:12px;color:#94a3b7;margin:17px 0}.profile-id{line-height:2.4}.profile-card .inline-note{text-align:left;background:#f6f8fc;border-radius:8px;padding:14px;margin:23px 0}.profile-card>.btn{margin-right:15px}.platform-school{display:flex;align-items:center;gap:20px;padding:25px}.platform-school .publication-icon{margin:0}.platform-school p{font-size:11px;color:#93a4be;margin-top:7px}.platform-school>.badge{margin-left:auto}.platform-school+.inline-note{margin:0 25px 13px}.nav-backdrop{display:none}.view-label{display:flex;gap:8px;font-size:12px;font-weight:500;color:#6a7fa3}.view-label .icon{width:16px;height:16px}.has-modal{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#0e213d52;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .15s ease}.modal{width:480px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border:1px solid #ffffff80;border-radius:14px;box-shadow:0 25px 80px #10274433;animation:modal-in .18s ease}.modal.wide{width:650px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-heading .eyebrow{font-size:7px;margin-bottom:5px}.modal-heading h2{font-size:20px;font-weight:550;letter-spacing:-.55px}.modal-heading .icon-btn{background:#f5f7fb;border-radius:50%}.modal-body{padding:24px 26px}.modal-intro{font-size:12px;color:#8a99af;line-height:1.9;margin-bottom:20px}.drawer-backdrop{justify-content:flex-end;padding:0}.modal.drawer{width:480px;height:100dvh;max-height:100dvh;border-radius:14px 0 0 14px;animation:slide-in .2s ease}.drawer .modal-body{padding-bottom:40px}.stack-form fieldset{border:1px solid var(--line);border-radius:8px;padding:14px;margin:0 0 20px}.stack-form legend{font-size:11px;padding:0 5px}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px}.checkbox-label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-size:11px!important;margin:0!important;font-weight:400!important}.stack-form>.checkbox-label{margin-bottom:14px!important}.checkbox-label .icon{color:#91a2bf;width:14px;height:14px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.form-actions .btn{font-size:11px}.form-errors{display:flex;align-items:flex-start;gap:10px;color:#b25460;background:#fff3f4;border:1px solid #f1d9de;border-radius:7px;padding:13px;margin-top:16px;font-size:11px}.form-errors p+p{margin-top:7px}.form-errors>.icon{width:16px;height:16px;margin-top:2px}.identity-strip{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;background:#f5f8ff;border:1px solid #e7edf9;border-radius:7px;font-size:11px;color:#8397b6;margin-bottom:23px}.identity-strip code{background:white;font-size:12px;color:#6d86b9}.teacher-reference{display:flex;align-items:center;gap:12px;padding:16px;background:#f7f9fc;border-radius:8px;margin:18px 0 22px;color:#7d90ad;font-size:12px}.teacher-reference small{display:block;font-size:9px;margin-top:4px;color:#a1aec3}.lesson-detail-head{display:flex;align-items:center;justify-content:space-between}.lesson-detail-head strong{font-size:13px;font-weight:500;color:#778aa7}.lesson-detail dl{display:grid;grid-template-columns:105px 1fr;gap:17px 15px;margin:25px 0;font-size:12px}.lesson-detail dt{color:#9cabc0}.lesson-detail dd{margin:0}.role-list{display:flex;flex-direction:column;gap:8px}.role-option{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:8px;padding:14px;text-align:left;width:100%}.role-option.current{border-color:#bacaf3;background:#f5f8ff}.role-option:hover{background:#f6f8fc}.role-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#edf2fd;color:#7892c9}.role-option strong{display:block;font-size:12px;font-weight:500}.role-option small{display:block;font-size:10px;color:#9cabc0;margin-top:3px}.role-option>.icon{margin-left:auto;width:16px;color:#9fb1cf}.validation-summary{display:flex;gap:13px;padding:17px;border-radius:8px;margin-bottom:20px}.validation-summary>.icon{width:22px;height:22px;margin-top:3px}.validation-summary strong{font-size:12px;font-weight:500}.validation-summary p{font-size:10px;margin-top:5px;opacity:.8}.success-bg{background:#eef8f3;color:#518c72}.warning-bg{background:#fff6ed;color:#b2895f}.issue-row{display:flex;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px;color:#b96c74}.issue-row>.icon{width:15px;height:15px;margin-top:2px}.issue-row>.text-btn{margin-left:auto;padding-top:0}.issue-row.soft{color:#bc9a62}.issue-row>span{flex:1}.generation-visual{display:flex;align-items:center;justify-content:center;gap:10px;padding:23px 0;color:#6f89c6;font-size:13px}.generation-visual>.icon{width:29px;height:29px}.generation-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:9px;padding:17px;margin:4px 0 21px;text-align:center}.generation-stats>div+div{border-left:1px solid var(--line)}.generation-stats strong{display:block;font:25px var(--display);color:#50698d}.generation-stats span{font-size:10px;color:#9aabc3}.version-current{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid var(--line);gap:15px}.version-current strong{display:block;margin:10px 0 5px;font-size:13px;font-weight:500}.version-current small{font-size:10px;color:#9aa9bf}.version-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:18px 0}.version-icon{color:#a0b3d0}.version-row strong{font-size:12px;font-weight:500}.version-row small{display:block;font-size:9px;color:#a7b4c7;margin-top:5px}.version-row .btn{margin-left:auto}.empty-state{padding:45px 20px;text-align:center;color:#a1b0c5;white-space:normal}.empty-state>.icon{display:block;width:30px;height:30px;margin:0 auto 14px;color:#b8c8df}.empty-state strong{display:block;font-size:13px;font-weight:500;color:#8699b5}.empty-state p{font-size:11px;margin-top:9px}.export-options>button{display:flex;align-items:center;width:100%;padding:20px 17px;border:1px solid var(--line);border-radius:9px;margin-bottom:12px;text-align:left;gap:14px}.export-options>button:hover{background:#f7f9ff}.export-options>button>.icon{color:#88a2d3}.export-options strong{display:block;font-size:12px;font-weight:500}.export-options small{display:block;color:#9caec6;font-size:10px;margin-top:5px}.export-options>button>.icon:last-child{margin-left:auto;width:14px}.command-search{padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:10px}.command-search input{width:100%}.command-results>button{display:flex;align-items:center;gap:12px;padding:13px 4px;width:100%;text-align:left;font-size:12px;color:#7d91b0;border-radius:6px}.command-results>button:hover{background:#f3f7ff}.command-results>button>.icon:last-child{margin-left:auto;width:14px}.command-results+.field-help{margin:15px 0 0}.help-steps{padding-left:20px;color:#7491c0}.help-steps li{padding-left:8px;margin-bottom:20px}.help-steps strong{font-size:12px;font-weight:500;color:#59708f}.help-steps p{color:#95a6bf;font-size:11px;line-height:1.8;margin-top:7px}#toast-root{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:200;max-width:calc(100% - 32px)}.toast{display:flex;align-items:center;gap:10px;padding:14px 20px;background:#203751;color:#f0f5fc;border:1px solid #ffffff22;box-shadow:0 10px 30px #12233c30;border-radius:9px;font-size:11px;animation:modal-in .15s ease;min-width:250px;max-width:600px}.toast>.icon{color:#9bccb7}.toast.error>.icon{color:#f4b397}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff}.login-story{background:var(--navy);padding:45px 12%;color:#dce7f7;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{padding:0}.login-story .eyebrow{color:#7e9ecb;font-size:9px}.login-story h1{font-size:45px;line-height:1.25;font-weight:500;letter-spacing:-1.6px;margin:16px 0 21px;color:white}.login-story p{font-size:13px;line-height:1.9;color:#91a9c9}.login-sample{margin:35px 0 30px;max-width:310px;background:#263d5b;border:1px solid #ffffff0b;padding:10px 17px;border-radius:11px;transform:rotate(-3deg);box-shadow:0 20px 35px #0b1a3040}.login-sample>div{display:flex;align-items:center;gap:17px;padding:15px 0;border-bottom:1px solid #ffffff0d}.login-sample>div:last-child{border:0}.login-sample>div>span{font-size:10px;color:#93accc}.login-sample .subject-chip{font-size:10px;font-weight:450;padding:6px 10px}.login-sample .icon{margin-left:auto;color:#92bba9;width:15px}.login-story>small{font-size:9px;color:#637f9f}.login-form-wrap{width:100%;max-width:475px;margin:auto;padding:40px}.login-form-wrap>.prototype-pill{font-size:9px}.login-form-wrap h2{font-size:28px;letter-spacing:-.8px;margin:20px 0 12px}.login-form-wrap>p{font-size:12px;color:#95a5bc;margin-bottom:30px}.login-form-wrap>.inline-note{margin-top:25px}.login-form-wrap .btn{min-height:42px;justify-content:space-between;padding-left:17px;padding-right:17px}
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in{from{opacity:.3;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1600px){main{padding:35px 42px 25px}.topbar{padding:0 42px}.schedule-layout.with-panel{grid-template-columns:minmax(0,1fr) 260px;gap:23px}.timetable td{height:109px;padding:8px}.lesson{min-height:90px;padding:11px}.lesson-title{font-size:12px}.lesson-teacher{font-size:10px;margin-top:5px}.lesson-bottom{margin-top:9px}.lesson-room{font-size:9px}.lesson-code{font-size:8px}.timetable thead strong{font-size:11px}.timetable thead small{font-size:9px}.time-cell span,.time-cell small{font-size:9px}.inspector-title>span{font-size:11px}.health-block p,.wish-item strong,.resource-row{font-size:10px}.wish-item small{font-size:9px}.wish-item em{font-size:8px}.keyboard-hint,.tiny-note{font-size:9px}}
@media(max-width:1280px){.sidebar{width:198px;padding-left:12px;padding-right:12px}.workspace{margin-left:198px}.account-switch{margin:0 -12px;width:calc(100% + 24px);padding-left:12px;padding-right:12px}.brand{font-size:22px;gap:8px}.brand small{font-size:7px}.school-card{padding-left:6px;padding-right:6px}.nav-item{font-size:11px;gap:10px}main{padding:26px 23px 18px}.topbar{padding:0 23px}.schedule-layout.with-panel{grid-template-columns:minmax(0,1fr) 202px;gap:13px}.table-toolbar{padding:13px 12px}.toolbar-left,.toolbar-right{gap:8px}.segmented button{padding:5px 7px;font-size:9px}.entity-select{font-size:11px;max-width:165px}.shift-tag{font-size:8px}.table-toolbar .shift-tag .icon{display:none}.inspector-title{padding-left:12px;padding-right:8px}.inspector-title>span{font-size:9px;gap:5px}.inspector-section,.health-block{padding-left:13px;padding-right:13px}.schedule-status .status-copy{font-size:9px}.table-footer>span:nth-child(2){font-size:7px}.heading-actions .btn{font-size:10px;padding-left:11px;padding-right:11px}.page-heading p{font-size:10px}.data-table th,.data-table td{padding-left:15px;padding-right:15px}.data-table{font-size:10px}.person-cell strong{font-size:10px}.summary-card{padding:18px}.app-footer{padding-left:23px;padding-right:23px}}
@media(max-width:1120px){.schedule-layout.with-panel{grid-template-columns:minmax(0,1fr)}.inspector{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto 1fr}.inspector-title{grid-column:1/-1}.health-block{padding:17px}.inspector-section{border-top:0;border-left:1px solid var(--line)}.keyboard-hint{display:none}.health-block p{max-width:190px}.health-icon{width:30px;height:30px;margin-bottom:6px}.health-block .btn{max-width:190px}.inspector-section .tiny-note{max-width:170px}.resource-row{margin:9px 0}.summary-grid{gap:10px}.summary-card{padding:17px 15px}.summary-card>span{font-size:9px}.summary-card strong{font-size:27px}.overview-grid{grid-template-columns:1.4fr 1fr}.heading-actions .btn{font-size:10px}.page-heading{gap:10px}h1{font-size:26px}.status-copy{display:none}.status-separator{display:none}.data-toolbar>.subtle{display:none}.tabs{gap:20px}.auto-rule-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.settings-note{max-width:none;text-align:left}.settings-note .publication-icon{margin-left:0}.settings-note .btn.full{width:auto;display:inline-flex}.settings-note>.btn.text{margin-left:20px}.bell-table input{width:95px}.bell-table th,.bell-table td{padding-left:12px;padding-right:12px}.platform-school{flex-wrap:wrap}.platform-school .badge{margin-left:0}}
@media(max-width:800px){.sidebar{width:190px}.workspace{margin-left:190px}.brand{font-size:21px}.school-card{margin-top:24px}.school-card span:not(.school-icon){font-size:8px}.breadcrumb{font-size:10px;gap:6px}.year-label{display:none}.top-actions{gap:12px}.topbar{height:62px;padding:0 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:20px}.heading-actions{padding-top:0;width:100%}.heading-actions .btn{font-size:10px}.page-heading p{margin-top:7px}.eyebrow{font-size:7px}main{padding:23px 18px}.schedule-status{align-items:flex-start;gap:12px;flex-wrap:wrap}.status-left{gap:7px}.status-actions{gap:12px}.status-left strong{font-size:10px}.table-toolbar{flex-wrap:wrap}.timetable{min-width:620px}.timetable td{height:98px}.lesson{min-height:81px}.lesson-title{font-size:10px}.lesson-code{font-size:6px}.toolbar-right{margin-left:auto}.table-toolbar .shift-tag .icon{display:block}.inspector{grid-template-columns:1fr 1fr}.inspector-section:last-of-type{display:none}.summary-grid{grid-template-columns:1fr 1fr}.overview-grid{grid-template-columns:1fr}.publication-card{text-align:left}.publication-card .section-caption{justify-content:flex-start}.publication-card .publication-icon{margin-left:0}.publication-card .btn.full{width:auto}.panel-heading{padding:18px}.panel-heading h2{font-size:14px}.rule-intro{grid-template-columns:1fr;gap:10px}.rule-intro>div{padding:16px 18px}.rule-row{padding:18px;gap:12px}.rule-description strong{font-size:11px;flex-wrap:wrap;gap:6px}.rule-description small{font-size:9px}.rule-description code{display:inline-block}.tabs{gap:20px}.tab{font-size:10px}.data-toolbar{padding:15px 18px}.search-field input{width:260px;font-size:10px}.data-footer{font-size:8px;padding:13px 18px}.data-footer span{display:none}.bells-grid{grid-template-columns:1fr}.bell-table input{width:100%}.app-footer{padding:16px 18px;font-size:7px}.app-footer>span:last-child{display:none}.login-story{padding:40px 10%}.login-story h1{font-size:34px}.login-story p{font-size:11px}.login-form-wrap{padding:30px}.login-form-wrap h2{font-size:24px}.platform-school{padding:20px;gap:15px}}
@media(max-width:620px){.sidebar{transform:translateX(-100%);width:216px;transition:transform .2s;z-index:60;padding-top:26px}.workspace{margin-left:0}.shell.nav-open .sidebar{transform:translateX(0)}.shell.nav-open .nav-backdrop{display:block;position:fixed;inset:0;background:#10223d66;z-index:50}.mobile-menu{display:inline-flex;margin-right:6px}.top-left{display:flex;align-items:center}.topbar{padding:0 14px;height:59px}.breadcrumb{gap:6px;font-size:10px}.breadcrumb>strong{max-width:150px;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:9px}.top-actions>.icon-btn{display:none}.top-avatar{width:27px;height:27px}.prototype-pill{font-size:8px}.page-heading p{max-width:340px;font-size:10px}.page-heading h1{font-size:27px}main{padding:23px 15px 10px}.heading-actions .btn{min-height:37px;font-size:10px;padding:9px 12px}.schedule-status{padding-bottom:14px}.status-left strong{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-actions{margin-left:auto}.table-toolbar{padding:12px;gap:11px}.toolbar-left{flex-wrap:wrap;gap:10px}.segmented button{font-size:9px;padding:6px 9px}.entity-select{max-width:160px}.toolbar-right{gap:4px}.table-toolbar .shift-tag{font-size:8px}.table-toolbar .shift-tag .icon{display:none}.timetable{min-width:660px}.timetable-scroll{overscroll-behavior-x:contain}.timetable .time-heading,.time-cell{width:47px;position:sticky;left:0;z-index:2;box-shadow:1px 0 3px #23365406}.timetable thead .time-heading{background:white}.timetable thead th{height:62px}.lesson-title{font-size:10px}.lesson-teacher{font-size:8px}.lesson-code{font-size:7px}.table-footer{padding:12px;font-size:8px}.table-footer>span:nth-child(2){display:none}.inspector{grid-template-columns:1fr 1fr}.inspector-section{padding:16px 13px}.inspector-title{padding:10px 13px}.inspector-title>span{font-size:10px}.health-block{padding:18px 12px}.health-block>strong{font-size:11px}.health-block p{font-size:8px}.health-block .btn{font-size:8px;padding:8px 6px}.inspector-section .section-caption{font-size:7px}.wish-item{gap:6px}.wish-item strong{font-size:8px}.wish-item small{font-size:7px}.wish-icon{width:21px;height:21px}.wish-item em{font-size:6px}.inspector-section>.text-btn{font-size:8px}.app-footer{padding:16px 15px}.summary-card{padding:20px}.summary-card>span{font-size:9px}.summary-grid{gap:11px;margin-top:5px}.checklist{padding:0 17px}.checklist-item{gap:10px}.checklist-item strong{font-size:11px}.checklist-item small{font-size:9px}.activity-row{padding:16px 18px;gap:10px}.activity-row small{max-width:200px;font-size:8px}.activity-row time{font-size:8px;max-width:65px;text-align:right}.rule-description small{line-height:1.9}.rule-symbol{width:30px;height:30px}.rule-row{padding:17px 14px;gap:10px}.rule-description{min-width:0}.rule-description code{font-size:7px}.rule-description strong .badge{font-size:7px}.rule-row>.icon-btn{width:23px}.auto-rule-grid{padding:5px 16px}.auto-rule-grid>div>.icon:last-child{margin-right:0}.auto-rule-grid small{font-size:8px}.data-table{min-width:600px}.data-table th,.data-table td{padding-left:16px;padding-right:16px}.form-row{gap:11px}.form-body{padding:20px}.settings-note{padding:22px}.form-body input,.form-body select,.stack-form input:not([type=checkbox]),.stack-form select,.stack-form textarea{font-size:13px}.bell-table{min-width:0}.bell-table input{width:100%;font-size:13px}.modal-backdrop{padding:14px}.modal{max-height:calc(100dvh - 28px);border-radius:12px}.modal.wide{width:100%}.modal-heading{padding:19px 20px}.modal-heading h2{font-size:18px}.modal-body{padding:21px 20px}.modal.drawer{width:100%;border-radius:0}.drawer-backdrop{padding:0}.modal-intro{font-size:11px}.checkbox-grid{grid-template-columns:1fr 1fr}.checkbox-label{font-size:10px!important}.form-actions{flex-wrap:wrap}.form-actions .btn{font-size:10px}.role-option{padding:13px 11px}.role-option strong{font-size:11px}.role-option small{font-size:9px}.role-icon{width:30px;height:30px}.profile-card{padding:27px 20px}.profile-card h2{font-size:22px}.profile-card .btn{margin:5px 0}.login-page{grid-template-columns:1fr}.login-story{padding:25px 25px 32px;min-height:290px}.login-story>.brand{font-size:22px}.login-story>div:nth-child(2){margin-top:30px}.login-story h1{font-size:32px;line-height:1.2;margin:12px 0}.login-story .eyebrow{font-size:7px}.login-story p{font-size:11px}.login-story>small,.login-sample{display:none}.login-form-wrap{max-width:500px;padding:30px 25px 40px}.login-form-wrap h2{font-size:24px;margin-top:16px}.login-form-wrap>p{font-size:11px;margin-bottom:25px}.platform-school>.btn{width:100%;margin-top:5px}.platform-school .publication-icon{width:39px;height:39px}.platform-school h2{font-size:14px}.platform-school p{font-size:9px}.version-current{align-items:flex-start;flex-direction:column}.version-row{gap:8px;flex-wrap:wrap}.version-row .btn{font-size:9px}.version-row strong{font-size:11px}.panel-heading .btn{font-size:9px;padding:8px 10px}.panel-heading p{font-size:9px}.table-toolbar select{max-width:180px}.lesson-detail dl{grid-template-columns:90px 1fr;font-size:11px}.issue-row{font-size:10px}.issue-row .text-btn{font-size:9px}}
/* Dense screens keep names and identifiers readable without enlarging controls. */
.lesson-teacher{color:#6e7d92}.lesson-code{color:#7e8ba1}.page-heading p{color:#78869b}.tiny-note,.keyboard-hint{color:#8595ad}.status-copy{color:#8290a5}.health-block p{color:#7d8da4}
@media(min-width:801px){.lesson-title{font-size:12px}.lesson-teacher{font-size:10px}.lesson-room{font-size:9px}.lesson-code{font-size:8px}.lesson{min-height:89px;padding-top:9px;padding-bottom:9px}.timetable td{height:103px}.timetable thead strong{font-size:11px}.timetable thead small{font-size:9px}.time-cell span,.time-cell small{font-size:9px}.nav-item{font-size:12px}.inspector-title>span{font-size:11px}.health-block>strong{font-size:13px}.health-block p{font-size:10px}.inspector-section .section-caption{font-size:9px}.wish-item strong{font-size:10px}.wish-item small{font-size:9px}.wish-item em{font-size:8px}.resource-row{font-size:10px}.tiny-note,.keyboard-hint{font-size:9px}.table-footer{font-size:9px}}
@media(max-width:800px){.lesson-title{font-size:11px}.lesson-teacher{font-size:9px}.lesson-room{font-size:9px}.lesson-code{font-size:8px}.lesson{min-height:88px}.timetable td{height:102px}.timetable thead strong{font-size:11px}.time-cell span,.time-cell small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.lesson:hover{transform:none}}
@media(max-width:1120px){.inspector .inspector-section:nth-last-child(2){display:none}}
.server-pill{background:#eef7f2;border-color:#dcece3;color:#43856d}.account-identity{display:flex;flex-direction:column;gap:5px;padding-bottom:20px;margin-bottom:16px;border-bottom:1px solid var(--line)}.account-identity strong{font-size:15px}.account-identity span{color:var(--muted);font-size:11px}.invite-link-label{display:flex;flex-direction:column;gap:8px;font-size:11px;margin-bottom:15px}.invite-link-label input{width:100%;font-size:11px}.sync-warning{padding:15px 18px;background:#fff3e5;border:1px solid #efdabd;border-radius:8px;color:#ae793c;font-size:12px;margin-bottom:20px}.onboarding-wrap{min-height:100vh;padding:30px 25px 60px}.onboarding-top{display:flex;align-items:center;gap:12px;max-width:950px;margin:0 auto 45px}.onboarding-top>strong{font:23px var(--display);color:var(--navy)}.onboarding-top>span:not(.brand-mark){font-size:11px;color:var(--muted);margin-left:auto}.onboarding-top>a{font-size:11px}.onboarding-card{max-width:590px;margin:0 auto;padding:34px}.onboarding-card h1{font-size:27px;margin:12px 0 18px}.onboarding-card .stack-form{margin-top:25px}.onboarding-card .field-help{margin-top:-8px}.connection-error{max-width:600px;margin:70px auto;padding:35px}.connection-error p{margin:20px 0;color:var(--muted);font-size:13px}.connection-error h1{font-size:23px}.school-card strong{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-switch strong{max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){.onboarding-wrap{padding:20px 15px 35px}.onboarding-top{gap:9px;margin-bottom:25px;flex-wrap:wrap}.onboarding-top>span:not(.brand-mark){max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.onboarding-card{padding:25px 20px}.onboarding-card h1{font-size:23px}.onboarding-top>strong{font-size:20px}}
/* Automatic scheduling shares the compact dialog and table vocabulary. */
.generation-effort{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:13px;font-weight:600}
.generation-effort select{width:100%;padding:10px;border:1px solid #dce2eb;border-radius:8px;background:#fff;color:#182b46;font:inherit}
.generation-preview{max-height:330px;overflow:auto;border:1px solid #e1e6ee;border-radius:10px;margin:12px 0 18px}
.generation-preview th{position:sticky;top:0;background:#f5f7fa;z-index:1}
.generation-preview td{font-size:13px}.generation-preview svg{width:13px;height:13px}
.generation-wishes{padding:12px;background:#fff8ed;border-radius:8px;font-size:13px;line-height:1.6}.generation-wishes summary{cursor:pointer;font-weight:600}
.generation-error{color:#b42318;font-size:13px}.room-block{display:grid;grid-template-columns:minmax(95px,1fr) 90px 90px 32px;gap:7px;align-items:end;margin-bottom:10px}.room-block label{font-size:12px}.room-block .icon-btn{margin-bottom:4px}
@media(max-width:600px){.room-block{grid-template-columns:minmax(70px,1fr) 76px 76px 28px;gap:4px}.room-block input,.room-block select{padding:7px 3px;min-width:0}.generation-stats strong{font-size:19px}.generation-preview td{padding:9px 7px}}
.school-quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.school-quick-actions .btn{font-size:12px;padding:10px 13px}.week-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 16px;margin-bottom:16px}.week-controls>div{flex:1;min-width:200px}.week-controls strong,.week-controls small{display:block}.week-controls small{font-size:11px;color:var(--muted);margin-top:3px}.week-controls label{display:flex;align-items:center;gap:8px;font-size:11px}.school-day-tabs{display:flex;gap:5px;overflow-x:auto;padding:13px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.school-day-tabs button{white-space:nowrap;padding:7px 12px;border-radius:7px;color:#65738b;font-size:11px}.school-day-tabs button.selected{background:var(--blue-tint);color:var(--blue);font-weight:600}.school-shift-table h2{padding:16px 19px;background:#f9fbfe;border-bottom:1px solid var(--line);font-size:14px}.school-shift-table h2 span{margin-left:10px}.school-timetable{min-width:650px;table-layout:auto!important}.school-timetable td,.school-timetable th{min-width:160px}.school-timetable th:first-child{min-width:100px;width:100px}.school-timetable .lesson{min-width:145px}.calendar-cell-off{color:#97712e;background:#fff9ee;border-radius:6px;padding:12px 6px;font-size:11px}.calendar-cell-off small{display:block;font-size:10px;margin-top:5px}.school-day-off{background:#fff7e7;color:#876326}.school-day-off td{padding:20px!important;text-align:center}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px}.calendar-panel{padding:0 20px 18px}.calendar-panel .panel-heading{padding-left:0;padding-right:0}.calendar-panel .panel-heading label{font-size:11px;display:flex;align-items:center;gap:10px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekday{text-align:center;color:var(--muted);font-size:11px;padding:10px 0}.calendar-day{min-height:88px;padding:10px 7px;border-radius:8px;text-align:left;background:#f4f8ff;border:1px solid #e8eef8;overflow:hidden}.calendar-day strong{font-size:15px;display:block}.calendar-day span{font-size:9px;line-height:1.3;display:block;margin-top:5px;overflow:hidden;max-height:25px;color:#6f7d91}.calendar-day.day-off{background:#fff4df;border-color:#f4e4bd}.calendar-day.weekend{background:#f2f3f6;border-color:#e5e8ed}.calendar-day.other-month{opacity:.4}.calendar-day.today{box-shadow:inset 0 0 0 2px var(--blue)}.calendar-legend{display:flex;gap:15px;font-size:10px;color:#78869b;padding-top:15px}.calendar-period,.calendar-ranges{padding:20px;margin-bottom:18px}.calendar-period p{margin:12px 0}.calendar-ranges h2{margin-bottom:15px}.calendar-range{display:flex;gap:9px;padding:12px 0;border-top:1px solid var(--line);align-items:center}.calendar-range>span{color:#b68c39}.calendar-range>div{flex:1;min-width:0}.calendar-range strong,.calendar-range small{display:block}.calendar-range strong{font-size:12px}.calendar-range small{font-size:10px;color:var(--muted);margin-top:3px}.library-current{display:flex;gap:16px;align-items:center;padding:22px;margin-bottom:20px;flex-wrap:wrap}.library-current>span{background:var(--blue-tint);color:var(--blue);padding:15px;border-radius:10px}.library-current>div{flex:1;min-width:190px}.library-current small{color:var(--muted);font-size:9px}.library-current p,.record-card p,.saved-record p{color:var(--muted);font-size:11px;margin-top:6px}.record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}.record-card{padding:20px}.record-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:var(--blue)}.record-card h2{font-size:16px}.record-card>small{display:block;font-size:10px;color:var(--muted);margin-top:12px}.record-card .form-actions{margin-top:20px;padding-top:0}.record-grid>.empty-state{grid-column:1/-1}.saved-record{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px;border-bottom:1px solid var(--line)}.saved-record h2{font-size:14px}.record-preview-scroll{max-height:400px;overflow:auto}.sidebar nav{max-height:calc(100vh - 380px);overflow-y:auto}
@media(max-width:1000px){.calendar-layout{grid-template-columns:1fr}.calendar-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.table-toolbar .segmented button{padding:8px 10px}.school-quick-actions .btn{font-size:11px}}
@media(max-width:600px){.calendar-panel{padding:0 9px 12px}.calendar-grid{gap:3px}.calendar-day{min-height:64px;padding:7px 3px}.calendar-day span{font-size:8px}.calendar-day strong{font-size:12px}.calendar-layout aside{display:block}.calendar-panel .panel-heading{flex-wrap:wrap;gap:10px}.week-controls{padding:12px;gap:9px}.week-controls>div{min-width:100%}.week-controls label{font-size:10px}.week-controls input{max-width:148px}.school-quick-actions{gap:6px}.school-quick-actions .btn{font-size:10px;padding:8px}.record-grid{grid-template-columns:1fr}.library-current{padding:16px;gap:10px}.calendar-legend{gap:8px;font-size:8px}.sidebar nav{max-height:calc(100vh - 355px)}}
.school-timetable tbody tr{height:auto}.school-timetable td{height:76px;padding:7px 9px}.school-timetable .lesson{min-height:68px;padding:8px}.school-timetable .shift-divider td{height:auto;padding:9px 12px;font-size:10px}.school-timetable .time-cell{font-size:11px}
.bell-count-actions{display:flex;gap:10px;padding:16px;flex-wrap:wrap}.class-week-label{display:block;color:var(--muted);font-size:10px;margin-top:5px}

/* Groups and preparation */
.group-row{display:grid;grid-template-columns:75px 1fr 80px 30px;align-items:end;gap:8px;margin-bottom:10px}.group-row label{min-width:0}.group-row input{width:100%}.lesson-group{font-size:11px;font-weight:650;display:block;margin-bottom:4px}.quality-stats .stat-card{padding:20px;display:flex;flex-direction:column;gap:8px}.quality-stats .stat-card>strong{font-size:28px}.preparation-panel{padding-bottom:16px;margin-bottom:20px}.preparation-steps{display:flex;flex-wrap:wrap;gap:8px;padding:16px}.preparation-steps button{border:1px solid var(--line,#e2e8f0);border-radius:8px;background:#fff;padding:10px;display:flex;gap:8px;align-items:center;text-align:left;cursor:pointer}.preparation-steps button.ready span{color:#13835b}.preparation-panel>p,.preparation-panel>.form-errors{margin:12px 20px}.quality-stats{margin-bottom:20px}@media(max-width:600px){.group-row{grid-template-columns:65px 1fr 65px 25px;gap:5px}.quality-stats{grid-template-columns:1fr 1fr}}

.import-preview{max-height:360px;overflow:auto}.group-row .icon-btn{margin-bottom:3px}

.language-control{display:inline-flex;gap:2px;border:1px solid #d9e1ed;border-radius:8px;padding:3px;background:#fff;flex-shrink:0}.language-control button{font:inherit;font-size:11px;padding:5px 7px;background:none;border:0;border-radius:5px;color:#5b6a81;cursor:pointer;white-space:nowrap}.language-control [aria-pressed="true"]{background:#edf3fc;color:#275eb2;font-weight:650}.login-language{position:fixed;right:24px;top:20px;z-index:3}.onboarding-top .language-control{margin-right:auto}@media(max-width:680px){.top-actions .year-label,.prototype-pill{display:none}.language-control button{padding:4px}.top-actions{gap:7px}}

.generation-scope{padding:16px;background:#f5f8ff;border:1px solid #dfe7f4;border-radius:12px;margin-bottom:16px;display:grid;gap:12px}.generation-scope label,.daily-absences label{display:flex;flex-direction:column;gap:8px}.partial-result{margin:20px 0}.partial-diff{max-height:320px;overflow:auto}.daily-summary{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:18px 0;color:#57677f}.daily-summary strong{color:#ae7b28}.daily-row-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:150px}.daily-uncovered td{background:#fff9ec}.daily-cancelled td{color:#8895a7;background:#f8fafc}.daily-absences,.daily-history{margin-top:20px}.daily-absence-row,.daily-history-row{padding:15px 20px;border-top:1px solid #e6ebf2;display:flex;justify-content:space-between;gap:16px;align-items:center}.daily-absence-row small,.daily-history-row small{display:block;color:#7c8ca3;margin-top:5px}.daily-absence-row p{margin:8px 0 0}.daily-history-row{display:grid;grid-template-columns:180px 1fr 230px;font-size:12px}.daily-empty{padding:0 20px 16px}.candidate-list{margin:18px 0}.candidate-list article{display:flex;gap:15px;justify-content:space-between;align-items:center;border:1px solid #e3eaf4;border-radius:10px;padding:14px;margin-top:8px}.candidate-list small{display:block;font-size:12px;color:#6b7d96;margin-top:5px}.candidate-rejections{padding:12px;background:#f7f9fc;border-radius:9px;font-size:12px}.candidate-rejections p{padding:9px 0;border-bottom:1px solid #e5eaf1}.actual-day{margin-bottom:20px}.daily-stale{display:flex;align-items:center;justify-content:space-between;gap:15px}@media(max-width:680px){.daily-history-row{grid-template-columns:1fr;gap:4px}.daily-table{min-width:650px}.daily-absence-row{align-items:flex-start}.daily-stale{flex-direction:column;align-items:flex-start}}
/* Academic workflow: scrollable navigation and compact, accessible records. */
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:20px}.workflow-tabs{flex-wrap:wrap;gap:6px}.workflow-list>article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-top:1px solid var(--line)}.workflow-list h3{margin:0 0 6px}.workflow-list p{margin:7px 0;overflow-wrap:anywhere}.workflow-list small{color:var(--muted)}.workflow-actions{display:flex;gap:8px;flex-wrap:wrap}.workflow-form{padding:24px;max-width:850px}.workflow-form p{margin:12px 0}.workflow-form h2{margin-bottom:12px}.workflow-list .notice-unread{border-left:3px solid var(--blue);background:#f7f9ff}.workflow-tabs .tab{white-space:nowrap}.workflow-list .badge{margin-top:8px}.stack-form details{padding:12px;border:1px solid var(--line);border-radius:8px}.stack-form details[open]>label{display:flex;margin-top:12px}.stack-form textarea{min-height:85px;resize:vertical;width:100%}.workflow-form input[type=number]{width:100px}
@media(max-width:650px){.workflow-list>article{display:block;padding:18px}.workflow-actions{margin-top:12px}.workflow-form{padding:18px}.workflow-tabs .tab{font-size:12px}.workflow-tabs{max-width:100%}.sidebar-bottom{padding-top:15px}}
@media(max-width:800px){.heading-actions{flex-wrap:wrap}}
@media(max-width:620px){.shell:not(.nav-open) .sidebar{visibility:hidden;pointer-events:none}.shell.nav-open .sidebar{visibility:visible;pointer-events:auto}}
/* CRM navigation: fixed menu, no sidebar scroll; retain the existing palette. */
html[lang] .sidebar{height:100dvh;overflow:hidden;padding:20px 12px 0}
html[lang] .sidebar .brand{flex-shrink:0;padding:0 8px;font-size:23px}
html[lang] .sidebar .brand small{display:none}
html[lang] .sidebar .school-card{flex-shrink:0;width:100%;margin:22px 0 16px;padding:11px 10px;text-align:left}
.crm-school-switch>.icon:last-child{width:13px;flex-shrink:0;color:#95aac6;margin-left:auto}
html[lang] .sidebar .nav-label{padding:0 10px 8px}
html[lang] .sidebar nav{display:grid;gap:3px;flex:0 0 auto;min-height:0;max-height:none;overflow:visible}
html[lang] .sidebar .nav-item{height:36px;padding:8px 10px;margin:0;font-size:12px;line-height:1.25;gap:10px}
html[lang] .sidebar .nav-item>.icon{width:16px;height:16px;flex-shrink:0}
html[lang] .sidebar .nav-item>span:not(.nav-dot){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[lang] .sidebar-bottom{flex-shrink:0;margin-top:auto;padding-top:16px}
html[lang] .sidebar .help-link{height:34px;padding:8px 10px;margin-bottom:8px}
html[lang] .sidebar .help-link>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html[lang] .sidebar .account-switch{height:64px;margin:0 -12px;padding:12px;width:calc(100% + 24px)}
html[lang] .sidebar .account-switch>span:nth-child(2){min-width:0;flex:1}
html[lang] .sidebar .account-switch strong,html[lang] .sidebar .account-switch small{max-width:132px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-height:760px){html[lang] .sidebar{padding-top:14px}html[lang] .sidebar .school-card{margin:14px 0 12px;padding:9px 10px}html[lang] .sidebar nav{gap:2px}html[lang] .sidebar .nav-item{height:32px;font-size:11px}html[lang] .sidebar-bottom{padding-top:10px}html[lang] .sidebar .account-switch{height:56px}html[lang] .sidebar .help-link{height:30px;margin-bottom:4px}}
@media(max-height:620px){html[lang] .sidebar{padding-top:10px}html[lang] .sidebar .brand{font-size:21px}html[lang] .sidebar .school-card{margin:8px 0;height:38px;padding:6px 10px}html[lang] .sidebar .school-card>div>span{display:none}html[lang] .sidebar .nav-label{padding-bottom:6px}html[lang] .sidebar nav{gap:1px}html[lang] .sidebar .nav-item{height:26px;padding-top:5px;padding-bottom:5px}html[lang] .sidebar-bottom{padding-top:4px}html[lang] .sidebar .help-link{height:24px;margin-bottom:0}html[lang] .sidebar .account-switch{height:44px;padding-top:6px;padding-bottom:6px}}
@media(max-height:540px){html[lang] .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}html[lang] .sidebar .nav-item{font-size:10px;gap:6px;padding-left:8px;padding-right:6px}html[lang] .sidebar .nav-item .nav-dot{display:none}}
html[lang] .sidebar nav{min-width:0;grid-template-columns:minmax(0,1fr)}html[lang] .sidebar .nav-item{min-width:0;overflow:hidden}
@media(max-height:540px){html[lang] .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Account registration and system moderation */
.account-entry .login-story>.brand{color:white}.account-entry .login-story>div:nth-child(2){max-width:470px}.account-steps{display:grid;gap:16px;margin-top:35px;color:#b1c2da;font-size:12px}.account-steps span{display:flex;align-items:center;gap:14px}.account-steps b{font-size:10px;color:#809cbe;border:1px solid #3e5573;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-weight:500}.account-form-wrap{width:100%;max-width:560px;padding-top:85px;padding-bottom:45px}.account-form-wrap .stack-form{gap:13px}.account-form-wrap .field-help{margin:-6px 0 2px;font-size:10px;line-height:1.7}.account-form-wrap .form-row{gap:14px}.account-form-wrap label{font-size:12px}.account-form-wrap input:not([type=checkbox]){font-size:14px;min-height:42px;width:100%}.account-form-wrap .account-show-password{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:400;cursor:pointer}.account-form-wrap .account-show-password input{width:15px;height:15px}.account-form-errors{border:1px solid #e8b6b6;color:#9a3232;background:#fff5f5;border-radius:7px;padding:11px 13px;line-height:1.8;font-size:12px;overflow-wrap:anywhere}.account-form-errors[hidden]{display:none}.account-form-wrap .account-mode-switch{margin:22px 0 0;font-size:12px}.account-entry-links{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:27px;padding-top:19px;border-top:1px solid #e8edf4;font-size:10px}.account-entry-links a{color:#697d9a}.account-pending{padding:30px 0}.account-pending>.icon{color:#315fee;width:40px;height:40px;background:#edf3ff;padding:9px;border-radius:12px;box-sizing:content-box}.account-pending p{font-size:14px;line-height:1.9;color:#60738e;margin:20px 0 30px}.system-accounts{min-height:100dvh;background:#f4f7fb}.system-header{display:flex;align-items:center;gap:22px;max-width:1200px;margin:auto;padding:26px 30px}.system-header>.language-control{margin-left:auto}.system-header>.brand{color:#172b46}.system-accounts main{max-width:1120px;margin:35px auto 0;padding:0 30px 65px}.system-accounts h1{margin-top:12px}.system-intro{color:#73829a;margin-top:12px;max-width:620px;line-height:1.8}.system-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:30px 0 5px}.system-list{display:grid;gap:13px}.system-account{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:25px}.system-account h2{font-size:18px;margin-bottom:12px;overflow-wrap:anywhere}.system-account p{font-size:12px;margin-top:6px;overflow-wrap:anywhere}.system-account p>span{display:inline-block;min-width:95px;color:#7d8ca2}.system-account-actions{display:flex;gap:9px;flex-wrap:wrap;flex-shrink:0}.system-notice{min-height:26px;color:#21806b;margin:7px 0;font-size:12px}.system-empty,.system-denied{padding:32px}.system-denied{margin-top:30px}.system-denied p{color:#718098;margin:15px 0 25px}.system-pagination{display:flex;gap:10px;margin-top:20px}.system-decision{padding:25px;border:2px solid #bfd0f9;margin:25px 0}.system-decision p{margin-top:10px}.system-accounts .account-form-errors{margin-top:20px}
@media(max-width:900px){.account-entry .login-story{padding:40px}.account-form-wrap{padding-left:30px;padding-right:30px}.system-account{align-items:flex-start}.system-account-actions{flex-direction:column}}
@media(max-width:680px){.account-entry .login-story{min-height:0;padding:24px}.account-entry .login-story>div:nth-child(2){margin-top:24px}.account-entry .login-story h1{font-size:30px}.account-entry .login-story p{font-size:12px}.account-steps{display:none}.account-entry .login-language{position:absolute;top:19px;right:15px}.account-form-wrap{padding:28px 24px 40px;max-width:none}.account-form-wrap .form-row{grid-template-columns:1fr;gap:13px}.account-form-wrap .prototype-pill{display:inline-flex}.account-entry-links{line-height:1.8}.system-header{padding:20px;gap:12px;flex-wrap:wrap}.system-header>.btn{width:100%}.system-accounts main{margin-top:16px;padding-left:20px;padding-right:20px}.system-accounts h1{font-size:25px}.system-account{padding:21px;display:block}.system-account-actions{flex-direction:row;margin-top:20px}.system-tabs .btn{font-size:10px;padding:9px}.system-intro{font-size:12px}}

/* Project administrator workspace */
.project-admin{min-height:100dvh;background:#f5f7fb;color:#172b46}.project-sidebar{position:fixed;inset:0 auto 0 0;width:236px;padding:30px 17px 17px;background:white;border-right:1px solid #e4eaf3;display:flex;flex-direction:column;z-index:60;overflow:hidden}.project-sidebar>.brand{padding:0 10px;color:#172b46;font-size:22px;gap:0}.project-sidebar>.brand .brand-mark{margin-right:9px}.project-sidebar>.brand .brand-light{margin-left:0}.project-space{display:flex;align-items:center;gap:12px;padding:18px 12px;margin:25px 0 22px;border:1px solid #e2e8f2;border-radius:9px;background:#fbfcfe}.project-space>svg{color:#7892b7;width:24px;height:24px}.project-space strong{display:block;font-size:12px}.project-space small{display:block;color:#8493a8;font-size:9px;margin-top:4px}.project-nav-label{font-size:8px;letter-spacing:.9px;text-transform:uppercase;color:#93a1b5;margin:0 12px 12px}.project-sidebar nav{display:grid;gap:6px}.project-sidebar nav button{display:flex;align-items:center;gap:12px;padding:12px;border-radius:7px;text-align:left;color:#6a7b93;line-height:1.4;font-size:11px;min-height:43px}.project-sidebar nav button svg{width:18px;height:18px}.project-sidebar nav button:hover{background:#f5f7fc}.project-sidebar nav button.active{color:#315fee;background:#edf2ff;font-weight:600}.project-sidebar-bottom{margin-top:auto;padding-top:15px}.project-sidebar-bottom>a{display:flex;align-items:center;gap:9px;color:#7a8da9;font-size:10px;padding:12px 8px}.project-sidebar-bottom>span{display:flex;align-items:center;gap:10px;border-top:1px solid #e6ebf3;padding:16px 8px 0}.project-sidebar-bottom>span>b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:10px;background:#eaf0fc;color:#5e7fab;font-weight:600}.project-sidebar-bottom strong{display:block;font-size:10px}.project-sidebar-bottom small{display:block;color:#92a0b5;font-size:9px;margin-top:3px}.project-workspace{margin-left:236px;min-width:0;min-height:100dvh;display:flex;flex-direction:column}.project-topbar{height:75px;display:flex;align-items:center;gap:15px;padding:0 35px;background:#fff;border-bottom:1px solid #e5ebf3}.project-topbar>span{font-size:10px;color:#8c9aae}.project-topbar>span b{margin:0 12px;font-weight:400;color:#acb8ca}.project-topbar>span strong{color:#5b7090;font-weight:500}.project-topbar .language-control{margin-left:auto}.project-menu{display:none}.project-main{padding:36px 35px 55px;width:100%;max-width:1500px;margin:0 auto;flex:1;min-width:0}.project-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:25px}.project-heading .eyebrow{font-size:8px;letter-spacing:1.4px;color:#8b9eb8}.project-heading h1{font-size:29px;margin-top:7px}.project-heading p{font-size:11px;color:#7d8da4;line-height:1.8;margin-top:12px;max-width:660px}.project-heading>.btn{margin-top:14px;flex-shrink:0}.project-notice{min-height:17px;color:#21816c;font-size:11px;margin:0 0 12px}.project-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.project-metrics article{padding:22px;min-height:145px;position:relative}.project-metrics article>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#7c8ea8}.project-metrics article svg{color:#96abd0;flex-shrink:0}.project-metrics article>strong{font-size:34px;letter-spacing:-1px;display:block;margin-top:18px;font-weight:600}.project-metrics article>button{font-size:8px;color:#6583bc;display:block;margin-top:6px;padding:0;text-align:left}.project-overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.project-health .panel-heading{padding:20px 24px}.project-health>p{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 24px;border-top:1px solid #edf1f7;font-size:11px;color:#8191a9}.project-health>p strong{font-size:11px;color:#526b8d;font-weight:500}.project-health>p .project-good{color:#328a74}.project-health>p .project-warn{color:#b08038}.project-shortcuts{padding:23px}.project-shortcuts>h2{font-size:15px;margin-bottom:13px}.project-shortcuts>button{display:flex;align-items:center;gap:13px;width:100%;padding:17px 0;border-bottom:1px solid #e9eef6;text-align:left;color:#506c93}.project-shortcuts>button:last-child{border:0}.project-shortcuts>button>span{font-size:12px}.project-shortcuts small{display:block;font-size:9px;color:#90a0b7;margin-top:5px}.project-shortcuts>button>b{margin-left:auto;color:#90a5c4;font-weight:400}.project-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}.project-search input{min-width:180px;max-width:370px;flex:1}.project-search select{font-size:11px}.project-user{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px}.project-user-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.project-user h2{font-size:16px;overflow-wrap:anywhere}.project-user p{font-size:11px;margin-top:7px}.project-user p>span{color:#8b9cb5;min-width:75px;display:inline-block}.project-user>div>small{font-size:9px;display:block;color:#9aabc1;margin-top:10px}.project-user-actions{display:flex;align-items:flex-end;flex-direction:column;gap:7px;flex-shrink:0}.project-user-actions .btn{font-size:10px}.project-user-actions .btn.text{padding:3px 0}.project-schools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-school{padding:25px;min-width:0}.project-school-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.project-school-top .publication-icon{width:40px;height:40px}.project-school h2{font-size:20px;overflow-wrap:anywhere}.project-school>p{font-size:11px;color:#7a8ea9;margin-top:10px}.project-school>p small{display:block;color:#9aabc0;margin-top:5px}.project-school-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0;border-top:1px solid #e9eef6;padding-top:20px}.project-school-counts strong{display:block;font-size:21px;font-weight:500}.project-school-counts small{display:block;font-size:9px;color:#91a2bb;margin-top:5px}.project-audit article{padding:20px 24px;display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid #ebf0f7}.project-audit article:last-child{border:0}.project-audit article>span{color:#8da5c8;background:#f0f5fd;border-radius:7px;padding:8px}.project-audit h2{font-size:13px}.project-audit p{font-size:11px;color:#6f86a8;margin-top:7px;overflow-wrap:anywhere}.project-audit small{display:block;font-size:9px;color:#9cacc2;margin-top:7px}.project-audit time{font-size:9px;color:#8b9fb9;margin-left:auto;white-space:nowrap}.project-settings{padding:30px;max-width:730px}.project-settings>h2{font-size:18px}.project-registration{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:13px}.project-settings>p{font-size:11px;line-height:1.8;color:#7b8ea9;margin:12px 0 28px;max-width:500px}.project-settings .stack-form{gap:18px}.project-settings .stack-form label{font-size:12px}.project-settings .field-help{font-size:10px;line-height:1.8;color:#889bb7}.project-settings .inline-note{font-size:10px;margin-top:2px}.project-settings .form-actions{align-items:center}.project-confirm{border:1px solid #d6e1f1;border-radius:12px;width:min(470px,calc(100vw - 32px));padding:27px;color:#172b46;max-height:calc(100dvh - 50px);overflow:auto;box-shadow:0 25px 100px #172b4630}.project-confirm::backdrop{background:#172b465c;backdrop-filter:blur(3px)}.project-confirm h2{font-size:21px}.project-confirm p{margin-top:15px;font-size:12px;line-height:1.8;color:#768da9}.project-confirm p>strong{font-size:14px;color:#315fee;overflow-wrap:anywhere}.project-confirm .stack-form{margin-top:20px}.project-confirm .account-form-errors{color:#9a3232}.project-footer{display:flex;justify-content:space-between;gap:20px;padding:20px 35px;font-size:9px;color:#9aabc2;border-top:1px solid #e4eaf3}.project-main .system-accounts{background:transparent;min-height:0}.project-main .system-accounts main{margin:0;padding:0;max-width:none}.project-main .system-tabs{margin-top:0}.project-backdrop[hidden]{display:none}.project-backdrop{position:fixed;inset:0;z-index:55;background:#172b4666}
@media(max-height:650px) and (min-width:901px){.project-sidebar{padding-top:19px}.project-space{margin-top:17px;margin-bottom:15px;padding-top:12px;padding-bottom:12px}.project-sidebar nav{gap:2px}.project-sidebar nav button{padding:9px 12px;min-height:36px}.project-sidebar-bottom>a{padding:8px}.project-sidebar-bottom>span{padding-top:10px}}
@media(max-width:1100px){.project-sidebar{width:214px}.project-workspace{margin-left:214px}.project-main{padding-left:24px;padding-right:24px}.project-metrics{gap:12px}.project-metrics article{padding:18px}.project-metrics article>div{font-size:9px}.project-metrics article svg{width:16px}.project-overview-grid{gap:18px}.project-user-actions{max-width:170px}.project-user-actions .btn{text-align:right}}
@media(max-width:900px){.project-sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.project-menu-open .project-sidebar{transform:translateX(0)}.project-workspace{margin-left:0}.project-menu{display:grid;place-items:center}.project-topbar{padding:0 24px;height:68px}.project-topbar>span{font-size:9px}.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-sidebar{padding-top:25px}.project-overview-grid{grid-template-columns:1fr}.project-user{align-items:flex-start}.project-schools{gap:16px}.project-sidebar-bottom{padding-top:6px}.project-nav-label{font-size:8px}}
@media(max-width:620px){.project-topbar{padding:0 15px;gap:8px}.project-topbar>span{font-size:8px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-topbar>span b{margin:0 5px}.project-topbar .language-control{gap:0}.project-topbar .language-control button{font-size:9px;padding:5px}.project-main{padding:25px 18px 40px}.project-heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}.project-heading h1{font-size:26px}.project-heading p{font-size:11px}.project-heading>.btn{margin-top:0;font-size:10px}.project-metrics{gap:12px}.project-metrics article{padding:17px;min-height:135px}.project-metrics article>div{font-size:10px;align-items:flex-start}.project-metrics article svg{display:none}.project-metrics article>strong{font-size:31px}.project-metrics article>button{font-size:8px;line-height:1.6}.project-user{display:block;padding:21px}.project-user-actions{align-items:flex-start;max-width:none;flex-direction:row;flex-wrap:wrap;margin-top:20px;gap:14px}.project-user-actions .btn.text{padding:8px 0}.project-user-heading{gap:9px}.project-user p{overflow-wrap:anywhere}.project-search input{width:100%;max-width:none;flex-basis:100%}.project-search select{flex:1;max-width:220px}.project-schools{grid-template-columns:1fr}.project-school{padding:23px}.project-audit article{padding:20px 17px;gap:10px;flex-wrap:wrap}.project-audit article>div{min-width:0;flex:1}.project-audit article>span{padding:6px}.project-audit time{width:100%;margin-left:42px;font-size:8px}.project-settings{padding:23px}.project-settings .stack-form input{width:100%}.project-confirm{padding:23px}.project-confirm .form-actions{gap:10px;flex-wrap:wrap}.project-footer{padding:20px 18px;font-size:8px}.project-sidebar nav button{font-size:11px}.project-main .system-account{padding:21px}}
@media(max-height:500px) and (max-width:900px){.project-sidebar{width:350px;padding-top:16px;padding-bottom:12px}.project-sidebar>.brand{font-size:20px}.project-space{display:none}.project-nav-label{margin-top:18px}.project-sidebar nav{grid-template-columns:1fr 1fr;gap:4px}.project-sidebar nav button{font-size:10px;padding:9px}.project-sidebar-bottom>span{display:none}.project-sidebar-bottom>a{padding:8px}}
@media(prefers-reduced-motion:reduce){.project-sidebar{transition:none}}
.account-form-wrap .stack-form .account-show-password{flex-direction:row;align-items:center;justify-content:flex-start}.account-show-password input{margin:0}.account-support{font-size:12px;color:#6e84a3;line-height:1.8;margin-top:20px}.account-support a{white-space:nowrap}.project-sidebar .brand-light{color:#59769b}.project-main .system-accounts main>.eyebrow{display:none}

.access-date-field{margin:20px 0;padding:17px;border:1px solid #dbe5f4;border-radius:9px;background:#f7faff}.access-date-field label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#385477}.access-date-field input{width:100%;min-height:43px;background:#fff}.access-date-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.access-date-presets button{font-size:11px;color:#315fee;background:#eaf0ff;border:1px solid #dbe5fb;border-radius:5px;padding:6px 10px}.access-date-field p{font-size:10px;line-height:1.8;color:#7a8fae;margin-top:10px}.access-expired{color:#ad6844}.profile-access-term{color:#607fa7;font-size:12px}.system-decision form>.form-actions{margin-top:20px}
