:root{--ink:#172026;--muted:#64717b;--line:#d9e1e7;--paper:#f8fafb;--soft:#edf4f3;--brand:#176b6a;--brand-dark:#0f5150;--danger:#b84632;--ok:#217447;--warn:#9a6414;--white:#fff;--shadow:0 12px 32px #18202614}*{box-sizing:border-box}body{color:var(--ink);background:linear-gradient(#edf4f3 0,#f8fafb 360px);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}.topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f8fafbe6;border-bottom:1px solid #d9e1e7db;justify-content:space-between;align-items:center;gap:18px;padding:16px clamp(16px,4vw,48px);display:flex;position:sticky;top:0}.brand-title{font-size:17px;font-weight:780}.brand-subtitle,.muted{color:var(--muted)}.brand-subtitle{margin-top:3px;font-size:13px}.shell{width:min(1180px,100% - 32px);margin:0 auto;padding:32px 0 64px}.hero{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:end;gap:22px;margin-bottom:22px;display:grid}h1{letter-spacing:0;margin:0;font-size:clamp(34px,5vw,58px);line-height:1.05}h2,h3{letter-spacing:0;margin:0}.hero p{max-width:720px;color:var(--muted);font-size:16px;line-height:1.75}.grid{grid-template-columns:330px minmax(0,1fr);align-items:start;gap:18px;display:grid}.area-tabs{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:18px;display:grid}.area-tab{border:1px solid var(--line);background:var(--white);min-height:88px;color:var(--muted);box-shadow:var(--shadow);text-align:left;border-radius:8px;gap:6px;padding:18px;display:grid}.area-tab strong{color:var(--ink);font-size:20px}.workspace-title{align-items:center;gap:10px;display:inline-flex}.workspace-title img{object-fit:contain;flex:0 0 30px;width:30px;height:30px}.area-tab.active{background:var(--soft);border-color:#176b6a8c}.homework-workspace-card{align-content:start}.homework-workspace-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.homework-subtab{background:var(--brand);min-height:38px;color:var(--white);text-align:center;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 10px;font-size:14px;font-weight:820;display:inline-flex}.homework-subtab img{object-fit:contain;filter:brightness(0)invert();flex:0 0 20px;width:20px;height:20px}.homework-area-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.homework-area-tab{background:var(--brand);color:#ffffffd1;min-height:58px;box-shadow:none;border-color:#0000;padding:12px 16px}.homework-area-tab strong{color:var(--white);font-size:17px}.homework-area-tab span{color:#ffffffc7;font-size:13px}.homework-area-tab .workspace-title img{filter:brightness(0)invert();flex-basis:24px;width:24px;height:24px}.homework-area-tab.active{background:#0f5f5e;border-color:#0000}.student-notification-card{background:var(--white);box-shadow:var(--shadow);border:1px solid #176b6a47;border-radius:8px;gap:12px;margin-bottom:18px;padding:18px;display:grid}.student-notification-summary{flex-wrap:wrap;gap:8px;display:flex}.student-notification-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.student-notification-item{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:5px;padding:12px;text-decoration:none;display:grid}.student-notification-item strong{font-size:15px}.student-notification-item span{color:var(--muted);font-size:13px;line-height:1.45}.student-notification-item.assigned{background:#fff7e5;border-color:#9a64143d}.student-notification-item.reviewed{background:#eaf7ef;border-color:#21744733}.area-label{background:var(--soft);color:var(--brand);border-radius:999px;margin:12px 0 2px;padding:7px 10px;font-size:13px;font-weight:760;display:inline-flex}.area-badge,.area-mini-grid{gap:8px;display:grid}.crumb-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.account-box{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:10px;padding:12px;display:grid}.two{grid-template-columns:1fr 1fr;gap:14px;display:grid}.panel,.card{border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow);border-radius:8px}.panel,.card,.question-card,.detail-item{padding:18px}.stack{gap:14px;display:grid}.view-switch{grid-template-columns:1fr;gap:10px;display:grid}.segmented{grid-template-columns:1fr 1fr;gap:10px;display:grid}.section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:16px;padding-bottom:14px;display:flex}.hint{color:var(--muted);font-size:14px;line-height:1.55}.hint.warn{color:var(--warn);margin-top:6px}.btn.link{color:var(--brand);text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px}.btn.link:hover{text-decoration:underline}.pill{background:var(--soft);width:fit-content;min-height:26px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:760;display:inline-flex}.pill.ok{color:var(--ok);background:#e3f3ea}.pill.warn{color:var(--warn);background:#fff0d5}.pill.danger{color:var(--danger);background:#ffe1dc}.pill.compact{min-height:22px;padding:0 9px;font-size:12px}.btn{background:var(--brand);min-height:40px;color:var(--white);text-align:center;border-radius:8px;justify-content:center;align-items:center;padding:0 15px;font-weight:760;text-decoration:none;display:inline-flex}.btn.secondary{color:var(--ink);background:#e7eef1}.btn.danger{background:var(--danger)}.btn.ghost{border:1px solid var(--line);color:var(--brand);background:0 0}.btn.compact-button{width:fit-content;min-height:34px;padding:0 12px}label{color:var(--muted);margin-bottom:7px;font-size:13px;font-weight:760;display:block}input,select,textarea{border:1px solid var(--line);background:var(--white);width:100%;color:var(--ink);border-radius:8px;outline:none;padding:12px}textarea{resize:vertical;min-height:126px;line-height:1.6}input:focus,select:focus,textarea:focus{border-color:#176b6aa6;box-shadow:0 0 0 3px #176b6a1f}.question-card,.detail-item{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:12px;display:grid}.history-list{border-top:1px solid var(--line);gap:12px;padding-top:14px;display:grid}.history-card{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:12px;padding:14px;display:grid}.history-card summary{cursor:pointer;justify-content:space-between;align-items:start;gap:16px;list-style:none;display:flex}.history-card summary::-webkit-details-marker{display:none}.history-card[open] summary{border-bottom:1px solid var(--line);padding-bottom:12px}.history-card h3{font-size:17px;line-height:1.25}.history-recording{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:10px;padding:12px;display:grid}.feedback-compact{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:12px;padding:12px;display:grid}.score-chart{border:1px solid var(--line);background:var(--paper);border-radius:8px;width:100%;overflow:hidden}.score-chart svg{width:100%;height:auto;display:block}.score-chart line,.score-chart polyline{fill:none;stroke:var(--brand);stroke-width:3px}.score-chart line{stroke:var(--line);stroke-width:1.5px}.score-chart .grid-line{stroke:#64717b38;stroke-width:1px}.score-chart circle{fill:var(--brand)}.score-chart text{fill:var(--muted);font-size:12px;font-weight:760}.score-chart .point-label{fill:var(--brand-dark);text-anchor:middle}.progress-table{border:1px solid var(--line);border-radius:8px;display:grid;overflow:auto}.progress-row{border-top:1px solid var(--line);grid-template-columns:minmax(180px,1.6fr) minmax(90px,.8fr) repeat(4,minmax(72px,.6fr));align-items:center;gap:10px;min-width:720px;padding:10px 12px;font-size:13px;display:grid}.progress-row:first-child{border-top:0}.progress-head{color:var(--muted);background:var(--paper);font-weight:760}.question-title{white-space:pre-line;font-weight:760;line-height:1.55}.recorder-row{grid-template-columns:auto auto auto minmax(180px,1fr) auto;align-items:center;gap:10px;display:grid}.file-upload{border:1px solid var(--line);background:var(--white);min-height:40px;color:var(--brand);cursor:pointer;text-align:center;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0 15px;font-size:14px;font-weight:760;display:inline-flex}.file-upload input{display:none}audio{width:100%;min-width:180px}.inline-comment{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:8px;padding:12px;display:grid}.topic-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.topic-history-list{border:1px solid var(--line);background:#f8fbfb;border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.topic-history-list ul{color:var(--muted);gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.35;display:grid}.inline-comment label{margin-bottom:0}.inline-comment textarea{min-height:96px}.section-head.compact{align-items:center;padding-bottom:10px}.transcript-editor,.transcript-review{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:12px;padding:12px;display:grid}.transcript-editor textarea{min-height:150px}.writing-answer{min-height:260px}.writing-review-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.grading-finder-page{max-width:760px}.writing-grading-detail-layout{grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);align-items:start;gap:18px;display:grid}.writing-grading-column{align-content:start;gap:14px;display:grid}.writing-review-mode-page{gap:18px;display:grid}.writing-review-editor-card{background:#fbfcfc}.writing-review-workspace{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.writing-review-main{gap:12px;min-width:0;display:grid}.compact-segmented{width:fit-content}.writing-text{border:1px solid var(--line);background:var(--white);white-space:pre-wrap;border-radius:8px;min-height:160px;padding:12px;line-height:1.7}.writing-text.large{min-height:360px;font-size:1.02rem}.writing-revision-editor{min-height:360px}.writing-review-editor{background:#fffdf8;border-color:#b7c7ff;min-height:420px;font-size:1rem;line-height:1.75}.writing-comment-sidebar{gap:12px;min-width:0;display:grid;position:sticky;top:90px}.writing-comment-bubble{background:#eef2ff;border:1px solid #c5d1ff;border-radius:8px;gap:8px;padding:12px;display:grid;position:relative;box-shadow:0 10px 22px #24366414}.writing-comment-bubble:before{content:"";background:#7c8ee8;width:12px;height:1px;position:absolute;top:18px;left:-13px}.comment-anchor{color:#2f3f98;font-size:12px;font-weight:800}.writing-comment-bubble blockquote{color:var(--ink);border-left:3px solid #7c8ee8;margin:0;padding-left:10px;font-size:13px;line-height:1.45}.writing-comment-bubble textarea{background:var(--white);min-height:88px}.writing-comment-list{gap:10px;margin-top:10px;display:grid}.task-image-grid,.image-preview-grid{gap:12px;display:grid}.task-image,.image-preview img{border:1px solid var(--line);background:var(--white);object-fit:contain;border-radius:8px;width:100%;max-height:520px;display:block}.image-preview{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:10px;padding:10px;display:grid}.tracked-text{border:1px solid var(--line);background:var(--paper);white-space:pre-wrap;border-radius:8px;min-height:72px;padding:12px;line-height:1.7}.tracked-text ins{color:var(--ok);background:#daf2e2;border-radius:4px;text-decoration:none}.tracked-text del{color:var(--danger);background:#ffe1dc;border-radius:4px;text-decoration:line-through}.timer{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;font-weight:760}.submission-row{border:1px solid var(--line);background:var(--white);text-align:left;border-radius:8px;gap:8px;padding:14px;display:grid}.submission-row.active{background:var(--soft);border-color:#176b6a8c}.homework-history-title-row{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.homework-history-title-row strong{overflow-wrap:anywhere;min-width:0}.homework-history-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.homework-history-card{border:1px solid var(--line);background:var(--white);border-radius:8px;align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.homework-history-card strong{line-height:1.35}.homework-history-stats,.homework-history-actions{gap:8px;display:grid}.homework-history-stats .pill{justify-content:start;width:100%}.publish-homework-layout{grid-template-columns:minmax(180px,1fr) minmax(0,3fr);align-items:start;gap:18px;display:grid}.publish-homework-list,.publish-homework-editor,.compact-assignment-list{gap:10px;min-width:0;display:grid}.compact-assignment-row{border:1px solid var(--line);background:var(--white);text-align:left;border-radius:8px;gap:6px;min-width:0;padding:10px;display:grid}.compact-assignment-row.active{background:var(--soft);border-color:#176b6a8c}.compact-assignment-row strong,.compact-assignment-row span{overflow-wrap:anywhere}.compact-assignment-row strong{font-size:14px;line-height:1.35}.student-check-list,.selected-students,.student-selector,.student-profile,.student-list{gap:10px;display:grid}.student-row{border:1px solid var(--line);background:var(--white);text-align:left;border-radius:8px;align-content:start;gap:8px;min-width:0;padding:14px;display:grid}.student-profile-layout{grid-template-columns:minmax(240px,320px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.student-profile-sidebar{gap:10px;display:grid;position:sticky;top:16px}.student-profile-main{min-width:0}.empty-state{border:1px dashed var(--line);background:var(--soft);text-align:center;border-radius:8px;align-content:center;gap:8px;min-height:220px;padding:24px;display:grid}.student-row strong,.student-row span{overflow-wrap:anywhere}.topic-chip-group{gap:6px;margin:2px 0;display:grid}.topic-chip{color:#273b8f;overflow-wrap:anywhere;background:#edf1ff;border:1px solid #3457d538;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:7px;width:100%;padding:6px 8px;font-size:12px;font-weight:800;line-height:1.25;display:grid}.topic-chip strong{color:#1f2f73;white-space:nowrap}.student-row.active{background:var(--soft);border-color:#176b6a8c}.topic-progress-panel{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:14px;padding:14px;display:grid}.topic-progress-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.metric-card{border:1px solid var(--line);background:var(--soft);border-radius:8px;gap:6px;padding:12px;display:grid}.metric-card span{color:var(--muted);font-weight:700}.metric-card strong{font-size:28px;line-height:1}.topic-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.topic-list-card{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid}.topic-list{gap:6px;max-height:420px;display:grid;overflow:auto}.topic-progress-row{background:var(--soft);color:var(--muted);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.topic-progress-button{text-align:left;width:100%;font:inherit;cursor:pointer;border:0}.topic-progress-button:hover:not(:disabled){color:var(--ink);background:#3457d51f}.topic-progress-button:disabled{cursor:wait;opacity:.72}.topic-progress-row span{overflow-wrap:anywhere}.topic-progress-row.completed{color:var(--ink);background:#34a8531f}.topic-progress-row strong{color:#16703a;white-space:nowrap;font-size:13px}.practice-panel{border-color:#176b6a47}.practice-review-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.practice-review-card{border:1px solid var(--line);background:var(--white);border-radius:8px;overflow:hidden}.practice-review-card[open]{grid-column:1/-1}.practice-review-summary{cursor:pointer;background:#f5f1e8;gap:10px;min-height:138px;padding:14px;list-style:none;display:grid}.practice-review-summary::-webkit-details-marker{display:none}.practice-review-card[open] .practice-review-summary{border-bottom:1px solid var(--line)}.practice-review-summary-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.practice-type-badge{color:#fff;background:#163f4f;border-radius:999px;align-items:center;width:fit-content;min-height:26px;padding:4px 10px;font-size:13px;font-weight:900;display:inline-flex}.practice-review-topic{color:var(--ink);overflow-wrap:anywhere;font-size:16px;line-height:1.25}.practice-review-meta{color:var(--muted);gap:4px;font-size:13px;display:grid}.practice-review-body{background:var(--paper);gap:12px;padding:14px;display:grid}.practice-inline-status{color:var(--brand);background:#e8f4f2;border:1px solid #176b6a3d;border-radius:8px;padding:10px 12px;font-weight:800}.practice-inline-status.error{color:var(--danger);background:#ffe1dc;border-color:#be412e3d}.practice-save-bar{background:#f2faf8;border:1px solid #176b6a3d;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(180px,260px);align-items:center;gap:12px;padding:12px;display:grid}.practice-save-actions{gap:8px;display:grid}.practice-question-list{gap:12px;display:grid}.practice-question-card{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:12px;padding:14px;display:grid}.practice-question-card strong{overflow-wrap:anywhere;display:block}.score-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.daily-task-editor{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.daily-task-description,.daily-task-students{grid-column:span 2}.daily-task-create{grid-column:span 4}.student-check-list.compact{border:1px solid var(--line);background:var(--soft);border-radius:8px;max-height:180px;padding:10px;overflow:auto}.check-row{align-items:center;gap:8px;font-weight:700;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.checkbox-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.lesson-homework-list{border:1px solid var(--line);background:var(--soft);border-radius:8px;gap:8px;max-height:180px;padding:10px;display:grid;overflow:auto}.daily-task-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.daily-task-card{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid}.daily-task-card.completed{background:#34a85314;border-color:#34a85359}.daily-today-summary{border:1px solid var(--line);background:var(--soft);border-radius:8px;gap:8px;padding:14px;display:grid}.daily-today-summary strong{font-size:20px}.daily-today-summary.completed{background:#34a8531f;border-color:#34a85359}.daily-today-summary.completed strong{color:#16703a}.daily-task-card h3,.daily-task-card p{overflow-wrap:anywhere}.daily-student-progress{gap:8px;display:grid}.daily-student-row{background:var(--soft);border-radius:8px;gap:6px;padding:10px;display:grid}.daily-checkin-panel{border-top:1px solid var(--line);gap:14px;padding-top:14px;display:grid}.teacher-task-grid-hidden{display:none}.daily-history-panel{border-top:1px solid var(--line);gap:14px;padding-top:14px;display:grid}.daily-history-layout{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.daily-history-sidebar{gap:10px;display:grid;position:sticky;top:16px}.daily-history-main{gap:14px;min-width:0;display:grid}.daily-student-task-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.daily-student-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.daily-student-card{border:1px solid var(--line);background:var(--white);text-align:left;border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.daily-student-card.active{background:var(--soft);border-color:#176b6a8c}.daily-student-card strong,.daily-student-card span{overflow-wrap:anywhere}.daily-calendar-card{border:1px solid var(--line);background:var(--white);border-radius:8px;gap:12px;padding:14px;display:grid}.daily-calendar-weekdays,.daily-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.daily-calendar-weekdays strong{color:var(--muted);text-align:center;font-size:13px}.daily-calendar-day,.daily-calendar-empty{border-radius:8px;min-height:72px}.daily-calendar-day{border:1px solid var(--line);background:var(--soft);align-content:start;gap:6px;padding:10px;display:grid}.daily-calendar-day strong{font-size:16px}.daily-calendar-day span{color:var(--muted);font-size:13px;font-weight:700}.daily-calendar-day.completed{background:#34a8531f;border-color:#34a85359}.daily-calendar-day.partial{background:#f59e0b29;border-color:#f59e0b59}.daily-calendar-day.missed{background:#be412e17;border-color:#be412e40}.daily-calendar-day.empty{opacity:.62}.daily-progress{gap:6px;display:grid}.progress-track{background:#e8f0ef;border-radius:999px;height:12px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--teal);height:100%;display:block}.schedule-create-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.schedule-direct{border-top:1px solid var(--line);gap:12px;margin-top:18px;padding-top:16px;display:grid}.schedule-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.schedule-card{border:1px solid var(--line);background:var(--white);border-radius:8px;align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.schedule-card.active{background:var(--soft);border-color:#176b6a8c}.schedule-card.booked{background:#f5f7f8}.schedule-select{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:8px;padding:0;display:grid}.schedule-select:disabled{cursor:not-allowed}.calendar-toolbar{grid-template-columns:auto minmax(160px,1fr) auto minmax(220px,280px);align-items:end;gap:12px;display:grid}.calendar-toolbar>strong{text-align:center;align-self:center}.calendar-shell{border:1px solid var(--line);background:var(--white);border-radius:8px;grid-template-columns:64px repeat(7,minmax(126px,1fr));display:grid;overflow-x:auto}.calendar-header-spacer,.calendar-day-head{z-index:4;border-bottom:1px solid var(--line);background:#f7faf9;min-height:58px;padding:10px;position:sticky;top:0}.calendar-day-head{text-align:center;border-left:1px solid var(--line);gap:4px;display:grid}.calendar-day-head span{color:var(--muted);font-size:13px}.calendar-time-col{border-right:1px solid var(--line);background:#fbfcfc;grid-template-rows:repeat(17,56px);display:grid}.calendar-hour-label{border-bottom:1px solid var(--line);color:var(--muted);text-align:right;padding:8px 8px 0 0;font-size:12px}.calendar-day-col{border-left:1px solid var(--line);grid-template-rows:repeat(17,56px);min-width:126px;display:grid;position:relative}.calendar-hour-cell{border:0;border-bottom:1px solid var(--line);cursor:crosshair;background:0 0;width:100%;min-height:56px;padding:0}.calendar-hour-cell:hover{background:#eef8f6}.calendar-event{z-index:2;min-height:34px;color:var(--ink);text-align:left;cursor:pointer;background:#dff3ed;border:1px solid #176b6a59;border-radius:8px;align-content:start;gap:2px;padding:7px;display:grid;position:absolute;left:6px;right:6px;overflow:hidden;box-shadow:0 6px 16px #176b6a1f}.calendar-event.booked{z-index:3;cursor:not-allowed}.calendar-event.booked.upcoming{color:var(--ink);background:#34a85324;border-color:#34a85359}.calendar-event.booked.passed{color:var(--muted);background:#e8eef0;border-color:#cbd5d8}.calendar-event.selected{border-color:var(--brand);background:#c9ebe3}.calendar-time-preview{z-index:5;background:var(--brand);height:2px;color:var(--brand);text-overflow:clip;white-space:nowrap;pointer-events:none;font-size:12px;font-weight:900;line-height:1;display:block;position:absolute;left:0;right:0;overflow:visible;transform:translateY(-1px)}.calendar-event strong,.calendar-event span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2;overflow:hidden}.calendar-event .calendar-time-preview{text-overflow:clip;line-height:1;overflow:visible}.calendar-event-action{gap:4px;display:grid}.calendar-event-action select{min-height:28px;padding:0 6px;font-size:12px}.calendar-event-link{color:var(--brand);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800}.selected-lessons{gap:10px;display:grid}.selected-lesson-row{border:1px solid var(--line);background:var(--soft);border-radius:8px;grid-template-columns:minmax(180px,1fr) minmax(190px,240px) auto;align-items:center;gap:10px;padding:12px;display:grid}.booking-admin-list{gap:10px;display:grid}.booking-admin-row{border:1px solid var(--line);background:var(--white);border-radius:8px;grid-template-columns:minmax(180px,1.2fr) auto minmax(220px,1fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.booking-admin-row.upcoming,.schedule-card.booked.upcoming{background:#34a85314;border-color:#34a85359}.booking-admin-row.passed,.schedule-card.booked.passed{color:var(--muted);background:#eef2f3;border-color:#cbd5d8}.check-row{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:10px 12px;font-size:14px;display:grid}.check-row input{width:auto}.check-row small{color:var(--muted)}.manual-student-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.selected-students{flex-wrap:wrap;display:flex}.pill.removable{cursor:pointer;border:0}.overall{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:12px;padding:14px;display:grid}.overall-score{color:var(--muted);justify-content:space-between;gap:12px;font-weight:760;display:flex}.overall-score strong{color:var(--brand);font-size:34px;line-height:1}.detail-head{justify-content:space-between;align-items:center;gap:12px;font-weight:760;display:flex}.detail-score{max-width:110px}.question-edit-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.bank-panel{border:1px solid var(--line);background:var(--soft);border-radius:8px;gap:12px;padding:14px;display:grid}.bank-preview{color:var(--muted);gap:6px;font-size:13px;line-height:1.5;display:grid}.bank-preview strong{color:var(--ink)}.bank-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.hero-actions{max-width:360px;margin-top:18px}.error{color:var(--danger)}@media (max-width:1200px){.homework-history-grid,.schedule-grid,.daily-task-grid,.daily-student-overview,.daily-student-task-list,.schedule-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-toolbar{grid-template-columns:1fr 1fr}}@media (max-width:900px){.topbar,.hero,.grid,.area-tabs,.two,.homework-history-grid,.schedule-grid,.daily-task-grid,.daily-student-overview,.daily-student-task-list,.schedule-create-grid,.topic-history-grid,.daily-history-layout{grid-template-columns:1fr}.daily-history-sidebar{position:static}.daily-task-editor{grid-template-columns:1fr}.daily-task-description,.daily-task-students,.daily-task-create{grid-column:auto}.daily-calendar-weekdays,.daily-calendar-grid{gap:4px}.daily-calendar-day,.daily-calendar-empty{min-height:58px}.daily-calendar-day{padding:6px}.student-profile-layout{grid-template-columns:1fr}.student-profile-sidebar{position:static}.calendar-toolbar,.selected-lesson-row,.booking-admin-row,.publish-homework-layout{grid-template-columns:1fr}.topbar{display:grid}.recorder-row,.question-edit-row,.bank-actions,.segmented,.writing-review-grid,.writing-grading-detail-layout,.writing-review-workspace{grid-template-columns:1fr}.writing-comment-sidebar{position:static}.history-card summary{display:grid}audio{min-width:0}.btn{width:100%}.section-head{display:grid}}
