:root{color-scheme:light;--warm:#FEFCF5;--cream:#FEFDFC;--ink:#2F2F2F;--muted:#515e68;--blue:#7EA8C9;--soft:#DCEAF4;--green:#DEECDF;--line:#c4cbd0;--focus:#254e78}
*{box-sizing:border-box}body{margin:0;background:var(--warm);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.5}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid #8496a3;border-radius:10px;padding:10px 18px;background:var(--cream);font-weight:600;min-height:44px;min-width:44px}button:hover{background:var(--soft)}button:disabled{cursor:default;opacity:.5}button.primary{background:var(--blue);border-color:#537fa0;color:#152f42}button.primary:hover{background:#a5c4dd}button.subtle{border-color:transparent;background:transparent;color:var(--muted);font-size:14px}button.subtle:hover{background:var(--soft);color:var(--ink)}input,select{width:100%;border:1px solid #8496a3;border-radius:9px;background:var(--cream);padding:11px 12px;min-height:48px}label{display:block;font-weight:600}label>input,label>select{margin-top:8px}h1,h2,h3{font-family:Poppins,"Segoe UI",Arial,sans-serif;line-height:1.18}h1{font-size:clamp(32px,3.6vw,48px);letter-spacing:-1px;margin:16px 0 24px}h2{font-size:24px;margin:0 0 16px}h3{font-size:21px;line-height:1.3;margin:0 0 8px}p{margin:12px 0}a{color:var(--focus)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}[hidden]{display:none!important}#prep{width:100%;max-width:1600px;min-height:100vh;margin:0 auto;padding:30px clamp(20px,4vw,64px) 24px;display:flex;flex-direction:column;overflow-wrap:anywhere}.brand{display:flex;align-items:center;gap:12px;border-bottom:1px solid #DEE2E3;padding-bottom:24px}.brand img{width:46px;height:46px}.brand strong{font-size:23px;letter-spacing:-.5px}.brand span{font-size:15px;color:var(--muted);margin-left:auto;font-weight:600}.home-content{margin:auto 0;padding:60px 0 80px}.home-intro{max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:13px;font-weight:600;color:#45617a}.home-intro h1{font-size:clamp(48px,5vw,74px);margin:12px 0 16px}.home-intro p{font-size:20px;color:var(--muted);margin-bottom:42px}.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:28px}.choice-card{position:relative;text-align:left;display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;column-gap:24px;align-items:center;min-height:190px;padding:30px;border:1px solid #9bb9cb;border-radius:20px;background:var(--cream);font-weight:400}.choice-card:hover{background:#EEF4F8;border-color:#537fa0}.choice-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:var(--soft);color:#305b79;border-radius:20px;grid-row:1/3}.choice-icon svg{width:52px;height:52px}.choice-title{font-size:28px;font-weight:650;letter-spacing:-.5px;padding-right:24px}.choice-description{color:var(--muted);font-size:16px;align-self:start}.choice-arrow{position:absolute;right:25px;top:30px;font-size:26px;color:#45617a}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 10px}.page-heading .subtle{padding-left:0}.page-heading h1{margin:8px 0 26px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:22px;align-items:start}.card{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}.group-material{font-size:14px;color:var(--muted);margin:8px 0}.group-position{font-size:16px;margin:8px 0 20px}.group-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.group-heading{min-width:0}.empty{padding:36px 24px;border:1px dashed #93a7af;border-radius:16px;background:#EEF5EF}.empty p{margin:0;color:var(--muted)}.list-footer{margin-top:22px}.footer-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:36px}.setup{width:100%;margin:30px 0 24px;background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:30px 36px}.setup>.subtle{padding-left:0}.setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:none;margin:32px 0}.wide{grid-column:1/-1}.field-hint{font-size:14px;color:var(--muted);margin:-12px 0 0}.saved-cue{font-size:15px;color:#355342;margin:20px 0}.setup-submit{display:flex;justify-content:flex-end;padding-top:12px}.setup-submit button{min-width:230px}.setup-submit span{margin-left:20px}.form-error:empty{display:none}.form-error,.error{color:#7d2e2e;background:#FBF1F1;border:1px solid #a56363;padding:14px;border-radius:10px;margin:16px 0}.unavailable{padding:12px 0;color:var(--muted)}.confirm-name{font-size:20px;font-weight:650;margin:20px 0}.destructive{background:#C96A6A;border-color:#943c3c;color:#1f0808}.destructive:hover{background:#E8A6A6}.danger{color:#8b3434!important}
#viewer{position:fixed;inset:0;background:#14191d;display:grid;grid-template-rows:minmax(0,1fr) auto;z-index:10}#stage{min-height:0;position:relative;display:flex;align-items:center;justify-content:center}#slide{width:100%;height:100%;object-fit:contain;display:block}#load-note{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);color:#fff;background:#233644;border-radius:8px;padding:5px 12px}#load-note:empty{display:none}#toolbar{position:absolute;top:0;left:0;right:0;padding:10px 16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;background:#18222ced;color:#FEFDFC;opacity:0;visibility:hidden;transition:opacity .18s;z-index:2}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar-actions button{font-size:14px;padding:8px 12px;background:#293c4a;color:#FEFDFC;border-color:#7d96a7;min-height:44px;min-width:44px}.toolbar-actions button:hover{background:#3c566b}#toolbar.revealed{opacity:1;visibility:visible}#save-status{font-size:13px;color:#DEECDF}#warning{background:var(--cream);padding:12px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;z-index:3;border-top:3px solid #C96A6A}#warning>span{flex:1;min-width:230px}#session-note{max-width:min(720px,90vw);padding:24px;color:#fff;text-align:center;font-size:clamp(18px,2.5vw,28px);overflow-wrap:anywhere}dialog{border:1px solid #8696a2;border-radius:18px;padding:30px;background:var(--cream);color:var(--ink);width:min(620px,94vw);max-height:90vh;overflow:auto;overflow-wrap:anywhere}dialog::backdrop{background:#18222cb8}dialog .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}dialog h2{font-size:26px}dialog ul{padding-left:22px}dialog li{margin:12px 0}dialog input{margin-bottom:10px}.setup,.setup-fields>*,.home-choices>*{min-width:0}input,select,button{max-width:100%}
@media(max-width:900px){.choice-card{grid-template-columns:64px 1fr;padding:24px;column-gap:18px}.choice-icon{width:64px;height:64px}.choice-icon svg{width:44px}.choice-title{font-size:24px}.choice-description{font-size:15px}.choice-arrow{right:16px;top:20px}.home-content{padding:50px 0}.home-choices{gap:18px}}
@media(max-width:700px){#prep{padding:20px 20px 16px}.brand{padding-bottom:18px}.brand strong{font-size:20px}.brand img{width:40px;height:40px}.brand span{font-size:13px}.home-content{padding:38px 0 48px}.home-intro h1{font-size:48px}.home-intro p{font-size:18px;margin-bottom:30px}.home-choices{grid-template-columns:1fr;gap:18px}.choice-card{min-height:158px}.page-heading{margin-top:18px;flex-wrap:wrap}.page-heading h1{margin-bottom:16px}.cards{gap:16px}.card{padding:22px}.setup{padding:20px;margin-top:20px}.setup-fields{grid-template-columns:1fr;gap:20px;margin:24px 0}.wide{grid-column:auto}.setup-submit button{width:100%}.footer-actions{padding-top:28px;gap:4px}.toolbar-actions{gap:6px}.toolbar-actions button{font-size:13px;padding:8px}.brand,.page-heading>*{min-width:0}dialog{padding:24px}.eyebrow{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.save-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.save-comparison figure{margin:0;min-width:0}.save-comparison figcaption{font-weight:600;margin-bottom:8px}.save-comparison img{width:100%;height:auto;object-fit:contain;border:1px solid var(--line);border-radius:8px}@media(max-width:450px){.save-comparison{grid-template-columns:1fr}}
/* Visual refinement 1: use the desktop canvas and a consistent instructional hierarchy. */
.cards{grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr))}.card{border-color:#bdcbd5}.choice-card{transition:background-color .18s,border-color .18s}.choice-title{font-family:Poppins,"Segoe UI",Arial,sans-serif;font-weight:650}.choice-icon{border:1px solid #C7DDF0}.page-heading>button.primary{align-self:center}.group-actions{padding-top:8px}.setup h1{font-size:clamp(30px,3vw,42px);margin:16px 0 26px}.setup-fields{gap:22px;margin:28px 0}.setup-submit{border-top:1px solid #DEE2E3;padding-top:22px;margin-top:22px}.setup>.saved-cue{margin:14px 0 0;font-size:14px}.field-hint{color:#515e68}.brand span{color:#45617a}
@media(min-width:1100px){.setup-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.setup{padding:30px 36px 32px}.setup-fields .wide{grid-column:1/-1}.setup input{max-width:620px}.setup label.wide:last-child select{max-width:620px}}
@media(max-width:700px){.choice-title{font-size:23px}.setup h1{font-size:30px}.setup-submit{padding-top:20px}.card{border-radius:14px}}
@media(prefers-reduced-motion:reduce){.choice-card{transition:none}}
/* Visual refinement 2: align labels consistently and balance the desktop form. */
label>input,label>select{display:block}.setup-fields .name-field,.setup-fields .lesson-field{grid-column:1/-1}.field-hint{display:block;font-weight:400;font-size:14px;margin:8px 0 0}.setup input,.setup select{max-width:none}.group-actions .subtle{padding-left:12px;padding-right:12px}.footer-actions .subtle{padding-left:14px;padding-right:14px}.choice-card:focus-visible{outline-width:3px;outline-offset:5px}.archived-card .group-position{color:var(--muted)}
@media(min-width:1100px){.setup-fields .name-field,.setup-fields .lesson-field{grid-column:span 2}.setup-fields .name-field input,.setup-fields .lesson-field select{max-width:none}}
@media(max-width:700px){.setup-fields .name-field,.setup-fields .lesson-field{grid-column:auto}.choice-card{padding:22px}.choice-arrow{right:15px}.group-actions{gap:8px}.group-actions .primary{flex:1}.group-actions .subtle{flex:none}}
/* Program identity is conveyed with icon, text and coordinated instructional color. */
.card[data-program="Full"]{border-top:3px solid #7EA8C9}.card[data-program="Streamlined"]{border-top:3px solid #7FAF8C}.card[data-program="Quick"]{border-top:3px solid #9A86C7}.group-heading h3,.archived-card h3{font-size:24px;font-weight:750;line-height:1.25;letter-spacing:-.4px;margin:0 0 12px}.program-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 9px;font-size:13px;font-weight:650;border:1px solid;border-radius:8px;margin-bottom:8px}.program-badge svg{width:20px;height:20px;flex:none}.program-badge.full{background:#DCEAF4;color:#305b79;border-color:#7EA8C9}.program-badge.streamlined{background:#DEECDF;color:#355a3f;border-color:#7FAF8C}.program-badge.quick{background:#E7DFF3;color:#5b4677;border-color:#9A86C7}.card .group-material{margin-top:3px;margin-bottom:5px}.card .group-position{margin-top:5px;margin-bottom:12px}.card .group-actions{padding-top:4px}
@media(max-width:700px){.group-heading h3,.archived-card h3{font-size:23px}.card{padding:20px}.program-badge{font-size:13px}}
/* Publisher pass: instructional purpose and functional color, with quiet original-slide presentation. */
:root{--teaching:#7FAF8C;--create:#EAD66B;--warm-line:#B89264}
button.primary{background:var(--teaching);border-color:#4e7658;color:#183821}button.primary:hover{background:#BFD9B5}
button.create-action{background:var(--create);border-color:#9a842e;color:#493e19}button.create-action:hover{background:#F4EDB6}
.brand{border-bottom-color:#D8BE9A}.brand span{color:#515e68}
.home-content{padding:42px 0 58px}.home-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:center;margin-bottom:40px}
.home-intro{max-width:850px}.home-intro h1{font-size:clamp(38px,4.2vw,60px);line-height:1.12;letter-spacing:-1.7px;margin:12px 0 20px}.home-intro h1 span{display:block;color:#355a3f}.home-intro p{margin-bottom:0;font-size:19px;max-width:620px}.eyebrow{color:#5b4677}.reading-visual{min-width:0}.reading-art{display:block;width:100%;height:auto}
.choice-card{min-height:166px;border-radius:18px}.choice-continue{background:#EEF5EF;border-color:#7FAF8C}.choice-continue:hover{background:#DEECDF}.choice-continue .choice-icon{background:#DEECDF;color:#355a3f;border-color:#7FAF8C}.choice-continue .choice-arrow{color:#355a3f}
.choice-create{background:#FBF8E6;border-color:#B89264}.choice-create:hover{background:#F8F3CF}.choice-create .choice-icon{background:#F8F3CF;color:#705127;border-color:#B89264}.choice-create .choice-arrow{color:#705127}
.card[data-program="Full"]{background:#EEF4F8}.card[data-program="Streamlined"]{background:#EEF5EF}.card[data-program="Quick"]{background:#F3EFF8}
.card[data-program="Full"] button.primary{background:#7EA8C9;color:#152f42;border-color:#537fa0}.card[data-program="Full"] button.primary:hover{background:#C7DDF0}.card[data-program="Quick"] button.primary{background:#9A86C7;color:#241631;border-color:#6d5795}.card[data-program="Quick"] button.primary:hover{background:#D6C9EA}
.setup{border-color:#D8BE9A}.setup h1{margin-bottom:12px}.setup-lede{max-width:900px;color:#515e68;margin:0 0 24px;font-size:16px}.setup-fields{margin-top:24px}.saved-cue{padding:10px 14px;background:#EEF5EF;border-left:3px solid #7FAF8C;border-radius:0 8px 8px 0}.saved-cue[data-state="start"]{background:#FBF8E6;border-color:#B89264;color:#705127}.setup-submit{border-top-color:#D8BE9A}.footer-actions .subtle:hover,.page-heading .subtle:hover,.list-footer .subtle:hover{background:#F8F3CF}.empty{background:#FBF8E6;border-color:#B89264}.archived-card{background:#F3EFF8}.archived-card button.primary{background:#DEECDF;color:#355a3f;border-color:#7FAF8C}
@media(max-width:1100px){.home-hero{grid-template-columns:minmax(0,1fr) 240px;gap:30px}.home-intro h1{font-size:clamp(38px,4.5vw,50px)}}
@media(max-width:700px){.home-content{padding:28px 0 36px}.home-hero{grid-template-columns:1fr;gap:18px;margin-bottom:26px}.home-intro h1{font-size:38px;letter-spacing:-1px}.home-intro p{font-size:17px}.reading-visual{width:150px;justify-self:end;margin-top:-8px}.choice-card{min-height:146px}.setup-lede{font-size:15px}.home-choices{gap:16px}}
@media(max-width:380px){.home-intro h1{font-size:34px}.brand span{font-size:12px}.reading-visual{width:125px}.choice-card{grid-template-columns:54px 1fr;column-gap:14px;padding:18px}.choice-icon{width:54px;height:54px}.choice-title{font-size:21px}.choice-description{font-size:14px}}
@media(max-width:700px){.home-hero{gap:8px}.home-content{padding:24px 0 28px}.reading-visual{width:105px}.home-intro h1{font-size:36px}.choice-card{padding:20px}.home-choices{gap:14px}}
@media(max-width:380px){.home-intro h1{font-size:34px}.choice-card{padding:18px}}
body{background:var(--warm)}
/* Classroom display refinement: authentic lesson context, distinct white fields and light teaching actions. */
:root{--teaching:#BFD9B5}
button.primary{background:#BFD9B5;border-color:#4e7658;color:#183821}button.primary:hover{background:#DEECDF}
.card[data-program="Streamlined"] button.primary,.archived-card button.primary{background:#BFD9B5;border-color:#4e7658;color:#183821}
.card[data-program="Streamlined"] button.primary:hover,.archived-card button.primary:hover{background:#DEECDF}
input,select{background:#FEFDFC;border:2px solid #6C7A89;padding:10px 12px;color:#2F2F2F}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%232F2F2F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:22px;padding-right:46px}
input:hover,select:hover{border-color:#45617A}input:focus-visible,select:focus-visible{border-color:#254e78;outline:3px solid #254e78;outline-offset:3px}
.eyebrow{text-transform:none;letter-spacing:.4px;font-size:14px}
.home-hero{grid-template-columns:minmax(0,1fr) 440px;gap:32px}.reading-visual{width:100%}.classroom-display{width:100%;height:auto}.featured-lesson{pointer-events:none}
@media(max-width:1100px){.home-hero{grid-template-columns:minmax(0,1fr) 330px;gap:26px}}
@media(max-width:900px) and (min-width:701px){.home-hero{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.home-intro h1{font-size:38px}}
@media(max-width:700px){.home-hero{grid-template-columns:1fr;gap:16px}.reading-visual{width:min(100%,290px);justify-self:center;margin-top:0}.home-intro h1{font-size:36px}.home-content{padding-top:24px}}
@media(max-width:380px){.home-intro h1{font-size:34px}.reading-visual{width:230px}}
button.primary.create-action{background:#EAD66B;border-color:#9a842e;color:#493e19}button.primary.create-action:hover{background:#F4EDB6}

/* User correction: warm page/form canvas; white remains on fields and native dropdown items. */
.setup{background:var(--warm)}select option{background:#FEFDFC;color:#2F2F2F}
/* Staged group preparation uses the same program identity icons as saved group cards. */
.choice-stage{margin:28px 0 30px}.choice-stage>.subtle{padding-left:0}.choice-stage h1{margin:20px 0 30px}.version-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.version-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:16px;min-height:256px;padding:30px;border-radius:18px;font-weight:400}.version-choice.full{background:#EEF4F8;border-color:#7EA8C9;color:#2F2F2F}.version-choice.streamlined{background:#EEF5EF;border-color:#7FAF8C;color:#2F2F2F}.version-choice.quick{background:#F3EFF8;border-color:#9A86C7;color:#2F2F2F}.version-icon{display:grid;place-items:center;width:80px;height:80px;border-radius:16px}.version-icon svg{width:54px;height:54px}.full .version-icon{background:#DCEAF4;color:#305b79}.streamlined .version-icon{background:#DEECDF;color:#355a3f}.quick .version-icon{background:#E7DFF3;color:#5b4677}.version-title{font-size:28px;font-weight:700;line-height:1.2}.version-copy{font-size:16px;color:#515e68}.version-note{font-size:14px;color:#355a3f}.version-choice:hover{border-width:2px;padding:29px}.level-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.level-choice{min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#FEFDFC;border-color:#6C7A89;padding:20px 12px}.level-letter{font-size:52px;line-height:1;font-weight:700;color:#305b79}.level-caption{font-size:14px;line-height:1.3;color:#515e68}.stage-program{margin-top:18px}.unavailable-stage{max-width:700px;font-size:18px;margin:0 0 24px}.setup-context{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.setup-context .program-badge{margin:0}.level-chip{font-size:15px;font-weight:650}.setup-context .subtle{margin-left:auto}.choice-stage,.version-choices>*,.level-choices>*{min-width:0}.setup-fields:has(#version[type="hidden"]){grid-template-columns:repeat(2,minmax(0,1fr))}.setup-fields:has(#version[type="hidden"]) .name-field,.setup-fields:has(#version[type="hidden"]) .lesson-field{grid-column:span 2}
@media(max-width:1000px){.level-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.version-choices{gap:18px}.version-choice{padding:24px;min-height:260px}.version-choice:hover{padding:23px}.version-title{font-size:24px}}
@media(max-width:700px){.choice-stage{margin-top:18px}.version-choices{grid-template-columns:1fr;gap:16px}.version-choice{min-height:170px;display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:18px;row-gap:8px;align-items:center}.version-icon{width:64px;height:64px;grid-row:1/4}.version-icon svg{width:44px;height:44px}.version-title{font-size:24px}.version-copy{font-size:15px}.version-note{font-size:13px}.level-choice{min-height:132px;padding:18px 8px}.level-letter{font-size:42px}.setup-context .subtle{margin-left:0}.setup-fields:has(#version[type="hidden"]){grid-template-columns:1fr}.setup-fields:has(#version[type="hidden"]) .name-field,.setup-fields:has(#version[type="hidden"]) .lesson-field{grid-column:auto}}
@media(min-width:1100px){.setup-fields:has(#version[type="hidden"]){grid-template-columns:repeat(4,minmax(0,1fr))}.setup-fields:has(#version[type="hidden"]) .name-field,.setup-fields:has(#version[type="hidden"]) .lesson-field{grid-column:span 2}}

/* Publisher proportion pass: readable shared type and deliberate content widths. */
body{font-size:20px}.brand img{width:56px;height:56px}.brand strong{font-size:30px;line-height:1.2}.brand span{font-size:20px}.eyebrow{font-size:20px}.home-intro h1{font-size:64px;line-height:1.09;letter-spacing:-1.4px}.home-intro p{font-size:22px;line-height:1.5}.home-hero{align-items:center;gap:32px}.home-content{padding-top:48px}.home-choices{gap:28px}.choice-card{grid-template-columns:80px minmax(0,1fr) 52px;gap:8px 22px;padding:30px;min-height:194px;border-width:2px}.choice-title{font-size:32px;grid-column:2;line-height:1.2}.choice-description{font-size:20px;line-height:1.45;grid-column:2;margin-top:6px}.choice-icon{width:80px;height:80px;grid-column:1;grid-row:1/3}.choice-arrow{position:static;grid-column:3;grid-row:1/3;align-self:center;justify-self:end;display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#DEECDF}.choice-create .choice-arrow{background:#F4EDB6}.choice-continue{border-color:#52795E}.choice-create{border-color:#9A842E}.action-arrow{width:30px;height:30px;flex:none;vertical-align:middle}.subtle .action-arrow{width:28px;height:28px}.choice-arrow .action-arrow{width:30px;height:30px}button{font-size:20px;min-height:52px;padding:12px 20px;line-height:1.3}button.subtle{font-size:19px;font-weight:600;min-height:52px;display:inline-flex;align-items:center;gap:10px}.footer-actions{gap:20px;padding-top:28px}.footer-actions .subtle{font-size:18px}.primary:has(.action-arrow){display:inline-flex;align-items:center;justify-content:center;gap:24px}.setup-submit button{min-width:248px}.choice-stage h1,.setup h1,.page-heading h1{font-size:48px;line-height:1.14}.version-choices{gap:24px}.version-choice{min-height:326px;padding:30px;gap:18px;border-width:2px}.version-choice:hover{padding:30px}.version-title{font-size:32px}.version-copy{font-size:20px;line-height:1.5}.version-note{font-size:18px;line-height:1.4}.version-icon{width:80px;height:80px}.version-icon svg{width:54px;height:54px}.program-badge{font-size:18px;gap:8px;padding:7px 10px}.program-badge svg{width:24px;height:24px}.level-chip{font-size:20px}.level-choice{min-height:166px;border-width:2px;border-top-width:6px}.level-letter{font-size:56px}.level-caption{font-size:19px;font-weight:600}.setup-lede{font-size:20px;line-height:1.5;max-width:1000px}.setup label{font-size:19px;line-height:1.4}.setup input,.setup select,dialog input{font-size:20px;min-height:56px;padding-top:12px;padding-bottom:12px}.field-hint{font-size:18px;line-height:1.4}.saved-cue{font-size:18px;line-height:1.5}.setup-fields,.setup-fields:has(#version[type="hidden"]){display:grid;grid-template-columns:420px 260px 240px;gap:24px;justify-content:start;width:min(100%,968px)}.setup-fields .name-field,.setup-fields .lesson-field{grid-column:auto}.setup-fields .name-field input{max-width:520px}.setup-fields label:has(#level){max-width:140px}.setup-fields #set-label{max-width:180px}.setup-fields #track-label{max-width:240px}.setup-fields .lesson-field{max-width:240px}.setup-fields:has(#version[type="hidden"]){grid-template-columns:180px 240px 240px;width:min(100%,708px)}.setup-fields:has(#version[type="hidden"]) .name-field{grid-column:1/-1;width:min(100%,520px)}.setup-fields:has(#version[type="hidden"]) .lesson-field{grid-column:auto}.setup-submit,.setup .saved-cue,.setup .form-error,.setup .unavailable{max-width:968px}.setup:has(#version[type="hidden"]) .setup-submit,.setup:has(#version[type="hidden"]) .saved-cue,.setup:has(#version[type="hidden"]) .form-error,.setup:has(#version[type="hidden"]) .unavailable{max-width:708px}.group-heading h3{font-size:28px;line-height:1.25}.group-material,.group-position{font-size:18px;line-height:1.4}.group-actions{gap:10px}.group-actions button{font-size:18px;min-height:52px;padding:12px 14px}.card{padding:26px}.card .program-badge{font-size:17px}.empty p,.empty h2{font-size:20px}.empty h2{font-size:26px}dialog{font-size:18px;line-height:1.5}dialog h2{font-size:30px}.confirm-name{font-size:22px}.toolbar-actions button{font-size:18px;min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px}.toolbar-actions{gap:8px}#save-status{font-size:17px}.toolbar-actions .action-arrow{width:26px;height:26px}#warning{font-size:18px}.setup .setup-context{margin:14px 0 18px}.choice-stage{margin-top:24px}.choice-stage h1{margin-top:18px;margin-bottom:28px}
.level-choice[data-level="A"]{--source-level:#004AAD;background:#F0F2F1;border-color:#004AAD;border-top-color:#004AAD}.level-choice[data-level="A"] .level-letter{color:#004AAD}
.level-choice[data-level="B"]{--source-level:#FF5757;background:#FEF3EC;border-color:#C24242;border-top-color:#FF5757}.level-choice[data-level="B"] .level-letter{color:#C24242}
.level-choice[data-level="C"]{--source-level:#7ED957;background:#F7FAEC;border-color:#497E32;border-top-color:#7ED957}.level-choice[data-level="C"] .level-letter{color:#497E32}
.level-choice[data-level="D"]{--source-level:#8C52FF;background:#F8F3F6;border-color:#814BEB;border-top-color:#8C52FF}.level-choice[data-level="D"] .level-letter{color:#814BEB}
.level-choice[data-level="E"]{--source-level:#5CE1E6;background:#F5FBF4;border-color:#337C7E;border-top-color:#5CE1E6}.level-choice[data-level="E"] .level-letter{color:#337C7E}
.level-choice[data-level="F"]{--source-level:#FFBD59;background:#FEF9EC;border-color:#8F6A32;border-top-color:#FFBD59}.level-choice[data-level="F"] .level-letter{color:#8F6A32}
@media(max-width:1100px){.home-intro h1{font-size:52px}.home-intro p{font-size:21px}.home-hero{grid-template-columns:minmax(0,1fr) 330px;gap:24px}.choice-card{grid-template-columns:68px minmax(0,1fr) 48px;gap:8px 16px;padding:24px}.choice-icon{width:68px;height:68px}.choice-title{font-size:28px}.choice-description{font-size:19px}.choice-arrow{width:48px;height:48px}.version-title{font-size:28px}.version-choice{padding:24px;min-height:330px}.version-choice:hover{padding:24px}.setup-fields,.setup-fields:has(#version[type="hidden"]){display:flex;flex-wrap:wrap;width:100%}.setup-fields label{width:240px;max-width:100%;flex:0 1 auto}.setup-fields .name-field,.setup-fields:has(#version[type="hidden"]) .name-field{width:100%;max-width:100%;flex-basis:100%}.setup-fields label:has(#version){width:260px}.setup-fields label:has(#level){width:140px}.setup-fields #set-label{width:180px}.setup-fields #track-label,.setup-fields .lesson-field{width:240px}}
@media(max-width:700px){body{font-size:18px}.brand img{width:48px;height:48px}.brand strong{font-size:24px}.brand span{font-size:16px}.brand{gap:10px}.home-content{padding-top:28px}.home-hero{grid-template-columns:1fr;gap:22px}.home-intro h1{font-size:40px;letter-spacing:-.8px}.home-intro p{font-size:20px}.eyebrow{font-size:18px}.reading-visual{width:min(100%,310px)}.choice-card{grid-template-columns:56px minmax(0,1fr) 44px;padding:22px;gap:8px 14px;min-height:184px}.choice-icon{width:56px;height:56px}.choice-icon svg{width:40px;height:40px}.choice-arrow{width:44px;height:44px;border-radius:12px}.choice-arrow .action-arrow{width:28px;height:28px}.choice-title{font-size:26px}.choice-description{font-size:18px;line-height:1.4}.choice-stage h1,.setup h1,.page-heading h1{font-size:36px;line-height:1.15}.version-choice{min-height:188px;padding:24px;grid-template-columns:64px minmax(0,1fr);gap:8px 18px}.version-choice:hover{padding:24px}.version-title{font-size:27px}.version-copy{font-size:19px;line-height:1.45}.version-note{font-size:17px}.version-icon{width:64px;height:64px}.version-icon svg{width:46px;height:46px}.level-choice{min-height:142px}.level-letter{font-size:48px}.level-caption{font-size:16px}.setup-lede{font-size:18px}.setup label{font-size:18px}.setup input,.setup select,dialog input{font-size:18px;min-height:54px}.setup-fields,.setup-fields:has(#version[type="hidden"]){display:grid;grid-template-columns:1fr;gap:22px}.setup-fields label,.setup-fields .name-field,.setup-fields .lesson-field,.setup-fields label:has(#level),.setup-fields #set-label,.setup-fields #track-label,.setup-fields:has(#version[type="hidden"]) .name-field{width:100%;max-width:100%;grid-column:auto}.setup-fields .name-field input{max-width:100%}.setup-submit{width:100%}.setup-submit button{width:100%}.field-hint{font-size:16px}.footer-actions{gap:8px;padding-top:24px}.footer-actions .subtle{font-size:17px;padding:12px 10px}.group-heading h3{font-size:26px}.group-material,.group-position{font-size:17px}.group-actions button{font-size:17px}.card{padding:24px}.toolbar-actions button{font-size:16px;min-height:44px;padding:8px 10px}.toolbar-actions .action-arrow{width:24px;height:24px}#save-status{font-size:16px}dialog{font-size:17px}dialog h2{font-size:26px}}
@media(max-width:380px){.brand strong{font-size:22px}.brand span{font-size:14px}.brand img{width:44px;height:44px}.brand{gap:8px}.home-intro h1{font-size:36px}.choice-card{padding:18px;grid-template-columns:48px minmax(0,1fr) 44px;gap:8px 10px}.choice-icon{width:48px;height:48px}.choice-title{font-size:24px}.choice-description{font-size:17px}.version-title{font-size:25px}.version-choice{padding:20px;column-gap:14px}.version-choice:hover{padding:20px}.version-copy{font-size:18px}.choice-stage h1,.setup h1,.page-heading h1{font-size:32px}.level-caption{font-size:15px}}

/* Keep short lesson selectors together rather than spreading them across empty grid cells. */
.setup-fields .lesson-pickers{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px;width:100%;min-width:0}.setup-fields .lesson-pickers label{flex:0 1 auto}.setup .saved-cue{font-size:18px;line-height:1.5}.card .group-material,.card .group-position{font-size:18px;line-height:1.4}.setup .setup-context{max-width:968px}.setup:has(#version[type="hidden"]) .setup-context{max-width:708px}@media(max-width:700px){.setup-fields .lesson-pickers{display:grid;grid-template-columns:1fr;gap:22px}.setup-fields .lesson-pickers label{width:100%;max-width:100%}.setup .saved-cue{font-size:17px}.card .group-material,.card .group-position{font-size:17px}}

.setup-fields .lesson-pickers #set-label{width:180px}.setup-fields .lesson-pickers #track-label,.setup-fields .lesson-pickers .lesson-field{width:240px}@media(max-width:700px){.setup-fields label:has(#version),.setup-fields .lesson-pickers #set-label,.setup-fields .lesson-pickers #track-label,.setup-fields .lesson-pickers .lesson-field{width:100%;max-width:100%}}@media(max-width:380px){.brand{flex-wrap:wrap;row-gap:4px}.brand img{width:48px;height:48px}.brand strong{font-size:24px}.brand span{font-size:16px;flex-basis:100%;text-align:right}}

/* Equal geometry for matching action roles; hierarchy stays distinct. */
.setup-submit button{width:320px;max-width:100%;min-height:56px}.card{display:flex;flex-direction:column}.group-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;margin-top:auto}.group-actions button,.group-actions .primary,.group-actions .subtle{width:100%;min-width:0;height:64px;min-height:64px;padding:8px 12px;display:flex;align-items:center;justify-content:center}.toolbar-actions #previous,.toolbar-actions #forward{width:140px;justify-content:center}#merge,#replace,#keep,#use-saved{width:260px;max-width:100%;min-height:56px}@media(max-width:700px){.setup-submit button{width:100%}.toolbar-actions #previous,.toolbar-actions #forward{width:128px}#merge,#replace,#keep,#use-saved{width:100%}}@media(max-width:380px){.group-actions button,.group-actions .primary,.group-actions .subtle{height:84px;min-height:84px}}

/* Direct resume leads; editing and archive share a quiet outlined secondary row. */
.card{--program-border:#6C7A89;--program-action:#305B79;border:1px solid var(--program-border);border-top-width:3px}
.card[data-program="Full"]{--program-border:#537FA0;--program-action:#305B79}
.card[data-program="Streamlined"]{--program-border:#4E7658;--program-action:#355A3F}
.card[data-program="Quick"]{--program-border:#6D5795;--program-action:#5B4677}
.card .group-actions{display:flex;flex-direction:column;gap:12px;padding-top:8px}
.card .group-actions>button.primary{height:56px;min-height:56px;background:var(--program-action);border:1px solid var(--program-action);color:#FEFDFC}
.card .group-actions>button.primary:hover{background:var(--program-action);filter:brightness(1.08)}
.group-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card .group-secondary-actions button{width:100%;height:64px;min-height:64px;background:transparent;border:1px solid var(--program-border);color:var(--program-action);font-weight:600}
.card .group-secondary-actions button:hover{background:#FEFDFC}
@media(max-width:380px){.card .group-secondary-actions button{font-size:16px}}
.card[data-program]{border-color:var(--program-border)}

/* Quick Start is a separate non-saving route beneath the two group choices. */
.quick-start-strip{display:grid;grid-template-columns:auto minmax(0,1fr) 48px;gap:24px;align-items:center;width:100%;margin-top:20px;padding:18px 24px;min-height:84px;background:#FEFDFC;border:1px solid #6C7A89;text-align:left;color:#2F2F2F}
.quick-start-title{font-size:25px;font-weight:700}.quick-start-copy{font-size:19px;line-height:1.45;font-weight:400}.quick-start-strip .choice-arrow{width:48px;height:48px;background:#E9EFE5}
#prep:has(#quick-start) .home-content{padding-bottom:16px}
.setup-context[data-program="Full"],.choice-stage:has(.program-badge.full){--selected-program-border:#537FA0;--selected-program-text:#305B79}
.setup-context[data-program="Streamlined"],.choice-stage:has(.program-badge.streamlined){--selected-program-border:#4E7658;--selected-program-text:#355A3F}
.setup-context[data-program="Quick"],.choice-stage:has(.program-badge.quick){--selected-program-border:#6D5795;--selected-program-text:#5B4677}
.setup-context .change-version{border:1px solid var(--selected-program-border);border-radius:12px;background:transparent;color:var(--selected-program-text);min-height:52px;padding:10px 18px}
.setup-context .change-version:hover{background:#FEFDFC}
.level-choice[data-level="E-F-G"]{background:#EEF4F8;border-color:#37627C;border-top-color:#6EA4CA}.level-choice[data-level="E-F-G"] .level-letter{font-size:clamp(24px,3.2vw,40px);color:#37627C}
/* Homepage actions: instructional blue for adding, yellow for unsaved Quick Start. */
.home-choices .choice-create{background:#DCEAF4;border-color:#537FA0}.home-choices .choice-create:hover{background:#C7DDF0}
.home-choices .choice-create .choice-icon{background:#C7DDF0;border-color:#537FA0;color:#305B79}.home-choices .choice-create .choice-arrow{background:#C7DDF0;color:#305B79}
.quick-start-strip{background:#F8F3CF;border-color:#9A842E}.quick-start-strip:hover{background:#F4EDB6}.quick-start-strip .choice-arrow{background:#F4EDB6;color:#705127}
@media(max-width:700px){.quick-start-strip{grid-template-columns:minmax(0,1fr) 44px;gap:8px 16px;padding:20px}.quick-start-title{font-size:24px}.quick-start-copy{grid-column:1;grid-row:2;font-size:18px}.quick-start-strip .choice-arrow{grid-column:2;grid-row:1/3;width:44px;height:44px}}
