/* PassionSoul Visual System — Round 13.0.2
   Semantic, system-level tokens. UI only; no product/runtime state belongs here. */
:root {
  --background: #f4f5f4;
  --surface: #ffffff;
  --surface-raised: #fbfcfb;
  --surface-subtle: #eef1ef;
  --foreground: #18211f;
  --muted-foreground: #52615b;
  --border: #dce2de;
  --border-strong: #b9c6bf;
  --accent: #176b59;
  --accent-foreground: #ffffff;
  --positive: #147a51;
  --negative: #bc453d;
  --warning: #9d6800;
  --info: #2d6099;
  --verified: #176b59;
  --pending: #936000;
  --high-confidence: #215d51;
  --low-confidence: #79837e;
  --china-up: #b5403a;
  --china-down: #14805a;
  --global-up: #147a51;
  --global-down: #bc453d;
  --bg: var(--background);
  --panel: var(--surface);
  --panel2: var(--surface-raised);
  --line: var(--border);
  --line2: var(--border-strong);
  --text: var(--foreground);
  --muted: var(--muted-foreground);
  --blue: var(--accent);
  --cyan: var(--accent);
  --green: var(--positive);
  --red: var(--negative);
  --market-blue: var(--info);
  --yellow: var(--warning);
  --shadow: none;
  --radius-sm: 4px;
  --radius-md: 7px;
  --radius-lg: 10px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --grid-columns: 12;
}

* { box-sizing: border-box; }
html { color-scheme: light; background: var(--background); }
body {
  min-width: 320px;
  background: var(--background) !important;
  color: var(--foreground) !important;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: normal;
}
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 42%, white); outline-offset: 2px; }

