.investigation{--paper:#fbf3df;--ink:#29221d;--brass:#b78b3c;max-width:1100px;color:var(--ink);margin:auto;padding:28px 22px 80px;font-family:Arial,sans-serif}.investigation *{box-sizing:border-box}.investigation h1{margin:18px 0 12px;font-family:Georgia,serif;font-size:clamp(38px,6vw,68px);line-height:1.06}.investigation h2{margin:10px 0 16px;font:700 clamp(23px,3vw,32px)/1.2 Georgia,serif}.investigation h3{margin:10px 0;font-size:18px}.investigation p{font-size:17px;line-height:1.6}.investigation a{color:inherit}.investigation .case-top{flex-wrap:wrap;justify-content:space-between;gap:14px;font-size:14px;font-weight:700;display:flex}.investigation .case-deck{max-width:740px}.investigation .case-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:24px 0;display:flex}.investigation button,.investigation select,.investigation input,.investigation textarea{color:#29221d;background:#fffaf0;border:2px solid #74614d;border-radius:7px;max-width:100%;min-height:46px;padding:10px 14px;font:600 16px/1.35 Arial,sans-serif}.investigation button{cursor:pointer;box-shadow:0 3px #4c3829}.investigation button:hover:not(:disabled){background:#f9dfa1;transform:translateY(-1px)}.investigation button:disabled{cursor:default;color:#766d61;box-shadow:none;background:#ece6d9}.investigation button[aria-pressed=true],.investigation .chosen{background:#ffe193;border-color:#412e20;box-shadow:0 0 0 2px #c39138}.investigation :focus-visible{outline-offset:3px;outline:3px solid #2359c4}.investigation .case-primary{background:#f1c864;border-color:#39291e;font-weight:800}.investigation .case-panel{background:var(--paper);border:2px solid #594331;border-radius:12px;margin:20px 0;padding:24px;box-shadow:5px 6px #654831}.investigation .case-panel.dark{color:#fff3d5;background:#493126}.investigation .case-tag{letter-spacing:1.6px;text-transform:uppercase;color:#735021;font-size:12px;font-weight:800}.investigation .dark .case-tag{color:#f6d28b}.investigation .case-columns{grid-template-columns:1fr 1fr;gap:24px;display:grid}.investigation .case-evidence{gap:12px;margin:14px 0;padding:0;list-style:none;display:grid}.investigation .case-evidence li,.investigation .evidence-card{background:#fffaf0;border:1px solid #c9b68e;border-left:5px solid #b78b3c;border-radius:5px;padding:16px;font-size:17px;line-height:1.5}.investigation .case-evidence label{cursor:pointer;align-items:start;gap:12px;display:flex}.investigation input[type=checkbox],.investigation input[type=radio]{accent-color:#7d552d;flex:0 0 24px;width:24px;min-height:24px}.investigation .case-actions{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.investigation .case-feedback{background:#efe2bc;border-left:5px solid #97702e;min-height:56px;padding:16px}.investigation .case-success{background:#dfeddc;border-color:#396740}.investigation .case-success h2{color:#244d31}.investigation .case-options{gap:12px;display:grid}.investigation .case-options button{text-align:left;padding:17px}.investigation .case-options button small{margin-top:7px;font-size:14px;display:block}.investigation .case-dials{justify-content:center;gap:12px;margin:24px 0;display:flex}.investigation .case-dials button{background:#ffefd0;min-width:64px;min-height:80px;font-size:36px}.investigation .case-keypad{grid-template-columns:repeat(3,1fr);gap:10px;max-width:340px;margin:auto;display:grid}.investigation .case-keypad button{font-size:22px}.investigation .case-strip{flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 0;display:flex}.investigation .case-strip>span,.investigation .case-strip>button{text-align:center;background:#ffefd0;border:2px solid #7d6544;border-radius:6px;min-width:54px;min-height:64px;padding:12px;font-size:26px}.investigation .case-strip button strong,.investigation .case-strip button small{font-size:22px;display:block}.investigation .case-strip button small{margin-top:8px;font-size:12px}.investigation .case-letters{flex-wrap:wrap;gap:9px;display:flex}.investigation .case-letters button{min-width:46px}.investigation .case-history{max-height:230px;overflow:auto}.investigation .case-history p{border-bottom:1px solid #c7b38c;padding-bottom:10px;font-size:15px}.investigation details{margin:18px 0}.investigation summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700}.investigation .case-form{gap:12px;display:grid}.investigation fieldset{border:0;margin:18px 0;padding:0}.investigation legend{margin-bottom:12px;font-weight:800}.investigation .case-footer{color:#635849;font-size:14px}.investigation .case-progress{gap:8px;display:flex}.investigation .case-progress i{background:#d2c4a8;border-radius:5px;flex:1;height:8px}.investigation .case-progress i.done{background:#497446}.investigation .case-notes{width:100%;min-height:95px;font-weight:400}.investigation .cipher-chart{flex-wrap:wrap;gap:7px;display:flex}.investigation .cipher-chart button{font-family:monospace}.investigation .cipher-board{flex-wrap:wrap;justify-content:center;gap:18px 15px;display:flex}.investigation .cipher-word{flex-wrap:wrap;gap:4px;max-width:100%;display:flex}.investigation .cipher-tile{width:40px;min-width:40px;min-height:66px;padding:0;font-size:23px}.investigation .cipher-tile strong,.investigation .cipher-tile small{display:block}.investigation .cipher-tile small{color:#fff0cf;background:#493126;padding:3px;font-size:14px}.investigation .cipher-keyboard{z-index:5;background:#fdf6e4;border:2px solid #594331;border-radius:10px;margin-top:22px;padding:12px;position:sticky;bottom:12px;box-shadow:0 5px 20px #0003}.investigation .cipher-keyboard p{margin:0 0 10px;font-size:15px}.investigation .cipher-key-row{justify-content:center;gap:5px;margin-bottom:6px;display:flex}.investigation .cipher-key-row button{flex:1;min-width:0;max-width:55px;padding:8px 0}.investigation .cipher-keyboard .case-actions{margin:12px 0 0}.investigation .cipher-tile.good{background:#dbe9d6}.investigation .cipher-tile.bad{background:#ffd5c4}.investigation .case-note{font-size:14px}.investigation .case-gallery{flex-wrap:wrap;gap:10px;display:flex}@media (max-width:650px){.investigation{padding:20px 14px 90px}.investigation .case-columns{grid-template-columns:1fr;gap:0}.investigation .case-panel{padding:18px 14px;box-shadow:3px 4px #654831}.investigation .case-toolbar select{width:100%}.investigation .case-dials{gap:8px}.investigation .case-strip{gap:6px}.investigation .case-strip>span{min-width:42px;padding:8px;font-size:22px}.investigation .cipher-keyboard{padding:9px 5px;bottom:70px}.investigation .cipher-key-row{gap:3px}.investigation .cipher-key-row button{min-height:46px;font-size:15px}.investigation .cipher-word{gap:3px}.investigation .cipher-tile{width:36px;min-width:36px}.investigation .cipher-board{gap:16px 12px}.investigation .case-top{font-size:13px}}.investigation .detective-lineup{grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 30px;display:grid}.investigation .detective-lineup button{flex-direction:column;align-items:center;gap:12px;display:flex}.investigation .detective-lineup img{object-fit:contain;max-width:100%;height:auto}@media (max-width:650px){.investigation .detective-lineup{grid-template-columns:repeat(2,1fr)}.investigation.cipher-active{padding-bottom:340px}.investigation.cipher-active .cipher-keyboard{max-width:620px;margin:auto;position:fixed;bottom:68px;left:10px;right:10px}.investigation .cipher-tile{width:44px;min-width:44px}}.investigation .case-route-grid{grid-template-columns:repeat(5,1fr);align-self:start;gap:5px;max-width:420px;margin:20px 0;display:grid}.investigation .case-route-grid span{aspect-ratio:1;background:#fff9e9;border:1px solid #a18862;place-items:center;font-size:24px;font-weight:700;display:grid}.investigation .case-route-grid .visited{background:#e9d39a}.investigation .case-route-grid .current{background:#ffd164;outline:3px solid #65452b}.investigation .case-matrix-select{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.investigation .case-cipher-text{overflow-wrap:anywhere;font:700 24px/1.5 monospace}.investigation .evidence-card{overflow-wrap:anywhere}@media (max-width:650px){.investigation .case-matrix-select{grid-template-columns:1fr}}.investigation h1,.investigation h2,.investigation h3{letter-spacing:normal}.investigation .case-dials{background:linear-gradient(145deg,#70513e,#39291f);border:7px double #b38a4e;border-radius:20px;padding:22px 12px;box-shadow:inset 0 0 0 4px #332219}.investigation .case-dials button{color:#251c16}.investigation .case-panel.dark{background:radial-gradient(at 100% 0,#795637,#493126 70%)}.decoderBriefing>button{min-height:44px;font-size:13px}.decoderFieldNote p{font-size:16px;line-height:1.5}.decoderFieldNote b{font-size:12px}@media (max-width:650px){.decoderBriefing{grid-template-columns:1fr}.decoderBriefing>button{width:100%;min-height:44px;font-size:13px}.decoderBriefing li{font-size:11px}.decoderFieldNote p{font-size:15px}}@media (prefers-reduced-motion:reduce){.investigation *{scroll-behavior:auto;transition:none!important;animation:none!important}}
