/* Teacher workspace: a readable worksheet instead of a stack of test cards. */
.teacher-start-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}.teacher-access form{display:grid;gap:6px}.teacher-access .error-text:empty,.teacher-access [role=status]:empty{display:none}.teacher-access .primary{justify-self:start}.teacher-access>p,.teacher-start-help p,.teacher-start-help li{font-size:13px;line-height:1.7}.teacher-start-help ol{padding-left:20px;margin-top:25px}.teacher-start-help li{margin-bottom:10px}@media(max-width:950px){.teacher-start-grid{grid-template-columns:1fr}.teacher-access .primary{width:100%;white-space:normal}}
.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}
.plan-editor-shell .content{max-width:1900px;padding:26px 28px 60px}
@media(min-width:1100px){.shell.editor-wide{grid-template-columns:minmax(0,1fr)}}@media(min-width:1100px){.shell.editor-wide>.sidebar{display:none}}
.plan-heading{margin-bottom:10px;align-items:center}.plan-heading h1{font-size:29px;margin-bottom:3px}.plan-heading .eyebrow{margin-bottom:7px}.plan-study-name{font-size:16px!important;color:var(--ink)!important;font-weight:600;margin:3px 0 7px!important}.plan-heading p{font-size:12px}.plan-year-explanation{font-size:12px;line-height:1.5;margin:10px 0}
.plan-editor-shell .editor-guidance{display:grid;grid-template-columns:minmax(230px,1fr) auto;gap:6px 28px;padding:15px 18px;margin:12px 0 16px;border-left:3px solid var(--red)}
.plan-editor-shell .editor-guidance>strong{font-size:14px;grid-column:1}.plan-editor-shell .editor-guidance>p{grid-column:1;margin:0;font-size:12px;max-width:670px}.plan-editor-shell .editor-steps{grid-column:2;grid-row:1/3;align-self:center;margin:0;gap:16px;max-width:580px}.plan-editor-shell .editor-steps li{font-size:11px;max-width:160px}.plan-editor-shell .editor-steps li span{height:25px;width:25px}
.plan-editor-shell .totals{margin:10px 0 18px;gap:12px}.plan-editor-shell .total{display:flex;align-items:center;gap:10px;padding:9px 13px;min-width:0;border-radius:7px}.plan-editor-shell .total strong{font-size:18px;white-space:nowrap}.plan-editor-shell .total small{font-size:11px;color:var(--muted)}.plan-editor-shell .total .muted{font-size:12px}
.sheet-heading{margin:14px 0 12px}.sheet-heading h2{font-size:18px}.sheet-heading>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.sheet-heading button{font-size:12px;padding:9px 12px}.plan-options{position:relative;font-size:12px}.plan-options>summary{cursor:pointer;padding:10px 8px}.plan-options>div{position:absolute;z-index:10;right:0;top:100%;padding:7px;min-width:200px;display:grid;gap:4px;border:1px solid var(--line);border-radius:9px;box-shadow:0 10px 25px #18213816;background:white}.plan-options button{text-align:left;border:0;white-space:nowrap}
.plan-workbook{border:1px solid #d9dde4;background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 7px #20263705}
.sheet-toolbar{display:flex;gap:16px;align-items:end;padding:14px 16px;background:white;border-bottom:1px solid #d9dde4}.sheet-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:600;color:var(--muted)}.sheet-toolbar .sheet-search{flex:1;max-width:410px}.sheet-toolbar input,.sheet-toolbar select{font-size:12px;min-height:36px;padding:8px 10px;border:1px solid #d9dde4;border-radius:6px;color:var(--ink);background:#fff}.sheet-toolbar input{width:100%;min-width:180px}.sheet-toolbar>p{font-size:12px;color:var(--muted);margin:0 0 10px auto;white-space:nowrap}.sheet-toolbar>button{font-size:11px;padding:8px}
.plan-sheet-scroll{overflow:auto;max-height:65vh;scrollbar-gutter:stable;scroll-padding:50px 15px}.plan-sheet{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;color:#303746}.plan-sheet th,.plan-sheet td{padding:13px 12px;vertical-align:top;border-right:1px solid #e1e4e9;border-bottom:1px solid #e1e4e9;overflow-wrap:anywhere}.plan-sheet th:last-child,.plan-sheet td:last-child{border-right:0}.plan-sheet thead th{position:sticky;top:0;z-index:2;background:#8c2037;color:white;font-size:11px;line-height:1.45;white-space:normal;font-weight:650;border-color:#a14255}.plan-sheet tbody tr:nth-child(even)>td{background:#f8f9fb}.plan-sheet tbody tr:nth-child(odd)>td{background:white}.plan-sheet tbody tr:hover>td{background:#fff9f4}.plan-sheet tbody tr.is-inherited>td{background:#faf7ee}.plan-sheet tbody tr.is-inherited .sheet-number{box-shadow:inset 3px 0 #c6a756}.plan-sheet tbody tr.dragging{opacity:.4}.plan-sheet tbody tr[hidden]{display:none}.plan-sheet tfoot td,.plan-sheet tfoot th{background:#f0f3f7;color:#253247;vertical-align:middle;border-bottom:0;font-size:11px}.plan-sheet tfoot .sheet-weight{font-size:15px}.plan-sheet tfoot th{font-weight:700}.plan-sheet tfoot .sheet-total-note{font-weight:400;color:#596274;line-height:1.5}
.plan-sheet .sheet-number{width:103px;position:sticky;left:0;z-index:1;white-space:normal}.plan-sheet thead .sheet-number{z-index:3}.plan-sheet tfoot .sheet-number{z-index:1}.sheet-numbers{display:inline-flex;flex-direction:column;gap:8px;vertical-align:top}.sheet-numbers>span{display:flex;flex-direction:column;gap:2px}.sheet-numbers small{font-size:9px;color:#6f7783}.sheet-numbers strong{font-size:15px;font-variant-numeric:tabular-nums;letter-spacing:.1px;color:#8c2037}.sheet-drag{font-size:18px;padding:0 5px 0 0;border:0;background:none;color:#9299a4;cursor:grab;vertical-align:top;margin-left:-5px}.sheet-drag:disabled{cursor:default;opacity:.25}
.plan-sheet .sheet-moment{width:106px;font-size:11px;white-space:pre-wrap}.plan-sheet .sheet-title{width:175px}.sheet-title>strong{font-size:12px;line-height:1.55;display:block}.sheet-assessment{display:inline-block;font-size:9px;color:#647084;background:#edf0f4;border-radius:4px;padding:3px 5px;margin-top:8px}.sheet-assessment.is-pta{color:#8c2037;background:#f8eaf0}.sheet-note{display:block;font-size:10px;color:#737b88;line-height:1.5;margin-top:5px}.sheet-warning{display:block;color:#8c6518;font-size:10px;margin-top:6px}.plan-sheet .sheet-content{width:260px;line-height:1.7}.sheet-content-text{white-space:pre-wrap;overflow-wrap:anywhere}.sheet-missing{font-size:11px;color:#94660b;display:inline-block}.sheet-endterms{margin-top:8px;font-size:10px;color:#67707c;line-height:1.65;white-space:pre-wrap}.sheet-endterms:empty{display:none}.sheet-endterms strong{font-weight:650;color:#424e60}.plan-sheet .sheet-form{width:113px;line-height:1.5;font-size:11px}.plan-sheet .sheet-duration{width:76px;white-space:normal;font-size:11px}.plan-sheet .sheet-resit{width:87px;font-size:11px}.sheet-resit-label{color:#717986}.sheet-resit-label.yes{color:#247859;font-weight:650}.plan-sheet .sheet-weight{width:80px;text-align:center;font-variant-numeric:tabular-nums}.plan-sheet td.sheet-weight{font-size:14px}.plan-sheet .sheet-actions{width:115px}.sheet-edit{font-size:11px;padding:7px 9px;width:100%;background:white;border-color:#cbd0d9}.sheet-more{font-size:10px;margin-top:9px}.sheet-more>summary{cursor:pointer;color:#697585;padding:3px 0;white-space:nowrap}.sheet-more>div{display:flex;flex-direction:column;align-items:stretch;gap:3px;margin-top:7px}.sheet-more button{font-size:10px;text-align:left;padding:6px 5px;border:0;background:#f0f2f5}.sheet-more button:hover{background:#e9edf2}.sheet-hint{padding:11px 16px;border-top:1px solid #d9dde4;font-size:11px;line-height:1.6;color:#727b89;background:#fff}.sheet-hint>span{color:#8c6518}
#sheet-empty td{text-align:center;padding:32px;white-space:normal}#sheet-empty p{margin:6px 0 0;color:var(--muted);font-size:12px}.plan-editor-shell .sticky-save{position:static;margin-top:16px;bottom:12px;padding:12px 17px}.plan-editor-shell .sticky-save>div>strong{font-size:13px}.plan-editor-shell .sticky-save small{font-size:11px}.plan-editor-shell .sticky-save button{font-size:12px}
@media(min-width:1600px){.plan-sheet .sheet-content{width:340px}.plan-sheet .sheet-title{width:210px}}
@media(max-width:1250px){.plan-editor-shell .editor-guidance{display:block}.plan-editor-shell .editor-guidance>p{margin:5px 0 9px}.plan-editor-shell .editor-steps{max-width:none;gap:18px}.plan-editor-shell .editor-steps li{max-width:none}.plan-editor-shell .editor-steps li span{height:23px;width:23px}.plan-editor-shell .total small{display:none}}
@media(max-width:750px){.plan-editor-shell .content{padding:20px 14px 55px}.plan-heading{display:flex;align-items:flex-start;gap:12px}.plan-heading h1{font-size:25px}.plan-heading #back-plans{font-size:11px;padding:8px;white-space:nowrap}.plan-study-name{font-size:13px!important}.plan-editor-shell .editor-guidance{padding:13px 14px}.plan-editor-shell .editor-steps{display:flex;flex-direction:row;gap:8px;margin:10px 0 0}.plan-editor-shell .editor-steps li{display:block;text-align:center;flex:1;font-size:9px;line-height:1.5}.plan-editor-shell .editor-steps li span{margin:0 auto 4px}.plan-editor-shell .totals{gap:8px}.plan-editor-shell .total{padding:9px 10px;gap:8px;flex:1}.plan-editor-shell .total strong{font-size:16px}.sheet-heading{display:flex;flex-direction:column;align-items:stretch;gap:11px}.sheet-heading>div{gap:7px}.sheet-heading button{font-size:11px;padding:8px 10px}.sheet-toolbar{padding:12px;gap:11px;flex-wrap:wrap;align-items:center}.sheet-toolbar .sheet-search{max-width:none;flex-basis:100%}.sheet-toolbar>label:not(.sheet-search){flex:1}.sheet-toolbar>p{margin:0 0 0 auto;font-size:11px}.sheet-toolbar select{width:100%}.plan-sheet-scroll{max-height:none;overflow:visible}.plan-sheet{display:block;min-width:0;table-layout:auto}.plan-sheet thead{position:absolute;overflow:hidden;width:1px;height:1px;clip:rect(0,0,0,0)}.plan-sheet tbody{display:block;padding:0 11px 11px}.plan-sheet .plan-test-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce1e8;border-radius:8px;margin-top:12px;overflow:hidden;background:white}.plan-sheet td,.plan-sheet th{position:static!important;width:auto!important;border:0!important;padding:8px 11px;font-size:12px!important}.plan-sheet td:before{content:attr(data-label);display:block;font-size:9px;font-weight:650;color:#777f8a;margin-bottom:5px}.plan-sheet .sheet-number{grid-column:1/-1;background:#f4f6f9!important;padding:10px 11px;border-bottom:1px solid #dfe3e9!important}.sheet-numbers{flex-direction:row;gap:18px}.sheet-numbers>span{flex-direction:row;align-items:baseline;gap:6px}.sheet-numbers small{font-size:10px}.sheet-drag{margin:0 8px 0 0}.plan-sheet .sheet-title{grid-column:1/-1;grid-row:2;padding-top:13px}.sheet-title>strong{font-size:14px}.sheet-assessment{margin-top:5px}.plan-sheet .sheet-content{grid-column:1/-1;grid-row:3;padding-bottom:12px}.sheet-content-text{font-size:12px}.plan-sheet .sheet-actions{grid-column:1/-1;display:flex;align-items:flex-start;gap:18px;border-top:1px solid #e5e8ed!important;margin-top:5px;padding:11px}.sheet-edit{width:auto;min-width:112px}.sheet-more{margin-top:2px;flex:1}.sheet-more>div{display:grid;grid-template-columns:1fr 1fr}.plan-sheet tbody tr>td{background:white!important}.plan-sheet .sheet-weight{text-align:left}.plan-sheet .is-inherited{border-left:3px solid #c6a756}.plan-sheet tfoot{display:block;background:#f0f3f7;padding:9px 11px}.plan-sheet tfoot tr{display:flex;flex-wrap:wrap;align-items:center;gap:5px 15px}.plan-sheet tfoot td:empty{display:none}.plan-sheet tfoot .sheet-total-note{order:10;flex-basis:100%;padding-top:0}.plan-sheet tfoot .sheet-weight:before{display:block;font-size:9px;margin-bottom:2px}.plan-sheet tfoot th{padding:5px 0}.plan-sheet tfoot td{padding:5px 0}.plan-sheet tfoot td.sheet-weight strong:before{content:attr(data-label)}#sheet-empty{display:block}#sheet-empty[hidden]{display:none}.sheet-hint{font-size:10px}.plan-editor-shell .sticky-save{bottom:7px;padding:12px;gap:10px}.plan-editor-shell .sticky-save .button-row{display:flex;width:100%}.plan-editor-shell .sticky-save button{font-size:11px;padding:10px 8px;flex:1}.plan-options>div{left:0;right:auto}.plan-sheet tbody tr[hidden]{display:none}}

.plan-test-row:focus{outline:2px solid #9d2843;outline-offset:-2px}

.plan-group-heading th{background:#f4e9ed;color:var(--red);padding:12px 15px;text-align:left;font-size:14px}.choice-preview-scroll{max-height:55vh;overflow:auto}.choice-preview-scroll select{max-width:290px;width:100%}.choice-preview-scroll small{display:block;margin-top:5px;color:var(--muted)}

.choice-count{background:#f5e8ee;color:#792644;border:1px solid #dcb5c6;font-weight:700;white-space:nowrap}.subject-card .choice-count{align-self:flex-start;margin:0 0 8px}.page-heading h1+.choice-count{display:inline-flex;margin:0 0 8px}

.subject-tree{margin:18px 0;padding-top:15px;border-top:1px solid var(--line);font-size:13px;min-width:0}.subject-tree h2{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 10px 10px}.subject-tree details{min-width:0}.subject-tree summary{cursor:pointer;padding:9px 8px;overflow-wrap:anywhere}.subject-tree>details>summary{font-weight:700}.subject-tree-count{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:3px}.subject-tree ul{list-style:none;padding:0 0 0 12px;margin:0 0 12px 8px;border-left:2px solid #ead5de}.subject-tree button{display:block;text-align:left;border:0;background:transparent;width:100%;padding:8px 10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}.subject-tree button:hover,.subject-tree button[aria-current]{background:#f5e8ee;color:#792644}.subject-tree li small{display:block;padding:8px 10px;color:var(--muted)}.sidebar{overflow-y:auto}@media(max-width:750px){.subject-tree{width:100%;flex-basis:100%;margin:8px 0 0;padding-top:8px}.subject-tree>details{border-bottom:1px solid var(--line)}.subject-tree button{padding:11px 12px;min-height:42px}}

.plan-identity{width:100%;table-layout:fixed;border-collapse:collapse;margin:12px 0}.plan-identity td{width:33.33%;border:1px solid #dce1e8;padding:12px;overflow-wrap:anywhere;background:#f4f6f9;vertical-align:top}
@media(max-width:750px){.plan-sheet .sheet-content{grid-row:auto}.plan-identity td{padding:8px;font-size:12px}}

.sheet-combined-content{margin-top:8px;font-weight:400}.plan-sheet .sheet-title{width:360px}

.plan-sheet th,.plan-sheet td,.plan-identity td{text-align:center!important;vertical-align:middle}.plan-sheet .sheet-numbers,.plan-sheet .sheet-numbers>span{align-items:center}.plan-sheet .sheet-actions{justify-content:center}

.plan-sheet thead th{overflow-wrap:normal;word-break:normal;white-space:normal}.plan-sheet .sheet-moment{width:130px}.plan-sheet .sheet-resit{width:125px}.plan-sheet .sheet-weight{width:105px}.plan-sheet{min-width:1450px}

.plan-sheet thead{position:sticky;top:0;z-index:3}.plan-sheet thead th{position:static}.plan-sheet .plan-identity-row th{background:#8c2037;color:#fff;padding:14px 12px;white-space:normal}.plan-sheet thead .sheet-number{position:sticky;left:0;top:auto}
@media(max-width:750px){.plan-sheet thead{position:static;display:table;width:100%;height:auto;clip:auto;overflow:visible;table-layout:fixed}.plan-sheet thead tr:not(.plan-identity-row){display:none}.plan-sheet .plan-identity-row{display:table-row}.plan-sheet .plan-identity-row th{display:table-cell;width:33.33%!important;background:#8c2037!important;color:white;padding:12px 8px!important}}

.plan-sheet .sheet-number{width:145px}
.plan-sheet .sheet-number .sheet-actions{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:5px;margin-top:10px}
.plan-sheet .sheet-number .sheet-more{margin-top:0}
.plan-sheet .sheet-number .sheet-more>summary{text-align:center}
@media(max-width:1099px){#sheet-wide{display:none}}
@media(max-width:750px){.plan-sheet .sheet-number .sheet-actions{flex-direction:row;justify-content:center;align-items:flex-start;width:auto;border:0!important;padding:0;margin-top:8px}.plan-sheet .sheet-number .sheet-edit{width:auto}.plan-sheet .sheet-number .sheet-more{flex:0 1 auto}}

/* Let concise fields fit their content; reserve the largest column for description and learning content. */
@media(min-width:751px){
 .plan-sheet{table-layout:auto}
 .plan-sheet .sheet-title{width:40%;min-width:360px}
 .plan-sheet .sheet-content{width:18%;min-width:180px}
 .plan-sheet .sheet-number{width:1%;min-width:125px}
 .plan-sheet .sheet-moment{width:1%;min-width:100px}
 .plan-sheet .sheet-form{width:1%;min-width:115px}
 .plan-sheet .sheet-duration{width:1%;min-width:65px}
 .plan-sheet .sheet-resit{width:1%;min-width:95px}
 .plan-sheet .sheet-weight{width:1%;min-width:95px}
}