/* Header and navigation: primary reading paths first, runtime intentionally secondary. */
.terminal-header {
  min-height: 126px;
  gap: var(--space-4);
  padding: 8px max(20px, calc((100vw - 1600px) / 2));
  background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.brand { min-width: 492px; gap: 13px; color: var(--foreground); }
.brand-logo-wrap { width: 235px; height: 112px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-logo { max-width: 235px; max-height: 112px; height: 112px; object-fit: contain; }
.brand-copy { gap: 1px; }
.brand strong { font-size: 19px; font-weight: 760; letter-spacing: .01em; }
.brand-copy > span { margin: 0; color: var(--muted-foreground); font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.main-nav { gap: 2px; justify-content: center; overflow: visible; }
.main-nav a { min-height: 54px; padding: 0 10px; color: #4f5e58; font-size: 14px; font-weight: 650; border: 0; border-bottom: 2px solid transparent; }
.main-nav a svg { display: none; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: transparent; border-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.global-search-form { min-width: 0; margin: 0; gap: 0; }
.global-search-form input { width: 206px; min-height: 34px; padding: 6px 10px; color: var(--foreground); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 13px; }
.global-search-form button { min-height: 34px; padding: 6px 10px; color: var(--accent-foreground); background: var(--accent); border: 1px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13px; cursor: pointer; }
.utility-menu { position: relative; }
.utility-menu summary { list-style: none; cursor: pointer; white-space: nowrap; color: var(--muted-foreground); font-size: 13px; font-weight: 650; }
.utility-menu summary::-webkit-details-marker { display: none; }
.utility-menu summary::after { content: "⌄"; margin-left: 4px; }
.utility-menu > div { position: absolute; z-index: 20; top: 30px; right: 0; display: grid; min-width: 170px; padding: 6px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: 0 10px 28px rgba(29, 43, 37, .10); }
.utility-menu:not([open]) > div { display: none; }
.utility-menu a { padding: 7px 8px; color: var(--foreground); text-decoration: none; font-size: 13px; border-radius: var(--radius-sm); }
.utility-menu a:hover { color: var(--accent); background: var(--surface-subtle); }
.terminal-clock { min-width: 135px; gap: 0 8px; color: var(--foreground); font-size: 11px; }
.terminal-clock b, .terminal-clock small { color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

/* Layout, typesetting, and surfaces. */
main { width: min(1560px, calc(100% - 48px)); margin: var(--space-5) auto var(--space-6); }
.grid-12 { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--space-4); }
.page-title, .page-heading { max-width: 980px; margin: 0 0 var(--space-5); }
.page-title h1, .page-heading h1 { color: var(--foreground); font-size: clamp(25px, 2.3vw, 34px); line-height: 1.25; letter-spacing: -.015em; }
.page-title p, .page-heading > p { max-width: 780px; color: var(--muted-foreground); font-size: 15px; line-height: 1.68; }
.eyebrow { margin: 0 0 var(--space-2); color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .09em; }
h1, h2, h3, h4 { color: var(--foreground); }
h2 { font-size: 20px; line-height: 1.35; }
h3 { font-size: 16px; line-height: 1.45; }
p, li { color: #32413b; }
small, .muted { color: var(--muted-foreground) !important; font-size: 13px; }
.terminal-section, .market-overview, .event-panel, .calendar-panel, .creator-panel, .detail-panel, .panel {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: none !important;
}
.terminal-section, .detail-panel, .panel { padding: var(--space-5); }
.market-overview { padding: var(--space-4); margin-bottom: var(--space-5); }
.event-panel, .calendar-panel, .creator-panel { padding: var(--space-4); }
.detail-panel h1 { font-size: clamp(25px, 2.2vw, 34px); }
.detail-section { border-color: var(--border); padding-top: var(--space-4); margin-top: var(--space-4); }
.detail-section:first-child { border-top: 0; padding-top: 0; }
.detail-section h2 { margin-bottom: var(--space-2); }
.detail-section p, .detail-section li { color: #32413b; }
.section-heading, .panel-title { margin-bottom: var(--space-3); }
.section-heading h2, .panel-title h2 { font-size: 18px; letter-spacing: 0; }
.section-heading span, .panel-title .more { color: var(--muted-foreground); font-size: 13px; }
.panel-title .more, .source-link { color: var(--accent); font-weight: 650; text-decoration: none; }
.panel-title .more:hover, .source-link:hover { text-decoration: underline; }

/* Cards are restrained: primary panels own the border; inline rows do not. */
.home-grid { gap: var(--space-4); margin-bottom: var(--space-4); }
.top-intelligence { margin: 0 0 var(--space-4); padding: var(--space-5); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }
.top-intelligence-grid { gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.decision-card { padding: var(--space-3) var(--space-4); background: transparent; border: 0; border-left: 1px solid var(--border); border-radius: 0; }
.decision-card:first-child { border-left: 0; }
.decision-card h3 { margin: var(--space-2) 0 6px; font-size: 17px; }
.decision-card p { margin: 3px 0 0; font-size: 15px; line-height: 1.55; }
.decision-card-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.top-intel-field { margin: 10px 0; }
.top-intel-field > b, .top-intel-compact > span > b { display: block; color: var(--muted-foreground); font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.top-intel-field p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.top-intel-compact { display: grid; gap: 5px; margin: 10px 0; padding-top: 9px; border-top: 1px solid var(--border); }
.top-intel-compact > span { color: #314039; font-size: 13px; line-height: 1.45; }
.top-intel-compact > span > b { display: inline; }
.market-groups { gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.market-group { padding: var(--space-3); background: var(--surface-raised); border-radius: 0; }
.group-name { color: var(--accent); font-size: 13px; letter-spacing: .04em; }
.market-card { min-height: 82px; padding: var(--space-2) var(--space-3); border-color: var(--border) !important; }
.market-card .name { color: #3f4f48; font-size: 13px; font-weight: 650; }
.market-card b { margin: 3px 0; color: var(--foreground); font-size: 18px; font-variant-numeric: tabular-nums; }
.market-card .change, .importance, .heat-score, .video-score { font-variant-numeric: tabular-nums; }
.breadth-card { background: var(--surface); border-color: var(--accent); }
.theme-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2); }
.theme-card { padding: var(--space-3); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.theme-card h3 { color: var(--foreground); font-size: 15px; font-weight: 760; }.theme-card p { margin: 3px 0; font-size: 15px; font-weight: 700; }.theme-facts { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 8px 0; color: #33433c; font-size: 12px; font-weight: 700; }
.theme-facts span, .theme-card small { color: #33433c !important; }.theme-card small { display: block; line-height: 1.45; }
.theme-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 650; text-decoration: none; }
.intelligence-brief, .video-brief { padding: var(--space-3) 0; border-color: var(--border); }
.intelligence-brief h3, .video-brief h3 { font-size: 16px; }
.intelligence-brief > p, .video-section p { font-size: 15px; }
.intelligence-brief.opinion-brief { border-left-color: var(--warning); }
.event-narrative { color: #293832; }.event-narrative b, .impact-line b, .next-watch b { color: #33433c; }
.event-detail-body { color: #293832; line-height: 1.68; }.event-detail-body > .jin10-items { max-width: 900px; }
.event-narrative > b, .table-summary > b, .impact-line > b, .next-watch > b { display: block; margin-bottom: 3px; color: var(--muted-foreground); font-size: 12px; font-weight: 750; letter-spacing: .035em; }
.numbered-items, .jin10-items { display: grid; gap: 9px; margin: 8px 0 5px 21px; padding: 0; }.numbered-items li, .jin10-items li { padding-left: 2px; color: #293832; line-height: 1.62; }.table-summary .numbered-items, .table-summary .jin10-items { gap: 6px; margin-top: 5px; }
.numbered-items-heading { margin: 10px 0 4px; color: #293832; font-size: inherit; font-weight: 720; line-height: 1.55; }.numbered-items-heading:first-child { margin-top: 0; }
.event-field { margin: 8px 0; color: #293832; font-size: 15px; line-height: 1.62; }.event-field > b, .event-field-body { display: inline; color: #293832; font-size: 15px; line-height: 1.62; }.event-field > b { margin: 0 6px 0 0; font-weight: 720; letter-spacing: 0; }.event-field-body > .numbered-items { display: block; }.table-summary.event-field { margin: 6px 0 0; color: #4b5a54; font-size: 13px; line-height: 1.55; }.table-summary.event-field > b, .table-summary.event-field .event-field-body { color: #4b5a54; font-size: 13px; line-height: 1.55; }
.today-most-important { max-width: 800px; margin: 8px 0 0; color: #26382f; font-size: 16px; font-weight: 620; line-height: 1.65; }.today-most-important b { display: inline-block; margin-right: 9px; color: var(--accent); font-weight: 780; }
.reading-guide { display: inline-block; margin-top: 10px; color: var(--muted-foreground); font-size: 13px; }.reading-guide summary { color: var(--muted-foreground); cursor: pointer; font-weight: 700; }.reading-guide[open] { display: block; max-width: 440px; padding: 9px 12px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); }.reading-guide ul { margin: 7px 0 0 19px; padding: 0; }.reading-guide li { margin: 3px 0; color: #46564f; font-size: 13px; }
.brief-subheading { color: var(--muted-foreground); font-size: 12px; letter-spacing: .07em; }
.brief-open { margin-left: auto; padding: 3px 7px; color: var(--accent); background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; }

/* Semantic badges: labels and symbols prevent colour-only meaning. */
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; color: #52615b; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 620; line-height: 1.25; }
.tag.importance-high, .importance.importance-high { color: var(--negative) !important; border-color: color-mix(in srgb, var(--negative) 34%, var(--border)); font-weight: 760; }
.importance.CRITICAL, .tag[class*="CRITICAL"], .impact-bear { color: var(--negative) !important; }
.importance.IMPORTANT, .tag[class*="IMPORTANT"], .stars { color: var(--warning) !important; }
.impact-bull { color: var(--positive) !important; }
.market-up-red { color: var(--china-up) !important; }.market-down-green { color: var(--china-down) !important; }
.market-up-green { color: var(--global-up) !important; }.market-down-red { color: var(--global-down) !important; }
.market-down-blue, .market-flat-neutral { color: var(--info) !important; }
.market-up-red::before, .market-up-green::before { content: "▲ "; font-size: .76em; }
.market-down-green::before, .market-down-red::before { content: "▼ "; font-size: .76em; }
.impact-bull::before { content: "↑ "; }.impact-bear::before { content: "↓ "; }

/* Dense information grids and tables. */
.event-table, .impact-matrix, .research-grid { color: var(--foreground); background: transparent; font-size: 14px; }
.event-table th, .impact-matrix th, .research-grid th { position: sticky; top: 70px; z-index: 2; padding: 9px 10px; color: var(--muted-foreground); background: var(--surface-subtle) !important; border-bottom: 1px solid var(--border-strong); font-size: 12px; font-weight: 730; letter-spacing: .035em; }
.event-table td, .impact-matrix td, .research-grid td { padding: 12px 10px; color: #293832; border-color: var(--border) !important; }
.event-table tr:hover td, .research-grid tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, white); }
.event-headline { color: var(--foreground); }.event-headline:hover { color: var(--accent); }
.table-summary { color: #4b5a54; font-size: 13px; }.event-time, .calendar-time, time { color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.research-list { padding: 0; }.research-card { padding: var(--space-4); border-color: var(--border); }.research-card h3 { margin: var(--space-2) 0; font-size: 17px; }
.research-detail summary { color: var(--foreground); font-size: 16px; }.research-detail summary::after { content: " · 展开核心变化、假设、风险与原始来源"; color: var(--muted-foreground); font-size: 13px; font-weight: 400; }
.research-what-changed { margin: var(--space-3) 0; padding: var(--space-3); background: var(--surface-subtle); border-left: 3px solid var(--accent); }.research-what-changed > b { color: var(--accent); font-size: 12px; letter-spacing: .07em; }.research-what-changed p { margin: 5px 0 0; font-size: 15px; }
.research-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.research-fields p { color: #314039; font-size: 14px; }.research-fields p b { color: var(--muted-foreground); }
.catalog-filters { padding: var(--space-3); background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.catalog-filters input, .catalog-filters button, .catalog-state input, .catalog-state textarea, .catalog-state button, .catalog-actions button, .filter, .video-tab, select, textarea, input {
  color: var(--foreground) !important; background: var(--surface) !important; border-color: var(--border-strong) !important; border-radius: var(--radius-sm) !important;
}
.catalog-filters button, .catalog-actions button, .catalog-state button, .global-search-form button { color: var(--accent-foreground) !important; background: var(--accent) !important; border-color: var(--accent) !important; }
.video-tabs { flex-wrap: wrap; gap: 5px; }.video-tab { padding: 6px 10px; font-size: 13px; }.video-tab.active, .video-tab:hover, .filter.active, .filter:hover { color: var(--accent) !important; background: color-mix(in srgb, var(--accent) 7%, white) !important; border-color: var(--accent) !important; }
.catalog-card { background: var(--surface); }.catalog-actions { gap: 6px; }.catalog-state { background: var(--surface-subtle); }
.table-scroll { overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.research-grid { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: auto; }
.research-grid th:first-child { min-width: 300px; }.research-grid td:last-child { min-width: 174px; }.research-grid .catalog-actions { margin: 0 0 6px; }.research-grid .catalog-state { min-width: 158px; }

/* Video analysis is a reading surface, not a transcript console.  These rules
   intentionally override the earlier dark/video-card treatments. */
.creator-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-3); }
.video-brief {
  display: block;
  padding: var(--space-4) !important;
  color: var(--foreground) !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}
.video-brief::before, .video-brief::after { display: none !important; content: none !important; }
.video-brief-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.video-brief-header > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.video-brief-header > div > b { color: #26362f; font-size: 14px; }
.video-brief h3 { margin: 10px 0 12px; color: var(--foreground) !important; font-size: 17px; line-height: 1.42; }
.video-section { margin: 0; padding: 10px 0; border-top: 1px solid var(--border); background: transparent !important; }
.video-section > b, .video-facts b, .video-risk b { color: #405048; font-size: 12px; font-weight: 730; letter-spacing: .04em; }
.video-section p { margin: 5px 0 0; color: #293832 !important; font-size: 15px; line-height: 1.62; }
.video-logic { margin: 6px 0 0 18px; padding: 0; }.video-logic li { margin: 4px 0; color: #34433d; font-size: 14px; }
.video-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 0; background: var(--surface) !important; border-top: 1px solid var(--border); box-shadow: none !important; }
.video-facts span { padding: 0 !important; color: #3d4c46 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; font-size: 13px; }.video-facts b { display: block; margin-bottom: 2px; color: #405048 !important; background: transparent !important; }
.video-facts .video-market-validation { color: #293832 !important; }
.video-risk { margin: 0; padding: 9px 10px; color: #5a4332; background: #fff9ef !important; border-left: 3px solid var(--warning); font-size: 13px; line-height: 1.55; }
.video-risk b { color: #7e5100; }.video-brief .brief-meta { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 11px; padding-top: 10px; color: #405048 !important; background: transparent !important; border-top: 1px solid var(--border); box-shadow: none !important; }
.video-brief .brief-meta > * { color: inherit; background: transparent !important; border: 0 !important; box-shadow: none !important; }.video-brief .brief-meta .source-link { color: var(--accent) !important; }.video-value { color: #405048 !important; font-size: 12px; font-weight: 700; }

/* Round 13.0.2C — long-form intelligence needs a reading hierarchy, not a
   metadata table. The former whitespace bug was the stale `.loading` padding
   on #institutional-list; JS now removes that class when content arrives. */
.creator-analysis-list { grid-template-columns: 1fr !important; }
.argument-structure, .research-argument-structure { display: grid; gap: 10px; margin-top: 8px; }
.argument-node { padding: 12px 14px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.argument-node-heading { display: flex; align-items: baseline; gap: 10px; }
.argument-node-heading span { flex: 0 0 26px; color: var(--accent); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.argument-node-heading h4 { margin: 0; color: var(--foreground); font-size: 15px; line-height: 1.45; }
.argument-node > p { margin: 6px 0 0; color: #293832; font-size: 14px; line-height: 1.65; }
.argument-facts { margin: 9px 0 0 36px; }.argument-facts > b, .argument-inference > b, .argument-connection > b { color: #405048; font-size: 12px; }
.argument-facts ul { margin: 4px 0 0 18px; padding: 0; }.argument-facts li { margin: 3px 0; color: #34433d; font-size: 13px; }
.argument-inference, .argument-connection { margin-left: 36px !important; }.argument-connection { padding-top: 6px; border-top: 1px dashed var(--border); }
.argument-more { display: block; color: var(--muted-foreground); }
.system-analysis-rows { display: grid; gap: 7px; margin-top: 7px; }.system-analysis-rows p { display: grid; grid-template-columns: minmax(96px, 150px) 1fr; gap: 12px; margin: 0; color: #293832; line-height: 1.65; }.system-analysis-rows strong { color: #405048; font-size: 13px; }
.verification-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 7px; }.verification-groups > div { padding: 10px 12px; background: var(--surface-subtle); border-left: 3px solid var(--border-strong); }.verification-groups > div:last-child { border-left-color: var(--negative); }.verification-groups b { color: #405048; font-size: 12px; }.verification-groups ul { margin: 5px 0 0 18px; padding: 0; }.verification-groups li { margin: 4px 0; color: #293832; font-size: 14px; line-height: 1.58; }
.argument-summary { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 8px; color: var(--muted-foreground); font-size: 13px; }
.section-kicker { margin: 0 0 3px !important; color: var(--accent) !important; font-size: 11px !important; font-weight: 800; letter-spacing: .09em; }
.boundary-note { margin-top: 14px !important; color: var(--muted-foreground) !important; font-size: 13px !important; }

#institutional-list:not(.loading) { min-height: 0; padding: 0; }
.research-catalog-list { display: grid; gap: 0; margin: 0; padding: 0; }
.research-library-item { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--border); }
.research-library-item:first-child { padding-top: 18px; }.research-library-item:last-child { border-bottom: 0; }
.research-library-meta, .research-library-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.research-library-meta { color: var(--muted-foreground); font-size: 13px; }.research-library-meta span:first-child { color: #34443d; font-weight: 760; }
.research-library-main h2 { margin: 7px 0 10px; font-size: 19px; line-height: 1.42; }.research-library-main h2 a { color: var(--foreground); text-decoration: none; }.research-library-main h2 a:hover { color: var(--accent); }
.research-list-thesis, .research-list-change { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; margin: 7px 0; }.research-list-thesis b, .research-list-change b { color: #405048; font-size: 12px; letter-spacing: .03em; }.research-list-thesis p, .research-list-change p { margin: 0; color: #293832; font-size: 15px; line-height: 1.62; }.research-list-change b { color: var(--accent); }
.research-content-state { margin: 8px 0; color: var(--muted-foreground); font-size: 14px; }.research-library-links { margin-top: 11px; font-size: 13px; }
.research-library-actions { padding-left: 16px; border-left: 1px solid var(--border); }.research-value { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 7px; margin-bottom: 10px; }.research-value b { color: var(--accent); font-size: 20px; }.research-value span { color: var(--muted-foreground); font-size: 12px; }
.research-library-actions .catalog-actions { display: grid; }.research-library-actions .catalog-actions button { width: 100%; }.research-library-actions .catalog-state { margin-top: 8px; padding: 7px; }.research-library-actions .catalog-state label { display: grid; gap: 3px; margin-top: 6px; color: var(--muted-foreground); font-size: 12px; }.research-library-actions .catalog-state input, .research-library-actions .catalog-state textarea { width: 100%; }

.research-intelligence-detail { max-width: 1120px; margin: 0 auto; }
.research-detail-hero, .research-executive-summary, .research-intelligence-section, .research-system-analysis { padding: 24px 28px; background: var(--surface); border: 1px solid var(--border); }
.research-detail-hero { border-bottom: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; }.research-detail-hero h1 { max-width: 980px; margin: 5px 0 13px; font-size: clamp(25px, 3vw, 36px); line-height: 1.28; letter-spacing: -.015em; }
.research-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; }.research-hero-meta span { color: #34433d; font-size: 14px; }.research-hero-meta b { margin-right: 6px; color: var(--muted-foreground); font-size: 12px; }
.research-primary-action { margin-top: 15px; }.research-primary-action .source-link { display: inline-flex; padding: 7px 12px; color: white; background: var(--accent); border-radius: var(--radius-sm); }
.research-executive-summary { background: #f4f8f6; border-color: var(--border-strong); }.research-executive-summary h2, .research-intelligence-section h2, .research-system-analysis h2 { margin: 2px 0 11px; font-size: 20px; }.research-executive-summary > p:last-child { margin: 0; color: #20332b; font-size: 17px; line-height: 1.72; }
.research-intelligence-section, .research-system-analysis { margin-top: 12px; border-radius: var(--radius-sm); }.research-intelligence-section > ul { margin: 0 0 0 20px; padding: 0; }.research-intelligence-section > ul li { margin: 7px 0; color: #293832; line-height: 1.65; }
.research-change-section { border-left: 4px solid var(--accent); }.research-evidence-list { display: grid; gap: 9px; }.research-evidence-list article { padding: 11px 13px; background: var(--surface-subtle); }.research-evidence-list span { display: block; color: var(--accent); font-size: 11px; font-weight: 800; }.research-evidence-list b { display: block; margin-top: 3px; color: #293832; }.research-evidence-list p { margin: 4px 0 0; color: #405048; font-size: 14px; }
.research-system-analysis { background: #f7f5ef; border-color: #d8d0b9; }.research-system-analysis .section-kicker { color: #7b5b18 !important; }
.research-provenance { margin: 14px 0 34px; padding: 10px 13px; color: var(--muted-foreground); font-size: 13px; }.research-provenance summary { cursor: pointer; }

/* Detail evidence gets equal visual standing — contrary evidence is never hidden. */
.evidence-grid { gap: var(--space-3); }.evidence-grid .evidence { background: var(--surface-raised); border: 1px solid var(--border); border-left: 3px solid var(--positive); }.evidence-grid .counter { border-left-color: var(--negative); }
.evidence-grid .counter b::before { content: "反向 · "; color: var(--negative); }
.source-timeline > div { background: var(--surface-raised); border: 1px solid var(--border); }.source-timeline span { color: var(--warning); }
.fact-view-grid > div { background: var(--surface-raised); border-color: var(--border); }
.transcript-text { max-height: 360px; color: #33423c; background: var(--surface-subtle); border-color: var(--border); }
.empty, .loading { padding: var(--space-6) var(--space-4); color: var(--muted-foreground); background: transparent; }
.empty::before { content: "— "; color: var(--border-strong); }

/* Compact editorial guidance belongs beside a title or after content, never
   between the title and the information a reader came to scan. */
.important-page-title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }.important-page-title h1 { margin: 0; }.important-reading-guide { position: relative; color: var(--muted-foreground); font-size: 13px; }.important-reading-guide summary { cursor: pointer; list-style: none; white-space: nowrap; }.important-reading-guide summary::-webkit-details-marker { display: none; }.important-reading-guide[open] { width: min(330px, 100%); padding: 8px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }.important-reading-guide p { margin: 6px 0 0; color: #46564f; font-size: 13px; line-height: 1.5; }
.platform-method { max-width: 860px; margin: var(--space-5) 0 var(--space-2); padding: var(--space-3) 0 0; border-top: 1px solid var(--border); }.platform-method-label { margin: 0 0 4px; color: var(--muted-foreground); font-size: 12px; font-weight: 700; letter-spacing: .06em; }.platform-method > p:last-child { margin: 0; color: #52615b; font-size: 14px; line-height: 1.65; }

/* Technical surfaces stay visually separate. */
.summary-grid { gap: var(--space-2); }.summary-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: none; }
.summary-card span { color: var(--muted-foreground); }.summary-card b { color: var(--foreground); font-variant-numeric: tabular-nums; }
.system-footer { width: min(1560px, calc(100% - 48px)); background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; }
.footer-cell { background: var(--surface-raised); border-color: var(--border); }.footer-title { color: var(--foreground); }.footer-data { color: var(--muted-foreground); }

/* Motion is functional only. */
.main-nav a, .utility-menu a, .source-link, .filter, .video-tab, button, details { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

@media (max-width: 1260px) {
  .terminal-header { min-height: 106px; padding-inline: 18px; gap: 10px; }.brand { min-width: 382px; }.brand-logo-wrap { width: 175px; height: 88px; }.brand-logo { max-width: 175px; max-height: 88px; height: 88px; }.brand-copy > span { font-size: 9px; }
  .main-nav { justify-content: flex-start; overflow-x: auto; }.main-nav a { padding-inline: 8px; }.global-search-form { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 15px; }.terminal-header { position: static; min-height: 0; padding: 9px 12px; gap: 6px; flex-wrap: wrap; }.brand { min-width: 310px; }.brand-logo-wrap { width: 126px; height: 64px; }.brand-logo { max-width: 126px; max-height: 64px; height: 64px; }.brand strong { font-size: 16px; }.brand-copy > span { font-size: 8px; }
  .header-tools { margin-left: auto; }.terminal-clock { display: none; }.utility-menu summary { padding: 5px; }
  .main-nav { order: 3; flex: 0 0 100%; width: 100%; height: 35px; justify-content: flex-start; }.main-nav a { min-height: 34px; padding: 0 9px; font-size: 13px; }
  main, .system-footer { width: calc(100% - 24px); }.page-title, .page-heading { margin-bottom: var(--space-4); }.page-title h1, .page-heading h1 { font-size: 25px; }.page-title p { font-size: 14px; }
  .terminal-section, .detail-panel, .panel, .top-intelligence { padding: var(--space-4); }.market-overview, .event-panel, .calendar-panel, .creator-panel { padding: var(--space-3); }
  .top-intelligence-grid { grid-template-columns: 1fr; }.decision-card { border-left: 0; border-top: 1px solid var(--border); padding-inline: 0; }.decision-card:first-child { border-top: 0; }.market-groups { grid-template-columns: 1fr; }.market-cards { grid-template-columns: repeat(2, 1fr); }.market-card:nth-child(2n) { border-right: 0; }
  .event-table, .impact-matrix { font-size: 13px; }.event-table th, .impact-matrix th { position: static; }.event-table th:nth-child(3), .event-table td:nth-child(3), .event-table th:nth-child(5), .event-table td:nth-child(5) { display: none; }
  .table-scroll { margin-inline: -4px; }.research-grid { min-width: 760px; }
  .research-fields, .evidence-grid { grid-template-columns: 1fr; }.catalog-filters { grid-template-columns: 1fr 1fr; }.catalog-filters input, .catalog-filters button { min-width: 0 !important; width: 100%; box-sizing: border-box; }.catalog-filters button { grid-column: span 2; }.research-detail summary::after { display: block; margin-top: 3px; }
  .system-footer { grid-template-columns: 1fr; }.footer-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .creator-list { grid-template-columns: 1fr !important; }.video-brief { padding: var(--space-3) !important; }.video-brief-header { align-items: flex-start; flex-direction: column; gap: 3px; }.video-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .system-analysis-rows p, .research-list-thesis, .research-list-change { grid-template-columns: 1fr; gap: 2px; }.argument-inference, .argument-connection, .argument-facts { margin-left: 0 !important; }
  .research-library-item { grid-template-columns: 1fr; gap: 12px; }.research-library-actions { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--border); }.research-detail-hero, .research-executive-summary, .research-intelligence-section, .research-system-analysis { padding: 18px; }
}
