/* The class duel stays untouched. Preparation has one clear route at a time. */
#preparation{padding-top:24px}
.prep-top{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:40px}
.prep-top>.text-button{font-size:16px;min-height:44px;color:#d1d6b8}
.guide-progress{height:auto;gap:22px}
.guide-progress>span{display:flex;align-items:center;gap:7px;color:#8ea79b;font:15px Georgia,serif}
.guide-progress b{font:400 14px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.guide-progress>span.is-current{color:#f0e2b2}
.words-scene{padding-top:clamp(28px,6vh,62px);min-height:calc(100svh - 90px)}
.words-scene .scene-copy h2{font-size:clamp(43px,4.6vw,64px);margin-bottom:30px}
.source-paths{display:grid;grid-template-columns:1fr 1fr;gap:26px;max-width:980px;margin-top:0}
.source-paths .source-path{position:relative;display:block;width:100%;min-height:270px;overflow:hidden;border:1px solid #a0b99c4a;border-radius:8px;padding:0;background:#0a2428;text-align:left;isolation:isolate;transition:filter 160ms,border-color 160ms,transform 160ms}
.source-paths .source-path:hover{border-color:#dedda07a;filter:brightness(1.1);transform:translateY(-2px)}
.source-picture{position:absolute;inset:0;z-index:0;overflow:hidden}
.source-picture>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%;opacity:.84}
.source-picture:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#061b24fa 1%,#061b248c 40%,#061b2400 85%)}
.source-picture-light{position:absolute;inset:0;background:radial-gradient(ellipse at 55% 40%,#d5e38a1c,transparent 65%)}
.source-paths .source-path-caption{position:absolute;z-index:2;left:26px;right:46px;bottom:27px}
.source-paths .source-path-caption strong{font:400 clamp(25px,2.6vw,34px)/1.1 Georgia,serif;color:#f5e7bc}
.source-paths .source-path-caption small{display:block;margin-top:11px;font:15px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#c7d7c2}
.source-paths .source-path>b{position:absolute;z-index:2;bottom:28px;right:23px;font:28px Georgia,serif;color:#e9dfb3}
.source-manuscript{background:radial-gradient(ellipse at 50% 45%,#365347 0%,#163937 52%,#08232b 100%)}
.source-manuscript svg{position:absolute;right:4%;top:-3%;width:83%;height:82%;fill:#1c34355c;stroke:#b8b991;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 5px 7px #020e16)}
.source-manuscript svg .quill{fill:#bfad6b18;stroke:#dfc38b;stroke-width:1.8}
.saved-word-paths{display:flex;align-items:center;gap:28px;flex-wrap:wrap;min-height:47px;margin-top:15px;max-width:980px}
.saved-word-paths .text-button{display:inline-flex;gap:12px;align-items:center;font-size:16px;min-height:44px;color:#d2d9b6}
.saved-word-paths .text-button strong{font-weight:400}
#step1 .word-constellation{display:none}
.words-scene .context-tools{margin-top:10px;font-size:15px;max-width:980px}
.words-scene>.scene-actions{max-width:980px;margin-top:10px;padding-top:5px}
/* The actual planned A4 replaces the ornamental miniature. */
.round-scene{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(400px,1.2fr);grid-template-rows:auto auto auto auto minmax(0,1fr);align-content:start;align-items:start;column-gap:65px;row-gap:23px;padding-top:32px}
.round-scene>.scene-copy{grid-column:1;grid-row:1}
.round-scene>.scene-copy h2{font-size:clamp(43px,4.2vw,58px);margin:8px 0 0}
.round-scene>.expedition-name{grid-column:1;grid-row:2;padding:0;margin:0;max-width:none}
.round-scene .expedition-name>label{font:16px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0;color:#c4d0b5}
.expedition-name label small{display:inline;font:13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#91aa98;margin-left:8px}
.round-scene .expedition-name input{font-size:26px;padding:12px 0;min-height:50px}
.round-scene>.round-summary{grid-column:1;grid-row:3;margin:0;display:block}
.round-scene .round-facts>strong{font:400 28px/1.2 Georgia,serif}
.round-scene .round-facts p{font-size:16px;margin:10px 0 0}
#poolRemainder{color:#a7bda8;max-width:290px;line-height:1.4}
.round-scene .round-facts #shuffleRound{margin-top:10px}
.round-scene>.round-tools{grid-column:1;grid-row:4;gap:25px;margin:0}
.round-scene>.scene-actions{grid-column:1;grid-row:5;width:100%;justify-content:space-between;align-items:center;margin:0;padding:18px 0;border:0}
.round-scene>.scene-actions .primary{font-size:18px;min-height:55px;padding:14px 21px}
.round-scene>.plan-paper-area{grid-column:2;grid-row:1/6;min-width:0}
.sheet-preview-bar{display:flex;justify-content:space-between;font-size:13px;color:#b5c6b4;padding:0 4px 12px}
.plan-preview-viewport{height:clamp(350px,calc(100svh - 155px),690px);min-width:0;overflow:auto;background:#0b1c24a6;border:1px solid #adc49d38;border-radius:5px;display:flex;justify-content:center;align-items:start;padding:18px}
#planPaperPreview{flex:none;transform-origin:top center}
.ready-scene{padding-top:28px}
.ready-scene .package-summary{margin-bottom:19px}
.ready-scene .package-summary h2{font-size:clamp(29px,3.4vw,44px)}
.ready-scene .finish-actions{gap:18px}
.ready-scene .finish-actions>button{min-height:65px;font-size:25px}
/* Source panels share a fixed, reachable primary action. */
#wordPoolDialog{width:min(1120px,calc(100% - 40px));max-height:calc(100svh - 40px);padding:0}
#wordPoolDialog[open]{display:flex;flex-direction:column}
#wordPoolDialog .pool-header{flex:none;align-items:center;padding:22px 29px 11px}
#wordPoolDialog .pool-header h2{font-size:36px;margin:0}
#wordPoolDialog .pool-header>button{width:44px;height:44px;padding:0;font-size:28px}
#wordPoolDialog .source-switch{flex:none;padding:0 29px}
#wordPoolDialog .source-switch>summary{min-height:35px;padding:5px 0;font-size:14px;color:#9db39e}
#wordPoolDialog .pool-body{flex:1;min-height:0;overflow:auto;padding:18px 29px 22px}
#wordPoolDialog .pool-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:15px 29px;background:#071d24;border-top:1px solid #b9c89930}
.pool-footer-status{display:flex;align-items:center;gap:15px;flex:1;min-width:0}
#poolSourceStatus{font-size:14px;line-height:1.4;color:#b3c6ad}
.pool-primary-actions{flex:none}
.pool-primary-actions .primary{font-size:18px;min-height:53px;padding:13px 23px;white-space:nowrap}
#importModeLabel{display:flex;align-items:center;gap:9px;font-size:13px;color:#a5baa3}
#importModeLabel select{font-size:14px;min-height:42px;padding:8px;max-width:200px}
.import-entry{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:26px;align-items:stretch}
.paste-entry{min-width:0}
.paste-entry .field-note{margin:0 0 12px;font-size:15px;line-height:1.3}
#pasteInput{min-height:190px;font:17px/1.75 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:15px 18px;border-color:#b0c69a47;border-radius:4px;resize:vertical}
#pasteInput[aria-invalid=true]{border-color:#d49d67}
.file-entry{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:13px;margin:0;padding:0;border:0}
.file-entry .import-button{padding:21px 15px;min-height:132px;display:flex;align-items:center;gap:17px;border:1px solid #aabd9c42;border-radius:5px;background:#17392f7a;text-align:left}
.file-entry .import-button>svg{width:36px;height:45px;fill:none;stroke:#c4d0a8;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.file-entry .import-button>span{font:400 21px Georgia,serif}
.file-entry .import-button small{display:block;font:12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#9fb69e;margin-top:8px}
.file-entry>.text-button{align-self:center;font-size:15px;min-height:44px}
.import-preview{margin-top:19px;padding-top:14px}
.import-status strong{font-size:17px;color:#d3dfad}
.import-errors{max-height:120px;overflow:auto;font-size:15px;line-height:1.5}
.import-errors:empty,#importWarnings:empty{display:none}
.import-sample th{font-size:12px;text-transform:none;letter-spacing:.04em}
.import-sample td{font-size:16px;padding-block:9px}
.import-sample .answer-tag{font-size:14px}
/* Six broad secondary topics, with source-faithful primary topics underneath. */
.catalog-toolbar{display:flex;align-items:end;gap:20px;margin-bottom:20px}
.catalog-toolbar>label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#acbfa5}
.catalog-toolbar select,.catalog-toolbar input{font-size:16px;min-height:45px;padding:10px 12px}
.catalog-toolbar>.topic-search{margin-left:auto;width:min(260px,36%)}
.catalog-toolbar>.catalog-options{font-size:14px;margin-left:5px;align-self:end;position:relative}
.catalog-options>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px}
.catalog-toolbar .catalog-options[open]{min-width:220px}
.catalog-toolbar .catalog-options>div{display:flex;flex-direction:column;gap:12px}
.catalog-toolbar .catalog-options label{display:flex;flex-direction:column;gap:8px;font-size:14px}
.catalog-toolbar .catalog-options .text-button{font-size:14px;min-height:44px}
.topic-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.topic-card{position:relative;display:flex;align-items:end;min-width:0;aspect-ratio:8/5;min-height:145px;padding:18px;border:1px solid #b1c19b42;border-radius:6px;overflow:hidden;background:#102e2c;text-align:left;isolation:isolate;transition:filter 150ms,border-color 150ms}
.topic-card:after{z-index:1;content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#061a24f5,#061a2499 42%,#061a2408 85%)}
.topic-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.9}
.topic-card>span{position:relative;z-index:2;min-width:0}
.topic-card strong{display:block;font:400 23px/1.05 Georgia,serif;color:#f1e5bd;overflow-wrap:normal;text-wrap:balance}
.topic-card small{display:block;margin-top:8px;font-size:13px;color:#c0d2b7}
.topic-card:hover{filter:brightness(1.14);border-color:#d5d7a587}
.topic-card[aria-pressed=true]{border-color:#e2df9d;box-shadow:inset 0 0 0 2px #d3d5a64d,0 0 20px #b8d57b1c}
.topic-card[aria-pressed=true]:before{z-index:3;content:'✓';position:absolute;top:10px;right:12px;font:18px Georgia,serif;color:#f2efbd;text-shadow:0 1px 3px #03151c}
.topic-cards[data-primary=true]{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.topic-cards[data-primary=true] .topic-card{min-height:130px;padding:16px}
.topic-cards[data-primary=true] .topic-card strong{font-size:22px}
#catalogPreview{margin-top:18px}
.catalog-summary{display:none}
.catalog-review{margin:0;color:#c1cda9}
.catalog-review>summary{font-size:15px;min-height:44px;padding:10px 0}
#wordPoolDialog .draft-heading{margin-bottom:14px}
#wordPoolDialog .draft-rows{max-height:45svh}
@media(max-width:900px){.source-paths{gap:19px}.source-paths .source-path{min-height:240px}.round-scene{grid-template-columns:minmax(230px,.8fr) minmax(300px,1.2fr);column-gap:28px}.topic-card{padding:14px;min-height:130px}.topic-card strong{font-size:21px}.topic-cards{gap:13px}.topic-cards[data-primary=true]{grid-template-columns:repeat(3,minmax(0,1fr))}.import-entry{grid-template-columns:minmax(0,1fr) 190px;gap:18px}.file-entry .import-button{gap:11px;padding:18px 11px}.file-entry .import-button>span{font-size:19px}.file-entry .import-button>svg{width:30px}.pool-footer-status{display:block}#importModeLabel{margin-top:6px}}
@media(max-width:650px){#preparation{padding-top:12px}.prep-top{gap:12px}.guide-progress{gap:14px}.guide-progress>span{font-size:13px;gap:5px}.guide-progress b{font-size:12px}.prep-top>.text-button{font-size:14px}.words-scene{padding-top:28px}.words-scene .scene-copy h2{font-size:42px;margin-bottom:24px}.source-paths{grid-template-columns:1fr;gap:15px}.source-paths .source-path{min-height:200px}.source-paths .source-path-caption{left:22px;bottom:23px}.source-paths .source-path-caption strong{font-size:30px}.source-paths .source-path-caption small{font-size:14px;margin-top:9px}.source-manuscript svg{height:100%;width:65%;top:-8%;right:0}.saved-word-paths{gap:5px 22px;margin-top:12px}.saved-word-paths .text-button{font-size:15px}.words-scene .context-tools{margin-top:3px}.words-scene>.scene-actions{margin-top:3px}.round-scene{display:flex;flex-direction:column;gap:22px;padding-top:25px}.round-scene>.scene-copy h2{font-size:43px;margin:0}.round-scene>.expedition-name,.round-scene>.round-summary,.round-scene>.round-tools,.round-scene>.plan-paper-area{width:100%;max-width:none;margin:0}.round-scene .round-facts{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.round-scene .round-facts>strong{font-size:24px}.round-scene .round-facts p{margin:0;font-size:14px}.round-scene .round-facts #shuffleRound{margin:0 0 0 auto;font-size:16px}.round-scene .round-facts #poolRemainder{width:100%;max-width:none}.round-scene>.plan-paper-area{order:5}.round-scene>.scene-actions{order:6;padding:3px 0 12px}.round-scene>.round-tools{gap:25px}.round-scene>.round-tools .text-button,.round-scene>.round-tools summary{font-size:16px}.plan-preview-viewport{height:450px;padding:12px}.sheet-preview-bar{font-size:12px}.ready-scene{padding-top:25px}#wordPoolDialog{width:calc(100% - 22px);max-height:calc(100svh - 22px)}#wordPoolDialog .pool-header{padding:15px 18px 7px}#wordPoolDialog .pool-header h2{font-size:30px}#wordPoolDialog .source-switch{padding:0 18px}#wordPoolDialog .pool-body{padding:14px 18px 18px}#wordPoolDialog .pool-footer{gap:12px;padding:12px 17px;align-items:center}#poolSourceStatus{font-size:12px}.pool-primary-actions .primary{font-size:16px;padding:12px 15px;min-height:49px}.import-entry{grid-template-columns:1fr;gap:13px}.file-entry{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;order:-1}.file-entry .import-button{min-height:57px;padding:11px 13px;gap:10px}.file-entry .import-button>svg{width:25px;height:31px}.file-entry .import-button>span{font-size:18px}.file-entry .import-button small{font-size:10px;margin-top:3px}.file-entry>.text-button{font-size:13px;white-space:nowrap}#pasteInput{min-height:155px;font-size:16px;padding:12px 14px}.paste-entry .field-note{font-size:13px;margin-bottom:9px}.import-status strong{font-size:15px}.import-status .text-button{font-size:14px}.import-sample td{font-size:15px;padding:8px 6px}.catalog-toolbar{gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.catalog-toolbar>label{font-size:12px;gap:6px}.catalog-toolbar select,.catalog-toolbar input{font-size:14px;min-height:43px;padding:9px 10px}.catalog-toolbar>.topic-search{width:calc(54% - 12px);margin-left:auto}.catalog-toolbar>.catalog-options{width:100%;margin:0}.catalog-options>summary{min-height:32px;padding:7px 0;font-size:13px}.catalog-toolbar .catalog-options[open]{min-width:0}.catalog-toolbar .catalog-options>div{flex-direction:row;align-items:end;flex-wrap:wrap;gap:11px}.catalog-toolbar .catalog-options label{max-width:100%}.topic-cards{grid-template-columns:1fr 1fr;gap:11px}.topic-card{aspect-ratio:5/4;min-height:133px;padding:12px}.topic-card strong{font-size:20px}.topic-card small{font-size:11px;margin-top:6px}.topic-cards[data-primary=true]{grid-template-columns:1fr 1fr;gap:11px}.topic-cards[data-primary=true] .topic-card{min-height:120px;padding:12px}.topic-cards[data-primary=true] .topic-card strong{font-size:21px}#importModeLabel{font-size:11px;display:block;margin:0}#importModeLabel select{display:block;font-size:12px;max-width:155px;min-height:37px;margin-top:4px}.pool-footer-status:has(#importModeLabel:not([hidden]))>#poolSourceStatus{display:none}#wordPoolDialog .draft-rows{max-height:49svh}}
@media(prefers-reduced-motion:reduce){.source-paths .source-path,.topic-card{transition:none}.source-paths .source-path:hover{transform:none}}

.saved-word-paths:not(:has(button:not([hidden]))){display:none}

/* Print fit is a layout status. A valid saved race always stays playable. */
.saved-sheet-notice{max-width:420px;min-height:400px;padding:35px 30px;display:flex;flex-direction:column;justify-content:center;gap:20px;text-align:left}
.saved-sheet-notice h3{margin:0;color:#eee1b4;font:400 31px/1.15 Georgia,serif}
.saved-sheet-notice p{margin:0;color:#b7c9b5;font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.saved-sheet-notice .text-button{font-size:18px;min-height:46px;align-self:start;color:#e1dda8;border-bottom:1px solid #b9c18c55}
.saved-sheet-notice small{font-size:13px;line-height:1.5;color:#95ad9c}
@media(max-width:650px){.saved-sheet-notice{min-height:320px;padding:24px 17px;gap:17px}.saved-sheet-notice h3{font-size:28px}}
@media(max-width:420px){.topic-cards,.topic-cards[data-primary=true]{grid-template-columns:minmax(0,1fr)}.topic-card,.topic-cards[data-primary=true] .topic-card{width:100%;aspect-ratio:8/5;min-height:0;height:auto;padding:18px}.topic-card strong,.topic-cards[data-primary=true] .topic-card strong{font-size:24px}.topic-card small{font-size:13px;margin-top:9px}}

/* A short path to deliberate phrase tasks, only for this planned sheet. */
.round-scene .round-facts .typing-review{display:inline-flex;align-items:center;vertical-align:middle;margin:10px 0 0 18px;color:#ead7a3;font-size:16px;min-height:44px;text-align:left;border-bottom:1px solid #d7cb9555;padding-inline:0}
.phrase-review-progress{color:#c1cbb0;font-size:14px;letter-spacing:.12em;margin:0 0 20px}
@media(max-width:650px){.round-scene .round-facts .typing-review{flex-basis:100%;margin:0;min-height:44px;align-self:start}}

/* Freezing a sheet changes its actions, not where the teacher is looking. */
.ready-scene{padding-top:32px;animation:none}
.ready-scene .prepared-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(400px,1.2fr);gap:65px;align-items:start}
.ready-scene .paper-area{grid-column:2;grid-row:1;min-width:0;border:0;background:none;overflow:visible}
.ready-scene .paper-area .preview-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;padding:0 4px 12px;min-height:0;background:none;color:#b5c6b4;font-size:13px}
.ready-scene .paper-area #pageCount{font-size:13px}
.ready-scene .preview-viewport{display:flex;justify-content:center;align-items:start;height:clamp(350px,calc(100svh - 155px),690px);min-height:0;max-height:none;padding:18px;border:1px solid #adc49d38;border-radius:5px;background:#0b1c24a6}
.ready-scene .finish-actions{grid-column:1;grid-row:1;display:flex;align-items:stretch;gap:18px;padding:8px 0 0}
.ready-scene .package-summary{margin:0 0 20px}
.ready-scene .package-summary h2{font-size:clamp(29px,3.4vw,44px);line-height:1.15;text-wrap:balance;overflow-wrap:anywhere}
.ready-scene .finish-actions>#printStudents{min-height:55px;font-size:20px;border-color:#b6c89e55;background:#0b262b99;box-shadow:none}
.ready-scene .finish-actions>#startRace{min-height:70px;font-size:27px;border-color:#c5d6a189;background:linear-gradient(135deg,#355b49,#1e453d);box-shadow:0 5px 18px #06151c6b,inset 0 1px #d4e2a522}
.ready-scene .finish-actions>.save-options{margin-top:12px}
.ready-scene .finish-actions>button[data-go]{align-self:start;margin-top:8px;font-size:16px}
@media(max-width:900px){.ready-scene .prepared-layout{grid-template-columns:minmax(230px,.8fr) minmax(300px,1.2fr);column-gap:28px}}
@media(max-width:650px){.ready-scene{padding-top:25px}.ready-scene .prepared-layout{display:flex;flex-direction:column;gap:24px}.ready-scene .finish-actions,.ready-scene .paper-area{width:100%}.ready-scene .finish-actions{padding:0;gap:13px}.ready-scene .package-summary{margin-bottom:8px}.ready-scene .package-summary h2{font-size:34px}.ready-scene .finish-actions>#printStudents{min-height:52px}.ready-scene .finish-actions>#startRace{min-height:60px;font-size:25px}.ready-scene .preview-viewport{height:450px;padding:12px}}

@media(min-width:651px) and (max-height:760px){.round-scene{row-gap:16px}.round-scene>.scene-actions{padding-block:10px}}

.sheet-preview-bar,.ready-scene .paper-area .preview-bar{height:30px;line-height:18px;padding:0 4px 12px;box-sizing:border-box}

/* A deliberately optional photo route; vocabulary remains checked before use. */
.photo-help{margin:18px 0 4px;border-top:1px solid #afc49c2e;padding-top:8px;color:#bfcdae}
.photo-help>summary{min-height:44px;padding:10px 0;font-size:16px;cursor:pointer}
.photo-help-content{padding:0 0 8px}
.photo-help ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:8px 0 17px;padding-left:21px;font-size:15px;line-height:1.45}
#photoPrompt{min-height:145px;max-height:240px;font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:14px 16px;border:1px solid #a6ba9444;border-radius:4px;background:#061b24aa;color:#cad8c3;resize:vertical}
.photo-help-actions{display:flex;align-items:center;gap:18px;margin-top:12px}
.photo-help-actions button{font-size:16px;min-height:44px}
#photoCopyStatus{margin:0;font-size:14px;line-height:1.4;color:#b8c8ad}
#wordPoolDialog .draft-tools{flex-wrap:wrap;gap:12px 22px}
#wordPoolDialog .draft-tools>#saveNamedList{color:#ecdda9}
#savedListsDialog{width:min(680px,calc(100% - 32px));max-height:calc(100svh - 40px);padding:27px 30px;background:#08222b;color:#eae6ce;border:1px solid #b4c29a5c;border-radius:8px;overflow:auto}
.saved-lists-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.saved-lists-header h2{margin:0;font:400 35px/1.15 Georgia,serif}
.saved-lists-header button{width:44px;height:44px;padding:0;font-size:27px}
#saveNamedListForm{display:flex;flex-direction:column;gap:12px}
#saveNamedListForm>label{font-size:16px;color:#c4d2b6}
#savedListName{font:22px Georgia,serif;min-height:52px;padding:12px 14px;max-width:100%;box-sizing:border-box}
#saveNamedListForm>.primary{align-self:start;font-size:19px;min-height:49px;padding:12px 25px}
#saveNamedListForm>.field-note{margin:0 0 7px;font-size:14px;color:#aec0ac}
.saved-list-row{display:flex;align-items:center;gap:16px;border-top:1px solid #9bb38f35;padding:13px 0}
.saved-list-open{flex:1;min-width:0;background:none;border:0;padding:8px 0;text-align:left;color:#eee1b3;display:flex;flex-direction:column;gap:8px}
.saved-list-open strong{font:400 25px/1.15 Georgia,serif;overflow-wrap:anywhere}
.saved-list-open span{font-size:14px;color:#acbfa5}
.saved-list-file{font-size:25px;min-width:48px;min-height:48px;padding:8px}
.saved-list-open:hover{color:#fff4d0}
#savedListsEmpty{font-size:16px;line-height:1.5;color:#bccbb5}
#savedListsStorageNote{font-size:15px;line-height:1.5;margin:18px 0 8px;color:#bccbb5}
#savedListsExport,#exportOriginalLists{display:block;max-width:100%;min-height:44px;padding:10px 0;text-align:left;line-height:1.4}
.saved-list-rename,.saved-list-remove{min-width:44px;min-height:44px;padding:8px}

@media(max-width:650px){.photo-help ol{grid-template-columns:1fr;gap:10px}.photo-help-actions{align-items:start;flex-direction:column;gap:10px}#photoPrompt{font-size:14px;min-height:160px}#savedListsDialog{padding:23px 20px}.saved-lists-header h2{font-size:31px}.saved-list-open strong{font-size:23px}}

/* A short first pass remains playable; show one calm, concrete hint. */
.round-readiness{padding:12px 0 12px 16px;border-left:2px solid #d8bd77a6;max-width:540px;margin:16px 0 20px;color:#c3cdb7}
.round-readiness strong{display:block;color:#ead9ac;font:400 21px/1.25 Georgia,serif;margin-bottom:6px}
.round-readiness span{display:block;font-size:15px;line-height:1.5}
.round-readiness[hidden]{display:none}

/* Short teacher help appears only inside the selected preparation settings. */
.settings-help{font:400 15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#b3c3ab;margin:0 0 18px;max-width:58ch}
.more-settings .settings-help{grid-column:1/-1;margin:0;max-width:30ch;font-size:14px}
.practice-tool>.settings-help{margin-top:-8px;margin-bottom:20px}
.sentence-options>.settings-help{margin-top:-8px}
#step3 .sentence-toggle{margin-bottom:20px}
#step3 .practice-tool{margin-bottom:26px}
#phraseDialog>.settings-help,#phraseSelection>.settings-help{margin-bottom:12px}
#helpDialog .settings-help{font-size:16px}
@media(max-width:650px){.settings-help{font-size:15px}.more-settings .settings-help{font-size:14px}}

#helpDialog p{font-size:16px;line-height:1.55}
#helpDialog .field-note{font-size:13px;line-height:1.5}
#helpDialog .primary{font-size:16px;min-height:44px}
#helpDialog .power-help{margin:12px 0 16px;border-block:1px solid #b8c5962e}
#helpDialog .power-help>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:16px;color:#e2ddb9}
.power-help-list{list-style:none;padding:0;margin:8px 0 20px;display:grid;gap:16px}
.power-help-list li{display:flex;align-items:start;gap:14px}
.power-help-list svg{flex:none;width:40px;height:40px;fill:none;stroke:#c5d1ad;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#helpDialog .power-help-list p{font-size:15px;line-height:1.45;margin:0}
.power-help-list strong,.power-help-list span{display:block}
.power-help-list strong{color:#dedfbc;margin-bottom:3px}
#helpDialog .power-help>.settings-help{font-size:15px;margin-bottom:16px}
.rematch-path{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 18px;border:1px solid #d9dfaa66;border-radius:14px 4px 14px 4px;background:linear-gradient(150deg,#d9dfaa1c,#7aa08a10);color:#f3efd8;font:600 19px/1.2 Georgia,serif;cursor:pointer}.rematch-path small{font:400 14px/1.3 system-ui,sans-serif;color:#b9c4b3}.rematch-path:is(:hover,:focus-visible){border-color:#e7ecbc;background:linear-gradient(150deg,#d9dfaa30,#7aa08a1c)}

.ready-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.ready-foot .saved-sheet{color:#cfe6c8}
.topic-card[data-thin='true']{opacity:.62}
.topic-card[data-thin='true'] small{color:#e6c98a}
.topic-thin-hint{margin:10px 0 0;font:400 14px/1.4 system-ui,sans-serif;color:#b9d4c3}
.topic-thin-hint .text-button{margin-left:6px}
.paste-help{margin-top:4px;color:#b9d4c3;font-size:13px;line-height:1.4}
.paste-help i{color:#e7dcc0}
/* Review 27.10.2026: student sheet and teacher key print side by side; the column keeps its height. */
.ready-scene .finish-actions>.print-row{display:flex;gap:10px}
.ready-scene .finish-actions>.print-row>button{flex:1;min-width:0;min-height:55px;font-size:19px;border-color:#b6c89e55;background:#0b262b99;box-shadow:none;padding-inline:10px}
@media(max-width:650px){.ready-scene .finish-actions>.print-row>button{min-height:52px;font-size:18px}}
@media(max-width:420px){.ready-scene .finish-actions>.print-row{flex-direction:column}}

/* Repeatable draft shuffle; the complete frozen sheet remains a separate action. */
.round-facts #shuffleRound{min-height:44px;padding-block:8px;color:#f2e5b5;border-bottom:1px solid #d7c68b66}
.round-facts .shuffle-status{max-width:34em;margin:10px 0 0;color:#c5d0ba;font-size:15px;line-height:1.45}
.round-facts .shuffle-sequence{max-width:34em;margin:8px 0 0;color:#efe5c6;font-size:15px;line-height:1.45;overflow-wrap:anywhere}

/* A concurrent class window keeps a readable, actionable save warning. */
.class-storage-notice{position:relative;z-index:25;max-width:760px;margin:72px auto 18px;padding:17px 22px;border:1px solid #d6ad75;background:#35251f;color:#f7e4cb;border-radius:8px}
.class-storage-notice p{margin:0;font-size:16px;line-height:1.5}
.class-storage-notice>div{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:9px}
.class-storage-notice button{min-height:44px;padding:9px 0;text-align:left;color:#f0d392}
@media(max-width:650px){.class-storage-notice{margin:72px 12px 16px;padding:14px 17px}.class-storage-notice>div{gap:2px}.class-storage-notice button{width:100%}}
