/* Mission workstations: familiar crew, large letters, clear decoding stages. */
.headquarters-mark{padding:26px 24px 12px;background:radial-gradient(ellipse at top,#214959,#0b1b27 65%);display:flex;flex-direction:column;justify-content:center;gap:24px}
.hq-wordmark{display:grid;grid-template-columns:auto 1fr;gap:0 20px;align-items:center;max-width:470px;margin:0 auto;width:100%;color:#f4ddb8}.hq-wordmark>strong{font:900 clamp(32px,4vw,54px)/.95 Arial,sans-serif;letter-spacing:.03em}.hq-monogram{grid-row:span 2;border:3px solid #86d6da;border-radius:50%;width:98px;height:98px;display:grid;place-items:center;font:900 36px Arial;color:#9ee5e7;box-shadow:0 0 0 7px #0b202b,0 0 0 8px #668793}.hq-subtitle{font:700 14px Arial;letter-spacing:.25em;margin-top:12px;border-top:1px solid #6c929d;padding-top:10px}.hq-crew{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;max-width:550px;margin:auto;width:100%}.hq-crew .command-portrait{width:100%;max-height:105px;aspect-ratio:1;background-size:var(--staff-size);border-bottom:2px solid #ad9369}
.cross-console{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:22px;align-items:center;width:100%;padding:15px;background:radial-gradient(ellipse at 35% 40%,#234e62,#081721 78%);border:1px solid #668f9c;box-shadow:inset 0 0 35px #04121b;border-radius:9px}.cross-console:not(:has(.crossword-wordbank)){grid-template-columns:1fr}.cross-display{min-width:0}.cross-display>header{display:flex;justify-content:space-between;font:700 13px monospace;color:#98e9ed;border-bottom:1px solid #537c90;padding-bottom:9px;margin-bottom:12px}.paged-content .cross-console .cross-grid{width:min(100%,480px);max-width:480px;margin:0 auto;gap:4px}.cross-console .cell{min-width:0;aspect-ratio:1;background:#183445;border:1px solid #79a0ae;box-shadow:inset 0 2px #b1d7df22,0 2px 2px #0006}.cross-console .cell.blank{background:transparent;border:0;box-shadow:none}.cross-console .cell input{font:700 clamp(17px,2vw,28px) Arial,sans-serif;color:#f3f8fc;padding:0;text-align:center;width:100%;height:100%;background:transparent}.cross-console .cell:focus-within{background:#285764;box-shadow:0 0 14px #79edff}.cross-console .cell.extract{background:#6a4c25;border-color:#ffd08c;box-shadow:0 0 9px #eab25855}.cross-console .cell small{font-size:10px;left:2px;top:0}.cross-console p{font-size:14px;margin:10px 0 0}.cross-console .crossword-wordbank{margin:0;padding:14px;border:1px solid #b79863;background:#182b35}.cross-console .crossword-wordbank>strong{display:block;font-size:16px;color:#ffe0a3;margin-bottom:8px}.cross-console .crossword-wordbank ul{display:grid;gap:10px;margin-top:15px}.cross-console .crossword-wordbank li{font:700 16px Arial;padding:8px;color:#e7f4f8;background:#294958}.cross-clues{margin-top:20px}
.cipher-stage{padding:20px;border:1px solid #5b889e;background:linear-gradient(125deg,#163443,#0a1924);border-radius:8px}.cipher-stage h2{margin-bottom:12px}.cipher-stage p{font-size:16px;line-height:1.45}.cipher-example{display:flex;align-items:center;justify-content:center;gap:25px;padding:10px;background:#07151e;border:1px solid #4b6c7d;margin:10px 0}.cipher-example>div{display:flex;flex-direction:column;text-align:center;gap:3px}.cipher-example span{font:12px monospace;color:#aecad7}.cipher-example strong{font:700 35px monospace;letter-spacing:.15em;color:#a1f1ef}.cipher-arrow{color:#ffcc8a;font-weight:700}.cipher-arrow small{font-size:13px}.cipher-words{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin:16px 0}.cipher-word{display:flex;flex-direction:column;text-align:center;gap:5px;max-width:175px;flex:1 1 105px}.cipher-word>span{font:700 21px monospace;letter-spacing:.12em;color:#f6d393}.cipher-word>b{color:#88e4ee}.cipher-word input{width:100%;text-align:center;font:700 19px monospace;letter-spacing:.09em;padding:9px 4px}.cipher-word input[readonly]{background:#294947;color:#baf2dd}.cipher-word small{font-size:12px;color:#bad0da}.cipher-key{padding:12px;background:#09212c;border:1px solid #5f8993;font-size:14px}.cipher-key p{font-size:14px;margin:5px 0 10px}.cipher-key>div{display:grid;grid-template-columns:repeat(9,1fr);gap:5px}.cipher-key span{font:14px monospace;background:#23414f;padding:4px;text-align:center}.cipher-stage fieldset{border:0;padding:0;margin:12px 0}.cipher-stage .choices{gap:7px}.cipher-stage .choice{padding:9px;font-size:16px}.cipher-stage .decoder{margin:10px 0;gap:18px}.cipher-stage .wheel{width:115px;height:115px;flex:none}.cipher-stage .wheel strong{font-size:32px}.cipher-rolling{display:flex;gap:7px}.cipher-rolling>span{display:flex;flex-direction:column;align-items:center;background:linear-gradient(#234253,#0a1923,#294856);border:1px solid #658b9b;border-radius:5px;min-width:38px;padding:5px;font:20px monospace}.cipher-rolling small{color:#f6c788}.cipher-stage [role=status]{color:#ffd28d;margin:10px 0}
.filecatch-game{height:min(590px,calc(100dvh - 305px));min-height:375px}.catch-board{max-width:780px;width:100%;align-self:center;min-height:230px}.falling-file{width:clamp(90px,22%,150px);max-width:150px;padding:6px;border-radius:3px;box-shadow:2px 3px 0 #0007}.falling-file small{font-size:14px;line-height:1.2}.file-basket{width:160px}.cart-art{width:160px;height:160px;bottom:-19px}.catch-reading{font-size:14px}.catch-status{font-size:14px;min-height:38px}.catch-options{font-size:14px}.catch-prompt{font-size:15px}.catch-prompt p{font-size:14px}.catch-controls button{font-size:14px}.filecatch-game .catch-board:focus-visible{outline:2px solid #ffcf8a}
@media(max-height:800px){.cross-console{padding:10px}.paged-content .cross-console .cross-grid{max-width:360px;gap:3px}.cipher-stage{padding:12px}.cipher-stage p{margin-bottom:10px}.cipher-example{padding:5px}.cipher-example strong{font-size:26px}.cipher-stage .wheel{width:90px;height:90px}.cipher-stage .decoder{margin:6px 0}.cipher-stage .choice{font-size:14px;padding:6px}.filecatch-game{min-height:365px}.hq-crew .command-portrait{max-height:88px}}
@media(max-width:700px){.cross-console{grid-template-columns:minmax(0,1fr) 125px;gap:10px;padding:8px}.cross-console .crossword-wordbank{padding:8px;font-size:13px}.cross-console .crossword-wordbank li{font-size:13px;padding:5px}.cross-console .cell input{font-size:16px}.cipher-key>div{grid-template-columns:repeat(5,1fr)}.cipher-example{gap:12px}.cipher-word{flex-basis:85px}.headquarters-mark{padding:25px 15px}.hq-monogram{width:72px;height:72px;font-size:27px}.hq-wordmark>strong{font-size:36px}.hq-crew .command-portrait{max-height:85px}.falling-file{width:29%;padding:4px}.falling-file small{font-size:13px}.file-basket,.cart-art{width:110px}.cart-art{height:110px;bottom:-12px}.catch-options{gap:8px}}
main:has(.cross-console)>.missionline,main:has(.cross-console)>.essential-question,main:has(.cipher-stage)>.missionline,main:has(.cipher-stage)>.essential-question,main:has(.filecatch-game)>.missionline{display:none}.cross-console .cross-display>header{margin-bottom:6px}.cross-console .cross-grid{aspect-ratio:auto}.cross-console .cell{height:auto}.cipher-stage .decoder-controls{min-width:0;flex:1}.cipher-stage input[type=range]{width:100%}

.cipher-stage:has(#shift){display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:0 20px}.cipher-stage:has(#shift)>p,.cipher-stage:has(#shift)>h2{grid-column:1 / -1}.cipher-stage:has(#shift)>.decoder{display:flex;flex-direction:column;justify-content:center;gap:5px}.cipher-stage:has(#shift)>.decoder .decoder-controls{width:100%}.cipher-stage:has(#shift)>.decoder .wheel{margin:0 auto}.cipher-stage:has(#shift)>form{grid-column:2}.cipher-stage .decoder-controls>p{font-size:13px;margin:4px 0}.cipher-stage:has(#shift) .choices{display:grid;grid-template-columns:1fr}.cipher-stage:has(#shift) .choice{margin:0;min-height:44px}.cipher-stage:has(#shift) fieldset{margin:0 0 8px}.cipher-stage:has(#shift) .wheel span{font-size:11px}.cipher-stage:has(#shift) .wheel{gap:0;padding:8px}@media(max-width:550px){.cipher-stage:has(#shift){display:block}.cipher-stage:has(#shift)>.decoder{flex-direction:row}}
@media(max-height:800px) and (min-width:701px){.paged-content .cross-console .cross-grid{max-width:420px}}
@media(max-height:800px){.cipher-stage>.eyebrow{margin:0 0 6px}.cipher-stage h2{font-size:24px;margin:0 0 8px}.cipher-stage .cipher-words{margin:8px 0;gap:8px}.cipher-stage .cipher-word{gap:2px}.cipher-stage .cipher-key{padding:8px}.cipher-stage .cipher-key p{margin:3px 0 6px}.cipher-stage .cipher-key span{padding:2px}.cipher-stage .toolbar{margin:8px 0 0}.cipher-stage .toolbar button{min-height:40px;padding:7px 12px}}
.cipher-stage .choices{margin:8px 0}.cipher-stage #cipher-feedback:empty{display:none}.cipher-stage .decoder-controls input{margin:4px 0 8px}.cipher-stage:has(#shift) .wheel{width:100px;height:100px;text-align:center;line-height:1.1}.cipher-stage:has(#shift) .wheel span{font-size:9px;white-space:nowrap}.cipher-stage:has(#shift) .wheel strong{line-height:1.2}.cipher-stage:has(#shift)>.decoder{align-self:start}.cipher-stage:has(#shift) .cipher-rolling{justify-content:center}

.command-welcome .welcome-copy form .welcome-privacy{font:13px/1.45 Arial,sans-serif;color:#bdd0db;letter-spacing:0;margin:0 0 10px;text-align:right;min-height:0}

.field-fallback[open]{width:min(1150px,96vw);max-width:96vw;height:92dvh;padding:10px;gap:10px}.field-fallback iframe{width:100%;flex:1;border:0;min-height:0}.field-fallback>button{align-self:flex-end}
