:root {
  color-scheme: light;
  --paper: #f3f5f1;
  --paper-2: #eef1ec;
  --surface: #fbfcfa;
  --surface-strong: #ffffff;
  --ink: #18211c;
  --ink-2: #35423a;
  --muted: #68736d;
  --quiet: #8a948e;
  --line: #d9dfda;
  --line-strong: #bfc9c1;
  --signal: #286147;
  --signal-dark: #1b4834;
  --signal-soft: #e7efe9;
  --verified: #1f7a50;
  --warning: #a85b16;
  --fact: #e7f0ea;
  --inference: #eef0f3;
  --recommendation: #eef2e6;
  --unknown: #f3eee7;
  --shadow: 0 18px 50px rgb(28 54 39 / 0.09);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-editorial: "Songti SC", STSong, "Noto Serif SC", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-card: 16px;
  --radius-control: 10px;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgb(40 97 71 / 0.035), transparent 28rem),
    linear-gradient(rgb(255 255 255 / 0.28), rgb(255 255 255 / 0));
}
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { min-height: 44px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd { margin: 0; }
ul { margin: 0; padding-left: 1.2em; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 90;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgb(40 97 71 / 0.28); outline-offset: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(250 251 248 / 0.94);
  backdrop-filter: blur(18px) saturate(120%);
}
.header-inner {
  width: min(1440px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; min-height: 48px; }
.media-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgb(40 97 71 / 0.32);
  border-radius: 50%;
  background: var(--surface-strong);
}
.media-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(40 97 71 / 0.42);
  border-radius: 50%;
}
.media-mark::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  width: 2px;
  height: 19px;
  border-radius: 3px;
  background: var(--signal);
  transform: rotate(34deg);
  transform-origin: 50% 100%;
}
.media-mark i:first-child {
  position: absolute;
  left: 17px;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-dark);
}
.media-mark i:not(:first-child) { display: none; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 18px; font-weight: 760; letter-spacing: -0.03em; }
.brand-copy strong span { color: var(--signal); }
.brand-copy strong i { display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: var(--verified); vertical-align: top; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; }
.task-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 48px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-2);
}
.task-nav a {
  min-width: 96px;
  min-height: 44px;
  padding: 5px 17px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  border-radius: 9px;
  color: var(--muted);
}
.task-nav a b { align-self: end; font-size: 13px; line-height: 1.1; }
.task-nav a small { align-self: start; font-size: 10px; line-height: 1.1; }
.task-nav a.is-active { background: var(--surface-strong); color: var(--signal-dark); box-shadow: 0 1px 5px rgb(36 58 45 / 0.08); }
.header-status { justify-self: end; display: grid; line-height: 1.25; text-align: right; }
.header-status span { color: var(--ink-2); font-size: 13px; }
.header-status b { color: var(--signal-dark); font-family: var(--font-mono); font-size: 14px; }
.header-status small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.page-shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 80px; }
.page-enter { animation: page-in 180ms ease-out both; }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eyebrow { display: block; color: var(--signal); font-size: 11px; font-weight: 720; letter-spacing: 0.08em; }

.radar-intro {
  display: grid;
  grid-template-columns: minmax(440px, 0.82fr) minmax(640px, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: 15px 0 12px;
}
.radar-lead h1, .method-lead h1 {
  margin-top: 9px;
  font-family: var(--font-editorial);
  font-size: clamp(39px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.radar-lead p, .method-lead p { max-width: 42em; margin-top: 9px; color: var(--muted); font-size: 13px; }
.coverage-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.58);
}
.coverage-ledger > div { min-height: 82px; padding: 11px 14px 10px; border-right: 1px solid var(--line); }
.coverage-ledger > div:last-child { border-right: 0; }
.coverage-ledger dt { color: var(--muted); font-size: 11px; }
.coverage-ledger dd { margin-top: 5px; font-family: var(--font-editorial); font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -0.04em; }
.coverage-ledger small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.coverage-ledger > div:first-child { background: var(--signal-soft); }
.coverage-ledger > div:first-child dd { color: var(--signal-dark); }

.radar-utility {
  min-height: 50px;
  margin-bottom: 10px;
  padding: 7px 8px 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.45);
}
.radar-utility > span { color: var(--muted); font-size: 12px; }
.radar-utility > div { display: flex; gap: 7px; }
.button, .radar-utility button, .workspace-head-actions button, .workspace-head-actions a, .io-actions button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface-strong);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 680;
}
.button.primary, button.primary, a.primary { border-color: var(--signal-dark); background: var(--signal-dark); color: #f8fbf8; }
.button:active, button:active, a.button:active { transform: translateY(1px); }

.radar-workbar {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.radar-workbar .object-switcher { flex: 1 1 auto; margin-top: 0; border-bottom: 0; }
.radar-workbar-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.radar-workbar-actions .button { min-height: 44px; background: transparent; }

.skip-undo, .active-context {
  min-height: 48px;
  margin: 10px 0;
  padding: 8px 12px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 11px;
  background: var(--signal-soft);
  color: var(--signal-dark);
}
.skip-undo button, .active-context button { min-height: 44px; padding: 0 12px; border: 1px solid rgb(40 97 71 / 0.25); border-radius: 8px; background: white; }

.object-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 50px;
  margin-top: 0;
  border-bottom: 1px solid var(--line-strong);
}
.object-switcher button {
  position: relative;
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.object-switcher button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: transparent; }
.object-switcher button.is-active { color: var(--signal-dark); }
.object-switcher button.is-active::after { background: var(--signal); }
.object-switcher b { font-size: 15px; }
.object-switcher span { min-width: 24px; padding: 1px 6px; border-radius: 999px; background: var(--paper-2); font-family: var(--font-mono); font-size: 11px; text-align: center; }
.object-switcher small { font-size: 11px; }

.radar-controls {
  position: sticky;
  top: calc(var(--header-height) + 8px);
  z-index: 30;
  min-height: 56px;
  margin: 6px 0 7px;
  padding: 5px;
  display: grid;
  grid-template-columns: auto auto auto minmax(250px, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgb(250 251 248 / 0.95);
  box-shadow: 0 8px 24px rgb(30 59 42 / 0.06);
  backdrop-filter: blur(18px);
}
.mode-tabs, .channel-tabs, .filter-cluster { display: flex; align-items: center; gap: 4px; }
.mode-tabs { padding-right: 8px; border-right: 1px solid var(--line); }
.mode-tabs button, .channel-tabs button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
}
.mode-tabs button.is-active, .channel-tabs button.is-active { background: var(--signal-dark); color: white; }
.channel-tabs button b { margin-left: 4px; font-family: var(--font-mono); font-size: 10px; }
.channel-tabs button.is-pending { color: var(--quiet); opacity: 0.68; cursor: not-allowed; }
.filter-cluster select, .radar-search input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  font-size: 12px;
}
.filter-cluster select { min-width: 118px; padding: 0 34px 0 11px; }
.radar-search { position: relative; min-width: 0; }
.radar-search input { width: 100%; padding: 0 54px 0 14px; }
.radar-search input::placeholder { color: #727d76; }
.radar-search kbd { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--paper); font-family: var(--font-mono); font-size: 10px; }

