@charset "UTF-8";
:root {
  color-scheme: light;
  --canvas: #f3f6f8;
  --paper: #fff;
  --ink: #172b40;
  --muted: #59697a;
  --line: #d4dee5;
  --control: #8192a0;
  --navy: #173c57;
  --accent: #006d70;
  --accent-light: #e7f5f3;
  --amber: #82521a;
  --amber-light: #fff3df;
  --red: #a52e32;
  --radius: 16px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
}
/* Outcome tones for the simulated apps and feedback; each is always paired with an icon and words. */
.success { --tone: #1d6b4f; --tone-light: #e8f6ef; }
.partial { --tone: #7a4a12; --tone-light: #fff1d9; }
.risk { --tone: #a52e32; --tone-light: #fdeeec; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); overflow-wrap: break-word; }
/* Long fictional file names, network names and addresses must wrap inside flex rows at 200% text. */
.spot, .app-bar, .choice-content, .review-case-title, .network strong, .account-card strong, .local-record, .result-score span { overflow-wrap: anywhere; min-width: 0; }
.home-heading > div, .result-copy, .case-heading > div { min-width: 0; }
/* Headings receive focus only to move screen-reader and keyboard position after a screen change. */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
button, input, select { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #106aa8; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.25vw, 3.15rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.05rem; }
p { line-height: 1.65; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 12px; max-width: calc(100vw - 24px); padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 92px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: center; padding: 18px max(28px, calc((100vw - 1264px) / 2)); }
.brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.brand-name { display: flex; align-items: center; gap: 18px; font-size: 2rem; font-weight: 800; letter-spacing: -.06em; color: var(--navy); }
.brand-divider { display: block; height: 34px; width: 1px; background: var(--line); }
.brand-caption { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.brand-caption strong { font-size: .86rem; font-weight: 600; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.simulation-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
/* Language switch: two-state segmented control; the pressed state uses the navy used for stable navigation. */
.lang-switch { display: inline-flex; flex: 0 0 auto; }
.lang-switch button { min-width: 44px; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); background: #f5f8fa; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.lang-switch button:first-child { border-radius: 8px 0 0 8px; }
.lang-switch button:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.lang-switch button:hover { color: var(--ink); background: #edf3f7; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.simulation-label .icon { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .16s, box-shadow .16s, transform .16s; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: #005457; box-shadow: 0 4px 12px #16374618; transform: translateY(-1px); }
.button.primary:disabled { background: #e2e8ed; color: #505d69; border-color: #c9d2da; box-shadow: none; transform: none; }
.button.secondary { background: white; border-color: var(--control); color: var(--ink); }
.button.secondary:hover { background: #edf3f7; }
.button.quiet { background: #f5f8fa; color: var(--ink); border-color: var(--line); }
.button.quiet:hover { border-color: var(--control); }
.button.danger { background: var(--red); color: white; }
.button.full { width: 100%; }
.text-button { padding: 8px 0; min-height: 44px; background: none; border: 0; display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .9rem; font-weight: 600; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; }
.section-label { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .025em; margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.home, .game, .results { width: min(1264px, calc(100% - 64px)); margin: 0 auto; }
.home { padding: 48px 0 30px; }
.home-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.title-dot { color: var(--accent); }
.intro { color: var(--muted); margin-top: 16px; max-width: 680px; }
.home-note { display: flex; gap: 12px; align-items: center; color: var(--muted); padding-bottom: 4px; font-size: .84rem; line-height: 1.6; }
.home-note .icon { width: 27px; height: 27px; }
.home-note strong { color: var(--ink); font-weight: 600; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mission-card { min-width: 0; border: 1px solid #cbd9df; border-radius: var(--radius); background: white; box-shadow: 0 5px 16px #183b4c05; overflow: hidden; display: flex; flex-direction: column; }
.amber { --accent: #815119; --accent-light: #fff3df; }
.mission-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 28px 20px; }
.mission-number { font-size: .84rem; font-weight: 700; color: var(--accent); }
.mission-duration { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: .83rem; }
.mission-duration .icon { width: 16px; height: 16px; }
.mission-preview { margin: 0 24px; padding: 24px 26px 0; height: 240px; background: #e8f1f1; border-radius: 10px; overflow: hidden; }
.amber .mission-preview { background: #f7f0e4; }
.preview-inbox, .preview-share { background: white; box-shadow: 0 12px 28px #193f4d12; border: 1px solid #d3e0e3; border-radius: 10px 10px 0 0; transform: rotate(-1.5deg); }
.preview-share { transform: rotate(1.5deg); }
.preview-bar { border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; padding: 13px 18px; }
.preview-bar .icon { width: 18px; height: 18px; color: var(--accent); }
.preview-bar > span { margin-left: auto; font-weight: 400; font-size: .75rem; color: var(--muted); }
.preview-mail { padding: 16px; display: flex; align-items: center; gap: 11px; }
.preview-mail div { min-width: 0; }
.preview-mail strong { font-size: .88rem; display: block; }
.preview-mail div > span { display: block; font-size: .76rem; color: var(--muted); margin-top: 3px; }
.avatar { width: 38px; height: 38px; background: #dcefee; color: #216569; font-weight: 700; font-size: .8rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.avatar.light { background: #eaf0f6; color: var(--navy); }
.preview-alert { margin-left: auto; color: #855119; background: #fff2dc; padding: 5px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.preview-clue { margin: 0 13px; padding: 11px; display: flex; align-items: center; gap: 7px; background: #eaf5f3; font-size: .75rem; color: #235b5e; border: 1px solid #acd0ca; border-radius: 6px; }
.preview-clue .icon { width: 17px; height: 17px; }
.preview-clue span { margin-left: auto; font-family: Consolas, monospace; font-size: .72rem; }
.preview-mail.faded { background: #f9fbfc; }
.file-permission { padding: 20px 17px; display: flex; gap: 11px; align-items: center; }
.file-permission strong { font-size: .87rem; display: block; }
.file-permission span { display: block; font-size: .77rem; color: var(--muted); margin-top: 5px; }
.file-symbol { padding: 10px; background: #fff2dc; border-radius: 7px; color: var(--amber); }
.preview-access { display: flex; gap: 7px; align-items: center; padding: 11px 13px; margin: 0 14px 9px; background: #fff6e8; border: 1px solid #dbc8a8; border-radius: 6px; font-size: .75rem; color: var(--amber); }
.preview-access span { margin-left: auto; font-size: .72rem; }
.preview-access .icon { width: 16px; height: 16px; }
.preview-access.soft { background: #f9fafb; color: var(--muted); border-color: var(--line); }
.mission-copy { padding: 25px 28px 22px; flex: 1; }
.mission-category { font-size: .79rem; color: var(--accent); font-weight: 600; margin-bottom: 7px; }
.mission-copy h2 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); letter-spacing: -.04em; margin-bottom: 12px; }
.mission-copy > p:not(.mission-category) { color: var(--muted); font-size: .96rem; max-width: 440px; }
.mission-facts { display: flex; align-items: center; gap: 20px; font-size: .8rem; color: var(--muted); margin-top: 20px; }
.mission-facts span + span { padding-left: 20px; border-left: 1px solid var(--line); }
.mission-card-bottom { border-top: 1px solid var(--line); padding: 19px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.local-record > span { display: block; }
.local-record { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.local-record strong { color: var(--ink); display: block; }
.home-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 26px; }
.learning-note { display: flex; align-items: center; gap: 12px; max-width: 690px; color: var(--muted); font-size: .85rem; }
.learning-note > .icon { color: var(--accent); }
.learning-note strong { color: var(--ink); }
.site-footer { width: min(1264px, calc(100% - 64px)); margin: 26px auto 0; padding: 23px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.game { padding: 22px 0 12px; }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.game-name { font-size: .95rem; font-weight: 600; }
.score-label { font-size: .83rem; color: var(--muted); display: flex; align-items: center; gap: 13px; }
.score-label strong { display: inline-block; font-size: 1.3rem; color: var(--ink); }
.score-label strong.bump { animation: pop .5s ease-out; }
.score-label strong span { font-size: .85rem; font-weight: 400; margin-left: 3px; color: var(--muted); }
.case-trail { display: grid; grid-template-columns: repeat(5,1fr); margin: 24px 0 30px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.case-trail li { display: flex; align-items: center; gap: 10px; padding: 14px 15px; min-width: 0; border-right: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.4; }
.case-trail li:last-child { border-right: 0; }
.case-trail li.current { background: var(--accent-light); color: var(--accent); font-weight: 600; }
/* Shield trail: shape and word carry the state; colour reinforces it. */
.st-pending { --st: #5f6f7c; --st-fill: #fff; }
.st-current { --st: var(--accent); --st-fill: #fff; }
.st-secure { --st: var(--accent); --st-fill: var(--accent-light); }
.st-weak { --st: #7a4a12; --st-fill: #fff1d9; }
.st-breach { --st: #a52e32; --st-fill: #fdeeec; }
.st-repaired { --st: var(--navy); --st-fill: #e6edf3; }
.step-shield, .review-shield { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--st); }
.step-shield .icon, .review-shield .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.step-shield .icon path:first-child, .review-shield .icon path:first-child { fill: var(--st-fill); }
.step-no { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -56%); font-size: .7rem; font-weight: 700; line-height: 1; }
.step-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step-text small { font-size: .68rem; font-weight: 600; color: var(--st); }
.case-trail li.flash .step-shield { animation: shield-hit .55s ease-out; }
@keyframes shield-hit { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-6deg); } 100% { transform: none; } }
.review-shield .icon { width: 26px; height: 26px; }
/* Evidence hunt meter */
.evidence-heading { flex-wrap: wrap; }
.evidence-meter { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 5px 10px; border-radius: 6px; background: var(--accent-light); color: var(--accent); font-size: .78rem; font-weight: 700; }
.evidence-meter .icon { width: 16px; height: 16px; }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; border-radius: 2px; background: #c3d0d7; }
.meter i.on { background: var(--accent); }
.evidence-meter.complete { background: var(--accent); color: #fff; }
.evidence-meter.complete .meter i.on { background: #fff; }
.evidence-meter.celebrate { animation: stamp .5s ease-out; }
.spot.just-found .spot-mark { animation: pop .45s ease-out; }
@keyframes stamp { 0% { transform: scale(.82); opacity: .5; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.35); } 100% { transform: none; } }
/* Mission badges */
.badges { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 25px; }
.badges .review-title { margin-bottom: 10px; }
.badges-note { color: var(--muted); font-size: .84rem; margin-bottom: 18px; }
.badge-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.badge { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding: 16px; border: 1px dashed #7b8b98; border-radius: 10px; }
.badge.on { border: 1px solid var(--accent); background: var(--accent-light); }
.badge.fresh { animation: stamp .5s ease-out both; }
.badge.fresh:nth-child(2) { animation-delay: .15s; }.badge.fresh:nth-child(3) { animation-delay: .3s; }
.badge-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #eef2f5; color: #52616e; }
.badge.on .badge-icon { background: var(--accent); color: #fff; }
.badge-copy { flex: 1 1 8rem; min-width: 0; }
.badge-copy strong { display: block; font-size: .92rem; }
.badge-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.badge-state { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.badge-state .icon { width: 15px; height: 15px; }
.badge.on .badge-state { color: var(--accent); }
.card-badges { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--muted); }
.card-badges i { display: inline-flex; color: #9aa9b4; }
.card-badges i.on { color: var(--accent); }
.card-badges .icon { width: 16px; height: 16px; }
.card-badges i:last-of-type { margin-right: 4px; }
.case-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.case-heading h1 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.case-heading p:not(.section-label) { margin-top: 12px; color: var(--muted); max-width: 860px; font-size: .98rem; }
.case-heading .section-label { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.case-id { color: var(--accent); font-family: Consolas, monospace; background: var(--accent-light); padding: 3px 7px; border-radius: 4px; }
.case-count { font-size: 2.1rem; letter-spacing: -.04em; font-weight: 600; white-space: nowrap; color: var(--accent); }
.case-count span { font-size: 1rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.evidence-pane { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 22px; }
.evidence-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.evidence-heading > span:first-child { display: flex; gap: 8px; align-items: center; }
.evidence-heading .icon { width: 18px; height: 18px; }
.simulation-tag { font-size: .74rem; color: #5b6775; padding: 4px 7px; background: #f0f3f5; border-radius: 4px; font-weight: 400; }
.artifact { border: 1px solid #ccd7de; border-radius: 10px; overflow: hidden; background: #fff; }
.app-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 13px 18px; background: #f5f8fa; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.app-bar > span:not(.avatar):not(.app-status) { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .76rem; }
/* Evidence hotspots: dashed annotation boxes inside the simulated app, numbered like the clue list. */
.spot { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 4px 8px; max-width: 100%; min-height: 44px; padding: 4px 8px; border: 1.5px dashed var(--accent); border-radius: 6px; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: left; transition: background .15s; }
.spot:hover { background: var(--accent-light); }
.spot.found { border-style: solid; background: var(--accent-light); }
.spot-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; }
.spot-mark .icon { width: 13px; height: 13px; }
.spot code, .link-preview code, .opened-page code { font-family: Consolas, monospace; font-size: .78rem; overflow-wrap: anywhere; }
.spot-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spot-stack code { color: var(--ink); font-weight: 400; }
.clue-hint { font-size: .78rem; color: var(--muted); margin: -2px 0 10px; line-height: 1.55; }
/* Outcome label the simulated app shows after a decision. */
.app-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border-radius: 5px; color: var(--tone); background: var(--tone-light); font-size: .76rem; font-weight: 600; line-height: 1.35; animation: reveal .28s ease-out; }
.app-status .icon { width: 15px; height: 15px; }
.link-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.link-preview .icon { width: 16px; height: 16px; }
.link-preview code { color: var(--ink); background: #eef3f6; padding: 3px 7px; border-radius: 4px; }
.opened-page { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 8px; color: #a52e32; background: #fdeeec; border: 1px solid #e3b4b0; animation: reveal .28s ease-out; }
.opened-page .icon { width: 19px; height: 19px; margin-top: 2px; }
.opened-page strong, .opened-page code, .opened-page span { display: block; font-size: .82rem; line-height: 1.5; }
.opened-page code { margin: 4px 0; color: var(--ink); }
.opened-page span { color: #6e3a37; font-size: .76rem; }
.app-bar .icon { width: 18px; height: 18px; }
.email-body { padding: 25px; }
.email-body h2 { font-size: 1.22rem; line-height: 1.45; letter-spacing: -.015em; }
.email-sender { display: flex; align-items: center; gap: 11px; margin: 20px 0; }
.email-sender strong { display: block; font-size: .83rem; }
.email-sender div > span { display: block; color: var(--muted); margin-top: 3px; font-size: .77rem; }
.email-sender .time { margin-left: auto; font-size: .76rem; color: var(--muted); }
.email-body > p { font-size: .92rem; }
.fake-cta { padding: 12px 20px; margin-top: 18px; background: #1f568d; border: 0; border-radius: 5px; color: white; font-size: .88rem; font-weight: 600; min-height: 44px; }
.fake-cta:hover { background: #164675; }
.artifact .artifact-caption { color: var(--muted); font-size: .76rem; margin-top: 13px; line-height: 1.55; }
.clues { margin-top: 25px; }
.clue-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.clue-title h2 { font-size: .9rem; letter-spacing: 0; }
.clue-title > span { font-size: .76rem; color: var(--muted); }
.clue { border: 1px solid #c2d0d8; border-radius: 8px; margin-top: 8px; overflow: hidden; }
.clue-toggle { width: 100%; display: flex; align-items: center; text-align: left; gap: 10px; padding: 12px; background: #fff; border: 0; min-height: 48px; font-size: .83rem; font-weight: 600; }
.clue-toggle > .icon { margin-left: auto; color: var(--accent); width: 17px; height: 17px; }
.clue-toggle:hover { background: #f0f6f7; }
.clue-index { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 auto; font-size: .74rem; border-radius: 5px; color: var(--muted); background: #edf2f5; }
.clue-index .icon { width: 15px; height: 15px; }
.clue.revealed { border-color: #98bfba; }
.revealed .clue-toggle { color: var(--accent); background: var(--accent-light); }
.clue-content { padding: 3px 16px 16px 46px; background: var(--accent-light); animation: reveal .22s ease-out; }
.clue-content strong { font-size: .83rem; overflow-wrap: anywhere; display: block; }
.clue-content p { font-size: .79rem; color: #385965; margin-top: 7px; line-height: 1.6; }
.decision-pane { min-width: 0; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); background: #fff; scroll-margin-top: 20px; }
.decision-heading .section-label { color: var(--accent); font-size: .78rem; margin-bottom: 10px; }
.decision-heading h2 { font-size: 1.42rem; }
.decision-heading p:last-child { color: var(--muted); margin-top: 10px; font-size: .89rem; }
.choices { display: grid; gap: 12px; margin-top: 25px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 17px 14px; border: 1px solid var(--control); border-radius: 9px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--accent); background: #f8fbfc; }
.choice.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-light); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:focus-visible) { outline: 3px solid #106aa8; outline-offset: 3px; }
.choice-letter { font-size: .77rem; font-weight: 700; background: #f0f3f6; color: #536577; border-radius: 5px; width: 25px; height: 27px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.selected .choice-letter { color: var(--accent); background: white; }
.choice-content { min-width: 0; flex: 1; }
.choice-content strong { display: block; font-weight: 600; font-size: .94rem; line-height: 1.4; }
.choice-content > span { display: block; color: var(--muted); font-size: .81rem; margin-top: 6px; line-height: 1.55; }
.choice-radio { width: 17px; height: 17px; border: 1.5px solid #8494a1; border-radius: 50%; flex: 0 0 auto; margin-top: 4px; }
.selected .choice-radio { border: 5px solid var(--accent); background: white; }
.commit { margin-top: 24px; }
.decision-hint { font-size: .76rem; color: var(--muted); text-align: center; margin-top: 11px; }
.game-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-top: 23px; }
.game-footnote .icon { width: 15px; height: 15px; }
.chat .app-bar .avatar { width: 32px; height: 32px; font-size: .73rem; }
.chat .app-bar small { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; margin-top: 3px; }
.chat-body { padding: 20px; background: #eef4f6; }
.chat-date { display: block; text-align: center; color: var(--muted); font-size: .74rem; margin-bottom: 22px; }
.chat-bubble { padding: 15px; border-radius: 0 12px 12px 12px; background: white; margin-bottom: 13px; max-width: 88%; font-size: .92rem; line-height: 1.6; box-shadow: 0 2px 4px #15344908; }
.chat-bubble small { display: block; text-align: right; font-size: .69rem; color: var(--muted); margin-top: 5px; }
.chat-reminder { display: flex; align-items: center; gap: 7px; margin-top: 18px; font-size: .76rem; color: #67571b; }
.chat-reminder .icon { width: 16px; height: 16px; }
.chat-outcome { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 8px 12px; border-radius: 6px; color: var(--tone); background: var(--tone-light); font-size: .8rem; font-weight: 600; line-height: 1.45; animation: reveal .28s ease-out; }
.chat-outcome .icon { width: 16px; height: 16px; }
.chat-bubble .spot { margin: -5px -9px; }
.artifact-inner { padding: 24px; }
.artifact-inner > p { font-size: .92rem; }
.account-compare { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 25px; }
.account-card { position: relative; flex: 1 1 6rem; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); padding: 17px 13px; border-radius: 7px; }
.account-card.spot { border: 1.5px dashed var(--accent); padding-right: 34px; }
.account-card.spot.found { border-style: solid; }
.account-card .spot-mark { position: absolute; top: 9px; right: 9px; }
.account-compare .account-card > span:not(.spot-mark):not(.sr-only) { display: block; font-size: .74rem; color: var(--muted); margin-bottom: 9px; }
.account-compare strong { font-size: .88rem; line-height: 1.5; display: block; }
.account-compare .new-account { background: #fff4e3; border-color: #d2b781; }
.account-compare.switched .account-card:first-child strong { text-decoration: line-through; }
.account-compare.switched .new-account { border-color: #a52e32; box-shadow: inset 0 0 0 1px #a52e32; }
.mfa { background: #edf3f6; padding: 27px 20px; }
.mfa-device { max-width: 310px; margin: 0 auto; border: 1px solid #acbbc7; border-radius: 18px; background: white; padding: 24px; text-align: center; box-shadow: 0 7px 13px #203c4c0b; }
.mfa-app { color: var(--muted); font-size: .79rem; display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 25px; }
.mfa-device h2 { font-size: 1.22rem; }
.mfa-device > p { font-size: .78rem; color: var(--muted); margin-top: 15px; }
.mfa-number { display: block; font-size: 3.8rem; letter-spacing: -.05em; line-height: 1.6; }
.mfa-warning { width: 100%; justify-content: center; color: #7a4a12; background: #fff3df; border-radius: 6px; padding: 11px; font-size: .79rem; line-height: 1.5; margin-bottom: 15px; }
.mfa-warning.spot { border-color: #7a4a12; }
/* Banner hotspots keep the marker on the same line; the text wraps instead. */
.mfa-warning.spot, .document-warning.spot { flex-wrap: nowrap; }
.mfa-warning.spot > span:not(.spot-mark), .document-warning.spot > span:not(.spot-mark) { min-width: 0; }
.mfa-warning .icon { width: 17px; height: 17px; }
.mfa-device .artifact-caption { display: block; font-size: .73rem; }
.mfa-result { display: grid; justify-items: center; gap: 8px; margin: 18px 0; padding: 18px 12px; border-radius: 10px; color: var(--tone); background: var(--tone-light); animation: reveal .28s ease-out; }
.mfa-result .icon { width: 30px; height: 30px; }
.mfa-result strong { font-size: 1.1rem; line-height: 1.35; }
.portal .artifact-inner { text-align: center; padding: 30px 24px; }
.portal-check { width: 54px; height: 54px; border-radius: 50%; color: var(--accent); background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.portal h2 { font-size: 1.25rem; margin-bottom: 12px; }
.portal-task { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; text-align: left; padding: 15px; margin-top: 20px; border: 1px solid var(--line); border-radius: 7px; font-size: .85rem; }
.portal-task small { display: block; color: var(--muted); margin-top: 5px; font-size: .75rem; }
.network-list { padding: 5px 18px; }
.network { display: flex; align-items: center; gap: 13px; padding: 23px 0; }
.network + .network { border-top: 1px solid var(--line); }
.network > .icon { color: var(--navy); width: 26px; height: 26px; }
.network strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.network > div > span { display: block; font-size: .77rem; color: var(--muted); margin-top: 5px; }
.signal { display: flex; align-items: flex-end; gap: 3px; margin-left: auto; flex-shrink: 0; }
.signal i { width: 4px; background: #d2dce3; height: 6px; }
.signal i:nth-child(2) { height: 10px; }.signal i:nth-child(3) { height: 14px; }.signal i:nth-child(4) { height: 18px; }
.signal i.on { background: #476374; }
.network .net-state { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 8px; border-radius: 4px; color: var(--tone); background: var(--tone-light); font-size: .76rem; font-weight: 600; animation: reveal .28s ease-out; }
.network .net-state .icon { width: 14px; height: 14px; }
.share-file { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.share-file > .icon { width: 38px; height: 38px; color: var(--accent); }
.share-file strong { font-size: .92rem; display: block; overflow-wrap: anywhere; }
.share-file span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; }
.share-field { padding: 0; border: 0; margin: 0 0 23px; min-width: 0; }
.share-field legend { font-size: .82rem; font-weight: 600; margin-bottom: 11px; }
.segment { display: flex; gap: 7px; }
.segment button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 9px; border: 1px solid var(--control); border-radius: 6px; font-size: .79rem; line-height: 1.4; background: white; min-height: 46px; }
.segment button .icon { width: 16px; height: 16px; }
.segment button.active { background: var(--accent-light); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-weight: 600; }
.segment button:hover:not(:disabled) { background: #f3f6f8; }
.segment button:disabled { cursor: default; }
.access-preview { display: flex; gap: 10px; align-items: center; padding: 13px; background: #f0f4f7; border-radius: 7px; color: #435b70; font-size: .83rem; line-height: 1.6; }
.share-summary { display: flex; gap: 15px; align-items: center; padding: 24px 18px; background: var(--accent-light); border: 1px solid #d1b581; border-radius: 8px; margin-top: 24px; }
.share-summary > .icon { color: var(--accent); width: 32px; height: 32px; }
.share-summary strong { font-size: .98rem; display: block; }
.share-summary span { font-size: .83rem; color: var(--muted); margin-top: 6px; display: block; }
.document-warning { display: flex; width: 100%; gap: 9px; background: #fff0d1; color: #7a4a12; padding: 12px 16px; font-size: .8rem; line-height: 1.5; }
.document-warning.spot { border-radius: 0; border-color: #7a4a12; }
.document-warning.risk { color: #a52e32; background: #fdeeec; animation: reveal .28s ease-out; }
.document-warning .icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.document-sheet.unlocked .blocked-content { color: #a52e32; font-weight: 600; }
.document-sheet { padding: 26px 22px; margin: 22px; border: 1px solid #dce3e8; background: #fafbfc; }
.document-title { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.document-line { display: block; height: 7px; background: #dfe7ec; margin: 9px 0; border-radius: 2px; }
.document-line.short { width: 65%; }
.blocked-content { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 25px 5px 10px; color: var(--muted); font-size: .8rem; }
.colleague-message { display: flex; gap: 12px; align-items: flex-start; }
.colleague-message strong { font-size: .82rem; }
.colleague-message p { font-size: .88rem; margin-top: 5px; }
.upload-simulation { display: flex; flex-direction: column; align-items: center; padding: 27px 20px; gap: 10px; border: 1px dashed #8193a2; border-radius: 8px; margin-top: 23px; background: #f8fafc; text-align: center; }
.upload-simulation .icon { width: 34px; height: 34px; color: var(--accent); }
.upload-simulation strong { font-size: .92rem; }.upload-simulation > span { color: var(--muted); font-size: .78rem; }
.upload-simulation.uploaded { border: 1px solid #e3b4b0; background: #fdeeec; }
.upload-simulation .upload-bar { display: block; width: min(240px, 100%); height: 6px; border-radius: 3px; background: #efd3d0; overflow: hidden; }
.upload-bar i { display: block; height: 100%; width: 100%; background: #a52e32; animation: fill .7s ease-out; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.incident-status { display: flex; align-items: center; gap: 8px; color: var(--red); background: #fff0ed; border-radius: 6px; padding: 11px 13px; font-size: .86rem; font-weight: 600; margin-bottom: 22px; }
.incident h2 { font-size: 1.3rem; margin-bottom: 13px; }
.incident-timeline { display: grid; gap: 0; margin-top: 20px; }
.incident-timeline > * { padding: 11px 0 11px 16px; border-left: 2px solid #b9c8d2; font-size: .83rem; color: var(--muted); }
.incident-timeline > strong { display: flex; align-items: center; gap: 8px; color: var(--accent); border-color: var(--accent); background: var(--accent-light); }
.incident-timeline > strong[class] { color: var(--tone); border-color: var(--tone); background: var(--tone-light); animation: reveal .28s ease-out; }
.incident-timeline .icon { width: 16px; height: 16px; }
.final-case-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 23px; padding: 17px; background: #f2f6f8; border-radius: 8px; }
.final-case-note > .icon { color: var(--muted); width: 18px; height: 18px; margin-top: 2px; }
.final-case-note strong { font-size: .83rem; }.final-case-note p { color: var(--muted); font-size: .8rem; margin-top: 6px; }
.feedback, .recovery { animation: reveal .28s ease-out; }
.feedback-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.feedback-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e6f5ef; color: #176349; }
.feedback-icon .icon { width: 26px; height: 26px; }
.partial .feedback-icon { color: #87541c; background: #fff0d6; }
.risk .feedback-icon { color: var(--red); background: #ffedeb; }
.earned { font-size: 1.7rem; font-weight: 700; letter-spacing: -.035em; }.earned small { font-size: .88rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.feedback h2 { margin-bottom: 16px; }.feedback > p { font-size: .92rem; }
.feedback .your-choice { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.your-choice strong { font-weight: 600; color: var(--ink); }
.consequence { background: #f1f6f8; border: 1px solid var(--line); border-radius: 9px; padding: 17px; margin: 20px 0; }
.consequence span { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 7px; }.consequence strong { font-size: .96rem; line-height: 1.55; display: block; font-weight: 600; }
.consequence small { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.5; color: var(--muted); }
.consequence small .icon { width: 15px; height: 15px; margin-top: 2px; }
.takeaway { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 24px; color: #27614f; padding: 14px; background: #edf8f2; border-radius: 7px; }
.takeaway .icon { width: 18px; height: 18px; margin-top: 3px; }.takeaway p { font-size: .84rem; }
.feedback-note { display: block; font-size: .75rem; line-height: 1.5; text-align: center; color: var(--muted); margin-top: 12px; }
.recovery-symbol { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-light); border-radius: 10px; margin-bottom: 20px; }
.recovery h2 { font-size: 1.4rem; margin-bottom: 15px; }.recovery > p { font-size: .86rem; }
.recovery-options { display: grid; gap: 12px; margin-top: 23px; }
.recovery-choice { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #91a2af; border-radius: 8px; padding: 18px 15px; text-align: left; background: white; font-size: .9rem; line-height: 1.5; }
.recovery-choice:hover:not(:disabled) { background: #f2f7f9; border-color: var(--accent); }.recovery-choice.correct { background: #edf8f2; color: #25634f; border-color: #559079; }
.recovery-explanation { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: .85rem; color: #25634f; }.recovery-explanation .icon { margin-top: 4px; }
.inline-error { display: flex; gap: 8px; align-items: flex-start; margin-top: 17px; color: var(--red); font-size: .85rem; line-height: 1.55; }.inline-error .icon { width: 18px; height: 18px; margin-top: 1px; }
.storage-warning { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 24px; padding: 14px 16px; border-radius: 8px; color: #6b4210; background: #fff1d9; font-size: .85rem; line-height: 1.55; }.storage-warning .icon { width: 19px; height: 19px; margin-top: 1px; }
.report-builder { min-width: 0; border: 0; border-top: 1px solid var(--line); padding: 19px 0 0; margin: 22px 0; }.report-builder legend { float: left; width: 100%; padding: 0; font-size: 1.05rem; font-weight: 700; }.report-builder > p { clear: both; color: var(--muted); font-size: .79rem; margin: 9px 0 12px; padding-top: 4px; }
.report-builder label { display: flex; gap: 10px; align-items: center; font-size: .83rem; min-height: 40px; cursor: pointer; }.report-builder input { width: 18px; height: 18px; accent-color: var(--accent); }
.report-builder .button { margin-top: 12px; font-size: .83rem; }.report-builder .report-success { color: #25634f; }
.results { padding: 28px 0 10px; }.result-overview { display: grid; grid-template-columns: 1fr 330px; gap: 55px; align-items: center; margin: 28px 0 38px; }
.result-copy h1 { font-size: clamp(2rem, 3.3vw, 3rem); max-width: 750px; }.result-copy > p:not(.section-label) { color: var(--muted); margin-top: 20px; max-width: 740px; }
.completion-status { display: inline-flex; gap: 8px; align-items: center; color: #24624c; margin-top: 19px; font-weight: 600; font-size: .87rem; }
.result-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.result-score { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }.result-score > span { color: var(--muted); font-size: .85rem; }
.result-score > strong { display: block; font-size: 5rem; line-height: 1.35; letter-spacing: -.07em; font-weight: 650; color: var(--accent); margin: 10px 0 17px; }.result-score > strong small { font-size: 1.1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.result-score > div { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }.result-score > div span { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; font-size: .78rem; color: var(--muted); }.result-score b { color: var(--ink); }
.review { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }.review-title { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }.review-title h2 { font-size: 1.25rem; }.review-title > span { font-size: .78rem; color: var(--muted); }
.review-case { border-top: 1px solid var(--line); }.review-case summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 17px; padding: 18px 4px; cursor: pointer; }.review-case summary::-webkit-details-marker { display: none; }
.review-case summary:hover { background: #f8fafb; }.review-id { font-family: Consolas, monospace; font-size: .8rem; color: var(--muted); padding: 9px; background: #f1f5f7; border-radius: 5px; }
.review-case-title { font-size: .95rem; font-weight: 600; flex: 1 1 9rem; }.review-case-title small { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); margin-top: 6px; }.review-score { font-size: .94rem; color: var(--tone); }.review-expand { font-size: 1.4rem; color: var(--muted); margin-left: 12px; }.review-case[open] .review-expand { transform: rotate(45deg); }
.review-body { padding: 0 50px 20px; font-size: .9rem; }.review-body p + p { margin-top: 10px; }
.review-state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 5px; color: var(--tone); background: var(--tone-light); font-size: .8rem; font-weight: 600; }.review-state .icon { width: 15px; height: 15px; }.review-takeaway { color: var(--accent); font-weight: 600; }
.reporting-note { display: flex; align-items: flex-start; gap: 12px; padding: 23px; margin-top: 25px; background: #eaf0f5; border-radius: 9px; }.reporting-note .icon { margin-top: 3px; }.reporting-note strong { font-size: .89rem; }.reporting-note p { margin-top: 6px; font-size: .82rem; color: var(--muted); }
dialog { border: 1px solid var(--line); border-radius: 18px; padding: 36px; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; color: var(--ink); box-shadow: 0 30px 100px #152b3a33; }
dialog::backdrop { background: #112c4366; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 14px; right: 14px; }.dialog-symbol { width: 52px; height: 52px; color: var(--accent); background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }.dialog-symbol .icon { width: 26px; height: 26px; }
dialog h2 { font-size: 1.75rem; padding-right: 24px; margin-bottom: 20px; }.dialog-symbol + .section-label { font-size: .78rem; }dialog > p { font-size: .93rem; margin-bottom: 17px; color: var(--muted); }
.brief-goal { background: #eff5f7; border-radius: 8px; padding: 17px; margin-top: 20px; }.brief-goal > strong { font-size: .81rem; color: var(--accent); }.brief-goal p { font-size: .88rem; margin-top: 6px; }
.brief-steps { margin: 23px 0; padding-left: 21px; font-size: .88rem; line-height: 1.6; }.brief-steps li + li { margin-top: 8px; }.guide-list { padding-left: 22px; font-size: .94rem; line-height: 1.7; margin: 0 0 25px; }.guide-list li + li { margin-top: 12px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translateX(-50%); z-index: 200; padding: 16px 22px; border-radius: 10px; color: white; background: var(--navy); box-shadow: 0 8px 35px #142b4b33; width: max-content; max-width: calc(100% - 32px); font-size: .9rem; line-height: 1.5; }
.loading { margin: 12vh auto; padding: 24px; max-width: 600px; }.loading p { margin-top: 20px; }
@keyframes reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (min-width: 1100px) { .decision-pane { position: sticky; top: 22px; } }
@media (max-width: 1100px) {
  .home-note { display: none; }.mission-preview { padding: 22px 13px 0; margin: 0 18px; height: 220px; }.preview-clue { flex-wrap: wrap; }.preview-clue span { margin-left: 24px; }.mission-card-bottom { padding: 18px 22px; }.mission-copy { padding: 22px; }.mission-topline { padding: 20px 22px; }
  .case-trail li { padding: 13px 10px; font-size: .7rem; gap: 7px; }.decision-pane { padding: 22px; }.evidence-pane { padding: 18px; }.workbench { gap: 20px; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }.choice { padding: 15px 11px; gap: 9px; }.choice-letter { display: none; }.artifact-inner { padding: 19px; }.result-overview { gap: 30px; grid-template-columns: 1fr 290px; }
}
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; min-height: 82px; }.simulation-label { display: none; }.home, .game, .results, .site-footer { width: calc(100% - 48px); }.home { padding-top: 35px; }.mission-grid { gap: 18px; }.mission-card-bottom { align-items: stretch; flex-direction: column; gap: 12px; }.local-record strong { display: inline; margin-left: 6px; }.mission-preview { padding: 18px 10px 0; height: 210px; }.preview-mail { padding: 13px 10px; gap: 8px; }.preview-alert { display: none; }.preview-bar { padding: 11px; }.preview-mail strong { font-size: .8rem; }.preview-mail .avatar { width: 30px; height: 30px; font-size: .7rem; }.file-permission { padding: 15px 11px; }.file-permission strong { font-size: .8rem; }.file-symbol { padding: 7px; }.preview-access { flex-wrap: wrap; }.preview-access span { margin-left: 23px; }
  .home-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }.workbench { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }.choice-letter { display: flex; }.decision-pane { padding: 26px; }.evidence-pane { padding: 24px; }.case-trail li { flex-direction: column; text-align: center; font-size: .72rem; }.game-name { font-size: .88rem; }.case-count { font-size: 1.8rem; }.case-heading { gap: 16px; }.result-overview { grid-template-columns: 1fr 260px; gap: 24px; }.result-score { padding: 22px; }.result-score > strong { font-size: 4rem; }.result-copy h1 { font-size: 2rem; }.review-title { align-items: flex-start; flex-direction: column; gap: 9px; }
}
@media (max-width: 620px) {
  .site-header { padding: 14px 18px; gap: 10px; min-height: 78px; }.brand { gap: 12px; }.brand-name { font-size: 1.7rem; gap: 12px; }.brand-caption { font-size: .67rem; }.brand-caption strong { font-size: .71rem; }.brand-divider { height: 30px; }.header-actions { gap: 8px; }.header-actions .button { padding: 10px; min-width: 44px; }.header-actions .button span { display: none; }.home, .game, .results, .site-footer { width: calc(100% - 32px); }.home { padding-top: 29px; }.home-heading { margin-bottom: 24px; }.home h1 { font-size: 2.1rem; }.section-label { font-size: .74rem; }.intro { margin-top: 13px; font-size: .91rem; }.mission-grid { grid-template-columns: 1fr; gap: 22px; }.mission-topline { padding: 20px; }.mission-preview { margin: 0 18px; padding: 22px 20px 0; height: 220px; }.preview-mail strong { font-size: .85rem; }.preview-alert { display: block; }.preview-clue span { margin-left: auto; }.preview-access { flex-wrap: nowrap; }.preview-access span { margin-left: auto; }.mission-copy { padding: 22px 20px; }.mission-copy h2 { font-size: 1.75rem; }.mission-copy > p:not(.mission-category) { font-size: .91rem; }.mission-card-bottom { padding: 18px 20px; flex-direction: row; align-items: center; }.local-record strong { display: block; margin-left: 0; }.mission-card-bottom .button { padding: 11px 14px; font-size: .86rem; }.mission-card-bottom .button .icon { width: 17px; }.learning-note { font-size: .8rem; align-items: flex-start; }.learning-note > .icon { width: 19px; margin-top: 3px; }.home-bottom { margin-top: 21px; }.site-footer { flex-direction: column; gap: 7px; margin-top: 15px; font-size: .72rem; }
  .game { padding-top: 15px; }.game-top { flex-wrap: wrap; gap: 4px 12px; }.game-top .text-button { font-size: .8rem; }.game-name { order: 3; flex-basis: 100%; font-size: .85rem; padding-top: 8px; color: var(--muted); }.score-label { font-size: .77rem; gap: 8px; }.score-label strong { font-size: 1.12rem; }.case-trail { margin: 18px 0 24px; }.case-trail li { padding: 11px 5px; flex-direction: row; justify-content: center; }.case-trail .step-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }.evidence-heading .simulation-tag { margin-left: auto; }.evidence-meter { order: 3; margin-left: 0; }.case-heading { align-items: flex-start; margin-bottom: 21px; }.case-heading h1 { font-size: 1.9rem; }.case-heading p:not(.section-label) { font-size: .91rem; }.case-count { display: none; }.case-heading .section-label { font-size: .72rem; gap: 8px; }.workbench { gap: 18px; }.evidence-pane { padding: 17px; border-radius: 12px; }.evidence-heading { font-size: .77rem; margin-bottom: 16px; }.decision-pane { padding: 23px 18px; border-radius: 12px; }.decision-heading h2 { font-size: 1.35rem; }.choice { padding: 17px 12px; gap: 10px; }.choice-content strong { font-size: .92rem; }.choice-content > span { font-size: .8rem; }.email-body { padding: 19px 17px; }.email-body h2 { font-size: 1.1rem; }.clue-title > span { font-size: .72rem; }.clue-toggle { font-size: .79rem; padding: 11px 10px; gap: 8px; }.clue-content { padding-left: 42px; padding-right: 13px; }.game-footnote { text-align: left; font-size: .73rem; align-items: flex-start; line-height: 1.6; }.game-footnote .icon { margin-top: 3px; }.artifact-inner { padding: 18px; }.account-compare { gap: 8px; }.account-card { padding: 12px 8px; }.account-card.spot { padding-right: 30px; }.account-compare .icon { width: 17px; }.account-compare strong { font-size: .78rem; }.account-compare span { font-size: .68rem; }.segment { flex-direction: column; }.segment button { font-size: .83rem; }.network-list { padding: 3px 13px; }.network { gap: 9px; padding: 20px 0; }.network strong { font-size: .87rem; }.network > div > span { font-size: .73rem; }.signal { gap: 2px; }.signal i { width: 3px; }.share-file strong { font-size: .84rem; }.share-file > .icon { width: 30px; }.chat-body { padding: 17px; }.chat-bubble { max-width: 95%; }.mfa { padding: 22px 15px; }.document-sheet { margin: 15px; padding: 22px 16px; }.final-case-note { padding: 14px; }.decision-hint { font-size: .73rem; }
  .results { padding-top: 16px; }.result-overview { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 20px; }.result-copy h1 { font-size: 2rem; }.result-copy > p:not(.section-label) { font-size: .9rem; margin-top: 16px; }.result-buttons { gap: 10px; }.result-buttons .button { flex: 1; font-size: .84rem; padding: 11px 12px; }.result-score { text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 22px; padding: 22px; align-items: center; }.result-score > span { font-size: .76rem; grid-column: 1; }.result-score > strong { grid-column: 1; grid-row: 2; margin: 0; font-size: min(3.8rem, 16vw); }.result-score > strong small { font-size: .88rem; }.result-score > div { grid-column: 2; grid-row: 1 / 3; border-top: 0; border-left: 1px solid var(--line); padding: 4px 0 4px 19px; gap: 16px; }.result-score > div span { font-size: .74rem; display: block; }.result-score b { display: block; margin-top: 4px; font-size: .95rem; }.review { padding: 20px 15px; }.review-title h2 { font-size: 1.15rem; }.review-case summary { gap: 11px; }.review-case-title { font-size: .87rem; }.review-id { padding: 7px; font-size: .76rem; }.review-case-title small { font-size: .71rem; }.review-expand { margin-left: 0; }.review-score { font-size: .83rem; }.review-body { padding: 0 4px 20px; font-size: .84rem; }.reporting-note { padding: 18px; }.reporting-note p { font-size: .79rem; }
  dialog { padding: 30px 23px 25px; border-radius: 13px; }.dialog-close { top: 10px; right: 10px; }dialog h2 { font-size: 1.55rem; margin-top: 8px; }dialog > p { font-size: .89rem; }.toast { font-size: .83rem; padding: 14px 17px; bottom: 16px; }
}
/* Depth and colour for missions 01 and 02 (user request): colourful title marks, a coloured case banner,
   raised surfaces for what you interact with, and the simulated app shown as the top file of a case stack. */
.game-brand { display: inline-flex; align-items: center; gap: 8px; }
.game-emblem { width: 26px; height: 28px; flex: 0 0 auto; filter: drop-shadow(0 2px 0 #0f2a4026); }
.game-emblem.big { display: block; width: 64px; height: 70px; margin-bottom: 16px; }
.game-emblem.hero { width: 54px; height: 58px; }
.mission-card { transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 0 -2px #cddbe3, 0 14px 30px #183b4c14; }
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 -2px #bfd0da, 0 20px 36px #183b4c1f; }
.mission-preview { position: relative; perspective: 900px; }
.cyan .mission-preview { background: linear-gradient(160deg, #bfeee8 0%, #e9faf7 70%); }
.amber .mission-preview { background: linear-gradient(160deg, #ffd9a8 0%, #fff4e6 70%); }
.preview-inbox, .preview-share { transform: rotateX(12deg) rotateZ(-2deg); transform-origin: 50% 100%; box-shadow: 0 22px 34px #0f3a4a2e, 0 3px 0 #cfdde3; transition: transform .3s; }
.preview-share { transform: rotateX(12deg) rotateZ(2deg); }
.mission-card:hover .preview-inbox { transform: rotateX(4deg) rotateZ(-1deg) translateY(-6px); }
.mission-card:hover .preview-share { transform: rotateX(4deg) rotateZ(1deg) translateY(-6px); }
.float-medal { position: absolute; z-index: 2; animation: bob 3.2s ease-in-out infinite; }
.float-medal.f0 { right: 14px; top: 12px; }.float-medal.f1 { left: 12px; bottom: 16px; animation-delay: 1s; }
.case-hero { padding: 22px 26px; border-radius: var(--radius); color: #fff; background: linear-gradient(120deg, #0b4f53, #0f766e); box-shadow: 0 6px 0 -2px #0b4f5340, 0 16px 30px #0b4f5326; }
.amber .case-hero { background: linear-gradient(120deg, #7c3d06, #b45309); box-shadow: 0 6px 0 -2px #7c3d0640, 0 16px 30px #7c3d0626; }
.case-hero h1 { color: #fff; }
.case-hero .section-label, .case-hero p:not(.section-label) { color: #fff; }
.case-hero .case-id { background: #00000038; color: #fff; }
.case-hero .case-count { display: flex; align-items: center; gap: 12px; color: #fff; }
.case-hero .case-count span { color: #fff; }
.case-hero .case-count .case-count-text { font-size: 2.1rem; font-weight: 600; letter-spacing: -.04em; }
.case-hero .case-count-text span { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.case-heading.case-in { animation: hero-in .5s ease-out; }
.cyan .evidence-pane { background: linear-gradient(180deg, #e3f7f4, #fff 38%); }
.amber .evidence-pane { background: linear-gradient(180deg, #fff0dc, #fff 38%); }
.evidence-pane, .decision-pane, .review, .badges, .result-score { box-shadow: 0 6px 0 -2px #d0dde5, 0 16px 30px #0f2a4012; }
.decision-pane, .result-score { border-top: 5px solid var(--accent); }
.result-score { background: linear-gradient(180deg, var(--accent-light), #fff 60%); }
.artifact { box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 #cbd8e0, 12px 12px 0 -1px #fff, 12px 12px 0 0 #d8e2e8, 0 18px 34px #0f2a4029; }
.workbench.case-in .artifact { animation: case-in .6s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 0; }
.case-trail { box-shadow: 0 5px 0 -1px #d0dde5, 0 12px 24px #0f2a4010; }
.case-trail li.current { background: linear-gradient(180deg, var(--accent-light), #fff); box-shadow: inset 0 -3px 0 var(--accent); }
.step-shield .icon { filter: drop-shadow(0 2px 0 #0f2a4029); }
.choice { box-shadow: 0 4px 0 #cfdbe3; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
.choice:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #bccbd5; }
.choice.selected { transform: translateY(-2px); box-shadow: 0 5px 0 var(--accent); }
.choice-letter { background: linear-gradient(180deg, #fff, #e6edf2); box-shadow: 0 2px 0 #b9c7d1; color: #3d4f60; }
.selected .choice-letter { background: var(--accent); color: #fff; box-shadow: 0 2px 0 #0f2a4059; }
.button.primary { box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 55%, #000); }
.button.primary:hover { box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 55%, #000), 0 8px 16px #16374626; }
.button.primary:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 55%, #000); }
.feedback-icon { background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--tone-light, #e6f5ef) 58%); box-shadow: 0 4px 0 color-mix(in srgb, var(--tone, #1d6b4f) 35%, #fff), 0 8px 16px #0f2a401f; }
@keyframes hero-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes case-in { from { opacity: 0; transform: perspective(900px) rotateX(-14deg) translateY(-12px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) { .case-hero { padding: 18px 16px; } .case-hero .case-count { display: none; } .float-medal { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .choice.selected, .segment button.active { outline: 2px solid Highlight; }.choice-radio { forced-color-adjust: none; }.button { border: 1px solid ButtonText; } }
