:root{--blue:#2468d5;--ink:#273746;--muted:#718092;--line:#e1e7ee;--bg:#f7f9fc;--surface:#fff;--amber:#986420;--minute:2.3px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'Avenir Next','Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #89b7f1;outline-offset:2px}input,select,textarea{color:var(--ink)}button,a,input,select{touch-action:manipulation}h1,h2,h3,p{margin:0}a{color:var(--blue)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{height:77px;display:flex;align-items:center;padding:0 27px;gap:28px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:11px;font-size:21px;letter-spacing:-.7px;text-decoration:none;color:#344556;white-space:nowrap}.calendar-logo{width:35px;height:39px;border-radius:6px;background:#f0f5fd;color:#2865bf;text-align:center;line-height:1;box-shadow:2px 2px 0 #dce7f7;overflow:hidden}.calendar-logo span{display:block;font-size:7px;letter-spacing:1.5px;background:#4f83cd;color:white;padding:4px}.calendar-logo b{font-size:24px;font-weight:400;line-height:23px}.workspace-select{display:flex;align-items:center;gap:2px;min-width:140px;max-width:280px;padding-left:25px;border-left:1px solid var(--line)}.workspace-select select{background:transparent;border:0;font-size:12px;color:#5d7084;padding:7px;min-width:0;width:100%;max-width:210px;cursor:pointer}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}#saveStatus{font-size:10px;color:var(--muted);white-space:nowrap;margin-right:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d7e0ea;border-radius:7px;padding:8px 13px;background:white;font-size:12px;font-weight:500;white-space:nowrap;text-decoration:none}.button:hover{background:#f0f5fb}.button.primary{background:var(--blue);color:white;border-color:var(--blue)}.button.primary:hover{background:#1e5cbf}.button.ai-toggle{background:#eaf1fc;border-color:#eaf1fc;color:#215fb5}.icon-button{display:inline-flex;justify-content:center;align-items:center;flex:none;width:31px;height:31px;font-size:23px;border-radius:50%}.icon-button:hover{background:#eaf0f7}.text-button{padding:0;color:#3168af;font-size:12px;text-align:left}.text-button:hover{text-decoration:underline}.danger{color:#ae514b!important}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start}.sidebar{padding:25px 17px 22px 21px;height:calc(100vh - 77px);overflow:auto;scrollbar-width:thin}.create-button{display:flex;align-items:center;gap:14px;background:#cce6fc;padding:11px 22px 11px 16px;border-radius:15px;font-size:13px;font-weight:600;margin:0 0 26px;box-shadow:0 2px 3px #2d558414}.create-button span{font-size:29px;line-height:1.1;font-weight:400}.create-button:hover{background:#badcf7;box-shadow:0 3px 8px #2d558424}.sidebar-heading{display:flex;align-items:center;justify-content:space-between}.sidebar h2{font-size:12px;font-weight:600}.sidebar h2>span{font-size:10px;margin-left:8px;border-radius:4px;background:#e8edf4;color:#8390a1;padding:2px 5px}.sidebar-note{font-size:10px;color:#8490a1;line-height:1.75;margin:7px 0 13px}.search{display:flex;align-items:center;padding:7px 8px;background:#edf2f8;border-radius:7px;gap:6px;margin-bottom:11px}.search>span{font-size:21px;line-height:1}.search input{min-width:0;width:100%;border:0;background:none;font-size:10px;padding:3px 0;outline:0}.student-card{display:block;text-align:left;width:100%;padding:10px 7px;border-radius:7px;cursor:grab;margin:1px 0}.student-card:hover{background:#eaf0f8}.student-top{display:flex;align-items:center;gap:9px}.avatar{display:flex;justify-content:center;align-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e2eaf4;color:#54708f;font-size:9px;font-weight:600}.student-text{min-width:0}.student-name{display:block;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:105px}.student-class{display:block;font-size:9px;color:#8390a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}.student-pct{margin-left:auto;font-size:10px;color:#7c8b9b}.student-bar{display:block;height:3px;margin:7px 0 0 37px;background:#e5eaf0;border-radius:3px;overflow:hidden}.student-bar i{display:block;height:100%;background:#83a8d9}.sidebar-add{margin:13px 8px;font-size:11px}.legend{border-top:1px solid var(--line);padding:20px 5px 0;margin:10px 0}.legend h3{font-size:11px;margin-bottom:11px}.legend label{display:flex;align-items:center;gap:8px;font-size:10px;margin:9px 0}.legend input{margin:0;width:12px;height:12px;accent-color:var(--blue)}.dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}.sidebar-foot{font-size:9px;color:#8592a2;line-height:1.9;padding:20px 5px 0}.privacy-mark{color:#5e758d}.sidebar-foot .text-button{font-size:10px;display:block;margin-top:10px}.roster-empty{font-size:11px;color:#8290a0;padding:15px 7px;line-height:1.8}main{padding:25px 27px 20px 16px;min-width:0}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px}.eyebrow{font-size:9px;font-weight:600;color:#8090a2;letter-spacing:1.45px;display:block;margin-bottom:5px}.workspace-head h1{font-size:25px;font-weight:500;letter-spacing:-.8px;line-height:1.3}.workspace-head p{font-size:11px;color:#8490a0;margin-top:4px}.build-button{font-size:12px;padding:10px 15px;box-shadow:0 2px 5px #3565a21a}.main-nav{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:20px}.main-nav nav{display:flex;gap:24px}.main-nav nav button{font-size:12px;padding:0 0 11px;border-bottom:2px solid transparent;color:#7c8896}.main-nav nav button.active{color:#2964b1;border-color:#2964b1;font-weight:600}.local-label{font-size:9px;color:#93a0ae;margin-bottom:10px}#setupBadge:not(:empty){display:inline-block;background:#faedda;color:#9c712d;padding:0 4px;font-size:9px;border-radius:3px;margin-left:4px}.summary{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;padding:15px 20px;margin-bottom:13px;gap:23px}.metric{min-width:0;padding-right:24px;border-right:1px solid var(--line)}.metric:last-child{border:0;padding-right:0}.metric-label{display:block;color:#8490a0;font-size:10px;margin-bottom:4px}.metric strong{font-size:23px;font-weight:500;letter-spacing:-.6px}.metric strong>span{font-size:15px}.metric small{font-size:10px;color:#8390a0;margin-left:5px;letter-spacing:0}.metric>small{display:block;margin:0}.metric.primary-metric{flex:1;min-width:185px}.summary-progress{height:4px;border-radius:4px;background:#e8edf4;margin-top:7px;max-width:270px;overflow:hidden}.summary-progress i{display:block;height:100%;background:#6694d3}.warn{color:var(--amber)}.status-banner{display:flex;align-items:center;gap:9px;background:#fff4e3;color:#936c36;padding:10px 13px;border-radius:6px;font-size:10px;margin-bottom:18px}.status-banner .text-button{margin-left:auto;white-space:nowrap;color:inherit;font-size:10px}.status-banner.complete{background:#eaf4ec;color:#467452}.status-banner.error{background:#fcebea;color:#a34e47}.status-icon{font-size:16px;font-weight:400;line-height:1}.calendar-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;color:#8591a0;font-size:9px}.calendar-tools>div{display:flex;align-items:center;gap:15px}.calendar-tools>div>span{display:flex;align-items:center;gap:6px}.calendar-frame{background:white;border:1px solid #dce4ed;border-radius:9px;overflow:hidden}.day-headers{display:grid;grid-template-columns:56px repeat(5,minmax(0,1fr));border-bottom:1px solid #dfe6ed;background:white}.day-head{height:53px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-left:1px solid var(--line);font-size:11px;font-weight:500}.day-head small{font-size:8px;color:#95a0ad;font-weight:400}.time-zone{display:flex;align-items:center;justify-content:center;color:#a0abba;font-size:7px;letter-spacing:1px}#calendarScroll{height:calc(100vh - 419px);min-height:335px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d3df transparent}#calendarGrid{display:grid;grid-template-columns:56px repeat(5,minmax(0,1fr));position:relative}.time-rail{position:relative}.time-label{position:absolute;right:10px;transform:translateY(-6px);font-size:9px;color:#8d99a9}.daycol{position:relative;border-left:1px solid var(--line);background-image:linear-gradient(to bottom,transparent calc(100% - 1px),#edf1f6 calc(100% - 1px));background-repeat:repeat}.daycol.drop-active{background-color:#eff5fd}.blocked{position:absolute;left:0;right:0;overflow:hidden;background:repeating-linear-gradient(135deg,#f2f5f8,#f2f5f8 5px,#eef2f6 5px,#eef2f6 6px);border-top:1px solid #e8edf2;border-bottom:1px solid #e8edf2;padding:5px 8px;font-size:9px;color:#8d9baa;pointer-events:none}.event{position:absolute;left:3px;right:5px;padding:5px 7px;border-radius:5px;border-left:3px solid;overflow:hidden;cursor:grab;user-select:none;font-size:10px;line-height:1.35;z-index:2;box-shadow:0 1px 2px #2135480a}.event:hover{filter:brightness(.985);box-shadow:0 2px 7px #21354820;z-index:3}.event-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-meta{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-members{font-size:9px;opacity:.85;margin-top:3px}.event.compact{padding:3px 6px}.event.compact .event-members{display:none}.resize-handle{position:absolute;left:0;right:0;height:8px;cursor:ns-resize;z-index:5;touch-action:none}.resize-handle.top{top:0}.resize-handle.bottom{bottom:0}.resize-handle:after{content:'';display:block;width:20px;height:2px;background:currentColor;opacity:0;margin:2px auto;border-radius:4px}.event:hover .resize-handle:after,.event:focus .resize-handle:after{opacity:.4}.event.dragging{opacity:.5}.event.resizing{opacity:.8;box-shadow:0 0 0 2px var(--blue)}.drop-target{box-shadow:0 0 0 3px var(--blue)!important}.resize-tooltip{position:fixed;background:#2c4056;color:white;padding:5px 8px;font-size:10px;border-radius:5px;z-index:100;pointer-events:none}.calendar-help{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;color:#97a2b0;padding:9px 1px}.calendar-empty{background:#eef4fc;border:1px solid #dfe9f6;border-radius:9px;padding:20px 23px;margin-top:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 20px}.calendar-empty strong{font-size:14px;font-weight:500}.calendar-empty p{font-size:11px;color:#7d8da1;max-width:680px}.calendar-empty .button{grid-column:2;grid-row:1/3}.pane-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin:25px 0 19px}.pane-heading h2{font-size:20px;font-weight:500;letter-spacing:-.4px;margin-bottom:6px}.pane-heading p{font-size:11px;color:#8492a3;line-height:1.75;max-width:740px}.coverage-student{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:13px;overflow:hidden}.coverage-student summary{display:flex;align-items:center;gap:11px;padding:15px 18px;cursor:pointer;list-style:none}.coverage-student summary strong{font-size:12px}.coverage-student summary small{display:block;font-size:10px;color:#8994a3}.coverage-student summary .right{margin-left:auto;font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}th{font-size:9px;font-weight:500;white-space:nowrap;color:#7c8c9e;padding:11px 15px;background:#f5f8fc}td{border-top:1px solid #eaf0f5;padding:13px 15px;vertical-align:top}td strong{font-size:11px;font-weight:600}.table-card{border:1px solid var(--line);border-radius:9px;background:white;overflow:auto}.subtle{font-size:10px;color:#8b97a6}.block{display:block}.gap-text{color:#a47331}.met-text{color:#4c865e}.source-note{font-size:11px;color:#8796a7;line-height:1.8;padding:6px 15px;border-left:3px solid #dbe5f2;margin:18px 0}.levers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.levers article{background:white;border:1px solid var(--line);padding:22px;border-radius:9px}.levers h3{font-size:14px;font-weight:500;margin:7px 0 9px}.levers p{font-size:11px;color:#8290a2;line-height:1.85}.notice{border-radius:7px;padding:16px 18px;background:#edf3fb;color:#617994;font-size:11px;line-height:1.8;margin:16px 0}.notice strong{font-size:12px;color:#486681;font-weight:600}.notice p{margin-top:6px}.notice ul{padding-left:18px;margin:6px 0 0}.notice.warning{background:#fff1dd;color:#946c34}.notice.warning strong{color:#8f6330}.notice.privacy-notice{background:#edf5f1;color:#678374}.notice.privacy-notice strong{color:#4d755f}.setup-nav{display:flex;gap:8px;margin:0 0 25px;flex-wrap:wrap}.setup-nav button{font-size:11px;color:#8593a3;padding:9px 14px;border-radius:6px;background:#edf2f8;border:1px solid transparent}.setup-nav button.active{background:#fff;border-color:#bbcee8;color:#3265a7}.settings-card,.setup-card{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.settings-card{padding:25px;max-width:1000px}.setup-card-heading{padding-bottom:20px;margin-bottom:5px}.setup-card-heading h3,.section-toolbar h3{font-size:16px;font-weight:500;margin-bottom:5px}.setup-card-heading p,.section-toolbar p{font-size:11px;color:#8b96a5}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.class-card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px}.class-card-head h3{font-size:14px;font-weight:600}.class-card-head p{font-size:10px;color:#8c97a5;margin-top:3px}.row-actions{display:flex;align-items:center;gap:13px;white-space:nowrap}.row-actions button{font-size:10px}.card-footer{border-top:1px solid #ecf0f6;padding:12px 20px}.card-footer button{font-size:11px}.subject-pill{padding:4px 8px;font-size:10px;border-radius:4px;display:inline-block}.settings-bottom{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:12px 5px;max-width:1000px}.settings-bottom h3{font-size:12px;font-weight:500;margin-bottom:5px}.settings-bottom p{font-size:10px;line-height:1.8;color:#8e99a8;max-width:650px}.empty-state{padding:48px 25px;background:white;border:1px dashed #d5deeb;border-radius:10px;text-align:center;margin:12px 0}.empty-state h3,.empty-state h2{font-size:19px;font-weight:500;letter-spacing:-.4px}.empty-state p{font-size:12px;color:#8b97a7;line-height:1.85;margin:10px auto 21px;max-width:470px}.empty-symbol{font-size:29px;display:block;color:#86a6d3;margin-bottom:16px}.empty{padding:18px;color:#8b97a6;font-size:11px}.form-row{display:flex;gap:17px;margin-bottom:17px}.form-row>label{flex:1;min-width:0}.settings-card label,.modal-body label{display:block;font-size:11px;font-weight:500;color:#657b92}.settings-card>label,.modal-body>label{margin-bottom:16px}input:not([type=checkbox]),select,textarea{border:1px solid #d6e0ec;border-radius:5px;background:white;padding:10px 11px;min-width:0}.settings-card input,.settings-card select,.modal-body input:not([type=checkbox]),.modal-body select,.modal-body textarea{display:block;width:100%;margin-top:6px;font-size:12px}.settings-card label input:focus,.modal-body label input:focus{border-color:#80a6d7}.modal-body textarea{resize:vertical}.form-explanation{font-size:10px;color:#8f9cac;line-height:1.8;flex:1;align-self:center;padding-top:10px}.form-actions{display:flex;align-items:center;gap:10px;margin-top:23px}.form-error{font-size:11px;color:#ac514b;line-height:1.7}.form-error:empty{display:none}.form-intro{font-size:12px;color:#8190a3;line-height:1.8;margin:0 0 18px}.field-help{font-size:10px;color:#8a98aa;line-height:1.85;margin:7px 0 15px}.optional{font-size:9px;color:#98a4b4;font-weight:400;margin-left:5px}.check-label{display:flex!important;align-items:flex-start;gap:8px;font-size:11px!important;font-weight:400!important;line-height:1.7}.check-label input{margin:3px 0 0;flex:none;accent-color:var(--blue)}fieldset{border:0;padding:0;margin:20px 0}legend{font-size:11px;font-weight:600;color:#617991}.weekday-choices{display:flex;gap:7px;margin-top:8px}.weekday-choices label{flex:1;cursor:pointer}.weekday-choices input{position:absolute;opacity:0;width:1px;height:1px}.weekday-choices span{display:block;border:1px solid #dce4ef;border-radius:6px;padding:8px 5px;text-align:center;font-size:11px;color:#8c99a8}.weekday-choices input:checked+span{background:#eaf2ff;border-color:#9fbae3;color:#3b6cae}.weekday-choices input:focus-visible+span{outline:3px solid #89b7f1;outline-offset:2px}#memberChoices{display:flex;flex-direction:column;gap:7px}.service-choice{display:flex!important;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e1e7f0;border-radius:6px}.service-choice>span{width:35%;flex:none}.service-choice strong{display:block;font-size:11px;color:#596f88}.service-choice small{display:block;font-size:9px;color:#97a3b1;font-weight:400}.service-choice select{margin:0;min-width:0;padding:7px 8px;font-size:10px;flex:1}.service-choice.unavailable{opacity:.5}.service-choice:has(option:checked:not([value=""])){background:#f4f8fe}.detail-total{display:flex;align-items:baseline;gap:8px;margin:16px 0 20px}.detail-total strong{font-size:30px;font-weight:500;color:#4d79b5}.detail-total span{font-size:11px;color:#8999ac}.detail-sessions{list-style:none;padding:0;margin:10px 0 25px}.detail-sessions li{padding:11px 0;border-top:1px solid var(--line);font-size:11px}.detail-sessions button{display:block;text-align:left;width:100%;padding:0}.detail-sessions small{display:block;color:#8d9caf;margin-top:3px}.modal-body h3{font-size:14px;font-weight:500}.download-links{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0}dialog{border:0;padding:0;background:white;color:var(--ink);width:580px;max-width:calc(100vw - 30px);max-height:92vh;border-radius:13px;box-shadow:0 15px 90px #17314c40}dialog::backdrop{background:#263e5650;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid var(--line);gap:15px}.modal-head h2{font-size:20px;font-weight:500;letter-spacing:-.5px}.modal-body{padding:23px 25px;overflow:auto;max-height:calc(92vh - 150px)}.modal-body>p{line-height:1.8}.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid var(--line)}.modal-footer>div{display:flex;gap:9px}.modal-error{padding:10px 24px;background:#fff0ee;border-top:1px solid #f0d5d0;margin:0}dialog:has(.modal-error:not(:empty)) .modal-body{max-height:calc(92vh - 210px)}.wide-dialog{width:860px}.wide-dialog .modal-body{max-height:calc(92vh - 172px)}.proposal-summary{display:flex;gap:35px;padding:0 0 10px}.proposal-summary>div{flex:1}.proposal-summary strong{font-size:31px;font-weight:500;letter-spacing:-1px;color:#4e78af;display:block}.proposal-summary span{font-size:10px;color:#8e9bad}.proposal-section-title{margin:27px 0 14px}.assistant-panel{background:white;border-left:1px solid var(--line);height:calc(100vh - 77px);position:sticky;top:0;display:flex;flex-direction:column;min-width:0}.assistant-head{display:flex;align-items:center;justify-content:space-between;padding:23px 20px 17px}.assistant-head h2{font-size:22px;letter-spacing:-.7px;font-weight:500}.assistant-head .eyebrow{font-size:8px}.assistant-model{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 20px 16px;font-size:9px;color:#8594a5}.assistant-model button{font-size:10px}.ai-disclosure{padding:15px 20px;background:#f1f6fc;border-bottom:1px solid #e2ebf5;font-size:9px;color:#7e91a7;line-height:1.8}.ai-disclosure strong{font-size:11px;color:#567598}.ai-disclosure p{margin:5px 0 10px}.ai-disclosure .check-label{font-size:9px!important;color:#587492}.chat-messages{overflow:auto;flex:1;padding:19px 16px;scrollbar-width:thin}.chat-message{font-size:11px;line-height:1.9;padding:12px 13px;border-radius:9px;margin-bottom:13px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.assistant{background:#f1f5f9;color:#607890;margin-right:13px}.chat-message.user{background:#e8f0fc;color:#4b719f;margin-left:18px}.chat-message.pending{color:#8b9cb0;font-style:italic}.chat-form{padding:15px;border-top:1px solid var(--line)}.chat-form textarea{width:100%;font-size:11px;resize:vertical;min-height:74px;max-height:160px;border-radius:7px}.chat-form>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.chat-form>div>span{font-size:9px;color:#95a2b2}.chat-form .button{font-size:10px;padding:6px 11px}.chat-form .form-error{font-size:10px;margin-top:9px}.chat-proposal{background:#eaf3ee;border:1px solid #d8e8df;border-radius:8px;padding:15px;color:#5c816b;font-size:11px;margin-bottom:14px}.chat-proposal p{font-size:10px;line-height:1.8;margin:6px 0 12px}.chat-proposal .button{font-size:10px;background:#4c8162;border-color:#4c8162}.assistant-open .layout{grid-template-columns:219px minmax(0,1fr) 330px}.assistant-open main{padding-right:20px;padding-left:12px}.assistant-open .summary{gap:14px;padding:14px}.assistant-open .metric{padding-right:13px}.assistant-open .metric.primary-metric{min-width:150px}.assistant-open .metric strong{font-size:20px}.assistant-open .metric small{display:block;margin:0}.mobile-menu,.mobile-day{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(15px);padding:13px 21px;background:#30465c;color:white;box-shadow:0 7px 25px #1f354b25;border-radius:7px;font-size:11px;max-width:min(90vw,650px);opacity:0;pointer-events:none;z-index:200;transition:opacity .16s,transform .16s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:35px;background:#f3f7fd}.auth-card{width:450px;max-width:100%;background:white;border:1px solid #e0e7f1;border-radius:16px;box-shadow:0 15px 60px #3154830b;padding:38px}.auth-card .brand{margin-bottom:37px}.auth-card h1{font-size:29px;font-weight:500;letter-spacing:-.8px}.auth-card>p{font-size:12px;color:#8595a7;line-height:1.9;margin:8px 0 24px}.auth-card label{display:block;font-size:11px;color:#6d8099;margin-bottom:16px}.auth-card input{display:block;width:100%;margin-top:6px}.auth-card .check-label input{width:auto;display:inline}.auth-card .button.primary{width:100%;margin-top:6px}.auth-switch{margin-top:20px;text-align:center}.auth-card .privacy-notice{font-size:10px}.auth-card .form-error{margin-bottom:12px}.account-button{font-size:10px;color:#8b98aa;padding:5px}.snapshot-controls{display:flex;align-items:center;gap:7px;margin-top:14px}.snapshot-controls select{padding:6px 8px;font-size:10px;max-width:180px;background:white}.snapshot-controls .button{padding:6px 9px;font-size:10px}.snapshot-label{font-size:9px;color:#8b9bad}.workspace-head.has-snapshots{align-items:flex-start}.account-state .local-label{display:none}
@media(min-width:1600px){.layout{grid-template-columns:260px minmax(0,1fr)}main{padding-left:21px;padding-right:35px}.sidebar{padding-left:27px}.assistant-open .layout{grid-template-columns:240px minmax(0,1fr) 355px}.event{font-size:11px}.event-meta,.event-members{font-size:10px}}
@media(max-width:1200px){.topbar{gap:15px;padding:0 20px}.brand{font-size:19px}.workspace-select{padding-left:13px;max-width:220px}.metric{padding-right:15px}.summary{gap:15px;padding:15px}.metric.primary-metric{min-width:165px}.metric strong{font-size:21px}.metric small{display:block;margin:0}.layout{grid-template-columns:218px minmax(0,1fr)}main{padding-right:18px;padding-left:10px}.sidebar{padding-left:15px;padding-right:15px}.assistant-open .layout{grid-template-columns:190px minmax(0,1fr) 315px}.assistant-open .sidebar{padding-left:12px;padding-right:12px}.assistant-open .summary{flex-wrap:wrap;gap:11px}.assistant-open .metric.primary-metric{flex-basis:100%;border:0;display:grid;grid-template-columns:1fr 1fr;padding:0}.assistant-open .metric.primary-metric .metric-value{grid-column:2;grid-row:1/3;text-align:right}.assistant-open .summary-progress{margin:0}.assistant-open .metric.primary-metric small{display:inline}.assistant-open .metric{flex:1}.assistant-open .workspace-head h1{font-size:22px}.assistant-open .build-button{font-size:10px;padding:8px 10px}.assistant-open .local-label,.assistant-open .tool-note{display:none}.assistant-open .event{font-size:9px;padding-left:4px}.assistant-open .event-meta,.assistant-open .event-members{font-size:8px}.assistant-open .calendar-tools>div{gap:8px}.assistant-open .form-row{flex-wrap:wrap}.assistant-open .form-row>label{min-width:120px}.assistant-open .setup-nav{gap:5px}.assistant-open .setup-nav button{font-size:10px;padding:7px 8px}}
@media(max-width:980px){#saveStatus{display:none}.topbar{gap:13px}.workspace-select{min-width:100px;max-width:200px}.assistant-open .layout{grid-template-columns:218px minmax(0,1fr)}.assistant-panel{position:fixed;z-index:15;right:0;top:77px;width:350px;max-width:100vw;box-shadow:-12px 0 40px #28446220}.assistant-open .metric.primary-metric{display:block;flex-basis:auto}.assistant-open .summary{flex-wrap:nowrap}.assistant-open .metric{flex:0 1 auto}.assistant-open .metric.primary-metric{flex:1;min-width:150px;border-right:1px solid var(--line);padding-right:13px}.assistant-open .metric.primary-metric .metric-value{text-align:left}.assistant-open .summary-progress{margin-top:7px}.assistant-open .event{font-size:10px}.assistant-open .event-meta,.assistant-open .event-members{font-size:9px}.tool-note{display:none}.calendar-tools>div{gap:11px}.settings-card{padding:20px}.form-row{gap:12px}.settings-bottom{align-items:start}.setup-nav{gap:6px}.setup-nav button{padding:8px 10px}.local-label{display:none}.top-actions{gap:6px}.top-actions .button{font-size:11px;padding:7px 10px}}
@media(max-width:760px){.topbar{height:64px;padding:0 12px;gap:9px}.brand{font-size:16px;gap:8px}.calendar-logo{width:29px;height:33px}.calendar-logo span{padding:3px;font-size:6px}.calendar-logo b{font-size:21px;line-height:23px}.workspace-select{display:none}.top-actions{gap:5px}.top-actions .button{padding:6px 8px;font-size:11px}.top-actions .button span{display:none}.top-actions #logoutButton{display:none}.mobile-menu{display:inline-flex}.layout,.assistant-open .layout{display:block}.sidebar,.assistant-open .sidebar{display:none;position:fixed;top:64px;left:0;bottom:0;width:265px;height:auto;z-index:20;box-shadow:8px 0 35px #1d354f24;background:var(--bg);padding:22px}.sidebar.mobile-open{display:block}.sidebar .student-name{max-width:135px}.sidebar .student-class{max-width:140px}main,.assistant-open main{padding:18px 13px}.workspace-head{margin-bottom:19px;gap:10px}.workspace-head h1,.assistant-open .workspace-head h1{font-size:23px}.workspace-head p{font-size:10px}.eyebrow{font-size:8px}.build-button,.assistant-open .build-button{font-size:10px;padding:9px 11px}.main-nav{margin-bottom:17px}.main-nav nav{gap:26px}.main-nav nav button{font-size:11px;padding-bottom:10px}.summary,.assistant-open .summary{flex-wrap:wrap;gap:12px;padding:13px}.metric,.assistant-open .metric{flex:1;padding-right:10px}.metric.primary-metric,.assistant-open .metric.primary-metric{flex-basis:100%;border:0;display:grid;grid-template-columns:1fr 1fr;padding:0;min-width:0}.metric.primary-metric .metric-value,.assistant-open .metric.primary-metric .metric-value{grid-column:2;grid-row:1/3;text-align:right}.metric.primary-metric small,.assistant-open .metric.primary-metric small{display:inline}.summary-progress,.assistant-open .summary-progress{margin-top:1px}.metric strong,.assistant-open .metric strong{font-size:21px}.metric small{font-size:9px}.metric-label{font-size:9px}.status-banner{font-size:9px;padding:10px;gap:7px;align-items:start}.status-banner .text-button{font-size:9px}.status-icon{font-size:14px;margin-top:1px}.calendar-tools{font-size:9px;flex-wrap:wrap;gap:7px}.calendar-tools>div{gap:9px;flex-wrap:wrap;max-width:65%}.calendar-tools .dot{width:7px;height:7px}.mobile-day{display:flex;align-items:center;gap:5px;font-size:9px}.mobile-day select{padding:5px 6px;font-size:10px}.day-headers,#calendarGrid{grid-template-columns:45px minmax(0,1fr)}.day-head:not(.selected-day),.daycol:not(.selected-day){display:none}.day-head{height:49px;font-size:12px}.day-head small{font-size:9px}#calendarScroll{height:550px;min-height:300px}.time-label{font-size:9px}.event,.assistant-open .event{font-size:12px;padding:5px 8px}.event-meta,.event-members,.assistant-open .event-meta,.assistant-open .event-members{font-size:10px}.calendar-help{font-size:8px}.calendar-help span:last-child{display:none}.calendar-empty{display:block;padding:19px}.calendar-empty p{margin:7px 0 15px;font-size:11px}.calendar-empty .button{font-size:11px}.pane-heading{margin:24px 0 18px}.pane-heading h2{font-size:19px}.pane-heading p{font-size:10px}.coverage-student summary{padding:13px 12px}.coverage-student summary .right{font-size:10px}.coverage-student table{min-width:600px}.levers{grid-template-columns:1fr;gap:12px}.levers article{padding:19px}.table-card table{min-width:580px}.source-note{font-size:10px}.section-toolbar{align-items:start}.section-toolbar h3{font-size:15px}.section-toolbar p{font-size:10px;max-width:230px}.section-toolbar .button{font-size:10px;padding:7px 9px}.setup-nav{gap:6px}.setup-nav button{padding:7px 10px;font-size:10px}.settings-card{padding:19px}.settings-card .form-row{flex-wrap:wrap}.settings-card .form-row>label{min-width:125px}.settings-card .form-row>.form-explanation{min-width:150px;padding-top:0}.settings-bottom{display:block;padding:3px}.settings-bottom .button{margin-top:13px}.setup-card table{min-width:550px}.class-card-head{padding:16px}.empty-state{padding:35px 20px}.empty-state h3{font-size:18px}.empty-state p{font-size:11px}.notice{font-size:10px;padding:14px}.notice strong{font-size:11px}.assistant-panel{top:64px;height:calc(100dvh - 64px);width:360px}.assistant-head{padding-top:20px}.modal-head{padding:17px 18px}.modal-head h2{font-size:19px}.modal-body{padding:20px 18px}.modal-footer{padding:14px 18px}.modal-footer .button{padding:8px 10px;font-size:10px}.modal-footer>.subtle{max-width:125px;font-size:9px}.modal-error{padding:10px 18px}.modal-body .form-row{gap:10px}.modal-body label{font-size:10px}.modal-body input,.modal-body select{font-size:11px!important}.form-explanation{font-size:9px}.modal-body .form-row>label{min-width:0}.service-choice{padding:8px}.service-choice>span{width:32%}.service-choice strong{font-size:10px}.service-choice select{font-size:10px!important}.proposal-summary{gap:18px}.proposal-summary strong{font-size:27px}.proposal-summary span{font-size:9px}.wide-dialog .modal-body table{min-width:590px}.wide-dialog .modal-footer{align-items:start}.wide-dialog .modal-footer>div{gap:7px}.auth-screen{padding:18px}.auth-card{padding:29px 24px}.snapshot-controls{flex-wrap:wrap;gap:6px}.snapshot-controls select{max-width:140px}.snapshot-label{display:none}.workspace-head.has-snapshots{flex-wrap:wrap}.workspace-head.has-snapshots>.build-button{align-self:start}.mobile-workspace-control{display:flex;gap:6px;align-items:center;margin:0 0 20px}.mobile-workspace-control select{width:100%;font-size:11px;padding:8px;min-width:0}.mobile-workspace-control .icon-button{border:1px solid var(--line)}.mobile-signout{font-size:10px;color:#8b98aa;margin:10px 0}}
@media(min-width:761px){.mobile-workspace-control,.mobile-signout{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.signed-out>.topbar,.signed-out>.layout{display:none}.signed-out #toast{display:block}.has-snapshots~.main-nav{margin-top:1px}.calendar-empty:not([hidden])+.calendar-help{display:none}
.auth-recovery{margin-top:17px;text-align:center}.auth-recovery .text-button{font-size:11px}.auth-notice{font-size:11px;margin:0 0 19px;color:#597c6b;background:#edf5f1}.auth-card:has(.auth-recovery) .auth-switch{border-top:1px solid var(--line);padding-top:19px;margin-top:19px}
@media(max-width:760px){.metric.primary-metric .metric-value small,.assistant-open .metric.primary-metric .metric-value small{display:block;margin:2px 0 0;line-height:1.35}}
/* Public account entry: clear signup and sign-in, aligned with the product site. */
.auth-screen{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:34px;background:#f7f6f0;padding:32px 5vw 56px;min-height:100svh}
.auth-home{color:#546272;text-decoration:none;font-size:13px;align-self:flex-start}.auth-home:hover{text-decoration:underline}
.auth-layout{width:100%;max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1fr 470px;align-items:center;gap:80px}
.auth-welcome .brand{margin-bottom:55px}.auth-welcome .eyebrow{font-size:10px;letter-spacing:1.8px;color:#5a746b;margin-bottom:20px}
.auth-welcome h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(35px,4vw,54px);font-weight:400;line-height:1.1;letter-spacing:-1.5px;color:#173a37;margin-bottom:22px}
.auth-welcome>p{font-size:15px;color:#5e6b73;line-height:1.8;max-width:410px}.auth-welcome ul{list-style:none;padding:0;margin:28px 0 36px;font-size:13px;color:#40534f;display:grid;gap:14px}.auth-welcome li:before{content:'✓';margin-right:12px;color:#31765d}
.auth-privacy{max-width:410px;border-left:2px solid #d3dfd5;padding-left:18px}.auth-privacy strong{font-size:12px;color:#35554b}.auth-privacy p{font-size:12px;line-height:1.8;color:#68766f;margin-top:5px}
.auth-card{width:100%;border:1px solid #dde2de;box-shadow:0 12px 48px #20372f07;border-radius:14px;padding:32px 34px}.auth-card h1{font-size:27px;line-height:1.2;color:#183b37;font-weight:500;letter-spacing:-.7px}.auth-card>p{font-size:13px;color:#657574;line-height:1.7;margin:10px 0 23px}.auth-card label{font-size:12px;color:#435e5b}.auth-card input{min-height:43px;border-color:#d5deda;font-size:14px}.auth-card .check-label input{min-height:0;width:16px;height:16px;flex:none;margin:3px 0 0}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e3e8e5;margin-bottom:30px;gap:10px}.auth-tabs button{padding:10px 4px 13px;border-bottom:2px solid transparent;color:#71827e;font-size:13px}.auth-tabs button.active{color:#193f37;border-color:#193f37;font-weight:600}
.google-signin{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;height:44px;width:100%;background:white;border:1px solid #747775;border-radius:5px;color:#1f1f1f;font:500 14px/20px 'Google Sans','Avenir Next',sans-serif;padding:0 12px}.google-signin img{display:block;width:20px;height:20px;object-fit:contain;flex:none}.google-signin:hover{background:#f7f8f8;box-shadow:0 1px 3px #263d3220}.auth-card>p.google-help{font-size:11px;text-align:center;color:#71817a;margin:10px 0 20px}
.auth-divider{height:20px;display:flex;align-items:center;gap:13px;color:#86938c;font-size:11px;margin:17px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#e3e8e4;flex:1}.auth-card .button.primary{min-height:43px;font-size:13px;background:#2468d5}.auth-agreement{display:flex!important;gap:9px;align-items:flex-start;font-size:11px!important;line-height:1.6;margin-top:18px}.auth-card .field-help{font-size:11px;color:#78847e}.auth-bottom-note{font-size:10px!important;text-align:center;color:#839089!important;margin:23px 0 0!important}.auth-switch .text-button{font-size:12px;color:#295747}.auth-notice{padding:12px;font-size:12px!important}.auth-recovery .text-button{font-size:12px}.auth-card .form-error{font-size:12px;line-height:1.6}
@media(max-width:900px){.auth-layout{gap:35px;grid-template-columns:1fr minmax(350px,450px)}.auth-welcome h2{font-size:40px}.auth-welcome .brand{font-size:18px}.auth-welcome>p{font-size:13px}}
@media(max-width:700px){.auth-screen{padding:22px 18px 35px;gap:24px;justify-content:flex-start}.auth-layout{display:flex;flex-direction:column;gap:25px;max-width:450px}.auth-welcome{width:100%}.auth-welcome .brand{margin:5px 0 0}.auth-welcome .eyebrow,.auth-welcome h2,.auth-welcome>p,.auth-welcome ul,.auth-privacy{display:none}.auth-card{padding:25px 23px}.auth-card h1{font-size:25px}.auth-home{font-size:12px}.auth-tabs{margin-bottom:24px}.auth-screen .calendar-logo{width:30px;height:35px}.auth-card .auth-agreement{font-size:11px!important}}

.brand-mark{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:27px;height:28px;flex:none;padding:3px;border:1.5px solid #245ac9;border-radius:5px;transform:rotate(-3deg)}.brand-mark i{background:#245ac9;border-radius:1px}.brand-mark i:nth-child(2){opacity:.28}.brand-mark i:nth-child(3){opacity:.56}
.auth-screen{background:#fbfaf6}.auth-welcome h2,.auth-card h1{color:#182f45}.auth-welcome h2{font-family:'Iowan Old Style','Palatino Linotype','Book Antiqua',Palatino,serif}.auth-welcome .eyebrow{color:#52708b}.auth-tabs button.active{color:#245ac9;border-color:#245ac9}
@media(prefers-reduced-motion:reduce){.brand-mark{transform:none}}

/* Invite-only entry and owner-managed access. */
.auth-pilot-label{display:inline-block;font-size:10px;font-weight:600;letter-spacing:1.4px;color:#52708b;background:#eef3f7;border:1px solid #dbe4ec;border-radius:4px;padding:5px 8px;margin-bottom:20px}
.auth-card>p.auth-access-note{font-size:12px;border-top:1px solid var(--line);padding-top:18px;margin:18px 0 0;text-align:center;line-height:1.65;color:#657574}
.access-dialog{width:min(650px,calc(100vw - 30px));max-width:650px}.access-intro{font-size:13px;line-height:1.75;color:#637689;max-width:520px}.access-form{display:flex;align-items:end;gap:12px;margin-top:24px}.access-form label{flex:1;min-width:0;font-size:12px}.access-form input{min-height:42px}.access-form .button{min-height:42px;margin-bottom:0}.access-help{margin-top:12px;font-size:11px;line-height:1.7;color:#7b8997}.access-notice{font-size:12px;line-height:1.6;color:#376e53;background:#edf5ef;padding:12px;border-radius:5px;overflow-wrap:anywhere}.access-notice:empty{display:none}.access-list-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.access-list-heading h3{font-size:13px;font-weight:600}.access-list{border-top:1px solid var(--line)}.access-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.access-avatar{width:32px;height:32px;flex:none;border-radius:50%;background:#eaf1fa;color:#5b79a1;display:flex;align-items:center;justify-content:center;font-size:15px}.access-person{min-width:0;flex:1}.access-person strong{font-size:12px;display:block;font-weight:600;overflow-wrap:anywhere}.access-person>span{display:block;font-size:10px;color:#84919f;margin-top:3px}.access-status{font-size:9px;border-radius:4px;padding:3px 6px;white-space:nowrap;background:#edf4ee;color:#537e60}.access-status.revoked{background:#f4eeee;color:#99736d}.access-row .text-button,.access-owner-label{font-size:10px;min-width:65px;text-align:right}.access-owner-label{color:#84919f}.access-empty{font-size:12px;color:#84919f;padding:18px 0}.access-dialog .form-error{font-size:12px;margin:12px 0;line-height:1.6}
@media(min-width:761px){.mobile-access{display:none!important}}
@media(max-width:760px){#manageAccess{display:none}.access-form{display:block;margin-top:20px}.access-form .button{margin-top:12px;width:100%}.access-row{gap:8px;flex-wrap:wrap}.access-person{flex-basis:calc(100% - 42px)}.access-status{margin-left:40px}.access-row .text-button,.access-owner-label{margin-left:auto;min-width:0}.access-dialog .modal-body{padding:20px}.access-dialog .modal-body input{font-size:14px!important}.access-intro{font-size:12px}}

/* Source-led import: a quiet paper desk beside editable scheduling records. */
.sidebar-import{width:100%;font-size:10px!important;margin:15px 0 3px;padding:10px 6px;white-space:normal;background:#edf3fd;color:#285eaf;border-color:#cfdef4}.import-empty-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.setup-import-callout{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #d7e3f3;background:#eff5fc;border-radius:9px;padding:18px 22px;margin:4px 0 23px}.setup-import-callout strong{font-size:13px;font-weight:600}.setup-import-callout p{font-size:11px;color:#6c7e91;margin-top:4px}
.import-dialog{width:min(1220px,calc(100vw - 56px));max-width:1220px;max-height:calc(100svh - 48px);padding:0;border:1px solid #d8e1eb;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 110px #142d4d33}.import-dialog[open]{display:flex;flex-direction:column}.import-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 30px 22px;background:#fbfaf6}.import-modal-head .eyebrow{font-size:9px;letter-spacing:1.8px;color:#647d94;margin:0 0 8px}.import-modal-head h2{font-family:'Iowan Old Style','Palatino Linotype',Palatino,serif;font-size:31px;line-height:1.2;font-weight:400;color:#203a51;letter-spacing:-.7px}.import-modal-head .icon-button{margin-top:3px;background:white;border:1px solid #e2e5e7;border-radius:50%;width:32px;height:32px;flex:none}.import-steps{display:flex;list-style:none;padding:13px 30px;margin:0;border-top:1px solid #f0eee7;border-bottom:1px solid #e3e8ee;gap:38px;background:#fff}.import-steps li{display:flex;align-items:center;gap:8px;font-size:11px;color:#8b96a2;white-space:nowrap}.import-steps li>span{border:1px solid #dbe2e8;background:#f6f8fa;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;font-size:10px}.import-steps li.current{color:#245fc0;font-weight:600}.import-steps li.current>span{color:white;background:#2468d5;border-color:#2468d5}.import-content{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1}.import-choose-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:35px;padding:28px 30px}.import-drop{padding:25px 18px 21px;background:#f5f8fd;border:1.5px dashed #afc7e9;border-radius:10px;text-align:center;transition:background .15s,border-color .15s}.import-drop.drag-over{background:#e1edfd;border-color:#2768cb}.import-upload-symbol{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 13px;background:white;border:1px solid #e0e8f3;border-radius:11px;font-size:26px;color:#4278be;box-shadow:0 3px 9px #294d8410}.import-drop h3{font-size:16px;font-weight:500;color:#334f6e}.import-drop p{font-size:12px;color:#72869c;margin:5px 0 17px}.import-drop .button{padding:9px 23px}.import-formats{display:block;font-size:10px;color:#60758d;margin-top:17px;line-height:1.7}.import-drop>small{display:block;font-size:9px;color:#8192a7;margin-top:5px}.import-paste-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:25px 0 10px}.import-paste-heading h3{font-size:12px;font-weight:600}.import-paste-heading>span{font-size:10px;color:#8a98a6}.import-pasted{resize:vertical;min-height:100px;max-height:260px;width:100%;background:#fcfdfd;border:1px solid #d9e3ec;border-radius:7px;padding:13px;font-size:12px;line-height:1.75}.import-pasted::placeholder{color:#9ba8b5}.import-file-list{display:grid;gap:7px;margin-top:12px}.import-file-row{display:flex;align-items:center;gap:11px;border:1px solid #e1e8ef;border-radius:7px;padding:9px 10px}.import-file-row>div{flex:1;min-width:0}.import-file-row strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.import-file-row div>span{font-size:9px;color:#8998a7}.import-file-badge{background:#ecf3fc;color:#4873aa;border-radius:5px;font-size:8px;font-weight:600;padding:8px 6px;min-width:33px;text-align:center}.import-file-row .icon-button{font-size:16px;width:25px;height:25px}.import-guide{padding:8px 0 0 8px}.import-guide>.eyebrow{font-size:9px;color:#81908c;letter-spacing:1.5px}.import-guide>h3{font-family:'Iowan Old Style',Palatino,serif;font-size:25px;color:#304940;font-weight:400;margin:8px 0 20px}.import-guide ol{list-style:none;counter-reset:import-guide;padding:0;margin:0;display:grid;gap:20px}.import-guide li{counter-increment:import-guide;position:relative;padding-left:30px}.import-guide li:before{content:counter(import-guide);position:absolute;left:0;top:0;font-size:10px;background:#eff3ef;color:#648273;border:1px solid #dbe7df;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.import-guide li>b{display:block;font-size:12px;font-weight:600}.import-guide li>span{display:block;font-size:11px;line-height:1.7;margin-top:3px;color:#7e8b92}.import-responsibility{border-left:2px solid #c8dacf;padding-left:13px;margin:24px 0 14px}.import-responsibility strong{font-size:11px;color:#446857}.import-responsibility p{font-size:10px;color:#7a8b81;line-height:1.75;margin-top:5px}.import-check{font-size:10px!important;line-height:1.7;align-items:flex-start!important}.import-check input{flex:none;margin-top:2px;width:15px!important;height:15px!important}.import-format-help{font-size:10px;color:#7b8b98;margin-top:16px;line-height:1.8}.import-format-help summary{cursor:pointer;color:#54738a}.import-format-help p{margin-top:7px}.import-footer{border-top:1px solid #dfe6ee;padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;background:#fff}.import-footer>span{font-size:10px;color:#8693a1;max-width:410px}.import-footer>div{display:flex;gap:9px;align-items:center}.import-footer .button{padding:10px 16px}.import-error{margin:0!important;padding:0 28px 15px!important;flex:none;font-size:12px;line-height:1.6;background:#fff;color:#a4463c;max-height:135px;overflow:auto}.import-error:empty{display:none}.import-progress{text-align:center;min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;gap:12px}.import-progress .eyebrow{font-size:9px;margin-top:12px}.import-progress h3{font-family:'Iowan Old Style',Palatino,serif;font-size:27px;font-weight:400;color:#315370}.import-progress p{font-size:12px;overflow-wrap:anywhere;max-width:650px}.import-progress p.subtle{font-size:11px}.import-progress-ring{width:42px;height:42px;border:2px solid #e2ebf6;border-top-color:#2468d5;border-radius:50%;animation:import-spin 1.1s linear infinite}@keyframes import-spin{to{transform:rotate(360deg)}}
.import-source-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,1fr);min-height:510px}.import-source-panel{min-width:0;display:flex;flex-direction:column;background:#f5f6f2;border-right:1px solid #e0e5df;padding:23px;min-height:350px}.import-source-heading .eyebrow{font-size:9px;letter-spacing:1.7px;color:#7a877f;margin-bottom:10px}.import-source-heading select{width:100%;font-size:12px;border:1px solid #d8dfd8;border-radius:6px;padding:9px 10px;background:#fff;max-width:100%;overflow:hidden;text-overflow:ellipsis}.import-source-panel>textarea{flex:1;width:100%;min-height:290px;resize:vertical;max-height:700px;border:1px solid #dbe1d8;background:#fffefa;border-radius:7px;margin-top:15px;padding:16px;font:11px/1.85 'SFMono-Regular',Consolas,monospace;color:#576354;tab-size:3;white-space:pre-wrap;overflow-wrap:anywhere}.import-source-note{font-size:10px;line-height:1.7;color:#8a9488;margin-top:10px}.import-source-warnings{font-size:10px;line-height:1.7;color:#9a7238}.import-source-warnings p{padding-top:9px}.import-parse-options{padding:25px 28px}.import-parse-options>.eyebrow{font-size:9px;letter-spacing:1.6px}.import-parse-options>h3{font-size:16px;font-weight:500;margin:8px 0}.import-parse-options>p{font-size:11px;color:#82909e;line-height:1.75}.import-purpose-options{display:grid;gap:7px;margin:18px 0 22px}.import-purpose{display:flex!important;align-items:center;gap:11px;border:1px solid #dce5ee;background:#fff;padding:11px 12px;border-radius:7px;cursor:pointer}.import-purpose:has(input:checked){border-color:#8badde;background:#f3f7fe}.import-purpose>input{width:14px!important;height:14px!important;margin:0;flex:none}.import-purpose>span:first-of-type{font-size:20px;line-height:1;color:#7b96b7;width:22px;text-align:center}.import-purpose strong{display:block;font-size:11px;font-weight:600}.import-purpose small{display:block;font-size:10px;color:#8b9aaa;margin-top:2px}.import-parse-options>.import-method-heading{font-size:12px;font-weight:600;margin:20px 0 13px}.import-method{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0;cursor:pointer}.import-method>input{width:14px!important;height:14px!important;flex:none;margin:2px 0 0}.import-method strong{display:block;font-size:11px;font-weight:500}.import-method small{display:block;font-size:10px;line-height:1.65;color:#8d99a7;margin-top:3px}.import-ai-disclosure{background:#f1f5fc;border:1px solid #d8e5f7;border-radius:7px;padding:12px;margin:14px 0;font-size:10px;color:#6b83a4}.import-ai-disclosure p{line-height:1.7;margin-bottom:9px}.import-ai-disclosure .check-label{font-size:10px;align-items:flex-start;line-height:1.7}.import-ai-disclosure input{flex:none;margin-top:3px;width:14px!important;height:14px!important}.import-ai-disclosure>small{display:block;margin:8px 0 0;font-size:9px;color:#8095ae}.import-parse-options>.import-server-note{font-size:9px;color:#98a3ac;border-top:1px solid #e5eaf0;padding-top:14px;margin-top:18px;line-height:1.75}
.import-review-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.4fr);align-items:start;min-height:500px}.import-review-layout>.import-source-panel{position:sticky;top:0;max-height:650px;min-height:500px;align-self:start}.import-review-layout .import-source-panel>textarea{min-height:330px;max-height:460px;resize:vertical}.import-review-records{padding:23px 25px;min-width:0}.import-review-top{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:18px}.import-review-top h3{font-size:13px;font-weight:600}.import-review-top p{font-size:10px;line-height:1.7;color:#8191a2;margin-top:5px}.import-review-top .button{font-size:10px;padding:7px 10px}.import-notes{background:#fff8ea;color:#977637;border:1px solid #eddfbd;padding:11px 13px;border-radius:7px;margin-bottom:17px;font-size:10px;line-height:1.75}.import-notes summary{cursor:pointer;font-weight:600}.import-notes ul{margin:6px 0 0;padding-left:18px}.import-record{border:1px solid #dce5ee;border-radius:8px;overflow:hidden;margin-bottom:14px;background:#fff}.import-record.needs-review{border-color:#e4c896}.import-record-heading{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #e8edf3;background:#f8fafc}.import-row-number{width:25px;height:25px;display:grid;place-items:center;border:1px solid #dce6f1;background:white;border-radius:6px;font-size:10px;color:#6083ae;flex:none}.import-record-heading h4{font-size:11px;font-weight:600;margin:0}.import-record-heading>div{min-width:0}.import-source-link{font-size:9px;color:#7790aa;display:block;padding:2px 0 0;max-width:100%;text-align:left;overflow-wrap:anywhere}.import-source-link:hover{text-decoration:underline}.import-include{margin-left:auto;display:flex!important;align-items:center;gap:5px;font-size:9px;flex:none}.import-include input{margin:0;width:13px!important;height:13px!important}.import-record-fields{padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.import-record-fields label{font-size:10px;color:#7d8b9a;display:block;min-width:0}.import-record-fields input,.import-record-fields select,.import-record-fields textarea{width:100%;min-width:0;display:block;border:1px solid #dbe4ed;border-radius:5px;background:#fff;padding:8px 9px;font-size:12px;margin-top:5px;color:#3b536c}.import-record-fields input[type=time]{min-height:36px}.import-record-fields select{height:36px}.import-record-fields textarea{resize:vertical;min-height:64px}.import-row-days{grid-column:1/-1;margin:0!important;padding:0!important;border:0!important;min-width:0}.import-row-days legend{font-size:10px;color:#7d8b9a;padding:0;margin-bottom:6px}.import-row-days>div{display:flex;gap:6px;flex-wrap:wrap}.import-row-days label{cursor:pointer}.import-row-days input{position:absolute;width:1px!important;height:1px!important;opacity:0;margin:0;padding:0}.import-row-days span{display:block;border:1px solid #dbe4ec;background:#fafbfd;border-radius:5px;padding:5px 10px;font-size:10px;color:#8b98a6}.import-row-days input:checked+span{border-color:#9bb9e3;background:#eaf2fd;color:#3a70bb}.import-row-days input:focus-visible+span{outline:2px solid #89b7f1;outline-offset:2px}.import-wide-field{grid-column:1/-1}.import-row-issues{font-size:10px;color:#a17e42;line-height:1.75;padding:0 14px 12px}.import-row-issues:empty{display:none}.import-record.excluded{opacity:.56}.import-record.excluded .import-record-fields{display:none}.import-record.excluded .import-row-issues{padding-top:9px}.import-record.excluded .import-record-heading{border:0}.import-no-rows{text-align:center;border:1px dashed #d5e0eb;border-radius:8px;padding:28px 24px;background:#f8fafd}.import-no-rows>span{font-size:25px;color:#91a6bf}.import-no-rows h3{font-size:14px;font-weight:500;margin:10px 0}.import-no-rows p{font-size:11px;color:#8594a5;line-height:1.8;margin-bottom:17px}.import-destination{background:#f7f9fb;border:1px solid #e1e7ef;border-radius:8px;padding:17px;margin-top:24px}.import-destination h3{font-size:12px;font-weight:600}.import-destination #importNameLabel{display:block;font-size:10px;color:#7e8fa1;margin-top:15px}.import-destination #importName{width:100%;display:block;border:1px solid #d9e2ee;border-radius:5px;background:white;padding:9px;margin-top:5px;font-size:12px}.import-final-check{font-size:10px!important;align-items:flex-start!important;line-height:1.75;border-top:1px solid #e2e9f0;margin-top:17px;padding-top:14px;color:#74889b}.import-final-check input{width:14px!important;height:14px!important;flex:none;margin-top:3px}.import-record input:disabled{background:#f6f8fa;color:#9ba8b6}
@media(max-width:850px){.import-dialog{width:calc(100vw - 30px);max-height:calc(100svh - 30px)}.import-modal-head{padding:22px}.import-modal-head h2{font-size:27px}.import-steps{padding:12px 22px;gap:24px}.import-choose-grid{gap:22px;padding:22px;grid-template-columns:1.2fr 1fr}.import-paste-heading{display:block}.import-paste-heading>span{display:block;margin-top:3px}.import-guide{padding-left:0}.import-source-layout{grid-template-columns:1fr 1fr}.import-parse-options{padding:22px}.import-source-panel{padding:18px}.import-review-layout{grid-template-columns:.8fr 1.3fr}.import-review-records{padding:20px}.import-record-fields{padding:12px;gap:10px}.import-footer{padding:16px 22px}.import-footer .button{font-size:11px;padding:9px 11px}.import-footer>span{max-width:210px;font-size:9px}.import-review-top{align-items:flex-start}.import-record-fields input,.import-record-fields select{font-size:11px}}
@media(max-width:620px){.import-dialog{width:100vw;height:100svh;max-height:100svh;max-width:100vw;border:0;border-radius:0;margin:0}.import-modal-head{padding:23px 18px 20px}.import-modal-head h2{font-size:27px;max-width:285px;line-height:1.15}.import-modal-head .eyebrow{font-size:8px}.import-steps{padding:12px 18px;justify-content:space-between;gap:6px}.import-steps li{font-size:9px;gap:5px}.import-steps li>span{width:20px;height:20px;font-size:9px}.import-choose-grid{display:block;padding:22px 18px}.import-drop{padding:23px 13px}.import-drop h3{font-size:15px}.import-pasted{font-size:16px;min-height:118px}.import-paste-heading{margin-top:20px}.import-guide{margin-top:28px;border-top:1px solid #e1e7e2;padding-top:24px}.import-guide>h3{font-size:24px;margin-bottom:16px}.import-guide ol{gap:16px}.import-responsibility{margin-top:21px}.import-footer{padding:13px 16px;display:block}.import-footer>span{display:block;max-width:none;margin-bottom:10px;font-size:9px}.import-footer>div{justify-content:flex-end;gap:7px}.import-footer .button{padding:10px 11px;font-size:10px}.import-error{padding:10px 18px!important;font-size:11px;max-height:100px}.import-progress{min-height:370px;padding:25px}.import-progress h3{font-size:24px}.import-source-layout,.import-review-layout{display:block}.import-source-panel{border-right:0;border-bottom:1px solid #dfe5dc;padding:18px;min-height:0!important}.import-source-panel>textarea{min-height:205px!important;max-height:350px!important;flex:none;resize:vertical;font-size:12px;margin-top:12px}.import-source-heading select{font-size:14px}.import-source-note{font-size:9px}.import-parse-options{padding:24px 18px}.import-review-layout>.import-source-panel{position:static;max-height:none}.import-review-records{padding:22px 18px}.import-review-top{margin-bottom:17px}.import-review-top h3{font-size:12px}.import-review-top p{font-size:10px}.import-record-fields input,.import-record-fields select,.import-record-fields textarea{font-size:16px!important;padding:8px}.import-record-fields input[type=time]{font-size:14px!important}.import-record-fields label,.import-row-days legend{font-size:9px}.import-record-fields select{height:39px}.import-row-days span{padding:6px 11px}.import-record-heading{padding:11px}.import-record-heading h4{font-size:10px}.import-row-number{width:22px;height:22px}.import-source-link{font-size:9px}.import-row-issues{font-size:10px}.import-destination #importName{font-size:16px}.setup-import-callout{padding:16px;align-items:flex-start}.setup-import-callout strong{font-size:12px}.setup-import-callout p{font-size:10px}.setup-import-callout .button{font-size:10px;padding:8px 10px}.import-empty-actions{gap:7px}.import-empty-actions .button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.import-progress-ring{animation:none;border-color:#adc5e5;border-top-color:#2468d5}.import-drop{transition:none}}

body.import-open{overflow:hidden}.import-dialog{position:fixed;inset:0;margin:auto}@media(max-width:620px){.import-dialog{inset:0;margin:0}}

.import-school-day{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.import-school-day label{font-size:10px;color:#7e8fa1}.import-school-day input{display:block;width:100%;min-width:0;border:1px solid #d9e2ee;background:white;border-radius:5px;padding:8px 9px;margin-top:5px;font-size:12px}.import-day-help{font-size:9px;color:#8394a5;line-height:1.7;margin-top:8px}@media(max-width:620px){.import-school-day input{font-size:14px}}

.import-ai-disclosure>.text-button{display:block;margin:0 0 13px;font-size:10px}

/* Appearance follows the device immediately, including already-rendered groups. */
:root {
  color-scheme: light dark;
  --subject-1-bg: #dce9ff; --subject-1-ink: #244f89; --subject-1-border: #79a0d5;
  --subject-2-bg: #d6ecde; --subject-2-ink: #2b6441; --subject-2-border: #76a88a;
  --subject-3-bg: #fce8cb; --subject-3-ink: #885824; --subject-3-border: #ccaa72;
  --subject-4-bg: #e8dff4; --subject-4-ink: #675084; --subject-4-border: #ab93c5;
  --subject-5-bg: #ccebea; --subject-5-ink: #206661; --subject-5-border: #66aaa5;
  --subject-6-bg: #f7dfe1; --subject-6-ink: #8c4f56; --subject-6-border: #c69398;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --bg: #111b27;
    --surface: #192635;
    --raised: #223346;
    --soft: #202f40;
    --ink: #e2eaf3;
    --muted: #a6b5c6;
    --line: #344558;
    --blue: #8bb6ff;
    --amber: #e9bd78;
    --success: #aad4b5;
    --error: #f0aaa6;
    --subject-1-bg: #243e60; --subject-1-ink: #d4e5ff; --subject-1-border: #88b1e8;
    --subject-2-bg: #274737; --subject-2-ink: #d1edd9; --subject-2-border: #8dc9a1;
    --subject-3-bg: #50402a; --subject-3-ink: #ffe5b9; --subject-3-border: #dfbc81;
    --subject-4-bg: #433553; --subject-4-ink: #ebdafa; --subject-4-border: #c2a6df;
    --subject-5-bg: #234846; --subject-5-ink: #c4efeb; --subject-5-border: #7cc7c0;
    --subject-6-bg: #50363e; --subject-6-ink: #f9d9df; --subject-6-border: #daa0ac;
  }

  /* Main surfaces, calendar grid, and navigation. */
  .topbar, .summary, .calendar-frame, .day-headers, .coverage-student, .table-card,
  .levers article, .settings-card, .setup-card, .empty-state, dialog,
  .assistant-panel, .auth-card { background: var(--surface); border-color: var(--line); }
  .brand, .auth-welcome h2, .auth-card h1 { color: var(--ink); }
  .brand-mark { border-color: var(--blue); }
  .brand-mark i { background: var(--blue); }
  .calendar-logo { background: #253e5c; color: #ccdefb; box-shadow: 2px 2px 0 #354c69; }
  .calendar-logo span { background: #3565aa; }
  .workspace-select select, .main-nav nav button, .sidebar-note, .student-class,
  .student-pct, .sidebar-foot, .privacy-mark, .roster-empty, .eyebrow,
  .workspace-head p, .local-label, .metric-label, .metric small, .calendar-tools,
  .day-head small, .time-zone, .time-label, .calendar-help, .pane-heading p,
  .coverage-student summary small, .subtle, .source-note, .levers p,
  .setup-card-heading p, .section-toolbar p, .class-card-head p, .settings-bottom p,
  .empty-state p, .empty, .form-explanation, .form-intro, .field-help, .optional,
  .service-choice small, .detail-total span, .detail-sessions small,
  .proposal-summary span, .assistant-model, .chat-form>div>span,
  .account-button, .snapshot-label, .mobile-signout { color: var(--muted); }
  .main-nav nav button.active { color: var(--blue); border-color: var(--blue); }
  .daycol { background-image: linear-gradient(to bottom, transparent calc(100% - 1px), #29394b calc(100% - 1px)); }
  .daycol.drop-active { background-color: #223b58; }
  .blocked { background: repeating-linear-gradient(135deg,#24313f,#24313f 5px,#2c3b4b 5px,#2c3b4b 6px); border-color: var(--line); color: #b0bdca; }
  #calendarScroll { scrollbar-color: #546a82 transparent; }
  .event:hover { filter: brightness(1.08); box-shadow: 0 2px 7px #050b1360; }
  .event-members { opacity: .95; }
  .student-card:hover, .search, .sidebar h2>span, .avatar { background: var(--soft); }
  .sidebar h2>span, .avatar { color: #b9cee5; }
  .student-bar, .summary-progress { background: #34465b; }
  .student-bar i, .summary-progress i { background: #89afe3; }
  .create-button { background: #294c6d; color: #e0eeff; box-shadow: 0 2px 4px #050b1333; }
  .create-button:hover { background: #345c80; }
  .calendar-empty, .setup-import-callout { background: #20364f; border-color: #3b5575; }
  .calendar-empty p, .setup-import-callout p { color: #b0c5df; }
  th { background: var(--soft); color: #b5c7db; }
  td, .card-footer, .source-note { border-color: var(--line); }

  /* Actions and native controls, including dialogs created after page load. */
  .button, .snapshot-controls select { background: var(--raised); border-color: #50647c; color: var(--ink); }
  .button:hover, .icon-button:hover { background: #2e435b; }
  .button.primary, .auth-card .button.primary { background: #315fb5; color: #fff; border-color: #618bd8; }
  .button.primary:hover, .auth-card .button.primary:hover { background: #396bca; }
  .button.ai-toggle, .sidebar-import { color: #c7ddff; background: #263e5e; border-color: #4e6b93; }
  .text-button, a { color: var(--blue); }
  .danger { color: var(--error)!important; }
  input:not([type=checkbox]):not([type=radio]), select, textarea {
    background: #14212f; border-color: #60738a; color: var(--ink);
  }
  input::placeholder, textarea::placeholder { color: #94a7bd; opacity: 1; }
  .search input { background: transparent; }
  .settings-card label, .modal-body label, legend, .service-choice strong { color: #b9cce1; }
  .weekday-choices span, .service-choice { border-color: #50647c; color: var(--muted); }
  .weekday-choices input:checked+span { background: #294667; border-color: #8bb6ff; color: #e0edff; }
  .service-choice:has(option:checked:not([value=""])) { background: #21364e; }
  .setup-nav button { background: var(--soft); color: var(--muted); }
  .setup-nav button.active { background: #294260; border-color: #86a8d7; color: #d7e7ff; }
  .detail-total strong, .proposal-summary strong, .empty-symbol { color: #9dbfed; }
  dialog { box-shadow: 0 15px 90px #0009; }
  dialog::backdrop { background: #050b13b3; }
  #toast, .resize-tooltip { background: #dbe7f5; color: #18314a; box-shadow: 0 7px 25px #0005; }

  /* Coverage, capacity, validation, and assistant states. */
  .gap-text { color: var(--amber); }
  .met-text { color: var(--success); }
  .status-banner, .notice.warning { background: #423726; color: #efcb90; }
  .notice.warning strong { color: #f6d59e; }
  #setupBadge:not(:empty) { background: #493d29; color: #efcb90; }
  .status-banner.complete, .notice.privacy-notice, .auth-notice, .access-notice { background: #243e31; color: #b5d9bf; }
  .notice.privacy-notice strong { color: #c7e5ce; }
  .status-banner.error, .modal-error { background: #492e34; color: #f7bbb4; border-color: #735056; }
  .form-error { color: var(--error); }
  .notice, .ai-disclosure { background: #223850; color: #b7cce5; border-color: #3b536e; }
  .notice strong, .ai-disclosure strong, .ai-disclosure .check-label { color: #cfdef1; }
  .chat-message.assistant { background: #263747; color: #c6d7e9; }
  .chat-message.user { background: #293f61; color: #d0e2ff; }
  .chat-message.pending { color: #b2c4dc; }
  .chat-proposal { background: #243e31; border-color: #496b53; color: #bedfc8; }
  .chat-proposal .button { background: #376348; border-color: #82ab8e; color: #f0faf2; }
  .chat-proposal .button:hover { background: #447654; }

  /* Account entry keeps the same calm editorial palette. */
  .auth-screen { background: #151f2a; }
  .auth-home, .auth-welcome>p, .auth-welcome ul, .auth-privacy p,
  .auth-card>p, .auth-card>p.google-help, .auth-card .field-help,
  .auth-card>p.auth-access-note, .auth-divider, .auth-tabs button { color: #acbccb; }
  .auth-welcome .eyebrow { color: #a1bbd5; }
  .auth-welcome li:before, .auth-privacy strong { color: #b6d8c1; }
  .auth-privacy { border-color: #526c60; }
  .auth-card { box-shadow: 0 12px 48px #0003; }
  .auth-card label { color: #c0cfdb; }
  .auth-tabs { border-color: var(--line); }
  .auth-tabs button.active { color: var(--blue); border-color: var(--blue); }
  .auth-divider:before, .auth-divider:after { background: var(--line); }
  .auth-bottom-note { color: #a6b5c6!important; }
  .auth-switch .text-button { color: #b6d8c1; }
  .auth-pilot-label { background: #24374a; border-color: #49617c; color: #b9d0e6; }
  .google-signin { background: #131314; color: #e3e3e3; border-color: #8e918f; }
  .google-signin:hover { background: #292a2c; box-shadow: 0 1px 3px #0006; }
  .google-signin img { background: #fff; border-radius: 50%; }

  /* Owner controls. */
  .access-intro, .access-help, .access-person>span, .access-owner-label, .access-empty { color: var(--muted); }
  .access-avatar { background: #2a405e; color: #bbd6fa; }
  .access-status { background: #294235; color: #b9debf; }
  .access-status.revoked { background: #443236; color: #dfb5b0; }

  /* File import: source text, editable rows, and review/consent states. */
  .import-dialog, .import-steps, .import-footer, .import-error, .import-record { background: var(--surface); border-color: var(--line); }
  .import-modal-head { background: #1e2932; }
  .import-modal-head h2, .import-drop h3, .import-guide>h3, .import-progress h3 { color: var(--ink); }
  .import-modal-head .eyebrow, .import-guide>.eyebrow { color: #b1c1d1; }
  .import-modal-head .icon-button, .import-upload-symbol { background: var(--raised); border-color: #546b84; color: #c1d8f5; }
  .import-steps li { color: var(--muted); }
  .import-steps li>span { background: var(--soft); border-color: #60738a; }
  .import-steps li.current { color: #c0d9ff; }
  .import-steps li.current>span { background: #315fb5; border-color: #8bb6ff; color: #fff; }
  .import-drop { background: #213248; border-color: #7695bf; }
  .import-drop.drag-over { background: #2b486b; border-color: #a9caff; }
  .import-drop p, .import-formats, .import-drop>small, .import-paste-heading>span,
  .import-file-row div>span, .import-guide li>span, .import-responsibility p,
  .import-format-help, .import-footer>span, .import-source-note, .import-parse-options>p,
  .import-purpose small, .import-method small, .import-ai-disclosure>small,
  .import-parse-options>.import-server-note, .import-review-top p, .import-no-rows p,
  .import-day-help, .import-final-check { color: var(--muted); }
  .import-pasted { background: #14212f; border-color: #60738a; color: var(--ink); }
  .import-pasted::placeholder { color: #94a7bd; }
  .import-file-row, .import-footer, .import-record-heading, .import-final-check,
  .import-parse-options>.import-server-note { border-color: var(--line); }
  .import-file-badge { background: #2a4261; color: #bdd6f6; }
  .import-guide { border-color: #41584f; }
  .import-guide li:before { background: #294037; color: #b8d6c5; border-color: #5a7a69; }
  .import-responsibility { border-color: #5a7a69; }
  .import-responsibility strong { color: #bbd9c6; }
  .import-format-help summary { color: #b5cfe5; }
  .import-progress-ring { border-color: #405772; border-top-color: var(--blue); }
  .import-source-panel { background: #232e2b; border-color: #45564e; }
  .import-source-heading .eyebrow { color: #b9cabc; }
  .import-source-heading select { background: #19251f; border-color: #667d6c; color: #e2ece4; }
  .import-source-panel>textarea { background: #18231f; color: #d3e2d5; border-color: #667d6c; }
  .import-purpose { background: #1e2d3e; border-color: #50647c; }
  .import-purpose:has(input:checked) { background: #2a4262; border-color: #8bb6ff; }
  .import-purpose>span:first-of-type { color: #b7cce5; }
  .import-ai-disclosure { background: #243c59; border-color: #4e7099; color: #c2d7f2; }
  .import-notes { background: #423827; border-color: #786344; color: #e8c891; }
  .import-row-issues, .import-source-warnings { color: #e8c891; }
  .import-record.needs-review { border-color: #a58650; }
  .import-record-heading, .import-no-rows, .import-destination { background: var(--soft); border-color: #4b6078; }
  .import-row-number { background: #2a405d; border-color: #5e7a9a; color: #c3d8f0; }
  .import-source-link { color: #a9c6e8; }
  .import-record-fields label, .import-row-days legend, .import-destination #importNameLabel,
  .import-school-day label { color: #b6c7d9; }
  .import-record-fields input, .import-record-fields select, .import-record-fields textarea,
  .import-destination #importName, .import-school-day input { background: #14212f; border-color: #60738a; color: var(--ink); }
  .import-row-days span { background: #1e2d3e; border-color: #60738a; color: #b9c9dc; }
  .import-row-days input:checked+span { background: #2a4668; border-color: #8bb6ff; color: #dfecff; }
  .import-record input:disabled { background: #263341; color: #a7b8cd; }
  .import-error { color: var(--error); }
}

/* Keep paper exports readable regardless of the device appearance. */
@media print { :root { color-scheme: light; } }
