:root{--ink:#18221f;--muted:#65716d;--paper:#f5f7f2;--card:#fff;--line:#dce4dc;--mint:#b9e6d1;--green:#227153;--orange:#ed8b4c;--blue:#6c91d4;--violet:#9c7cc9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.shell{max-width:1320px;margin:auto;padding:0 42px}
.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.brand{color:var(--ink);font-weight:800;font-size:16px;letter-spacing:-.02em;text-decoration:none;display:flex;align-items:center;gap:10px}
.brand em{font-style:normal;color:var(--green);font-weight:500}
.brand-mark{height:29px;width:29px;border-radius:9px;background:var(--ink);color:var(--mint);display:grid;place-items:center;font-weight:900}
.status{font-size:12px;color:var(--muted);letter-spacing:.02em}
.language-toggle{border:1px solid var(--line);border-radius:999px;background:white;color:var(--green);padding:7px 11px;font-size:11px;font-weight:700;cursor:pointer;letter-spacing:.03em}
.language-toggle:hover,.language-toggle:focus-visible{border-color:var(--green);outline:3px solid #b9e6d155}
.pulse{display:inline-block;width:7px;height:7px;background:#53af7c;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #dcefe5}
.slash{margin:0 10px;color:#bbc8c0}
.hero{display:flex;justify-content:space-between;gap:50px;padding:74px 0 48px}
.hero-copy{max-width:700px}
.eyebrow,.section-kicker,.note-label{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--green)}
.eyebrow span{font-size:15px;margin-left:5px}
.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.05;letter-spacing:-.065em;margin:18px 0 22px;font-weight:800}
#hero-title-sub{color:var(--green)}
.lede{max-width:610px;color:var(--muted);font-size:17px;line-height:1.65;margin:0}
.hero-note{align-self:end;max-width:240px;border-left:2px solid var(--mint);padding:4px 0 4px 20px;color:var(--muted);font-size:12px}
.hero-note p{margin:9px 0 0;line-height:1.55}
.hero-note b{color:var(--ink)}
.toolbar{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:20px 0;flex-wrap:wrap}
.search{background:var(--card);border:1px solid var(--line);height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;border-radius:10px;max-width:510px;flex:1;box-shadow:0 3px 12px #253e2610}
.search>span{font-size:24px;color:var(--green);line-height:1}
.search input{border:0;outline:0;min-width:0;flex:1;font:inherit;color:var(--ink);background:transparent}
.search kbd{border:1px solid var(--line);border-radius:4px;padding:1px 6px;color:#8b9991;font-size:11px}
.result-count{font-size:12px;color:var(--muted)}
.category-filter select{height:48px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;padding:0 32px 0 12px;box-shadow:0 3px 12px #253e2610;cursor:pointer}
.category-filter select:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.map-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,.75fr);gap:20px;align-items:start}
.map-panel,.detail-panel{background:var(--card);border:1px solid var(--line);border-radius:14px}
.map-panel{padding:24px}
.map-heading{display:flex;justify-content:space-between;align-items:center}
.legend{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:9px}
.dot:first-child{margin-left:0}
.problem-dot{background:var(--orange)}
.recipe-dot{background:var(--green)}
.pattern-dot{background:var(--violet)}
.graph{position:relative;display:grid;grid-template-columns:1fr 1.05fr 1fr;gap:22px;margin:25px 5px 10px;padding:8px 0}
.graph:before,.graph:after{content:"";position:absolute;left:30%;right:30%;height:1px;background:var(--line);z-index:0}
.graph:before{top:33%}
.graph:after{top:66%}
.graph-col{display:flex;flex-direction:column;gap:12px;z-index:1}
.node{border:1px solid var(--line);background:#fbfcfa;border-radius:10px;text-align:left;padding:14px 14px 13px;cursor:pointer;transition:.18s ease;min-height:88px;color:var(--ink);font:inherit}
.node:hover,.node:focus-visible{border-color:#8bc8a9;box-shadow:0 5px 15px #22715316;transform:translateY(-2px);outline:none}
.node[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 3px #b9e6d155;background:#f2fbf5}
.node-type{font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:6px;display:block}
.node.problem .node-type{color:var(--orange)}
.node.recipe .node-type{color:var(--green)}
.node.pattern .node-type{color:var(--violet)}
.node-title{font-weight:750;line-height:1.25;font-size:13px}
.node-meta{color:var(--muted);font-size:11px;margin-top:6px}
.graph-hint{border-top:1px solid var(--line);padding-top:14px;color:#8a9790;font-size:11px;margin:19px 0 0}
.graph-hint span{color:var(--green);font-size:17px;vertical-align:-1px;margin-left:5px}
.detail-panel{padding:27px;position:sticky;top:18px;min-height:395px}
.detail-kicker{color:var(--green);font-size:10px;font-weight:800;letter-spacing:.15em}
.detail-panel h2{font-size:27px;line-height:1.12;letter-spacing:-.04em;margin:14px 0 11px}
.detail-copy{color:var(--muted);line-height:1.65;margin:0 0 21px}
.route-chip{display:inline-flex;align-items:center;gap:7px;background:#f1f7f2;border:1px solid #d8e9dc;border-radius:20px;padding:6px 10px;color:var(--green);font-size:11px;font-weight:700}
.route-chip span{font-size:16px}
.detail-section{border-top:1px solid var(--line);padding-top:16px;margin-top:21px}
.detail-label{font-size:10px;letter-spacing:.14em;color:#89968e;font-weight:800;text-transform:uppercase}
.version{font-size:12px;color:var(--ink);font-weight:700;margin-top:6px}
.command{margin:10px 0 0;background:#18221f;color:#d4f0df;padding:12px;border-radius:7px;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto;white-space:pre-wrap}
.actions{display:flex;gap:9px;margin-top:20px}
.button{border:1px solid var(--green);border-radius:7px;padding:10px 13px;text-decoration:none;font:700 12px inherit;cursor:pointer}
.button.primary{background:var(--green);color:white}
.button.secondary{color:var(--green);background:white}
.button:hover,.button:focus-visible{filter:brightness(.95);outline:3px solid #b9e6d155}
.empty{padding:60px 15px;color:var(--muted);text-align:center;grid-column:1/-1}footer{display:flex;justify-content:space-between;color:#8a9790;font-size:11px;padding:28px 0 40px}
@media(max-width:800px){.shell{padding:0 18px}
.topbar{height:66px}
.status{font-size:11px}
.status .slash,.status{font-size:0}
.status .pulse{font-size:initial}
.hero{display:block;padding:51px 0 34px}
.hero h1{font-size:43px}
.lede{font-size:15px}
.hero-note{margin-top:30px;max-width:100%}
.map-layout{grid-template-columns:minmax(0,1fr)}
.detail-panel{position:relative;top:0}
.graph{grid-template-columns:1fr;gap:10px}
.graph:before,.graph:after{display:none}
.graph-col{gap:10px}
.node{min-height:0}
.legend{display:none}footer{padding-bottom:25px}}

.graph { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
.graph::before, .graph::after { display: none; }
.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.graph-lines path { fill: none; stroke: #b6c7bf; stroke-width: 2; }
.graph-lines path.active { stroke: var(--green); stroke-width: 3; }
.node { z-index: 1; overflow-wrap: anywhere; }
.node-meta { display: block; }
.node:hover, .node:focus-visible { transform: none; }
.search:focus-within { outline: 2px solid var(--green); }
.requirement { color: var(--muted); font-size: 12px; margin: 5px 0 16px; }
.button { font-size: 12px; font-weight: 700; }
@media (max-width: 540px) {
  .map-panel { padding: 15px; }
  .graph { margin-inline: 0; gap: 10px; }
  .node { padding: 9px 7px; min-height: 76px; }
  .node-title { display: block; font-size: 11px; }
  .node-meta { font-size: 10px; }
  .toolbar { gap: 8px; }
  .category-filter { flex: 1; }
  .category-filter select { width: 100%; }
  .search kbd { display: none; }
  .result-count { max-width: 72px; }
}

.tag-filter {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.recipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.recipe-tag {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--green);
  padding: 4px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.recipe-tag[aria-pressed="true"] { background: var(--green); color: white; }

.actions { flex-wrap: wrap; }

.workflow-preview { margin-top: 18px; }
.workflow-preview h3 { margin: 12px 0 6px; font-size: 14px; }
.workflow-settings { min-width: 0; }
.config-name { font-size: 12px; color: var(--green); }
.config-picker { width: 100%; font: inherit; }
.config-source {
  max-height: 190px;
  overflow: auto;
  margin: 6px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f5f8f6;
  font: 12px/1.5 ui-monospace, monospace;
}

.detail-panel { min-width: 0; }
.command { overflow-wrap: anywhere; }

.spotlights { margin-bottom: 20px; }
.spotlights h2 { font-size: 16px; margin: 0 0 9px; }
.spotlight-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.spotlight-card { display: grid; gap: 5px; padding: 13px 16px; color: var(--ink); background: #f5faf7; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.spotlight-card:focus-within { border-color: var(--green); }
.spotlight-card p { font-size: 13px; line-height: 1.45; margin: 0; }
.spotlight-title { color: var(--ink); font-weight: 700; text-decoration: none; }
.spotlight-report { color: var(--green); font-size: 12px; justify-self: start; }

.preview-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.preview-controls button { cursor: pointer; font-family: inherit; }
.preview-controls button[aria-pressed="true"] { color: white; background: var(--green); }
.preview-content { min-width: 0; }
.recipe-document { max-height: 28rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .9rem; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.document-source { display: inline-block; margin-top: 12px; }
.detail-panel { scroll-margin-top: 18px; }


.hero { padding: 26px 0 22px; }
.hero h1 { font-size: clamp(29px, 4vw, 46px); letter-spacing: -.045em; margin: 2px 0 10px; }
.lede { font-size: 15px; }
.catalog-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 18px; align-items: start; }
.recipe-gallery, .recipe-map { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.recipe-gallery h2 { margin: 0; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.recipe-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 8px; max-height: min(70vh, 680px); overflow: auto; overscroll-behavior: contain; }
.recipe-card { position: relative; border-radius: 8px; }
.recipe-card:has(a[aria-current="true"]) { background: #eaf5ed; box-shadow: inset 0 0 0 2px var(--green); }
.recipe-card-link { display: flex; flex-direction: column; gap: 6px; padding: 7px; height: 100%; border-radius: inherit; color: var(--ink); text-decoration: none; }
.recipe-card-link::after { content: ""; position: absolute; inset: 0; }
.recipe-card-link h3 { margin: 0; font-size: .8rem; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.recipe-card-svg { width: 100%; aspect-ratio: 738 / 169; object-fit: contain; background: #eadeca; border-radius: 4px; }
.detail-panel { position: relative; top: auto; scroll-margin-top: 12px; }
.recipe-card-link:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.back-to-recipes { display: none; }
.recipe-map { margin: 18px 0 0; }
.recipe-map summary { padding: 12px 16px; cursor: pointer; color: var(--green); font-weight: 650; }
.recipe-map .map-panel { border: 0; }
@media (max-width: 760px) {
  .catalog-layout { display: block; }
  .catalog-layout:not(.has-selection) .detail-panel, .catalog-layout.has-selection .recipe-gallery { display: none; }
  .recipe-cards { max-height: none; overflow: visible; }
  .back-to-recipes { display: block; margin: 0 0 14px; padding: 0; border: 0; background: none; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }
}


.recipe-summary .detail-copy { margin-bottom: 8px; }
.recipe-summary h2 { margin-top: 5px; }
.recipe-summary .actions { margin-top: 10px; }
.recipe-build { margin: 0; color: var(--muted); font-size: .8rem; }
.workflow-settings { margin-top: 12px; }
.spotlights { margin-top: 20px; }

.recipe-what, .recipe-guide h3 { font-size: .88rem; margin: 0 0 5px; }
.recipe-guide { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.recipe-when { margin: 0 0 13px; color: var(--muted); font-size: .88rem; }

.flood-replay { margin-top: 18px; padding: 14px; background: #f5f8f6; border: 1px solid var(--line); border-radius: 9px; }
.flood-replay h3 { margin: 0 0 4px; font-size: 1.12rem; }
.replay-caption, .replay-reason { margin: 0 0 10px; color: var(--muted); font-size: .83rem; }
.replay-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.replay-controls button { font-family: inherit; cursor: pointer; }
.replay-controls button[aria-pressed="true"] { color: #fff; background: #164d3a; }
.flood-replay svg { display: block; width: 100%; background: #e8f0e6; border-radius: 7px; }
.flood-replay svg text { fill: #122e25; font: 600 14px system-ui, sans-serif; }
.replay-river { fill: none; stroke: #afcfe0; stroke-width: 44px; }
.replay-road { fill: none; stroke: #abb7a9; stroke-width: 3px; }
.replay-road.replay-closed { stroke: #a93730; stroke-dasharray: 7 6; }
.flood-replay svg .replay-blocked-label { fill: #8a211a; }
.replay-node { fill: #fff; stroke: #164d3a; stroke-width: 3px; }
.replay-trip { fill: none; stroke-width: 5px; stroke-linecap: round; }
.replay-trip.heavy { stroke: #2462a1; }
.replay-trip.light { stroke: #24724b; stroke-dasharray: 6 5; }
.replay-truck { stroke: #fff; stroke-width: 2px; }
.replay-truck.heavy { fill: #2462a1; }
.replay-truck.light { fill: #24724b; }
.replay-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.replay-stat { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 6px; background: #fff; }
.replay-stat strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.replay-stat span, .replay-source { font-size: .76rem; }
.replay-trip-list, .replay-short { margin: 8px 0; font-size: .83rem; }
.replay-trip-list { padding-left: 20px; }
.replay-trip-list .heavy::marker { color: #2462a1; }
.replay-trip-list .light::marker { color: #24724b; }

.evidence-replay { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f5f8f6; }
.evidence-replay h3 { margin: 0 0 3px; font-size: 1.1rem; }
.evidence-caption { margin: 0 0 10px; color: var(--muted); font-size: .83rem; }
.evidence-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.evidence-sheet { padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.evidence-sheet h4 { margin: 0 0 7px; font-size: .82rem; }
.evidence-sheet dl { margin: 0; }
.evidence-entry { border-inline-start: 3px solid #98a9a0; padding: 4px 8px; margin: 0 0 5px; background: #f4f7f5; overflow-wrap: anywhere; }
.evidence-entry:last-child { margin-bottom: 0; }
.evidence-entry.attention { border-color: #b56824; background: #fff5e8; }
.evidence-entry.resolved { border-color: var(--green); background: #eef7ef; }
.evidence-entry dt { font-size: .74rem; font-weight: 700; }
.evidence-entry dd { margin: 1px 0 0; font-size: .82rem; }
.evidence-outcome { min-width: 0; }
.reveal-outcome { cursor: pointer; font: inherit; font-size: .8rem; max-width: 100%; text-align: start; }
.evidence-result { margin-top: 8px; }
.evidence-lesson { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .evidence-result:not([hidden]) { animation: reveal-evidence 220ms ease-out; }
  @keyframes reveal-evidence { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 540px) { .evidence-board { grid-template-columns: minmax(0, 1fr); } }
.evidence-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.reveal-outcome[aria-expanded="true"] { outline: 2px solid var(--green); outline-offset: 2px; }

.recipe-how { margin: 0 0 13px; color: var(--muted); font-size: .88rem; }

.evidence-board { display: block; }
.problem-infographic { margin: 0 0 12px; }
.problem-infographic figcaption { margin-bottom: 7px; font-size: .78rem; font-weight: 700; }
.problem-scene { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr)); gap: 8px; margin: 0; padding: 0; }
.problem-node { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px; background: #fff; border: 1px solid #cad8cc; border-radius: 8px; font-size: .78rem; overflow-wrap: anywhere; }
.problem-node svg { width: 30px; height: 30px; padding: 4px; border-radius: 6px; color: #285a47; background: #e5f0e7; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.problem-node.attention { background: #fff7eb; border-color: #e0bb93; }
.problem-node.attention svg { color: #925019; background: #f5e5cd; }
.problem-node.resolved { background: #eef7ef; }
.problem-node span { color: #45564e; }
.problem-compare .problem-scene { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.problem-timeline .problem-scene { border-block-start: 2px solid #97b8a4; padding-top: 6px; }
.problem-records .problem-node { border-radius: 2px; border-inline-start-width: 4px; }
.problem-gates .problem-node { border-block-start-width: 4px; }
.problem-queue .problem-node { border-inline-start-width: 4px; }

.change-graphic { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: stretch; margin: 11px 0; }
.change-card { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 8px; outline: 2px solid transparent; outline-offset: -2px; }
.change-card.problem { background: #fff3e3; }
.change-card.result { background: #edf7ef; }
.change-label { font-size: .72rem; font-weight: 700; color: #485a50; }
.change-card strong { font-size: .88rem; line-height: 1.35; overflow-wrap: anywhere; }
.change-track { position: relative; display: grid; place-items: center; color: var(--green); font-weight: 750; }
.change-arrow { font-size: 1.25rem; }
.change-token { position: absolute; inset: 0 auto auto 0; width: 10px; height: 10px; border-radius: 50%; background: #227153; opacity: 0; pointer-events: none; }
@media (max-width: 480px) {
  .change-graphic { grid-template-columns: minmax(0, 1fr); }
  .change-track { min-height: 25px; }
  .change-arrow { transform: rotate(90deg); }
}

.recipe-walkthrough-title { margin: 0 0 4px; font-size: .82rem; }
.recipe-walkthrough { max-width: 75ch; }




.recipe-story { margin: 18px 0; padding: 13px; border: 1px solid #274843; border-radius: 10px; background: #183631; color: #fff7e8; }
.recipe-story h3 { margin: 0 0 9px; font-size: clamp(1rem, 2vw, 1.24rem); letter-spacing: -.015em; }
.story-display { width: 100%; height: auto; aspect-ratio: 738 / 169; overflow: hidden; border-radius: 6px; background: #eadeca; }
.story-display svg { display: block; width: 100%; height: 100%; }
.story-beat .story-outline { fill: none; stroke: transparent; stroke-width: 3px; }
.story-beat.current .story-outline { stroke: #387b72; }
.story-controls { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 7px; }
.story-scene-button { flex: 1 1 125px; text-align: left; padding: 7px 8px; background: #23463f; color: #eaece4; border: 1px solid #55766b; border-radius: 5px; font: 650 .76rem/1.3 system-ui, sans-serif; cursor: pointer; }
.story-scene-button[aria-pressed="true"] { background: #f3e5cc; color: #15332d; border-color: #f3e5cc; }
.story-caption { margin: 0 0 9px; font-size: .85rem; }
.story-play.button { white-space: normal; background: #f3e5cc; color: #173831; border-color: #f3e5cc; cursor: pointer; font-family: inherit; }
.story-scene-button:focus-visible, .story-play:focus-visible { outline: 2px solid #fff7e8; outline-offset: 2px; }
@media (max-width: 660px) { .story-display { aspect-ratio: 238 / 155; } }

.study-chat { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f5f8f6; }
.study-chat h3 { margin: 0 0 4px; font-size: 1.12rem; }
.study-chat-note { color: var(--muted); margin: 0 0 10px; font-size: .83rem; }
.study-messages { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.study-message { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
.study-message.dr { margin-inline-start: min(5%, 24px); }
.study-avatar { display: grid; place-items: center; align-self: start; height: 32px; border-radius: 50%; background: #dcf0e8; color: #1c5442; font-size: .74rem; font-weight: 750; }
.study-message.dr .study-avatar { background: #f2e5ce; color: #723e18; }
.study-bubble { min-width: 0; padding: 8px 10px; border: 1px solid #c8decf; border-radius: 0 9px 9px 9px; background: #fff; }
.study-message.dr .study-bubble { border-color: #e8d5b9; background: #fff8ec; }
.study-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; font-size: .82rem; }
.study-meta span { color: var(--muted); font-size: .74rem; }
.study-quote { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .83rem; }
.study-handoff { background: #e7f3eb; margin: 12px 0 6px; padding: 10px; border-radius: 7px; }
.study-handoff h4, .study-handoff p { margin: 0 0 5px; font-size: .84rem; }
.study-handoff p:last-child { margin: 0; }
.study-chat-source { font-size: .79rem; }

.recorded-evidence { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f8faf8; scroll-margin-top: 14px; }
.recorded-evidence h3 { font-size: 1.12rem; margin: 0 0 6px; }
.recorded-context { width: fit-content; margin: 0 0 10px; padding: 4px 8px; border-radius: 4px; background: #e4eee7; color: #244f3b; font-size: .76rem; font-weight: 700; }
.recorded-context.has-simulation { background: #f9e9cd; color: #70421d; }
.recorded-evidence-body { min-width: 0; font-size: .85rem; overflow-wrap: anywhere; }
.recorded-evidence-body h4, .recorded-evidence-body p, .recorded-evidence-body ul, .recorded-evidence-body ol { margin: 0 0 8px; }
.recorded-evidence-body ul, .recorded-evidence-body ol { padding-inline-start: 22px; }
.recorded-table-frame, .recorded-code { max-width: 100%; overflow: auto; margin: 0 0 10px; }
.recorded-table { border-collapse: collapse; width: 100%; background: #fff; }
.recorded-table th, .recorded-table td { padding: 6px 8px; border: 1px solid var(--line); text-align: start; }
.recorded-table th { background: #eaf1ec; }
.recorded-code { background: #1a3029; color: #eef3ed; padding: 10px; border-radius: 6px; font: .78rem/1.55 ui-monospace, monospace; }
.recorded-source { font-size: .79rem; }

.release-target { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.release-target a { color: var(--green); font-weight: 700; }