.results-meta {
  min-height: 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.results-meta h2 { font-size: 17px; letter-spacing: -0.02em; }
.results-meta p { color: var(--muted); font-size: 12px; }
.section-index { display: none; }

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 0 1px 0 rgb(25 50 35 / 0.03);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.work-card:hover { transform: translateY(-3px); border-color: #afbbb2; box-shadow: var(--shadow); }
.work-card.is-seen { border-color: #c4cec6; }
.work-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2.08 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e7ece8;
}
.work-card.is-textual .work-visual { aspect-ratio: 2.65 / 1; }
.work-poster, .entity-poster, .focus-poster, .detail-poster, .library-poster { width: 100%; height: 100%; object-fit: cover; }
.work-poster { transition: transform 220ms ease; }
.work-visual:hover .work-poster { transform: scale(1.018); }
.media-fallback {
  width: 100%;
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  background:
    linear-gradient(135deg, rgb(40 97 71 / 0.08), transparent 58%),
    #edf1ed;
  color: var(--ink);
  text-align: left;
}
.media-fallback.is-card-fallback { padding: 21px 22px; justify-content: center; }
.media-fallback.is-card-fallback b { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; }
.media-fallback small { color: var(--signal); font-size: 11px; font-style: normal; }
.media-fallback b { display: -webkit-box; overflow: hidden; font-family: var(--font-editorial); font-size: clamp(19px, 2vw, 27px); line-height: 1.2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.media-fallback em { color: var(--muted); font-size: 12px; font-style: normal; }
.work-card-head { padding: 13px 15px 0; }
.work-byline, .detail-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.channel-badge {
  min-height: 25px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--channel) 68%, white);
  border-radius: 7px;
  background: color-mix(in srgb, var(--channel) 7%, white);
  color: color-mix(in srgb, var(--channel) 80%, #17211b);
  font-size: 11px;
  font-weight: 720;
}
.verified-label { color: var(--verified); font-size: 11px; font-weight: 680; }
.verified-label::before { content: "✓"; margin-right: 4px; }
.work-card-head h3 { margin-top: 9px; min-height: 2.5em; display: -webkit-box; overflow: hidden; font-family: var(--font-editorial); font-size: 19px; line-height: 1.25; letter-spacing: -0.03em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.work-format { margin-top: 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; color: var(--muted); font-size: 10.5px; }
.work-format span + span::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.work-format b { max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.radar-judgment { margin: 11px 17px 0; padding: 9px 11px; border-left: 2px solid var(--line-strong); background: #f7f8f6; }
.radar-judgment small { color: var(--muted); font-size: 10px; }
.radar-judgment p { margin-top: 3px; display: -webkit-box; overflow: hidden; color: var(--ink-2); font-size: 11.5px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.series-state { margin: 11px 15px 0; padding: 7px 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); color: var(--muted); }
.series-state b { flex: 0 0 auto; color: var(--signal-dark); font-size: 12px; }
.series-state span { overflow: hidden; font-size: 12px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.work-card .series-state { margin-top: auto; align-items: flex-start; flex-direction: column; gap: 2px; }
.work-card .series-state span { text-align: left; white-space: normal; }
.signal-strip { margin-top: 0; padding: 8px 15px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.signal-strip > div { min-width: 0; padding: 0 10px; border-left: 1px solid var(--line); }
.signal-strip > div:first-child { padding-left: 0; border-left: 0; }
.signal-strip small, .signal-strip span { display: block; color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signal-strip b { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.signal-strip span { margin-top: 2px; font-size: 8px; }
.signal-strip .metric-delta { color: var(--ink-2); font-size: 12px; font-weight: 700; line-height: 1.3; white-space: normal; }
.signal-strip .metric-rate { color: var(--signal); font-family: var(--font-mono); font-size: 12px; line-height: 1.3; white-space: normal; }
.signal-strip .metric-correction, .signal-strip .metric-trend { display: block; margin-top: 3px; color: var(--warning); font-size: 12px; font-style: normal; line-height: 1.3; }
.signal-strip .metric-trend { color: var(--signal-dark); }
.signal-strip [data-metric-state="unavailable"] b { color: var(--quiet); font-family: var(--font-ui); font-size: 12px; }
.work-card-actions { min-height: 53px; padding: 4px 6px; display: grid; grid-template-columns: repeat(4, minmax(44px, 1fr)); align-items: center; gap: 2px; border-top: 1px solid var(--line); }
.work-card-actions a, .work-card-actions button { min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); white-space: nowrap; font-size: 10.5px; font-weight: 650; }
.work-card-actions .source-action { display: inline-flex; align-items: center; color: var(--signal); }
.work-card-actions .save-action { color: var(--signal-dark); }
.work-card-actions .save-action.is-saved { background: var(--signal-soft); }
.work-card-actions .open-action { background: var(--signal-dark); color: white; }
.batch-pager { margin-top: 20px; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 13px; background: rgb(255 255 255 / 0.48); }
.batch-pager b { font-size: 13px; }
.batch-pager p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.batch-pager button { min-width: 104px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; color: var(--signal-dark); font-weight: 700; }

.entity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entity-card, .topic-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: var(--surface-strong); }
.entity-visual { width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--paper-2); overflow: hidden; }
.entity-copy { padding: 17px; }
.entity-copy h3, .topic-card h3 { margin-top: 10px; font-family: var(--font-editorial); font-size: 23px; line-height: 1.2; }
.entity-copy > p, .topic-card > p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.entity-copy dl { margin-top: 16px; display: grid; gap: 9px; }
.entity-copy dl div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; font-size: 11px; }
.entity-copy dt { color: var(--muted); }
.entity-copy dd { color: var(--ink-2); }
.entity-copy > button, .topic-card > button { min-height: 44px; margin-top: 16px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--signal-dark); font-weight: 700; }
.topic-card { padding: 19px; }
.topic-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.topic-card header small { color: var(--muted); font-size: 10px; }
.topic-card header strong { color: var(--signal); font-family: var(--font-mono); font-size: 22px; }
.topic-channels { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.topic-channels span { padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--channel) 8%, white); color: var(--ink-2); font-size: 10px; }
.topic-card ul { margin-top: 15px; display: grid; gap: 6px; color: var(--ink-2); font-size: 11px; }

.focus-browser { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.focus-main { min-width: 0; display: grid; grid-template-columns: minmax(420px, 1.35fr) minmax(360px, 1fr); border: 1px solid var(--line-strong); border-radius: var(--radius-card); overflow: hidden; background: white; }
.focus-main.is-textual { grid-template-columns: minmax(0, 1fr); }
.focus-main.is-textual .focus-copy { max-width: 820px; padding: 46px; }
.focus-visual { min-height: 560px; background: var(--paper-2); }
.focus-copy { padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.focus-copy > h2 { margin-top: 16px; font-family: var(--font-editorial); font-size: clamp(30px, 3vw, 43px); line-height: 1.1; letter-spacing: -0.05em; }
.focus-copy > p { margin-top: 13px; color: var(--muted); font-size: 13px; }
.focus-why { margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focus-why small { color: var(--muted); font-size: 10px; }
.focus-why b { display: block; margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.focus-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.focus-actions button { min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 12px; }
.focus-actions button.primary { border-color: var(--signal-dark); background: var(--signal-dark); }
.focus-rail { min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.5); }
.focus-rail-head { min-height: 62px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.focus-rail-head b { font-size: 13px; }
.focus-rail-head small { color: var(--muted); font-size: 10px; }
.focus-list { max-height: 690px; overflow: auto; }
.focus-list button { width: 100%; min-height: 68px; padding: 10px 12px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.focus-list button.is-active { background: var(--signal-soft); }
.focus-list i { color: var(--quiet); font-family: var(--font-mono); font-size: 10px; font-style: normal; }
.focus-list span { min-width: 0; }
.focus-list b, .focus-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-list b { font-size: 12px; }
.focus-list small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.retain-mechanism { margin-top: 18px; }
.retain-mechanism label { display: block; margin-bottom: 6px; font-weight: 700; }
.retain-mechanism textarea { width: 100%; min-height: 100px; padding: 11px; border: 1px solid var(--line-strong); border-radius: 8px; resize: vertical; }
.retain-mechanism button { min-height: 44px; margin-top: 8px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--signal-dark); color: white; }
.source-proof { margin-top: 15px; padding: 12px 13px; display: grid; gap: 10px; border: 1px solid rgb(31 122 80 / 0.23); border-radius: 9px; background: #f2f7f3; }
.source-proof > div { display: flex; justify-content: space-between; gap: 12px; }
.source-proof b { color: var(--verified); font-size: 11px; }
.source-proof span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-align: right; }
.source-proof nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.source-proof a { min-height: 44px; min-width: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--signal-dark); font-size: 10px; font-weight: 700; text-decoration: underline; text-decoration-color: rgb(40 97 71 / 0.25); text-underline-offset: 3px; }

.private-observations, .workspace-search-results { margin-top: 30px; }
.private-observation-list, .workspace-search-list { display: grid; gap: 9px; }
.private-observation-row { padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; }
.private-observation-row b, .private-observation-row p { display: block; }
.private-observation-row p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.private-observation-row a { color: var(--signal); font-size: 11px; }
.private-observation-row button { min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.workspace-search-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workspace-search-list a { min-height: 100px; padding: 14px; display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.workspace-search-list span, .workspace-search-list small { color: var(--muted); font-size: 10px; }
.user-reported-label, .workspace-provenance, .brief-provenance { color: var(--warning); font-size: 11px; }

.dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: 32px;
  display: grid;
  place-items: center;
  background: rgb(17 25 20 / 0.62);
  backdrop-filter: blur(9px);
}
.work-dialog, .observation-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 64px));
  max-height: calc(100dvh - 64px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: 0 30px 90px rgb(6 20 12 / 0.28);
}
.dialog-close {
  position: sticky;
  top: 14px;
  z-index: 4;
  float: right;
  width: 44px;
  height: 44px;
  margin: 14px 14px -58px 0;
  border: 1px solid rgb(24 33 28 / 0.15);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.94);
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 4px 14px rgb(19 38 27 / 0.1);
}
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr); min-height: 440px; }
.detail-visual { min-height: 440px; background: var(--paper-2); overflow: hidden; }
.detail-poster { object-fit: contain; background: #e8ede9; }
.detail-lead { padding: 38px 36px 28px; }
.detail-lead h2 { margin-top: 15px; font-family: var(--font-editorial); font-size: clamp(31px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.055em; }
.detail-byline { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--muted); font-size: 11px; }
.detail-byline b { color: var(--ink-2); }
.detail-lead > p:not(.detail-byline) { margin-top: 13px; color: var(--muted); font-size: 12px; }
.detail-hero.is-editorial {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 290px;
  background: linear-gradient(120deg, rgb(231 239 233 / 0.52), transparent 48%);
}
.detail-hero.is-editorial .detail-lead { padding: 48px 46px 38px; }
.detail-hero.is-editorial .detail-lead h2 { max-width: 15em; font-size: clamp(37px, 4.1vw, 54px); line-height: 1.06; }
.detail-observed { font-family: var(--font-mono); font-size: 9px !important; }
.detail-source-rail {
  align-self: start;
  margin: 24px 24px 24px 0;
  padding: 22px;
  border: 1px solid rgb(40 97 71 / 0.22);
  border-radius: 13px;
  background: rgb(249 251 248 / 0.88);
}
.detail-source-rail header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-source-rail header span, .detail-source-rail header b, .detail-source-rail header p { display: block; }
.detail-source-rail header span { color: var(--muted); font-size: 10px; }
.detail-source-rail header b { margin-top: 7px; color: var(--signal-dark); font-family: var(--font-editorial); font-size: 20px; line-height: 1.25; }
.detail-source-rail header p { margin-top: 7px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.detail-source-rail .source-proof { margin-top: 16px; border: 0; padding: 0; background: transparent; }
.detail-source-rail .source-proof > div { display: none; }
.detail-source-rail .source-proof nav { gap: 6px; }
.detail-source-rail .source-proof a { width: 100%; min-width: 44px; padding: 0 11px; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; background: white; text-decoration: none; }
.detail-source-rail dl { margin-top: 18px; display: grid; gap: 11px; }
.detail-source-rail dl div { padding-top: 11px; display: grid; grid-template-columns: 84px 1fr; gap: 8px; border-top: 1px solid var(--line); }
.detail-source-rail dt { color: var(--muted); font-size: 9px; }
.detail-source-rail dd { color: var(--ink-2); font-size: 10px; }
.detail-provenance { margin-top: 14px; padding: 11px 12px; border-left: 3px solid var(--verified); background: var(--signal-soft); }
.detail-provenance b, .detail-provenance span { display: block; }
.detail-provenance b { color: var(--signal-dark); font-size: 11px; }
.detail-provenance span { margin-top: 3px; color: var(--ink-2); font-size: 10px; }
.statement-key { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.statement-key span { padding: 4px 7px; border-radius: 6px; font-size: 9px; }
[data-statement-kind="fact"] { background-color: var(--fact); }
[data-statement-kind="inference"] { background-color: var(--inference); }
[data-statement-kind="recommendation"] { background-color: var(--recommendation); }
[data-statement-kind="unknown"] { background-color: var(--unknown); }
.detail-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.detail-actions a, .detail-actions button { min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink-2); font-size: 11px; font-weight: 700; }
.detail-actions button.primary { border-color: var(--signal-dark); background: var(--signal-dark); color: white; }
.detail-metrics { padding: 17px 28px; display: grid; grid-template-columns: 220px repeat(3, 1fr); align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f7f8f6; }
.detail-metrics > header { padding-right: 18px; display: flex; flex-direction: column; justify-content: center; }
.detail-metrics header b { font-size: 13px; }
.detail-metrics header span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.detail-metrics > div { padding: 4px 16px; border-left: 1px solid var(--line); }
.detail-metrics small, .detail-metrics span { display: block; color: var(--muted); font-size: 9px; }
.detail-metrics b { display: block; margin: 2px 0; font-family: var(--font-mono); font-size: 20px; }
.metric-history { padding: 22px 28px 24px; border-bottom: 1px solid var(--line); background: var(--surface-strong); }
.metric-history > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.metric-history > header b, .metric-history > header span { display: block; }
.metric-history > header b { font-family: var(--font-editorial); font-size: 21px; }
.metric-history > header span { margin-top: 3px; color: var(--signal-dark); font-size: 12px; font-weight: 700; }
.metric-history > header p { max-width: 470px; color: var(--muted); font-size: 12px; text-align: right; }
.metric-history-scroll { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; scrollbar-width: thin; }
.history-table { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.history-table th, .history-table td { padding: 9px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.history-table th:first-child { position: sticky; left: 0; z-index: 1; width: 190px; background: #f5f7f4; }
.history-table thead th { color: var(--muted); background: #f5f7f4; font-family: var(--font-ui); font-size: 12px; }
.history-table tr:last-child th, .history-table tr:last-child td { border-bottom: 0; }
.history-table th:last-child, .history-table td:last-child { border-right: 0; }
.interval-ledger { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.interval-ledger article { min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: #f7f8f6; }
.interval-ledger article b, .interval-ledger article span, .interval-ledger article small, .interval-ledger article em { display: block; }
.interval-ledger article b { font-size: 12px; }
.interval-ledger article span { margin-top: 3px; font-family: var(--font-mono); font-size: 12px; font-weight: 800; }
.interval-ledger article small { color: var(--muted); font-family: var(--font-mono); font-size: 12px; line-height: 1.45; }
.interval-ledger article small i { display: block; font-family: var(--font-ui); font-style: normal; }
.interval-ledger article em { margin-top: 4px; color: var(--warning); font-size: 12px; font-style: normal; }
.interval-ledger.is-empty { display: block; }
.interval-ledger.is-empty p { padding: 10px 11px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--muted); font-size: 12px; }
.history-boundary { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--warning); color: var(--muted); font-size: 12px; }
.claim-stack { padding: 0 28px 38px; }
.claim-section { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); background: transparent !important; }
.claim-heading > span { display: none; }
.claim-heading h3 { margin-top: 6px; font-family: var(--font-editorial); font-size: 22px; }
.claim-heading p { margin-top: 7px; color: var(--muted); font-size: 10px; }
.claim-cards { display: grid; gap: 9px; }
.claim-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.claim-card > i { color: var(--signal); font-size: 9px; font-style: normal; font-weight: 700; }
.claim-card > p { margin-top: 5px; color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.claim-card > small { display: block; margin-top: 9px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; overflow-wrap: anywhere; }
.claim-dependencies { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.claim-dependencies > small { color: var(--muted); font-size: 9px; }
.claim-dependencies > div { margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.claim-dependencies span { max-width: 260px; padding: 7px 8px; border-radius: 6px; background: var(--paper-2); color: var(--muted); font-size: 9px; }
.claim-dependencies span b { display: block; color: var(--ink-2); }
.claim-dependencies i { color: var(--quiet); font-style: normal; }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.boundary-grid article, .adaptation-grid article, .method-card { padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.boundary-grid article b, .adaptation-grid article > b { font-size: 12px; }
.boundary-grid article p, .boundary-grid article li, .adaptation-grid article p, .adaptation-grid dd { margin-top: 5px; color: var(--muted); font-size: 10px; }
.boundary-grid .avoid-copy { grid-column: 1 / -1; }
.preview-boundary, .source-boundary { margin-bottom: 10px; padding: 12px; border-left: 3px solid var(--line-strong); background: var(--paper-2); }
.preview-boundary b, .source-boundary b { font-size: 11px; }
.preview-boundary p, .source-boundary p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.source-boundary a { min-height: 44px; display: inline-flex; align-items: center; color: var(--signal); overflow-wrap: anywhere; }
.adaptation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.adaptation-grid article header { display: flex; align-items: center; justify-content: space-between; }
.adaptation-grid article header small { color: var(--muted); font-size: 9px; }
.adaptation-grid article > b { display: block; margin-top: 11px; }
.adaptation-grid dl { margin-top: 12px; display: grid; gap: 7px; }
.adaptation-grid dl div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; }
.adaptation-grid dt { color: var(--muted); font-size: 9px; }
.evidence-list { display: grid; gap: 10px; }
.evidence-list article { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.evidence-list article header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.evidence-list article header b { font-size: 12px; }
.evidence-list article header a { min-height: 44px; display: inline-flex; align-items: center; color: var(--signal); font-size: 10px; font-weight: 700; }
.evidence-list article > p { margin-top: 8px; color: var(--ink-2); font-size: 11px; }
.evidence-list dl { margin-top: 11px; display: grid; gap: 6px; }
.evidence-list dl div { display: grid; grid-template-columns: 86px 1fr; gap: 9px; }
.evidence-list dt, .evidence-list dd { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.gate-ledger { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.gate-ledger > header { padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; background: var(--signal-soft); }
.gate-ledger header b { color: var(--signal-dark); font-size: 12px; }
.gate-ledger header span, .gate-ledger header small { color: var(--muted); font-size: 9px; }
.gate-ledger header small { text-align: right; }
.gate-ledger > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gate-ledger article { padding: 13px 14px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.gate-ledger article:nth-child(even) { border-right: 0; }
.gate-ledger article b, .gate-ledger article span { font-size: 10px; }
.gate-ledger article span { float: right; color: var(--verified); font-family: var(--font-mono); }
.gate-ledger article p { clear: both; padding-top: 5px; color: var(--muted); font-size: 9px; }
.gate-ledger footer { padding: 14px; display: grid; grid-template-columns: 90px 1fr; gap: 7px 10px; border-top: 1px solid var(--line); background: var(--paper-2); }
.gate-ledger footer b, .gate-ledger footer p { font-size: 10px; }
.gate-ledger footer p { color: var(--muted); }

.observation-dialog { width: min(560px, calc(100vw - 64px)); }
.observation-form-wrap { padding: 34px; }
.observation-form-wrap h2 { margin-top: 8px; font-family: var(--font-editorial); font-size: 31px; }
.observation-form-wrap > p { margin-top: 10px; color: var(--muted); font-size: 12px; }
.observation-form-wrap form { margin-top: 20px; display: grid; gap: 15px; }

.workspace-head { min-height: 170px; padding: 36px 0 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line-strong); }
.workspace-head h1 { margin-top: 5px; font-family: var(--font-editorial); font-size: clamp(42px, 5vw, 65px); line-height: 1; letter-spacing: -0.055em; }
.workspace-head p { margin-top: 10px; max-width: 50em; color: var(--muted); font-size: 13px; }
.workspace-head-actions, .io-actions { display: flex; align-items: center; gap: 7px; }
.studio-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; padding-top: 18px; }
.draft-rail { min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.45); overflow: hidden; }
.draft-rail-head { min-height: 64px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.draft-rail-head b { font-size: 12px; }
.draft-rail-head small { color: var(--muted); font-size: 9px; }
.draft-list { display: grid; }
.draft-list button { min-height: 72px; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.draft-list button.is-active { background: var(--signal-soft); }
.draft-list b, .draft-list small { display: block; }
.draft-list b { font-size: 12px; }
.draft-list small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.editor { min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: white; overflow: hidden; }
.editor-top { padding: 24px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.editor-top h2 { margin-top: 6px; font-family: var(--font-editorial); font-size: 30px; }
.state-pill { height: fit-content; padding: 5px 9px; border-radius: 7px; background: var(--signal-soft); color: var(--signal-dark); font-size: 10px; font-weight: 700; }
.draft-form, .gate-form { padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field > span { color: var(--ink-2); font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea, .brief-section textarea, .library-note textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: white;
  font-size: 13px;
}
.field textarea, .brief-section textarea { min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .library-note textarea::placeholder { color: #717c75; }
.brief-workspace, .lifecycle-panel { margin: 0 24px 24px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #f7f8f6; }
.brief-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.brief-head h3, .lifecycle-panel h3 { font-family: var(--font-editorial); font-size: 23px; }
.brief-head p, .lifecycle-panel p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.brief-tabs, .status-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.brief-tabs button, .status-tabs button { min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 11px; }
.brief-tabs button.is-active, .status-tabs button.is-active { border-color: var(--signal-dark); background: var(--signal-dark); color: white; }
.brief-editor { margin-top: 16px; }
.brief-guide { margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.brief-guide summary { min-height: 48px; padding: 10px 12px; cursor: pointer; }
.brief-guide summary b, .brief-guide summary small { display: block; }
.brief-guide summary small { color: var(--muted); font-size: 9px; }
.brief-guide-body { padding: 0 13px 13px; color: var(--muted); font-size: 10px; }
.brief-version, .brief-context { margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 5px 9px; }
.brief-context div { display: contents; }
.brief-sections { margin-top: 14px; display: grid; gap: 12px; }
.brief-section label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; }
.brief-stale { margin-top: 15px; padding: 13px; display: flex; justify-content: space-between; gap: 15px; border: 1px solid #dbbb9e; border-radius: 9px; background: #fbf5ee; }
.brief-stale p { color: var(--muted); font-size: 10px; }
.brief-stale button { min-height: 44px; padding: 0 12px; border: 1px solid #dbbb9e; border-radius: 8px; background: white; }
.editor-actions { padding: 0 24px 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.save-note { color: var(--muted); font-size: 10px; }

.library-toolbar { min-height: 68px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.library-list { display: grid; gap: 10px; }
.library-row { min-height: 128px; padding: 10px; display: grid; grid-template-columns: 160px minmax(220px, 1fr) auto minmax(220px, 0.8fr) auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: white; }
.library-thumb { width: 160px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: var(--paper-2); }
.private-thumb { width: 100%; height: 100%; display: grid; place-items: center; color: var(--signal); font-family: var(--font-editorial); font-size: 30px; }
.library-info { min-width: 0; }
.library-mechanism, .library-source { display: block; }
.library-mechanism { margin-top: 8px; font-size: 13px; }
.library-source { margin-top: 5px; color: var(--muted); font-size: 9px; }
.library-state span { padding: 5px 8px; border-radius: 7px; background: var(--signal-soft); color: var(--signal-dark); font-size: 10px; }
.library-note span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.library-note textarea { min-height: 76px; resize: vertical; }
.library-actions { display: grid; gap: 4px; }
.library-actions button, .library-actions a { min-height: 44px; padding: 0 9px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 10px; white-space: nowrap; }

.method-hero { padding: 42px 0 30px; display: grid; grid-template-columns: minmax(380px, 0.85fr) minmax(560px, 1.15fr); gap: 70px; align-items: end; }
.method-boundary { border: 1px solid var(--line-strong); border-radius: var(--radius-card); overflow: hidden; background: white; }
.method-boundary > div { padding: 15px 17px; display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-bottom: 1px solid var(--line); }
.method-boundary > div:last-child { border-bottom: 0; }
.method-boundary b { font-size: 11px; }
.method-boundary p { color: var(--muted); font-size: 11px; }
.method-flow { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgb(255 255 255 / 0.5); }
.method-flow > div { min-height: 86px; padding: 14px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.method-flow > div:last-child { border-right: 0; }
.method-flow b { font-family: var(--font-editorial); font-size: 22px; }
.method-flow small { color: var(--muted); font-size: 10px; }
.connector-ledger { margin-top: 18px; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.72); }
.connector-ledger > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.connector-ledger > header h2 { margin-top: 5px; font-family: var(--font-editorial); font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; }
.connector-ledger > header p { max-width: 56em; margin-top: 7px; color: var(--muted); font-size: 12px; }
.connector-ledger-summary { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--signal-dark); background: var(--signal-soft); font-size: 11px; font-weight: 700; }
.connector-ledger-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.connector-ledger-grid > article { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); }
.connector-title { min-height: 60px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.connector-title > i { width: 9px; height: 32px; flex: 0 0 9px; border-radius: 9px; background: var(--channel); }
.connector-title > div { min-width: 0; display: grid; }
.connector-title b { font-size: 14px; }
.connector-title small { color: var(--muted); font-size: 10px; }
.connector-ledger dl > div { min-height: 50px; padding: 7px 12px; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.connector-ledger dl > div:last-child { border-bottom: 0; }
.connector-ledger dt { color: var(--ink-2); font-size: 11px; font-weight: 700; }
.connector-ledger dd { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; }
.connector-ledger dd b { width: fit-content; padding: 2px 6px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 9px; white-space: nowrap; }
.connector-ledger dd span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.connector-ledger [data-capability-state="active"] dd b { background: var(--signal-soft); color: var(--signal-dark); }
.connector-ledger [data-capability-state="unavailable"] { opacity: 0.62; }
.connector-ledger > footer { margin-top: 14px; padding-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); }
.connector-ledger > footer p { color: var(--muted); font-size: 10px; }
.connector-ledger > footer b { display: block; margin-bottom: 2px; color: var(--ink-2); font-size: 10px; }
.method-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.method-card { padding: 22px; background: white; }
.method-card h2 { margin-top: 7px; font-family: var(--font-editorial); font-size: 27px; }
.layer-legend { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.layer-legend div { padding: 11px; border-radius: 8px; background: var(--paper-2); }
.layer-legend b, .layer-legend span { display: block; }
.layer-legend b { font-size: 11px; }
.layer-legend span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.method-card ul { margin-top: 16px; display: grid; gap: 8px; color: var(--ink-2); font-size: 12px; }

.lifecycle-panel { margin-top: 0; }
.publication-proof, .measurement-proof, .native-metrics, .measured-metrics, .measured-missing, .reflection-result { margin-top: 14px; }
.publication-proof, .measurement-proof article, .measured-missing { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.missing-fields-note { margin-top: 12px; padding: 12px; border-left: 3px solid var(--warning); background: #fbf5ee; }
.missing-fields-note b { color: #844814; font-size: 11px; }
.missing-fields-note p { margin-top: 4px; color: var(--ink-2); font-size: 10px; }
.native-metrics, .measured-metrics { display: grid; gap: 6px; }
.native-metric-row, .measured-metrics > div { min-height: 48px; padding: 7px 9px; display: grid; grid-template-columns: 1fr 160px auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; }
.native-metric-row input { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; }
.reflection-fields, .reflection-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reflection-result article { padding: 12px; border-radius: 8px; }
.next-round { min-height: 44px; margin-top: 14px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--signal-dark); color: white; font-weight: 700; }

.empty-state { min-height: 320px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.35); text-align: center; }
.empty-state > div { max-width: 420px; padding: 30px; }
.empty-state b { font-family: var(--font-editorial); font-size: 24px; }
.empty-state p { margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: min(420px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 9px; background: var(--ink); color: white; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 150ms ease, transform 150ms ease; }
.toast.is-showing { opacity: 1; transform: translate(-50%, 0); }
.site-footer { min-height: 82px; padding: 20px max(24px, calc((100vw - 1440px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); background: #eef1ed; color: var(--muted); font-size: 11px; }
.site-footer b { color: var(--ink-2); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--signal); font-weight: 700; }

@media (max-width: 1199px) {
  .header-inner, .page-shell { width: min(100% - 32px, 1100px); }
  .header-inner { grid-template-columns: auto 1fr; gap: 18px; }
  .header-status { display: none; }
  .task-nav { justify-self: end; }
  .task-nav a { min-width: 82px; }
  .radar-intro { grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr); gap: 22px; padding-block: 11px 9px; }
  .radar-lead h1 { font-size: clamp(34px, 4.2vw, 42px); }
  .coverage-ledger > div { min-height: 74px; padding: 9px 11px 8px; }
  .coverage-ledger dd { font-size: 18px; }
  .coverage-ledger small { font-size: 8.5px; }
  .coverage-ledger { grid-template-columns: repeat(4, 1fr); }
  .radar-controls { grid-template-columns: auto 1fr; }
  .mode-tabs { border-right: 0; }
  .filter-cluster { grid-column: 1; }
  .radar-search { grid-column: 2; grid-row: 2; }
  .work-grid, .entity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-browser { grid-template-columns: 1fr; }
  .focus-rail { display: none; }
  .detail-hero { grid-template-columns: 1fr 1fr; }
  .detail-hero.is-editorial { grid-template-columns: minmax(0, 1fr) 300px; }
  .library-row { grid-template-columns: 140px minmax(200px, 1fr) auto minmax(200px, 0.8fr); }
  .library-thumb { width: 140px; }
  .library-actions { grid-column: 2 / -1; display: flex; justify-content: flex-end; }
  .method-hero { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .method-boundary { width: 100%; min-width: 0; }
  .connector-ledger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .radar-intro { grid-template-columns: minmax(350px, 0.76fr) minmax(0, 1.24fr); }
  .radar-lead h1 { font-size: 34px; white-space: nowrap; }
  .radar-lead p { margin-top: 5px; font-size: 11.5px; line-height: 1.35; }
}

@media (min-width: 1200px) and (max-width: 1320px) {
  .work-grid { gap: 12px; }
  .work-card-actions a, .work-card-actions button { padding-inline: 5px; font-size: 10px; }
}

@media (max-width: 759px) {
  :root { --header-height: 64px; }
  body { font-size: 14px; }
  .site-header { height: auto; min-height: var(--header-height); }
  .header-inner { width: 100%; min-height: var(--header-height); padding: 0 14px; display: flex; gap: 8px; overflow: hidden; }
  .brand { flex: 0 0 auto; }
  .media-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .media-mark::before { inset: 7px; }
  .media-mark::after { left: 16px; top: 7px; height: 16px; }
  .media-mark i:first-child { left: 14px; bottom: 7px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { display: none; }
  .task-nav { flex: 1 1 auto; justify-content: flex-start; height: 46px; overflow-x: auto; scrollbar-width: none; }
  .task-nav::-webkit-scrollbar { display: none; }
  .task-nav a { min-width: 52px; padding: 5px 4px; }
  .task-nav a small { display: none; }
  .task-nav a b { align-self: center; font-size: 12px; }
  .page-shell { width: calc(100% - 28px); padding-bottom: 54px; }
  .radar-intro { grid-template-columns: 1fr; gap: 8px; padding: 9px 0 7px; }
  .radar-lead h1 { margin-top: 3px; font-size: 28px; line-height: 1.02; }
  .method-lead h1 { font-size: 36px; line-height: 1.05; }
  .radar-lead p { display: none; }
  .method-lead p { margin-top: 7px; font-size: 11.5px; line-height: 1.45; }
  .coverage-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
  .coverage-ledger > div { min-height: 68px; padding: 8px 6px 7px; border-right: 1px solid var(--line); border-bottom: 0; }
  .coverage-ledger > div:last-child { border-right: 0; }
  .coverage-ledger dt { font-size: 8px; line-height: 1.2; }
  .coverage-ledger dd { margin-top: 4px; font-family: var(--font-ui); font-size: 13px; line-height: 1.12; letter-spacing: -0.03em; }
  .coverage-ledger small { display: none; }
  .radar-utility { min-height: 50px; margin-bottom: 4px; padding: 4px; flex-direction: row; }
  .radar-utility > span { display: none; }
  .radar-utility > div { width: 100%; }
  .radar-utility button { flex: 1; }
  .radar-workbar { min-height: 52px; gap: 4px; overflow: hidden; }
  .radar-workbar .object-switcher { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .radar-workbar .object-switcher::-webkit-scrollbar { display: none; }
  .radar-workbar-actions { flex: 0 0 auto; gap: 3px; }
  .radar-workbar-actions .button { min-width: 44px; padding: 0 9px; font-size: 10.5px; }
  .object-switcher button { flex: 0 0 auto; min-height: 50px; padding: 0 10px; gap: 5px; }
  .object-switcher b { font-size: 13px; }
  .object-switcher span { min-width: 21px; padding-inline: 5px; font-size: 9px; }
  .object-switcher small { display: none; }
  .radar-controls { position: static; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 7px 0 6px; padding: 4px; gap: 4px; }
  .mode-tabs { grid-column: 1; grid-row: 1; width: auto; padding-right: 0; }
  .channel-tabs { grid-column: 1 / -1; grid-row: 2; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .mode-tabs button, .channel-tabs button { flex: 0 0 auto; }
  .filter-cluster { grid-column: 1 / -1; grid-row: 3; width: 100%; gap: 4px; }
  .filter-cluster select { min-width: 0; flex: 1; }
  .radar-search { grid-column: 2; grid-row: 1; width: 100%; }
  .results-meta { min-height: 43px; align-items: center; }
  .results-meta p { max-width: 58%; text-align: right; }
  .work-grid, .entity-grid, .workspace-search-list { grid-template-columns: 1fr; gap: 14px; }
  .work-card.has-media .work-visual { aspect-ratio: 2.02 / 1; }
  .work-card.is-textual .work-visual { aspect-ratio: 2.3 / 1; }
  .work-card-head h3 { min-height: 0; font-size: 21px; }
  .radar-judgment p { -webkit-line-clamp: 2; }
  .work-card-actions { grid-template-columns: repeat(4, minmax(44px, 1fr)); }
  .work-card-actions a, .work-card-actions button { min-width: 0; padding-inline: 4px; }
  .batch-pager { align-items: flex-start; flex-direction: column; }
  .batch-pager button { width: 100%; }
  .focus-main { grid-template-columns: 1fr; }
  .focus-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .focus-copy { padding: 20px 17px; }
  .focus-copy > h2 { font-size: 31px; }
  .source-proof > div { align-items: flex-start; flex-direction: column; }
  .source-proof span { text-align: left; }
  .private-observation-row { grid-template-columns: auto 1fr; }
  .private-observation-row > button { grid-column: 1 / -1; }
  .dialog-layer { padding: 12px 10px; place-items: center; }
  .work-dialog, .observation-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 15px; }
  .dialog-close { top: 10px; margin: 10px 10px -54px 0; }
  .detail-hero, .detail-hero.is-editorial { grid-template-columns: 1fr; }
  .detail-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .detail-lead { padding: 22px 17px 20px; }
  .detail-lead h2 { font-size: 31px; }
  .detail-hero.is-editorial { background: linear-gradient(165deg, rgb(231 239 233 / 0.6), transparent 46%); }
  .detail-hero.is-editorial .detail-lead { padding: 64px 18px 18px; }
  .detail-hero.is-editorial .detail-lead h2 { font-size: 31px; line-height: 1.08; }
  .detail-source-rail { margin: 0 14px 16px; padding: 17px; }
  .detail-source-rail header { padding-bottom: 13px; }
  .detail-source-rail header b { font-size: 18px; }
  .detail-source-rail dl { margin-top: 13px; gap: 7px; }
  .detail-source-rail dl div { padding-top: 8px; }
  .detail-metrics { padding: 14px 16px; grid-template-columns: repeat(3, 1fr); }
  .detail-metrics > header { grid-column: 1 / -1; padding: 0 0 10px; }
  .detail-metrics > div { padding: 5px 9px; }
  .detail-metrics > div:nth-of-type(1) { border-left: 0; padding-left: 0; }
  .detail-metrics b { font-size: 16px; }
  .metric-history { padding: 18px 16px 20px; }
  .metric-history > header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .metric-history > header p { text-align: left; }
  .metric-history-scroll { max-width: 100%; }
  .history-table { min-width: 720px; }
  .interval-ledger { grid-template-columns: 1fr; }
  .claim-stack { padding: 0 16px 24px; }
  .claim-section { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .boundary-grid, .adaptation-grid, .gate-ledger > div { grid-template-columns: 1fr; }
  .claim-dependencies > div { align-items: stretch; flex-direction: column; }
  .claim-dependencies span { max-width: none; width: 100%; }
  .claim-dependencies i { align-self: center; transform: rotate(90deg); }
  .boundary-grid .avoid-copy { grid-column: auto; }
  .gate-ledger > header { grid-template-columns: 1fr; }
  .gate-ledger header small { text-align: left; }
  .gate-ledger article { border-right: 0; }
  .evidence-list dl div { grid-template-columns: 1fr; gap: 2px; }
  .observation-form-wrap { padding: 26px 18px; }
  .workspace-head { min-height: 0; padding: 28px 0 22px; align-items: flex-start; flex-direction: column; }
  .workspace-head h1 { font-size: 43px; }
  .workspace-head-actions { width: 100%; }
  .workspace-head-actions > * { flex: 1; }
  .studio-shell { grid-template-columns: 1fr; }
  .draft-rail { min-height: 0; }
  .draft-list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 74vw); overflow-x: auto; }
  .draft-list button { border-right: 1px solid var(--line); }
  .editor-top { padding: 18px; }
  .draft-form, .gate-form { padding: 18px; grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .brief-workspace, .lifecycle-panel { margin: 0 18px 18px; padding: 15px; }
  .brief-head { flex-direction: column; }
  .brief-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .editor-actions { padding: 0 18px 18px; }
  .library-toolbar { align-items: flex-start; flex-direction: column; }
  .status-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .status-tabs button { flex: 0 0 auto; }
  .library-row { grid-template-columns: 105px 1fr; gap: 11px; }
  .library-thumb { width: 105px; }
  .library-state { position: absolute; visibility: hidden; }
  .library-note, .library-actions { grid-column: 1 / -1; }
  .library-actions { justify-content: stretch; overflow-x: auto; }
  .library-actions > * { flex: 1 0 auto; min-height: 44px; }
  .method-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .method-boundary > div { grid-template-columns: 1fr; gap: 4px; }
  .method-flow { grid-template-columns: repeat(3, 1fr); }
  .method-flow > div { border-bottom: 1px solid var(--line); }
  .method-flow > div:nth-child(3n) { border-right: 0; }
  .method-flow > div:nth-last-child(-n + 3) { border-bottom: 0; }
  .method-grid, .layer-legend, .reflection-fields, .reflection-result { grid-template-columns: 1fr; }
  .connector-ledger { padding: 16px; }
  .connector-ledger > header { align-items: start; flex-direction: column; gap: 10px; }
  .connector-ledger > header h2 { font-size: 24px; }
  .connector-ledger-summary { white-space: normal; }
  .connector-ledger-grid { grid-template-columns: 1fr; }
  .connector-ledger > footer { grid-template-columns: 1fr; gap: 8px; }
  .native-metric-row, .measured-metrics > div { grid-template-columns: 1fr; }
  .native-metric-row input { width: 100%; }
  .site-footer { padding: 20px 14px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
