/* A printed activity-book builder, not a dashboard. */
.saved-draft-banner{max-width:840px;margin:12px auto 24px;padding:16px 20px;background:#fff5df;border:2px solid #b79455;color:#234c37;display:flex;align-items:center;justify-content:space-between;gap:18px}.saved-draft-banner[hidden]{display:none}.saved-draft-banner p{font-size:14px;margin:0}.saved-draft-banner button{font-size:11px;white-space:nowrap}.draft-tools{border-top:1px dashed #bca57a;border-bottom:1px dashed #bca57a;padding:10px 0;margin:12px 0;font-size:12px}.draft-tools p{margin:5px 0}.draft-tools .small-link{font-size:11px;margin:4px 16px 4px 0}.draft-tools .builder-footnote{font-size:10px}.draft-tools [data-warning=true]{color:#942538;font-weight:bold}#reset-draft-confirm{padding:8px;border:1px solid #ae5c63;margin-top:6px}#draft-conflict{padding:6px 0}.saved-draft-banner button:focus-visible,.draft-tools button:focus-visible{outline:3px solid #286457;outline-offset:3px}
@media(max-width:600px){.saved-draft-banner{margin:12px;flex-direction:column;align-items:stretch;gap:10px}.saved-draft-banner button{white-space:normal}.draft-tools .small-link{min-height:32px}}
#editor-dialog{width:min(840px,calc(100vw - 24px));padding:26px 32px;scrollbar-gutter:stable}
#editor-dialog h2{font-size:38px}#editor-dialog h3{font:28px/1.2 Georgia,serif;color:#234c37;margin:20px 0 12px;scroll-margin-top:12px}
#editor-dialog h4{font:700 13px/1.5 'Courier New',monospace;margin:16px 0 12px}.editor-intro{margin:10px 0 18px;max-width:670px}
.step-nav{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0 12px;border-bottom:1px solid #c8bea7;padding-bottom:14px}
.step-nav button{flex:1;min-width:85px;padding:9px 6px;border:1px solid #c8bea7;background:transparent;color:#334234;font-size:11px}
.step-nav button[aria-current=step]{background:#234c37;color:#fff9e9;border-color:#234c37}.step-progress{font:11px/1.5 'Courier New',monospace;color:#8a2732;font-weight:bold}
.builder-step>p{font-size:13px}.builder-step .pair{border:0;padding:0}.clue-entry{border-top:1px solid #c8bea7;padding:2px 0 8px}
textarea{font:inherit;display:block;width:100%;min-width:0;padding:11px;border:1px solid #9a947f;background:#fffef8;color:#23271f;margin-top:6px;resize:vertical;line-height:1.5;font-size:14px;border-radius:0}
textarea:focus-visible{outline:3px solid #286457;outline-offset:4px}input::placeholder,textarea::placeholder{color:#827a6c;font-weight:400;font-style:italic;font-size:12px}
.word-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}
.theme-choice{position:relative;cursor:pointer;border:1px solid #c5b89c;padding:9px;background:#fffcf4;font-weight:400;font-size:11px;line-height:1.5}.theme-choice:has(input:checked){outline:3px solid #234c37;outline-offset:2px}.theme-choice input{display:inline;width:16px;height:16px;margin:0 6px 4px 0;vertical-align:middle}
.theme-choice strong{display:block;margin-top:7px;font:16px Georgia,serif}.theme-swatch{display:flex;align-items:center;justify-content:center;min-height:86px;font:28px Georgia,serif;margin-bottom:9px;border:3px double currentColor}
.theme-swatch.fireside{background:#173f30;color:#f0d496}.theme-swatch.snow{background:#edf5fa;color:#235778;background-image:radial-gradient(#9cbccc 1px,transparent 1px);background-size:13px 13px}.theme-swatch.candy{background:#fff5f2;color:#a91c3d;border:9px solid transparent;border-image:repeating-linear-gradient(45deg,#a91c3d 0 8px,#fff5f2 8px 16px) 9}
.example-status{padding:12px;border:1px dashed #9b3843;font-size:12px;background:#fff6e0}.example-status button{display:block;margin-top:6px}.form-actions{position:sticky;bottom:-26px;background:#fff5df;padding:14px 0 16px;border-top:1px solid #c8bea7;z-index:2;margin-top:12px;gap:12px}.form-actions .plain-button{flex:1}.form-actions .small-link{min-width:45px}.form-actions button:disabled{cursor:default}
#pack-review details{border-top:1px solid #d0c4ad;padding:12px 0;font-size:13px}#pack-review li{margin:9px 0}.review-contents{padding:13px 0;border-bottom:1px solid #d0c4ad;font-size:13px}.builder-footnote{font-size:11px;line-height:1.6;color:#635e50}
.game-instructions{font-size:12px;color:#52594f}.quiz-written{grid-template-columns:1fr;gap:24px}.quiz-written .quiz-question{padding:0 0 16px}.answer-lines{height:58px;background:repeating-linear-gradient(to bottom,transparent 0 27px,#d5c9b4 27px 28px);margin-top:10px}.quiz-written .correct{color:#246146;font-weight:bold}.game-preview[data-theme=snow]{background:#f6fbff;border-color:#a5c5d9;box-shadow:4px 5px 0 #b2c8d5;color:#203f53}.game-preview[data-theme=snow]::before{background:repeating-linear-gradient(90deg,#6291ae 0 14px,transparent 14px 25px)}.game-preview[data-theme=snow] h3,.game-preview[data-theme=snow] .correct{color:#235778}.game-preview[data-theme=snow] .cell.solved{background:#c2e0ef}.game-preview[data-theme=candy]{background:#fff8f4;border-color:#d89ca5;box-shadow:4px 5px 0 #deb6bc}.game-preview[data-theme=candy]::before{background:repeating-linear-gradient(45deg,#b41f42 0 10px,#ffe3e8 10px 20px)}.game-preview[data-theme=candy] h3,.game-preview[data-theme=candy] .correct{color:#a51a3b}.game-preview[data-theme=candy] .cell.solved{background:#f8cad4}
@media(max-width:600px){#editor-dialog{padding:20px 16px}#editor-dialog h2{font-size:30px}#editor-dialog h3{font-size:25px}.theme-options{gap:8px}.theme-choice{padding:6px;font-size:10px}.theme-choice strong{font-size:13px}.theme-swatch{min-height:68px;font-size:21px}.word-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.step-nav{gap:4px}.step-nav button{min-width:54px;font-size:9px;padding:9px 3px}.form-actions{bottom:-20px}.pair{grid-template-columns:1fr}.clue-entry input,.clue-entry textarea{font-size:16px}.theme-choice input{width:15px;height:15px}.builder-step>p{font-size:12px}}
