:root {
  color-scheme: dark;
  --ink: #f4f8ff;
  --muted: #91a2bb;
  --dim: #56677e;
  --bg: #08111f;
  --line: rgba(152, 183, 219, 0.16);
  --blue: #5bc5ff;
  --orange: #ff9f68;
  --violet: #b79cff;
  --green: #73e6c0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 74% 8%, rgba(36, 119, 186, 0.16), transparent 27rem), var(--bg); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }

.ambient { position: fixed; z-index: -1; border-radius: 999px; pointer-events: none; filter: blur(2px); opacity: .45; }
.ambient-one { top: 12vh; right: -18rem; width: 32rem; height: 32rem; background: radial-gradient(circle, rgba(91, 197, 255, .14), transparent 68%); }
.ambient-two { bottom: -20rem; left: -14rem; width: 32rem; height: 32rem; background: radial-gradient(circle, rgba(183, 156, 255, .1), transparent 68%); }

.app-shell { width: min(1380px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 28px 26px; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(91, 197, 255, .54); color: var(--blue); font-size: 15px; font-weight: 900; letter-spacing: -.1em; box-shadow: inset 0 0 18px rgba(91, 197, 255, .1); }
.brand-mark span { color: var(--orange); }
.brand-text { display: grid; gap: 2px; }
.brand-text strong { font-size: 13px; letter-spacing: .08em; }
.brand-text small, .header-code { color: var(--dim); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.header-meta { display: flex; align-items: center; gap: 22px; }
.mode-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; letter-spacing: .12em; }
.mode-pill i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.main-content { padding: 18px 0 0; }
.stage-line { display: flex; align-items: center; gap: 9px; width: min(560px, 100%); margin: 0 auto 28px; color: var(--dim); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.stage-line i { flex: 1; height: 1px; background: var(--line); }
.stage-node.active { color: var(--blue); }
.screen[hidden] { display: none; }
.screen { animation: screenIn .32s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .8fr); align-items: center; gap: clamp(38px, 7vw, 120px); min-height: 520px; padding: 30px 5vw 52px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.07em; line-height: 1.04; }
h1 { max-width: 720px; font-size: clamp(3.5rem, 7vw, 7rem); }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.home-lead, .screen-lead { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.home-actions { display: flex; align-items: center; gap: 18px; margin-top: 35px; }
.button { min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 700; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button b { margin-left: 18px; font-size: 17px; font-weight: 400; }
.button-primary { color: #06111c; background: var(--blue); box-shadow: 0 12px 30px rgba(91, 197, 255, .18); }
.button-primary:hover { background: #93dbff; box-shadow: 0 16px 38px rgba(91, 197, 255, .28); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .02); }
.button-secondary:hover { border-color: rgba(91, 197, 255, .45); background: rgba(91, 197, 255, .06); }
.button:disabled { cursor: not-allowed; opacity: .35; transform: none; box-shadow: none; }
.button-wide { width: 100%; justify-content: center; }
.promise-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 52px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.promise-row span { display: grid; gap: 3px; }
.promise-row b { color: var(--ink); font-size: 15px; letter-spacing: .08em; }

.mission-console { position: relative; min-height: 492px; padding: 22px; overflow: hidden; border: 1px solid rgba(91, 197, 255, .2); background: linear-gradient(145deg, rgba(20, 45, 72, .86), rgba(8, 19, 34, .94)); box-shadow: var(--shadow); isolation: isolate; }
.mission-console::before { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(121, 168, 214, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(121, 168, 214, .055) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, black, transparent 72%); content: ""; }
.console-top, .console-bottom { display: flex; justify-content: space-between; color: var(--dim); font-size: 9px; letter-spacing: .17em; }
.console-top strong { color: var(--green); font-weight: 600; }
.console-main { position: relative; height: 265px; margin: 14px 0 0; }
.console-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(91, 197, 255, .24); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-a { width: 230px; height: 230px; animation: spin 22s linear infinite; }
.orbit-b { width: 150px; height: 150px; border-style: dashed; animation: spinReverse 14s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
.console-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 102px; height: 102px; border: 1px solid rgba(91, 197, 255, .55); border-radius: 50%; background: rgba(10, 27, 47, .92); transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(91, 197, 255, .03), 0 0 40px rgba(91, 197, 255, .12); }
.console-core span { margin-top: 12px; color: var(--blue); font-size: 26px; font-weight: 900; letter-spacing: -.1em; }
.console-core small { margin-top: -12px; color: var(--dim); font-size: 7px; letter-spacing: .18em; line-height: 1.6; text-align: center; }
.console-label { position: absolute; padding: 8px 10px; border: 1px solid var(--line); background: rgba(8, 17, 31, .8); color: var(--ink); font-size: 11px; }
.label-a { top: 20px; left: 7%; color: var(--orange); }
.label-b { right: 3%; top: 106px; color: var(--blue); }
.label-c { bottom: 13px; left: 18%; color: var(--violet); }
.console-wire { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: .6; transform-origin: left; }
.wire-a { top: 50px; left: 23%; width: 95px; color: var(--orange); transform: rotate(28deg); }
.wire-b { top: 131px; right: 24%; width: 104px; color: var(--blue); transform: rotate(-18deg); }
.wire-c { bottom: 38px; left: 35%; width: 94px; color: var(--violet); transform: rotate(38deg); }
.entry-welcome { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 17px 0 0; border-top: 1px solid var(--line); }
.entry-check { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid rgba(115, 230, 192, .55); border-radius: 50%; background: rgba(115, 230, 192, .08); color: var(--green); font-size: 23px; box-shadow: 0 0 0 8px rgba(115, 230, 192, .04); }
.qr-copy { display: grid; gap: 5px; }
.console-kicker { color: var(--orange); font-size: 9px; letter-spacing: .15em; }
.qr-copy strong { font-size: 20px; line-height: 1.18; letter-spacing: -.04em; }
.qr-copy small { max-width: 190px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.track-strip { padding: 0 5vw; }
.strip-heading { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0 13px; border-top: 1px solid var(--line); color: var(--blue); font-size: 10px; letter-spacing: .16em; }
.strip-heading small { color: var(--dim); font-size: 10px; letter-spacing: .04em; }
.strip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strip-card { position: relative; min-height: 124px; padding: 18px; overflow: hidden; border: 1px solid var(--line); background: rgba(11, 27, 46, .72); text-align: left; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.strip-card:hover { border-color: rgba(91, 197, 255, .48); background: rgba(22, 46, 73, .8); transform: translateY(-3px); }
.strip-card::after { position: absolute; right: -20px; bottom: -35px; width: 100px; height: 100px; border: 1px solid currentColor; border-radius: 50%; opacity: .16; content: ""; }
.strip-card.admin { color: var(--orange); }.strip-card.tech { color: var(--blue); }.strip-card.content { color: var(--violet); }
.strip-number { color: var(--dim); font-size: 9px; letter-spacing: .1em; }
.strip-icon { position: absolute; right: 18px; top: 13px; font-size: 27px; }
.strip-card strong, .strip-card small, .strip-group { display: block; }.strip-group { margin-top: 13px; color: currentColor; font-size: 9px; letter-spacing: .12em; }.strip-card strong { margin-top: 6px; color: var(--ink); font-size: 15px; }.strip-card small { margin-top: 5px; color: var(--muted); font-size: 11px; }

.screen-narrow { width: min(590px, 100%); margin: 0 auto; padding: 34px 18px 64px; }
.back-link { margin-bottom: 42px; padding: 0; border: 0; background: transparent; color: var(--dim); font-size: 12px; }.back-link:hover { color: var(--blue); }
.screen-narrow h2 { font-size: clamp(2.7rem, 9vw, 5.2rem); }
.screen-lead { max-width: 460px; margin-top: 18px; font-size: 14px; line-height: 1.8; }
.form-error { min-height: 20px; margin: 10px 0 0; color: var(--orange); font-size: 11px; }
.button-wide { display: flex; align-items: center; justify-content: center; margin-top: 12px; }

.screen-track { width: min(780px, 100%); }.track-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; }
.role-card { position: relative; display: flex; min-height: 238px; flex-direction: column; align-items: flex-start; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: rgba(13, 29, 48, .74); text-align: left; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.role-card:hover { transform: translateY(-4px); border-color: currentColor; }.role-card.selected { border-color: currentColor; background: rgba(21, 48, 75, .96); box-shadow: 0 0 0 1px currentColor, 0 18px 34px rgba(0, 0, 0, .22); }
.role-card.admin { color: var(--orange); }.role-card.tech { color: var(--blue); }.role-card.content { color: var(--violet); }
.role-card::after { position: absolute; right: -42px; bottom: -42px; width: 150px; height: 150px; border: 1px solid currentColor; border-radius: 50%; opacity: .16; content: ""; }
.role-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }.role-top b { color: var(--dim); font-size: 9px; letter-spacing: .12em; }.role-top i { font-size: 28px; font-style: normal; }
.role-card strong { margin-top: auto; color: var(--ink); font-size: 18px; letter-spacing: -.04em; }.role-card small { min-height: 38px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }.role-arrow { position: absolute; right: 18px; bottom: 17px; color: currentColor; font-size: 20px; }
#confirmTrackBtn { margin-top: 25px; }

.challenge-shell { width: min(980px, 100%); margin: 0 auto; padding: 30px 5vw 70px; }
.challenge-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.challenge-head h2 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.challenge-tools { display: flex; align-items: center; gap: 18px; padding-bottom: 5px; }
.mission-timer { color: var(--orange); font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.challenge-tools .back-link { margin: 0; font-size: 10px; }
.mission-stepper { display: flex; align-items: center; gap: 8px; margin: 30px 0 22px; color: var(--dim); font-size: 9px; letter-spacing: .08em; }
.mission-stepper i { flex: 1; height: 1px; background: var(--line); }
.mission-stepper span { white-space: nowrap; }.mission-stepper span.active { color: var(--blue); }.mission-stepper span.current { color: var(--ink); }
.mission-card { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); background: rgba(13, 29, 48, .74); box-shadow: var(--shadow); }
.admin-context { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }.admin-context strong { color: var(--ink); font-size: 13px; }.admin-context span:last-child { color: var(--blue); font-size: 9px; letter-spacing: .12em; }
.mission-instruction { margin: 20px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }.mission-instruction strong { color: var(--ink); }
.message-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.message-card { position: relative; min-height: 112px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 2px; background: rgba(8, 19, 34, .68); text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }.message-card:hover { border-color: rgba(91, 197, 255, .45); transform: translateY(-2px); }.message-card.selected { border-color: var(--orange); background: rgba(92, 48, 39, .32); box-shadow: inset 3px 0 0 var(--orange); }.message-source { display: block; margin-bottom: 10px; color: var(--dim); font-size: 9px; letter-spacing: .04em; }.message-text { display: block; max-width: 90%; color: var(--ink); font-size: 13px; line-height: 1.55; }.message-mark { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 12px; }.message-card.selected .message-mark { border-color: var(--orange); background: var(--orange); color: #1b1512; }
.selection-count { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; color: var(--dim); font-size: 10px; }.selection-count strong { color: var(--orange); font-size: 16px; }
.mission-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }.mission-actions .button { min-width: 148px; }
.admin-task-board { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: 20px; }.priority-lane, .task-options { min-width: 0; }.subheading { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; color: var(--blue); font-size: 9px; letter-spacing: .12em; }.subheading small { color: var(--dim); font-size: 9px; letter-spacing: 0; }
.priority-lane { padding: 12px; border: 1px solid rgba(91, 197, 255, .2); background: rgba(24, 52, 79, .38); }.priority-empty { display: grid; place-items: center; min-height: 150px; color: var(--dim); font-size: 11px; line-height: 1.7; text-align: center; }.priority-stack { display: grid; gap: 8px; }.priority-item { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(91, 197, 255, .2); background: rgba(8, 19, 34, .72); }.priority-index { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #071521; font-size: 11px; font-weight: 800; }.priority-item strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.45; }.priority-item small { display: block; margin-top: 2px; color: var(--dim); font-size: 9px; }.priority-controls { display: grid; gap: 3px; }.mini-move { display: grid; place-items: center; width: 23px; height: 21px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11px; }.mini-move:hover { border-color: var(--blue); color: var(--blue); }
.task-options { display: grid; gap: 8px; }.task-card { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); text-align: left; }.task-card:hover { border-color: rgba(91, 197, 255, .42); }.task-card.selected { border-color: var(--blue); background: rgba(45, 92, 128, .3); }.task-card.selected .task-add { color: var(--blue); }.task-number { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; color: var(--dim); font-size: 10px; }.task-card strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.4; }.task-card small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }.task-add { color: var(--dim); font-size: 16px; }
.event-alert { display: grid; grid-template-columns: 45px 1fr; align-items: start; gap: 14px; padding: 18px; border: 1px solid rgba(255, 159, 104, .42); background: rgba(102, 51, 37, .28); }.event-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 20px; }.event-alert span { display: block; color: var(--orange); font-size: 9px; letter-spacing: .15em; }.event-alert h3 { margin: 8px 0 5px; font-size: 22px; letter-spacing: -.04em; }.event-alert p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.event-hint { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.event-hint strong { color: var(--ink); }
.decision-grid-admin { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 14px; }.decision-card { display: grid; grid-template-columns: 17px 1fr; gap: 10px; padding: 14px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); text-align: left; }.decision-card:hover { border-color: rgba(91, 197, 255, .42); }.decision-card.selected { border-color: var(--blue); background: rgba(45, 92, 128, .3); }.decision-radio { width: 15px; height: 15px; margin-top: 2px; border: 1px solid var(--dim); border-radius: 50%; }.decision-card.selected .decision-radio { border: 4px solid var(--blue); }.decision-card strong { display: block; font-size: 12px; line-height: 1.5; }.decision-card small { display: block; margin-top: 4px; color: var(--dim); font-size: 10px; line-height: 1.5; }.notice-field { display: grid; gap: 8px; margin-top: 18px; }.notice-field span { color: var(--muted); font-size: 11px; }.notice-field textarea { min-height: 70px; padding: 11px; resize: vertical; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); color: var(--ink); font-size: 12px; outline: none; }.notice-field textarea:focus { border-color: var(--blue); }
.admin-result { padding-top: 48px; }.result-badge { display: grid; place-items: center; width: 86px; height: 86px; margin: 0 auto 24px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 35px; box-shadow: 0 0 0 14px rgba(255, 159, 104, .05), 0 0 50px rgba(255, 159, 104, .12); }.admin-result h2 { text-align: center; font-size: clamp(2.8rem, 9vw, 5rem); }.result-message { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; text-align: center; }.signal-panel { margin-top: 32px; padding: 20px; border: 1px solid var(--line); background: rgba(13, 29, 48, .74); }.signal-panel-head { display: flex; justify-content: space-between; color: var(--blue); font-size: 9px; letter-spacing: .14em; }.signal-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; }.signal-node { position: relative; display: grid; place-items: center; gap: 8px; color: var(--muted); font-size: 10px; text-align: center; }.signal-node::before { display: block; width: 12px; height: 12px; border: 2px solid var(--blue); border-radius: 50%; background: var(--bg); content: ""; box-shadow: 0 0 0 6px rgba(91, 197, 255, .06); }.signal-node:not(:last-child)::after { position: absolute; top: 6px; left: calc(50% + 8px); width: calc(100% - 16px); height: 1px; background: linear-gradient(90deg, var(--blue), rgba(91, 197, 255, .18)); content: ""; }.result-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }.result-tag { padding: 8px 10px; border: 1px solid rgba(115, 230, 192, .24); background: rgba(115, 230, 192, .05); color: var(--green); font-size: 10px; }.admin-result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }

