:root {
  --ink: #0b1d2d;
  --night: #07131f;
  --paper: #f2eee4;
  --paper-deep: #e8dfd0;
  --mist: #d1dde0;
  --sea: #156a73;
  --gold: #b18645;
  --orange: #b95935;
  --muted: #6c716e;
  --line: rgba(11, 29, 45, .18);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); min-height: 100vh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 10px; padding: 10px 14px; color: #fff; background: var(--sea); transform: translateY(-150%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
:focus-visible { outline: 3px solid #d9a33f; outline-offset: 3px; }
.grain { pointer-events: none; position: fixed; inset: 0; opacity: .18; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; background: rgba(7,19,31,.97); color: #edf1ec; border-bottom: 1px solid rgba(223, 237, 233, .14); }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-seal { width: 38px; height: 38px; display: block; flex: 0 0 38px; padding: 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: #f5f1e8; box-shadow: 0 7px 20px rgba(0,0,0,.2); }
.brand-seal img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark { display: grid; gap: 3px; white-space: nowrap; }
.brand-wordmark strong { font: 600 16px/1 var(--serif); letter-spacing: .08em; }
.brand-wordmark small { color: #d99b88; font: 500 7px/1 var(--mono); letter-spacing: .13em; }
.topbar-note, .label, .eyebrow, .rail-title { font: 500 11px var(--mono); letter-spacing: .12em; }
.top-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 28px; }
.top-nav a { color: #b8ccca; text-decoration: none; font: 11px var(--mono); letter-spacing: .07em; }
.top-nav a:hover { color: #efcf8c; }
.topbar-note { color: #a9bdbe; display: flex; align-items: center; gap: 8px; }
.pulse, .status-dot { width: 7px; height: 7px; display: inline-block; background: #62c4b1; border-radius: 50%; box-shadow: 0 0 0 5px rgba(98, 196, 177, .12); }
.shell { width: min(1440px, calc(100% - 56px)); margin: 0 auto; padding: 67px 0 38px; }
.masthead { display: flex; justify-content: space-between; gap: 56px; align-items: end; padding-bottom: 47px; }
.eyebrow { color: var(--sea); margin: 0 0 15px; }
h1 { margin: 0; max-width: 700px; font: 700 clamp(45px, 5.2vw, 78px)/1.08 var(--serif); letter-spacing: -.06em; }
h1 span { color: var(--sea); position: relative; }
h1 span::after { content: ""; position: absolute; bottom: -4px; height: 5px; left: 0; right: 0; opacity: .65; background: var(--gold); }
.platform-masthead { padding-bottom: 37px; }
.runtime-notice { position: sticky; z-index: 19; top: 68px; display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 42px; padding: 8px 5vw; color: #d7e7e4; background: #124f59; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.runtime-notice button { min-height: 30px; padding: 4px 10px; color: #f6dfac; background: transparent; border: 1px solid rgba(246,223,172,.55); font-size: 11px; }
.runtime-notice.hidden { display: none; }
.agent-story-hero { position: relative; display: grid; grid-template-columns: minmax(430px,.88fr) minmax(610px,1.12fr); min-height: 610px; overflow: hidden; border: 1px solid var(--line); background: #f8f5ed; box-shadow: 0 24px 70px rgba(7,19,31,.1); }
.agent-story-hero::before { content: ""; position: absolute; inset: 0 50% 0 0; pointer-events: none; background: radial-gradient(circle at 18% 18%, rgba(21,106,115,.12), transparent 38%), linear-gradient(rgba(11,29,45,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,29,45,.035) 1px, transparent 1px); background-size: auto, 31px 31px, 31px 31px; }
.story-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,3.4vw,58px); }
.story-copy .eyebrow { max-width: 38em; margin-bottom: 25px; font-size: 9px; letter-spacing: .14em; }
.story-overline { margin: 0 0 8px; color: #5a6668; font: 600 17px var(--serif); letter-spacing: .12em; }
.story-copy h1 { max-width: none; color: var(--ink); font-size: clamp(62px,6.2vw,94px); line-height: .98; letter-spacing: -.075em; white-space: nowrap; }
.story-positioning { max-width: 39em; margin: 22px 0 0; padding: 13px 15px; border-left: 3px solid var(--orange); background: rgba(200,94,61,.065); }
.story-positioning span { display: block; margin-bottom: 5px; color: #985035; font: 700 8px var(--mono); letter-spacing: .12em; }
.story-positioning strong { color: #263c47; font: 600 14px/1.55 var(--serif); }
.story-thesis { max-width: 24em; margin: 22px 0 0; color: #1a303d; font: 500 clamp(20px,1.8vw,27px)/1.55 var(--serif); letter-spacing: -.02em; }
.story-thesis strong { color: var(--sea); font-weight: 700; }
.story-explain { max-width: 43em; margin: 18px 0 0; color: #4e5d61; font-size: 13px; line-height: 1.85; }
.story-copy .button-link:not(.primary) { background: rgba(248,245,237,.7); }
.story-copy .hero-boundary { color: #5e6e70; font-size: 9px; }
.technical-dossier { margin: 36px 0; border: 1px solid var(--line); background: #e7e0d4; }
.technical-dossier > summary { min-height: 112px; display: grid; grid-template-columns: auto minmax(260px,.8fr) minmax(320px,1.2fr) 32px; gap: 22px; align-items: center; padding: 24px 30px; list-style: none; cursor: pointer; }
.technical-dossier > summary::-webkit-details-marker { display: none; }
.technical-dossier > summary::after { content: "+"; color: var(--sea); font: 400 31px var(--serif); text-align: center; }
.technical-dossier[open] > summary::after { content: "−"; }
.technical-dossier > summary span { color: var(--sea); font: 700 10px var(--mono); letter-spacing: .08em; }
.technical-dossier > summary strong { font: 600 23px/1.35 var(--serif); }
.technical-dossier > summary small { color: #4f5f63; font-size: 12px; line-height: 1.75; }
.technical-dossier > .platform-status { margin-top: 0; border-top: 1px solid var(--line); }
.technical-dossier > section:last-child { margin-bottom: 0; }
.agent-motion { position: relative; z-index: 1; min-width: 0; margin: 0; padding: clamp(32px,4vw,58px); color: #dbe7e3; background: radial-gradient(circle at 50% 44%, rgba(22,101,109,.24), transparent 42%), linear-gradient(135deg,#081725,#06111c); border-left: 1px solid rgba(11,29,45,.12); }
.agent-motion::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background: linear-gradient(rgba(83,139,139,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(83,139,139,.07) 1px, transparent 1px); background-size: 34px 34px; }
.agent-motion figcaption, .motion-board, .motion-steps, .motion-gate { position: relative; z-index: 1; }
.agent-motion figcaption { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(215,232,228,.15); }
.agent-motion figcaption span { color: #72aaa6; font: 9px var(--mono); letter-spacing: .11em; }
.agent-motion figcaption strong { color: #f0d18d; font: 600 18px var(--serif); }
.motion-board { display: grid; grid-template-columns: minmax(150px,1fr) 128px minmax(165px,1.05fr); gap: clamp(28px,3vw,54px); align-items: center; min-height: 295px; }
.motion-input { display: grid; gap: 9px; }
.motion-input > span, .motion-output > span { margin-bottom: 2px; color: #79a5a2; font: 9px var(--mono); letter-spacing: .1em; }
.motion-input p { margin: 0; padding: 11px 12px; color: #c8d7d3; background: rgba(11,35,49,.78); border: 1px solid rgba(106,167,163,.28); font-size: 11px; animation: clue-arrive 7s cubic-bezier(.2,.8,.2,1) infinite; animation-delay: calc(var(--order) * .28s); }
.motion-input .order-0 { --order: 0; }
.motion-input .order-1 { --order: 1; }
.motion-input .order-2 { --order: 2; }
.motion-core { position: relative; display: grid; place-items: center; align-content: center; width: 128px; aspect-ratio: 1; text-align: center; }
.core-ring { position: absolute; inset: 0; border: 1px solid rgba(100,192,181,.45); border-radius: 50%; box-shadow: 0 0 45px rgba(56,151,145,.18); animation: core-breathe 3.6s ease-in-out infinite; }
.core-ring::before, .core-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(228,190,105,.35); }
.core-ring::before { inset: 10px; }
.core-ring::after { inset: 23px; border-color: rgba(100,192,181,.26); }
.core-ring i { position: absolute; top: -3px; left: 50%; width: 7px; height: 7px; margin-left: -3px; background: #e5bf6e; border-radius: 50%; box-shadow: 0 0 14px #e5bf6e; animation: core-orbit 5s linear infinite; transform-origin: 3px 67px; }
.motion-core strong { position: relative; color: #f3ead7; font: 600 20px/1.28 var(--serif); }
.motion-core small { position: relative; margin-top: 5px; color: #79a5a2; font: 8px var(--mono); }
.motion-output { position: relative; padding: 18px 18px 16px; background: #f3eee1; color: var(--ink); border-top: 3px solid #e0b761; box-shadow: 0 17px 34px rgba(0,0,0,.24); animation: output-settle 7s cubic-bezier(.2,.8,.2,1) infinite; }
.motion-output > span { display: block; color: #6c7775; }
.motion-output > strong { display: block; margin: 8px 0 15px; font: 600 22px var(--serif); }
.motion-output p { display: grid; grid-template-columns: 8px 1fr; gap: 7px; align-items: center; margin: 7px 0 0; color: #526064; font-size: 10px; }
.motion-output p i { width: 6px; height: 6px; background: var(--sea); border-radius: 50%; }
.flow-line { position: absolute; z-index: -1; top: 50%; height: 1px; overflow: visible; background: rgba(111,177,171,.32); }
.flow-line-a { left: 22%; width: 26%; }
.flow-line-b { left: 53%; width: 25%; }
.flow-line i { position: absolute; top: -3px; width: 7px; height: 7px; background: #e4bc67; border-radius: 50%; box-shadow: 0 0 12px rgba(228,188,103,.8); animation: signal-run 3.4s ease-in-out infinite; }
.flow-line-b i { animation-delay: 1.1s; }
.motion-steps { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; list-style: none; border: 1px solid rgba(215,232,228,.16); }
.motion-steps li { min-width: 0; padding: 12px 9px; color: #8fa7a4; border-right: 1px solid rgba(215,232,228,.12); font-size: 9px; text-align: center; animation: step-read 7s ease-in-out infinite; animation-delay: calc(1.15s + var(--step) * .38s); }
.motion-steps .step-0 { --step: 0; }
.motion-steps .step-1 { --step: 1; }
.motion-steps .step-2 { --step: 2; }
.motion-steps .step-3 { --step: 3; }
.motion-steps .step-4 { --step: 4; }
.motion-steps li:last-child { border-right: 0; }
.motion-steps span { display: block; margin-bottom: 5px; color: #d8b667; font: 8px var(--mono); }
.motion-gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; color: #a9bcba; font-size: 10px; }
.motion-gate > span { color: #e4bd6b; font: 9px var(--mono); letter-spacing: .1em; }
.motion-gate p { margin: 0; padding: 7px 9px; border: 1px solid rgba(126,176,171,.35); }
.motion-gate b { color: #708987; font-weight: 400; }
.motion-gate strong { color: #e8c272; font-weight: 600; }
@keyframes clue-arrive { 0%,8% { opacity: .68; transform: translateX(-13px); } 16%,78% { opacity: 1; transform: none; } 92%,100% { opacity: .68; transform: translateX(-13px); } }
@keyframes core-breathe { 0%,100% { transform: scale(.96); opacity: .72; } 50% { transform: scale(1.03); opacity: 1; } }
@keyframes core-orbit { to { transform: rotate(360deg); } }
@keyframes output-settle { 0%,38% { opacity: .72; transform: translateX(14px); } 49%,84% { opacity: 1; transform: none; } 95%,100% { opacity: .72; transform: translateX(14px); } }
@keyframes signal-run { 0% { left: 0; opacity: 0; } 18%,78% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@keyframes step-read { 0%,18%,100% { color: #8fa7a4; background: transparent; } 25%,42% { color: #f0d18d; background: rgba(224,183,97,.1); } 55%,92% { color: #b8cfcb; background: rgba(54,132,126,.08); } }
.agent-explainer { margin: 38px 0; padding: clamp(34px,4vw,58px); border: 1px solid var(--line); background: #ebe5d8; }
.agent-explainer > header { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 55px; align-items: end; }
.agent-explainer > header .eyebrow { grid-column: 1 / -1; margin-bottom: -35px; }
.agent-explainer h2 { max-width: 25em; margin: 0; font: 600 clamp(30px,3.3vw,47px)/1.25 var(--serif); letter-spacing: -.04em; }
.agent-explainer > header > p:last-child { margin: 0; color: #4f5d61; font-size: 13px; line-height: 1.85; }
.agent-explainer-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 38px 0 0; padding: 0; list-style: none; background: rgba(11,29,45,.18); border: 1px solid rgba(11,29,45,.18); }
.agent-explainer-flow li { min-height: 190px; padding: 22px 20px; background: #f7f3ea; }
.agent-explainer-flow span { color: var(--sea); font: 9px var(--mono); letter-spacing: .08em; }
.agent-explainer-flow strong { display: block; margin-top: 29px; font: 600 19px var(--serif); }
.agent-explainer-flow p { margin: 10px 0 0; color: #526064; font-size: 12px; line-height: 1.75; }
.agent-boundary-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: rgba(11,29,45,.18); border: 1px solid rgba(11,29,45,.18); }
.agent-boundary-pair section { padding: 21px 24px; background: #dfe9e5; }
.agent-boundary-pair section.is-limit { background: #eee0d5; }
.agent-boundary-pair span { display: block; color: #126a6b; font: 700 10px var(--mono); letter-spacing: .09em; }
.agent-boundary-pair .is-limit span { color: #9a4a31; }
.agent-boundary-pair p { margin: 8px 0 0; color: #425256; font-size: 12px; line-height: 1.75; }
.agent-explainer + .cockpit-hero { margin-top: 38px; }
.agent-film { margin: 38px 0; border: 1px solid var(--line); background: #e8e1d4; box-shadow: 0 24px 70px rgba(7,19,31,.09); }
.agent-film-heading, .agent-faq-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 48px; align-items: end; padding: 38px 42px; }
.agent-film-heading h2, .agent-faq-heading h2 { margin: 0; font: 600 clamp(31px,3.4vw,49px)/1.2 var(--serif); letter-spacing: -.045em; }
.agent-film-heading > p, .agent-faq-heading > p { max-width: 39em; margin: 0 0 4px; color: #506064; font-size: 13px; line-height: 1.85; }
.agent-film-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(330px,.5fr); gap: 1px; background: rgba(11,29,45,.2); border-top: 1px solid rgba(11,29,45,.2); }
.agent-film-player { min-width: 0; padding: 22px; background: var(--night); }
.agent-film-player video { display: block; width: 100%; aspect-ratio: 16 / 9; color: #e9eee9; background: #02080d; border: 1px solid rgba(255,255,255,.15); object-fit: contain; }
.agent-film-note { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; min-height: 58px; padding: 12px 3px 0; color: #8ea5a3; font-size: 10px; line-height: 1.55; }
.agent-film-note span { color: #e4c478; font: 10px var(--mono); letter-spacing: .08em; white-space: nowrap; }
.agent-film-note p { margin: 0; }
.agent-film-note a { min-height: 34px; display: inline-flex; align-items: center; padding: 5px 9px; color: #add1cd; border: 1px solid rgba(173,209,205,.35); text-decoration: none; white-space: nowrap; }
.agent-film-note a:hover { color: var(--night); background: #d8b765; border-color: #d8b765; }
.agent-film-brief { margin: 0; padding: 0; list-style: none; background: #f5f0e6; }
.agent-film-brief li { min-height: 174px; padding: 22px 24px; border-bottom: 1px solid rgba(11,29,45,.16); }
.agent-film-brief li:last-child { border-bottom: 0; }
.agent-film-brief span { color: var(--sea); font: 9px var(--mono); letter-spacing: .09em; }
.agent-film-brief strong { display: block; margin-top: 17px; font: 600 19px/1.45 var(--serif); }
.agent-film-brief p { margin: 8px 0 0; color: #4e5e62; font-size: 11px; line-height: 1.75; }
.agent-faq { margin: 38px 0; border: 1px solid var(--line); background: #f7f3ea; }
.agent-faq-heading { border-bottom: 1px solid var(--line); }
.agent-faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.agent-faq details { min-width: 0; background: #f9f6ee; }
.agent-faq details[open] { background: #e0ebe7; }
.agent-faq summary { position: relative; min-height: 82px; display: grid; grid-template-columns: 43px 1fr 24px; gap: 14px; align-items: center; padding: 18px 21px; list-style: none; cursor: pointer; }
.agent-faq summary::-webkit-details-marker { display: none; }
.agent-faq summary::after { content: "+"; color: var(--sea); font: 400 24px var(--serif); text-align: center; }
.agent-faq details[open] summary::after { content: "−"; }
.agent-faq summary span { color: var(--sea); font: 10px var(--mono); letter-spacing: .08em; }
.agent-faq summary strong { font: 600 17px/1.5 var(--serif); }
.agent-faq details > div { padding: 0 66px 24px 78px; }
.agent-faq details p { margin: 0; color: #43545a; font-size: 12px; line-height: 1.85; }
.agent-faq summary:hover strong { color: var(--sea); }
.cockpit-hero { overflow: hidden; color: #eef3ef; background: var(--night); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 26px 70px rgba(7,19,31,.18); }
.cockpit-kicker { min-height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; color: #8eb7b5; border-bottom: 1px solid rgba(215,232,228,.14); font: 10px var(--mono); letter-spacing: .11em; }
.cockpit-kicker strong { display: flex; align-items: center; gap: 9px; color: #cddbd8; font-weight: 500; }
.cockpit-kicker i { width: 7px; height: 7px; background: #5ac1ae; border-radius: 50%; box-shadow: 0 0 0 5px rgba(90,193,174,.1); }
.cockpit-grid { display: grid; grid-template-columns: minmax(270px,.85fr) minmax(440px,1.35fr) minmax(265px,.8fr); min-height: 510px; }
.cockpit-brief { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,3vw,50px); border-right: 1px solid rgba(215,232,228,.14); }
.cockpit-brief .eyebrow { color: #6fb6b1; }
.cockpit-brief h2 { max-width: 11em; margin: 0; color: #edca79; font: 600 clamp(34px,3.4vw,51px)/1.22 var(--serif); letter-spacing: -.045em; }
.cockpit-brief h1 { max-width: 520px; font-size: clamp(40px,4vw,66px); color: #f3f0e8; letter-spacing: -.055em; }
.cockpit-brief h1 span { display: inline-block; color: #e8c570; }
.cockpit-brief h1 span::after { height: 2px; background: #bb593a; }
.cockpit-brief h1 .hero-line { color: inherit; white-space: nowrap; }
.cockpit-brief h1 .hero-line::after { display: none; }
.hero-lead { max-width: 27em; margin: 26px 0 0; color: #b9c8c5; font-size: 14px; line-height: 1.85; }
.cockpit-brief .button-link { border-color: #8db6b1; color: #d8e5e2; }
.cockpit-brief .button-link.primary { color: var(--night); background: #e3bd68; border-color: #e3bd68; }
.cockpit-brief .button-link:hover { color: #fff; background: #176b73; border-color: #176b73; }
.hero-boundary { margin: 18px 0 0; color: #718a88; font: 9px/1.6 var(--mono); letter-spacing: .07em; }
.boundary-map { position: relative; min-width: 0; margin: 0; padding: 25px 24px 18px; background:
  linear-gradient(rgba(83,139,139,.075) 1px, transparent 1px),
  linear-gradient(90deg, rgba(83,139,139,.075) 1px, transparent 1px),
  radial-gradient(circle at 43% 47%, rgba(28,104,111,.21), transparent 45%);
  background-size: 32px 32px, 32px 32px, auto;
  border-right: 1px solid rgba(215,232,228,.14);
}
.boundary-map figcaption { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.boundary-map figcaption span { color: #6da9a5; font: 9px var(--mono); letter-spacing: .08em; }
.boundary-map figcaption strong { color: #dce7e3; font: 500 13px var(--serif); }
.boundary-map svg { width: 100%; height: auto; margin-top: 30px; overflow: visible; }
.map-track, .map-flow { fill: none; stroke-linecap: round; }
.map-track { stroke: rgba(185,207,203,.18); stroke-width: 11; }
.map-flow { stroke: url(#flow); stroke-width: 4; stroke-dasharray: 8 10; animation: route-flow 8s linear infinite; }
.map-node circle { fill: var(--night); stroke: #68b6ad; stroke-width: 4; }
.map-node text { fill: #b5cac6; font: 13px var(--sans); }
.map-node text:first-of-type { fill: #6eb3ad; font: 10px var(--mono); letter-spacing: .06em; }
.map-node.boundary circle { fill: #3a211c; stroke: #dc7553; }
.map-node.boundary text { fill: #efbca7; }
.boundary-line { fill: none; stroke: rgba(220,117,83,.7); stroke-width: 2; stroke-dasharray: 5 7; }
.boundary-label { fill: #de8b6c; font: 11px var(--mono); letter-spacing: .08em; }
.map-legend { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px; color: #91aaa6; font-size: 10px; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 8px; height: 8px; border-radius: 50%; }
.signal-a { background: #56b8b2; }.signal-b { background: #d8ad54; }.signal-c { background: #c85e3d; }
.agent-briefing { padding: 27px 24px; background: #0b1824; }
.agent-briefing-head { padding-bottom: 20px; border-bottom: 1px solid rgba(215,232,228,.14); }
.agent-briefing-head span { display: block; color: #6fa9a6; font: 9px var(--mono); letter-spacing: .09em; }
.agent-briefing-head strong { display: block; margin-top: 7px; color: #f0d18d; font: 600 18px var(--serif); }
.agent-briefing section { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 22px 0; border-bottom: 1px solid rgba(215,232,228,.1); }
.agent-briefing section:last-child { border-bottom: 0; }
.brief-index { width: 27px; height: 27px; display: grid; place-items: center; color: #9fd2cc; border: 1px solid #337a78; font: 9px var(--mono); }
.brief-index.warn { color: #f0ce81; border-color: #a27d36; }
.brief-index.action { color: #ebb39e; border-color: #a34f36; }
.agent-briefing small { color: #76928f; font: 9px var(--mono); letter-spacing: .08em; }
.agent-briefing p { margin: 7px 0 0; color: #c7d2cf; font-size: 12px; line-height: 1.75; }
.theory-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.18fr; align-items: stretch; border-top: 1px solid rgba(215,232,228,.14); background: #0a151f; }
.theory-strip div { padding: 17px 19px; }
.theory-strip > b { align-self: center; color: #3c6665; font: 400 19px var(--serif); }
.theory-strip span, .theory-strip strong { display: block; }
.theory-strip span { color: #6fa9a6; font: 8px var(--mono); letter-spacing: .08em; }
.theory-strip strong { margin-top: 6px; color: #cbd8d4; font: 500 11px/1.55 var(--sans); }
.theory-strip .limit { background: rgba(185,89,53,.12); box-shadow: inset 3px 0 #b95935; }
.theory-strip .limit span { color: #da8c70; }
@keyframes route-flow { to { stroke-dashoffset: -180; } }
.disclaimer { display: grid; gap: 8px; max-width: 365px; margin-bottom: 9px; padding: 5px 0 5px 18px; border-left: 3px solid var(--gold); color: #4e5753; font-size: 13px; line-height: 1.8; }
.disclaimer b { color: var(--ink); font: 600 16px var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid var(--sea); color: var(--sea); background: transparent; text-decoration: none; font: 600 12px var(--sans); transition: color .18s ease, background .18s ease, border-color .18s ease; }
.button-link.primary { color: #fff; background: var(--sea); }
.button-link:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.platform-status { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-status > div { padding: 18px 22px; border-right: 1px solid var(--line); }
.platform-status > div:last-child { border-right: 0; }
.platform-status .label { margin: 0 0 7px; color: var(--sea); }
.platform-status strong { font: 600 14px var(--serif); }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font: 600 31px/1.25 var(--serif); letter-spacing: -.035em; }
.section-heading > p { max-width: 425px; margin: 0 0 3px; color: #5e6662; font-size: 13px; line-height: 1.8; }
.module-deck, .project-zone, .knowledge-zone, .authority-zone, .lab-zone { padding-top: 72px; }
.section-heading.compact { align-items: center; margin-bottom: 20px; }
.section-heading.compact h2 { font-size: 28px; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 25px; background: var(--line); border: 1px solid var(--line); }
.module-card { position: relative; min-height: 236px; padding: 24px; background: rgba(255,255,255,.38); }
.module-card:hover { background: #faf8f1; }
.module-card.is-planned { background: #e9e5db; color: #666963; }
.module-index, .module-status { color: var(--sea); font: 10px var(--mono); letter-spacing: .07em; }
.module-card h3 { margin: 39px 0 10px; font: 600 22px var(--serif); }
.module-card p { color: #5e6662; font-size: 13px; line-height: 1.8; }
.module-status { position: absolute; left: 24px; bottom: 22px; color: #775421; text-decoration: none; }
.module-status:hover { color: var(--sea); }
.project-zone { padding-bottom: 10px; }
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-list-wrap, .project-form { background: rgba(255,255,255,.42); padding: 22px; }
.project-list { display: grid; gap: 10px; }
.project-card { display: block; width: 100%; padding: 16px 18px; color: var(--ink); text-align: left; border: 1px solid var(--line); background: #f8f5ed; }
.project-card.is-active { border-color: var(--sea); box-shadow: inset 3px 0 var(--sea); background: #fdfbf5; }
.project-card span, .project-card small { color: var(--sea); font: 10px var(--mono); letter-spacing: .07em; }
.project-card strong { display: block; margin-top: 6px; font: 600 17px var(--serif); }
.project-card p { margin: 7px 0; color: #606662; font-size: 12px; line-height: 1.65; }
.project-form { background: var(--ink); color: #f3eedf; }
.project-form .label { margin: 0 0 22px; color: #a8c5c1; }
.project-form label { display: block; margin-bottom: 8px; color: #dbe4df; font-size: 12px; }
.project-form input, .project-form textarea, .rail select { width: 100%; border: 1px solid rgba(214,234,229,.28); background: rgba(255,255,255,.08); color: inherit; padding: 10px; outline: none; }
.project-form input, .project-form textarea { margin-bottom: 15px; }
.project-form textarea { min-height: 101px; resize: vertical; line-height: 1.6; }
.project-form input:focus, .project-form textarea:focus { border-color: #7ec1b6; }
.project-form .draft-button { margin-top: 5px; background: #d5aa5c; color: var(--ink); }
.form-feedback { color: #aec1be; font-size: 11px; line-height: 1.65; }
.project-inspector { margin-top: 1px; border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.inspector-empty { min-height: 160px; display: grid; align-content: center; justify-items: center; padding: 28px; text-align: center; color: var(--muted); }
.inspector-empty .label { color: var(--sea); }
.inspector-empty h3 { margin: 9px 0 3px; font: 600 21px var(--serif); color: var(--ink); }
.inspector-empty p { max-width: 460px; font-size: 12px; line-height: 1.7; }
.project-inspector > header { display: flex; justify-content: space-between; gap: 30px; padding: 22px 25px; color: #edf1ec; background: var(--ink); }
.project-inspector > header .label { margin: 0; color: #8bb9b5; }
.project-inspector > header h3 { margin: 7px 0 4px; font: 600 23px var(--serif); }
.project-inspector > header p:not(.label) { max-width: 760px; margin: 0; color: #b9c7c4; font-size: 12px; line-height: 1.7; }
.inspector-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; white-space: nowrap; }
.inspector-actions span { height: fit-content; padding: 5px 8px; color: #e9bf70; border: 1px solid rgba(233,191,112,.45); font: 10px var(--mono); }
.inspector-actions a { padding: 8px 10px; color: #d9ebe7; text-decoration: none; border-bottom: 1px solid #75aaa5; font: 10px var(--mono); }
.inspector-actions a:hover { color: #efcf8c; border-color: #efcf8c; }
.inspector-grid { display: grid; grid-template-columns: 1fr 1fr; }
.inspector-grid > section { min-width: 0; padding: 23px 25px 27px; border-right: 1px solid var(--line); }
.inspector-grid > section:last-child { border-right: 0; }
.archive-list { display: grid; gap: 8px; }
.archive-card { width: 100%; padding: 13px 14px; text-align: left; color: var(--ink); border: 1px solid var(--line); background: #faf8f1; }
.archive-card:hover { border-color: var(--sea); transform: translateX(2px); }
.archive-card span { color: #8a6631; font: 10px var(--mono); }
.archive-card strong { display: block; margin: 6px 0 8px; font: 600 14px/1.55 var(--serif); }
.archive-card small { color: var(--muted); font: 9px var(--mono); }
.activity-timeline { list-style: none; margin: 0; padding: 0; }
.activity-timeline li { display: grid; grid-template-columns: 77px 1fr; gap: 14px; padding: 0 0 17px; }
.activity-timeline time { color: var(--sea); font: 9px var(--mono); }
.activity-timeline li > div { position: relative; padding-left: 15px; border-left: 1px solid rgba(21,106,115,.35); }
.activity-timeline li > div::before { content: ""; position: absolute; width: 5px; height: 5px; left: -3px; top: 3px; background: var(--sea); border-radius: 50%; }
.activity-timeline strong { font: 600 12px var(--serif); }
.activity-timeline p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.muted-copy { color: var(--muted); font-size: 13px; }
.knowledge-zone { padding-bottom: 4px; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.evidence-card { min-height: 170px; padding: 21px; background: #f9f7f0; }
.evidence-card > span, .evidence-card small { color: var(--sea); font: 10px var(--mono); letter-spacing: .05em; }
.evidence-card p { margin: 17px 0 13px; font: 500 17px/1.55 var(--serif); }
.evidence-card i { display: inline-block; margin: 15px 5px 0 0; padding: 3px 6px; font: normal 10px var(--mono); background: #dde9e5; color: #355e5e; }
.lab-zone { padding-top: 71px; }
.agent-process { margin-bottom: 1px; color: #dfe9e6; background: #0a1722; border: 1px solid #203746; }
.agent-process > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 17px 20px; border-bottom: 1px solid rgba(215,232,228,.12); }
.agent-process > header .label { margin: 0 0 5px; color: #66aaa5; }
.agent-process > header h3 { margin: 0; color: #f0d08e; font: 600 18px var(--serif); }
.agent-process > header > span { color: #829d99; font-size: 10px; }
#agentPipeline { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; list-style: none; }
#agentPipeline li { position: relative; min-width: 0; display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 16px 14px 32px; border-right: 1px solid rgba(215,232,228,.1); }
#agentPipeline li:last-child { border-right: 0; }
#agentPipeline li > span { width: 24px; height: 24px; display: grid; place-items: center; color: #86aaa6; border: 1px solid #345c5d; font: 8px var(--mono); }
#agentPipeline strong, #agentPipeline small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#agentPipeline strong { color: #d6e2df; font-size: 11px; }
#agentPipeline small { margin-top: 5px; color: #758f8c; font-size: 9px; }
#agentPipeline em { position: absolute; left: 48px; bottom: 11px; color: #597572; font: normal 8px var(--mono); }
#agentPipeline li.is-active { background: rgba(226,187,101,.08); box-shadow: inset 0 -3px #d8ad54; }
#agentPipeline li.is-active > span { color: #f1cf85; border-color: #b18a42; }
#agentPipeline li.is-active em { color: #e1bd6e; }
#agentPipeline li.is-done { background: rgba(69,151,141,.08); }
#agentPipeline li.is-done > span { color: #cde9e4; background: #176a68; border-color: #328f88; }
#agentPipeline li.is-done em { color: #72bdb4; }
#agentPipeline li.is-blocked { background: rgba(185,89,53,.12); box-shadow: inset 0 -3px #b95935; }
#agentPipeline li.is-blocked em { color: #e29376; }
.scenario-bar { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; background: var(--ink); color: #f8f1e1; padding: 20px 25px; border-radius: 3px 3px 0 0; }
.scenario-number { color: #accacc; text-align: center; font: 10px/1 var(--mono); letter-spacing: .1em; border-right: 1px solid rgba(202, 226, 222, .24); padding-right: 18px; }
.scenario-number b { display: block; margin-top: 7px; color: #e7bf72; font: 700 31px/.8 var(--serif); }
.scenario-bar h2, .scenario-bar h3 { margin: 4px 0 0; font: 600 21px var(--serif); letter-spacing: .02em; }
.scenario-bar .label { margin: 0; color: #8cb6b5; }
.scenario-status { align-self: center; color: #a6c8c4; font: 11px var(--mono); letter-spacing: .1em; display: flex; align-items: center; gap: 10px; }
.scenario-timeline { border: 1px solid var(--line); border-top: 0; background: #f8f5ed; }
.timeline-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.timeline-heading .label { margin: 0 0 5px; color: var(--sea); }
.timeline-heading h3 { margin: 0; font: 600 20px var(--serif); }
.timeline-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.timeline-nodes { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); overflow-x: auto; border-bottom: 1px solid var(--line); }
.timeline-nodes button { position: relative; min-height: 108px; padding: 15px 14px; text-align: left; color: var(--ink); background: transparent; border: 0; border-right: 1px solid var(--line); transition: background .18s ease, color .18s ease; }
.timeline-nodes button:last-child { border-right: 0; }
.timeline-nodes button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: transparent; }
.timeline-nodes button:hover { background: rgba(21,106,115,.06); }
.timeline-nodes button.is-active { color: #fff; background: var(--sea); }
.timeline-nodes button.is-active::after { background: #e2bc72; }
.timeline-nodes span, .timeline-nodes small { display: block; font: 9px var(--mono); letter-spacing: .06em; }
.timeline-nodes span { color: var(--sea); }
.timeline-nodes button.is-active span { color: #cbe3df; }
.timeline-nodes strong { display: block; margin: 9px 0 7px; font: 600 15px var(--serif); }
.timeline-nodes small { color: var(--muted); }
.timeline-nodes button.is-active small { color: #deebe8; }
.timeline-detail { display: grid; grid-template-columns: 150px 180px 1fr; gap: 18px; align-items: center; min-height: 72px; padding: 13px 24px; }
.timeline-detail span { color: var(--sea); font: 10px var(--mono); }
.timeline-detail strong { font: 600 15px var(--serif); }
.timeline-detail p { margin: 0; color: #59625e; font-size: 12px; line-height: 1.65; }
.workspace { display: grid; grid-template-columns: 275px minmax(300px, .95fr) minmax(360px, 1.15fr); min-height: 550px; background: rgba(255,255,255,.34); border: 1px solid var(--line); border-top: 0; }
.rail { padding: 30px 25px; background: var(--paper-deep); border-right: 1px solid var(--line); }
.rail select { margin-bottom: 8px; color: var(--ink); background: #f7f4ed; border-color: rgba(11,29,45,.18); font-size: 12px; }
.rail-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.rail-title { margin: 0 0 13px; color: var(--muted); }
.role-list { display: grid; gap: 7px; }
.role-option, .action-option { display: block; position: relative; }
.role-option input, .action-option input { position: absolute; opacity: 0; }
.role-option span { display: block; border: 1px solid transparent; padding: 11px 12px 10px; color: #505651; font-size: 13px; transition: .18s ease; }
.role-option input:checked + span { color: var(--ink); background: #f7f4ed; border-color: rgba(21,106,115,.52); box-shadow: inset 3px 0 var(--sea); }
.line { height: 1px; background: var(--line); margin: 29px 0; }
.action-list { display: grid; gap: 8px; }
.action-option { padding: 10px 8px 10px 29px; border-bottom: 1px solid rgba(11,29,45,.1); transition: .16s ease; }
.action-option::before { content: ""; position: absolute; width: 10px; height: 10px; left: 7px; top: 13px; border: 1px solid #84908b; border-radius: 50%; }
.action-option:has(input:checked)::before { background: var(--sea); border-color: var(--sea); box-shadow: inset 0 0 0 3px var(--paper-deep); }
.action-option span { display: block; font-size: 13px; }
.action-option small { color: var(--muted); font: 10px var(--mono); }
.draft-button { width: 100%; margin-top: 31px; padding: 14px 15px; border: 0; background: var(--sea); color: white; text-align: left; font-weight: 600; letter-spacing: .02em; transition: transform .2s, background .2s; }
.draft-button span { float: right; font-size: 20px; line-height: .7; }
.draft-button:hover { background: #0f555e; transform: translateY(-2px); }
.event-column, .card-column { padding: 31px 31px 25px; }
.event-column { border-right: 1px solid var(--line); }
.column-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.column-heading .label { margin: 0; color: var(--muted); }
.badge { padding: 4px 8px; border: 1px solid rgba(21,106,115,.35); color: var(--sea); font: 9px var(--mono); letter-spacing: .08em; }
.badge-gold { border-color: rgba(177,134,69,.55); color: #846127; }
.event-column h2, .event-column h3, .card-column h2, .card-column h3 { font: 600 26px/1.35 var(--serif); margin: 21px 0 10px; letter-spacing: -.025em; }
.event-summary { color: #5e6662; font-size: 14px; line-height: 1.8; }
.signal-list { margin-top: 29px; display: grid; gap: 12px; }
.signal { position: relative; padding: 13px 12px 13px 18px; border-left: 2px solid var(--mist); background: rgba(238,244,242,.65); }
.signal::before { content: attr(data-index); position: absolute; left: -1px; top: -10px; color: var(--sea); font: 10px var(--mono); background: var(--paper); padding: 1px 4px; }
.signal b { display: block; font-size: 13px; line-height: 1.65; font-weight: 500; }
.signal small { color: var(--muted); font: 10px var(--mono); }
.source-note { margin-top: 28px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.source-note strong { color: var(--sea); font-weight: 600; }
.empty-card, .manual-review { margin-top: 21px; min-height: 294px; border: 1px dashed rgba(11,29,45,.28); padding: 26px; background: rgba(255,255,255,.25); }
.empty-index { color: #a97a32; font: 10px var(--mono); letter-spacing: .1em; }
.empty-card p, .manual-review p { max-width: 340px; color: #626a66; font-size: 14px; line-height: 1.8; }
.coordination-card { margin-top: 21px; border: 1px solid rgba(11,29,45,.28); background: #fbfaf5; box-shadow: 8px 8px 0 rgba(21,106,115,.13); }
.card-strip { display: flex; justify-content: space-between; gap: 10px; padding: 9px 13px; background: var(--ink); color: #d6e6e3; font: 9px var(--mono); letter-spacing: .07em; }
.coordination-card h2, .coordination-card h3 { margin: 22px 23px 8px; font-size: 24px; }
.boundary-notice { margin: 0 23px 21px; padding: 11px 12px; color: #754426; background: #f3e7d2; border-left: 2px solid var(--gold); font-size: 12px; line-height: 1.65; }
.card-facts { margin: 0 23px; border-top: 1px solid var(--line); }
.card-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.card-facts dt { color: var(--muted); font: 10px var(--mono); letter-spacing: .06em; }
.card-facts dd { margin: 0; font-size: 12px; line-height: 1.55; }
.decision-trace { margin: 18px 23px 0; padding: 16px; border: 1px solid rgba(21,106,115,.28); background: rgba(21,106,115,.055); }
.decision-trace ol { margin: 10px 0 0; padding-left: 22px; }
.decision-trace li { padding: 5px 0; color: var(--ink); font-size: 12px; line-height: 1.55; }
.decision-trace li::marker { color: var(--sea); font: 600 10px var(--mono); }
.decision-panel { margin: 19px 23px 23px; padding-top: 16px; }
.decision-panel p { margin: 0 0 11px; color: var(--muted); font-size: 11px; }
.decision-actions { display: flex; gap: 7px; }
.decision-actions button { padding: 8px 14px; border: 1px solid var(--sea); background: var(--sea); color: #fff; font-size: 12px; }
.decision-actions .quiet { color: var(--sea); background: transparent; }
.manual-review { border-color: rgba(185,89,53,.55); background: #f7ede5; }
.manual-review h2 { color: #903c25; }
.audit-strip { display: flex; justify-content: space-between; gap: 30px; padding: 22px 25px; background: #d6dfdc; border: 1px solid var(--line); border-top: 0; }
.audit-strip .label { margin: 0 0 4px; color: var(--sea); }
.audit-strip strong { font: 600 15px var(--serif); }
.activity { align-self: center; max-width: 420px; color: #55605c; font-size: 12px; text-align: right; }
.hidden { display: none; }
.presentation-guide { position: fixed; z-index: 50; left: 50%; bottom: 18px; width: min(940px, calc(100% - 36px)); transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 17px 19px; color: #eef3ed; background: rgba(7,19,31,.98); border: 1px solid rgba(224,193,125,.55); box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.presentation-guide.hidden { display: none; }
.presentation-guide span { color: #8fc5bf; font: 9px var(--mono); letter-spacing: .1em; }
.presentation-guide strong { display: block; margin: 4px 0; color: #f0d08e; font: 600 16px var(--serif); }
.presentation-guide p { margin: 0; color: #c3d0cd; font-size: 11px; line-height: 1.6; }
.presentation-actions { display: flex; gap: 8px; }
.presentation-actions button { min-height: 44px; padding: 9px 14px; border: 1px solid #7da8a3; color: #e3eeeb; background: transparent; }
.presentation-actions button:last-child { color: var(--night); background: #dfb965; border-color: #dfb965; font-weight: 600; }
.presentation-mode { padding-bottom: 120px; }

.demo-paths { margin: 28px 0 36px; padding: 30px; color: var(--night); background: var(--paper); border: 1px solid var(--line); }
.demo-paths > header { display: grid; grid-template-columns: 1fr minmax(260px, .7fr); column-gap: 40px; align-items: end; }
.demo-paths > header .eyebrow { grid-column: 1 / -1; }
.demo-paths > header h2 { margin: 4px 0 0; font: 600 clamp(26px, 3vw, 42px)/1.08 var(--serif); }
.demo-paths > header > p:last-child { margin: 0; color: #59656c; line-height: 1.7; }
.demo-paths > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; background: #cbd0cc; border: 1px solid #cbd0cc; }
.demo-paths article { padding: 24px; background: #f8f6f0; }
.demo-paths article.is-boundary { background: #f5eee8; }
.demo-paths article > span { color: #4c7774; font: 10px var(--mono); letter-spacing: .1em; }
.demo-paths article.is-boundary > span { color: #a64f32; }
.demo-paths h3 { margin: 10px 0 8px; font: 600 23px var(--serif); }
.demo-paths article p { min-height: 48px; margin: 0 0 18px; color: #4f5d63; line-height: 1.65; }
.demo-paths button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--night); color: var(--paper); background: var(--night); font-weight: 700; cursor: pointer; }
.demo-paths .is-boundary button { border-color: #a64f32; background: #a64f32; }
.demo-paths .fresh-demo { display: block; min-height: 38px; margin: 14px 0 0 auto; padding: 7px 0; border: 0; border-bottom: 1px solid #59656c; color: #46545a; background: transparent; font-size: 11px; }
.demo-paths .fresh-demo:hover { color: var(--sea); border-color: var(--sea); }
.demo-readout { margin: 0 0 36px; padding: 28px 30px; color: var(--night); background: #f8f5ed; border: 1px solid var(--line); }
.demo-readout header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 21px; }
.demo-readout .eyebrow { margin: 0; }
.demo-readout h2 { margin: 6px 0 0; font: 600 clamp(25px, 2.7vw, 38px)/1.18 var(--serif); letter-spacing: -.035em; }
.demo-readout ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.demo-readout li { display: grid; grid-template-columns: 44px 1fr; gap: 13px; min-height: 160px; padding: 20px 18px; background: var(--paper); }
.demo-readout li > span { color: var(--sea); font: 700 12px var(--mono); }
.demo-readout strong { display: block; font: 600 18px var(--serif); }
.demo-readout p { margin: 9px 0 0; color: #4f5d63; font-size: 12px; line-height: 1.7; }
.demo-mission { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0; color: #dbe7e3; background: rgba(215,232,228,.14); border-top: 1px solid rgba(215,232,228,.14); border-bottom: 1px solid rgba(215,232,228,.14); }
.demo-mission > div { min-height: 94px; padding: 19px 22px; background: #0a1a28; }
.demo-mission dt { color: #74aaa7; font: 9px var(--mono); letter-spacing: .1em; }
.demo-mission dd { margin: 10px 0 0; color: #e8eee9; font: 600 15px/1.55 var(--serif); }

.knowledge-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 12px; padding: 15px; color: #e6efeb; background: var(--ink); }
.search-field { display: grid; flex: 1; max-width: 520px; gap: 7px; color: #b7cac6; font-size: 11px; }
.search-field input { min-height: 44px; padding: 10px 12px; border: 1px solid rgba(215,233,229,.3); color: #fff; background: rgba(255,255,255,.08); }
.search-field input::placeholder { color: #aabbb8; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-button { min-height: 40px; padding: 8px 12px; border: 1px solid rgba(215,233,229,.28); color: #c6d6d3; background: transparent; font-size: 11px; }
.filter-button.is-active { color: var(--ink); background: #e5c276; border-color: #e5c276; }
.empty-result, .error-copy { padding: 24px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.35); }
.evidence-card details { margin-top: 12px; border-top: 1px solid var(--line); }
.evidence-card summary { min-height: 44px; display: flex; align-items: center; color: #315f61; cursor: pointer; font-size: 11px; }
.evidence-card dl { margin: 2px 0 8px; }
.evidence-card dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 7px 0; border-top: 1px dotted var(--line); font-size: 11px; }
.evidence-card dt { color: var(--muted); }
.evidence-card dd { margin: 0; line-height: 1.55; }
.review-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line); }
.review-heading h3 { margin: 4px 0 0; font: 600 24px var(--serif); }
.review-heading > p { max-width: 430px; margin: 0; color: #5a625e; font-size: 12px; line-height: 1.75; }
.review-issue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.review-issue { border: 1px solid var(--line); background: #f8f3e8; }
.review-issue summary { position: relative; display: grid; min-height: 128px; align-content: center; gap: 8px; padding: 20px 54px 20px 20px; cursor: pointer; list-style: none; }
.review-issue summary::-webkit-details-marker { display: none; }
.review-issue summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--orange); font: 30px var(--serif); }
.review-issue[open] summary::after { content: "−"; }
.review-issue summary span { color: #984f31; font: 10px var(--mono); letter-spacing: .08em; }
.review-issue summary strong { font: 600 18px var(--serif); }
.review-issue summary em { color: var(--muted); font: normal 10px var(--mono); }
.issue-claims { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.issue-claims section { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.issue-claims section:last-child { border-right: 0; }
.issue-claims small { color: var(--orange); font: 10px var(--mono); }
.issue-claims p { min-height: 53px; margin: 7px 0 12px; font-size: 12px; line-height: 1.7; }
.issue-claims code { color: var(--sea); white-space: normal; font: 10px/1.5 var(--mono); }
.issue-action { margin: 0; padding: 15px 18px; border-top: 1px solid var(--line); color: #544d43; background: #efe4d1; font-size: 11px; line-height: 1.7; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 2px 0 14px; color: #555e5a; font-size: 11px; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.legend-ok::before { background: var(--sea); }.legend-warn::before { background: var(--gold); }.legend-stop::before { background: var(--orange); }.legend-unknown::before { background: #7c817d; }
.authority-matrix { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.table-scroll { overflow-x: auto; }
.authority-matrix table { width: 100%; min-width: 760px; border-collapse: collapse; }
.authority-matrix th, .authority-matrix td { height: 78px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.authority-matrix thead th { height: 54px; color: #c8d8d5; background: var(--ink); font: 500 11px var(--sans); }
.authority-matrix tbody th { width: 25%; background: #ede6d9; }
.authority-matrix tbody th span { display: block; font: 600 14px var(--serif); }
.authority-matrix tbody th small { color: var(--muted); font: 9px var(--mono); }
.matrix-state { display: inline-block; padding: 6px 9px; border: 1px solid currentColor; font-size: 11px; }
.matrix-state.ok { color: #0d6763; }.matrix-state.warn { color: #7a571e; }.matrix-state.stop { color: #923f28; }.matrix-state.unknown { color: #5f6662; border-style: dashed; }
.matrix-note { margin: 0; padding: 15px 18px; color: #57605c; font-size: 11px; line-height: 1.65; }

.demo-steps { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-bottom: 0; }
.demo-steps li { position: relative; padding: 11px 14px; border-right: 1px solid var(--line); color: #68716c; background: rgba(255,255,255,.32); font: 10px var(--mono); text-align: center; }
.demo-steps li:last-child { border-right: 0; }
.demo-steps li.is-current { color: #fff; background: var(--sea); }
.demo-steps li.is-done { color: var(--sea); background: #dbe7e3; }
.role-boundary { margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.36); }
.role-boundary p { margin: 0 0 5px; color: #555d59; font-size: 10px; line-height: 1.55; }
.role-boundary p:last-child { margin-bottom: 0; }
.assistant-box { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.assistant-box > div:first-child { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.assistant-box > div:first-child span { max-width: 220px; color: var(--muted); font-size: 10px; text-align: right; }
.assistant-input { display: grid; grid-template-columns: 1fr auto; margin-top: 10px; }
.assistant-input input { min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); background: #fbfaf5; }
.assistant-input button { min-width: 64px; border: 0; color: #fff; background: var(--sea); }
.question-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.question-chips button { min-height: 36px; padding: 7px 9px; border: 1px solid rgba(21,106,115,.35); color: var(--sea); background: transparent; font-size: 10px; }
.assistant-answer { margin-top: 10px; padding: 12px; border-left: 2px solid var(--sea); color: #58615d; background: rgba(219,233,229,.5); font-size: 11px; line-height: 1.7; }
.assistant-answer strong { display: block; color: var(--ink); font-weight: 500; }
.assistant-answer span { display: block; margin-top: 7px; color: var(--sea); font: 9px/1.5 var(--mono); }
.confirmation-progress { margin: 16px 23px 0; }
.confirmation-progress .rail-title { margin-bottom: 8px; }
#confirmationProgress { display: flex; flex-wrap: wrap; gap: 6px; }
.confirmation-role { padding: 5px 7px; border: 1px dashed #88775f; color: #695d4c; font-size: 10px; }
.confirmation-role.is-confirmed { border-style: solid; border-color: var(--sea); color: var(--sea); background: #e1ece8; }
.decision-panel label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 11px; }
.decision-panel textarea { width: 100%; min-height: 70px; padding: 9px; border: 1px solid var(--line); background: #f5f1e8; resize: vertical; font-size: 12px; line-height: 1.55; }
.decision-actions button { min-height: 42px; }
.decision-actions button:disabled, .draft-button:disabled, .button-link:disabled { cursor: not-allowed; opacity: .48; transform: none; }

.footer { display: grid; grid-template-columns: auto 1fr auto; gap: 35px; align-items: center; padding: 28px 5vw; color: #b8c9c5; background: var(--night); }
.footer > div { display: flex; align-items: center; gap: 10px; color: #eef1eb; font: 600 14px var(--serif); }
.footer p { max-width: 680px; margin: 0; font-size: 11px; line-height: 1.65; }
.footer small { font: 9px var(--mono); }

@media (max-width: 1100px) {
  .topbar-note { display: none; }
  .agent-story-hero { grid-template-columns: 1fr; }
  .agent-story-hero::before { inset: 0; }
  .story-copy { min-height: 560px; }
  .agent-motion { border-left: 0; border-top: 1px solid var(--line); }
  .platform-status { grid-template-columns: repeat(2, 1fr); }
  .workspace { grid-template-columns: 240px 1fr; }
  .card-column { grid-column: 2; border-top: 1px solid var(--line); }
  .masthead { gap: 25px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .cockpit-grid { grid-template-columns: .9fr 1.35fr; }
  .agent-briefing { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 0; padding: 0; border-top: 1px solid rgba(215,232,228,.14); }
  .agent-briefing-head, .agent-briefing section { padding: 20px; border-bottom: 0; border-right: 1px solid rgba(215,232,228,.12); }
  .agent-briefing section:last-child { border-right: 0; }
  .project-grid, .inspector-grid { grid-template-columns: 1fr; }
  .inspector-grid > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .agent-film-grid { grid-template-columns: 1fr; }
  .agent-film-brief { display: grid; grid-template-columns: 1fr 1fr; }
  .agent-film-brief li { min-height: 0; border-right: 1px solid rgba(11,29,45,.16); }
  .agent-film-brief li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 760px) {
  .story-copy { min-height: 0; padding: 42px 24px 38px; }
  .story-copy .eyebrow { margin-bottom: 20px; font-size: 8px; line-height: 1.6; }
  .story-overline { font-size: 15px; }
  .story-copy h1 { font-size: clamp(52px,16vw,72px); }
  .story-thesis { margin-top: 24px; font-size: 20px; }
  .story-explain { font-size: 12px; }
  .story-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
  .story-copy .button-link { width: 100%; }
  .technical-dossier { margin: 22px 0; }
  .technical-dossier > summary { min-height: 0; grid-template-columns: 1fr 28px; gap: 7px 12px; padding: 22px 18px; }
  .technical-dossier > summary span, .technical-dossier > summary small { grid-column: 1; }
  .technical-dossier > summary strong { grid-column: 1; font-size: 20px; }
  .technical-dossier > summary::after { grid-column: 2; grid-row: 1 / 4; }
  .agent-motion { padding: 28px 20px 25px; }
  .agent-motion figcaption { display: grid; gap: 7px; }
  .motion-board { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 25px 0; }
  .motion-input { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .motion-input > span { grid-column: 1 / -1; }
  .motion-input p { padding: 9px 7px; font-size: 9px; text-align: center; }
  .motion-core { width: 105px; margin: 0 auto; }
  .core-ring i { transform-origin: 3px 55px; }
  .motion-output { width: min(100%,280px); margin: 0 auto; }
  .flow-line { display: none; }
  .motion-steps { grid-template-columns: repeat(2,1fr); }
  .motion-steps li { min-height: 51px; display: grid; place-items: center; border-bottom: 1px solid rgba(215,232,228,.12); }
  .motion-steps li:nth-child(2n) { border-right: 0; }
  .motion-steps li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .motion-steps span { margin-bottom: 0; }
  .motion-gate { margin-top: 18px; }
  .motion-gate > span { width: 100%; text-align: center; }
  .agent-explainer { margin: 22px 0; padding: 33px 20px; }
  .agent-explainer > header { display: block; }
  .agent-explainer > header .eyebrow { margin-bottom: 12px; }
  .agent-explainer h2 { font-size: 29px; }
  .agent-explainer > header > p:last-child { margin-top: 18px; }
  .agent-explainer-flow, .agent-boundary-pair { grid-template-columns: 1fr; }
  .agent-explainer-flow { margin-top: 28px; }
  .agent-explainer-flow li { min-height: 0; }
  .agent-explainer-flow strong { margin-top: 14px; }
  .agent-film { margin: 22px 0; }
  .agent-film-heading, .agent-faq-heading { display: block; padding: 30px 20px; }
  .agent-film-heading > p, .agent-faq-heading > p { margin-top: 16px; }
  .agent-film-player { padding: 10px; }
  .agent-film-note { grid-template-columns: 1fr; gap: 7px; padding: 13px 3px 3px; }
  .agent-film-note a { width: max-content; }
  .agent-film-brief, .agent-faq-list { grid-template-columns: 1fr; }
  .agent-film-brief li { border-right: 0; }
  .agent-faq { margin: 22px 0; }
  .agent-faq summary { min-height: 76px; grid-template-columns: 35px 1fr 21px; gap: 10px; padding: 16px; }
  .agent-faq details > div { padding: 0 50px 22px 61px; }
  .demo-paths { padding: 22px 18px; }
  .demo-paths > header, .demo-paths > div { grid-template-columns: 1fr; }
  .demo-paths > header > p:last-child { margin-top: 12px; }
  .demo-readout { padding: 22px 18px; }
  .demo-readout header { display: block; }
  .demo-readout ol { grid-template-columns: 1fr; }
  .demo-readout li { min-height: 0; }
  .demo-mission { grid-template-columns: 1fr; }
  .demo-mission > div { min-height: 0; }
  html { scroll-padding-top: 118px; }
  .topbar { min-height: 104px; padding: 12px 18px 9px; align-content: space-between; flex-wrap: wrap; }
  .brand { width: 100%; }
  .top-nav { width: 100%; gap: 17px; margin: 11px 0 0; overflow-x: auto; padding-bottom: 4px; }
  .top-nav a { flex: 0 0 auto; min-height: 28px; }
  .shell { width: min(100% - 28px, 1440px); padding-top: 35px; }
  .runtime-notice { top: 104px; align-items: flex-start; padding: 10px 18px; }
  .cockpit-grid { display: block; }
  .cockpit-brief { border-right: 0; border-bottom: 1px solid rgba(215,232,228,.14); }
  .boundary-map { min-height: 390px; border-right: 0; }
  .boundary-map figcaption { display: grid; }
  .boundary-map svg { margin-top: 5px; }
  .agent-briefing { display: block; }
  .agent-briefing-head, .agent-briefing section { border-right: 0; border-bottom: 1px solid rgba(215,232,228,.12); }
  .theory-strip { grid-template-columns: 1fr 1fr; }
  .theory-strip > b { display: none; }
  .theory-strip div { border-bottom: 1px solid rgba(215,232,228,.1); }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .masthead, .audit-strip, .section-heading, .review-heading { display: block; }
  .disclaimer { margin-top: 28px; }
  .section-heading > p, .review-heading > p { margin-top: 15px; }
  .platform-status, .module-grid, .evidence-grid, .review-issue-grid { grid-template-columns: 1fr; }
  .platform-status > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .knowledge-toolbar { display: grid; }
  .search-field { max-width: none; }
  .issue-claims { grid-template-columns: 1fr; }
  .issue-claims section { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-bar { grid-template-columns: 55px 1fr; padding: 16px; }
  .agent-process > header { display: block; }
  .agent-process > header > span { display: block; margin-top: 8px; }
  #agentPipeline { grid-template-columns: repeat(5, 190px); overflow-x: auto; }
  .scenario-status { display: none; }
  .timeline-heading { display: block; }
  .timeline-heading > p { margin-top: 10px; }
  .timeline-nodes { grid-template-columns: repeat(6, 142px); }
  .timeline-detail { grid-template-columns: 1fr; gap: 5px; }
  .workspace { display: block; }
  .rail, .event-column { border-right: 0; border-bottom: 1px solid var(--line); }
  .card-column, .event-column, .rail { padding: 24px 20px; }
  .activity { margin-top: 14px; text-align: left; }
  .footer { grid-template-columns: 1fr; gap: 15px; }
  .presentation-guide { grid-template-columns: 1fr; gap: 12px; bottom: 10px; }
  .presentation-actions button { flex: 1; }
}
@media (max-width: 430px) {
  .module-card { min-height: 208px; }
  .project-inspector > header { display: block; }
  .inspector-actions { align-items: flex-start; margin-top: 16px; }
  .demo-steps li { padding: 9px 3px; letter-spacing: -.04em; }
  .assistant-box > div:first-child { display: block; }
  .assistant-box > div:first-child span { display: block; max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .topbar, .grain, .hero-actions, .project-form, .knowledge-toolbar, .rail, .assistant-box, .decision-panel, .presentation-guide { display: none !important; }
  .shell { width: 100%; padding: 0; }
  .module-deck, .project-zone, .knowledge-zone, .authority-zone, .lab-zone { padding-top: 28px; break-inside: avoid; }
  .workspace { display: block; }
  .event-column, .card-column { border: 1px solid #888; }
  body { background: #fff; }
}

/* 键盘焦点、窄屏导航与小字号对比度。 */
.module-card p { color: #4f5754; }
.review-issue summary em { color: #636966; }
.authority-matrix tbody th small { color: #555c58; }
#agentPipeline em { color: #75928e; }
.rail-title, .rail-note, .action-option small { color: #555c58; }
.empty-index { color: #7b571f; }
.noscript-note { margin: 0; padding: 13px 18px; color: #07131f; background: #f1cf85; text-align: center; font-size: 13px; }
.noscript-note a { margin-left: 6px; font-weight: 700; }
.role-option:has(input:focus-visible) span,
.action-option:has(input:focus-visible) { outline: 3px solid #d9a33f; outline-offset: 3px; }
.rail select:focus-visible { outline: 3px solid #d9a33f; outline-offset: 3px; }

@media (max-width: 760px) {
  html { scroll-padding-top: 176px; }
  .topbar { min-height: 0; }
  .top-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; padding: 8px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
  .top-nav a { display: grid; place-items: center; min-width: 0; min-height: 38px; padding: 0 3px; text-align: center; font-size: 10px; }
  .runtime-notice { top: 162px; }
}
