:root {
  color-scheme: dark;
  --bg: #071019;
  --surface: #0c1823;
  --surface-2: #101f2c;
  --surface-3: #142634;
  --line: #203443;
  --line-soft: rgba(135, 164, 184, .13);
  --text: #eaf1f5;
  --muted: #a9bac6;
  --muted-2: #8296a4;
  --mint: #55d6a9;
  --mint-soft: rgba(85, 214, 169, .12);
  --blue: #69a7ff;
  --blue-soft: rgba(105, 167, 255, .12);
  --amber: #ffb45e;
  --amber-soft: rgba(255, 180, 94, .12);
  --red: #ff667a;
  --red-soft: rgba(255, 102, 122, .12);
  --market-up: #f2726f;
  --market-down: #55d6a9;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(40, 106, 133, .18), transparent 32rem),
    var(--bg);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid rgba(85, 214, 169, .7);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 15;
  width: 100%;
  height: 82px;
  padding: 0 max(24px, calc((100% - 1540px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 25, .9);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand strong { display: block; font-size: 20px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 11px; letter-spacing: .15em; }
.brand-mark { position: relative; width: 42px; height: 42px; display: block; border: 1px solid rgba(85, 214, 169, .6); border-radius: 10px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid rgba(85, 214, 169, .45); border-radius: 50%; }
.brand-mark::before { inset: 7px; }
.brand-mark::after { inset: 12px; }
.brand-mark i { position: absolute; left: 20px; bottom: 20px; width: 1px; height: 16px; background: var(--mint); transform: rotate(42deg); transform-origin: bottom; }
.brand-mark b { position: absolute; right: 6px; top: 7px; width: 4px; height: 4px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 10px var(--amber); }

.appbar-center { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.source-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; color: #d4e0e6; background: #0e1b26; border: 1px solid var(--line); border-radius: 999px; }
.source-chip i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px var(--mint-soft); }
.source-chip b { font-weight: 650; }
.appbar-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.service-state { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.status-dot { width: 9px; height: 9px; background: #5f7280; border-radius: 50%; }
.status-dot.running { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); animation: pulse 1.2s infinite; }
.status-dot.succeeded { background: var(--mint); }
.status-dot.failed { background: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 180, 94, 0); } }

main { width: min(1620px, calc(100% - 56px)); margin: 0 auto 84px; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: 13px; font-weight: 800; letter-spacing: .17em; }

.command-run { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.command-run input { height: 44px; padding: 0 13px; color: var(--text); background: #09141e; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.command-run input::-webkit-calendar-picker-indicator { filter: invert(.8); }
.read-only-badge { padding: 7px 11px; color: var(--mint); background: var(--mint-soft); border-radius: 999px; font-size: 13px; cursor: help; }
.primary-button { height: 44px; padding: 0 22px; color: #062019; background: var(--mint); border: 0; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer; }
.primary-button:hover { background: #6ce5bb; }
.primary-button:disabled { cursor: wait; opacity: .65; }
.report-actions .primary-button { min-width: 144px; white-space: nowrap; }
.button-running { display: none; }
body.is-running .button-idle { display: none; }
body.is-running .button-running { display: inline; }

.ghost-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; color: #c4d0d8; background: transparent; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; font-size: 14px; cursor: pointer; }
.ghost-button:hover { color: var(--text); border-color: #3b5364; }
.ghost-button.disabled { color: #536673; pointer-events: none; }

.kpi-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi-card { min-width: 0; min-height: 154px; padding: 22px; text-align: left; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .16s, transform .16s, background .16s; }
.kpi-card.regime { cursor: default; }
.kpi-card.regime:hover { transform: none; }
.kpi-card:hover { transform: translateY(-2px); border-color: #375064; }
.kpi-card.active { background: var(--surface-2); border-color: var(--mint); }
.kpi-card span { display: block; color: var(--muted); font-size: 14px; }
.kpi-card strong { display: block; margin: 16px 0 11px; font-size: 39px; font-weight: 650; line-height: 1; letter-spacing: -.03em; }
.kpi-card small { display: block; color: var(--muted-2); font-size: 12px; line-height: 1.45; }
.kpi-card.action strong { color: var(--amber); }
.kpi-card.hold strong { color: #c28cff; }
.kpi-card.risk strong { color: var(--red); }
.kpi-card.coverage strong { color: var(--mint); }
.kpi-card.regime.risk-on strong { color: var(--mint); }
.kpi-card.regime.neutral strong { color: var(--amber); }
.kpi-card.regime.risk-off strong { color: var(--red); }

.map-panel, .table-panel, .detail-panel, .system-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.map-panel { margin-bottom: 22px; padding: 28px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.panel-heading h2 { margin: 0; font-size: 26px; font-weight: 680; }
.panel-heading > div > p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted-2); font-size: 14px; }
.map-legend { display: flex; gap: 15px; padding-top: 6px; }
.map-legend span { position: relative; padding-left: 15px; color: var(--muted); font-size: 13px; }
.map-legend span::before { content: ""; position: absolute; left: 0; top: 3px; width: 6px; height: 6px; border-radius: 50%; }
.map-legend .breakout::before { background: var(--amber); }
.map-legend .pullback::before { background: var(--mint); }
.map-legend .hold::before { background: var(--blue); }
.map-legend .risk::before { background: var(--red); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin-top: 22px; }
.map-canvas { min-width: 0; height: 340px; padding: 8px 12px 2px 0; background: #09141e; border: 1px solid var(--line-soft); border-radius: 10px; }
#opportunityMap { width: 100%; height: 100%; overflow: visible; }
.map-grid line { stroke: #182b38; stroke-width: 1; }
.map-grid text, .axis-label { fill: #8ca0ad; font-size: 12px; }
.threshold { stroke: rgba(85, 214, 169, .42); stroke-width: 1; stroke-dasharray: 4 5; }
.threshold.risk-line { stroke: rgba(255, 102, 122, .34); }
#opportunityMap circle { cursor: pointer; stroke: rgba(255, 255, 255, .42); stroke-width: 1; transition: r .15s, opacity .15s; }
#opportunityMap circle:hover, #opportunityMap circle:focus { r: 9; opacity: 1; }
.rule-card { padding: 22px; background: var(--surface-2); border-radius: 10px; }
.rule-card > small { color: var(--mint); font-size: 13px; font-weight: 750; letter-spacing: .13em; }
.rule-card ol { margin: 12px 0 0; padding: 0; list-style: none; }
.rule-card li { display: grid; grid-template-columns: 52px 1fr; gap: 11px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.rule-card li b { color: #dce5e9; font-size: 14px; }
.rule-card li span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 22px; align-items: start; }
.table-panel { min-width: 0; padding: 28px; }
.table-heading { align-items: center; }
.report-actions { display: flex; gap: 7px; }
.filters { display: flex; align-items: center; gap: 10px; margin: 24px 0 16px; }
.segmented { display: inline-flex; padding: 3px; background: #09141e; border: 1px solid var(--line); border-radius: 7px; }
.segmented button { min-width: 64px; padding: 9px 13px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: 13px; cursor: pointer; }
.segmented button.active { color: #071b15; background: var(--mint); font-weight: 750; }
.search-field { flex: 1; min-width: 130px; }
.sort-field { width: 160px; }
.date-field { width: 152px; }
.search-field input, .sort-field select, .date-field select { width: 100%; height: 42px; padding: 0 12px; color: #d3dde2; background: #09141e; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }

.table-wrap { position: relative; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 1600px; border-collapse: collapse; }
th { padding: 15px 12px; color: var(--muted-2); font-size: 12px; font-weight: 750; letter-spacing: .07em; text-align: left; white-space: nowrap; }
td { padding: 17px 12px; border-top: 1px solid var(--line-soft); font-size: 14px; vertical-align: middle; }
td small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 12px; }
tbody tr { cursor: pointer; transition: background .12s; }
tbody tr:hover, tbody tr.selected { background: rgba(85, 214, 169, .055); }
tbody tr.selected { box-shadow: inset 2px 0 var(--mint); }
.discovery-row:focus { outline: 2px solid var(--mint); outline-offset: -2px; }
.market-check-button { padding: 7px 11px; color: var(--mint); background: var(--mint-soft); border: 1px solid rgba(85, 214, 169, .24); border-radius: 6px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.market-check-button:hover, .market-check-button:focus { border-color: var(--mint); }
.stock-name { display: block; max-width: 180px; overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.stock-code { display: block; margin-top: 4px; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.plan-pill { display: inline-flex; min-width: 78px; justify-content: center; padding: 7px 10px; border-radius: 6px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.plan-pill.breakout { color: var(--amber); background: var(--amber-soft); }
.plan-pill.pullback { color: var(--mint); background: var(--mint-soft); }
.plan-pill.hold { color: var(--blue); background: var(--blue-soft); }
.plan-pill.risk { color: var(--red); background: var(--red-soft); }
.plan-pill.wait, .plan-pill.insufficient { color: #8c9ba6; background: rgba(129, 147, 161, .1); }
.validation-pill { display: inline-flex; min-width: 82px; justify-content: center; padding: 8px 11px; border-radius: 6px; font-size: 13px; font-weight: 760; white-space: nowrap; }
.validation-pill.double_confirm { color: var(--mint); background: var(--mint-soft); }
.validation-pill.catalyst_wait { color: var(--amber); background: var(--amber-soft); }
.validation-pill.tech_lead { color: var(--blue); background: var(--blue-soft); }
.validation-pill.positive_divergence { color: #cba4ff; background: rgba(194, 140, 255, .12); }
.validation-pill.negative_divergence { color: #ff9c89; background: rgba(255, 141, 120, .12); }
.validation-pill.double_risk { color: var(--red); background: var(--red-soft); }
.validation-pill.observe, .validation-pill.information_insufficient { color: #9babb5; background: rgba(129, 147, 161, .1); }
.score-cell { color: var(--text); font-size: 21px; font-weight: 720; }
.sentiment-score { font-size: 21px; font-weight: 740; }
.sentiment-score.positive { color: var(--mint); }
.sentiment-score.negative { color: var(--red); }
.sentiment-score.neutral { color: var(--muted); }
.evidence-cell { max-width: 370px; }
.evidence-link { display: -webkit-box; overflow: hidden; color: #d5e0e5; font-size: 14px; font-weight: 620; line-height: 1.45; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.evidence-link:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.evidence-empty { color: var(--muted-2); }
.price-map-cell { min-width: 210px; }
.box-range { color: #dce6ea; font-size: 15px; }
.strength-value.high { color: var(--mint); }
.trend-mark { display: inline-flex; align-items: center; gap: 5px; }
.trend-mark::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.trend-mark.up { color: var(--market-up); }
.trend-mark.up::before { background: var(--market-up); }
.trend-mark.down { color: var(--market-down); }
.trend-mark.down::before { background: var(--market-down); }
.trend-mark.neutral, .trend-mark.muted { color: var(--muted); }
.trend-mark.neutral::before, .trend-mark.muted::before { background: var(--muted-2); }
.level-value { font-size: 14px; font-weight: 680; }
.level-value.danger { color: #ff8998; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state[hidden] { display: none; }
.empty-state strong { display: block; margin-top: 17px; color: var(--text); font-size: 18px; }
.empty-state p { margin: 7px 0 0; font-size: 14px; }
.empty-chart { position: relative; display: block; width: 54px; height: 34px; margin: auto; border-left: 1px solid var(--muted-2); border-bottom: 1px solid var(--muted-2); }
.empty-chart::before { content: ""; position: absolute; left: 5px; right: 2px; top: 16px; height: 1px; background: var(--mint); transform: rotate(-15deg); }
.result-count { margin: 14px 0 0; color: var(--muted-2); font-size: 12px; }

.detail-panel { position: sticky; top: 98px; min-height: 700px; max-height: calc(100vh - 122px); padding: 28px; overflow-x: hidden; overflow-y: auto; }
.detail-placeholder { padding: 80px 15px 20px; }
.detail-placeholder > span { color: #243948; font-size: 64px; font-weight: 750; letter-spacing: -.05em; }
.detail-placeholder h2 { margin: 16px 0 8px; font-size: 26px; }
.detail-placeholder p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-head { display: grid; grid-template-columns: 92px 1fr; gap: 19px; align-items: center; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.detail-head h2 { margin: 9px 0 5px; font-size: 27px; }
.detail-head p { margin: 0; color: var(--muted-2); font-family: ui-monospace, monospace; font-size: 12px; }
.score-ring { width: 88px; height: 88px; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, var(--surface) 55%, transparent 57%), conic-gradient(var(--mint) var(--score-angle), #1b2d3a 0); border-radius: 50%; }
.score-ring span { font-size: 28px; font-weight: 720; line-height: 1; }
.score-ring small { margin-top: 5px; color: var(--muted-2); font-size: 11px; }
.action-callout { margin: 17px 0 0; padding: 14px; background: var(--surface-2); border-left: 2px solid var(--muted-2); border-radius: 5px; }
.action-callout.breakout { border-color: var(--amber); }
.action-callout.pullback { border-color: var(--mint); }
.action-callout.hold { border-color: var(--blue); }
.action-callout.risk { border-color: var(--red); }
.action-callout.double_confirm { border-color: var(--mint); }
.action-callout.catalyst_wait { border-color: var(--amber); }
.action-callout.tech_lead { border-color: var(--blue); }
.action-callout.positive_divergence { border-color: #c28cff; }
.action-callout.negative_divergence, .action-callout.double_risk { border-color: var(--red); }
.action-callout small { display: block; margin-bottom: 7px; color: var(--muted-2); font-size: 12px; }
.action-callout strong { font-size: 14px; font-weight: 590; line-height: 1.7; }
.detail-section { margin-top: 22px; }
.detail-section h3 { margin: 0 0 12px; color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.detail-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.sentiment-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.detail-metric { min-width: 0; padding: 13px; background: #0a1620; border: 1px solid var(--line-soft); border-radius: 7px; }
.detail-metric > span { display: block; color: var(--muted-2); font-size: 11px; }
.detail-metric > strong { display: block; margin-top: 6px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.detail-metric > small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; line-height: 1.4; }
.score-breakdown { display: grid; gap: 8px; }
.score-row { display: grid; grid-template-columns: 78px 1fr 58px; gap: 10px; align-items: center; }
.score-row > span { color: #b8c6ce; font-size: 12px; }
.score-row > i { height: 7px; overflow: hidden; background: #1a2b37; border-radius: 999px; }
.score-row > i b { display: block; height: 100%; background: var(--mint); border-radius: inherit; }
.score-row > strong { color: var(--muted); font-size: 11px; text-align: right; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.evidence-grid > div { padding: 10px; background: var(--surface-2); border-radius: 6px; }
.evidence-grid ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.news-list { display: grid; gap: 8px; }
.news-item { display: block; padding: 14px; color: inherit; background: #0a1620; border: 1px solid var(--line-soft); border-radius: 8px; text-decoration: none; transition: border-color .15s, background .15s; }
.news-item:hover { background: #0d1b26; border-color: #365064; }
.news-item > div { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.news-item > div small { color: var(--muted-2); font-size: 12px; }
.news-item > strong { display: block; color: #dce6ea; font-size: 14px; line-height: 1.55; }
.news-item > p { margin: 7px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.news-direction { padding: 4px 7px; border-radius: 4px; font-size: 11px; font-weight: 760; }
.news-direction.positive { color: var(--mint); background: var(--mint-soft); }
.news-direction.negative { color: var(--red); background: var(--red-soft); }
.news-direction.neutral { color: var(--muted); background: rgba(129, 147, 161, .1); }
.news-empty { padding: 18px; color: var(--muted); background: #0a1620; border: 1px dashed var(--line); border-radius: 8px; font-size: 13px; line-height: 1.6; }
.price-map-empty { padding: 18px; color: var(--muted); background: #0a1620; border: 1px dashed var(--line); border-radius: 8px; font-size: 13px; line-height: 1.6; }
.price-map-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.price-map-hero > div { min-width: 0; padding: 13px; background: #0a1620; border: 1px solid var(--line-soft); border-radius: 7px; }
.price-map-hero span { display: block; color: var(--muted-2); font-size: 12px; }
.price-map-hero strong { display: block; margin-top: 6px; color: #e4ecef; font-size: 17px; }
.price-map-hero small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 11px; }
.price-map-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.price-map-meta span { padding: 6px 9px; color: #b7c5cd; background: rgba(105, 167, 255, .09); border-radius: 5px; font-size: 12px; }
.price-ladder { display: grid; gap: 6px; }
.price-level { display: grid; grid-template-columns: 32px 67px 56px minmax(0, 1fr); gap: 7px; align-items: center; padding: 10px 11px; background: #0a1620; border-left: 2px solid var(--line); border-radius: 6px; }
.price-level.resistance { border-color: var(--red); }
.price-level.support { border-color: var(--mint); }
.price-level > span { font-size: 13px; font-weight: 800; }
.price-level.resistance > span { color: #ff8998; }
.price-level.support > span { color: var(--mint); }
.price-level > strong { font-size: 15px; }
.price-level > i { color: var(--muted); font-size: 12px; font-style: normal; }
.price-level > b { overflow: hidden; color: #b9c7ce; font-size: 12px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.price-level > small { grid-column: 2 / -1; color: var(--muted-2); font-size: 11px; }
.horizon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.horizon-card { min-width: 0; padding: 11px; background: var(--surface-2); border-radius: 7px; }
.horizon-card strong { display: block; color: var(--blue); font-size: 15px; }
.horizon-card span { display: block; margin-top: 6px; color: #c9d4da; font-size: 12px; line-height: 1.45; }
.horizon-card small { display: block; margin-top: 7px; color: var(--muted-2); font-size: 11px; line-height: 1.55; }
.price-map-warning { margin: 10px 0 0; padding: 10px 11px; color: #d7bd91; background: var(--amber-soft); border-radius: 6px; font-size: 12px; line-height: 1.6; }
.risk-note { margin-top: 14px; padding: 10px 11px; background: var(--red-soft); border-radius: 6px; }
.risk-note span { color: var(--red); font-size: 11px; font-weight: 750; }
.risk-note p { margin: 5px 0 0; color: #e1b5bd; font-size: 12px; line-height: 1.6; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tag-cloud span { padding: 6px 9px; color: #aec0ca; background: rgba(129, 147, 161, .1); border-radius: 5px; font-size: 11px; }
.raw-toggle { width: 100%; margin-top: 16px; padding: 11px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 12px; }
.raw-json { max-height: 320px; margin: 10px 0 0; padding: 13px; overflow: auto; color: #b9d8cd; background: #050d13; border-radius: 6px; font-size: 11px; line-height: 1.6; white-space: pre-wrap; }

.system-panel { margin-top: 22px; padding: 28px; }
.system-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 8px; margin-top: 17px; }
.system-grid > div { min-width: 0; padding: 16px; background: #09141e; border-radius: 7px; }
.system-grid span { display: block; margin-bottom: 7px; color: var(--muted-2); font-size: 12px; }
.system-grid strong { display: block; overflow: hidden; font-size: 14px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.debug-error { max-height: 240px; margin: 12px 0 0; padding: 15px; overflow: auto; color: #efb9c1; background: var(--red-soft); border-radius: 7px; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }

.progress-window { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: min(600px, calc(100% - 32px)); overflow: hidden; color: var(--text); background: #08131c; border: 1px solid #35566b; border-radius: 13px; box-shadow: var(--shadow); transition: width .18s ease; }
.progress-head { min-height: 64px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.progress-head > div { display: flex; align-items: center; gap: 8px; }
.progress-head strong { font-size: 16px; letter-spacing: .03em; }
.progress-head button { color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 14px; }
.progress-pulse { width: 10px; height: 10px; background: var(--muted-2); border-radius: 50%; }
.progress-window.running .progress-pulse { background: var(--amber); animation: pulse 1.2s infinite; }
.progress-window.succeeded .progress-pulse { background: var(--mint); }
.progress-window.failed .progress-pulse { background: var(--red); }
.progress-body { padding: 22px; }
.progress-window.collapsed { width: 210px; }
.progress-window.collapsed .progress-head { border-bottom: 0; }
.progress-window.collapsed .progress-body { display: none; }
.progress-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.progress-title-row span { display: block; margin-bottom: 6px; color: var(--muted-2); font-size: 12px; letter-spacing: .1em; }
.progress-title-row strong { display: block; max-width: 430px; font-size: 15px; line-height: 1.55; }
.progress-title-row b { color: var(--mint); font-size: 32px; font-weight: 620; }
.progress-track { height: 8px; margin-top: 18px; overflow: hidden; background: #1a2b37; border-radius: 999px; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--mint); transition: width .3s; }
.progress-meta { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted-2); font-size: 12px; }
.progress-log-head { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.progress-log-head span { font-size: 14px; font-weight: 750; }
.progress-log-head small { color: var(--muted-2); font-size: 12px; }
.progress-logs { max-height: 310px; margin: 10px 0 0; padding: 0; overflow-y: auto; list-style: none; }
.progress-logs li { position: relative; padding: 9px 0 9px 72px; color: #c5d1d8; border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.5; }
.progress-logs time { position: absolute; left: 0; color: var(--muted-2); font-family: ui-monospace, monospace; font-size: 11px; }
.progress-logs .log-stage { display: block; margin-bottom: 3px; color: #83ad9f; font-size: 11px; }
.progress-logs .log-empty { padding-left: 0; color: var(--muted-2); }

.toast { position: fixed; z-index: 40; right: 24px; bottom: 102px; max-width: min(480px, calc(100% - 44px)); padding: 14px 18px; color: #062019; background: var(--mint); border-radius: 8px; box-shadow: var(--shadow); font-size: 14px; font-weight: 650; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .18s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { color: white; background: var(--red); }

@media (max-width: 1200px) {
  .workspace { grid-template-columns: 1fr; }
  .detail-panel { position: static; min-height: 0; max-height: none; overflow: visible; }
  .detail-placeholder { padding: 20px 0; }
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .appbar { grid-template-columns: 1fr auto; padding: 0 18px; }
  .appbar-center { display: none; }
  main { width: min(100% - 28px, 1540px); }
  .map-layout { grid-template-columns: 1fr; }
  .rule-card ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .filters { flex-wrap: wrap; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; }
}

@media (max-width: 600px) {
  .brand small, .service-state span:last-child { display: none; }
  .appbar-actions { gap: 8px; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi-card { min-height: 140px; }
  .map-panel, .table-panel, .detail-panel, .system-panel { padding: 16px; }
  .map-legend { display: none; }
  .map-canvas { height: 240px; overflow-x: auto; }
  #opportunityMap { min-width: 700px; }
  .rule-card ol { display: block; }
  .search-field { min-width: calc(100% - 134px); }
  .date-field { width: 100%; }
  .sort-field { width: 150px; }
  .detail-head { grid-template-columns: 80px 1fr; }
  .score-ring { width: 76px; height: 76px; }
  .detail-metrics, .sentiment-summary, .evidence-grid, .price-map-hero, .horizon-grid { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; }
  .progress-window { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .progress-window.collapsed { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.check-row { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.check-inline { display: flex; gap: 10px; }
.check-inline input { flex: 1; height: 44px; padding: 0 13px; color: var(--text); background: #09141e; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.check-inline .ghost-button { height: 44px; padding: 0 20px; white-space: nowrap; }
.check-result { margin-top: 14px; padding: 18px 20px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 10px; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-all; }

.view-tabs { display: flex; gap: 8px; margin: 26px 0 18px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: fit-content; }
.view-tabs button { padding: 10px 22px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.view-tabs button:hover { color: var(--text); }
.view-tabs button.active { color: var(--bg); background: var(--mint); font-weight: 600; }
.view-panel { margin-bottom: 26px; }
.action-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0 26px; }
.action-card { padding: 18px 20px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--muted-2); border-radius: 10px; }
.action-card.actionable { cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.action-card.actionable:hover, .action-card.actionable:focus-visible { transform: translateY(-2px); border-top-color: rgba(85, 214, 169, .5); border-right-color: rgba(85, 214, 169, .5); border-bottom-color: rgba(85, 214, 169, .5); background: #132533; }
.action-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.action-card header b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--surface-3); border-radius: 50%; font-size: 13px; }
.action-card header strong { font-size: 16px; }
.action-card header span { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; background: var(--surface-3); color: var(--muted); }
.action-card p { color: var(--text); font-size: 14px; line-height: 1.65; }
.action-card small { display: block; margin-top: 9px; color: var(--muted-2); font-size: 12.5px; }
.action-card.risk { border-left-color: #f2726f; }
.action-card.risk header span { color: #f2726f; background: rgba(242, 114, 111, .12); }
.action-card.confirm { border-left-color: var(--mint); }
.action-card.confirm header span { color: var(--mint); background: var(--mint-soft); }
.action-card.wait { border-left-color: #e8c268; }
.action-card.wait header span { color: #e8c268; background: rgba(232, 194, 104, .12); }
.action-card.calm { border-left-color: var(--mint); }
.execution-ticket { margin: 13px 0 12px; padding: 14px; border: 1px solid var(--line); border-left: 5px solid #e8c268; border-radius: 10px; background: #091721; }
.execution-ticket.confirm { border-left-color: var(--mint); background: rgba(85, 214, 169, .07); }
.execution-ticket.risk { border-left-color: #f2726f; background: rgba(242, 114, 111, .07); }
.execution-verdict { display: flex; align-items: baseline; gap: 10px; }
.execution-verdict span { color: var(--muted); font-size: 13px; }
.execution-verdict strong { color: #e8c268; font-size: 24px; line-height: 1; }
.execution-ticket.confirm .execution-verdict strong { color: var(--mint); }
.execution-ticket.risk .execution-verdict strong { color: #f2726f; }
.execution-verdict small { margin: 0 0 0 auto; color: var(--muted-2); font-size: 12px; }
.execution-ticket > p { margin: 10px 0; color: var(--text); font-size: 14px; }
.execution-ticket > small { margin-top: 9px; color: var(--muted); font-size: 11.5px; }
.execution-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.execution-prices > div { min-width: 0; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(4, 13, 20, .42); }
.execution-prices span { display: block; color: var(--muted); font-size: 11.5px; }
.execution-prices strong { display: block; margin-top: 3px; color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; }
.action-card-open { width: 100%; margin-top: 15px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; color: var(--text); background: rgba(85, 214, 169, .08); border: 1px solid rgba(85, 214, 169, .25); border-radius: 7px; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.action-card-open:hover { color: var(--bg); background: var(--mint); }
.action-card-open span { font-size: 17px; }
.brief-changes h3, #viewBacktest h3 { margin: 20px 0 12px; font-size: 15.5px; color: var(--muted); }
#viewCheck .check-inline { max-width: 560px; margin-top: 16px; }

.action-card header i { color: var(--muted-2); font-style: normal; font-size: 12.5px; }
.exec-plan { margin-top: 12px; display: grid; gap: 7px; }
.exec-plan div { display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.exec-plan dt { color: var(--muted-2); font-size: 12.5px; padding-top: 1px; }
.exec-plan dd { color: var(--muted); font-size: 13px; line-height: 1.6; }
.exec-plan dd b { color: var(--text); }

.ledger-summary { margin-bottom: 12px; color: var(--muted); font-size: 13.5px; }
.ledger-summary b { color: var(--text); }
#checkCard { width: 100%; margin-top: 16px; }
#checkCard .exec-plan div { grid-template-columns: 70px 1fr; }
#checkCard a { color: var(--mint); }

.state-legend { margin: 4px 0 20px; padding: 18px 20px; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 10px; }
.legend-principle { margin: 8px 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.legend-principle b { color: var(--text); }
.state-legend td:first-child { white-space: nowrap; }
#legendToggle.active { color: var(--bg); background: var(--mint); }

.plan-pill.bottom_start { color: #6cc4f5; background: rgba(108, 196, 245, .13); }

.check-profile { width: 100%; margin-top: 16px; padding: 22px 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; max-width: 1120px; }
.profile-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.profile-banner strong { font-size: 22px; margin-right: 8px; }
.profile-banner em { color: var(--muted-2); font-style: normal; margin-right: 12px; }
.profile-banner i { color: var(--muted); font-style: normal; }
.banner-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; background: var(--surface-3); color: var(--muted); }
.chip.confirm { color: var(--mint); background: var(--mint-soft); }
.chip.risk { color: #f2726f; background: rgba(242, 114, 111, .12); }
.chip.wait { color: #e8c268; background: rgba(232, 194, 104, .12); }
.profile-verdict { margin: 14px 0 6px; font-size: 15px; line-height: 1.7; }
.profile-pos { margin: 6px 0; color: var(--muted); font-size: 13px; }
.profile-pos b { color: var(--text); }
.profile-pos small { display: block; margin-top: 2px; opacity: .75; }
/* 自选池结论只是旁证,视觉上必须与体检自身的判断分开 */
.pool-aside { border-left: 2px solid var(--border); padding-left: 10px; }
.price-scale { position: relative; height: 64px; margin: 22px 6px 10px; }
.scale-track { position: absolute; top: 18px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, rgba(242,114,111,.5), var(--line) 40%, var(--mint-soft)); border-radius: 2px; }
.scale-pin { position: absolute; top: 10px; transform: translateX(-50%); text-align: center; }
.scale-pin b { display: block; width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; background: var(--muted-2); border: 2px solid var(--surface-2); }
.scale-pin.now b { background: var(--text); width: 12px; height: 12px; }
.scale-pin.stop b { background: #f2726f; }
.scale-pin.trigger b { background: var(--mint); }
.scale-pin span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 10.5px; line-height: 1.35; white-space: nowrap; }
.scale-pin.now span { color: var(--text); }
.profile-llm { margin: 14px 0; padding: 13px 16px; background: var(--surface-3); border-radius: 8px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.profile-llm b { display: block; color: var(--text); margin-bottom: 4px; }
.profile-llm small { display: block; margin-top: 6px; color: var(--muted-2); }
.check-profile h4 { margin: 18px 0 10px; font-size: 14px; color: var(--muted); }
.evidence-list { list-style: none; display: grid; gap: 8px; }
.evidence-list li { font-size: 13.5px; line-height: 1.6; }
.evidence-list a { color: var(--text); }
.evidence-list a:hover { color: var(--mint); }
.evidence-list small { display: block; color: var(--muted-2); font-size: 12px; }
.ev-dir { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; background: var(--surface-3); color: var(--muted); }
.ev-dir.positive { color: var(--mint); background: var(--mint-soft); }
.ev-dir.negative { color: #f2726f; background: rgba(242, 114, 111, .12); }
.check-profile tr.hl td { color: var(--text); font-weight: 600; }
.check-profile tr.dim td { color: var(--muted-2); }

.strategy-lab { min-height: 620px; }
.strategy-status { margin: 18px 0; padding: 14px 17px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 9px; font-size: 15px; }
.strategy-status b { color: var(--text); }
.strategy-status.ready { border-left-color: var(--mint); }
.strategy-status.warning { border-left-color: var(--amber); background: var(--amber-soft); }
.strategy-status.error { border-left-color: var(--red); background: var(--red-soft); }
.strategy-status.loading { animation: pulse-border 1.4s ease-in-out infinite; }
.strategy-run-meta { display: block; margin-top: 7px; color: var(--muted-2); font-size: 12.5px; }
@keyframes pulse-border { 50% { border-left-color: var(--mint); } }
.strategy-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.strategy-cards article { padding: 18px; background: linear-gradient(145deg, var(--surface-2), rgba(16, 31, 44, .65)); border: 1px solid var(--line); border-radius: 11px; }
.strategy-cards article.muted { opacity: .58; }
.strategy-cards header { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.strategy-cards header i, .strategy-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.strategy-cards header strong { font-size: 17px; }
.strategy-cards header span { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.strategy-cards article > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strategy-cards article > div > div { min-width: 0; }
.strategy-cards span { display: block; color: var(--muted-2); font-size: 12px; }
.strategy-cards strong { display: block; margin: 3px 0; font-size: 21px; }
.strategy-cards small { display: block; color: var(--muted); font-size: 11.5px; }
.strategy-chart-wrap { margin: 22px 0; padding: 17px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.strategy-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.strategy-chart-head h3 { margin: 0; font-size: 16px; }
.strategy-chart-head span { color: var(--muted-2); font-size: 13px; }
.strategy-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; min-height: 22px; margin: 4px 0 8px; color: var(--muted); font-size: 12px; }
.strategy-chart-key { display: inline-flex; align-items: center; gap: 7px; }
.strategy-chart-key i { width: 26px; height: 3px; border-radius: 3px; background: var(--series-color); box-shadow: 0 0 6px color-mix(in srgb, var(--series-color) 35%, transparent); }
#strategyChart { width: 100%; height: 300px; overflow: visible; }
#strategyChart polyline { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
#strategyChart text { fill: var(--muted-2); font-size: 12px; }
.strategy-grid line { stroke: var(--line-soft); }
.strategy-chart-empty { font-size: 15px !important; }
.strategy-dot { margin-right: 8px; }
.strategy-archive { margin-top: 22px; padding: 17px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.strategy-archive .table-wrap { margin-top: 12px; }
.strategy-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.strategy-notes > div { padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.strategy-notes h3 { margin: 0 0 10px; font-size: 15px; }
.strategy-notes ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }

@media (max-width: 1050px) {
  .strategy-cards { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .strategy-notes { grid-template-columns: 1fr; }
  .view-tabs { width: 100%; overflow-x: auto; }
  .view-tabs button { white-space: nowrap; }
}

/* 题材透视 */
.theme-input { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; align-items: stretch; }
.theme-input textarea { width: 100%; box-sizing: border-box; min-height: 130px; padding: 14px 16px; color: var(--text); background: #09141e; border: 1px solid var(--line); border-radius: 10px; font-size: 15.5px; line-height: 1.6; resize: vertical; font-family: inherit; }
.theme-input textarea:focus { border-color: var(--blue); outline: none; }
.theme-input .primary-button { align-self: flex-end; padding: 0 28px; height: 44px; white-space: nowrap; }
.theme-status { margin: 16px 0 0; padding: 12px 16px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 9px; font-size: 14.5px; }
.theme-status.ready { border-left-color: var(--mint); }
.theme-status.error { border-left-color: var(--red); background: var(--red-soft); }
.theme-abstract { margin-top: 20px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.theme-abstract h3 { display: flex; align-items: baseline; gap: 12px; font-size: 18px; }
.theme-abstract h3 small { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.theme-abstract > p { margin-top: 8px; color: var(--text); font-size: 14.5px; line-height: 1.6; }
.theme-warn { margin-top: 8px; color: #e8c268; font-size: 13px; }
.factor-list { margin-top: 12px; display: grid; gap: 8px; list-style: none; padding: 0; }
.factor-list li { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; font-size: 13.5px; }
.factor-list li b { color: var(--text); }
.factor-list li i { color: var(--muted); font-style: normal; }
.factor-list li small { flex-basis: 100%; color: var(--muted); padding-left: 2px; }
.tier-chip { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.tier-chip.confirm { color: var(--mint); background: var(--mint-soft); }
.tier-chip.risk { color: #f2726f; background: rgba(242, 114, 111, .12); }
.tier-chip.wait { color: #e8c268; background: rgba(232, 194, 104, .12); }
.theme-plates { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.plate-chip { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; background: var(--surface-3); color: var(--muted); border: 1px solid var(--line); }
.plate-chip.confirm { color: var(--mint); border-color: rgba(85, 214, 169, .3); }
.plate-chip.wait { color: #e8c268; border-color: rgba(232, 194, 104, .3); }
.plate-chip.risk { color: #f2726f; border-color: rgba(242, 114, 111, .3); }
.theme-row { cursor: pointer; }
.theme-row:hover td, .theme-row:focus td { background: var(--surface-2); }
.theme-row td small { display: block; color: var(--muted); font-size: 11.5px; }
.theme-plate-cell { max-width: 260px; font-size: 12.5px; color: var(--muted); }

/* 热门题材快捷入口 */
.theme-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 13px; }
.theme-hot-label { color: var(--muted); font-size: 13px; }
.hot-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; color: var(--text); background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; }
.hot-chip:hover, .hot-chip:focus { border-color: var(--blue); }
.hot-chip b.up { color: #f2726f; }
.hot-chip b.down { color: var(--mint); }
#themeHotMeta { flex-basis: 100%; color: var(--muted); font-size: 11.5px; }

/* 行动路线 · 全池趋势阶段分层 */
.route-title { margin: 26px 0 4px; font-size: 16px; color: var(--text); }
.action-route .route-group { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.route-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; user-select: none; }
.route-head:hover { background: var(--surface-3); }
.route-head strong { font-size: 14.5px; }
.route-head b { padding: 2px 10px; border-radius: 999px; background: var(--surface-3); font-size: 12px; color: var(--text); }
.route-head small { flex: 1; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-caret { color: var(--muted); }
.route-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.route-group.confirm .route-dot { background: var(--mint); }
.route-group.wait .route-dot { background: #e8c268; }
.route-group.risk .route-dot { background: #f2726f; }
.route-body { border-top: 1px solid var(--line); }
.route-row { cursor: pointer; }
.route-row:hover td, .route-row:focus td { background: var(--surface-3); }
.route-row td small { display: block; color: var(--muted); font-size: 11.5px; }
.route-detail > td { background: #0a1520; padding: 0 14px 14px; }

/* 内嵌量化档案(行动卡与路线行共用) */
.card-profile { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 4px; cursor: default; }
.inline-profile { padding: 10px 2px 2px; }
.inline-profile .profile-banner { padding: 10px 14px; }
.inline-profile h4 { margin: 14px 0 8px; font-size: 13px; color: var(--muted); }
.inline-profile-actions { margin-top: 12px; }
.action-card .action-card-open { cursor: pointer; }

/* 行动卡策略分组 */
.card-group { margin-top: 18px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.card-group-head { display: flex; align-items: center; gap: 10px; }
.card-group-head strong { font-size: 15px; }
.card-group-head b { padding: 2px 10px; border-radius: 999px; background: var(--surface-3); font-size: 12px; color: var(--text); }
.card-group.confirm .route-dot { background: var(--mint); }
.card-group.wait .route-dot { background: #e8c268; }
.card-group.risk .route-dot { background: #f2726f; }
.card-group-why { margin: 8px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-group-evidence { display: block; margin-top: 5px; color: var(--text); font-size: 12.5px; }
.card-group-evidence b { color: var(--mint); }
.card-group.risk .card-group-evidence b { color: #f2726f; }
.card-group-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; margin-top: 10px; }

@media (max-width: 720px) {
  .execution-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 持有标记与盘中哨兵 */
.held-star { color: #e8c268; margin-right: 5px; }
.hold-toggle { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-3); color: var(--muted); cursor: pointer; font-size: 12px; white-space: nowrap; }
.hold-toggle:hover { border-color: var(--blue); color: var(--text); }
.hold-toggle.held { color: #e8c268; border-color: rgba(232, 194, 104, .4); background: rgba(232, 194, 104, .08); }
.sentinel-alerts { margin: 16px 0 0; display: grid; gap: 8px; }
.sentinel-alert { padding: 11px 15px; border-radius: 9px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--surface-2); font-size: 13.5px; color: var(--text); }
.sentinel-alert.stop { border-left-color: #f2726f; background: rgba(242, 114, 111, .07); }
.sentinel-alert.trigger { border-left-color: var(--mint); background: var(--mint-soft); }
.sentinel-alert b { margin-right: 6px; color: var(--muted); font-weight: 600; }

/* 策略实验室白话化 */
.strategy-verdict { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.strategy-verdict b { color: var(--mint); font-size: 16px; }
.strategy-verdict.sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.grade { padding: 3px 10px; border-radius: 999px; font-size: 12px; background: var(--surface-3); color: var(--muted); }
.grade.confirm { color: var(--mint); background: var(--mint-soft); }
.grade.wait { color: #e8c268; background: rgba(232, 194, 104, .12); }
.grade.risk { color: #f2726f; background: rgba(242, 114, 111, .12); }
.th-help { display: inline-block; margin-left: 4px; width: 14px; height: 14px; line-height: 14px; text-align: center; border-radius: 50%; background: var(--surface-3); color: var(--muted); font-size: 10px; font-style: normal; cursor: help; }
.bench-row td { color: var(--muted); background: rgba(119, 137, 157, .06); }

/* 个股历史胜率警示 */
.odds-warning { margin: 10px 0 2px; padding: 9px 13px; border-radius: 8px; border: 1px solid rgba(232, 194, 104, .35); border-left: 4px solid #e8c268; background: rgba(232, 194, 104, .09); color: #e8c268; font-size: 13px; line-height: 1.55; }

/* 今日结论条 / 回测结论条 */
.brief-verdict { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 16px 0 4px; padding: 15px 18px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 10px; }
.verdict-line { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.verdict-line em { flex: none; color: var(--mint); font-size: 13px; font-weight: 800; font-style: normal; letter-spacing: .12em; }
.verdict-line strong { font-size: 17px; font-weight: 700; line-height: 1.5; }
.verdict-line strong b { color: var(--mint); }
.verdict-stats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-stat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; background: var(--surface-3); border-radius: 999px; color: var(--muted); font-size: 13px; }
.v-stat strong { font-size: 17px; font-weight: 750; color: var(--text); }
.v-stat.confirm strong { color: var(--mint); }
.v-stat.risk strong { color: #f2726f; }
.v-stat.dim { opacity: .55; }

/* 行动卡:详情折叠与等待组紧凑卡 */
.action-card .card-detail { display: none; }
.action-card.expanded .card-detail { display: block; }
.action-card.compact .execution-prices, .action-card.compact .execution-ticket > small { display: none; }
.action-card.compact.expanded .execution-prices, .action-card.compact.expanded .execution-ticket > small { display: grid; }
.action-card.compact.expanded .execution-ticket > small { display: block; }
.action-card.compact { padding: 13px 16px; }
.action-card.compact .execution-ticket { margin: 8px 0 4px; padding: 9px 12px; }
.action-card.compact .execution-ticket > p { margin: 6px 0 0; font-size: 13px; }
.action-card.compact .action-card-open { margin-top: 9px; padding: 6px 11px; font-size: 12.5px; background: transparent; border-color: var(--line); color: var(--muted); }

/* 题材透视:阶段分组行 */
.theme-stage-head td { padding: 13px 14px 9px; background: var(--surface-2); border-top: 1px solid var(--line); }
.theme-stage-head .chip { margin-right: 9px; }
.theme-stage-head b { color: var(--muted); font-size: 13px; }
.theme-stage-head em { margin-left: 11px; color: var(--mint); font-size: 12.5px; font-style: normal; font-weight: 650; }
.theme-stage-head.prime td { border-left: 3px solid var(--mint); }
.theme-stage-head.foldable { cursor: pointer; }
.theme-stage-head.foldable:hover td { background: var(--surface-3); }
.stage-caret { float: right; color: var(--muted-2); font-size: 12.5px; }

/* 历史回测:分段折叠 */
.bt-section { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 9px; }
.bt-section summary { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
.bt-section summary::-webkit-details-marker { display: none; }
.bt-section summary::after { content: ""; margin-left: auto; color: var(--muted-2); font-size: 13px; }
.bt-section[open] summary::after { content: ""; }
.bt-section summary h3 { margin: 0; font-size: 16px; }
.bt-section > *:not(summary) { margin-left: 16px; margin-right: 16px; }
.bt-section > .table-wrap { margin-bottom: 14px; }

/* 运行版本徽章 */
.app-version { padding: 5px 10px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-variant-numeric: tabular-nums; cursor: help; }

/* 热点行动:出处徽章 */
.hot-origins { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 4px; }
.hot-origins .chip { font-size: 11.5px; padding: 3px 9px; }

/* 持仓作战室 */
.position-room { margin: 16px 0 4px; }
.position-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; }
.position-card { padding: 15px 18px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--muted-2); border-radius: 10px; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.position-card:hover, .position-card:focus-visible { transform: translateY(-2px); background: #132533; }
.position-card.confirm { border-left-color: var(--mint); }
.position-card.risk { border-left-color: #f2726f; }
.position-card.wait { border-left-color: #e8c268; }
.position-card.dim { opacity: .65; cursor: default; }
.position-card header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.position-card header strong { font-size: 15.5px; }
.position-verdict { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 750; }
.position-verdict.confirm { color: var(--mint); background: var(--mint-soft); }
.position-verdict.risk { color: #f2726f; background: rgba(242, 114, 111, .14); }
.position-verdict.wait { color: #e8c268; background: rgba(232, 194, 104, .14); }
.position-entry, .position-stops { margin: 4px 0; color: var(--text); font-size: 13.5px; }
.position-entry b, .position-stops b { font-variant-numeric: tabular-nums; }
.position-reason { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.position-comparator { margin: 12px 0 0; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; }
.position-comparator.switch { border-color: rgba(85, 214, 169, .5); color: var(--mint); }

/* 关注队列 */
.watch-queue { margin: 14px 0 4px; }
.watch-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.watch-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.watch-chip b { cursor: pointer; font-weight: 650; }
.watch-chip b:hover { color: var(--mint); }
.watch-chip i { color: var(--amber); font-style: normal; font-variant-numeric: tabular-nums; }
.watch-chip small { color: var(--muted-2); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-remove { width: 20px; height: 20px; padding: 0; color: var(--muted-2); background: transparent; border: 0; border-radius: 50%; font-size: 15px; cursor: pointer; }
.watch-remove:hover { color: var(--red); background: var(--red-soft); }
.watch-add { padding: 7px 12px; color: var(--muted); background: transparent; border: 1px dashed var(--line); border-radius: 7px; font-size: 12.5px; cursor: pointer; }
.watch-add:hover { color: var(--mint); border-color: rgba(85, 214, 169, .5); }
.watch-add.mini { margin-left: 6px; padding: 4px 9px; font-size: 12px; }
.hot-card-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hot-card-actions .action-card-open { flex: 1; margin-top: 0; }

/* 核心题材机会漏斗 */
.core-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 18px 0 12px; }
.funnel-step { position: relative; min-width: 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.funnel-step:not(:last-child)::after { content: "›"; position: absolute; right: -9px; z-index: 2; color: var(--muted-2); font-size: 22px; }
.funnel-step > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--mint); background: var(--mint-soft); border-radius: 50%; font-weight: 800; }
.funnel-step strong, .funnel-step small { display: block; }
.funnel-step strong { font-size: 14px; }
.funnel-step small { margin-top: 3px; color: var(--muted-2); font-size: 11px; line-height: 1.35; }
.funnel-step > b { color: var(--text); font-size: 27px; }
.funnel-step.ready { border-color: rgba(85, 214, 169, .6); box-shadow: inset 0 0 30px rgba(85, 214, 169, .05); }
.core-card { padding: 21px 22px; }
.gate-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.gate { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); background: rgba(7, 16, 25, .35); font-size: 12px; }
.gate.pass { color: var(--mint); border-color: rgba(85, 214, 169, .32); background: var(--mint-soft); }
.trend-hold { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 12px 0 4px; padding: 12px 14px; background: rgba(105, 167, 255, .08); border: 1px solid rgba(105, 167, 255, .2); border-radius: 8px; }
.trend-hold span { color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.trend-hold strong { font-size: 13.5px; font-weight: 600; }
.trend-hold small { grid-column: 2; margin: 0; font-size: 12px; }

@media (max-width: 1050px) {
  .core-funnel { grid-template-columns: 1fr 1fr; }
  .funnel-step:not(:last-child)::after { display: none; }
}

@media (max-width: 620px) {
  .core-funnel { grid-template-columns: 1fr; }
  .trend-hold { grid-template-columns: 1fr; }
  .trend-hold small { grid-column: 1; }
}

/* 市场环境闸门(结论条首行) */
.regime-line { flex-basis: 100%; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 11px; border-bottom: 1px solid var(--line-soft); }
.regime-badge { padding: 4px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.regime-line.confirm .regime-badge { color: var(--mint); background: var(--mint-soft); }
.regime-line.wait .regime-badge { color: #e8c268; background: rgba(232, 194, 104, .14); }
.regime-line.risk .regime-badge { color: #f2726f; background: rgba(242, 114, 111, .14); }
.regime-stats { color: var(--muted); font-size: 13px; }
.regime-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.regime-advice { color: var(--muted-2); font-size: 12.5px; }
.regime-line.risk .regime-advice { color: #f2726f; }

/* SQRR 超级优质深跌修复 */
.sqrr-brief { flex-basis: 100%; display: grid; grid-template-columns: minmax(260px, 1.5fr) auto minmax(250px, 1fr) minmax(260px, 1fr); align-items: center; gap: 16px; width: 100%; padding: 15px 17px; color: var(--text); text-align: left; background: #0b1b26; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 9px; cursor: pointer; }
.sqrr-brief.confirm { border-left-color: var(--mint); background: linear-gradient(100deg, rgba(85, 214, 169, .11), #0b1b26 55%); }
.sqrr-v2-brief { border-color: rgba(105, 167, 255, .36); border-left-color: #69a7ff; background: linear-gradient(105deg, rgba(105, 167, 255, .12), rgba(11, 27, 38, .96) 52%); }
.sqrr-v2-brief.confirm { border-left-color: #55d6a9; box-shadow: inset 0 0 26px rgba(85, 214, 169, .06); }
.sqrr-brief.empty { display: flex; justify-content: space-between; cursor: default; }
.sqrr-brief span { color: var(--muted); font-size: 12.5px; }
.sqrr-brief strong { display: block; margin: 4px 0; font-size: 16px; }
.sqrr-brief p { margin: 0; color: var(--muted-2); font-size: 12.5px; }
.sqrr-score { text-align: center; }
.sqrr-score b { display: block; color: var(--mint); font-size: 30px; font-variant-numeric: tabular-nums; }
.sqrr-score small { color: var(--muted-2); }
.sqrr-mini, .sqrr-levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; }
.sqrr-levels span { color: var(--text); font-variant-numeric: tabular-nums; }
.sqrr-detail { padding: 16px; background: #0a1721; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 9px; }
.sqrr-detail.confirm { border-left-color: var(--mint); }
.sqrr-detail.risk { border-left-color: var(--red); }
.sqrr-detail.sqrr-v2 { border-color: rgba(105, 167, 255, .32); border-left-color: #69a7ff; background: radial-gradient(circle at 100% 0, rgba(105, 167, 255, .11), transparent 42%), #0a1721; }
.sqrr-detail.sqrr-v2.confirm { border-left-color: var(--mint); }
.sqrr-detail > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sqrr-detail > header span { display: block; color: var(--mint); font-size: 11px; letter-spacing: .12em; }
.sqrr-detail > header strong { display: block; margin-top: 4px; font-size: 18px; }
.sqrr-detail > header em { color: var(--muted-2); font-size: 12px; font-style: normal; }
.sqrr-factors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.sqrr-v2-gates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.sqrr-v2-gates span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-2); font-size: 12px; }
.sqrr-v2-gates span.on { color: var(--mint); border-color: rgba(85, 214, 169, .4); background: rgba(85, 214, 169, .08); }
.sqrr-v2-gates span.off { color: var(--red); border-color: rgba(255, 111, 117, .34); background: rgba(255, 111, 117, .07); }
.sqrr-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sqrr-prices span { padding: 9px 11px; color: var(--muted); background: var(--surface-2); border-radius: 6px; font-size: 12px; }
.sqrr-prices b { display: block; margin-top: 3px; color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.sqrr-detail > p, .sqrr-empty { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.sqrr-empty { padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 8px; }

@media (max-width: 1100px) {
  .sqrr-brief { grid-template-columns: 1fr auto; }
  .sqrr-mini, .sqrr-levels { grid-column: 1 / -1; }
  .sqrr-factors { grid-template-columns: repeat(2, 1fr); }
  .sqrr-prices { grid-template-columns: repeat(2, 1fr); }
}

/* 交易手册 */
.manual-doc { max-width: 880px; }
.manual-doc h3 {
  margin: 26px 0 10px;
  font-size: 15px;
  color: var(--accent, #55d6a9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.manual-doc ul, .manual-doc ol { margin: 8px 0 14px 20px; line-height: 1.75; }
.manual-doc li { margin-bottom: 4px; }
.manual-doc p { line-height: 1.75; margin: 8px 0; }
.manual-doc b { color: var(--text-strong, #f2f6fa); }
.manual-doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.manual-doc table th, .manual-doc table td {
  text-align: left; padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
}
.manual-doc table th { color: var(--muted, #8fa3b8); font-weight: 600; white-space: nowrap; }
.manual-doc .manual-note { font-size: 12.5px; color: var(--muted, #8fa3b8); }

/* ---- 股票池(v3.1.0) ---- */
.pool-lights span { font-size: 13px; margin-right: 2px; cursor: default; }
.pool-logic { max-width: 340px; font-size: 12px; color: var(--text-dim, #9aa4b2); }
.pool-actions { white-space: nowrap; }
.pool-actions .ghost-button { padding: 2px 8px; font-size: 12px; }
.pool-actions .ghost-button.confirm { border-color: #2f9e6e; color: #2f9e6e; }
.light-toggle { background: none; border: none; font-size: 15px; cursor: pointer; opacity: .9; }
.light-toggle:hover { opacity: 1; transform: scale(1.15); }
.pool-check { font-weight: 600; text-decoration: none; }
.pool-check:hover { text-decoration: underline; }

/* ---- 池内深度页(v3.2.0) ---- */
.fund-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin: 10px 0 16px; }
.fund-chart-box { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.fund-chart-box h3 { margin: 0 0 6px; font-size: 14px; }
.fund-chart { width: 100%; height: auto; }
.fund-chart .grid { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.fund-chart .grid.zero { stroke: rgba(255,255,255,.28); }
.fund-chart .axis-label { fill: var(--text-dim, #8fa0b3); font-size: 10px; }
.fund-chart .fund-line { fill: none; stroke-width: 2; }
.fund-chart .line-label { font-size: 11px; font-weight: 600; }
.fund-legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-dim, #8fa0b3); margin-bottom: 4px; }
.fund-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.pool-verdict { font-size: 13px; background: var(--surface-2); border-radius: 8px; padding: 8px 12px; }
.plan-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 14px; align-items: end; }
.plan-form label { display: flex; flex-direction: column; font-size: 12px; color: var(--text-dim, #8fa0b3); gap: 4px; }
.plan-form input { background: var(--surface-3); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: inherit; padding: 6px 8px; }
.plan-form .plan-note { grid-column: span 2; }
.plan-form .plan-meta { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.plan-form small { grid-column: 1 / -1; color: var(--text-dim, #8fa0b3); }
.plan-rr { font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--surface-3); }
.plan-rr.good { color: #f2726f; }
.plan-rr.bad { color: var(--text-dim, #8fa0b3); text-decoration: line-through; }

/* ---- 三标签架构收敛(v3.4.0):池页折叠分区 ---- */
.fold-panel > summary { cursor: pointer; list-style: none; padding: 14px 18px; background: var(--surface-2); border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--text-dim, #9aa4b2); user-select: none; }
.fold-panel > summary::before { content: ""; color: var(--blue); }
.fold-panel[open] > summary::before { content: ""; }
.fold-panel[open] > summary { border-radius: 12px 12px 0 0; color: inherit; }
.fold-panel > summary::-webkit-details-marker { display: none; }

/* ---- 统一提名出口(v3.6.0) ---- */
.pool-nominate { border: 1px solid #2f9e6e; color: #2f9e6e; background: none; border-radius: 6px; padding: 3px 8px; cursor: pointer; font-size: 12px; margin-right: 4px; }
.pool-nominate:hover { background: rgba(47, 158, 110, .12); }
.pool-nominate.mini { padding: 2px 6px; }

/* ---- 行动排名(v3.7.0) ---- */
#actionRanking .rank-top td { background: rgba(105, 167, 255, .06); }
#actionRanking td b { color: var(--blue); }
.rank-check { font-weight: 600; text-decoration: none; }
.rank-check:hover { text-decoration: underline; }

/* ---- 题材雷达扫描(v3.8.0) ---- */
.theme-radar { margin: 14px 0; }
.theme-radar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.theme-radar-head span { font-size: 12px; color: var(--text-dim, #9aa4b2); }

/* ---- 自选搜索添加(v3.9.2) ---- */
.pool-resolve { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.resolve-chip { border: 1px solid var(--blue); color: var(--blue); background: none; border-radius: 16px; padding: 4px 12px; cursor: pointer; font-size: 13px; }
.resolve-chip:hover { background: rgba(105, 167, 255, .12); }
.resolve-chip.dim { border-color: rgba(255,255,255,.2); color: var(--text-dim, #8fa0b3); cursor: default; }

/* ---- 行动计划展开(v3.10.0) ---- */
.rank-detail td { background: var(--surface-2); padding: 0 12px 12px; }
#actionRanking tbody tr:not(.rank-detail):hover td { background: rgba(255,255,255,.04); }

/* ---- 自选池行业分组紧凑排列(v3.11.0) ---- */
.ind-group { margin-bottom: 14px; }
.ind-group h4 { margin: 0 0 6px; font-size: 13px; color: var(--text-dim, #8fa0b3); }
.ind-group h4 b { margin-left: 6px; color: var(--blue); }
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pool-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 4px 8px 4px 12px; font-size: 13px; }
.pool-chip .chip-x { background: none; border: none; color: var(--text-dim, #8fa0b3); cursor: pointer; font-size: 14px; padding: 0 2px; }
.pool-chip .chip-x:hover { color: var(--red); }
.rank-rest { margin-top: 10px; }

/* ---- 大盘指针(v3.16.0) ---- */
.dial-headline { font-size: 15px; font-weight: 600; }
.dial-gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0 18px; }
.dial-gauge { background: var(--surface-2); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.dial-gauge small { color: var(--text-dim, #8fa0b3); }
.dial-gauge strong.chip { font-size: 18px; align-self: flex-start; }
.dial-gauge span { font-size: 12px; color: var(--text-dim, #8fa0b3); }
.dial-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 12px 0; }
.dial-list { list-style: none; margin: 6px 0 0; padding: 0; }
.dial-list li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.08); font-size: 13px; }
.dial-dates .dial-chip { border: 1px solid rgba(255,255,255,.15); background: none; color: inherit; border-radius: 14px; padding: 3px 10px; margin-left: 6px; cursor: pointer; font-size: 12px; }
.dial-dates .dial-chip.active { border-color: var(--blue); color: var(--blue); }
b.up, .up { color: var(--market-up); }
b.down, .down { color: var(--market-down); }
.dim { color: var(--text-dim, #8fa0b3); }

/* ---- 全局视觉升级(v3.47.0):图像主视觉 + 动态图标 + 高密度可读性 ---- */
:root {
  --bg: #050b12;
  --surface: rgba(10, 22, 32, .92);
  --surface-2: rgba(16, 34, 47, .86);
  --surface-3: #172d3d;
  --line: rgba(139, 173, 195, .20);
  --line-soft: rgba(139, 173, 195, .11);
  --text: #f3f8fb;
  --muted: #b8c7d1;
  --muted-2: #8fa4b3;
  --mint: #50e3b0;
  --mint-soft: rgba(80, 227, 176, .13);
  --blue: #72acff;
  --blue-soft: rgba(114, 172, 255, .13);
  --amber: #ffc172;
  --amber-soft: rgba(255, 193, 114, .13);
  --red: #ff7b83;
  --red-soft: rgba(255, 123, 131, .13);
  --purple: #be9cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, .38);
  --shadow-soft: 0 14px 44px rgba(0, 0, 0, .22);
}

body {
  font-size: 17px;
  background:
    radial-gradient(circle at 90% 5%, rgba(50, 109, 160, .15), transparent 32rem),
    radial-gradient(circle at 5% 32%, rgba(35, 154, 130, .08), transparent 28rem),
    linear-gradient(180deg, #060d15 0%, #050b12 52%, #07111a 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background-image:
    linear-gradient(rgba(135, 171, 194, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 171, 194, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.appbar {
  height: 88px;
  padding-inline: max(28px, calc((100% - 1660px) / 2));
  border-bottom-color: rgba(139, 173, 195, .16);
  background: rgba(5, 12, 19, .80);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .20);
  backdrop-filter: blur(24px) saturate(130%);
}
.brand { gap: 14px; }
.brand strong { font-size: 22px; letter-spacing: -.01em; }
.brand small { margin-top: 3px; color: #829cab; font-size: 10px; letter-spacing: .20em; }
.brand-visual {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  flex: none;
  background: #071924 url("/assets/market-radar-hero-v1.webp") 34% 55% / 210% auto;
  border: 1px solid rgba(80, 227, 176, .42);
  border-radius: 15px;
  box-shadow: inset 0 0 28px rgba(25, 192, 153, .14), 0 10px 30px rgba(0, 0, 0, .30);
}
.brand-visual::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(139, 255, 221, .35);
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(80, 227, 176, .10);
}
.brand-visual::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 2px;
  height: 22px;
  background: linear-gradient(to top, #50e3b0, transparent);
  transform-origin: bottom;
  animation: radarSweep 3.2s linear infinite;
}
.brand-visual b { position: absolute; right: 9px; top: 11px; width: 5px; height: 5px; background: #ff8c7f; border-radius: 50%; box-shadow: 0 0 12px #ff8c7f; animation: signalBlink 2.1s ease-in-out infinite; }
.brand-visual i { display: none; }
@keyframes radarSweep { to { transform: rotate(360deg); } }
@keyframes signalBlink { 50% { opacity: .35; transform: scale(.72); } }

.appbar-center { gap: 20px; font-size: 14px; }
.source-chip { min-height: 40px; padding: 9px 15px; background: rgba(15, 31, 43, .84); border-radius: 13px; }
.source-chip i { animation: softPulse 2s ease-out infinite; }
.appbar-actions { gap: 12px; }
.app-version { padding: 7px 11px; background: rgba(17, 34, 46, .82); }
.service-state { padding: 8px 12px; background: rgba(17, 34, 46, .74); border: 1px solid var(--line-soft); border-radius: 12px; }
@keyframes softPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(80, 227, 176, .10); } 50% { box-shadow: 0 0 0 8px rgba(80, 227, 176, 0); } }

main { width: min(1660px, calc(100% - 64px)); margin-top: 28px; }
.command-run { position: relative; z-index: 1; }
.command-run { padding: 12px; background: rgba(5, 14, 22, .64); border: 1px solid rgba(151, 190, 211, .19); border-radius: 16px; backdrop-filter: blur(14px); }
.primary-button { min-height: 48px; padding-inline: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(30, 190, 146, .20); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30, 190, 146, .30); }
.ghost-button { min-height: 42px; border-radius: 11px; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.ghost-button:hover { transform: translateY(-1px); background: rgba(114, 172, 255, .08); border-color: rgba(114, 172, 255, .40); }
.read-only-badge { padding: 8px 12px; border: 1px solid rgba(80, 227, 176, .18); }

.view-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 10px;
  margin: 24px 0 20px;
  padding: 9px;
  background: rgba(8, 19, 28, .78);
  border-color: rgba(139, 173, 195, .17);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

#actionRanking tbody tr[data-code] { cursor: pointer; }
#actionRanking tbody tr[data-code]:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.view-tabs button {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 14px;
  overflow: hidden;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.view-tabs button:hover { color: var(--text); background: rgba(114, 172, 255, .06); transform: translateY(-1px); }
.view-tabs button.active { color: var(--text); background: linear-gradient(135deg, rgba(80, 227, 176, .17), rgba(82, 142, 218, .09)); border-color: rgba(80, 227, 176, .30); box-shadow: inset 0 0 24px rgba(80, 227, 176, .06); }
.view-tabs button > span:last-child { min-width: 0; font-size: 14px; font-weight: 720; }
.view-tabs button small { display: block; margin-top: 3px; overflow: hidden; color: #8298a8; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.nav-visual {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: block;
  border: 1px solid rgba(141, 181, 204, .24);
  border-radius: 12px;
  background: rgba(9, 25, 36, .82);
  box-shadow: inset 0 0 16px rgba(93, 168, 211, .07);
}
.nav-visual::before, .nav-visual::after, .nav-visual i { content: ""; position: absolute; display: block; }
.nav-visual.dial::before { inset: 8px; border: 1px solid #62d9b0; border-radius: 50%; }
.nav-visual.dial::after { left: 18px; bottom: 18px; width: 1px; height: 12px; background: #62d9b0; transform-origin: bottom; animation: radarSweep 3s linear infinite; }
.nav-visual.dial i { right: 8px; top: 10px; width: 4px; height: 4px; background: #ff8c7f; border-radius: 50%; box-shadow: 0 0 8px #ff8c7f; }
.nav-visual.pool::before { left: 9px; top: 9px; width: 19px; height: 5px; background: #72acff; border-radius: 4px; box-shadow: 0 7px 0 rgba(114,172,255,.68), 0 14px 0 rgba(114,172,255,.38); }
.nav-visual.results::before { left: 9px; bottom: 8px; width: 4px; height: 10px; background: #50e3b0; border-radius: 3px; box-shadow: 7px -6px 0 #72acff, 14px -13px 0 #ffc172; }
.nav-visual.results::after { left: 8px; right: 8px; bottom: 7px; height: 1px; background: rgba(190,210,220,.4); }
.nav-visual.check::before { left: 9px; top: 8px; width: 14px; height: 14px; border: 2px solid #72acff; border-radius: 50%; }
.nav-visual.check::after { left: 23px; top: 23px; width: 9px; height: 2px; background: #72acff; transform: rotate(45deg); border-radius: 2px; }
.nav-visual.theme::before { left: 8px; top: 16px; width: 6px; height: 6px; background: #be9cff; border-radius: 50%; box-shadow: 16px -8px 0 #50e3b0, 16px 8px 0 #ffc172; }
.nav-visual.theme::after { left: 12px; top: 18px; width: 18px; height: 1px; background: rgba(190,156,255,.65); transform: rotate(-25deg); box-shadow: 0 7px 0 rgba(190,156,255,.45); }
.nav-visual.labs::before { left: 7px; right: 7px; bottom: 8px; height: 14px; border-left: 2px solid rgba(114,172,255,.5); border-bottom: 2px solid rgba(114,172,255,.5); }
.nav-visual.labs::after { left: 11px; top: 17px; width: 19px; height: 2px; background: #50e3b0; transform: rotate(-28deg); border-radius: 3px; box-shadow: 7px -3px 8px rgba(80,227,176,.35); }
.view-tabs button.active .nav-visual { border-color: rgba(80, 227, 176, .48); background: rgba(14, 43, 50, .88); box-shadow: 0 0 24px rgba(80, 227, 176, .12); }

.map-panel, .table-panel, .detail-panel, .system-panel {
  background: linear-gradient(150deg, rgba(13, 28, 40, .95), rgba(8, 19, 28, .93));
  border-color: rgba(139, 173, 195, .18);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.table-panel, .map-panel, .system-panel { padding: 34px; }
.panel-heading { gap: 28px; }
.panel-heading h2 { font-size: clamp(25px, 2.2vw, 34px); font-weight: 740; letter-spacing: -.03em; }
.panel-heading > div > p:not(.eyebrow) { max-width: 980px; margin-top: 11px; color: #99adbb; font-size: 14px; line-height: 1.7; }
.eyebrow { margin-bottom: 13px; color: #67e9ba; font-size: 11px; letter-spacing: .21em; }
.view-panel { animation: panelReveal .32s ease both; }
@keyframes panelReveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.dial-headline { margin: 20px 0 12px; padding: 16px 18px; color: #e7f5f2; background: linear-gradient(90deg, rgba(80, 227, 176, .12), rgba(114, 172, 255, .05)); border: 1px solid rgba(80, 227, 176, .18); border-radius: 14px; font-size: 16px; }
.dial-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 26px; }
.dial-gauge { position: relative; min-height: 156px; justify-content: flex-end; padding: 22px; overflow: hidden; background: radial-gradient(circle at 85% 12%, rgba(80,227,176,.16), transparent 42%), linear-gradient(145deg, rgba(20,43,57,.95), rgba(12,27,38,.95)); border: 1px solid rgba(139,173,195,.16); border-radius: 18px; }
.dial-gauge::before { content: ""; position: absolute; width: 88px; height: 88px; right: 18px; top: 16px; border: 1px solid rgba(80,227,176,.16); border-radius: 50%; box-shadow: 0 0 0 12px rgba(80,227,176,.035), 0 0 0 24px rgba(80,227,176,.018); }
.dial-gauge small { font-size: 12px; }
.dial-gauge strong.chip { margin: 10px 0 5px; padding: 0; background: transparent; font-size: 27px; letter-spacing: -.03em; }
.dial-gauge span { font-size: 12px; }
.dial-columns { gap: 16px; margin: 20px 0; }
.dial-columns > div { padding: 20px; background: rgba(15, 32, 44, .70); border: 1px solid var(--line-soft); border-radius: 16px; }
.dial-columns h3 { margin-top: 0; }
.dial-list li { padding: 8px 0; border-bottom-style: solid; }
.dial-dates .dial-chip { min-height: 34px; padding: 5px 12px; border-radius: 10px; }
.dial-dates .dial-chip.active { color: #081a18; background: #50e3b0; border-color: #50e3b0; font-weight: 800; }

.dial-intelligence { margin: 30px 0; padding: 26px; background: linear-gradient(145deg, rgba(11,29,42,.94), rgba(7,20,30,.94)); border: 1px solid rgba(124,167,193,.19); border-radius: 20px; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.intelligence-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.intelligence-heading small { color: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.intelligence-heading h3 { margin: 6px 0 4px; color: #eaf3f5; font-size: 22px; }
.intelligence-heading p { max-width: 860px; margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.65; }
.intelligence-heading > span { flex: none; padding: 7px 10px; color: #a9c9ff; background: rgba(114,172,255,.08); border: 1px solid rgba(114,172,255,.18); border-radius: 999px; font-size: 11px; }
.flow-conviction-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow-card { position: relative; min-width: 0; padding: 19px; overflow: hidden; background: linear-gradient(150deg, rgba(20,43,56,.94), rgba(12,29,40,.94)); border: 1px solid var(--line-soft); border-top: 3px solid #617888; border-radius: 16px; }
.flow-card::after { content: ""; position: absolute; right: -36px; top: -42px; width: 118px; height: 118px; background: radial-gradient(circle, rgba(114,172,255,.12), transparent 68%); border-radius: 50%; pointer-events: none; }
.flow-card.accelerating { border-top-color: #50e3b0; }
.flow-card.sustained { border-top-color: #72acff; }
.flow-card.pulse, .flow-card.cooling { border-top-color: #ffc172; }
.flow-card header { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.flow-card header small, .flow-card header strong { display: block; }
.flow-card header small { color: var(--muted-2); font-size: 10px; letter-spacing: .08em; }
.flow-card header strong { margin-top: 5px; font-size: 18px; }
.flow-status { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 8px; color: #9eb2bf; background: rgba(130,151,164,.09); border: 1px solid rgba(130,151,164,.16); border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.flow-status.accelerating { color: #76eec4; background: rgba(80,227,176,.10); border-color: rgba(80,227,176,.24); }
.flow-status.sustained { color: #9fc4ff; background: rgba(114,172,255,.10); border-color: rgba(114,172,255,.24); }
.flow-status.pulse, .flow-status.cooling { color: #ffd090; background: rgba(255,193,114,.10); border-color: rgba(255,193,114,.23); }
.flow-score { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 12px; }
.flow-score b { color: #f0faf7; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.flow-score span { color: var(--muted-2); font-size: 10px; }
.flow-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.flow-metrics span { min-width: 0; padding: 9px; background: rgba(5,16,24,.44); border-radius: 9px; }
.flow-metrics small, .flow-metrics b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-metrics small { color: var(--muted-2); font-size: 9px; }
.flow-metrics b { margin-top: 4px; font-size: 12px; }
.flow-card > p, .flow-card footer { margin: 12px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.55; }
.flow-card footer { min-height: 34px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: #b9cbd4; }
.flow-table { margin-top: 18px; }
.flow-table table { min-width: 1540px; }
.flow-table-score { display: block; margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.market-leaders, .dial-company-list { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.market-leader { color: #c2d0d6; font-size: 11px; white-space: nowrap; }
.market-leader i { margin-left: 3px; font-style: normal; }
.dial-stock-check { display: flex; align-items: center; gap: 6px; padding: 4px 7px; color: inherit; background: rgba(114,172,255,.06); border: 1px solid rgba(114,172,255,.13); border-radius: 7px; cursor: pointer; white-space: nowrap; }
.dial-stock-check:hover { border-color: rgba(80,227,176,.38); }
.dial-stock-check b { font-size: 11px; }
.dial-stock-check small { color: var(--muted-2); font-size: 8px; }
.data-lineage { margin: 13px 0 0; color: #748c9b; font-size: 10px; line-height: 1.6; }

.news-intelligence { background: radial-gradient(circle at 94% 8%, rgba(190,156,255,.10), transparent 24rem), linear-gradient(145deg, rgba(12,29,42,.94), rgba(8,20,31,.94)); }
.market-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-news-card { min-width: 0; padding: 19px; background: rgba(16,35,48,.78); border: 1px solid var(--line-soft); border-left: 3px solid #7890a0; border-radius: 14px; }
.market-news-card.importance-high { border-left-color: #ff8c7f; }
.market-news-card.importance-medium { border-left-color: #ffc172; }
.market-news-card > header { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 10px; }
.market-news-card > header time { margin-left: auto; }
.news-importance { padding: 3px 6px; color: #dce8ec; background: rgba(255,255,255,.055); border-radius: 999px; font-weight: 800; }
.importance-high .news-importance { color: #ffaaa2; background: rgba(255,140,127,.10); }
.market-news-card h4 { margin: 12px 0 7px; color: #e7f0f3; font-size: 16px; line-height: 1.45; }
.news-summary { margin: 0; color: #a7bbc6; font-size: 12px; line-height: 1.62; }
.impact-chain { margin: 13px 0 10px; padding: 11px 12px; background: rgba(6,18,27,.56); border-radius: 10px; }
.impact-chain small, .impact-chain strong { display: block; }
.impact-chain small { margin-bottom: 5px; color: #70e9bd; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.impact-chain strong { color: #cbd9df; font-size: 12px; font-weight: 600; line-height: 1.6; }
.news-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.news-meta span, .news-meta i { padding: 3px 7px; color: #9fc4ff; background: rgba(114,172,255,.07); border-radius: 999px; font-size: 9px; font-style: normal; }
.news-meta i { color: #d7c5ff; background: rgba(190,156,255,.08); }
.news-risk { margin: 11px 0; color: #91a5b1; font-size: 11px; line-height: 1.55; }
.news-risk b { color: #ffc88a; }
.market-news-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 10px; }
.market-news-card footer > span:last-child { display: flex; align-items: center; gap: 7px; }
.market-news-card footer a { color: #8ab7ff; text-decoration: none; }
.market-news-card footer a:hover { text-decoration: underline; }
.market-news-card .ghost-button { min-height: 28px; padding: 4px 8px; font-size: 9px; }

.fund-chart { display: block; width: 100%; height: 220px; margin-top: 8px; animation: chartReveal .55s ease both; }
.flow-chart { height: 170px; padding: 10px 0 0; background: rgba(6, 17, 25, .38); border: 1px solid var(--line-soft); border-radius: 15px; }
#strategyChart { width: 100%; height: 320px; }
#opportunityMap { width: 100%; height: 100%; }
@keyframes chartReveal { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: blur(0); } }

.factor-flag { display: inline-flex; align-items: center; gap: 6px; min-width: 60px; color: #637a89; font-size: 12px; }
.factor-flag i { width: 8px; height: 8px; background: #344a58; border-radius: 50%; }
.factor-flag.active { color: #d8e5ea; }
.factor-flag.money.active i { background: #50e3b0; box-shadow: 0 0 12px rgba(80,227,176,.65); animation: softPulse 1.8s infinite; }
.factor-flag.heat.active i { background: #ff8c7f; box-shadow: 0 0 12px rgba(255,140,127,.60); }
.factor-flag.news.active i { background: #72acff; box-shadow: 0 0 12px rgba(114,172,255,.60); }
.resonance-meter { display: inline-flex; gap: 4px; }
.resonance-meter i { width: 18px; height: 5px; background: #263b49; border-radius: 4px; }
.resonance-meter i.active { background: linear-gradient(90deg, #50e3b0, #72acff); box-shadow: 0 0 9px rgba(80,227,176,.30); }
.heat-marker, .held-marker { display: inline-flex; align-items: center; min-height: 19px; margin-left: 6px; padding: 2px 7px; color: #ffb19f; background: rgba(255,123,114,.10); border: 1px solid rgba(255,123,114,.22); border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.held-marker { color: #6cebc0; background: rgba(80,227,176,.10); border-color: rgba(80,227,176,.22); }
.warning-marker { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; margin-right: 7px; background: rgba(255,193,114,.13); border: 1px solid rgba(255,193,114,.40); border-radius: 50%; }
.warning-marker::before { content: ""; width: 2px; height: 6px; background: #ffc172; border-radius: 2px; box-shadow: 0 8px 0 -0.3px #ffc172; }
.manual-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; margin: 0 6px 0 2px; border-radius: 7px; font-size: 10px; font-weight: 850; }
.manual-badge.bad { color: #ff9aa0; background: rgba(255,123,131,.13); }
.manual-badge.warn { color: #ffd08b; background: rgba(255,193,114,.13); }
.manual-badge.good { color: #72edc2; background: rgba(80,227,176,.13); }

.brief-verdict { margin-top: 22px; padding: 22px; background: linear-gradient(130deg, rgba(23, 48, 61, .92), rgba(13, 30, 42, .92)); border-radius: 18px; box-shadow: inset 0 1px rgba(255,255,255,.03); }
.verdict-line strong { font-size: 19px; }
.v-stat { padding: 8px 13px; border: 1px solid var(--line-soft); }
.action-card, .position-card, .sqrr-brief, .sqrr-detail, .theme-abstract, .fund-chart-box { border-radius: 16px; }
.action-card { padding: 22px 24px; background: linear-gradient(145deg, rgba(21,43,57,.92), rgba(13,29,41,.92)); box-shadow: 0 10px 30px rgba(0,0,0,.13); }
.action-card.actionable:hover, .action-card.actionable:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.action-card header strong { font-size: 18px; }
.action-card-open { border-radius: 11px; }

.table-wrap { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 14px; }
table { min-width: 1080px; }
th { position: sticky; top: 0; z-index: 1; padding: 14px; color: #90a7b6; background: rgba(9, 22, 32, .96); font-size: 11px; letter-spacing: .08em; }
td { padding: 16px 14px; font-size: 14px; }
tbody tr:nth-child(even) { background: rgba(120, 158, 180, .018); }
tbody tr:hover, tbody tr.selected { background: rgba(80, 227, 176, .055); }
.stock-name { font-size: 16px; }
.pool-chip { min-height: 35px; padding: 6px 9px 6px 13px; background: rgba(17, 36, 49, .82); border-color: var(--line-soft); border-radius: 12px; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.pool-chip:hover { transform: translateY(-1px); background: rgba(25, 50, 65, .90); border-color: rgba(114,172,255,.28); }
.ind-group { padding: 16px 0; margin: 0; border-top: 1px solid var(--line-soft); }
.ind-group h4 { margin-bottom: 11px; font-size: 14px; }

.system-panel { margin-top: 24px; }
.system-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.system-grid > div { min-height: 88px; padding: 17px; background: linear-gradient(145deg, rgba(17,36,49,.88), rgba(11,25,35,.84)); border: 1px solid var(--line-soft); border-radius: 14px; }
.system-grid span { font-size: 11px; }
.system-grid strong { font-size: 14px; }

.progress-window { right: 28px; bottom: 28px; width: min(660px, calc(100% - 40px)); background: rgba(7, 19, 28, .96); border-color: rgba(114,172,255,.34); border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.48); backdrop-filter: blur(20px); }
.progress-window.collapsed { width: 236px; }
.progress-head { min-height: 58px; }
.progress-track { height: 8px; border-radius: 999px; }
.progress-track i { background: linear-gradient(90deg, #50e3b0, #72acff); box-shadow: 0 0 16px rgba(80,227,176,.35); }

.bt-section summary::after, .fold-panel > summary::before, .stage-caret::after, .route-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #72acff;
  border-bottom: 2px solid #72acff;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.bt-section summary::after { content: ""; margin-left: auto; font-size: 0; }
.bt-section[open] summary::after { content: ""; transform: rotate(45deg); }
.fold-panel > summary::before { content: ""; margin-right: 10px; }
.fold-panel[open] > summary::before { content: ""; transform: rotate(45deg); }
.stage-caret { display: inline-flex; align-items: center; gap: 8px; }
.stage-caret::after { content: ""; float: none; }
.route-caret { margin-left: auto; }
.route-caret.open { transform: rotate(45deg); }

.toast { padding: 13px 18px; border-radius: 13px; box-shadow: 0 18px 52px rgba(0,0,0,.42); }

/* ---- 决策工作流：纯仓库、多策略扫描、个股报告归档 ---- */
.pool-warehouse-tools { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.4fr) auto; gap: 10px; margin: 24px 0 12px; }
.pool-warehouse-tools input { width: 100%; min-height: 44px; padding: 0 14px; color: var(--text); background: rgba(7,18,27,.76); border: 1px solid var(--line); border-radius: 10px; }
.warehouse-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.warehouse-meta span { padding: 8px 12px; color: var(--muted); background: rgba(114,172,255,.06); border: 1px solid var(--line-soft); border-radius: 999px; font-size: 12px; }
.warehouse-meta strong { color: var(--text); font-size: 14px; }
.pool-chip small { color: var(--muted-2); font-size: 10px; }

.check-cache-note { margin: 0 0 14px; padding: 9px 12px; border-radius: 10px; font-size: 12px; }
.check-cache-note.cached { color: #a9c9ff; background: rgba(114,172,255,.09); border: 1px solid rgba(114,172,255,.17); }
.check-cache-note.fresh { color: #8df0ca; background: rgba(80,227,176,.08); border: 1px solid rgba(80,227,176,.16); }
.check-history-section { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-heading h3 { margin: 0; font-size: 20px; }
.section-heading > small { color: var(--muted-2); }
.check-history { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.check-history-card { min-width: 0; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; color: inherit; text-align: left; background: rgba(16,34,47,.72); border: 1px solid var(--line-soft); border-radius: 13px; cursor: pointer; }
.check-history-card:hover { border-color: rgba(114,172,255,.38); transform: translateY(-1px); }
.check-history-card span b, .check-history-card span small { display: block; }
.check-history-card span small { color: var(--muted-2); font-size: 10px; }
.check-history-card > span:last-child { text-align: right; }
.check-history-card strong { font-size: 17px; }
.history-tags { grid-column: 1 / -1; display: flex; gap: 5px; }
.history-tags i { padding: 3px 7px; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 999px; font-size: 9px; font-style: normal; }

@media (max-width: 1250px) {
  .view-tabs { grid-template-columns: repeat(3, 1fr); }
  .dial-gauges { grid-template-columns: 1fr 1fr 1fr; }
  .flow-conviction-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .appbar { grid-template-columns: 1fr auto; height: 78px; }
  .appbar-center { display: none; }
  main { width: min(100% - 28px, 1660px); margin-top: 16px; }
  .view-tabs button { min-height: 64px; }
  .dial-gauges, .system-grid { grid-template-columns: 1fr; }
  .pool-warehouse-tools { grid-template-columns: 1fr; }
  .flow-conviction-cards, .market-news-grid { grid-template-columns: 1fr; }
  .intelligence-heading { flex-direction: column; }
  .check-history { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .table-panel, .map-panel, .system-panel { padding: 24px; }
}
@media (max-width: 620px) {
  .brand small, .app-version, .service-state span:last-child { display: none; }
  .appbar-actions { gap: 6px; }
  .appbar .ghost-button { padding-inline: 10px; }
  .command-run { width: 100%; justify-content: space-between; }
  .view-tabs { grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 7px; }
  .view-tabs button { min-height: 58px; padding: 8px 10px; gap: 9px; }
  .nav-visual { width: 34px; height: 34px; }
  .view-tabs button small { display: none; }
  .panel-heading { flex-direction: column; }
  .report-actions { flex-wrap: wrap; }
  .table-panel, .map-panel, .system-panel { padding: 20px 16px; border-radius: 17px; }
  .check-history { grid-template-columns: 1fr; }
}

/* ---- 页面归属任务进度：每项功能只在自己的页面显示 ---- */
.page-task-toolbar {
  margin-top: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(80, 227, 176, .055);
  border: 1px solid rgba(80, 227, 176, .16);
  border-radius: 14px;
}
.page-task-toolbar > div strong, .page-task-toolbar > div small { display: block; }
.page-task-toolbar > div strong { font-size: 15px; }
.page-task-toolbar > div small { margin-top: 4px; color: var(--muted-2); font-size: 11px; }
.page-task-launch {
  padding: 7px;
  flex-wrap: nowrap;
  background: rgba(7, 19, 28, .72);
  border-radius: 13px;
}
.page-task-launch .primary-button { min-height: 42px; }
.page-progress-window {
  position: relative;
  z-index: 1;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 18px 0 26px;
  background: linear-gradient(145deg, rgba(10, 27, 39, .96), rgba(7, 19, 29, .94));
  border-color: rgba(114, 172, 255, .28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  backdrop-filter: none;
}
.page-progress-window .progress-head { min-height: 56px; }
.page-progress-window .progress-head > small { color: var(--muted-2); font-size: 11px; }
.page-progress-window .progress-body { padding: 18px 20px 20px; }
.page-progress-window .progress-title-row strong { max-width: 760px; }
.page-progress-window .progress-logs { max-height: 220px; }
.page-progress-window.hot-progress-window { border-color: rgba(255, 180, 94, .30); }
.page-progress-window.hot-progress-window .progress-track i {
  background: linear-gradient(90deg, #ffb45e, #72acff);
  box-shadow: 0 0 16px rgba(255, 180, 94, .28);
}
.progress-events { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.progress-events summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.progress-events summary::-webkit-details-marker { display: none; }
.progress-events summary span { font-size: 14px; font-weight: 750; }
.progress-events summary small { color: var(--muted-2); font-size: 11px; }
.progress-events summary::after { margin-left: 8px; color: var(--muted-2); content: "展开记录"; font-size: 10px; }
.progress-events[open] summary::after { content: "收起记录"; }

@media (max-width: 620px) {
  .page-task-toolbar { align-items: stretch; flex-direction: column; }
  .page-task-launch { width: 100%; }
  .page-task-launch .primary-button { flex: 1; }
  .page-progress-window { width: 100%; margin: 14px 0 22px; }
  .page-progress-window .progress-head { align-items: flex-start; gap: 8px; padding: 14px 16px; }
  .page-progress-window .progress-head > small { text-align: right; }
  .page-progress-window .progress-body { padding: 16px; }
  .page-progress-window .progress-title-row b { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-visual::after, .brand-visual b, .source-chip i, .factor-flag.money.active i { animation: none !important; }
  .view-panel, .fund-chart { animation: none !important; }
}

/* 恐慌—顶点回测:红涨绿跌铁律 */
.rp-gain { color: #f2726f; }
.rp-loss { color: #55d6a9; }

/* ── 今日盘面 · 综合信息面板 ─────────────────────────────────────────── */
/* 色律与全站一致:红涨绿跌(#f2726f / #55d6a9),状态色(amber/blue)不跟随涨跌 */
.panel-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1px;
  margin: 26px 0 14px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-hero-cell { padding: 18px 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.panel-hero-cell span { display: block; color: var(--muted-2); font-size: 12px; letter-spacing: .06em; }
.panel-hero-cell strong { display: block; margin: 8px 0 6px; font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.panel-hero-cell strong i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted-2); margin-left: 3px; }
.panel-hero-cell strong.up { color: #f2726f; }
.panel-hero-cell strong.down { color: #55d6a9; }
.panel-hero-cell em { font-style: normal; font-size: 12px; color: var(--muted); }
.panel-meta { margin: 0 0 8px; color: var(--muted-2); font-size: 12.5px; line-height: 1.7; }
.panel-headline { color: var(--muted); }

.panel-block { margin-top: 38px; }
.panel-block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.panel-block-head h3 { margin: 0 0 7px; font-size: 17px; font-weight: 660; }
.panel-note { margin: 0; max-width: 760px; color: var(--muted-2); font-size: 12.5px; line-height: 1.75; }
.panel-note b { color: var(--muted); font-weight: 600; }
.panel-empty { color: var(--muted-2); font-size: 13px; margin: 6px 0; }

.panel-switch { display: inline-flex; flex: none; padding: 3px; background: #09141e; border: 1px solid var(--line); border-radius: 7px; }
.panel-switch button { min-width: 76px; padding: 8px 12px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: 12.5px; cursor: pointer; }
.panel-switch button.active { color: #071b15; background: var(--mint); font-weight: 750; }

/* 焦点个股 */
.panel-focus { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 10px; }
.panel-stock {
  position: relative;
  display: block;
  padding: 15px 16px 13px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  transition: border-color .15s, transform .15s;
}
.panel-stock::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--muted-2); }
.panel-stock.up::before { background: #f2726f; }
.panel-stock.down::before { background: #55d6a9; }
.panel-stock:hover { border-color: var(--blue); transform: translateY(-1px); }
.panel-stock-rank { position: absolute; top: 12px; right: 14px; color: var(--muted-2); font-size: 11px; font-weight: 700; }
.panel-stock-id strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.panel-stock-id em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.panel-stock-net { margin: 11px 0 9px; }
.panel-stock-net b { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.panel-stock-net span { margin-left: 3px; color: var(--muted-2); font-size: 12px; }
.panel-stock-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-pct { font-size: 12.5px; font-variant-numeric: tabular-nums; }
b.up, .panel-pct.up { color: #f2726f; }
b.down, .panel-pct.down { color: #55d6a9; }
b.flat, .panel-pct.flat { color: var(--muted-2); }
.panel-dots { display: inline-flex; gap: 3px; }
.panel-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.panel-dots i.on { background: var(--amber); }

/* 板块卡 */
.panel-industry { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 12px; }
.panel-sector { padding: 16px 17px 14px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 11px; }
.panel-sector header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.panel-sector header > div:first-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel-sector header strong { font-size: 15px; font-weight: 650; }
.panel-sector-net b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.panel-sector-net span { margin-left: 3px; color: var(--muted-2); font-size: 11.5px; }
.panel-bar { position: relative; height: 5px; margin: 13px 0 9px; background: var(--line); border-radius: 3px; overflow: hidden; }
.panel-bar i { display: block; height: 100%; border-radius: 3px; }
.panel-bar i.up { background: #f2726f; }
.panel-bar i.down { background: #55d6a9; }
.panel-bar i.mid { background: var(--muted-2); }
.panel-bar i.flat { background: transparent; }
/* 50% 中轴刻度:高于一半成分股在流入,板块才算整体在动 */
.panel-bar u { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--surface); }
.panel-sector-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 12px; }
.panel-sector-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.panel-leaders { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.panel-leaders-label { color: var(--muted-2); font-size: 11px; margin-right: 2px; }
.panel-leader {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 4px 9px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: 12px;
  background: var(--surface-3); border: 1px solid transparent;
}
.panel-leader:hover { border-color: var(--blue); }
.panel-leader b { font-size: 11.5px; font-variant-numeric: tabular-nums; }

.panel-chip { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.panel-chip.up { color: #f2726f; background: rgba(242, 114, 111, .13); }
.panel-chip.down { color: #55d6a9; background: rgba(85, 214, 169, .13); }
.panel-chip.warm { color: var(--amber); background: var(--amber-soft); }
.panel-chip.flat { color: var(--muted); background: var(--line-soft); }

/* 新闻 */
.panel-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.panel-news-card { padding: 16px 17px 14px; background: var(--surface-2); border: 1px solid var(--line-soft); border-left: 3px solid var(--muted-2); border-radius: 11px; }
.panel-news-card.up { border-left-color: #f2726f; }
.panel-news-card.down { border-left-color: #55d6a9; }
.panel-news-card header { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.panel-news-card header em { font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-left: auto; }
.panel-news-card h5 { margin: 0 0 9px; font-size: 14px; font-weight: 620; line-height: 1.55; }
.panel-news-card h5 a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.panel-news-card h5 a:hover { color: var(--blue); border-color: var(--blue); }
.panel-chain { margin: 0 0 7px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.panel-risk { margin: 0; color: var(--amber); font-size: 12px; line-height: 1.7; opacity: .92; }
.panel-themes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.panel-theme { padding: 2px 8px; border-radius: 5px; color: var(--blue); background: var(--blue-soft); font-size: 11px; }

/* 人气榜 */
.panel-hot-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.panel-hot-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--text); text-decoration: none; font-size: 12.5px; }
.panel-hot-chip:hover { border-color: var(--blue); }
.panel-hot-chip b { color: var(--amber); font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  .panel-block-head { flex-direction: column; }
  .panel-hero-cell strong { font-size: 25px; }
}

/* 盘中预览警示:当日K线未收完,结论会随盘中价漂移 */
.verdict-preview {
  margin-bottom: 12px; padding: 10px 13px;
  color: var(--amber); background: var(--amber-soft);
  border: 1px solid rgba(255, 180, 94, .28); border-radius: 8px;
  font-size: 12.5px; line-height: 1.7;
}
.verdict-preview b { color: var(--text); }
.verdict-preview.alarm { color: #f2726f; background: rgba(242, 114, 111, .1); border-color: rgba(242, 114, 111, .3); }

/* 算法体检红绿灯 */
.health-body { margin-top: 12px; }
.health-verdict { margin: 0 0 12px; padding: 11px 14px; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.health-verdict.health-green { color: var(--mint); background: var(--mint-soft); }
.health-verdict.health-yellow { color: var(--amber); background: var(--amber-soft); }
.health-verdict.health-red { color: #f2726f; background: rgba(242, 114, 111, .1); }
.health-verdict.health-gray { color: var(--muted); background: var(--line-soft); }
.health-note { margin: 10px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.7; }
.health-note b { color: var(--text); }
/* 排名表:贴在阈值上的形态余量要显眼(价格小幅变动即掉出资格) */
.margin-thin { color: var(--amber); font-weight: 700; }
.margin-thin::after { content: " ⚠"; }

/* 个股诊断 · 交易计划 */
.check-plan { margin: 16px 0; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line-soft); border-left: 3px solid var(--muted-2); border-radius: 11px; }
.check-plan.pass { border-left-color: var(--mint); }
.check-plan.wait { border-left-color: var(--amber); }
.check-plan.empty { color: var(--muted-2); font-size: 13px; }
.check-plan header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.check-plan header b { font-size: 15px; }
.check-plan header i { margin-left: auto; font-style: normal; color: var(--muted-2); font-size: 12.5px; }
.check-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.check-plan-grid > div { min-width: 0; }
.check-plan-grid span { display: block; color: var(--muted-2); font-size: 11.5px; }
.check-plan-grid strong { display: block; margin: 4px 0 2px; font-size: 16px; font-variant-numeric: tabular-nums; }
.check-plan-grid em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.check-plan-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.check-exit { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.check-exit > b { display: block; margin-bottom: 7px; font-size: 12.5px; color: var(--text); }
.check-exit ol { margin: 0 0 8px; padding-left: 20px; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.check-exit ol b { color: var(--text); }
.check-exit small { display: block; color: var(--muted-2); font-size: 11.5px; line-height: 1.7; }
.check-exit small b { color: var(--amber); }

/* 舆情 × 技术 共振 */
.resonance { margin: 16px 0; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line-soft); border-left: 3px solid var(--blue); border-radius: 11px; }
.resonance.confirm { border-left-color: var(--mint); }
.resonance.risk { border-left-color: #f2726f; }
.resonance.observe { border-left-color: var(--muted-2); }
.resonance header { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.resonance header b { font-size: 15px; }
.resonance-verdict { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.resonance-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.resonance-cols > div { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 9px; }
.resonance-cols span { display: block; color: var(--muted-2); font-size: 11.5px; letter-spacing: .05em; }
.resonance-cols strong { display: block; margin: 5px 0 7px; font-size: 15px; }
.resonance-cols p { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.resonance-cols p b { color: var(--amber); }
.resonance-cols em { font-style: normal; display: block; color: var(--muted-2); font-size: 11.5px; line-height: 1.6; }
.resonance-evidence { margin: 13px 0 0; padding-left: 18px; color: var(--muted-2); font-size: 12px; line-height: 1.8; }
.resonance-llm { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.resonance-llm b { display: block; margin-bottom: 6px; font-size: 12.5px; }
.resonance-llm p { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.resonance-llm i { font-style: normal; display: inline-block; min-width: 40px; color: var(--muted-2); }
.resonance-llm small { color: var(--muted-2); font-size: 11px; }

/* ---------- 备选池(全市场筛选) ---------- */
/* 路线各有身份色:已启动=薄荷(走起来了)、底部蓄势=蓝(还在等)。
   核心指标大数字穿身份色——全白等于把重点抹平。
   风险色独立于涨跌色:琥珀=注意、红=警报,不跟随红涨绿跌。 */
.screen-data-health { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0 10px; }
.screen-data-health article { position: relative; overflow: hidden; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.screen-data-health article::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--muted-2); }
.screen-data-health article.ok::before { background: var(--mint); }
.screen-data-health article.warn::before { background: var(--amber); }
.screen-data-health article.bad::before { background: #ef6b67; }
.screen-data-health span { display: block; color: var(--muted-2); font-size: 12px; }
.screen-data-health strong { display: block; margin: 6px 0 3px; color: var(--text); font-size: 22px; font-variant-numeric: tabular-nums; }
.screen-data-health strong small { color: var(--muted-2); font-size: 12px; font-weight: 500; }
.screen-data-health p { margin: 0; color: var(--muted); font-size: 11.5px; }
.screen-gate-note { margin: 8px 0 14px; padding: 10px 13px; color: #9a5b05; background: rgba(255, 184, 77, .12); border: 1px solid rgba(255, 184, 77, .35); border-radius: 9px; font-size: 12.5px; }
.screen-funnel { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.screen-funnel span { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 14px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
.screen-funnel span b { color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }
.screen-funnel span.hl { border-color: rgba(105, 167, 255, .4); }
.screen-funnel span.hl b { color: var(--blue); }

@media (max-width: 900px) { .screen-data-health { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .screen-data-health { grid-template-columns: 1fr; } }

.screen-flow-shadow { margin: 12px 0 26px; padding: 20px; background: linear-gradient(135deg, rgba(105, 167, 255, .08), rgba(85, 214, 169, .05)); border: 1px solid rgba(105, 167, 255, .28); border-radius: 16px; }
.flow-shadow-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.flow-shadow-head .eyebrow { margin: 0 0 7px; color: var(--blue); }
.flow-shadow-head h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.flow-shadow-head > div > p:last-child { margin: 7px 0 0; max-width: 920px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.flow-shadow-head > div > p b { color: var(--text); }
.flow-shadow-count { padding: 7px 13px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.flow-shadow-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 13px; }
.flow-shadow-meta span { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 11px; color: var(--muted-2); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 8px; font-size: 11.5px; }
.flow-shadow-meta b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.flow-shadow-tracking { margin: 0 0 13px; padding: 15px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 12px; }
.flow-shadow-tracking > header { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 12px; }
.flow-shadow-tracking .eyebrow { margin: 0 0 4px; color: var(--blue); font-size: 9.5px; letter-spacing: .14em; }
.flow-shadow-tracking h4 { margin: 0; font-size: 15.5px; }
.flow-shadow-tracking header > span, .flow-shadow-tracking > div > span { color: var(--muted-2); font-size: 10.5px; line-height: 1.55; }
.flow-tracking-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.flow-tracking-grid article { min-width: 0; padding: 11px 12px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 9px; }
.flow-tracking-grid article.primary { background: var(--blue-soft); border-color: rgba(105,167,255,.32); }
.flow-tracking-grid span, .flow-tracking-grid small { display: block; color: var(--muted-2); font-size: 9.5px; line-height: 1.45; }
.flow-tracking-grid b { display: block; margin: 5px 0 3px; color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.flow-shadow-list { display: grid; gap: 9px; }
.flow-shadow-card { display: grid; grid-template-columns: 38px minmax(180px, 1fr) 100px minmax(190px, auto); gap: 8px 16px; align-items: center; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 11px; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.flow-shadow-card:hover { transform: translateY(-1px); border-color: rgba(105, 167, 255, .55); background: var(--surface-2); }
.flow-shadow-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fsc-rank { color: var(--muted-2); font-size: 18px; font-variant-numeric: tabular-nums; }
.fsc-company h4 { margin: 0; font-size: 15.5px; }
.fsc-company h4 small { margin-left: 7px; color: var(--muted-2); font-size: 11.5px; font-weight: 400; }
.fsc-company p { margin: 4px 0 0; color: var(--muted-2); font-size: 11.5px; }
.fsc-score { display: grid; justify-items: end; }
.fsc-score b { color: var(--blue); font-size: 22px; font-variant-numeric: tabular-nums; }
.fsc-score span { color: var(--muted-2); font-size: 10.5px; }
.fsc-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.fsc-badges i { padding: 4px 7px; color: var(--muted); background: var(--surface-3); border-radius: 5px; font-size: 10.5px; font-style: normal; }
.fsc-badges i.pass, .fsc-badges i.overlap, .fsc-badges i.state-trend { color: var(--mint); background: var(--mint-soft); }
.fsc-badges i.unknown { color: var(--amber); background: var(--amber-soft); }
.fsc-badges i.state-oversold { color: var(--blue); background: var(--blue-soft); }
.fsc-stats { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 8px; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.fsc-stats span { color: var(--muted-2); font-size: 10.5px; }
.fsc-stats b { display: block; margin-top: 2px; color: var(--text); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.flow-shadow-empty, .flow-shadow-more { margin: 0; padding: 16px; color: var(--muted-2); background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; font-size: 12px; }
.flow-shadow-more { padding: 10px 13px; text-align: center; }
.flow-shadow-warning { margin: 0 0 10px; padding: 11px 13px; color: #9a6414; background: #fff8e8; border: 1px solid #edcf91; border-radius: 10px; font-size: 12px; line-height: 1.65; }
.flow-shadow-validation { margin: 0 0 13px; padding: 15px 17px; background: #fff8f7; border: 1px solid #efb4ad; border-left: 4px solid #d74b43; border-radius: 12px; }
.flow-shadow-validation > div { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.flow-shadow-validation > div span { color: #b33a34; font-size: 9.5px; font-weight: 750; letter-spacing: .14em; }
.flow-shadow-validation > div b { color: #9e2f2a; font-size: 15px; }
.flow-shadow-validation > p { margin: 7px 0 12px; color: #714947; font-size: 12px; line-height: 1.65; }
.flow-shadow-validation dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.flow-shadow-validation dl div { padding: 8px 10px; background: rgba(255,255,255,.72); border: 1px solid rgba(215,75,67,.13); border-radius: 8px; }
.flow-shadow-validation dt { color: #96706d; font-size: 10px; }
.flow-shadow-validation dd { margin: 3px 0 0; color: #703b38; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .screen-flow-shadow { padding: 15px; }
  .flow-shadow-head { grid-template-columns: 1fr; }
  .flow-shadow-count { justify-self: start; }
  .flow-shadow-tracking > header { display: block; }
  .flow-shadow-tracking header > span { display: block; margin-top: 7px; }
  .flow-shadow-validation dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-tracking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-shadow-card { grid-template-columns: 32px minmax(0, 1fr) 76px; }
  .fsc-badges { grid-column: 2 / -1; justify-content: flex-start; }
  .fsc-stats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}
@media (max-width: 480px) { .flow-tracking-grid { grid-template-columns: 1fr; } }

.screen-routes { display: grid; gap: 30px; }
@media (min-width: 1180px) { .screen-routes { grid-template-columns: 1fr 1fr; } }

.screen-route { --route: var(--mint); --route-soft: var(--mint-soft); min-width: 0; }
.screen-route[data-route="bottom"] { --route: var(--blue); --route-soft: var(--blue-soft); }
.screen-route-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; padding: 0 0 13px; border-bottom: 2px solid var(--route); }
.screen-route-head h3 { grid-column: 1; margin: 0; color: var(--route); font-size: 19px; letter-spacing: -.01em; }
.screen-route-head p { grid-column: 1; margin: 4px 0 0; color: var(--muted-2); font-size: 12px; }
.screen-route-head p b { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.screen-count { grid-row: 1 / span 2; grid-column: 2; padding: 6px 13px; color: var(--route); background: var(--route-soft); border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }

.screen-list { display: grid; gap: 9px; margin-top: 13px; }
.screen-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto auto;
  align-items: center; gap: 6px 16px; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--route); border-radius: 10px;
  transition: background .15s, border-color .15s;
}
.screen-card:hover { background: var(--surface-3); border-color: var(--route); border-left-color: var(--route); }
.sc-rank { color: var(--muted-2); font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sc-main { min-width: 0; }
.sc-main h4 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.sc-main h4 small { margin-left: 7px; color: var(--muted-2); font-weight: 400; font-size: 12px; font-variant-numeric: tabular-nums; }
.sc-meta { margin: 3px 0 0; color: var(--muted-2); font-size: 12px; }

.sc-davis { display: grid; justify-items: center; gap: 5px; }
.dl-row { display: flex; gap: 3px; }
/* 字=维度(收/毛/估),色=状态。一排同样的圆点只能靠位置记,而位置是要背的。 */
.dl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 5px;
  font-size: 11px; font-style: normal; font-weight: 600; line-height: 1;
  cursor: help;
}
.dl-green { color: var(--mint); background: var(--mint-soft); box-shadow: inset 0 0 0 1px rgba(85, 214, 169, .35); }
.dl-yellow { color: var(--amber); background: var(--amber-soft); box-shadow: inset 0 0 0 1px rgba(255, 180, 94, .35); }
.dl-red { color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(255, 102, 122, .3); }
.dl-gray { color: var(--muted-2); background: rgba(129, 147, 161, .1); box-shadow: inset 0 0 0 1px var(--line); }
.sc-davis span { color: var(--muted-2); font-size: 11px; }
.sc-davis span b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }

.sc-metric { display: grid; justify-items: end; gap: 2px; min-width: 60px; }
.sc-metric b { color: var(--route); font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sc-metric b i { font-style: normal; font-size: 13px; opacity: .65; }
.sc-metric span { color: var(--muted-2); font-size: 11px; }

.screen-risks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.screen-risks.clean { color: var(--muted-2); font-size: 11.5px; }
.risk-chip { padding: 5px 11px; border-radius: 6px; font-size: 11.5px; line-height: 1.5; }
.risk-chip b { margin-right: 6px; font-weight: 600; }
.risk-chip.warn { color: var(--amber); background: var(--amber-soft); }
.risk-chip.alert { color: var(--red); background: var(--red-soft); }
.screen-card.risk-alert { border-left-color: var(--red); }
.screen-card.risk-warn { border-left-color: var(--amber); }

@media (max-width: 640px) {
  .screen-card { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .sc-davis { grid-column: 2; justify-items: start; }
  .sc-metric { grid-column: 3; }
}

/* 备选池 · 交易计划(点击卡片进个股体检) */
.screen-card { cursor: pointer; }
.screen-card:focus-visible { outline: 2px solid var(--route); outline-offset: 2px; }
.screen-plan { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 11px; }
.sp-state { padding: 4px 11px; color: var(--route); background: var(--route-soft); border-radius: 6px; font-size: 12px; font-weight: 600; }
.sp-life { color: var(--muted-2); font-size: 11.5px; }
.sp-rr { margin-left: auto; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sp-rr b { font-size: 14px; }
.sp-rr.good b { color: var(--mint); }
.sp-rr.ok b { color: var(--amber); }
.sp-rr.poor b { color: var(--red); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px 14px; }
.sp-grid div { display: grid; gap: 2px; }
.sp-grid span { color: var(--muted-2); font-size: 11px; }
.sp-grid b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sp-grid b.warnval { color: var(--amber); }
.sp-action { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sc-davis em { color: var(--muted-2); font-size: 10.5px; font-style: normal; font-variant-numeric: tabular-nums; }
.screen-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px 0 20px; color: var(--muted-2); font-size: 11.5px; }
.screen-legend .dl { cursor: default; }
.screen-legend .legend-sep { width: 1px; height: 15px; margin: 0 6px; background: var(--line); }
.screen-legend .dl.swatch { width: 14px; height: 14px; border-radius: 4px; }

/* ── 焦点榜 ──────────────────────────────────────────────────────────
   不给它发新的身份色:焦点票按定义都是「两榜都入选」,左边框用薄荷→蓝
   的渐变,颜色本身就是那句话。两个大数字各穿自己那条路线的色——距高点是
   底部榜的排序键(蓝),RS 分位是已启动榜的排序键(薄荷)。 */
.screen-focus { margin: 4px 0 30px; }
.focus-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px;
  padding-bottom: 14px; border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--mint), var(--blue)) 1; }
.focus-head h3 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.focus-gate { margin: 5px 0 0; max-width: 900px; color: var(--muted-2); font-size: 12px; line-height: 1.65; }
.focus-gate b { color: var(--muted); font-weight: 600; }
.focus-gate em { display: block; margin-top: 3px; color: var(--muted-2); font-style: normal; opacity: .85; }
.focus-count { padding: 7px 15px; color: var(--text); background: linear-gradient(90deg, var(--mint-soft), var(--blue-soft));
  border-radius: 999px; font-size: 14px; font-variant-numeric: tabular-nums; }
.focus-list { display: grid; gap: 12px; margin-top: 15px; }
.focus-empty { margin: 15px 0 0; padding: 22px; color: var(--muted-2); background: var(--surface-2);
  border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; }
.focus-empty b { color: var(--amber); }
.focus-card { position: relative; padding: 17px 20px 17px 23px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: background .15s, border-color .15s; }
.focus-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--mint), var(--blue)); border-radius: 12px 0 0 12px; }
.focus-card:hover { background: var(--surface-3); border-color: rgba(105, 167, 255, .45); }
.focus-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fc-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; align-items: center; gap: 6px 18px; }
.fc-rank { color: var(--text); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.fc-id h4 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.fc-id h4 small { margin-left: 8px; color: var(--muted-2); font-weight: 400; font-size: 13px; font-variant-numeric: tabular-nums; }
.fc-dual { margin-left: 9px; padding: 3px 8px; color: var(--text);
  background: linear-gradient(90deg, var(--mint-soft), var(--blue-soft)); border-radius: 5px;
  font-size: 10.5px; font-weight: 600; vertical-align: 3px; }
.fc-id p { margin: 4px 0 0; color: var(--muted-2); font-size: 12.5px; }
.fc-id p b { color: var(--muted); font-weight: 600; }
.fc-davis { display: grid; justify-items: center; gap: 5px; }
.fc-davis span { color: var(--muted-2); font-size: 11px; }
.fc-davis span b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.fc-metric { display: grid; justify-items: end; gap: 2px; min-width: 66px; }
.fc-metric b { font-size: 25px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fc-metric b i { font-style: normal; font-size: 14px; opacity: .6; }
.fc-metric.drop b { color: var(--blue); }
.fc-metric.rs b { color: var(--mint); }
.fc-metric span { color: var(--muted-2); font-size: 11px; }
.fc-why { display: grid; gap: 7px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.fc-why div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.fc-why span { padding: 3px 0; color: var(--muted-2); font-size: 11.5px; }
.fc-why p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.fc-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px;
  padding-top: 13px; border-top: 1px solid var(--line-soft); }
.fc-state { padding: 4px 12px; color: var(--text); background: rgba(135, 164, 184, .12);
  border-radius: 6px; font-size: 12px; font-weight: 600; }
.fc-life { color: var(--muted-2); font-size: 11.5px; }
.fc-plan > div { display: grid; gap: 2px; }
.fc-plan > div span { color: var(--muted-2); font-size: 11px; }
.fc-plan > div b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fc-plan > div b.warnval { color: var(--amber); }
.screen-subhead { display: grid; margin: 0 0 4px; color: var(--muted); font-size: 15px; font-weight: 600; }
.screen-subhead b { margin-top: 3px; color: var(--muted-2); font-size: 12px; font-weight: 400; }
@media (max-width: 860px) {
  .fc-top { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .fc-davis { grid-column: 2; justify-items: start; }
  .fc-metric { grid-column: 3; }
  .fc-why div { grid-template-columns: 1fr; gap: 2px; }
}

/* ── 主题雷达 ─────────────────────────────────────────────────────────────
   刻意不引新色相:范围标签沿用 plate-chip 的三档受益层级色,榜单直接复用
   备选池的 screen-card。同一套雷达就该长成同一个样子——换套外观会让人
   以为这里的戴维斯分和那边的不是一回事。 */
.theme-scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.src-chip { display: inline-block; margin: 0 4px 3px 0; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-3); color: var(--muted); border: 1px solid var(--line); font-size: 11px; }
.src-chip.confirm { color: var(--mint); border-color: rgba(85, 214, 169, .3); }
.src-chip.wait { color: #e8c268; border-color: rgba(232, 194, 104, .3); }
.src-chip.risk { color: #f2726f; border-color: rgba(242, 114, 111, .3); }
.theme-fold { margin-top: 22px; padding: 0 16px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 10px; }
.theme-fold > summary { padding: 14px 0; color: var(--text); font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; }
.theme-fold > summary::-webkit-details-marker { display: none; }
.theme-fold > summary::before { content: "▸"; color: var(--muted-2); font-size: 12px; }
.theme-fold[open] > summary::before { content: "▾"; }
.theme-fold[open] > summary { border-bottom: 1px solid var(--line-soft); }
.theme-fold > p.muted { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; }
.theme-fold .table-wrap { margin: 12px 0 16px; }
.theme-fold .dl-row { display: inline-flex; gap: 3px; }
#themeRadarHotMeta { flex-basis: 100%; color: var(--muted); font-size: 11.5px; }

/* 顶栏账号 */
.session-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 11px;
  background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.session-chip b { color: var(--muted); font-weight: 600; }
.session-chip button { padding: 3px 9px; color: var(--muted-2); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-family: inherit; cursor: pointer; }
.session-chip button:hover { color: var(--text); border-color: var(--blue); }
.candidate-followups { margin-top: 14px; }
.candidate-followups h3 { margin: 0 0 4px; }
.candidate-followups > p { margin: 0 0 10px; color: var(--muted); }
.candidate-followup-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.candidate-followup { display: grid; gap: 5px; padding: 12px; text-align: left; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.candidate-followup.confirm { border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); }
.candidate-followup.risk { border-color: color-mix(in srgb, var(--red) 55%, var(--line)); }
.candidate-followup span, .candidate-followup small { color: var(--muted); }
.candidate-followup em { font-style: normal; }