.brief-hero { display: grid; place-items: center; width: 74px; height: 74px; margin: 12px 0 28px; border: 1px solid currentColor; border-radius: 50%; color: var(--blue); font-size: 34px; box-shadow: 0 0 0 12px rgba(91, 197, 255, .05); }
.brief-hero.admin { color: var(--orange); }.brief-hero.tech { color: var(--blue); }.brief-hero.content { color: var(--violet); }
.brief-card { margin-top: 32px; padding: 22px; border: 1px solid var(--line); background: rgba(13, 30, 50, .75); }.brief-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.brief-card-head span { color: var(--dim); font-size: 9px; letter-spacing: .13em; }.brief-card-head b { color: var(--green); font-size: 10px; font-weight: 600; }.brief-card h3 { margin: 20px 0 8px; font-size: 24px; letter-spacing: -.05em; }.brief-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }.brief-card ul { display: grid; gap: 11px; margin: 22px 0 0; padding: 16px 0 0 17px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; }.brief-card li::marker { color: var(--blue); }.checkpoint { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 15px; border: 1px solid rgba(115, 230, 192, .2); background: rgba(115, 230, 192, .05); }.checkpoint-mark { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--green); color: #07151d; font-size: 13px; }.checkpoint div { display: grid; gap: 3px; }.checkpoint strong { font-size: 12px; }.checkpoint small { color: var(--muted); font-size: 10px; }.checkpoint + .button { margin-top: 26px; }

