:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #6b6b68;
  --bg: #efefed;
  --panel: #fbfbf9;
  --panel-2: #ededeb;
  --line: #d2d2ce;
  --cyan: #3e3e3c;
  --cyan-soft: #e8e8e5;
  --amber: #686864;
  --amber-soft: #eeeeea;
  --red: #242424;
  --red-soft: #e5e5e2;
  --blue: #555552;
  --green: #464644;
  --radius: 18px;
  --type-note: 11px;
  --type-small: 12px;
  --type-body: 13px;
  --type-reading: 14px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(0, 0, 0, .035), transparent 24rem),
    radial-gradient(circle at 88% 2%, rgba(255, 255, 255, .7), transparent 28rem),
    var(--bg);
  filter: grayscale(1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3, .brand strong {
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif CJK SC", STSong, "Times New Roman", serif;
}
h1 { margin: 0; font-size: clamp(2.15rem, 4vw, 4.5rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 650; }
h1 em { display: block; color: var(--red); font-style: normal; font-weight: 650; }
h2 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; }
h3 { line-height: 1.35; }
.ambient { display: none; }
.visually-hidden {
  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;
}

.site-header {
  width: min(1440px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(110, 96, 72, .22);
}
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-copy { min-width: 0; }
.brand-title { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #81382f;
  border-radius: 6px;
  background: var(--red);
  color: #fff8ea;
  font: 800 20px/1 "Songti SC", STSong, serif;
  box-shadow: inset 0 0 0 2px rgba(255,248,234,.22);
}
.brand strong { display: block; font-size: 16px; letter-spacing: .04em; }
.brand-version {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px 0;
  border: 1px solid #c7c7c2;
  border-radius: 999px;
  color: #5b5b58;
  background: rgba(250,250,248,.76);
  font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .02em;
}
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.header-status { display: flex; align-items: center; gap: 7px; }
.mode-badge, .audience-badge, .language-switch, .evaluation-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.65);
  color: var(--muted);
  font-size: 11px;
}
.evaluation-link { display:inline-flex; align-items:center; min-height:32px; color:var(--ink); text-decoration:none; font-weight:750; }
.evaluation-link:hover,.evaluation-link:focus-visible { border-color:var(--ink); background:#fff; }
.language-switch {
  min-width: 44px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .03em;
}
.language-switch:hover, .language-switch:focus-visible {
  border-color: var(--ink);
  background: #fff;
}
.demo-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid #ccb9b1;
  border-radius: 5px;
  color: #5d2d27;
  background: #f3e9e4;
  font-size: 10px;
}
.demo-return a { color: inherit; font-weight: 800; white-space: nowrap; text-underline-offset: 3px; }
.mode-badge span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}
.mode-badge b { font-weight: 700; }
.mode-badge[data-state="loading"] span { background: var(--amber); }
.mode-badge[data-state="offline"], .mode-badge[data-state="error"] { background: var(--amber-soft); border-color: #ddc69f; }
.mode-badge[data-state="offline"] span, .mode-badge[data-state="error"] span { background: var(--amber); }
.audience-badge[data-audience="admin"] { color: var(--blue); border-color: #c9d5eb; background: #f2f6ff; }

main { width: min(1440px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.workspace-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  padding: 42px 0 30px;
}
.workspace-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px 0 2px 37%;
  border-radius: 20px;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(239,239,237,.35) 42%, rgba(239,239,237,.08) 100%),
    url("/assets/cognitive-orbits.jpg") center / cover no-repeat;
  opacity: .22;
  filter: grayscale(1) contrast(.9);
  pointer-events: none;
}
.workspace-intro h1 { max-width: 900px; }
.intro-quote {
  position: relative;
  max-width: 680px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-family: "Songti SC", "Noto Serif CJK SC", STSong, serif;
  font-size: 14px;
  letter-spacing: .06em;
}
.intro-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  bottom: .25em;
  width: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.intro-guide { display: flex; gap: 8px; padding-bottom: 4px; }
.intro-guide span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 2px;
  background: rgba(253,250,243,.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.intro-guide b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(152,71,61,.35);
  border-radius: 50%;
  color: var(--red);
  font-family: "Songti SC", STSong, serif;
  font-size: 12px;
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0 0 3px;
  list-style: none;
}
.journey-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #777773;
  background: rgba(250,250,248,.72);
}
.journey-steps li > b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #bdbdb9;
  border-radius: 50%;
  color: #4a4a47;
  font: 600 17px/1 "Songti SC", STSong, serif;
}
.journey-steps li span { min-width: 0; }
.journey-steps li strong,
.journey-steps li small { display: block; }
.journey-steps li strong { color: #333331; font-size: 12px; }
.journey-steps li small { margin-top: 2px; font-size: 10px; line-height: 1.35; }
.journey-steps li[data-state="current"] {
  border-color: #333;
  color: #333;
  background: #fafaf8;
  box-shadow: inset 0 -2px #222;
}
.journey-steps li[data-state="current"] > b {
  border-color: #202020;
  color: #f7f7f5;
  background: #202020;
}
.journey-steps li[data-state="done"] { color: #555552; background: #e7e7e4; }
.journey-steps li[data-state="done"] > b { border-color: #777773; color: #333; background: #f4f4f1; }
.pane-nav { display: none; }

.split-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 410px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 56px;
}
.dialogue-pane, .output-pane {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(60, 48, 30, .08);
}
.dialogue-pane {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  scrollbar-width: thin;
  border-top: 3px solid var(--red);
  background: #f7f0e5;
}
.output-pane { padding: 0 22px 28px; border-top: 3px solid var(--cyan); }
.pane-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(253,250,243,.9);
}
.pane-heading > div { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; }
.pane-heading .pane-number {
  grid-row: 1 / 3;
  align-self: center;
  min-width: 42px;
  padding: 7px 8px;
  border: 1px solid rgba(152,71,61,.35);
  border-radius: 3px;
  color: var(--red);
  font: 700 11px/1 "Songti SC", STSong, serif;
  text-align: center;
  letter-spacing: .08em;
}
.output-heading .pane-number { color: var(--cyan); border-color: rgba(54,89,76,.35); }
.pane-heading .eyebrow { margin-bottom: 3px; }
.pane-heading h2 { font-size: 17px; }
.runtime-meta { display: flex; flex: none; align-items: center; gap: 7px; }
.analysis-timer {
  min-width: 68px;
  padding: 5px 8px;
  border: 1px solid #c5c5c1;
  border-radius: 999px;
  color: #444440;
  background: #f7f7f4;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  text-align: center;
}
.analysis-timer[data-state="running"] { border-color: #9f9f9a; color: #171717; background: #fff; }
.analysis-timer[data-state="complete"] { border-color: #b9c9bf; color: #315b48; background: #edf5f0; }
.analysis-timer[data-state="incomplete"],
.analysis-timer[data-state="checkpoint"] { border-color: #d6c59b; color: #755a20; background: #fbf6e8; }
.analysis-timer[data-state="error"] { border-color: #d7b9b5; color: #86453e; background: #f8eeee; }
.conversation-state, .runtime-state {
  flex: none;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-size: 9px;
  font-weight: 800;
}
.conversation-state[data-state="active"], .runtime-state[data-state="running"] { color: var(--amber); border-color: #e9c99c; background: var(--amber-soft); }
.runtime-state[data-state="waiting"] { color: var(--cyan); border-color: #b9d9ca; background: var(--cyan-soft); }
.conversation-state[data-state="complete"], .runtime-state[data-state="complete"] { color: var(--green); border-color: #bdd9c9; background: #edf8f1; }
.runtime-state[data-state="error"] { color: var(--red); border-color: #e9c1c1; background: var(--red-soft); }

.workbench { padding: 20px; background: #f7f0e5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-heading h2 { font-size: 16px; }
.step-indicator { color: var(--cyan); font-size: 10px; font-weight: 750; }
label { display: block; margin: 0 0 8px; color: #3f4d46; font-size: 12px; font-weight: 700; }
textarea {
  display: block;
  width: 100%;
  min-height: 144px;
  resize: vertical;
  padding: 15px;
  border: 1px solid #cfdad3;
  border-radius: 5px;
  outline: none;
  color: var(--ink);
  background: #fffdf7;
  transition: border-color .15s, box-shadow .15s;
}
textarea::placeholder { color: #8b9891; }
textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(152,71,61,.09); }
#continue-input { min-height: 104px; }
.input-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: #839089; font-size: 10px; }
.input-meta b { color: var(--cyan); }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 18px; }
.primary-action-row { margin-top: 14px; }
.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .tool-button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.button.primary { color: #fff9ec; background: var(--red); box-shadow: 0 8px 20px rgba(152,71,61,.18); }
.button.secondary { border-color: var(--line); background: var(--panel-2); }
.button.ghost { border-color: var(--line); color: var(--muted); background: white; }
.button.small { min-height: 34px; padding: 7px 11px; }
.button.push { margin-left: auto; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.primary-action-row .button { width: 100%; justify-content: center; font-size: 14px; }
.response-promise {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.response-promise b { color: var(--ink); font-size: 11px; }
.input-tools { display: flex; gap: 8px; margin-top: 10px; }
.tool-button {
  border: 0;
  padding: 5px 2px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}
.tool-button + .tool-button { padding-left: 12px; border-left: 1px solid var(--line); }
.tool-button span { color: var(--cyan); font-size: 8px; }
.inline-message { min-height: 1.3em; margin: 9px 0 0; color: var(--amber); font-size: 11px; }
.conversation-history > summary {
  padding: 10px 0 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.privacy-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.question-card { margin-bottom: 14px; padding: 15px; border: 1px solid #d7e2dc; border-radius: 13px; background: white; }
.question-card h3 { margin: 7px 0; font-size: 17px; }
.question-card p { margin: 0; color: var(--muted); font-size: 11px; }
.turn-notice { color: var(--cyan) !important; font-weight: 750; }
.engine-label { color: var(--amber); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.conversation-history { border-top: 1px solid var(--line); background: #eee5d7; }
.conversation-history > summary { padding: 11px 20px; list-style-position: inside; }
.conversation-log {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 0 20px 16px;
  scrollbar-width: thin;
}
.chat-message { max-width: 92%; padding: 9px 11px; border-radius: 12px; }
.chat-message span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 800; }
.chat-message p { margin: 0; font-size: 11px; line-height: 1.5; }
.chat-message.assistant { justify-self: start; border: 1px solid var(--line); border-bottom-left-radius: 2px; background: #fffdf7; }
.chat-message.assistant span { color: var(--red); }
.chat-message.user { justify-self: end; border: 1px solid #d6c1a2; border-bottom-right-radius: 2px; background: var(--amber-soft); }
.chat-message.user span { color: var(--amber); text-align: right; }

.output-heading { margin: 0 -22px; }
.runtime-card {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 18px;
  margin: 0 -22px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #f7f3ea;
}
.runtime-card[data-state="running"] { background: var(--amber-soft); }
.runtime-card[data-state="complete"] { background: #f0f8f3; }
.runtime-card[data-state="error"] { background: var(--red-soft); }
.runtime-copy span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.runtime-copy strong { display: block; margin: 3px 0; font-size: 19px; line-height: 1.35; }
.runtime-category {
  display: inline-flex;
  width: fit-content;
  margin: 3px 0 7px;
  padding: 4px 9px;
  border: 1px solid #bdbdb8;
  border-radius: 999px;
  color: #262624;
  background: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.runtime-card[data-state="running"] .runtime-category {
  animation: category-breathe 1.8s ease-in-out infinite;
}
.runtime-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.runtime-copy { grid-column: 1; grid-row: 1; }
.run-steps { grid-column: 2; grid-row: 1; }
.thinking-progress {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  gap: 6px;
  opacity: .52;
  transition: opacity .25s ease;
}
.thinking-track {
  --stage-progress: 0%;
  position: relative;
  height: 9px;
  overflow: hidden;
  border: 1px solid #c7c7c3;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 18px, rgba(0,0,0,.025) 18px 19px),
    #dededb;
}
.thinking-track::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--stage-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #8b8b87, #30302e);
  opacity: .72;
  transition: width .7s cubic-bezier(.22,.75,.25,1);
}
.thinking-track span {
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #777773 42%, #202020 62%, transparent);
  filter: blur(.15px);
}
.thinking-track i {
  position: absolute;
  top: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fafaf8;
  opacity: 0;
}
.thinking-track i:nth-of-type(1) { left: 23%; animation-delay: -.3s; }
.thinking-track i:nth-of-type(2) { left: 50%; animation-delay: -.85s; }
.thinking-track i:nth-of-type(3) { left: 77%; animation-delay: -1.4s; }
.thinking-progress p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #6a6a66;
  font-size: 12px;
  line-height: 1.5;
}
.thinking-progress p b { color: #42423f; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.runtime-card[data-state="running"] .thinking-progress { opacity: 1; }
.runtime-card[data-state="running"] .thinking-track span {
  animation: thinking-sweep 2.15s cubic-bezier(.45,.02,.28,1) infinite;
}
.runtime-card[data-state="running"] .thinking-track i {
  animation: thinking-spark 1.8s ease-in-out infinite;
}
.runtime-card[data-state="complete"] .thinking-track span {
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, #777773, #242424);
}
.runtime-card[data-state="error"] .thinking-track span {
  inset: 0;
  width: 34%;
  background: #777773;
}

.live-decomposition {
  margin: 13px 0 0;
  padding: 15px 16px;
  border: 1px solid #b7c0b9;
  border-left: 3px solid #315f4d;
  border-radius: 5px;
  background: linear-gradient(145deg, #fbfdfb, #edf3ef);
}
.live-decomposition[hidden] { display: none !important; }
.live-decomposition-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.live-decomposition-heading span { display: block; color: #66736a; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.live-decomposition-heading strong { display: block; margin-top: 3px; font: 700 17px/1.4 var(--serif); }
.live-decomposition-heading b { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #fff; background: #315f4d; font-size: 10px; }
.live-decomposition > p { margin: 9px 0 11px; color: #475149; font-size: 12px; line-height: 1.65; }
.live-interpretation { margin: 0 0 11px; padding: 11px 12px; border: 1px solid #acbbb1; border-radius: 4px; background: rgba(240,246,242,.9); }
.live-interpretation[hidden] { display: none !important; }
.live-interpretation > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.live-interpretation > div:first-child b { color: #294c3e; font: 700 14px/1.45 var(--serif); }
.live-interpretation > div:first-child span { color: #657269; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.live-interpretation p { margin: 6px 0 0; color: #48544c; font-size: 11px; line-height: 1.6; }
.live-interpretation ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 0; padding: 0; list-style: none; }
.live-interpretation li { padding: 5px 8px; border: 1px solid #bec9c1; border-radius: 999px; color: #4c5a51; background: rgba(255,255,255,.72); font-size: 10px; }
.live-interpretation li[data-state="selected"] { border-color: #315f4d; color: #fff; background: #315f4d; }
.live-interpretation li[data-state="alternative"] { border-color: #b49364; color: #765d36; background: #fbf4e8; }
.live-decomposition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.live-decomposition-grid article { padding: 10px 11px; border: 1px solid #c8d1ca; border-radius: 4px; background: rgba(255,255,255,.72); }
.live-decomposition-grid article b { display: block; color: #315f4d; font-size: 10px; }
.live-decomposition-grid article strong { display: block; margin: 4px 0 3px; font-size: 13px; line-height: 1.4; }
.live-decomposition-grid article p { margin: 0; color: #5a645d; font-size: 11px; line-height: 1.55; }
.live-decomposition-grid article .live-theme-conclusion { margin-top: 8px; padding-top: 8px; border-top: 1px solid #d7ded9; color: #253e33; font-size: 12px; line-height: 1.65; }
.live-decomposition-grid article .live-theme-conclusion b { display: inline; margin-right: 5px; color: #315f4d; font-size: 9px; letter-spacing: .05em; }
.live-checkpoint-grounded { margin-top: 13px; padding-top: 13px; border-top: 1px solid #b9c5bd; }
.live-checkpoint-grounded[hidden] { display: none !important; }
.live-checkpoint-grounded > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.live-checkpoint-grounded > div:first-child strong { font: 700 15px/1.4 var(--serif); }
.live-checkpoint-grounded > div:first-child span { color: #657269; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.live-checkpoint-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 9px; }
.live-checkpoint-facts article { padding: 11px 12px; border: 1px solid #c4cec7; border-radius: 4px; background: rgba(255,255,255,.8); }
.live-checkpoint-facts article > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.live-checkpoint-facts article b { color: #2f5947; font-size: 10px; }
.live-checkpoint-facts article time { color: #737e76; font-size: 9px; }
.live-checkpoint-facts article p { margin: 6px 0 0; color: #2f3732; font-size: 12px; line-height: 1.65; }
.live-checkpoint-facts article small { display: block; margin-top: 5px; color: #657068; font-size: 10px; line-height: 1.5; }
.live-checkpoint-counter { margin-top: 8px; padding: 11px 12px; border-left: 3px solid #80574f; background: #f5efeb; }
.live-checkpoint-counter b { color: #714b45; font-size: 10px; }
.live-checkpoint-counter strong { display: block; margin-top: 4px; font: 700 13px/1.5 var(--serif); }
.live-checkpoint-counter p { margin: 5px 0 0; color: #554743; font-size: 11px; line-height: 1.65; }
.live-checkpoint-unknowns { margin: 9px 0 0; padding-left: 18px; color: #58635b; font-size: 10px; line-height: 1.65; }
.live-checkpoint-reader-answer { margin-top: 10px; padding: 14px 15px; border: 1px solid #b9c5bd; border-left: 4px solid #2f5947; border-radius: 4px; background: rgba(255,255,255,.86); }
.live-checkpoint-reader-answer strong { display: block; font: 700 17px/1.5 var(--serif); color: #263b31; }
.live-checkpoint-reader-answer p { margin: 7px 0 0; color: #46534b; font-size: 11px; line-height: 1.7; }
.live-checkpoint-reader-answer ul { margin: 8px 0 0; padding-left: 19px; color: #34463d; font-size: 11px; line-height: 1.7; }
.live-decomposition > small { display: block; margin-top: 10px; color: #6b756e; font-size: 10px; line-height: 1.5; }

.analysis-continuation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 0;
  padding: 15px 16px;
  border: 1px solid #bcbcb7;
  border-left: 3px solid #242422;
  border-radius: 5px;
  background: linear-gradient(135deg, #fafaf8, #e9e9e5);
  box-shadow: 0 9px 22px rgba(20,20,18,.055);
}
.analysis-continuation[hidden] { display: none !important; }
.analysis-continuation div { min-width: 0; }
.analysis-continuation div > span {
  display: block;
  color: #696965;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.analysis-continuation strong { display: block; margin: 3px 0; font-family: var(--serif); font-size: 18px; }
.analysis-continuation p { margin: 0; color: #5f5f5b; font-size: 12px; line-height: 1.55; }
.analysis-continuation .button { flex: 0 0 auto; min-width: 118px; }

.analysis-error {
  margin: 16px 0;
  padding: 20px 22px;
  border: 1px solid #c9a7a7;
  border-radius: 16px;
  background: #fff4f2;
  box-shadow: 0 14px 34px rgba(78, 33, 33, .08);
  outline: none;
}
.analysis-error[hidden] { display: none !important; }
.analysis-error .eyebrow { margin: 0 0 7px; color: #884d4d; }
.analysis-error h2 { margin: 0; color: #482a2a; font: 700 24px/1.3 var(--serif); }
.analysis-error p:not(.eyebrow) { margin: 10px 0 8px; color: #5f3f3f; line-height: 1.7; }
.analysis-error small { color: #765c5c; line-height: 1.6; }
.continuation-message { min-height: 0; margin: 6px 2px 0; }

.research-console {
  position: relative;
  margin: 14px 0 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #c9c9c4;
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(255,255,255,.93), rgba(232,232,227,.88));
  box-shadow: 0 12px 28px rgba(20,20,18,.08);
}
.research-console::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #242422; }
.research-console-head, .research-pulse { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.research-console-head span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.research-console-head h3 { max-width: 760px; margin: 5px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.research-console-head > b { flex: 0 0 auto; padding: 5px 9px; border: 1px solid #b7b7b2; border-radius: 999px; font-size: 11px; }
.research-pulse { align-items: center; margin: 16px 0 10px; padding-top: 12px; border-top: 1px solid #d2d2ce; }
.research-pulse span { font-size: 13px; font-weight: 800; }
.research-pulse strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.research-thread-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.research-thread-grid article { min-width: 0; padding: 12px; border: 1px solid #d2d2ce; border-radius: 3px; background: rgba(255,255,255,.7); }
.research-thread-grid article[data-state="succeeded"] { border-color: #8f8f89; background: #f8f8f5; }
.research-thread-grid span { color: #777771; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.research-thread-grid h4 { margin: 5px 0; font-size: 13px; }
.research-thread-grid p { display: -webkit-box; margin: 0; overflow: hidden; color: #555550; font-size: 11px; line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.research-verification { margin-top: 10px; padding: 9px 11px; border-left: 2px solid #777772; background: rgba(220,220,215,.48); color: #555550; font-size: 11px; line-height: 1.65; }
.research-console { padding: 20px; border-color: #cecdc5; border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(228,227,221,.9)); box-shadow: 0 18px 45px rgba(20,20,18,.11); }
.research-console-head h3 { font-size: 18px; line-height: 1.45; }
.goal-atlas { position: relative; min-height: 330px; margin: 18px 0 10px; isolation: isolate; }
.goal-atlas::before { content: ""; position: absolute; inset: 26px 8%; z-index: -2; opacity: .6; background: linear-gradient(28deg, transparent 49.6%, #b9b8b1 50%, transparent 50.4%), linear-gradient(-28deg, transparent 49.6%, #b9b8b1 50%, transparent 50.4%); }
.goal-atlas::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 210px; height: 210px; z-index: -1; border: 1px solid rgba(80,80,76,.18); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 28px rgba(80,80,76,.035), 0 0 0 64px rgba(80,80,76,.02); }
.atlas-core { position: absolute; inset: 50% auto auto 50%; z-index: 3; width: min(250px, 34%); min-height: 122px; display: grid; place-content: center; gap: 7px; padding: 21px; border: 1px solid #777772; border-radius: 50%; background: rgba(245,244,239,.96); text-align: center; transform: translate(-50%, -50%); box-shadow: 0 16px 38px rgba(20,20,18,.16), inset 0 0 0 6px rgba(255,255,255,.65); }
.atlas-core span { color: #777771; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.atlas-core strong { display: -webkit-box; overflow: hidden; font-family: "Songti SC", STSong, serif; font-size: 14px; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.atlas-core i { position: absolute; inset: -7px; border: 1px solid rgba(70,70,67,.28); border-radius: inherit; }
.research-console[data-state="running"] .atlas-core i { animation: atlas-breathe 2.8s ease-in-out infinite; }
.research-thread-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 82px 170px; padding: 2px 0; }
.research-thread-grid article { position: relative; min-height: 116px; padding: 14px 14px 14px 42px; border-color: #cecdc5; border-radius: 5px; background: rgba(255,255,255,.82); box-shadow: 0 8px 24px rgba(20,20,18,.06); }
.research-thread-grid article > i { position: absolute; top: 16px; left: 15px; width: 13px; height: 13px; border: 1px dashed #777772; border-radius: 50%; }
.research-thread-grid article[data-state="running"] { border-color: #777772; box-shadow: 0 10px 28px rgba(20,20,18,.12); }
.research-thread-grid article[data-state="running"] > i { border-style: solid; background: #2b2b29; animation: node-pulse 1.4s ease-in-out infinite; }
.research-thread-grid article[data-state="succeeded"] > i { border-style: solid; background: #2b2b29; box-shadow: inset 0 0 0 3px #f8f8f5; }
.research-thread-grid article[data-state="waiting_retry"], .research-thread-grid article[data-state="failed"] { background: repeating-linear-gradient(135deg, #f5f4ef, #f5f4ef 6px, #e4e3dd 6px, #e4e3dd 7px); }
.research-thread-grid p { font-size: 12px; }
@keyframes atlas-breathe { 0%, 100% { transform: scale(.97); opacity: .35; } 50% { transform: scale(1.04); opacity: .9; } }
@keyframes node-pulse { 0%, 100% { transform: scale(.72); opacity: .55; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes thinking-sweep {
  0% { transform: translateX(0); opacity: .45; }
  42% { opacity: 1; }
  100% { transform: translateX(340%); opacity: .52; }
}
@keyframes thinking-spark {
  0%, 100% { transform: scale(.6); opacity: 0; }
  45% { transform: scale(1.7); opacity: .9; }
}
@keyframes category-breathe {
  0%, 100% { opacity: .72; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}
.run-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.run-steps li { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px; border-radius: 8px; color: #89958f; font-size: 11px; }
.run-steps b { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #e9eeea; font-size: 8px; }
.run-steps li[data-state="current"] { color: var(--amber); background: #fff6e9; }
.run-steps li[data-state="done"] { color: var(--green); background: #edf7f0; }
.empty-output {
  min-height: 470px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 44px 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(54,89,76,.07), transparent 18rem),
    linear-gradient(180deg, rgba(253,250,243,.55), rgba(247,242,232,.85));
}
.major-step-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 22px;
  text-align: left;
}
.major-step-heading > b {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border: 1px solid #222;
  border-radius: 50%;
  color: #fff;
  background: #202020;
  font: 500 22px/1 "Songti SC", STSong, serif;
}
.major-step-heading span,
.major-step-heading strong,
.major-step-heading small { display: block; }
.major-step-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.major-step-heading strong {
  margin-top: 2px;
  font: 600 22px/1.2 "Songti SC", STSong, serif;
}
.major-step-heading small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.major-step-heading.compact {
  justify-content: flex-start;
  margin: 0 0 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.major-step-heading.compact > b { width: 42px; height: 42px; font-size: 17px; }
.major-step-heading.compact strong { font-size: 17px; }

.stage-caption {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border-left: 2px solid #3b3b38;
  background: linear-gradient(90deg, rgba(45, 45, 42, 0.07), transparent 82%);
}

.stage-caption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stage-caption strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.report-major-step {
  order: -1;
  justify-content: flex-start;
  margin: 0 0 14px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--line);
}
.empty-output h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.empty-output > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.empty-orbit { display: none; }
.empty-promises { width: min(100%, 690px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.empty-promises article { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; text-align: left; background: rgba(253,250,243,.9); box-shadow: 0 8px 20px rgba(72,57,36,.05); }
.empty-promises b { color: var(--red); font: 700 10px/1 "Songti SC", STSong, serif; letter-spacing: .12em; }
.empty-promises strong { font-size: 15px; }
.empty-promises span { color: var(--muted); font-size: 10px; }

.report { display: flex; flex-direction: column; margin: 20px 0 24px; }
.report[data-audience="public"] .report-major-step,
.report[data-audience="public"] .report-kicker { display: none; }
.report-kicker { order: 0; display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 13px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 10px/1.4 "Songti SC", STSong, serif; letter-spacing: .12em; }
.analysis-provenance { order: 1; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-size: 10px; }
.analysis-provenance[data-mode="connected"] { color: var(--cyan); background: var(--cyan-soft); }
.analysis-provenance[data-mode="offline-simulation"] { color: #7c561f; background: var(--amber-soft); }
.report-index {
  order: 4;
  scroll-margin-top: 16px;
  display: grid;
  gap: 13px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 4px;
  background: #f7f1e7;
}
.report-index-title { display: flex; align-items: baseline; gap: 12px; }
.report-index-title .eyebrow { margin: 0; }
.report-index-title h2 { font-size: 17px; }
.report-index-title > p:last-child { display: none; }
.report-index ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.report-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  min-height: 56px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
  background: #fffdf7;
}
.report-index a:hover { border-color: #b4a17e; background: #f3eadb; }
.report-index a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.report-index a > b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(152,71,61,.28);
  border-radius: 50%;
  color: var(--red);
  font: 700 11px/1 "Songti SC", STSong, serif;
}
.report-index a span { font-size: 11px; font-weight: 780; line-height: 1.3; }
.report-index a small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 500; }

.protocol-section {
  order: 7;
  margin: 18px 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #c9c9c4;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f8f5 0%, #e9e9e5 100%);
  box-shadow: 0 18px 45px rgba(20, 20, 18, 0.07);
}

.classification-intro {
  order: 2;
  scroll-margin-top: 16px;
  display: block;
  margin: 12px 0 8px;
  padding: 14px 16px;
  border: 1px solid #bdbdb8;
  border-left: 4px solid #222;
  border-radius: 5px;
  background: linear-gradient(145deg, #fbfbf8, #e9e9e5);
  box-shadow: none;
}
.classification-intro-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #3d3d3a;
  border-radius: 50%;
  color: #f8f8f4;
  background: #252523;
  font: 700 17px/1 "Songti SC", STSong, serif;
}
.classification-intro-main h2 {
  margin: 7px 0 6px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.35;
}
.classification-intro-main > p:not(.eyebrow) { margin: 5px 0; color: #4f4f4b; font-size: 13px; line-height: 1.55; }
.classification-intro-main > small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.classification-intro-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 5px 0; }
.classification-intro-badges span,
.classification-intro-badges strong {
  padding: 5px 10px;
  border: 1px solid #777772;
  border-radius: 999px;
  font-size: 11px;
}
.classification-intro-badges strong { color: #f7f7f3; background: #2b2b29; }
.classification-focus { padding: 0; border: 0; background: transparent; }
.classification-focus span { display: inline; margin-right: 5px; color: var(--muted); font-size: 11px; font-weight: 750; }
.classification-focus b { font-weight: 650; }
.task-decomposition {
  order: 3;
  margin: 16px 0 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #aaa9a3;
  border-top: 4px solid #272725;
  border-radius: 8px;
  background: #f4f4f0;
}
.task-decomposition-heading h2 { margin: 5px 0 7px; font: 700 clamp(1.25rem,2vw,1.7rem)/1.4 "Songti SC",STSong,serif; }
.task-decomposition-heading > p:last-child { margin: 0; color: #4e4e49; font-size: 13px; line-height: 1.7; }
.task-decomposition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.theme-strip-heading { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 2px 6px; border-bottom: 1px solid #c7cec9; }
.theme-strip-heading b { color: #263b30; font-size: 12px; letter-spacing: .04em; }
.theme-strip-heading span { color: #737b75; font-size: 10px; }
.task-strip-heading { margin-top: 8px; border-bottom-color: #d2d2cc; }
.theme-card { position: relative; overflow: hidden; padding: 17px; border: 1px solid #afbeb4; border-radius: 14px; background: linear-gradient(145deg,#fbfdfb 0%,#edf3ef 100%); box-shadow: 0 10px 26px rgba(28,55,39,.06); }
.theme-card::after { content: ""; position: absolute; width: 96px; height: 96px; right: -44px; bottom: -54px; border: 18px solid rgba(49,95,147,.08); border-radius: 50%; }
.theme-card header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.theme-card header span { color: #758078; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.theme-card header b { padding: 4px 9px; border-radius: 999px; color: #f6faf7; background: #315f93; font-size: 10px; }
.theme-card[data-kind="project"] header b { background: #7a5c2f; }
.theme-card[data-kind="conversation"] header b { background: #7a526c; }
.theme-card[data-kind="research"] header b { background: #356b61; }
.theme-card h3 { position: relative; z-index: 1; margin: 12px 0 7px; color: #202b24; font: 700 17px/1.45 "Songti SC",STSong,serif; }
.theme-card > p { position: relative; z-index: 1; margin: 0; color: #3f4943; font-size: 12px; line-height: 1.7; }
.theme-conclusion { position: relative; z-index: 1; display: grid; gap: 5px; margin-top: 12px; padding: 11px 12px; border: 1px solid rgba(49,95,147,.18); border-radius: 10px; background: rgba(255,255,255,.72); }
.theme-conclusion strong { color: #315f93; font-size: 9px; letter-spacing: .05em; }
.theme-conclusion span { color: #24352b; font-size: 12px; line-height: 1.7; }
.theme-evidence { position: relative; z-index: 1; display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(69,92,78,.16); }
.theme-evidence strong { color: #728078; font-size: 9px; letter-spacing: .05em; }
.theme-evidence span { color: #354239; font-size: 11px; line-height: 1.6; }
.theme-card footer { position: relative; z-index: 1; margin-top: 10px; color: #315f93; font-size: 10px; font-weight: 750; }
.task-card { padding: 17px; border: 1px solid #c7c7c1; background: #fff; }
.task-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.task-card header b { padding: 4px 9px; border-radius: 999px; color: #fff; background: #292927; font-size: 11px; }
.task-card header span { color: #777772; font-size: 10px; }
.task-card h3 { margin: 12px 0 9px; font: 700 16px/1.55 "Songti SC",STSong,serif; }
.task-card dl { display: grid; gap: 9px; margin: 0; }
.task-card dl div { padding-top: 8px; border-top: 1px solid #e0e0db; }
.task-card dt { color: #777772; font-size: 10px; font-weight: 800; }
.task-card dd { margin: 4px 0 0; color: #3d3d39; font-size: 12px; line-height: 1.65; }
.task-card .task-result { color: #20201e; font-weight: 650; }
.task-decomposition-na { margin: 12px 0 0; color: #666660; font-size: 11px; line-height: 1.6; }
.classification-intro-guide { display: grid; gap: 8px; }
.classification-intro-guide article { padding: 13px 14px; border: 1px solid #c8c8c3; border-radius: 4px; background: rgba(255,255,255,.58); }
.classification-intro-guide span { color: #3f3f3c; font-size: 10px; font-weight: 800; }
.classification-intro-guide p { margin: 5px 0 0; color: #555550; font-size: 12px; line-height: 1.7; }

.protocol-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(210px, 0.55fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid #c8c8c3;
}

.protocol-heading h2 {
  margin: 10px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 570;
  letter-spacing: -0.025em;
}

.protocol-heading > div:first-child > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #50504c;
  font-size: var(--type-body);
  line-height: 1.85;
}

.verdict-scale {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #bdbdb8;
  border-radius: 15px;
  background: rgba(255, 255, 252, 0.68);
}

.verdict-scale > span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.verdict-scale b {
  padding: 7px 10px;
  border-left: 2px solid #777772;
  background: #f4f4f1;
  color: #292927;
  font-size: 13px;
}

.protocol-block-title { margin: 26px 0 15px; }

.protocol-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.protocol-step {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 12px;
  min-height: 126px;
  padding: 16px;
  scroll-margin-top: 18px;
  border: 1px solid #cdcdc8;
  border-radius: 15px;
  background: rgba(252, 252, 249, 0.82);
}

.protocol-step > b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #858580;
  border-radius: 50%;
  color: #31312e;
  font-family: var(--font-serif);
  font-size: 16px;
}

.protocol-step span {
  color: #767671;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.protocol-step h3 {
  margin: 4px 0 5px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 620;
}

.protocol-step p {
  margin: 0;
  color: #555550;
  font-size: 13px;
  line-height: 1.65;
}

.protocol-diagnostics {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #c8c8c3;
}

.protocol-diagnostics h2 {
  margin: 5px 0 14px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.diagnostic-list, .feasibility-list { display: grid; gap: 8px; }

.diagnostic-list article, .feasibility-list article {
  padding: 13px 14px;
  border: 1px solid #cecec9;
  border-radius: 12px;
  background: rgba(250, 250, 247, 0.8);
}

.diagnostic-list article > div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.diagnostic-list span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid #aaa9a3;
  border-radius: 999px;
  color: #666660;
  font-size: 9px;
}

.diagnostic-list h3, .feasibility-list h3 {
  margin: 0;
  font-size: 14px;
}

.diagnostic-list p, .feasibility-list p {
  margin: 6px 0;
  color: #555550;
  font-size: 12px;
  line-height: 1.65;
}

.diagnostic-list small { color: #444440; font-size: 11px; line-height: 1.6; }

.feasibility-list article {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
}

.feasibility-list article > span {
  color: #666660;
  font-size: 20px;
  line-height: 1;
}

.report[data-subject-kind="viewpoint"] .protocol-section { background: linear-gradient(145deg, #f8f8f5, #e6e6e2); }
.report[data-subject-kind="conversation"] .protocol-section { background: linear-gradient(145deg, #fafaf7, #e8e8e3); }
.report[data-subject-kind="research"] .protocol-section { background: linear-gradient(145deg, #f7f7f4, #e5e5e1); }

.reader-summary {
  order: 3;
  scroll-margin-top: 16px;
  margin: 0 0 16px;
  padding: clamp(20px, 3vw, 30px);
  position: relative;
  overflow: hidden;
  border: 1px solid #3e3a31;
  border-radius: 5px;
  background:
    radial-gradient(circle at 92% 8%, rgba(178,142,85,.13), transparent 18rem),
    linear-gradient(135deg, #282a27, #1e2925);
  color: white;
}
.reader-summary::before {
  content: "判";
  position: absolute;
  top: 26px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(219,177,110,.48);
  color: #d7b36f;
  font: 700 22px/1 "Songti SC", STSong, serif;
  opacity: .72;
}
html[lang="en-US"] .reader-summary::before {
  content: "J";
}
.reader-summary h2, .reader-summary p { color: white; }
.reader-summary .eyebrow { color: #d8b775; }
.verdict-label { display: inline-block; margin: 2px 0 10px; padding: 4px 8px; border: 1px solid rgba(216,183,117,.5); border-radius: 2px; color: #eed9aa; background: transparent; font-size: 9px; font-weight: 800; }
.reader-summary > h2 { max-width: 850px; margin: 8px 60px 8px 0; font-size: clamp(1.45rem, 2.7vw, 2.2rem); line-height: 1.35; }
.judgment { max-width: 850px; margin: 16px 0 6px; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.55; opacity: .92; }
.summary-reason { margin: 8px 0 12px; font-size: 14px; }
.confidence-line { color: var(--muted); }
.reader-summary > .confidence-line { color: #bdc8c0; font-size: 11px; }

.answer-first-section { padding: clamp(22px, 4vw, 44px); border: 1px solid #c9c9c4; background: #f8f8f5; }
.answer-first-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.answer-first-heading h2 { font: 700 clamp(1.35rem, 2.2vw, 2rem)/1.35 "Songti SC", STSong, serif; }
.answer-first-lead { max-width: 940px; margin: 0; color: #262624; font: 600 clamp(17px, 1.55vw, 20px)/1.9 "Songti SC", STSong, serif; }
.claim-results { margin-top: 24px; padding: 22px; border: 1px solid #a9a9a3; background: #f8f8f5; }
.claim-results-heading span,.precise-restatement span { color: #6d6d67; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.claim-results-heading h3 { margin: 4px 0 0; font: 700 21px/1.4 "Songti SC", STSong, serif; }
.claim-results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.claim-results-grid article { padding: 15px; border: 1px solid #cecec8; background: #fff; }
.claim-results-grid article > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.claim-results-grid b { color: #20201e; font: 700 16px/1.45 "Songti SC", STSong, serif; }
.claim-results-grid em { flex: none; padding: 2px 7px; border: 1px solid #8c8c86; border-radius: 999px; color: #4d4d49; font-size: 10px; font-style: normal; }
.claim-results-grid p { margin: 9px 0 0; color: #3f3f3b; font-size: 13px; line-height: 1.75; }
.precise-restatement { margin: 12px 0 0; padding: 16px 18px; border-left: 4px solid #252523; background: #e9e9e5; }
.precise-restatement p { margin: 6px 0 0; color: #20201e; font: 700 16px/1.75 "Songti SC", STSong, serif; }
.current-facts { margin-top: 24px; padding: 22px; border: 1px solid #aaa9a2; border-top: 3px solid #282826; background: #f1f1ed; }
.current-facts-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.current-facts-heading span { color: #6d6d67; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.current-facts-heading h3 { margin: 4px 0 0; font: 700 21px/1.35 "Songti SC", STSong, serif; }
.current-facts-heading > small { color: #666660; font-size: 11px; }
.current-facts-note { max-width: 900px; margin: 12px 0 0; color: #4b4b47; font-size: 13px; line-height: 1.7; }
.current-facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.current-facts-grid article { padding: 15px; border: 1px solid #cacac4; background: #fafaf7; }
.current-facts-grid .current-facts-empty { border-style: dashed; background: #ecece7; }
.current-facts-grid .current-facts-empty b { font-size: 15px; }
.current-facts-grid article > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.current-facts-grid b { color: #20201e; font: 700 18px/1.25 "Songti SC", STSong, serif; }
.current-facts-grid span { flex: none; color: #74746e; font-size: 10px; }
.current-facts-grid p { margin: 9px 0 7px; color: #343431; font-size: 13px; line-height: 1.7; }
.current-facts-grid small { color: #6d6d67; font-size: 10px; }
.counter-evidence { margin-top: 16px; padding: 22px; border: 1px solid #8e8e88; background: #222220; color: #f4f4f0; }
.counter-evidence-heading { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 18px; align-items: baseline; }
.counter-evidence-heading > span { color: #c9c9c1; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.counter-evidence-heading h3 { margin: 0; color: #f5f5f1; font: 700 21px/1.4 "Songti SC", STSong, serif; }
.counter-evidence-heading p { grid-column: 2; margin: 4px 0 0; color: #bdbdb6; font-size: 12px; line-height: 1.65; }
.counter-evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.counter-evidence-grid article { padding: 16px; border: 1px solid #4c4c48; background: #2b2b28; }
.counter-evidence-grid article > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #c9b98f; font-size: 10px; }
.counter-evidence-grid h4 { margin: 8px 0; color: #fff; font: 700 17px/1.4 "Songti SC", STSong, serif; }
.counter-evidence-grid p { margin: 0; color: #e1e1dc; font-size: 13px; line-height: 1.75; }
.counter-evidence-grid dl { display: grid; gap: 8px; margin: 13px 0 0; }
.counter-evidence-grid dl div { padding-top: 8px; border-top: 1px solid #454540; }
.counter-evidence-grid dt { color: #9d9d96; font-size: 10px; }
.counter-evidence-grid dd { margin: 3px 0 0; color: #d2d2cc; font-size: 12px; line-height: 1.65; }
.answer-ratings { margin-top: 24px; padding: 20px; border: 1px solid #c8c8c3; background: #eeeeea; }
.answer-ratings > div:first-child { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; }
.answer-ratings > div:first-child span { font: 700 14px/1.4 "Songti SC", STSong, serif; }
.answer-ratings > div:first-child p { margin: 0; color: #3f3f3b; font-size: 14px; line-height: 1.7; }
.answer-ratings > small { display: block; margin-top: 12px; color: #71716c; font-size: 11px; }
.rating-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.rating-grid article { padding: 13px; border: 1px solid #d2d2cd; background: #fafaf8; }
.rating-grid article > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rating-grid h3 { margin: 0; font-size: 14px; }
.rating-grid b { font: 700 21px/1 ui-monospace, monospace; }
.rating-grid b small { color: #777; font-size: 10px; }
.rating-track { height: 3px; margin: 9px 0; background: #d7d7d2; overflow: hidden; }
.rating-track i { display: block; height: 100%; background: #292927; }
.rating-grid p { margin: 0; color: #444440; font-size: 12px; line-height: 1.6; }
.rating-grid article > small { display: block; margin-top: 6px; color: #777772; font-size: 11px; line-height: 1.55; }
.answer-first-sections { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid #c7c7c2; }
.answer-first-sections article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid #d7d7d2; scroll-margin-top: 76px; }
.answer-first-sections article > span { color: #767671; font: 700 13px/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.answer-first-sections h3 { margin: 0 0 9px; font: 700 20px/1.45 "Songti SC", STSong, serif; }
.answer-first-sections p { max-width: 940px; margin: 0; color: #353532; font-size: 15px; line-height: 1.9; white-space: pre-line; }
.answer-first-sections ul { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.answer-first-sections li { position: relative; padding-left: 18px; color: #4a4a46; font-size: 14px; line-height: 1.75; }
.answer-first-sections li::before { content: "—"; position: absolute; left: 0; color: #8b8b85; }
.answer-map { margin-top: 28px; padding-top: 20px; border-top: 2px solid #272725; }
.answer-map > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.answer-map > div:first-child span { color: #777772; font-size: 11px; letter-spacing: .15em; }
.answer-map h3 { margin: 0; font: 700 19px/1.4 "Songti SC", STSong, serif; }
.answer-map-guide { margin: 8px 0 14px; color: #686863; font-size: 12px; }
.answer-map-stage { position: relative; overflow: hidden; border: 1px solid #aeb8b1; border-radius: 20px; background: #e8ede9; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 20px 48px rgba(28,45,35,.11); }
#answer-relationship-canvas { display: block; width: 100%; height: 500px; cursor: move; touch-action: none; }
.answer-map-toolbar { position: absolute; z-index: 3; top: 12px; right: 12px; display: flex; gap: 5px; padding: 4px; border: 1px solid rgba(79,97,86,.24); border-radius: 10px; background: rgba(250,252,249,.88); box-shadow: 0 6px 18px rgba(28,45,35,.09); backdrop-filter: blur(12px); }
.answer-map-toolbar button { min-height: 34px; padding: 5px 9px; border: 0; border-radius: 7px; color: #46524b; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.answer-map-toolbar button:hover, .answer-map-toolbar button[aria-pressed="true"] { color: #f6faf7; background: #26382e; }
.answer-map-toolbar button:focus-visible { outline: 2px solid #26382e; outline-offset: 2px; }
.answer-map-legend { position: absolute; z-index: 2; left: 13px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 5px 10px; max-width: calc(100% - 26px); padding: 7px 9px; border-radius: 9px; color: #536058; background: rgba(250,252,249,.86); font-size: 9px; backdrop-filter: blur(10px); pointer-events: none; }
.answer-map-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #8b8a83; }
.answer-map-legend span[data-category="object"]::before { background: #5e8588; }
.answer-map-legend span[data-category="fact"]::before { background: #3f8060; }
.answer-map-legend span[data-category="concept"]::before { background: #a6772f; }
.answer-map-legend span[data-category="claim"]::before { background: #705b9c; }
.answer-map-legend span[data-category="theme"]::before { background: #315f93; }
.answer-map-legend span[data-category="task"]::before { background: #4e6f9a; }
.answer-map-legend span[data-category="frontier"]::before { background: #a85465; }
.answer-map-legend span[data-category="conclusion"]::before { background: #202521; }
.answer-map-node-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.answer-map-node-list button {
  max-width: 240px;
  padding: 6px 9px;
  border: 1px solid #c6c6c0;
  border-radius: 999px;
  color: #4c4c48;
  background: #fafaf7;
  font-size: 11px;
  cursor: pointer;
}
.answer-map-node-list button[aria-pressed="true"] { border-color: #20201e; color: #f8f8f5; background: #20201e; }
.answer-map-node-list button::before { margin-right: 5px; color: #777; font-size: 9px; }
.answer-map-node-list button[data-category="fact"]::before { content: "事实"; }
.answer-map-node-list button[data-category="concept"]::before { content: "概念"; }
.answer-map-node-list button[data-category="claim"]::before { content: "命题"; }
.answer-map-node-list button[data-category="object"]::before { content: "对象"; }
.answer-map-node-list button[data-category="theme"]::before { content: "主题"; }
.answer-map-node-list button[data-category="task"]::before { content: "任务"; }
.answer-map-node-list button[data-category="frontier"]::before { content: "前沿"; }
.answer-map-node-list button[data-category="conclusion"]::before { content: "结论"; }
.answer-map-node-list button[aria-pressed="true"]::before { color: #cecec8; }
.answer-map-node-list button:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.answer-map-detail { min-height: 44px; margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid #262624; color: #383834; background: #ededE8; font-size: 12px; line-height: 1.65; }
.answer-map-evidence { margin-top: 10px; border-top: 1px solid #d1d1cc; }
.answer-map-evidence > summary { padding: 10px 0; color: #666660; font-size: 11px; cursor: pointer; }
.answer-map-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.answer-map-flow article { padding: 14px; border: 1px solid #cdcdc8; background: #fff; }
.answer-map-flow article div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.answer-map-flow b { color: #222; font-size: 13px; }
.answer-map-flow b:last-child { text-align: right; }
.answer-map-flow i { color: #777; font-size: 10px; font-style: normal; }
.answer-map-flow p { margin: 9px 0 0; color: #555550; font-size: 13px; line-height: 1.65; }

.frontier-section {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid #c8b8b3;
  border-radius: 20px;
  background: linear-gradient(145deg, #f5f1ea 0%, #f1ece6 55%, #eee7e2 100%);
  box-shadow: 0 18px 44px rgba(67, 48, 42, .08);
}
.frontier-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.frontier-heading h2 { margin: 3px 0 0; font: 700 clamp(1.35rem, 2.7vw, 2rem)/1.35 "Songti SC", STSong, serif; }
.frontier-state {
  flex: none;
  padding: 7px 11px;
  border: 1px solid #aa837b;
  border-radius: 999px;
  color: #764d48;
  background: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.frontier-intro { max-width: 880px; margin: 12px 0 18px; color: #5d554f; font-size: 14px; line-height: 1.75; }
.frontier-shadow { padding: 17px 19px; border-left: 4px solid #30322e; background: rgba(255,255,255,.72); }
.frontier-shadow span { color: #8a625b; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.frontier-shadow p { margin: 7px 0; color: #272824; font: 700 17px/1.65 "Songti SC", STSong, serif; }
.frontier-shadow small { color: #67635e; font-size: 12px; line-height: 1.6; }
.frontier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.frontier-card, .frontier-empty {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d4c6bf;
  border-radius: 14px;
  background: rgba(255,255,255,.83);
}
.frontier-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.frontier-card header span { color: #8a4d58; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.frontier-card header small { color: #74706b; font-size: 9px; }
.frontier-card h3 { margin: 11px 0 8px; color: #252622; font: 700 17px/1.55 "Songti SC", STSong, serif; }
.frontier-card > p { margin: 0; color: #595650; font-size: 12px; line-height: 1.7; }
.frontier-impact { display: grid; gap: 8px; margin-top: 14px; }
.frontier-impact > div { padding: 10px; border-radius: 9px; background: #f1eee9; }
.frontier-impact b { color: #423f3a; font-size: 10px; }
.frontier-impact p { margin: 4px 0 0; color: #5d5953; font-size: 11px; line-height: 1.62; }
.frontier-card details { margin-top: 12px; border-top: 1px solid #ded5cf; }
.frontier-card summary { padding: 11px 0 4px; color: #774d55; font-size: 11px; font-weight: 800; cursor: pointer; }
.frontier-card details p { margin: 7px 0 0; color: #55514c; font-size: 11px; line-height: 1.62; }
.frontier-card footer { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #d7ccc6; color: #7a746e; font-size: 9px; line-height: 1.55; }
.frontier-boundary { margin: 14px 0 0; color: #6e625d; font-size: 11px; line-height: 1.65; }
.frontier-empty { grid-column: 1 / -1; color: #625d57; font-size: 13px; line-height: 1.7; }

.philosophical-measurement { margin: 24px 0; padding: 24px; border: 1px solid #c8c8c3; border-radius: 18px; background: #f4f4f1; }
.philosophical-measurement-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.philosophical-measurement-heading h2 { margin-top: 3px; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.philosophical-measurement-heading > span { flex: none; padding: 7px 10px; border: 1px solid #bcbcb7; border-radius: 999px; background: #fbfbf9; color: #555552; font-size: 10px; font-weight: 800; }
.philosophical-measurement-intro { max-width: 900px; margin: 13px 0 18px; color: #555552; font-size: 13px; line-height: 1.75; }
.philosophical-measurement-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.philosophical-measurement-card { min-width: 0; padding: 15px; border: 1px solid #d1d1cc; border-radius: 9px; background: #fbfbf9; }
.philosophical-measurement-card header { display: flex; justify-content: space-between; gap: 8px; color: #686864; font-size: 9px; }
.philosophical-measurement-card h3 { margin: 18px 0 10px; font-size: 16px; }
.philosophical-range { display: flex; align-items: baseline; gap: 7px; padding-block: 8px; border-block: 1px solid #e2e2de; }
.philosophical-range strong { font: 700 20px/1 "Songti SC", STSong, serif; }
.philosophical-range span { color: #767672; font-size: 8px; }
.philosophical-measurement-card > p { min-height: 76px; margin: 10px 0 0; color: #555552; font-size: 11px; line-height: 1.65; }
.philosophical-measurement-card details { margin-top: 10px; border-top: 1px solid #e0e0dc; }
.philosophical-measurement-card summary { padding-top: 9px; color: #444442; font-size: 10px; font-weight: 800; cursor: pointer; }
.philosophical-measurement-card details p { margin: 7px 0 0; color: #60605d; font-size: 10px; line-height: 1.6; }
.philosophical-red-lines { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.philosophical-red-lines article { padding: 12px 14px; border: 1px solid #cdcdc8; border-left: 4px solid #555552; background: #eeeeeb; }
.philosophical-red-lines article[data-status="triggered"] { border-left-color: #111; background: #e3e3df; }
.philosophical-red-lines span { color: #555552; font-size: 9px; font-weight: 850; }
.philosophical-red-lines p { margin: 5px 0; font: 650 13px/1.5 "Songti SC", STSong, serif; }
.philosophical-red-lines small { color: #666662; font-size: 10px; line-height: 1.55; }
.philosophical-measurement-boundary { margin: 13px 0 0; color: #686864; font-size: 10px; line-height: 1.65; }

.revision-section {
  margin: 16px 0 24px;
  padding: 22px;
  border: 1px solid #b9b9b4;
  border-left: 5px solid #20201e;
  border-radius: 5px;
  background: #f3f3ef;
}
.revision-section h2 { margin: 4px 0 8px; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.revision-section > div > p:last-child { margin: 0; color: #555550; font-size: 14px; line-height: 1.7; }
.revision-list { display: grid; gap: 10px; margin-top: 16px; }
.revision-list article {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #cdcdc7;
  background: #fff;
}
.revision-list article > span { font-weight: 800; font-size: 13px; }
.revision-list article i { color: #777771; font-style: normal; text-align: center; }
.revision-list small { display: block; color: #777771; }
.revision-list p { margin: 3px 0; font-size: 13px; line-height: 1.55; }
.revision-list b { display: block; color: #464640; font-size: 12px; font-weight: 500; }
.revision-unchanged { margin-top: 10px; padding-top: 10px; border-top: 1px solid #d2d2cc; }
.revision-unchanged strong { font-size: 12px; }
.revision-unchanged p { display: inline; margin-left: 8px; color: #666660; font-size: 12px; }
.plain-status-grid, .plain-decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.plain-status-grid article, .plain-card { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.09); }
.plain-status-grid span, .plain-card span, .plain-next span { display: block; margin-bottom: 4px; color: #d4be8d; font-size: 9px; font-weight: 800; }
.plain-status-grid p, .plain-card p, .plain-next p { margin: 0; color: white; font-size: 12px; }
.plain-decision-grid { margin-top: 9px; }
.plain-card.go { border-left: 3px solid #8dd2a7; }
.plain-card.wait { border-left: 3px solid #efbd71; }
.plain-card.wait span { color: #f2ca8d; }
.plain-next { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 9px; margin-top: 9px; }
.plain-next.compact { grid-template-columns: 1.45fr 1fr; }
.plain-next > div { padding: 14px; border-radius: 12px; background: rgba(0,0,0,.14); }
.plain-next .stop { border: 1px solid rgba(255,169,169,.35); }
.plain-next .stop span { color: #ffc0bd; }

/* V1.35: one decisive opening card, driven by real judgment data. */
.direction-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.direction-heading .eyebrow { margin-bottom: 6px; }
.direction-range-note {
  max-width: 310px;
  margin: 2px 58px 0 0;
  color: #bcbcb8 !important;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}
.direction-call {
  display: inline-flex;
  margin: 4px 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: #f4f4f0 !important;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .03em;
}
.direction-metrics {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(150px, .7fr) minmax(220px, 1.3fr) minmax(220px, 1.3fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.2);
}
.direction-metric {
  min-width: 0;
  padding: 16px;
  background: rgba(0,0,0,.16);
}
.direction-metric > span,
.direction-action > span {
  display: block;
  margin-bottom: 7px;
  color: #cfcfca;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .06em;
}
.direction-metric strong {
  display: block;
  color: #fff;
  font: 700 clamp(20px, 2vw, 28px)/1.15 "Songti SC", STSong, serif;
  font-variant-numeric: tabular-nums;
}
.direction-metric small {
  display: block;
  margin-top: 7px;
  color: #aeaea9;
  font-size: 12px;
  line-height: 1.45;
}
.direction-metric p {
  margin: 0;
  color: #f3f3ef;
  font-size: 14px;
  line-height: 1.72;
}
.direction-metric.withdrawal {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 8px, transparent 8px 16px);
}
.direction-action {
  position: relative;
  margin-top: 1px;
  padding: 18px 20px 19px 52px;
  border: 1px solid rgba(255,255,255,.2);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.07);
}
.direction-action::before {
  content: "→";
  position: absolute;
  top: 18px;
  left: 19px;
  color: #fff;
  font-size: 20px;
}
.direction-action p {
  max-width: 980px;
  margin: 0;
  color: white;
  font-size: 15px;
  line-height: 1.78;
}

.concept-section, .breakdown-section, .guidance-section {
  scroll-margin-top: 16px;
  margin: 8px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf7;
  box-shadow: 0 8px 24px rgba(72,57,36,.04);
}
.concept-section { order: 5; border-left: 4px solid var(--red); }
.breakdown-section { order: 6; border-left: 4px solid var(--blue); background: #f6f4ee; }
.guidance-section { order: 8; border-left: 4px solid var(--cyan); background: #f3f7f2; }
.section-lead { margin: -8px 0 18px 39px; color: var(--muted); font-size: 14px; }
.block-title { display: flex; gap: 12px; align-items: start; margin-bottom: 22px; }
.block-title > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(152,71,61,.35);
  border-radius: 3px;
  color: var(--red);
  font: 700 13px/1 "Songti SC", STSong, serif;
}
.concept-grid, .breakdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.concept-card, .breakdown-card { padding: 15px; border: 1px solid var(--line); border-radius: 4px; background: #faf7ef; }
.concept-card h3 { margin: 0 0 7px; color: var(--cyan); font-size: 15px; }
.concept-card p, .breakdown-card ul { margin: 7px 0; color: var(--muted); font-size: 11px; }
.concept-card strong { color: #35443d; }
.concept-status, .type-pill { display: inline-block; margin-bottom: 7px; padding: 3px 7px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 8px; font-weight: 800; }
.concept-status[data-state="clear"] { color: var(--green); background: #eaf7ef; }
.concept-matrix {
  display: grid;
  gap: 12px;
}
.concept-matrix-row {
  display: grid;
  grid-template-columns: minmax(120px, .72fr) repeat(3, minmax(150px, 1fr));
  border: 1px solid #c9c9c3;
  background: #fbfbf8;
  box-shadow: 0 8px 22px rgba(20, 20, 18, .035);
}
.concept-matrix-row > header {
  grid-row: span 2;
  padding: 16px;
  border-right: 1px solid #d8d8d2;
  background: #292927;
  color: #f5f5f1;
}
.concept-matrix-row > header h3 {
  margin: 8px 0 12px;
  font: 700 20px/1.35 "Songti SC", STSong, serif;
}
.concept-matrix-row > header small {
  display: inline-block;
  padding-top: 9px;
  border-top: 1px solid #5a5a56;
  color: #c5c5bf;
  font-size: 11px;
}
.concept-matrix-cell,
.concept-matrix-impact {
  padding: 14px 15px;
  border-right: 1px solid #e1e1dc;
  border-bottom: 1px solid #e1e1dc;
}
.concept-matrix-cell span,
.concept-matrix-impact span {
  display: block;
  margin-bottom: 5px;
  color: #6d6d68;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .02em;
}
.concept-matrix-cell p,
.concept-matrix-impact p {
  margin: 0;
  color: #292927;
  font-size: 13px;
  line-height: 1.72;
}
.concept-matrix-cell.example {
  background: #f3f3ef;
}
.concept-matrix-impact {
  grid-column: 2 / -1;
  border-bottom: 0;
  background: #e9e9e4;
}
.concept-matrix-impact p {
  font-weight: 650;
}
.concept-relation-panel {
  display: grid;
  grid-template-columns: minmax(150px, .5fr) minmax(0, 1.5fr);
  gap: 18px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #3c3c39;
  background: #222220;
  color: #f5f5f1;
}
.concept-relation-panel > div:first-child > span {
  color: #adada7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.concept-relation-panel h3 {
  margin: 7px 0 0;
  font: 700 18px/1.45 "Songti SC", STSong, serif;
}
.concept-relations {
  display: grid;
  gap: 7px;
}
.concept-relation {
  display: grid;
  grid-template-columns: minmax(80px, auto) auto minmax(80px, auto) minmax(160px, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #4a4a46;
  background: #2b2b28;
}
.concept-relation b {
  color: #f3f3ef;
  font-size: 12px;
}
.concept-relation span {
  color: #b9b9b3;
  font-size: 12px;
  white-space: nowrap;
}
.concept-relation i {
  margin-right: 5px;
  color: #d8d8d2;
  font-style: normal;
  font-size: 10px;
}
.concept-relation p {
  margin: 0;
  padding-left: 10px;
  border-left: 1px solid #555550;
  color: #c9c9c3;
  font-size: 11px;
  line-height: 1.55;
}
.reframe-card, .decision-question, .recommended-question-card { margin-top: 10px; padding: 16px; border: 1px solid #d8c8aa; border-radius: 4px; background: #f6eddd; }
.reframe-card span, .decision-question span, .recommended-question-card > span { color: var(--cyan); font-size: 9px; font-weight: 800; }
.reframe-card p, .decision-question p { margin: 6px 0 0; font-size: 15px; }
.concept-notes, .next-guidance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.concept-notes > div, .next-guidance-grid > div { padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #faf7ef; }
.concept-notes h3, .next-guidance-grid h3 { margin: 0 0 8px; font-size: 12px; }
.concept-notes ul, .next-guidance-grid ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 10px; }
.subject-mode-panel {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #bdbdb8;
  border-radius: 4px;
  background: linear-gradient(145deg, #f1f1ee, #fafaf8);
}
.classification-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 13px; }
.classification-line span, .classification-line strong {
  padding: 4px 9px;
  border: 1px solid #8b8b86;
  border-radius: 999px;
  font-size: 10px;
}
.classification-line strong { color: #f6f6f3; background: #252524; font-weight: 700; }
.classification-line small { color: var(--muted); }
.subject-mode-panel > h2 { margin: 0 0 6px; font-family: "Songti SC", STSong, serif; font-size: clamp(1.45rem, 2.5vw, 2.2rem); }
.subject-mode-panel > p { max-width: 850px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.subject-analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.subject-analysis-card { position: relative; padding: 17px; border: 1px solid #c9c9c4; border-left-width: 4px; border-radius: 4px; background: #fafaf8; scroll-margin-top: 78px; }
.subject-analysis-card:first-child { grid-column: 1 / -1; }
.subject-analysis-card[data-visual="chain"] { border-left-color: #383836; background: linear-gradient(135deg, #f7f7f4, #eaeae6); }
.subject-analysis-card[data-visual="evidence"] { border-left-style: double; border-left-color: #595956; }
.subject-analysis-card[data-visual="risk"] { border-left-color: #1f1f1e; background: #eeeeea; }
.subject-analysis-card[data-visual="action"] { border-left-color: #777773; }
.subject-analysis-card[data-visual="governance"] { border-left-color: #4b4b48; background: #f3f3ef; }
.subject-analysis-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #656560; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.subject-analysis-kicker b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #696965; border-radius: 50%; color: #242423; font: 700 13px/1 "Songti SC", STSong, serif; }
.subject-analysis-card h3 { margin: 0 0 6px; font: 700 17px/1.45 "Songti SC", STSong, serif; }
.subject-analysis-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.subject-analysis-card ul { display: grid; gap: 6px; margin: 0; padding: 0; color: #3e3e3b; font-size: 13px; line-height: 1.72; list-style: none; counter-reset: subject-point; }
.subject-analysis-card li { position: relative; padding: 8px 10px 8px 34px; border-top: 1px solid #deded9; counter-increment: subject-point; }
.subject-analysis-card li::before { content: counter(subject-point); position: absolute; left: 6px; top: 9px; width: 18px; height: 18px; border: 1px solid #a3a39e; border-radius: 50%; color: #62625e; font-size: 9px; line-height: 17px; text-align: center; }
.subject-analysis-card li.concrete-example {
  margin: 9px 0 2px -17px;
  padding: 9px 11px;
  list-style: none;
  border-left: 3px solid #565652;
  background: #f0f0ed;
  color: #292927;
  line-height: 1.7;
}
.engineering-card { margin-top: 10px; padding: 16px; border: 1px solid #6f6f6a; border-radius: 4px; background: #292927; color: #f3f3f0; }
.engineering-card > span { color: #bdbdb7; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.engineering-card h3 { margin: 6px 0 12px; color: white; font-size: 17px; }
.engineering-flow { display: flex; flex-wrap: wrap; gap: 7px; }
.engineering-flow span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #5f5f5b; border-radius: 2px; color: #e6e6e2; font-size: 10px; }
.engineering-flow span:not(:last-child)::after { content: "→"; color: #9d9d98; }
.engineering-card p { margin: 13px 0 4px; color: #dadad6; font-size: 11px; }
.engineering-card small { color: #a9a9a4; font-size: 10px; }
.breakdown-grid { margin-top: 10px; }
.breakdown-card h3 { margin: 0 0 8px; color: var(--blue); font-size: 12px; }
.recommended-question-card h3 { margin: 8px 0; font-size: clamp(1.2rem, 2vw, 1.75rem); }
.recommended-question-card p, .recommended-question-card small { color: var(--muted); }
.next-guidance-grid { grid-template-columns: .8fr 1.2fr; }
.implementation-step { padding: 10px 0; border-bottom: 1px solid var(--line); }
.implementation-step:last-child { border-bottom: 0; }
.implementation-step b { color: var(--amber); font-size: 10px; }
.implementation-step p { margin: 3px 0; font-size: 11px; }
.implementation-step small { color: var(--muted); font-size: 9px; }

.experiment-section {
  order: 9;
  scroll-margin-top: 16px;
  display: grid;
  grid-template-columns: .58fr 1.42fr;
  gap: 26px;
  margin: 8px 0;
  padding: 24px;
  border: 1px solid #c9d4cb;
  border-left: 4px solid var(--amber);
  border-radius: 5px;
  background: #eef2ea;
}
.experiment-section > div:first-child > p:last-child { color: var(--muted); font-size: 11px; }
.experiment-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.experiment-item { padding: 12px; border: 1px solid rgba(217,207,189,.8); border-radius: 3px; background: #fffdf7; }
.experiment-item.wide { grid-column: 1 / -1; }
.experiment-item strong { display: block; margin-bottom: 3px; color: var(--cyan); font-size: 9px; }
.experiment-item p { margin: 0; color: var(--muted); font-size: 10px; }
.filled-example {
  margin-top: 10px;
  padding: 12px 13px;
  border-left: 3px solid #51514e;
  background: #ecece8;
}
.filled-example b {
  display: block;
  margin-bottom: 5px;
  color: #242422;
  font-size: 12px;
}
.filled-example p {
  margin: 0;
  color: #30302e;
  font-size: 13px;
  line-height: 1.75;
}
.professional-intro { order: 10; margin: 32px 0 12px; padding: 22px 0 2px 18px; border-top: 1px solid var(--line); border-left: 3px solid var(--amber); }
.professional-intro h2 { font-size: 22px; }
.professional-intro > p:not(.eyebrow) { max-width: 800px; color: var(--muted); font-size: 11px; }

.report-detail {
  order: 11;
  scroll-margin-top: 16px;
  margin: 5px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf7;
}
.report-detail > summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 65px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
  background: #f7f1e7;
}
.report-detail > summary::-webkit-details-marker { display: none; }
.report-detail > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: -3px; }
.report-detail > summary > b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(54,89,76,.4);
  border-radius: 50%;
  color: var(--cyan);
  background: transparent;
  font: 700 12px/1 "Songti SC", STSong, serif;
}
#map-section > summary > b, #scenario-section > summary > b { color: var(--amber); border-color: rgba(152,112,56,.45); }
#debate-section > summary > b, #action-section > summary > b { color: var(--red); border-color: rgba(152,71,61,.42); }
.report-detail > summary span strong { display: block; font-size: 13px; }
.report-detail > summary span small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.report-detail > summary i { color: var(--cyan); font-size: 9px; font-style: normal; font-weight: 750; }
.report-detail[open] > summary { border-bottom: 1px solid var(--line); background: #eee6d8; }
.report-detail[open] > summary i { font-size: 0; }
.report-detail[open] > summary i::after { content: "收起"; font-size: 9px; }
.detail-content { padding: 0 18px; }
.report-block { padding: 24px 0; }
.detail-content > .report-block + .report-block { border-top: 1px solid var(--line); }
.visual-section { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(320px, 1.3fr); gap: 24px; padding: 24px 0; }
.visual-copy { padding: 20px 0; }
.visual-copy > p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.axis-list { display: grid; gap: 8px; margin: 18px 0; }
.axis-item { display: grid; grid-template-columns: minmax(115px, .8fr) minmax(130px, 1.2fr) auto; align-items: center; gap: 9px; padding: 8px 0; font-size: 10px; }
.axis-item strong, .axis-item small { display: block; }
.axis-item small, .axis-item p { color: var(--muted); font-size: 8px; }
.axis-item p { margin: 4px 0 0; }
.axis-bar { position: relative; display: block; height: 5px; overflow: hidden; border-radius: 8px; background: #dfe8e2; }
.axis-bar i { position: absolute; height: 100%; border-radius: inherit; background: var(--cyan); }
.axis-item b { color: var(--amber); font: 800 11px/1.2 monospace; text-align: right; }
.axis-item b small { font-family: system-ui; font-weight: 500; }
.risk-driver-box { margin: 14px 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: #faf7ef; }
.risk-driver-box h3 { margin: 0 0 7px; font-size: 12px; }
.risk-driver-box ul { margin: 0; padding-left: 18px; }
.risk-driver-box li { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.canvas-shell { position: relative; min-height: 430px; overflow: hidden; border: 1px solid #4c493f; border-radius: 4px; background: #1b2421; }
#cognitive-canvas { display: block; width: 100%; height: 100%; min-height: 430px; touch-action: none; cursor: grab; }
#cognitive-canvas:active { cursor: grabbing; }
.visual-warning { position: absolute; top: 12px; left: 12px; right: 12px; padding: 8px 10px; border: 1px solid rgba(255,184,77,.25); border-radius: 9px; color: #ebc994; background: rgba(7,16,20,.84); font-size: 9px; pointer-events: none; }
.evidence-legend { display: flex; flex-wrap: wrap; gap: 5px; margin: -6px 0 12px; }
.evidence-legend span { padding: 4px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 8px; }
.evidence-legend b { margin-right: 4px; color: var(--cyan); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table { width: 100%; min-width: 1160px; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 10px; }
th { color: var(--cyan); background: #eee7da; font-size: 8px; }
tbody tr:last-child td { border-bottom: 0; }
.status-label, .grade-label, .technical-confidence { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.source-refs a { color: var(--cyan); }
.engine-grid, .conflict-grid, .source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.engine-card, .conflict-card, .source-card { padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: #faf7ef; }
.engine-card h3 { margin: 6px 0 8px; font-size: 16px; }
.engine-method, .source-card span, .source-card small { display: block; color: var(--muted); font-size: 8px; }
.engine-card > p, .conflict-card p { color: var(--muted); font-size: 10px; }
.finding-list { display: grid; gap: 6px; margin: 12px 0; }
.finding { padding: 9px; border-radius: 3px; background: #fffdf7; }
.finding strong { display: block; color: var(--cyan); font-size: 9px; }
.finding p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.dissent { padding-top: 10px; border-top: 1px dashed #e2c796; color: var(--amber) !important; }
.conflict-card { border-color: #e8d3b6; background: #fffaf2; }
.conflict-card h3 { margin-top: 0; color: var(--amber); font-size: 11px; }
.minority-list { margin-top: 12px; }
.minority-item { margin: 7px 0; padding: 8px 12px; border-left: 2px solid var(--red); }
.minority-item strong { color: var(--red); font-size: 9px; }
.minority-item p { margin: 2px 0; font-size: 11px; }
.minority-item small { color: var(--muted); font-size: 9px; }
.source-card { display: grid; gap: 6px; min-width: 0; }
.source-card strong, .source-card a { color: var(--ink); font-size: 11px; overflow-wrap: anywhere; }
.decision-grid, .scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.decision-card, .scenario-card { padding: 17px; border: 1px solid var(--line); border-radius: 4px; background: #faf7ef; }
.decision-card span { display: block; margin-bottom: 14px; font-size: 9px; font-weight: 800; }
.decision-card p { font-size: 13px; }
.decision-card small, .scenario-card p, .scenario-card ul { color: var(--muted); font-size: 10px; }
.support span { color: var(--green); }
.oppose span { color: var(--red); }
.unknown span { color: var(--amber); }
.scenario-card h3 { margin: 0 0 12px; font-size: 19px; }
.scenario-card h3 small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.scenario-card ul { padding-left: 16px; }
.scenario-card[data-scenario="bull"] h3 { color: var(--green); }
.scenario-card[data-scenario="base"] h3 { color: var(--amber); }
.scenario-card[data-scenario="bear"] h3 { color: var(--red); }
.timeline { display: grid; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.timeline-item time { color: var(--cyan); font: 700 10px/1.4 monospace; }
.timeline-item h3 { margin: 0 0 3px; font-size: 13px; }
.timeline-item p, .timeline-item small { margin: 0; color: var(--muted); font-size: 10px; }
.stop-box { margin-top: 18px; padding: 16px; border: 1px solid #ddbbb4; border-radius: 4px; background: var(--red-soft); }
.stop-box h3 { color: var(--red); }
.stop-box li { margin: 6px 0; color: var(--muted); font-size: 10px; }
.export-section { order: 12; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.export-section p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.export-actions { min-width: min(100%, 430px); }
.export-actions .button-row { justify-content: flex-end; margin-top: 0; }
.export-message { min-height: 18px; margin: 8px 0 0; text-align: right; }
.technical-note { order: 13; color: var(--muted); border-top: 1px dashed var(--line); }
.technical-note > summary { padding: 12px 0 6px; cursor: pointer; font-size: 9px; }
.method-note { color: var(--muted); font-size: 9px; }
footer { width: min(1440px, calc(100% - 32px)); display: flex; justify-content: space-between; gap: 16px; margin: 0 auto; padding: 22px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-family: "Songti SC", STSong, serif; font-size: 10px; letter-spacing: .06em; }
footer a { color: inherit; text-underline-offset: 3px; }

/* Zen monochrome: hierarchy comes from space, weight and light, never hue. */
.brand-mark {
  border-color: #111;
  background: #181818;
  color: #f8f8f6;
  box-shadow: none;
}
.mode-badge, .audience-badge {
  border-color: #d1d1ce;
  background: rgba(250,250,248,.82);
}
.mode-badge[data-state="offline"], .mode-badge[data-state="error"],
.mode-badge[data-state="loading"] {
  border-color: #c9c9c5;
  background: #e9e9e6;
}
.mode-badge span,
.mode-badge[data-state="offline"] span,
.mode-badge[data-state="error"] span,
.mode-badge[data-state="loading"] span { background: #4b4b49; }
.workspace-intro h1 em { color: #333331; }
.intro-quote::before { background: #4a4a47; }
.intro-guide span { border-color: #d0d0cc; background: rgba(250,250,248,.8); }
.intro-guide b { border-color: #bcbcb8; color: #333331; }

.dialogue-pane, .output-pane {
  border-color: #c9c9c5;
  background: #fafaf8;
  box-shadow: 0 14px 38px rgba(0,0,0,.055);
}
.dialogue-pane { border-top: 1px solid #838380; background: #f5f5f2; }
.output-pane { border-top: 4px solid #222; }
.pane-heading { border-color: #d0d0cc; background: rgba(250,250,248,.93); }
.pane-heading .pane-number {
  border-color: #a9a9a5;
  color: #343432;
  background: transparent;
}
.output-heading .pane-number {
  border-color: #202020;
  color: #f7f7f5;
  background: #202020;
}
.conversation-state, .runtime-state,
.conversation-state[data-state="active"], .runtime-state[data-state="running"],
.runtime-state[data-state="waiting"],
.conversation-state[data-state="complete"], .runtime-state[data-state="complete"],
.runtime-state[data-state="error"] {
  border-color: #c5c5c1;
  color: #4d4d4a;
  background: #eeeeeb;
}
.workbench { background: #f5f5f2; }
label { color: #424240; }
textarea {
  border-color: #c8c8c4;
  color: #171717;
  background: #fcfcfa;
}
textarea::placeholder { color: #92928e; }
textarea:focus { border-color: #222; box-shadow: 0 0 0 3px rgba(0,0,0,.075); }
.input-meta, .input-meta b { color: #777773; }
.button.primary {
  color: #fff;
  background: #202020;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.button.secondary, .button.ghost { border-color: #c9c9c5; background: #f4f4f1; }
.tool-button span { color: #333; }
.inline-message { color: #4f4f4c; }
.privacy-note { color: #696965; }
.question-card { border-color: #c9c9c5; background: #fafaf8; }
.turn-notice, .engine-label { color: #444441 !important; }
.conversation-history { border-color: #cdcdc9; background: #ebebe7; }
.chat-message.assistant { border-color: #d0d0cc; background: #fafaf8; }
.chat-message.assistant span, .chat-message.user span { color: #50504d; }
.chat-message.user { border-color: #bdbdb9; background: #e1e1de; }

.runtime-card,
.runtime-card[data-state="running"],
.runtime-card[data-state="complete"],
.runtime-card[data-state="error"] {
  border-color: #d1d1cd;
  background: #f1f1ee;
}
.run-steps li { color: #858581; }
.run-steps b { background: #dfdfdc; }
.run-steps li[data-state="current"] { color: #222; background: #e2e2df; }
.run-steps li[data-state="done"] { color: #444; background: #e8e8e5; }
.empty-output {
  background:
    radial-gradient(circle at 50% 48%, rgba(0,0,0,.035), transparent 18rem),
    linear-gradient(180deg, #fafaf8, #f1f1ee);
}
.empty-promises article {
  border-color: #cececa;
  background: rgba(250,250,248,.92);
  box-shadow: 0 7px 18px rgba(0,0,0,.035);
}
.empty-promises b { color: #393937; }

.analysis-provenance,
.analysis-provenance[data-mode="connected"],
.analysis-provenance[data-mode="offline-simulation"] {
  color: #5f5f5b;
  background: #e9e9e6;
}
.report-index {
  border-color: #cdcdc9;
  border-left-color: #333;
  background: #efefeb;
}
.report-index a { border-color: #cececa; background: #fafaf8; }
.report-index a:hover { border-color: #858581; background: #e7e7e4; }
.report-index a > b { border-color: #aaa; color: #333; }

.reader-summary {
  border-color: #111;
  background:
    radial-gradient(circle at 92% 8%, rgba(255,255,255,.075), transparent 18rem),
    linear-gradient(135deg, #262626, #111);
}
.reader-summary::before { border-color: rgba(255,255,255,.36); color: #d9d9d5; }
.reader-summary .eyebrow { color: #c7c7c3; }
.verdict-label { border-color: #777; color: #e7e7e3; }
.reader-summary > .confidence-line { color: #bcbcb8; }
.plain-status-grid span, .plain-card span, .plain-next span { color: #d2d2ce; }
.plain-card.go { border-left-color: #bcbcb8; }
.plain-card.wait { border-left-color: #858581; }
.plain-card.wait span { color: #c8c8c4; }
.plain-next .stop { border-color: rgba(255,255,255,.28); }
.plain-next .stop span { color: #d0d0cc; }

.concept-section, .breakdown-section, .guidance-section,
.concept-card, .breakdown-card,
.concept-notes > div, .next-guidance-grid > div {
  border-color: #cdcdc9;
  background: #fafaf8;
}
.concept-section { border-left-color: #222; }
.breakdown-section { border-left-color: #8b8b87; background: #f3f3f0; }
.guidance-section { border-left-color: #4a4a47; background: #f6f6f3; }
.block-title > span { border-color: #a9a9a5; color: #333331; }
.concept-card h3, .breakdown-card h3 { color: #3f3f3c; }
.concept-card strong { color: #333331; }
.concept-status, .type-pill,
.concept-status[data-state="clear"] {
  color: #555552;
  background: #e5e5e2;
}
.reframe-card, .decision-question, .recommended-question-card {
  border-color: #c5c5c1;
  background: #edede9;
}
.reframe-card span, .decision-question span, .recommended-question-card > span { color: #3f3f3c; }
.implementation-step b { color: #444441; }
.experiment-section {
  border-color: #c5c5c1;
  border-left-color: #555552;
  background: #ecece8;
}
.experiment-item { border-color: #cececa; background: #fafaf8; }
.experiment-item strong { color: #3f3f3c; }
.professional-intro { border-color: #d0d0cc; border-left-color: #4a4a47; }

.report-detail { border-color: #cececa; background: #fafaf8; }
.report-detail > summary { background: #efefeb; }
.report-detail > summary > b,
#map-section > summary > b, #scenario-section > summary > b,
#debate-section > summary > b, #action-section > summary > b {
  border-color: #93938f;
  color: #343432;
}
.report-detail > summary i { color: #555552; }
.report-detail[open] > summary { border-color: #c9c9c5; background: #e5e5e1; }
.axis-bar { background: #d8d8d4; }
.axis-bar i { background: #555552; }
.axis-item b { color: #4a4a47; }
.canvas-shell { border-color: #333; background: #151515; }
#cognitive-canvas { filter: grayscale(1) contrast(1.08); }
.visual-warning {
  border-color: rgba(255,255,255,.24);
  color: #d0d0cc;
  background: rgba(14,14,14,.84);
}
th { color: #333; background: #e5e5e1; }
.evidence-legend b, .source-refs a { color: #3f3f3c; }
.engine-card, .conflict-card, .source-card,
.decision-card, .scenario-card { border-color: #cececa; background: #f5f5f2; }
.finding { background: #fafaf8; }
.finding strong { color: #40403d; }
.dissent { border-color: #aaa; color: #4f4f4c !important; }
.conflict-card { border-color: #babab6; background: #efefeb; }
.conflict-card h3,
.minority-item strong,
.support span, .oppose span, .unknown span,
.scenario-card[data-scenario="bull"] h3,
.scenario-card[data-scenario="base"] h3,
.scenario-card[data-scenario="bear"] h3,
.timeline-item time,
.stop-box h3 { color: #3f3f3c; }
.minority-item { border-color: #555552; }
.stop-box { border-color: #babab6; background: #e8e8e4; }

/* Readable type scale: supporting copy stays quiet without becoming tiny. */
body { font-size: 16px; line-height: 1.68; }
.brand small, .eyebrow, .pane-heading .pane-number,
.input-meta, .input-meta b, .engine-label,
.runtime-copy span,
.concept-status, .type-pill,
.reframe-card span, .decision-question span, .recommended-question-card > span,
.implementation-step small, .experiment-item strong,
.report-detail > summary span small, .report-detail > summary i,
.report-detail[open] > summary i::after,
.axis-item small, .axis-item p, .evidence-legend span,
th, .status-label, .grade-label, .technical-confidence,
.engine-method, .source-card span, .source-card small,
.finding strong, .minority-item strong, .minority-item small,
.decision-card span, .scenario-card h3 small,
.technical-note > summary, .method-note {
  font-size: var(--type-note);
}
.mode-badge, .audience-badge, .intro-guide span,
label, .button, .tool-button, .inline-message,
.privacy-note,
.question-card p, .chat-message p, .runtime-copy p,
.run-steps li, .empty-output > p:last-child, .empty-promises span,
.analysis-provenance, .report-index a small,
.reader-summary > .confidence-line,
.concept-notes ul, .next-guidance-grid ul,
.implementation-step b, .experiment-section > div:first-child > p:last-child,
.experiment-item p, .visual-warning,
td, .engine-card > p, .conflict-card p,
.finding p, .source-card strong, .source-card a,
.decision-card small, .scenario-card p, .scenario-card ul,
.timeline-item p, .timeline-item small,
.stop-box li {
  font-size: var(--type-small);
}
.report-index a span, .plain-status-grid p, .plain-card p, .plain-next p,
.concept-card p, .breakdown-card ul,
.implementation-step p, .professional-intro > p:not(.eyebrow),
.visual-copy > p:not(.eyebrow), .axis-item,
.minority-item p, .export-section p:not(.eyebrow) {
  font-size: var(--type-body);
  line-height: 1.7;
}
.section-lead, .decision-card p { font-size: var(--type-reading); line-height: 1.7; }
.brand strong { font-size: 17px; }
.intro-quote { font-size: 15px; line-height: 1.75; }
.pane-heading h2 { font-size: 18px; }
.section-heading h2 { font-size: 17px; }
.primary-action-row .button { font-size: 15px; }
.tool-button span, .chat-message span { font-size: 10px; }
.question-card h3 { font-size: 18px; line-height: 1.55; }
.runtime-copy strong { font-size: 19px; }
.runtime-copy p { font-size: 13px; }
.run-steps b { font-size: 9px; }
.report-index-title h2 { font-size: 18px; }
.verdict-label { font-size: 10px; }
.judgment { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.7; }
.plain-status-grid span, .plain-card span, .plain-next span { font-size: 11px; }
.concept-card h3 { font-size: 16px; }
.reframe-card p, .decision-question p { font-size: 16px; line-height: 1.65; }
.concept-notes h3, .next-guidance-grid h3, .breakdown-card h3 { font-size: 14px; }
.implementation-step p, .experiment-item p,
.engine-card > p, .conflict-card p, .finding p,
.scenario-card p, .scenario-card li,
.timeline-item p, .timeline-item small, .stop-box li {
  line-height: 1.65;
}
.professional-intro h2 { font-size: 24px; }
.report-detail > summary { padding: 15px 16px; }
.report-detail > summary span strong { font-size: 14px; }
.engine-card h3 { font-size: 17px; }
.conflict-card h3 { font-size: 13px; }
.source-card strong, .source-card a { font-size: 13px; }
.scenario-card h3 { font-size: 20px; }
.timeline-item h3 { font-size: 14px; }
footer { font-size: 11px; }
.run-steps b {
  width: 31px;
  height: 24px;
  border-radius: 999px;
  font-size: 9px;
}

/*
 * Desktop first view: keep the whole starting workflow visible.
 * The title and the four-step map share one compact band, while the live
 * status fills the right side of its row instead of leaving an empty block.
 */
@media (min-width: 1101px) {
  .site-header {
    width: min(1480px, calc(100% - 28px));
    height: 60px;
  }

  main, footer { width: min(1480px, calc(100% - 28px)); }

  .workspace-intro {
    grid-template-columns: minmax(440px, .88fr) minmax(580px, 1.12fr);
    align-items: center;
    gap: 28px;
    padding: 18px 0 16px;
  }
  .workspace-intro h1 {
    max-width: 680px;
    font-size: clamp(2.35rem, 3.15vw, 3.1rem);
    line-height: 1.04;
  }
  .workspace-intro h1 em { display: inline; }
  .workspace-intro .eyebrow { margin-bottom: 5px; }
  .intro-quote {
    max-width: 660px;
    margin-top: 9px;
    padding-left: 13px;
    font-size: 13px;
    line-height: 1.55;
  }

  .journey-steps {
    align-self: center;
    width: 100%;
    padding: 0;
  }
  .journey-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    min-height: 58px;
    padding: 7px;
  }
  .journey-steps li > b {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .journey-steps li strong { font-size: 11.5px; }
  .journey-steps li small { font-size: 9.5px; }

  .split-workspace {
    grid-template-columns: minmax(370px, 400px) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
  .dialogue-pane {
    top: 8px;
    max-height: calc(100vh - 16px);
  }
  .output-pane { padding: 0 18px 18px; }
  .output-heading, .runtime-card { margin-left: -18px; margin-right: -18px; }

  .pane-heading { padding: 13px 16px 12px; }
  .pane-heading .pane-number {
    min-width: 38px;
    padding: 6px 7px;
  }
  .pane-heading h2 { font-size: 17px; }

  .workbench { padding: 13px 16px 12px; }
  .section-heading { margin-bottom: 9px; }
  .section-heading h2 { font-size: 15.5px; }
  textarea {
    min-height: 108px;
    padding: 12px;
  }
  .primary-action-row { margin-top: 9px; }
  .primary-action-row .button { min-height: 40px; }
  .input-tools { margin-top: 7px; }
  .privacy-note { margin-top: 6px; line-height: 1.4; }
  .inline-message { margin-top: 5px; }
  .conversation-history > summary { padding: 8px 16px; }
  .conversation-log {
    max-height: 140px;
    padding: 0 16px 12px;
  }

  .runtime-card {
    grid-template-columns: minmax(220px, .52fr) minmax(0, 1.48fr);
    gap: 20px;
    min-height: 104px;
    padding: 10px 16px;
  }
  .runtime-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .runtime-copy strong { font-size: 17px; }
  .runtime-copy p { font-size: 12px; line-height: 1.45; }
  .runtime-category {
    margin: 2px 0 5px;
    padding: 3px 8px;
    font-size: 11px;
  }
  .thinking-progress {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: 7px;
  }

  .empty-output {
    min-height: 320px;
    padding: 24px 24px 22px;
  }
  .empty-output .major-step-heading {
    margin-bottom: 13px;
  }
  .empty-output .major-step-heading > b {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .empty-output .major-step-heading strong { font-size: 19px; }
  .empty-output h2 { font-size: clamp(1.8rem, 2.4vw, 2.25rem); }
  .empty-promises {
    margin-top: 15px;
    gap: 8px;
  }
  .empty-promises article { padding: 12px; }
  .empty-output > p:last-child { margin-top: 11px; }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .workspace-intro {
    gap: 22px;
    padding: 10px 0 9px;
  }
  .workspace-intro h1 { font-size: 2.25rem; }
  .workspace-intro .eyebrow { margin-bottom: 3px; }
  .intro-quote {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }
  .journey-steps li { min-height: 52px; }

  .pane-heading { padding: 10px 14px 9px; }
  .workbench { padding: 10px 14px 9px; }
  textarea { min-height: 96px; }
  .runtime-card {
    min-height: 92px;
    padding: 8px 14px;
  }
  .empty-output {
    min-height: 290px;
    padding-top: 17px;
    padding-bottom: 16px;
  }
  .empty-output .major-step-heading { margin-bottom: 9px; }
  .empty-promises { margin-top: 11px; }
  .empty-output > p:last-child { margin-top: 7px; }
}

@media (max-width: 1100px) {
  .workspace-intro { grid-template-columns: 1fr; gap: 16px; }
  .intro-guide, .journey-steps { padding-bottom: 0; }
  .split-workspace { grid-template-columns: 1fr; }
  .dialogue-pane { position: relative; top: auto; max-height: none; overflow: hidden; }
  .conversation-log { max-height: 260px; }
  .concept-matrix-row { grid-template-columns: minmax(125px, .7fr) repeat(2, minmax(0, 1fr)); }
  .concept-matrix-row > header { grid-row: span 3; }
  .concept-matrix-impact { grid-column: 2 / -1; }
  .direction-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frontier-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .workspace-intro::before {
    inset: 8px 0 auto 30%;
    height: 160px;
    opacity: .12;
  }
  .revision-section { padding: 17px 14px; }
  .revision-list article { grid-template-columns: 1fr; gap: 5px; }
  .revision-list article i { transform: rotate(90deg); }
  .report-index ol { grid-template-columns: repeat(3, 1fr); }
  .protocol-heading, .protocol-diagnostics { grid-template-columns: 1fr; }
  .visual-section, .experiment-section { grid-template-columns: 1fr; }
  .plain-next { grid-template-columns: 1fr; }
  .decision-grid, .scenario-grid { grid-template-columns: 1fr; }
  .engine-grid, .conflict-grid { grid-template-columns: 1fr; }
  .concept-relation-panel { grid-template-columns: 1fr; }
  .concept-relation { grid-template-columns: minmax(70px, auto) auto minmax(70px, auto); }
  .concept-relation p { grid-column: 1 / -1; padding: 8px 0 0; border-top: 1px solid #555550; border-left: 0; }
  .canvas-shell, #cognitive-canvas { min-height: 380px; }
  .philosophical-measurement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .export-section { align-items: flex-start; flex-direction: column; }
  .export-actions { width: 100%; }
  .export-actions .button-row { justify-content: flex-start; }
  .export-message { text-align: left; }
}

@media (max-width: 520px) {
  .task-decomposition { padding: 17px 13px; }
  .task-decomposition-grid { grid-template-columns: 1fr; }
  .frontier-section { margin: 20px 0; padding: 20px 14px; border-radius: 15px; }
  .frontier-heading { display: block; }
  .frontier-state { display: inline-flex; margin-top: 10px; }
  .frontier-shadow { padding: 14px; }
  .frontier-card { padding: 15px; }
  .philosophical-measurement { padding: 18px 13px; border-radius: 14px; }
  .philosophical-measurement-heading { display: block; }
  .philosophical-measurement-heading > span { display: inline-flex; margin-top: 9px; }
  .philosophical-measurement-grid, .philosophical-red-lines { grid-template-columns: 1fr; }
  .philosophical-measurement-card > p { min-height: 0; font-size: 13px; }
  .philosophical-measurement-card details p, .philosophical-red-lines small, .philosophical-measurement-boundary { font-size: 12px; }
  .button { min-height: 44px; }
  .brand,
  .pane-nav a,
  .tool-button {
    min-height: 44px;
  }
  .pane-nav a,
  .tool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .language-switch,
  .evaluation-link,
  .answer-map-node-list button { min-height: 44px; }
  .primary-action-row .button { min-height: 48px; }
  .demo-return { align-items: flex-start; flex-direction: column; }
  .demo-return a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header, main, footer { width: calc(100% - 20px); }
  html[lang="en-US"], html[lang="en-US"] body { max-width: 100%; overflow-x: hidden; }
  html[lang="en-US"] .site-header,
  html[lang="en-US"] main,
  html[lang="en-US"] footer { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }
  html[lang="en-US"] .workspace-intro,
  html[lang="en-US"] .intro-copy,
  html[lang="en-US"] .journey-steps,
  html[lang="en-US"] .split-workspace { min-width: 0; max-width: 100%; }
  .concept-matrix-row {
    display: block;
  }
  .concept-matrix-row > header {
    border-right: 0;
  }
  .concept-matrix-cell,
  .concept-matrix-impact {
    border-right: 0;
    border-bottom: 1px solid #deded8;
  }
  .concept-matrix-cell p,
  .concept-matrix-impact p {
    font-size: 14px;
  }
  .concept-relation {
    grid-template-columns: 1fr auto 1fr;
  }
  .direction-heading { display: block; }
  .direction-range-note {
    max-width: none;
    margin: 8px 44px 0 0;
    font-size: 12px;
    text-align: left;
  }
  .direction-call { margin-bottom: 11px; }
  .direction-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    border-radius: 9px;
  }
  .direction-metric { padding: 14px 12px; }
  .direction-metric.condition,
  .direction-metric.withdrawal { grid-column: 1 / -1; }
  .direction-metric strong { font-size: 20px; }
  .direction-metric p { font-size: 14px; line-height: 1.68; }
  .direction-action { padding: 16px 13px 17px 43px; }
  .direction-action::before { top: 16px; left: 14px; }
  .direction-action p { font-size: 15px; line-height: 1.72; }
  .site-header { height: 62px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .brand strong { font-size: 14px; }
  .brand-title { gap: 5px; }
  .brand-version { min-height: 17px; padding-inline: 5px; font-size: 8px; }
  .brand small { display: none; }
  html[lang="en-US"] .site-header { gap: 7px; }
  html[lang="en-US"] .brand { min-width: 0; gap: 7px; }
  html[lang="en-US"] .brand-mark { flex: 0 0 34px; }
  html[lang="en-US"] .brand-title { white-space: normal; line-height: 1.08; }
  html[lang="en-US"] .brand strong { font-size: 11px; letter-spacing: .015em; }
  html[lang="en-US"] .header-status { flex: 0 0 auto; }
  html[lang="en-US"] .mode-badge { display: none; }
  .mode-badge { max-width: 140px; padding: 6px 9px; font-size: 10px; }
  .evaluation-link { max-width:88px; padding:6px 8px; line-height:1.15; text-align:center; }
  .workspace-intro { gap: 14px; padding: 25px 0 18px; }
  .workspace-intro h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  html[lang="en-US"] .workspace-intro h1 { max-width: 100%; font-size: clamp(2.05rem, 10.5vw, 2.55rem); overflow-wrap: anywhere; }
  .intro-quote { margin-top: 12px; padding-left: 13px; font-size: 12.5px; }
  .intro-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .intro-guide span { justify-content: center; padding: 8px 5px; font-size: 10.5px; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 6px; }
  .journey-steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 7px; padding: 8px; }
  .journey-steps li > b { width: 34px; height: 34px; font-size: 14px; }
  .journey-steps li strong { font-size: 11px; }
  .journey-steps li small { font-size: 9.5px; }
  .pane-nav { display: flex; gap: 7px; }
  .pane-nav a { flex: 1; padding: 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--cyan); background: #f8f8f6; text-align: center; text-decoration: none; font-size: 11px; font-weight: 750; }
  .split-workspace { gap: 12px; margin-bottom: 38px; }
  .dialogue-pane, .output-pane { border-radius: 5px; box-shadow: 0 9px 24px rgba(60,48,30,.07); }
  .output-pane { padding: 0 12px 18px; }
  .classification-intro { padding: 12px; }
  .classification-intro-main h2 { font-size: 1.05rem; }
  .output-heading, .runtime-card { margin-left: -12px; margin-right: -12px; }
  .pane-heading { padding: 15px 13px; }
  .pane-heading h2 { font-size: 16px; }
  .runtime-meta { align-items: flex-end; flex-direction: column-reverse; gap: 5px; }
  .analysis-timer { min-width: 62px; padding: 4px 7px; font-size: 9.5px; }
  .workbench { padding: 16px 13px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 11px; }
  .section-heading h2 { font-size: 15px; }
  textarea { min-height: 132px; padding: 13px; }
  .input-meta { flex-direction: column; gap: 2px; }
  .button-row .button { flex: 1 1 auto; }
  .button.push { width: 100%; margin-left: 0; }
  .conversation-history > summary { padding-left: 13px; }
  .conversation-log { padding: 0 13px 13px; }
  .runtime-card { grid-template-columns: 1fr; gap: 8px; padding: 12px 13px; }
  .runtime-copy, .run-steps, .thinking-progress { grid-column: 1; grid-row: auto; }
  .thinking-progress { margin: 2px 0 3px; }
  .run-steps { grid-template-columns: 1fr 1fr; }
  .runtime-copy strong { font-size: 18px; }
  .runtime-copy p { font-size: 12.5px; }
  .thinking-progress p { font-size: 11.5px; }
  .thinking-progress p b { font-size: 10.5px; }
  .analysis-continuation { align-items: stretch; flex-direction: column; gap: 11px; padding: 14px 13px; }
  .live-decomposition { padding: 14px 13px; }
  .live-decomposition-grid { grid-template-columns: 1fr; }
  .live-checkpoint-facts { grid-template-columns: 1fr; }
  .analysis-continuation strong { font-size: 17px; }
  .analysis-continuation .button { width: 100%; }
  .research-console { margin-inline: 0; padding: 14px 12px; }
  .research-console-head { align-items: flex-start; }
  .research-console-head h3 { font-size: 15px; }
  .goal-atlas { min-height: 0; }
  .goal-atlas::before, .goal-atlas::after { display: none; }
  .atlas-core { position: relative; inset: auto; width: 100%; min-height: 0; margin-bottom: 12px; padding: 16px 18px; border-radius: 5px; text-align: left; transform: none; }
  .atlas-core i { display: none; }
  .research-thread-grid { grid-template-columns: 1fr; }
  .goal-atlas .research-thread-grid { gap: 8px; padding: 0; }
  .goal-atlas .research-thread-grid article { min-height: 0; }
  .research-thread-grid p { -webkit-line-clamp: 4; font-size: 12px; }
  .run-steps li { justify-content: flex-start; padding: 8px; font-size: 11px; }
  .run-steps li span { display: inline; }
  .run-steps b { width: 36px; height: 25px; font-size: 9px; }
  .empty-output { min-height: 380px; padding: 34px 14px; }
  .major-step-heading { gap: 10px; margin-bottom: 18px; }
  .major-step-heading > b { width: 46px; height: 46px; font-size: 18px; }
  .major-step-heading strong { font-size: 19px; }
  .major-step-heading small { font-size: 10px; }
  .major-step-heading.compact > b { width: 40px; height: 40px; font-size: 16px; }
  .major-step-heading.compact strong { font-size: 16px; }
  .empty-promises { grid-template-columns: 1fr; margin-top: 18px; }
  .empty-promises article { grid-template-columns: 28px auto 1fr; align-items: center; gap: 7px; padding: 12px; }
  .empty-promises span { text-align: right; }
  .report-kicker { flex-direction: column; }
  .analysis-provenance { font-size: 11px; line-height: 1.65; }
  .report-index { padding: 12px; }
  .report-index-title { display: block; }
  .report-index-title .eyebrow { margin-bottom: 3px; }
  .report-index ol { grid-template-columns: 1fr 1fr; }
  .report-index li:first-child { grid-column: 1 / -1; }
  .report-index a { min-height: 50px; }
  .protocol-section { padding: 19px 13px; border-radius: 5px; }
  .protocol-heading { gap: 15px; padding-bottom: 18px; }
  .protocol-heading h2 { font-size: 27px; }
  .protocol-workflow { grid-template-columns: 1fr; }
  .protocol-step { min-height: auto; padding: 13px; }
  .protocol-diagnostics { gap: 18px; margin-top: 19px; padding-top: 19px; }
  .reader-summary { padding: 22px 16px; border-radius: 4px; }
  .reader-summary::before { top: 17px; right: 16px; width: 38px; height: 38px; font-size: 18px; }
  .plain-status-grid, .plain-decision-grid { grid-template-columns: 1fr; }
  .plain-next.compact { grid-template-columns: 1fr; }
  .concept-section, .breakdown-section, .guidance-section { padding: 19px 13px; }
  .section-lead { margin-left: 0; }
  .concept-grid, .concept-notes, .subject-analysis-grid, .breakdown-grid, .next-guidance-grid { grid-template-columns: 1fr; }
  .answer-first-section { padding: 22px 16px; }
  .answer-first-heading { display: block; }
  .answer-first-lead { font-size: 17px; line-height: 1.82; }
  .claim-results { padding: 17px 14px; }
  .claim-results-grid { grid-template-columns: 1fr; }
  .current-facts { padding: 17px 14px; }
  .current-facts-heading { display: block; }
  .current-facts-heading > small { display: block; margin-top: 6px; }
  .current-facts-grid { grid-template-columns: 1fr; }
  .counter-evidence { padding: 17px 14px; }
  .counter-evidence-heading { grid-template-columns: 1fr; }
  .counter-evidence-heading p { grid-column: 1; }
  .counter-evidence-grid { grid-template-columns: 1fr; }
  .answer-ratings { padding: 15px; }
  .answer-ratings > div:first-child { grid-template-columns: 1fr; gap: 6px; }
  .rating-grid { grid-template-columns: 1fr; }
  .answer-first-sections article { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .answer-first-sections h3 { font-size: 18px; }
  .answer-first-sections p { font-size: 15px; line-height: 1.82; }
  .answer-map-flow { grid-template-columns: 1fr; }
  #answer-relationship-canvas { height: 540px; }
  .answer-map-toolbar { top: 8px; right: 8px; }
  .answer-map-toolbar button { min-height: 44px; padding-inline: 10px; }
  .answer-map-legend { right: 8px; bottom: 8px; left: 8px; justify-content: center; }
  .answer-map-node-list button { max-width: 100%; }
  .subject-mode-panel { padding: 16px 12px; }
  .engineering-flow { display: grid; grid-template-columns: 1fr; }
  .engineering-flow span { justify-content: space-between; }
  .experiment-section { gap: 16px; padding: 19px 13px; }
  .experiment-card { grid-template-columns: 1fr; }
  .experiment-item.wide { grid-column: auto; }
  .professional-intro h2 { font-size: 20px; }
  .report-detail > summary { grid-template-columns: 30px minmax(0, 1fr); padding: 11px; }
  .report-detail > summary i { display: none; }
  .detail-content { padding: 0 11px; }
  .visual-copy { padding: 0; }
  .canvas-shell, #cognitive-canvas { min-height: 330px; }
  .axis-item { grid-template-columns: 1fr auto; }
  .axis-item > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .axis-item b { grid-column: 2; grid-row: 1; }
  .source-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .runtime-card[data-state="running"] .thinking-track span { inset: 0; width: 68%; }
}

@media print {
  .site-header, .workspace-intro, .dialogue-pane, .output-heading, .runtime-card, .empty-output, .report-index, .export-section, footer, .ambient, #reset-view, .report-detail > summary, .technical-note > summary { display: none !important; }
  body { background: white; color: #111; }
  main { width: 100%; }
  .split-workspace { display: block; margin: 0; }
  .output-pane { padding: 0; border: 0; box-shadow: none; }
  .report { margin: 0; }
  .reader-summary { background: white; color: #111; border: 1px solid #aaa; }
  .reader-summary h2, .reader-summary p, .plain-status-grid p, .plain-card p, .plain-next p { color: #111; }
  .direction-range-note, .direction-call, .direction-metric > span,
  .direction-metric strong, .direction-metric small, .direction-action > span { color: #111 !important; }
  .direction-metrics, .direction-action { border-color: #aaa; background: white; }
  .direction-metric { background: white; }
  .report-detail { display: block; margin: 0; border: 0; overflow: visible; }
  .report-detail > .detail-content, .technical-note > .method-note { display: block !important; padding: 0; }
  .report-block { break-inside: avoid; }
}