.toast { position: fixed; right: 20px; bottom: 24px; z-index: 5; max-width: calc(100vw - 40px); padding: 12px 15px; border: 1px solid rgba(91, 197, 255, .35); background: #10263e; color: var(--ink); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }.toast.visible { opacity: 1; transform: translateY(0); }
.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 26px 5vw 0; color: #465971; font-size: 9px; letter-spacing: .11em; }

@media (max-width: 900px) { .home-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 20px; }.home-copy { max-width: 640px; }.mission-console { min-height: 420px; }.console-main { height: 220px; }.track-strip { padding: 0; }.home-layout { padding-left: 0; padding-right: 0; } }
@media (max-width: 640px) {
  .app-shell { padding: 0 16px 20px; }.site-header { height: 72px; }.header-code { display: none; }.header-meta { gap: 0; }.mode-pill { font-size: 8px; }
  .main-content { padding-top: 14px; }.stage-line { margin-bottom: 15px; font-size: 8px; }.home-layout { min-height: auto; padding: 38px 0 40px; }.eyebrow { margin-bottom: 18px; font-size: 8px; }.home-lead { margin-top: 18px; font-size: 13px; line-height: 1.8; }.home-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 27px; }.button { min-height: 50px; padding: 0 18px; }.promise-row { justify-content: space-between; gap: 8px; margin-top: 37px; }.promise-row b { font-size: 13px; }.promise-row span { font-size: 8px; }
  .mission-console { min-height: 404px; padding: 17px; }.console-main { height: 208px; }.orbit-a { width: 180px; height: 180px; }.orbit-b { width: 120px; height: 120px; }.console-core { width: 82px; height: 82px; }.console-core span { font-size: 21px; }.console-label { padding: 6px 7px; font-size: 9px; }.label-a { top: 13px; }.label-b { top: 89px; }.label-c { bottom: 8px; }.wire-a { width: 65px; }.wire-b { width: 70px; }.wire-c { width: 70px; }.entry-welcome { gap: 10px; }.entry-check { width: 38px; height: 38px; font-size: 18px; }.qr-copy strong { font-size: 17px; }.qr-copy small { font-size: 9px; }
  .strip-heading { display: grid; gap: 5px; }.strip-cards { grid-template-columns: 1fr; gap: 7px; }.strip-card { min-height: 112px; padding: 14px 16px; }.strip-group { margin-top: 10px; font-size: 8px; }.strip-card strong { margin-top: 5px; font-size: 14px; }.strip-card small { margin-top: 3px; font-size: 10px; }.strip-icon { top: 23px; right: 20px; }.strip-card::after { right: -22px; bottom: -58px; }
  .screen-narrow { padding: 25px 4px 46px; }.back-link { margin-bottom: 32px; }.screen-narrow h2 { font-size: 2.9rem; }.screen-lead { font-size: 12px; }.track-list { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }.role-card { min-height: 152px; padding: 16px; }.role-card strong { margin-top: 18px; font-size: 17px; }.role-card small { min-height: auto; font-size: 10px; }.role-arrow { bottom: 15px; }.brief-card h3 { font-size: 22px; }.site-footer { display: grid; gap: 6px; padding: 22px 0 0; font-size: 8px; }
  .screen-narrow { padding: 25px 4px 46px; }.back-link { margin-bottom: 32px; }.screen-narrow h2 { font-size: 2.9rem; }.screen-lead { font-size: 12px; }.track-list { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }.role-card { min-height: 152px; padding: 16px; }.role-card strong { margin-top: 18px; font-size: 17px; }.role-card small { min-height: auto; font-size: 10px; }.role-arrow { bottom: 15px; }.brief-card h3 { font-size: 22px; }.challenge-shell { padding: 25px 0 46px; }.challenge-head { align-items: flex-start; }.challenge-head h2 { font-size: 2.8rem; }.challenge-tools { gap: 10px; }.mission-timer { font-size: 15px; }.message-list, .decision-grid-admin { grid-template-columns: 1fr; }.message-card { min-height: 96px; }.admin-context { align-items: flex-start; flex-direction: column; gap: 6px; }.mission-actions { justify-content: stretch; }.mission-actions .button { flex: 1; min-width: 0; }.admin-task-board { grid-template-columns: 1fr; }.priority-lane { order: 0; }.task-options { order: 1; }.signal-flow { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }.signal-node:not(:last-child)::after { display: none; }.admin-result-actions { flex-direction: column; }.admin-result-actions .button { width: 100%; }
}

.result-checklist { display: grid; gap: 8px; margin: 24px 0 0; padding: 16px 0 0 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 11px; line-height: 1.5; }.result-checklist li::marker { color: var(--green); }
.tech-flow-layout { display: grid; grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr); gap: 18px; }.tech-panel-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; color: var(--blue); font-size: 9px; letter-spacing: .13em; }.tech-panel-title small { color: var(--dim); font-size: 9px; letter-spacing: 0; }.module-pool { display: grid; gap: 8px; }.tech-module { display: grid; grid-template-columns: 31px 1fr; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid var(--line); background: rgba(8, 19, 34, .62); text-align: left; }.tech-module:hover { border-color: rgba(91, 197, 255, .48); }.tech-module.used { opacity: .45; }.module-code { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(91, 197, 255, .3); color: var(--blue); font-size: 9px; }.tech-module strong { display: block; color: var(--ink); font-size: 11px; }.tech-module small { display: block; margin-top: 2px; color: var(--dim); font-size: 9px; }.workflow-panel { padding: 13px; border: 1px solid rgba(91, 197, 255, .22); background: rgba(20, 47, 72, .33); }.workflow-sequence { display: grid; gap: 8px; min-height: 190px; }.workflow-empty { display: grid; place-items: center; min-height: 190px; color: var(--dim); font-size: 11px; line-height: 1.7; text-align: center; }.workflow-node { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(91, 197, 255, .24); background: rgba(8, 19, 34, .74); }.workflow-node:not(:last-child)::after { position: absolute; bottom: -9px; left: 14px; width: 1px; height: 8px; background: var(--blue); content: ""; opacity: .45; }.workflow-node-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(91, 197, 255, .13); color: var(--blue); font-size: 10px; }.workflow-node strong { display: block; color: var(--ink); font-size: 11px; }.workflow-node small { display: block; margin-top: 2px; color: var(--dim); font-size: 9px; }.workflow-controls { display: grid; gap: 3px; }.workflow-controls .mini-move { width: 23px; height: 20px; }.tech-footnote { margin: 15px 0 0; color: var(--dim); font-size: 10px; line-height: 1.6; }.tech-footnote strong { color: var(--muted); }.tech-run-board { display: grid; gap: 18px; }.run-visual { padding: 18px; border: 1px solid rgba(91, 197, 255, .23); background: rgba(8, 19, 34, .74); }.run-visual-head { display: flex; justify-content: space-between; color: var(--dim); font-size: 9px; letter-spacing: .12em; }.run-visual-head strong { color: var(--blue); }.run-flow { display: flex; align-items: flex-start; overflow-x: auto; margin-top: 22px; padding-bottom: 7px; }.run-node { position: relative; flex: 1 0 78px; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 9px; text-align: center; }.run-node::before { display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid var(--blue); border-radius: 50%; background: var(--bg); color: var(--blue); content: ""; box-shadow: 0 0 0 6px rgba(91, 197, 255, .05); }.run-node::after { position: absolute; top: 12px; left: calc(50% + 14px); width: calc(100% - 28px); height: 1px; background: var(--blue); content: ""; opacity: .46; }.run-node:last-child::after { display: none; }.run-node.fault::before { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 159, 104, .06), 0 0 22px rgba(255, 159, 104, .2); }.run-node.fault { color: var(--orange); }.run-node.ok::before { border-color: var(--green); color: var(--green); }.run-node.ok { color: var(--green); }.run-node.running::before { animation: techPulse .8s ease-in-out infinite alternate; }.run-node.running { color: var(--blue); }@keyframes techPulse { from { box-shadow: 0 0 0 5px rgba(91, 197, 255, .04); } to { box-shadow: 0 0 0 10px rgba(91, 197, 255, .16); } }.run-status { margin-top: 17px; padding: 11px 13px; border-left: 2px solid var(--orange); background: rgba(255, 159, 104, .08); color: var(--orange); font-size: 11px; line-height: 1.6; }.run-status.success { border-color: var(--green); background: rgba(115, 230, 192, .07); color: var(--green); }.log-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px; border: 1px solid var(--line); background: #07131f; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.7; }.log-list div::before { margin-right: 8px; color: var(--orange); content: ">"; }.repair-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 15px; }.repair-card { display: grid; grid-template-columns: 19px 1fr; gap: 9px; padding: 14px; border: 1px solid var(--line); background: rgba(8, 19, 34, .6); text-align: left; }.repair-card:hover { border-color: rgba(91, 197, 255, .43); }.repair-card.selected { border-color: var(--blue); background: rgba(45, 92, 128, .3); }.repair-box { width: 16px; height: 16px; border: 1px solid var(--dim); }.repair-card.selected .repair-box { border: 4px solid var(--blue); }.repair-card strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.5; }.repair-card small { display: block; margin-top: 4px; color: var(--dim); font-size: 9px; line-height: 1.5; }.optimization-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 15px; }.optimization-card { display: grid; grid-template-columns: 19px 1fr; gap: 9px; padding: 13px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); text-align: left; }.optimization-card.selected { border-color: var(--green); background: rgba(115, 230, 192, .07); }.optimization-card strong { display: block; font-size: 11px; line-height: 1.5; }.optimization-card small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }.tech-result .result-badge { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 14px rgba(91, 197, 255, .05), 0 0 50px rgba(91, 197, 255, .12); }.tech-result .result-tag { border-color: rgba(91, 197, 255, .26); background: rgba(91, 197, 255, .06); color: var(--blue); }
@media (max-width: 640px) { .tech-flow-layout { grid-template-columns: 1fr; }.module-pool { grid-template-columns: repeat(2, 1fr); }.tech-module { min-height: 72px; }.workflow-panel { order: -1; }.run-flow { margin-right: -6px; }.repair-grid, .optimization-grid { grid-template-columns: 1fr; }.event-alert { grid-template-columns: 37px 1fr; gap: 10px; padding: 14px; }.event-mark { width: 35px; height: 35px; font-size: 17px; }.event-alert h3 { font-size: 19px; }.run-node { flex-basis: 72px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

.content-shell .mission-stepper span.active, .content-shell .mission-stepper span.current { color: var(--violet); }
.content-context { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }.content-context strong { color: var(--ink); font-size: 13px; }.content-context span { color: var(--violet); font-size: 9px; letter-spacing: .12em; }
.content-choice-section { margin-top: 24px; }.content-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.content-choice { display: grid; grid-template-columns: 20px 1fr; gap: 9px; min-height: 70px; padding: 12px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }.content-choice:hover { border-color: rgba(183, 156, 255, .55); transform: translateY(-2px); }.content-choice.selected { border-color: var(--violet); background: rgba(73, 55, 115, .3); box-shadow: inset 3px 0 0 var(--violet); }.content-choice-mark { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--dim); color: var(--dim); font-size: 12px; }.content-choice.selected .content-choice-mark { border-color: var(--violet); background: var(--violet); color: #120d20; }.content-choice strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.45; }.content-choice small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; line-height: 1.45; }
.content-selection-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }.content-selection-summary strong { color: var(--muted); font-size: 11px; font-weight: 500; text-align: right; }
.content-storyboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }.content-slot { min-width: 0; border: 1px solid var(--line); background: rgba(8, 19, 34, .55); transition: border-color .2s ease, background .2s ease; }.content-slot.focused { border-color: var(--violet); background: rgba(54, 39, 88, .25); box-shadow: 0 0 0 1px rgba(183, 156, 255, .18); }.content-slot-head { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }.content-slot-tab { display: grid; flex: 1; gap: 5px; padding: 11px; border: 0; background: transparent; color: var(--violet); text-align: left; }.content-slot-tab span { font-size: 9px; letter-spacing: .1em; }.content-slot-tab strong { color: var(--ink); font-size: 13px; }.content-slot-delete { width: 36px; padding: 0; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 20px; }.content-slot-delete:hover { color: var(--orange); }.content-slot-body { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 9px; width: 100%; min-height: 126px; padding: 12px; border: 0; background: transparent; text-align: left; }.content-slot-body:hover { background: rgba(255, 255, 255, .03); }.content-slot-body strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.45; }.content-slot-body small { display: block; margin-top: 5px; color: var(--dim); font-size: 9px; line-height: 1.45; }.content-slot-plus { display: grid; place-items: center; width: 38px; height: 46px; border: 1px dashed var(--dim); color: var(--violet); font-size: 20px; }.content-art-mark, .material-art { display: grid; place-items: center; border: 1px solid rgba(183, 156, 255, .35); background: rgba(183, 156, 255, .1); color: var(--violet); font-size: 11px; font-weight: 700; letter-spacing: .06em; }.content-art-mark { width: 38px; height: 46px; }.content-material-panel, .content-title-panel { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }.content-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.content-material { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 9px; min-height: 68px; padding: 10px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); text-align: left; }.content-material:hover { border-color: rgba(183, 156, 255, .52); }.content-material.selected { border-color: var(--violet); background: rgba(73, 55, 115, .3); }.content-material i { color: var(--dim); font-style: normal; font-size: 16px; }.content-material.selected i { color: var(--violet); }.material-art { width: 34px; height: 38px; }.content-material strong { display: block; color: var(--ink); font-size: 10px; line-height: 1.45; }.content-material small { display: block; margin-top: 3px; color: var(--dim); font-size: 8px; line-height: 1.4; }.content-title-chips { display: flex; flex-wrap: wrap; gap: 7px; }.content-title-chip { padding: 9px 10px; border: 1px solid var(--line); background: rgba(8, 19, 34, .58); color: var(--muted); font-size: 10px; text-align: left; }.content-title-chip:hover { border-color: rgba(183, 156, 255, .52); }.content-title-chip.selected { border-color: var(--violet); background: rgba(73, 55, 115, .3); color: var(--ink); }.content-title-input { width: 100%; height: 44px; margin-top: 9px; padding: 0 12px; border: 1px solid var(--line); outline: 0; background: rgba(8, 19, 34, .58); color: var(--ink); font-size: 12px; }.content-title-input::placeholder { color: var(--dim); }.content-title-input:focus { border-color: var(--violet); }.content-feedback-mini { display: grid; gap: 6px; margin-bottom: 20px; padding: 14px; border: 1px solid rgba(183, 156, 255, .28); background: rgba(73, 55, 115, .18); }.content-feedback-mini span { color: var(--violet); font-size: 9px; letter-spacing: .13em; }.content-feedback-mini strong { font-size: 12px; line-height: 1.55; }.content-feedback-mini small { color: var(--muted); font-size: 10px; }
.content-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }.content-limit-card, .content-feedback-card { min-height: 148px; padding: 17px; border: 1px solid rgba(255, 159, 104, .35); background: rgba(102, 51, 37, .2); }.content-feedback-card { border-color: rgba(183, 156, 255, .35); background: rgba(73, 55, 115, .2); }.content-limit-card span, .content-feedback-card span { display: block; color: var(--orange); font-size: 9px; letter-spacing: .12em; }.content-feedback-card span { color: var(--violet); }.content-limit-card strong, .content-feedback-card strong { display: block; margin-top: 13px; color: var(--ink); font-size: 14px; line-height: 1.55; }.content-limit-card p, .content-feedback-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.content-first-version { margin-top: 25px; padding: 15px; border: 1px solid var(--line); background: rgba(8, 19, 34, .45); }.content-mini-strip { display: grid; gap: 8px; margin-top: 15px; }.content-mini-strip span { display: grid; grid-template-columns: 27px 1fr; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; }.content-mini-strip b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--violet); color: var(--violet); font-size: 9px; }
.content-result .result-badge, .content-result-badge { border-color: var(--violet); color: var(--violet); box-shadow: 0 0 0 14px rgba(183, 156, 255, .05), 0 0 50px rgba(183, 156, 255, .12); }.content-result .result-tag, .content-tag { border-color: rgba(183, 156, 255, .28); background: rgba(183, 156, 255, .07); color: var(--violet); }.content-planning-card { margin-top: 32px; padding: 20px; border: 1px solid rgba(183, 156, 255, .3); background: linear-gradient(145deg, rgba(54, 39, 88, .42), rgba(13, 29, 48, .8)); box-shadow: var(--shadow); }.planning-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--violet); font-size: 9px; letter-spacing: .12em; }.planning-card-head b { color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: 0; }.content-planning-card h3 { margin: 22px 0 7px; font-size: 24px; line-height: 1.35; }.planning-audience { margin: 0; color: var(--muted); font-size: 11px; }.planning-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }.planning-frame { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); background: rgba(8, 19, 34, .7); }.planning-frame-time { color: var(--violet); font-size: 8px; letter-spacing: .08em; }.planning-frame-art { display: grid; place-items: center; min-height: 74px; border: 1px solid rgba(183, 156, 255, .3); background: rgba(183, 156, 255, .1); color: var(--violet); font-size: 14px; font-weight: 700; }.planning-frame strong { color: var(--ink); font-size: 10px; line-height: 1.5; }.planning-note { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.6; }
@media (max-width: 640px) { .content-context { align-items: flex-start; flex-direction: column; gap: 6px; }.content-choice-grid, .content-storyboard, .content-review-grid { grid-template-columns: 1fr; }.content-choice { min-height: 64px; }.content-materials { grid-template-columns: 1fr; }.content-slot-body { min-height: 92px; }.content-title-chips { display: grid; grid-template-columns: repeat(2, 1fr); }.content-title-chip { min-height: 42px; }.planning-frames { grid-template-columns: 1fr; }.planning-frame { grid-template-columns: 76px 1fr; align-items: center; }.planning-frame-time { grid-column: 1 / -1; }.planning-frame-art { grid-row: 2 / span 2; min-height: 62px; }.planning-frame strong { grid-column: 2; }.content-selection-summary { align-items: flex-start; flex-direction: column; gap: 5px; }.content-selection-summary strong { text-align: left; } }

.result-action-zone { margin-top: 30px; }.result-primary-actions { display: flex; justify-content: center; gap: 10px; }.result-primary-actions .button { min-width: 150px; }.result-about-panel { margin-top: 12px; padding: 17px 18px; border: 1px solid rgba(115, 230, 192, .24); background: rgba(115, 230, 192, .06); }.result-about-panel[hidden] { display: none; }.result-about-panel span { display: block; color: var(--green); font-size: 9px; letter-spacing: .12em; }.result-about-panel strong { display: block; margin-top: 8px; color: var(--ink); font-size: 15px; }.result-about-panel p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }.result-action-zone .admin-result-actions { margin-top: 14px; }
@media (max-width: 640px) { .result-primary-actions { flex-direction: column; }.result-primary-actions .button, .result-action-zone .admin-result-actions .button { width: 100%; }.result-action-zone .admin-result-actions { flex-direction: column; } }
