:root {

  --bg: #f4f6f8;

  --surface: #ffffff;

  --surface-soft: #eef3f6;

  --ink: #14212b;

  --muted: #60707d;

  --line: #d8e0e5;

  --accent: #0b6f6a;

  --accent-2: #c4552f;

  --accent-3: #255b91;

  --good: #0f8f59;

  --warn: #c47a16;

  --bad: #b23a3a;

  --shadow: 0 18px 50px rgba(23, 36, 48, 0.08);

}



* {

  box-sizing: border-box;

}



html {

  scroll-behavior: smooth;

}



body {

  margin: 0;

  color: var(--ink);

  background: var(--bg);

  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;

  letter-spacing: 0;

}



button,

input,

select,

textarea {

  font: inherit;

}



.app-shell {

  display: grid;

  grid-template-columns: 280px minmax(0, 1fr);

  min-height: 100vh;

}



.sidebar {

  position: sticky;

  top: 0;

  height: 100vh;

  padding: 28px 22px;

  background: #13202a;

  color: #eef6f6;

  display: flex;

  flex-direction: column;

  gap: 28px;

}



.brand {

  display: flex;

  align-items: center;

  gap: 12px;

}



.brand-mark {

  display: grid;

  place-items: center;

  width: 42px;

  height: 42px;

  border-radius: 8px;

  background: var(--accent);

  color: #fff;

  font-weight: 800;

}



.brand strong,

.brand small {

  display: block;

}



.brand small {

  margin-top: 4px;

  color: #aebdc7;

  font-size: 12px;

}



.nav-stack {

  display: grid;

  gap: 8px;

}



.nav-item {

  display: flex;

  align-items: center;

  min-height: 42px;

  padding: 0 12px;

  border-radius: 6px;

  color: #c7d4dc;

  text-decoration: none;

}



.nav-item:hover,

.nav-item.active {

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

}



.sidebar-note {

  margin-top: auto;

  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.04);

}



.sidebar-note span {

  display: block;

  margin-bottom: 8px;

  color: #9ed7d1;

  font-size: 13px;

  font-weight: 700;

}



.sidebar-note p {

  margin: 0;

  color: #d5e0e5;

  line-height: 1.6;

}



.main {

  min-width: 0;

  padding: 32px;

}



.hero-section {

  min-height: 360px;

  display: grid;

  grid-template-columns: minmax(0, 1fr) 360px;

  align-items: end;

  gap: 24px;

  padding: 52px;

  border-radius: 8px;

  background:

    linear-gradient(rgba(19, 32, 42, 0.78), rgba(19, 32, 42, 0.7)),

    url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1800&q=80");

  background-position: center;

  background-size: cover;

  color: #fff;

  overflow: hidden;

}



.hero-copy {

  max-width: 760px;

}



.eyebrow {

  margin: 0 0 10px;

  color: var(--accent);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0;

  text-transform: uppercase;

}



.hero-section .eyebrow {

  color: #9ee4db;

}



.hero-section-us {

  min-height: 280px;

  grid-template-columns: minmax(0, 1.1fr) 360px;

  background:

    linear-gradient(rgba(10, 21, 45, 0.8), rgba(10, 21, 45, 0.74)),

    url("https://images.unsplash.com/photo-1465447142348-e9952c393450?auto=format&fit=crop&w=1800&q=80");

  background-position: center;

  background-size: cover;

}



h1,

h2,

h3,

p {

  margin-top: 0;

}



h1 {

  margin-bottom: 18px;

  font-size: clamp(34px, 5vw, 62px);

  line-height: 1.08;

  letter-spacing: 0;

}



.hero-copy p:last-child {

  max-width: 660px;

  margin-bottom: 0;

  color: #dbe6ec;

  font-size: 18px;

  line-height: 1.8;

}



.status-board {

  display: grid;

  gap: 12px;

}



.status-board div {

  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(8px);

}



.status-board span,

.result-list span {

  display: block;

  color: #789;

  font-size: 13px;

}



.status-board span {

  color: #cfe2e7;

}



.status-board strong {

  display: block;

  margin-top: 6px;

  color: #fff;

  font-size: 24px;

}



.status-board-us {

  align-self: stretch;

}



.mode-switch-panel {

  margin-top: 18px;

}



.mode-switch-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

}



.mode-switch-card {

  display: grid;

  grid-template-columns: 44px minmax(0, 1fr);

  gap: 12px;

  align-items: start;

  width: 100%;

  padding: 18px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #ffffff;

  text-align: left;

  cursor: pointer;

}



.mode-switch-card.active {

  border-color: rgba(11, 111, 106, 0.32);

  background: #f1fbfa;

}



.mode-switch-card-us.active {

  border-color: rgba(37, 91, 145, 0.32);

  background: #f5f8ff;

}



.mode-switch-card strong {

  display: block;

  font-size: 18px;

  font-weight: 900;

}



.mode-switch-card small {

  display: block;

  margin-top: 4px;

  color: var(--muted);

}



.mode-switch-card p {

  grid-column: 2;

  margin: 8px 0 0;

  color: var(--muted);

  line-height: 1.6;

}



.mode-switch-mark {

  display: grid;

  place-items: center;

  width: 44px;

  height: 44px;

  border-radius: 8px;

  background: var(--accent);

  color: #fff;

  font-size: 18px;

  font-weight: 900;

}



.mode-switch-mark-us {

  background: var(--accent-3);

}



.us-dashboard {

  margin-top: 18px;

}



.us-bridge-panel {

  margin-top: 18px;

}



.us-bridge-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 12px;

}



.us-bridge-grid div {

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.us-bridge-grid span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.us-bridge-grid strong {

  display: block;

  margin-top: 5px;

}



.us-tech-panel {

  margin-top: 18px;

}



.us-tech-list {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;

  margin-top: 12px;

}



.us-tech-card {

  padding: 14px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.us-tech-head {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 10px;

}



.us-tech-head strong {

  display: block;

  font-size: 16px;

  font-weight: 900;

}



.us-tech-head small {

  display: block;

  margin-top: 3px;

  color: var(--muted);

}



.us-tech-badge {

  padding: 5px 8px;

  border-radius: 6px;

  background: #eaf2ff;

  color: var(--accent-3);

  font-weight: 900;

}



.us-tech-price {

  margin-top: 10px;

  color: var(--muted);

  font-size: 13px;

}



.section {

  margin-top: 32px;

}



.section-heading {

  margin-bottom: 18px;

}



.section-heading.compact {

  margin-bottom: 10px;

}



.section-heading h2 {

  margin: 0;

  font-size: 28px;

}



.system-grid {

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 14px;

}



.system-card,

.panel,

.playbook-item {

  border: 1px solid var(--line);

  border-radius: 8px;

  background: var(--surface);

  box-shadow: var(--shadow);

}



.system-card {

  padding: 22px;

}



.system-card span {

  color: var(--accent-2);

  font-size: 13px;

  font-weight: 800;

}



.system-card h3,

.playbook-item h3,

.model-output h3 {

  margin: 10px 0 8px;

  font-size: 18px;

}



.system-card p,

.playbook-item p,

.model-output p {

  margin-bottom: 0;

  color: var(--muted);

  line-height: 1.65;

}



.picker-layout {

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) minmax(320px, 0.78fr);

  gap: 18px;

  align-items: stretch;

}



.realtime-layout {

  display: grid;

  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);

  gap: 18px;

  align-items: stretch;

}



.picker-control {

  display: grid;

  grid-template-columns: minmax(0, 1fr) 180px;

  gap: 18px;

  align-items: center;

}



.picker-copy h3,

.hot-sector-panel h3,

.selection-panel h3 {

  margin-bottom: 8px;

}



.picker-copy p {

  max-width: 780px;

  margin-bottom: 0;

  color: var(--muted);

  line-height: 1.7;

}



.realtime-panel,

.realtime-health-panel {

  display: grid;

  gap: 14px;

}



.realtime-quotes,

.realtime-health-list {

  display: grid;

  gap: 10px;

}



.realtime-row,

.realtime-health-row {

  padding: 12px;

  border-radius: 8px;

  background: var(--surface-soft);

}



.realtime-row {

  display: grid;

  grid-template-columns: minmax(0, 1fr) auto;

  gap: 12px;

  align-items: center;

}



.realtime-row strong,

.realtime-health-row strong {

  display: block;

  margin-top: 4px;

}



.realtime-row span,

.realtime-health-row span {

  color: var(--muted);

  font-size: 12px;

}



.realtime-health-row em {

  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-style: normal;

}



.picker-meta {

  grid-column: 1 / -1;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

}



.picker-meta div {

  padding: 12px;

  border-radius: 8px;

  background: var(--surface-soft);

}



.picker-meta span,

.panel-title-row span,

.stock-tags span {

  display: block;

  color: var(--muted);

  font-size: 13px;

}



.picker-meta strong {

  display: block;

  margin-top: 4px;

}



.concept-list {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.concept-list span {

  padding: 8px 10px;

  border-radius: 6px;

  background: var(--surface-soft);

  color: var(--accent-3);

  font-size: 13px;

  font-weight: 800;

}



.market-state-panel {

  display: grid;

  gap: 14px;

}



.market-state-main {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  padding: 16px;

  border-radius: 8px;

  background: var(--surface-soft);

}



.market-state-main strong {

  font-size: 30px;

}



.market-state-main span {

  padding: 7px 9px;

  border-radius: 6px;

  background: #fff;

  color: var(--accent-3);

  font-size: 13px;

  font-weight: 800;

}



.market-metrics {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;

}



.market-metrics div {

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

}



.market-metrics span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.market-metrics strong {

  display: block;

  margin-top: 5px;

}



.market-breadth-breakdown {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

  margin-top: 10px;

}



.breadth-item {

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #f8fbfd;

}



.breadth-item span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.breadth-item strong {

  display: block;

  margin-top: 5px;

  font-size: 18px;

}



.breadth-item em {

  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: 12px;

  font-style: normal;

}



#marketSummary {

  margin-bottom: 0;

  color: var(--muted);

  line-height: 1.65;

}



.style-box {

  padding: 14px;

  border-radius: 8px;

  background: #eef6ff;

}



.style-box span {

  color: var(--muted);

  font-size: 12px;

}



.style-box strong {

  display: block;

  margin-top: 4px;

  color: var(--accent-3);

  font-size: 20px;

}



.style-box em {

  display: inline-block;

  margin-top: 8px;

  padding: 5px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--accent);

  font-size: 13px;

  font-style: normal;

  font-weight: 900;

}



.style-box p {

  margin: 8px 0 0;

  color: var(--muted);

  line-height: 1.6;

}



.rule-note {

  margin-top: 14px;

  padding: 12px;

  border-radius: 8px;

  background: #fff7ed;

  color: #7a4a17;

  font-size: 13px;

  line-height: 1.6;

}



.external-panel {

  margin-top: 18px;

}

.theme-main-decision {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-left: 4px solid #0f8f7d;
  border-radius: 14px;
  background: #f7fbfa;
}

.theme-main-decision > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8e5;
  border-radius: 11px;
  background: #fff;
}

.theme-main-decision span,
.theme-subtheme-audit span {
  color: #6a7d82;
  font-size: 12px;
  font-weight: 700;
}

.theme-main-decision strong {
  color: #17343b;
  font-size: 18px;
  line-height: 1.35;
}

.theme-main-decision small,
.theme-subtheme-audit small {
  color: #63777c;
  line-height: 1.45;
}

.theme-main-decision-result {
  border-color: #ead7a9 !important;
  background: #fffaf0 !important;
}

.theme-main-decision-result strong {
  color: #946000;
}

.theme-main-decision.is-confirmed .theme-main-decision-result {
  border-color: #9fd8ca !important;
  background: #f0fbf7 !important;
}

.theme-main-decision.is-confirmed .theme-main-decision-result strong {
  color: #087665;
}

.theme-subtheme-audit {
  display: grid;
  grid-template-columns: auto minmax(110px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f8f7;
}

.theme-subtheme-audit strong {
  color: #16464a;
}

.style-persistence-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.style-persistence-summary article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #cfe1dd;
  border-radius: 12px;
  background: #f5fbf9;
}

.style-persistence-summary article.is-loss {
  border-color: #efd2d5;
  background: #fff7f7;
}

.style-persistence-summary span {
  color: #6a7d82;
  font-size: 12px;
  font-weight: 700;
}

.style-persistence-summary strong {
  color: #16464a;
  font-size: 18px;
  line-height: 1.35;
}

.style-persistence-summary article.is-loss strong {
  color: #9b3c46;
}

.style-persistence-summary small {
  color: #63777c;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .theme-main-decision {
    grid-template-columns: 1fr;
  }

  .theme-subtheme-audit {
    grid-template-columns: 1fr;
  }

  .style-persistence-summary {
    grid-template-columns: 1fr;
  }
}

.status-board-note {
  display: block;
  margin-top: 7px;
  color: #b9ced4;
  font-size: 12px;
  line-height: 1.5;
}

/* 卖出方案：市场周期 -> 方向状态 -> 持仓身份 -> 明日预期 -> 情景卖法。 */
.sell-cycle-sequence {
  margin: 14px 0 10px;
  color: #53707e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sell-cycle-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sell-cycle-state-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7e2e7;
  border-radius: 12px;
  background: #f8fafb;
}

.sell-cycle-state-card.market { border-top: 3px solid #546e7a; }
.sell-cycle-state-card.direction { border-top: 3px solid #0f7b70; background: #f3faf8; }
.sell-cycle-state-card.holding { border-top: 3px solid #c68b1c; background: #fffbf2; }

.sell-cycle-state-card > span,
.sell-primary-expectation span,
.sell-scenario-card span {
  display: block;
  color: #6a7b84;
  font-size: 12px;
  font-weight: 800;
}

.sell-cycle-state-card > strong {
  display: block;
  margin-top: 7px;
  color: #173545;
  font-size: 16px;
  line-height: 1.4;
}

.sell-cycle-state-card p,
.sell-primary-expectation p {
  margin: 7px 0 0;
  color: #5f717b;
  font-size: 12px;
  line-height: 1.65;
}

.sell-primary-expectation {
  margin-top: 10px;
  padding: 15px 16px;
  border: 1px solid #e0c875;
  border-left-width: 5px;
  border-radius: 12px;
  background: #fffaf0;
}

.sell-primary-expectation.good { border-color: #83c8ae; background: #f0faf5; }
.sell-primary-expectation.bad { border-color: #df8f9c; background: #fff2f4; }
.sell-primary-expectation > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sell-primary-expectation small { color: #8d7a48; font-size: 11px; }
.sell-primary-expectation > strong { display: block; margin-top: 7px; color: #203945; font-size: 18px; line-height: 1.45; }

.sell-anchor-panel,
.sell-scenario-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #fff;
}

.sell-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.sell-panel-title strong { color: #173544; font-size: 15px; }
.sell-panel-title span { color: #7b8c95; font-size: 11px; }

.sell-anchor-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sell-anchor-group {
  min-width: 0;
  padding: 11px;
  border-radius: 10px;
  background: #f6f8f9;
}

.sell-anchor-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sell-anchor-group-head strong { color: #274654; font-size: 13px; }
.sell-anchor-group-head span { color: #84939a; font-size: 10px; text-align: right; }
.sell-anchor-list { display: grid; gap: 6px; }

.sell-anchor-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #fff;
}

.sell-anchor-chip > div { min-width: 0; }
.sell-anchor-chip > div strong { display: block; overflow: hidden; color: #253e4a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sell-anchor-chip > div span { color: #8a979e; font-size: 10px; }
.sell-anchor-chip > b { color: #16745f; font-size: 13px; }
.sell-anchor-chip.negative > b { color: #bd344b; }
.sell-anchor-chip > small { grid-column: 1 / -1; color: #7b8d96; font-size: 10px; }
.sell-anchor-empty { color: #89969c; font-size: 11px; line-height: 1.5; }

.sell-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.sell-scenario-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #d9e2e6;
  border-left: 4px solid #7b9099;
  border-radius: 10px;
  background: #fafcfc;
}

.sell-scenario-card.warn { border-left-color: #d29b25; background: #fffbf2; }
.sell-scenario-card.good { border-left-color: #21956f; background: #f1faf6; }
.sell-scenario-card.bad { border-left-color: #cf4257; background: #fff4f5; }
.sell-scenario-card > strong { display: block; margin-bottom: 9px; color: #203d4a; font-size: 14px; }
.sell-scenario-card > div + div { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #d9e1e4; }
.sell-scenario-card p { margin: 4px 0 0; color: #536a75; font-size: 12px; font-weight: 650; line-height: 1.6; }

.sell-cycle-warning {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f2f5f6;
  color: #657a84;
  font-size: 11px;
  line-height: 1.55;
}

.sell-advisor-simple-current {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  margin: 14px 0 12px;
  padding: 16px;
  border: 1px solid #cbd8e2;
  border-radius: 14px;
  background: #f7fafc;
}

.sell-advisor-simple-current.hold { border-color: #b9ddca; background: #eff8f3; }
.sell-advisor-simple-current.trim { border-color: #e7cf80; background: #fff9e6; }
.sell-advisor-simple-current.exit,
.sell-advisor-simple-current.hard-exit { border-color: #ecb1bd; background: #fff1f3; }

.sell-advisor-simple-current > div {
  min-width: 0;
}

.sell-advisor-simple-current > div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(45, 68, 84, 0.14);
}

.sell-advisor-simple-current span,
.sell-advisor-simple-principle span,
.sell-advisor-evidence-grid span {
  display: block;
  margin-bottom: 6px;
  color: #657784;
  font-size: 12px;
  font-weight: 700;
}

.sell-advisor-simple-current strong {
  display: block;
  color: #142d3d;
  font-size: 18px;
  line-height: 1.35;
}

.sell-advisor-simple-current p {
  margin: 7px 0 0;
  color: #60727e;
  font-size: 13px;
  line-height: 1.65;
}

.sell-advisor-simple-principle {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #102f3d;
}

.sell-advisor-simple-principle span {
  margin: 0;
  color: #8fd7ca;
}

.sell-advisor-simple-principle strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.sell-advisor-simple-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.sell-advisor-simple-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid #d6e0e7;
  border-radius: 12px;
  background: #fff;
}

.sell-advisor-simple-step > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9f0f4;
  color: #355160;
  font-size: 13px;
}

.sell-advisor-simple-step strong {
  display: block;
  margin-bottom: 6px;
  color: #183343;
  font-size: 15px;
}

.sell-advisor-simple-step p {
  min-height: 62px;
  margin: 0 0 10px;
  color: #5b6f7b;
  font-size: 12px;
  line-height: 1.6;
}

.sell-advisor-simple-step span {
  display: block;
  padding-top: 9px;
  border-top: 1px dashed #d5dfe5;
  color: #244757;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.sell-advisor-simple-step.first_sell {
  border-color: #e6c56f;
  background: #fffaf0;
}

.sell-advisor-simple-step.first_sell > b { background: #f5df9e; color: #6f5200; }
.sell-advisor-simple-step.confirmed_weak { border-color: #e7aeb9; background: #fff5f6; }
.sell-advisor-simple-step.confirmed_weak > b { background: #f5cbd2; color: #a2253b; }
.sell-advisor-simple-step.cancel { border-color: #b8ddcd; background: #f2faf6; }
.sell-advisor-simple-step.cancel > b { background: #cae9dc; color: #12684e; }

.sell-advisor-simple-hardline {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 4px solid #cf4255;
  border-radius: 9px;
  background: #fff2f4;
}

.sell-advisor-simple-hardline strong { color: #a51f35; }
.sell-advisor-simple-hardline span { color: #653c43; font-size: 13px; line-height: 1.6; }

.sell-advisor-evidence {
  margin-top: 12px;
  border-top: 1px solid #e1e8ed;
  padding-top: 10px;
}

.sell-advisor-evidence summary {
  cursor: pointer;
  color: #56707e;
  font-size: 13px;
  font-weight: 700;
}

.sell-advisor-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.sell-advisor-evidence-grid > div {
  padding: 11px 12px;
  border: 1px solid #dfe7ec;
  border-radius: 10px;
  background: #f8fafb;
}

.sell-advisor-evidence-grid strong { color: #203b4a; font-size: 13px; }
.sell-advisor-evidence-grid p,
.sell-advisor-evidence > p { margin: 6px 0 0; color: #657784; font-size: 12px; line-height: 1.55; }

@media (max-width: 1100px) {
  .sell-cycle-state-grid,
  .sell-anchor-groups { grid-template-columns: 1fr; }
  .sell-advisor-simple-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .sell-scenario-grid { grid-template-columns: 1fr; }
  .sell-panel-title,
  .sell-primary-expectation > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .sell-advisor-simple-current,
  .sell-advisor-simple-flow,
  .sell-advisor-evidence-grid { grid-template-columns: 1fr; }
  .sell-advisor-simple-current > div + div { padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(45, 68, 84, 0.14); }
  .sell-advisor-simple-principle { grid-template-columns: 1fr; gap: 4px; }
  .sell-advisor-simple-step p { min-height: 0; }
}

/* ===== 事件预期差推演：只服务电脑网页端，不改变原周期与评分 ===== */
.event-inference-section {
  --event-teal: #0f766e;
  --event-ink: #142c35;
  --event-gold: #9a6a00;
  --event-soft: #edf8f5;
  gap: 18px;
}

.event-inference-heading,
.event-inference-toolbar,
.event-card-head,
.event-card-tags,
.event-card-meta,
.event-theme-list,
.event-subtitle {
  display: flex;
  align-items: center;
}

.event-inference-heading,
.event-card-head,
.event-subtitle {
  justify-content: space-between;
}

.event-inference-toolbar {
  gap: 12px;
}

#eventInferenceMeta {
  color: #60747c;
  font-size: 13px;
}

.event-source-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -6px;
}

.event-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #d7e2e4;
  border-radius: 9px;
  background: #f7fafb;
  color: #52666e;
  font-size: 12px;
}

.event-source-chip b {
  color: #263e47;
}

.event-source-chip em {
  color: #6c7f86;
  font-style: normal;
}

.event-source-chip.is-live {
  border-color: #a9d8c8;
  background: #edf9f4;
}

.event-source-chip.is-live b,
.event-source-chip.is-cache-fresh b {
  color: #0f766e;
}

.event-source-chip.is-cache-fresh {
  border-color: #bfdad5;
  background: #f1f8f6;
}

.event-source-chip.is-partial,
.event-source-chip.is-stale-cache {
  border-color: #e8d19a;
  background: #fff9e9;
}

.event-source-chip.is-partial b,
.event-source-chip.is-stale-cache b {
  color: #956400;
}

.event-source-chip.is-unavailable {
  border-color: #efc0c4;
  background: #fff1f2;
}

.event-source-chip.is-unavailable b {
  color: #b93e49;
}

.event-calendar-panel {
  padding: 18px 20px;
}

.event-calendar-panel .panel-title-row p {
  margin: 4px 0 0;
  color: #687b83;
  font-size: 12px;
}

#eventCalendarMeta {
  color: #60747c;
  font-size: 12px;
}

.event-calendar-list {
  display: grid;
  gap: 0;
  max-height: 470px;
  margin-top: 14px;
  overflow: auto;
  border: 1px solid #e0e8ea;
  border-radius: 11px;
  background: #fbfdfd;
}

.event-calendar-day {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-bottom: 1px solid #e7edef;
}

.event-calendar-day:last-child {
  border-bottom: 0;
}

.event-calendar-date {
  padding: 12px 14px;
  border-right: 1px solid #e7edef;
  background: #f2f7f7;
}

.event-calendar-date b,
.event-calendar-date span {
  display: block;
}

.event-calendar-date b {
  color: #173a43;
  font-size: 13px;
}

.event-calendar-date span {
  margin-top: 3px;
  color: #789097;
  font-size: 11px;
}

.event-calendar-items {
  display: grid;
}

.event-calendar-item {
  display: grid;
  grid-template-columns: 82px minmax(240px, 1fr) minmax(120px, 0.55fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-bottom: 1px dashed #e5ebed;
}

.event-calendar-item:last-child {
  border-bottom: 0;
}

.event-calendar-item > span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf3f4;
  color: #64777e;
  font-size: 10px;
}

.event-calendar-item.is-heavy > span {
  background: #ffe9e9;
  color: #b42f3c;
}

.event-calendar-item.is-focus > span {
  background: #fff2d4;
  color: #8e6200;
}

.event-calendar-item strong {
  color: #263e47;
  font-size: 12px;
  line-height: 1.45;
}

.event-calendar-item small {
  color: #71858c;
  font-size: 10.5px;
  text-align: right;
}

.event-calendar-more,
.event-watch-overflow {
  margin: 0;
  padding: 10px 12px;
  color: #6d7e84;
  font-size: 11px;
  text-align: center;
  background: #f5f8f9;
}

.event-watch-overflow {
  border: 1px dashed #cbd8db;
  border-radius: 9px;
}

.event-future-panel,
.event-landed-panel {
  padding: 22px;
}

.event-future-panel .panel-title-row p,
.event-landed-panel .panel-title-row p {
  margin: 5px 0 0;
  color: #687b83;
  font-size: 12px;
}

#eventFutureMajorMeta,
#eventLandedMeta {
  color: #60747c;
  font-size: 12px;
}

.event-future-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.event-future-card {
  overflow: hidden;
  border: 1px solid #d9e5e5;
  border-left: 5px solid #b88922;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 71, 72, 0.06);
}

.event-future-head {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: start;
  padding: 18px 20px 15px;
  background: linear-gradient(110deg, #fffdf7, #f7fbfa);
}

.event-future-date,
.event-future-pricing {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: 10px;
  text-align: center;
}

.event-future-date {
  background: #fff1cf;
  color: #7a5700;
}

.event-future-date strong {
  font-size: 14px;
}

.event-future-date span,
.event-future-pricing span,
.event-future-pricing small {
  font-size: 11px;
}

.event-future-title > div,
.event-impact-sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.event-future-title > div span,
.event-impact-sector-list span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf3f4;
  color: #486168;
  font-size: 11px;
  font-weight: 700;
}

.event-future-title > div span:first-child {
  background: #fff0cf;
  color: #805a00;
}

.event-future-title h4 {
  margin: 9px 0 5px;
  color: var(--event-ink);
  font-size: 18px;
  line-height: 1.45;
}

.event-future-title p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #63777d;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-future-pricing {
  background: #eaf6f3;
  color: #0f766e;
}

.event-future-pricing strong {
  font-size: 27px;
  line-height: 1;
}

.event-future-section {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 20px;
  border-top: 1px solid #edf1f2;
}

.event-future-section > b {
  color: #29434b;
  font-size: 13px;
}

.event-impact-sector-list span {
  background: #efe9fb;
  color: #62478b;
}

.event-impact-sector-list em,
.event-no-stock {
  margin: 0;
  color: #708087;
  font-size: 12px;
  font-style: normal;
}

.event-impact-paths {
  display: grid;
  gap: 5px;
}

.event-impact-paths p {
  margin: 0;
  color: #51686f;
  font-size: 12.5px;
  line-height: 1.55;
}

.event-impact-paths p::before {
  margin-right: 6px;
  color: #b88922;
  content: "•";
}

.event-impact-stocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 8px;
}

.event-impact-stock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 10px 11px;
  border: 1px solid #dfe7e8;
  border-radius: 9px;
  background: #f8fafb;
}

.event-impact-stock.is-qualified {
  border-color: #a9d4c7;
  background: #edf8f4;
}

.event-impact-stock strong,
.event-impact-stock small {
  display: block;
}

.event-impact-stock small,
.event-impact-stock em,
.event-impact-stock p {
  color: #62767c;
  font-size: 11px;
  font-style: normal;
}

.event-impact-stock > span {
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
}

.event-impact-stock em,
.event-impact-stock p {
  grid-column: 1 / -1;
}

.event-impact-stock p {
  margin: 1px 0 0;
  line-height: 1.45;
}

.event-future-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 13px 20px 17px;
  border-top: 1px solid #eadfbe;
  background: #fffaf0;
}

.event-future-gate p {
  margin: 0;
  color: #665b38;
  font-size: 12px;
  line-height: 1.55;
}

.event-landed-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-landed-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(180px, 1fr) minmax(210px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e3e9ea;
  border-radius: 9px;
  background: #f8fafb;
}

.event-landed-row strong,
.event-landed-row small {
  display: block;
}

.event-landed-row small,
.event-landed-row span,
.event-landed-row em,
.event-landed-row b {
  color: #62747b;
  font-size: 11px;
  font-style: normal;
}

.event-landed-row b {
  color: #7c6424;
}

.event-inference-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid #b8d9d2;
  border-left: 5px solid var(--event-teal);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fffd 0%, #edf8f5 62%, #fffaf0 100%);
  box-shadow: 0 10px 30px rgba(21, 67, 70, 0.08);
}

.event-inference-hero.is-empty,
.event-inference-hero.is-clean {
  border-left-color: #8aa3aa;
}

.event-inference-hero h3 {
  margin: 9px 0 7px;
  color: var(--event-ink);
  font-size: 22px;
  line-height: 1.45;
}

.event-inference-hero p,
.event-inference-principle span {
  margin: 0;
  color: #526970;
  line-height: 1.65;
}

.event-rule-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dff4ee;
  color: var(--event-teal);
  font-size: 12px;
  font-weight: 800;
}

.event-inference-principle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid rgba(154, 106, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 249, 230, 0.72);
  color: #6d5200;
  line-height: 1.55;
}

.event-inference-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.event-inference-metrics > div {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid #dce7e9;
  border-radius: 12px;
  background: #fff;
}

.event-inference-metrics span,
.event-inference-metrics small {
  color: #6a7c82;
}

.event-inference-metrics strong {
  color: var(--event-ink);
  font-size: 24px;
}

.event-inference-panel {
  padding: 22px;
}

.event-inference-panel .panel-title-row p {
  margin: 5px 0 0;
  color: #718188;
  font-size: 13px;
}

.event-inference-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.event-card {
  overflow: hidden;
  border: 1px solid #dbe5e7;
  border-radius: 14px;
  background: #fff;
}

.event-card.is-qualified {
  border-color: #acd4ca;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.07);
}

.event-card.is-watch {
  background: #fcfdfd;
}

.event-card-head {
  gap: 24px;
  padding: 20px 22px 14px;
  align-items: flex-start;
}

.event-card-head > div:first-child {
  min-width: 0;
}

.event-card-tags,
.event-card-meta,
.event-theme-list {
  flex-wrap: wrap;
  gap: 7px;
}

.event-card-tags span,
.event-card-meta span,
.event-theme-list span,
.decision-event-summary span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf2f3;
  color: #435b62;
  font-size: 12px;
  font-weight: 700;
}

.event-card-tags .is-source {
  background: #e0f3ee;
  color: #0d6d65;
}

.event-card-tags .is-importance {
  background: #fff1ca;
  color: #7b5900;
}

.event-card-tags .is-trading {
  background: #e7efff;
  color: #24529a;
}

.event-card h4 {
  margin: 12px 0 5px;
  color: var(--event-ink);
  font-size: 19px;
  line-height: 1.5;
}

.event-card-summary {
  margin: 0;
  color: #62777d;
  line-height: 1.65;
}

.event-pricing-score {
  display: grid;
  min-width: 116px;
  place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--event-soft);
  color: var(--event-teal);
  text-align: center;
}

.event-pricing-score strong {
  font-size: 28px;
  line-height: 1;
}

.event-pricing-score span,
.event-pricing-score small {
  margin-top: 5px;
  font-size: 11px;
}

.event-card-meta,
.event-theme-list,
.event-evidence,
.event-anchor-block,
.event-scenario-grid,
.event-system-gate,
.event-watch-note {
  margin-right: 22px;
  margin-left: 22px;
}

.event-card-meta {
  padding: 0 0 12px;
}

.event-theme-list {
  padding: 12px 0;
  border-top: 1px dashed #d8e2e4;
}

.event-theme-list span {
  background: #f4edff;
  color: #63418e;
}

.event-evidence {
  padding: 10px 14px;
  border-radius: 10px;
  background: #f6f8f9;
}

.event-evidence p {
  margin: 3px 0;
  color: #53676d;
  font-size: 13px;
}

.event-anchor-block {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #dce7e7;
  border-radius: 12px;
  background: #fbfefe;
}

.event-subtitle {
  gap: 16px;
  margin-bottom: 10px;
  color: var(--event-ink);
}

.event-subtitle span {
  color: #6b7f85;
  font-size: 12px;
  text-align: right;
}

.event-anchor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 9px;
}

.event-anchor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  padding: 11px 12px;
  border-radius: 9px;
  background: #eef7f4;
}

.event-anchor div {
  min-width: 0;
}

.event-anchor strong,
.event-anchor small {
  display: block;
}

.event-anchor small,
.event-anchor span,
.event-anchor em {
  color: #5f747a;
  font-size: 11px;
  font-style: normal;
}

.event-anchor b {
  color: var(--event-teal);
}

.event-anchor span,
.event-anchor em {
  grid-column: 1 / -1;
}

.event-sector-anchor {
  margin: 11px 0 0;
  color: #51686e;
  font-size: 13px;
}

.event-scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.event-scenario-grid > div {
  padding: 12px;
  border-top: 3px solid #84a9a2;
  border-radius: 8px;
  background: #f7f9f9;
}

.event-scenario-grid .is-strengthen { border-top-color: #1d9b72; }
.event-scenario-grid .is-cashout { border-top-color: #c38b17; }
.event-scenario-grid .is-invalidation { border-top-color: #c94e57; }
.event-scenario-grid .is-risk-spread { border-top-color: #c94e57; }
.event-scenario-grid .is-absorb { border-top-color: #1d9b72; }
.event-scenario-grid .is-weak-link { border-top-color: #6c7f86; }

.event-scenario-grid strong {
  color: #263f47;
  font-size: 13px;
}

.event-scenario-grid p {
  margin: 6px 0 0;
  color: #60737a;
  font-size: 12px;
  line-height: 1.55;
}

.event-system-gate,
.event-watch-note {
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 13px 15px;
  border-radius: 10px;
}

.event-system-gate {
  border-left: 4px solid var(--event-gold);
  background: #fff8e7;
}

.event-system-gate p {
  margin: 5px 0;
  color: #665724;
  line-height: 1.6;
}

.event-watch-note {
  background: #f3f5f6;
  color: #61747a;
}

.event-filtered-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-filtered-list > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 18px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f1;
  color: #718187;
  font-size: 12px;
}

.event-filtered-list strong {
  overflow: hidden;
  color: #4a5f65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.decision-event-gate {
  border-left: 4px solid #c5a348;
  background: linear-gradient(90deg, #fffdf5, #fff);
}

.event-decision-gate {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.event-decision-gate.is-conditional {
  background: #e0f3eb;
  color: #0b755a;
}

.event-decision-gate.is-observe {
  background: #fff0cf;
  color: #8a6100;
}

.event-decision-gate.is-risk {
  background: #ffe1e3;
  color: #a02c39;
}

.decision-event-summary > strong,
.review-event-summary > strong {
  display: block;
  margin-bottom: 9px;
  color: var(--event-ink, #142c35);
  font-size: 17px;
}

.decision-event-summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.decision-event-summary p,
.review-event-summary p {
  margin: 6px 0;
  color: #4f646a;
  line-height: 1.62;
}

.review-event-panel {
  margin-bottom: 16px;
  border-left: 4px solid var(--event-teal, #0f766e);
}

@media (max-width: 1180px) {
  .event-inference-metrics,
  .event-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-landed-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .event-inference-heading,
  .event-card-head,
  .event-subtitle {
    align-items: stretch;
    flex-direction: column;
  }

  .event-inference-hero,
  .event-inference-metrics,
  .event-scenario-grid,
  .event-future-head,
  .event-future-section,
  .event-future-gate,
  .event-landed-row {
    grid-template-columns: 1fr;
  }

  .event-future-date,
  .event-future-pricing {
    text-align: left;
  }

  .event-pricing-score {
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 8px;
  }

  .event-filtered-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .event-calendar-day,
  .event-calendar-item {
    grid-template-columns: 1fr;
  }

  .event-calendar-date {
    border-right: 0;
    border-bottom: 1px solid #e7edef;
  }

  .event-calendar-date b,
  .event-calendar-date span {
    display: inline;
    margin-right: 6px;
  }

  .event-calendar-item {
    gap: 5px;
  }

  .event-calendar-item small {
    text-align: left;
  }
}

.external-core-alert {
  position: sticky;
  top: 10px;
  z-index: 30;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #e45b65;
  border-left: 5px solid #c92736;
  border-radius: 10px;
  background: #fff0f1;
  color: #8f1422;
  box-shadow: 0 8px 20px rgba(143, 20, 34, 0.12);
}

.external-core-alert[hidden] {
  display: none;
}

.external-core-alert strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.external-core-alert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.external-core-alert-item {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(201, 39, 54, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.external-core-alert-item.is-anchor {
  border: 1px solid rgba(21, 111, 101, 0.28);
  background: rgba(21, 111, 101, 0.12);
  color: #0d5b54;
}

.external-core-alert-item.is-anchor.is-alert {
  border-color: rgba(201, 39, 54, 0.35);
  background: rgba(201, 39, 54, 0.14);
  color: #8f1422;
}

.external-core-alert-note {
  margin: 7px 0 0;
  color: #7b3b42;
  font-size: 12px;
}

.external-core-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.external-core-quote {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.external-core-quote span,
.external-core-quote small {
  display: block;
}

.external-core-quote span {
  color: var(--muted);
  font-size: 11px;
}

.external-core-quote strong {
  display: block;
  margin: 3px 0;
}

.external-core-quote.is-alert {
  border-color: #e45b65;
  background: #fff0f1;
  color: #a51f2d;
}



.us-framework-panel {

  margin-top: 18px;

  border-color: #c8d6f0;

  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%);

}



.us-framework-grid {

  display: grid;

  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);

  gap: 12px;

  align-items: start;

  margin-top: 12px;

}



.us-framework-stats {

  display: grid;

  gap: 10px;

}



.us-framework-stats div {

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.us-framework-stats span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.us-framework-stats strong {

  display: block;

  margin-top: 5px;

}



.external-indexes {

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 10px;

}



.external-indexes div {

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.external-indexes span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.external-indexes strong {

  display: block;

  margin-top: 5px;

}



.external-reasons {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 12px;

}



.external-reasons span,

#externalLevel {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff7ed;

  color: #7a4a17;

  font-size: 13px;

  font-weight: 800;

}



.style-analysis-panel {

  margin-top: 18px;

}



#frameworkContinuityLabel {

  color: var(--accent-3);

  background: #eef6ff;

}



.framework-panel {

  margin-top: 18px;

}



.anchor-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  margin-top: 18px;

}



.risk-board-panel {

  margin-top: 18px;

}



.master-leader-panel {

  margin-top: 18px;

  border-color: #b7d9cb;

  background: linear-gradient(180deg, #f4fbf7 0%, #ffffff 100%);

}



.anchor-grid .master-leader-panel {

  margin-top: 0;

}



.master-leader-title {

  margin-bottom: 8px;

  color: var(--ink);

  font-size: 22px;

  font-weight: 900;

}



.master-leader-reason {

  margin-bottom: 0;

  color: var(--muted);

  line-height: 1.65;

}



.risk-board-summary {

  margin-bottom: 12px;

  color: var(--muted);

  line-height: 1.65;

}



.risk-board-list {

  display: grid;

  gap: 12px;

}



.risk-card {

  padding: 16px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fffaf8;

}



.risk-card.blocked {

  border-color: #f1c2c2;

  background: #fff4f4;

}



.risk-card-head {

  display: flex;

  justify-content: space-between;

  gap: 12px;

  align-items: flex-start;

}



.risk-card-head strong {

  display: block;

  font-size: 18px;

}



.risk-card-head span {

  color: var(--muted);

  font-size: 12px;

}



.risk-level {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--bad);

  font-size: 12px;

  font-weight: 900;

}



.risk-card p {

  margin: 10px 0 0;

  color: var(--muted);

  line-height: 1.65;

}



.risk-card-reasons {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;

}



.risk-card-reasons span {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--bad);

  font-size: 12px;

  font-weight: 800;

}



.framework-headline {

  margin-bottom: 10px;

  color: var(--ink);

  font-size: 18px;

  line-height: 1.7;

}



.framework-subline {

  margin-bottom: 12px;

  color: var(--muted);

  line-height: 1.65;

}



.framework-signals {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.framework-signals span {

  padding: 6px 8px;

  border-radius: 6px;

  background: #eef6ff;

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 800;

}



.topic-board-panel {

  margin-top: 18px;

}



.topic-board-list {

  display: grid;

  gap: 12px;

}



.topic-card {

  padding: 16px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.topic-card.solid {

  border-color: #b7d9cb;

  background: #f3fbf7;

}



.topic-card-head {

  display: flex;

  justify-content: space-between;

  gap: 12px;

  align-items: flex-start;

}



.topic-card-head strong {

  display: block;

  font-size: 18px;

}



.topic-card-head span {

  color: var(--muted);

  font-size: 13px;

}



.topic-label {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 900;

}



.topic-card-metrics,

.topic-card-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;

}



.topic-card-metrics span,

.topic-card-tags span {

  padding: 6px 8px;

  border-radius: 6px;

  background: var(--surface-soft);

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 800;

}



.topic-card p {

  margin: 10px 0 0;

  color: var(--muted);

  line-height: 1.65;

}



.topic-card-reasons {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;

}



.topic-card-reasons span {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--accent);

  font-size: 12px;

  font-weight: 800;

}



#styleAnalysisConclusion {

  color: var(--accent-3);

  background: #eef6ff;

}



.reverse-logic {

  display: grid;

  gap: 10px;

}



.reverse-logic div {

  display: grid;

  grid-template-columns: 32px minmax(0, 1fr);

  gap: 10px;

  align-items: start;

  padding: 12px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

  color: var(--muted);

  line-height: 1.65;

}



.reverse-logic span {

  display: grid;

  place-items: center;

  width: 28px;

  height: 28px;

  border-radius: 6px;

  background: var(--accent);

  color: #fff;

  font-size: 13px;

  font-weight: 900;

}



.reverse-logic p {

  margin: 0;

}



.profit-effect-row {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-top: 12px;

}



.profit-effect-row div {

  padding: 14px;

  border-radius: 8px;

  background: var(--surface-soft);

}



.profit-effect-row span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.profit-effect-row strong {

  display: block;

  margin-top: 6px;

  color: var(--ink);

}



.profit-case-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 12px;

}



.profit-case {

  padding: 14px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.profit-case-head {

  display: flex;

  justify-content: space-between;

  gap: 10px;

  align-items: center;

}



.profit-case-head strong {

  font-size: 17px;

}



.profit-case-head span {

  padding: 5px 8px;

  border-radius: 6px;

  background: #fff7ed;

  color: #7a4a17;

  font-size: 12px;

  font-weight: 900;

}



.profit-case-tags,

.profit-case-metrics,

.continuity-reasons {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.profit-case-tags {

  margin-top: 10px;

}



.profit-case-tags span,

.profit-case-metrics span,

.continuity-reasons span {

  padding: 6px 8px;

  border-radius: 6px;

  background: var(--surface-soft);

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 800;

}



.profit-case p {

  margin: 10px 0;

  color: var(--muted);

  line-height: 1.65;

}



.continuity-reasons {

  margin-top: 12px;

}



.backtest-panel {

  margin-top: 18px;

}



#backtestSummaryLabel {

  color: var(--accent);

  background: #eef8f4;

}



.backtest-metrics {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 10px;

}



.backtest-metrics div {

  padding: 14px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.backtest-metrics span {

  display: block;

  color: var(--muted);

  font-size: 12px;

}



.backtest-metrics strong {

  display: block;

  margin-top: 6px;

}



#backtestNote {

  margin: 12px 0 0;

  color: var(--muted);

  line-height: 1.65;

}



.selection-grid {

  display: grid;

  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);

  gap: 18px;

  margin-top: 18px;

}



.panel-title-row {

  display: flex;

  justify-content: space-between;

  gap: 14px;

  align-items: baseline;

  margin-bottom: 12px;

}



.stock-result-list {

  display: grid;

  gap: 12px;

}



.stock-pick-card {

  padding: 16px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



.stock-pick-card.rejected {

  background: #fffafa;

}



.stock-pick-head {

  display: flex;

  justify-content: space-between;

  gap: 14px;

  align-items: flex-start;

}



.stock-pick-head h4 {

  margin: 0;

  font-size: 18px;

}



.stock-pick-head small {

  display: block;

  margin-top: 3px;

  color: var(--muted);

}



.score-badge {

  min-width: 58px;

  padding: 8px 10px;

  border-radius: 6px;

  background: var(--accent);

  color: #fff;

  text-align: center;

  font-weight: 900;

}



.rejected .score-badge {

  background: var(--bad);

}



.stock-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin: 12px 0;

}



.stock-tags span {

  padding: 6px 8px;

  border-radius: 6px;

  background: var(--surface-soft);

  color: var(--muted);

}



.stock-tags .role-tag {

  background: #e8f4f1;

  color: var(--accent);

  font-weight: 900;

}



.stock-tags .type-tag {

  background: #eef6ff;

  color: var(--accent-3);

  font-weight: 900;

}



.reason-list {

  margin: 0;

  padding-left: 18px;

  color: var(--ink);

  line-height: 1.7;

}



.stock-backtest {

  margin-top: 12px;

  padding: 12px;

  border: 1px solid #d6e6dd;

  border-radius: 8px;

  background: #f4fbf7;

}



.stock-backtest-head {

  display: flex;

  justify-content: space-between;

  gap: 10px;

  align-items: center;

}



.stock-backtest-head strong {

  color: var(--accent);

}



.stock-backtest-head span {

  padding: 5px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--muted);

  font-size: 12px;

  font-weight: 800;

}



.stock-backtest-metrics,

.backtest-cases {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;

}



.stock-backtest-metrics span,

.backtest-cases span {

  padding: 6px 8px;

  border-radius: 6px;

  background: #fff;

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 800;

}



.stock-backtest p {

  margin: 10px 0 0;

  color: var(--muted);

  line-height: 1.6;

}



.trade-plan {

  display: grid;

  gap: 8px;

  margin-top: 14px;

  padding: 14px;

  border-radius: 8px;

  background: #f4f7f9;

}



.trade-plan div {

  display: grid;

  grid-template-columns: 72px minmax(0, 1fr);

  gap: 10px;

  align-items: start;

}



.trade-plan span {

  color: var(--accent-3);

  font-size: 13px;

  font-weight: 900;

}



.trade-plan p {

  margin: 0;

  color: #2b3f4d;

  line-height: 1.65;

}



.game-plan {

  display: grid;

  gap: 9px;

  margin-top: 14px;

  padding: 14px;

  border: 1px solid #e4d6c0;

  border-radius: 8px;

  background: #fff8ef;

}



.game-plan.can-game {

  border-color: #b7d9cb;

  background: #f0faf6;

}



.game-plan-head {

  display: flex;

  justify-content: space-between;

  gap: 12px;

  align-items: center;

}



.game-plan-head strong {

  color: #7a4a17;

}



.game-plan.can-game .game-plan-head strong {

  color: var(--good);

}



.game-plan-head span {

  color: var(--muted);

  font-size: 13px;

  font-weight: 800;

}



.game-plan p {

  margin: 0;

  color: #344958;

  line-height: 1.65;

}



.empty-state {

  padding: 18px;

  border: 1px dashed var(--line);

  border-radius: 8px;

  color: var(--muted);

  background: #fbfcfd;

}



.scoring-layout {

  display: grid;

  grid-template-columns: minmax(0, 1.25fr) 380px;

  gap: 18px;

  align-items: start;

}



.panel {

  padding: 24px;

}



.score-form {

  display: grid;

  gap: 14px;

}



fieldset {

  margin: 0;

  padding: 16px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: #fbfcfd;

}



legend {

  padding: 0 8px;

  color: var(--accent-3);

  font-weight: 800;

}



label {

  display: grid;

  gap: 8px;

  margin-top: 12px;

  color: #263947;

  font-size: 14px;

  font-weight: 700;

}



input[type="range"] {

  width: 100%;

  accent-color: var(--accent);

}



input,

select,

textarea {

  width: 100%;

  border: 1px solid var(--line);

  border-radius: 6px;

  background: #fff;

  color: var(--ink);

  padding: 11px 12px;

  outline: none;

}



input:focus,

select:focus,

textarea:focus {

  border-color: var(--accent);

  box-shadow: 0 0 0 3px rgba(11, 111, 106, 0.12);

}



.result-panel {

  position: sticky;

  top: 24px;

}



.score-ring {

  width: 178px;

  height: 178px;

  margin: 0 auto 20px;

  border: 12px solid #dce8e9;

  border-top-color: var(--accent);

  border-right-color: var(--accent-2);

  border-radius: 50%;

  display: grid;

  place-items: center;

  align-content: center;

}



.score-ring span {

  display: block;

  font-size: 48px;

  font-weight: 900;

}



.score-ring small {

  color: var(--muted);

}



.result-list {

  display: grid;

  gap: 10px;

}



.result-list div {

  display: flex;

  justify-content: space-between;

  gap: 14px;

  padding: 12px 0;

  border-bottom: 1px solid var(--line);

}



.result-list strong {

  text-align: right;

}



.model-output {

  margin: 18px 0;

  padding: 16px;

  border-radius: 8px;

  background: var(--surface-soft);

}



.formula-box {

  display: grid;

  gap: 5px;

  margin-bottom: 14px;

  padding: 12px 14px;

  border: 1px dashed #b7c6cf;

  border-radius: 8px;

  color: var(--muted);

  font-size: 13px;

}



.formula-box strong {

  color: var(--ink);

}



.primary-btn {

  width: 100%;

  min-height: 44px;

  border: 0;

  border-radius: 6px;

  background: var(--accent);

  color: #fff;

  font-weight: 800;

  cursor: pointer;

}



.primary-btn:hover {

  background: #095e5a;

}

.secondary-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.secondary-btn:hover {
  background: var(--accent);
  color: #fff;
}

.secondary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.ghost-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 36px;

  padding: 0 14px;

  border: 1px solid var(--line);

  border-radius: 6px;

  background: #fff;

  color: var(--accent-3);

  cursor: pointer;

  font-weight: 800;

}



.ghost-btn:hover {

  border-color: rgba(37, 91, 145, 0.35);

  background: #f5f8ff;

}



.watchlist-layout {

  display: grid;

  grid-template-columns: 360px minmax(0, 1fr);

  gap: 18px;

  align-items: start;

}



.stock-form {

  display: grid;

  gap: 8px;

}



.table-panel {

  overflow-x: auto;

}



table {

  width: 100%;

  border-collapse: collapse;

  min-width: 760px;

}



th,

td {

  padding: 14px 12px;

  border-bottom: 1px solid var(--line);

  text-align: left;

  vertical-align: top;

}



th {

  color: var(--muted);

  font-size: 13px;

}



td {

  line-height: 1.5;

}



.delete-btn {

  border: 1px solid var(--line);

  border-radius: 6px;

  background: #fff;

  color: var(--bad);

  padding: 8px 10px;

  cursor: pointer;

}



.playbook-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;

}



.playbook-item {

  padding: 22px;

}



.playbook-item span {

  display: inline-block;

  margin-top: 16px;

  color: var(--accent-3);

  font-size: 14px;

  font-weight: 800;

}



.history-list {

  display: grid;

  gap: 12px;

}



.history-card {

  display: grid;

  grid-template-columns: 160px repeat(4, minmax(0, 1fr));

  gap: 12px;

  align-items: center;

  padding: 16px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: var(--surface);

}



.history-card span {

  color: var(--muted);

  font-size: 13px;

}



.history-card strong {

  display: block;

  margin-top: 4px;

}



.archive-card {

  grid-template-columns: 140px 180px 1fr 1fr;

  align-items: start;

}



.archive-picks {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.archive-picks span {

  padding: 6px 8px;

  border-radius: 6px;

  background: #eef6ff;

  color: var(--accent-3);

  font-size: 12px;

  font-weight: 800;

}



.archive-card .archive-picks {

  grid-column: 1 / -1;

}



@media (max-width: 1180px) {

  .system-grid,

  .playbook-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



  .scoring-layout,
  .watchlist-layout,
  .sell-advisor-layout,
  .picker-layout,
  .selection-grid,
  .hero-section {
    grid-template-columns: 1fr;
  }

  .sell-advisor-grid,
  .sell-advisor-report-grid {
    grid-template-columns: 1fr;
  }


  .picker-control {

    grid-template-columns: 1fr;

  }



  .picker-meta {

    grid-template-columns: 1fr;

  }



  .external-indexes {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



  .anchor-grid {

    grid-template-columns: 1fr;

  }



  .result-panel {

    position: static;

  }

}



@media (max-width: 820px) {

  .app-shell {

    grid-template-columns: 1fr;

  }



  .sidebar {

    position: static;

    height: auto;

  }



  .main {

    padding: 18px;

  }



  .hero-section {

    padding: 28px;

  }



  .system-grid,

  .playbook-grid,

  .history-card {

    grid-template-columns: 1fr;

  }

}



/* ===== 标签视图切换：一次只显示一个视图 ===== */

main section[data-view].view-hidden {

  display: none !important;

}



/* ===== 今日炒作框架 ===== */

.cycle-frame-panel {

  display: grid;

  gap: 14px;

}



.cycle-frame-main {

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px;

  gap: 14px;

  align-items: stretch;

}



.cycle-frame-main .primary-btn {

  align-self: center;

  width: auto;

  padding: 0 22px;

}



.cycle-frame-cell {

  padding: 18px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: var(--surface-soft);

}



.cycle-frame-cell span {

  display: block;

  color: var(--muted);

  font-size: 13px;

}



.cycle-frame-cell strong {

  display: block;

  margin-top: 8px;

  font-size: 26px;

  font-weight: 900;

}



.cycle-frame-metrics {

  grid-template-columns: repeat(4, minmax(0, 1fr));

}



.cycle-frame-bias {

  margin: 0;

  padding: 14px 16px;

  border-radius: 8px;

  background: #eef6ff;

  color: var(--accent-3);

  font-weight: 700;

  line-height: 1.65;

}

.cycle-frame-emotion {

  margin: 0;

  padding: 12px 14px;

  border-radius: 8px;

  background: #f3f7fb;

  border: 1px solid var(--line);

  color: #2b3f4d;

  font-size: 14px;

  line-height: 1.6;

}

.cycle-frame-emotion b {

  color: var(--ink);

  font-size: 16px;

}



@media (max-width: 1180px) {

  .cycle-frame-main {

    grid-template-columns: 1fr 1fr;

  }

  .cycle-frame-main .primary-btn {

    grid-column: 1 / -1;

    width: 100%;

  }

  .cycle-frame-metrics {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}



@media (max-width: 820px) {

  .cycle-frame-main {

    grid-template-columns: 1fr;

  }

}



/* ===== 炒作逻辑 / 预期状态 ===== */

.spec-box {

  margin: 12px 0;

  padding: 12px 14px;

  border: 1px solid var(--line);

  border-left-width: 4px;

  border-radius: 8px;

  background: #fbfcfd;

}

.spec-box.spec-active {

  border-left-color: var(--good);

  background: #f2fbf6;

}

.spec-box.spec-overdrawn {

  border-left-color: #e08a00;

  background: #fff7ec;

}

.spec-box.spec-realized {

  border-left-color: var(--bad);

  background: #fff1f1;

}

.spec-head {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;

  margin-bottom: 6px;

}

.news-box {

  margin: 12px 0;

  padding: 10px 14px;

  border: 1px solid var(--line);

  border-left: 4px solid #5b7fd4;

  border-radius: 8px;

  background: #f7f9fd;

}

.news-head {

  font-size: 12px;

  font-weight: 600;

  color: #4a6bbd;

  margin-bottom: 6px;

}

.news-item {

  margin: 4px 0;

  font-size: 13px;

  line-height: 1.5;

}

.news-item a {

  color: inherit;

  text-decoration: none;

  border-bottom: 1px dotted #9db4e0;

}

.news-item a:hover {

  color: #4a6bbd;

}

.news-time,

.news-source {

  color: #8a93a6;

  font-size: 12px;

}

.news-time {

  margin-right: 8px;

}

.news-source {

  margin-left: 8px;

}

.news-kind {

  display: inline-block;

  font-size: 11px;

  font-weight: 600;

  line-height: 1;

  padding: 2px 5px;

  border-radius: 4px;

  margin-right: 6px;

  vertical-align: 1px;

}

.news-kind-ann {

  color: #a8551a;

  background: #fdf0e4;

}

.news-kind-rpt {

  color: #1a7a4d;

  background: #e8f7ef;

}

.news-kind-news {

  color: #4a6bbd;

  background: #eaf0fb;

}

.global-news-list {

  margin-top: 10px;

  max-height: 220px;

  overflow-y: auto;

  border-top: 1px solid var(--line);

  padding-top: 8px;

}

.global-news-list .news-item {

  margin: 5px 0;

  font-size: 13px;

  line-height: 1.45;

}

.spec-tag {

  font-weight: 900;

  font-size: 14px;

}

.spec-active .spec-tag {

  color: #128a4a;

}

.spec-overdrawn .spec-tag {

  color: #b56a00;

}

.spec-realized .spec-tag {

  color: #c02748;

}

.spec-edit-btn {

  border: 1px solid var(--line);

  border-radius: 6px;

  background: #fff;

  color: var(--accent-3);

  padding: 5px 10px;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;

}

.spec-edit-btn:hover {

  background: var(--surface-soft);

}

.spec-logic {

  margin: 4px 0;

  color: var(--ink);

  line-height: 1.6;

}

.spec-risk {

  margin: 4px 0 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.55;

}

.spec-overdrawn .spec-risk {

  color: #a14b00;

  font-weight: 600;

}

.spec-realized .spec-risk {

  color: #b3324c;

  font-weight: 600;

}

.spec-editing {

  background: #fff;

  border-left-color: var(--accent);

}

.spec-field {

  display: grid;

  gap: 6px;

  margin-top: 8px;

  font-size: 13px;

  font-weight: 700;

  color: #263947;

}

.spec-editor-actions {

  display: flex;

  gap: 8px;

  margin-top: 12px;

}

.spec-editor-actions .primary-btn {

  width: auto;

  padding: 0 18px;

  min-height: 38px;

}

.spec-cancel-btn {

  border: 1px solid var(--line);

  border-radius: 6px;

  background: #fff;

  color: var(--muted);

  padding: 0 16px;

  min-height: 38px;

  cursor: pointer;

  font-weight: 700;

}



/* 筹码舒服度标签 */

.chip-tag {

  font-weight: 800 !important;

}

.chip-tag.chip-good {

  color: #128a4a !important;

  background: #eafaf1 !important;

  border-color: #b8e6cc !important;

}

.chip-tag.chip-bad {

  color: #c02748 !important;

  background: #fdecef !important;

  border-color: #f3c2cd !important;

}

.chip-tag.chip-mid {

  color: #8a6d00 !important;

  background: #fbf6e6 !important;

}



/* 硬筛选标签 */

.gate-tag { padding: 2px 8px; border-radius: 6px; font-size: 12px; }

.gate-pass { background: rgba(46, 160, 67, 0.15); color: #2ea043; }

.gate-fail { background: rgba(248, 81, 73, 0.15); color: #f85149; }

/* 止盈止损行 */

.spl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 13px; align-items: center; }

.spl-mode { font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(110, 118, 129, 0.2); }

.spl-loss { color: #f85149; }

.spl-profit { color: #2ea043; }

.spl-rr, .spl-pos { color: #8b949e; }

.spl-basis { margin-top: 4px; font-size: 12px; color: #8b949e; }



/* ===== 盘前预案 · 红线清单 ===== */

.preplan-cycle-bar { margin-bottom: 18px; }

.preplan-cycle-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.preplan-cycle-main span { color: var(--muted); font-size: 13px; }

.preplan-cycle-main strong { font-size: 26px; font-weight: 900; }

.preplan-cycle-main em { color: var(--muted); font-style: normal; font-weight: 700; }

.preplan-cycle-metrics { margin-top: 12px; }

.preplan-lock-state { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--surface-soft); color: var(--accent); font-weight: 700; font-size: 13px; }

.preplan-lock-state.pp-locked-banner { background: #fdecef; color: #c02748; }



.preplan-layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 18px; align-items: start; }

@media (max-width: 1100px) { .preplan-layout { grid-template-columns: 1fr; } }



.preplan-form label { margin-top: 10px; }

.preplan-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.preplan-radio-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; }

.preplan-radio-row > span { color: #263947; font-weight: 700; font-size: 14px; width: 100%; }

.pp-inline { display: flex; flex-direction: row; align-items: center; gap: 6px; margin-top: 0; font-weight: 500; font-size: 13px; }

.pp-inline input[type="radio"] { width: auto; accent-color: var(--accent); }

.pp-check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }

.pp-check input[type="checkbox"] { width: auto; accent-color: var(--accent); }

.pp-hidden { display: none !important; }

.preplan-form :disabled { opacity: 0.55; cursor: not-allowed; }



.preplan-form-msg { min-height: 18px; margin: 10px 0 0; font-size: 13px; font-weight: 700; }

.preplan-form-msg.pp-error { color: var(--bad); }

.preplan-form-msg.pp-warn { color: var(--warn); }

.preplan-form-msg.pp-ok { color: var(--good); }

.pp-error { color: var(--bad); font-size: 13px; font-weight: 700; }



.preplan-right { display: grid; gap: 18px; }

.preplan-list { display: grid; gap: 14px; }

.preplan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }

.preplan-card.pp-card-locked { border-left: 4px solid #c02748; }

.preplan-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }

.preplan-card-head h4 { margin: 0; font-size: 16px; }

.preplan-card-head small { color: var(--muted); font-weight: 500; }

.pp-lock-tag { font-size: 12px; color: var(--muted); white-space: nowrap; }

.pp-tag-dual { background: rgba(196, 85, 47, 0.14); color: var(--accent-2); font-weight: 700; }

.pp-tag-single { background: rgba(37, 91, 145, 0.12); color: var(--accent-3); font-weight: 700; }

.pp-tag-reflow { background: rgba(15, 143, 89, 0.12); color: var(--good); font-weight: 700; }

.pp-logic { margin: 8px 0 0; font-size: 13px; line-height: 1.6; }

.pp-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }



/* 红线卡：给截图/手抄用，价格全部展示成具体数字 */

.redline-slot { margin-top: 12px; font-size: 13px; color: var(--muted); }

.redline-card { border: 1.5px solid #e5b4b4; border-radius: 10px; background: #fffAF9; overflow: hidden; }

.redline-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 10px 14px; background: #fdecef; color: #8f1d3c; align-items: baseline; }

.redline-title b { font-size: 14px; }

.redline-title span { font-size: 12px; color: #a05467; }

.rl-lines { margin: 0; padding: 10px 14px 12px 30px; display: grid; gap: 8px; }

.rl-item { font-size: 13px; line-height: 1.55; color: var(--ink); }

.rl-item b { color: #8f1d3c; }

.rl-item small { display: block; color: var(--muted); font-size: 12px; }

.rl-item em { font-style: normal; background: #b23a3a; color: #fff; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }

.rl-auction { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 4px; }

.rl-auction li { font-weight: 600; }

.rl-line-0 { color: #e23b3b; }   /* 超预期 */

.rl-line-1 { color: #c47a16; }   /* 符合 */

.rl-line-2 { color: #8a8f99; }   /* 灰区 */

.rl-line-3 { color: #2f7fd1; }   /* 不及 */

.rl-stop strong { color: #b23a3a; font-size: 15px; }

.rl-bgate { background: rgba(15, 143, 89, 0.08); border-radius: 6px; padding: 6px 8px; }

.rl-missing-line { color: var(--warn); }

.rl-fill-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 14px; font-size: 12px; color: var(--warn); background: #fbf6e6; }

.rl-fill-row input { width: 90px; padding: 6px 8px; }

.rl-fill-row button { border: 1px solid var(--warn); background: #fff; color: var(--warn); border-radius: 6px; padding: 6px 10px; cursor: pointer; font-weight: 700; }



/* 竞价判定 */

.judge-row { display: flex; gap: 8px; align-items: center; }

.judge-row input { flex: 1; }

.judge-row .primary-btn { width: auto; min-height: 40px; padding: 0 18px; }

.pp-card-judge { margin-top: 12px; }

.judge-result { margin-top: 10px; }

.pp-judge-result { margin-top: 8px; }

.judge-verdict { border-left: 4px solid #8a8f99; background: var(--surface-soft); border-radius: 0 8px 8px 0; padding: 10px 12px; }

.judge-verdict strong { font-size: 16px; margin-right: 8px; }

.judge-verdict span { color: var(--muted); font-size: 12px; }

.judge-verdict p { margin: 6px 0 0; font-size: 13px; font-weight: 600; }

.judge-verdict small { display: block; margin-top: 4px; color: var(--muted); }

.judge-verdict.judge-no-plan { border-left-color: var(--bad); background: #fdecef; }

.judge-verdict.judge-no-plan strong { color: var(--bad); font-size: 14px; }



/* 个股卡上的入口按钮 + 硬筛选缺数据标 */

.stock-card-actions { display: flex; gap: 8px; }

.stock-card-actions .add-pick-btn { flex: 1; }

.preplan-entry-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 6px; background: #fff; color: var(--accent); font-weight: 800; cursor: pointer; }

.preplan-entry-btn:hover { background: var(--surface-soft); }

.stock-pick-card.rejected .preplan-entry-btn { min-height: 34px; margin-top: 8px; }

.gate-missing { background: rgba(196, 122, 22, 0.14); color: #c47a16; }

.gate-soft { background: rgba(196, 122, 22, 0.10); color: #c47a16; }



/* ===== 抓取状态明示（成功/部分失败/失败） ===== */

.fetch-status-badge { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); max-width: 60%; text-align: right; }

.fetch-status-badge.fs-ok { background: #eaf6ef; color: #0f8f59; }

.fetch-status-badge.fs-partial { background: #fbf6e6; color: #8a6d00; }

.fetch-status-badge.fs-fail { background: #fdecef; color: #c02748; }

.fetch-issues { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }

.fetch-issues:empty { display: none; }

.fs-item { font-size: 12px; padding: 2px 8px; border-radius: 6px; }

.fs-item.fs-bad { background: #fdecef; color: #c02748; font-weight: 700; }

.fs-item.fs-warn { background: #fff4d8; color: #9a6400; font-weight: 700; }

.fs-item.fs-good { background: #eef3f6; color: var(--muted); }

.concept-list .fs-unclassified { background: #fbf6e6; color: #8a6d00; font-weight: 700; }



/* ===== 今日决策页：只给结论的傻瓜式版面 ===== */

.decision-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.decision-toolbar .primary-btn { font-size: 15px; padding: 12px 22px; }

.decision-authority-lanes {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(180px, 1fr));
  gap: 10px;
  margin: -6px 0 16px;
}

.decision-authority-lanes.is-unified {
  display: block;
}

.decision-authority-lanes.is-unified .decision-authority-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 11px 14px;
}

.decision-authority-lanes.is-unified .decision-authority-current strong,
.decision-authority-lanes.is-unified .decision-authority-current small {
  margin-top: 0;
}

.decision-authority-current,
.decision-authority-lane {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dbe6e4;
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.decision-authority-current {
  border-color: #b9dcd5;
  background: #f1faf7;
}

.decision-authority-current span,
.decision-authority-lane span,
.decision-authority-current strong,
.decision-authority-lane strong,
.decision-authority-current small,
.decision-authority-lane small { display: block; }

.decision-authority-current span,
.decision-authority-lane span {
  color: #63777c;
  font-size: 10px;
  font-weight: 850;
}

.decision-authority-current strong,
.decision-authority-lane strong {
  margin-top: 3px;
  color: #17383e;
  font-size: 13px;
  line-height: 1.35;
}

.decision-authority-current small,
.decision-authority-lane small {
  margin-top: 3px;
  color: #718287;
  font-size: 9.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.decision-authority-lane {
  appearance: none;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.decision-authority-lane:not(:disabled):hover { border-color: #74bbae; transform: translateY(-1px); }
.decision-authority-lane[aria-pressed="true"] { border-color: #15927c; background: #eef9f6; box-shadow: inset 3px 0 0 #15927c; }
.decision-authority-lane:disabled { cursor: default; opacity: 0.58; }

@media (max-width: 900px) {
  .decision-authority-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-authority-current { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .decision-authority-lanes { grid-template-columns: 1fr; }
  .decision-authority-current { grid-column: auto; }
  .decision-authority-lanes.is-unified .decision-authority-current {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.decision-effect-panel { grid-column: 1 / -1; }
.decision-effect-panel .decision-body { margin-top: 0; }

@media (max-width: 1120px) { .decision-grid { grid-template-columns: 1fr; } }

.decision-block { margin-bottom: 16px; }

.decision-block h3 { margin: 0 0 12px; font-size: 16px; }

.decision-body { font-size: 14px; }

.decision-verdict { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-bottom: 12px; }

.decision-verdict strong { font-size: 26px; font-weight: 900; }

.decision-verdict span { font-size: 14px; opacity: 0.85; }

.decision-verdict.dv-green { background: #eaf6ef; color: #0f8f59; }

.decision-verdict.dv-yellow { background: #fbf6e6; color: #8a6d00; }

.decision-verdict.dv-red { background: #fdecef; color: #c02748; }

.decision-facts { display: flex; flex-wrap: wrap; gap: 8px; }

.decision-facts span { background: var(--surface-soft, #f2f5f7); padding: 5px 10px; border-radius: 8px; font-size: 13px; }

.market-layer-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 12px;
}

.market-layer-card {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fafb;
}

.market-layer-card > span,
.market-layer-card > strong,
.market-layer-card > small {
  display: block;
}

.market-layer-card > span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.market-layer-card > strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.market-layer-card > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.market-layer-card.has-references { grid-column: 1 / -1; }

.market-layer-references {
  display: grid;
  gap: 7px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(113, 129, 139, 0.24);
}

.market-layer-reference-group {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}

.market-layer-reference-group > span {
  color: #65727a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.market-layer-reference-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.market-layer-reference-group > div > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.market-layer-stock-ref {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid rgba(113, 129, 139, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.25;
}

.market-layer-stock-ref b {
  color: var(--ink);
  font-weight: 800;
}

.market-layer-stock-ref em {
  color: var(--muted);
  font-style: normal;
}

.market-layer-stock-ref i {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.market-layer-stock-ref i.is-up { color: #bd3047; }
.market-layer-stock-ref i.is-down { color: #168665; }
.market-layer-reference-group[data-tone="bad"] > span { color: #a43b49; }
.market-layer-reference-group[data-tone="good"] > span { color: #14745f; }

.market-layer-card.is-quality { grid-column: 1 / -1; }

.market-layer-card[data-tone="good"] {
  border-color: rgba(15, 143, 89, 0.28);
  background: rgba(15, 143, 89, 0.055);
}

.market-layer-card[data-tone="warn"] {
  border-color: rgba(196, 122, 22, 0.32);
  background: rgba(196, 122, 22, 0.07);
}

.market-layer-card[data-tone="bad"] {
  border-color: rgba(178, 58, 58, 0.3);
  background: rgba(178, 58, 58, 0.065);
}

.market-layer-card[data-tone="good"] > strong { color: var(--good); }
.market-layer-card[data-tone="warn"] > strong { color: #8a6208; }
.market-layer-card[data-tone="bad"] > strong { color: var(--bad); }

@media (max-width: 620px) {
  .market-layer-board { grid-template-columns: 1fr; }
  .market-layer-card.has-references,
  .market-layer-card.is-quality { grid-column: auto; }
  .market-layer-reference-group { grid-template-columns: 1fr; gap: 4px; }
}

.effect-attribution-board {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(10, 122, 111, 0.07), transparent 34%),
    #fbfcfd;
}

.effect-attribution-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.effect-attribution-head > div:first-child > span,
.effect-map-column > header > span {
  color: #087b70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.effect-attribution-head h4 {
  margin: 4px 0 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.effect-attribution-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.effect-structure-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 44%;
}

.effect-structure-tags span {
  padding: 6px 9px;
  border: 1px solid #d7e4e2;
  border-radius: 999px;
  background: #eff8f6;
  color: #176c64;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.effect-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.effect-proof-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid #dce3e7;
  border-radius: 10px;
  background: #fff;
}

.effect-proof-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 7px;
}

.effect-proof-card > div span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.effect-proof-card > div b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.effect-proof-card ul,
.effect-counterevidence ul,
.effect-validation-grid ul {
  margin: 0;
  padding-left: 17px;
}

.effect-proof-card li,
.effect-counterevidence li,
.effect-validation-grid li {
  margin: 3px 0;
  color: #59656d;
  font-size: 11px;
  line-height: 1.5;
}

.effect-proof-card[data-tone="good"] { border-color: rgba(15, 143, 89, 0.3); background: rgba(15, 143, 89, 0.045); }
.effect-proof-card[data-tone="warn"] { border-color: rgba(196, 122, 22, 0.32); background: rgba(196, 122, 22, 0.055); }
.effect-proof-card[data-tone="bad"] { border-color: rgba(178, 58, 58, 0.3); background: rgba(178, 58, 58, 0.05); }

.effect-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.effect-map-column {
  min-width: 0;
  padding: 11px;
  border: 1px solid #dce3e7;
  border-radius: 11px;
  background: #fff;
}

.effect-map-column.is-profit { border-top: 3px solid #168b73; }
.effect-map-column.is-loss { border-top: 3px solid #c94a52; }

.effect-map-column > header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 9px;
}

.effect-map-column > header strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.effect-cause-group {
  margin-top: 7px;
  border: 1px solid #e1e6e9;
  border-radius: 9px;
  overflow: hidden;
  background: #fbfcfc;
}

.effect-cause-group > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}

.effect-cause-group > summary::-webkit-details-marker { display: none; }

.effect-cause-group > summary span {
  min-width: 0;
}

.effect-cause-group > summary strong,
.effect-cause-group > summary small {
  display: block;
}

.effect-cause-group > summary strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.effect-cause-group > summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.effect-cause-group > summary b {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eef2f4;
  color: #65717a;
  font-size: 10px;
  white-space: nowrap;
}

.effect-cause-group[data-tone="good"] > summary b { background: #e3f4ed; color: #0e7e59; }
.effect-cause-group[data-tone="warn"] > summary b { background: #fbefd2; color: #8a6208; }
.effect-cause-group[data-tone="bad"] > summary b { background: #fde6e8; color: #ad3040; }

.effect-cause-content {
  padding: 0 10px 10px;
}

.effect-stock-row,
.effect-direction-row {
  margin-top: 7px;
  padding: 9px;
  border: 1px solid #e4e9eb;
  border-radius: 8px;
  background: #fff;
}

.effect-stock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.effect-stock-head > div strong,
.effect-stock-head > div span {
  display: block;
}

.effect-stock-head > div strong {
  color: var(--ink);
  font-size: 12px;
}

.effect-stock-head > div span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.effect-stock-head > b {
  font-size: 12px;
  white-space: nowrap;
}

.effect-stock-head > b.is-up { color: #b3283a; }
.effect-stock-head > b.is-down { color: #14805e; }

.effect-stock-row p,
.effect-empty {
  margin: 6px 0 0;
  color: #66727a;
  font-size: 10px;
  line-height: 1.5;
}

.effect-direction-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.effect-direction-row strong { color: var(--ink); font-size: 11px; }
.effect-direction-row span { color: var(--muted); font-size: 10px; line-height: 1.45; }

.effect-counterevidence {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #edc6a8;
  border-left: 4px solid #d2732d;
  border-radius: 9px;
  background: #fff8ee;
}

.effect-counterevidence > strong {
  color: #934b15;
  font-size: 12px;
}

.effect-validation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.effect-validation-grid > section {
  padding: 11px 12px;
  border: 1px solid #dce3e7;
  border-radius: 9px;
  background: #fff;
}

.effect-validation-grid > section:first-child { border-left: 4px solid #168b73; }
.effect-validation-grid > section:last-child { border-left: 4px solid #c94a52; }

.effect-validation-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
}

@media (max-width: 1000px) {
  .effect-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .effect-attribution-board { padding: 12px; }
  .effect-attribution-head { flex-direction: column; gap: 10px; }
  .effect-structure-tags { justify-content: flex-start; max-width: none; }
  .effect-proof-grid,
  .effect-map-grid,
  .effect-validation-grid { grid-template-columns: 1fr; }
  .effect-attribution-head h4 { font-size: 16px; }
}

.decision-note { color: #7a828c; font-size: 13px; margin: 6px 0; }

.decision-picks-note { font-weight: 800; color: #8a6d00; }

.decision-execution-gate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d66b2c;
  border-left: 5px solid #c65315;
  border-radius: 9px;
  background: #fff5ea;
  color: #7a3511;
}

.decision-execution-gate strong { font-size: 14px; }
.decision-execution-gate span { font-size: 13px; }

.core-watch-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.core-watch-summary span { background: var(--surface-soft, #f2f5f7); padding: 5px 10px; border-radius: 8px; font-size: 12px; color: #56616c; }
.core-watch-summary b { color: #1f2933; }
.core-watch-group { margin-top: 14px; }
.core-watch-group + .core-watch-group { margin-top: 18px; }
.core-watch-section-title { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #1f2933; }
.core-watch-table-wrap { overflow: auto; }
.core-watch-table { width: 100%; min-width: 960px; border-collapse: collapse; }
.core-watch-table th, .core-watch-table td { padding: 10px 8px; border-bottom: 1px solid #e3e8ec; text-align: left; vertical-align: top; font-size: 12px; }

.core-watch-table th { position: sticky; top: 0; z-index: 1; background: #f7fafc; color: #5f6b77; font-weight: 700; }

.core-watch-table td strong { display: block; font-size: 15px; }

.core-watch-table td small { display: block; margin-top: 2px; color: #7a828c; line-height: 1.45; }

.core-watch-role-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.core-watch-status { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }

.core-watch-status.today { background: #e9f6ef; color: #107f4f; }

.core-watch-status.watch { background: #eef3f6; color: #5d6874; }

.core-watch-status.stale { background: #f7efe3; color: #946200; }

.core-watch-history { display: flex; flex-wrap: wrap; gap: 6px; }

.core-watch-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: #eef3f6; font-size: 11px; color: #5d6874; }

.core-watch-chip b { color: #1f2933; }

.core-watch-reason { font-size: 12px; line-height: 1.45; }

.core-watch-card { border-color: #c9d9f2; background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%); }

.decision-topic { padding: 10px 0; border-bottom: 1px dashed #e3e8ec; }

.decision-topic:last-child { border-bottom: none; }

.decision-topic-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.decision-topic-head strong { font-size: 15px; }

.decision-topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.decision-topic-tags span { background: #eef3f6; padding: 3px 9px; border-radius: 6px; font-size: 12px; }

.decision-topic-sync-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #6d7d85;
}

.decision-topic-sync-note span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 154, 139, 0.09);
  color: #147d72;
  font-size: 11px;
  font-weight: 800;
}

.decision-topic-sync-note small { font-size: 11px; }

.decision-topic-rich { padding: 16px 0 18px; }

.decision-topic-rich .decision-topic-head { align-items: flex-start; }

.decision-topic-rich .decision-topic-head > div { min-width: 0; }

.decision-topic-rich .decision-topic-head p {
  margin: 4px 0 0;
  color: #73808a;
  font-size: 12px;
  line-height: 1.55;
}

.decision-topic-metrics { margin-top: 9px; }

.decision-topic-subthemes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}

.decision-topic-subthemes b {
  margin-right: 2px;
  color: #62717a;
  font-size: 11px;
}

.decision-topic-subthemes span {
  padding: 2px 7px;
  border: 1px solid #e1e8eb;
  border-radius: 999px;
  background: #f7f9fa;
  color: #6c7881;
  font-size: 10px;
}

.decision-topic-role-grid { margin-top: 12px; }

.decision-topic-rich .theme-role-column { background: #f7f9fa; }

@media (max-width: 640px) {
  .decision-topic-sync-note,
  .decision-topic-head { align-items: flex-start; flex-direction: column; }

  .decision-topic-rich .topic-label { align-self: flex-start; }
}

.decision-pick { border: 1px solid #e3e8ec; border-radius: 14px; padding: 16px; margin-top: 14px; }

.decision-pick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }

.decision-pick-head strong { font-size: 20px; }

.decision-pick-head small { display: block; color: #7a828c; margin-top: 2px; }

.decision-pick-badges { display: flex; align-items: center; gap: 8px; }

.decision-why { margin: 10px 0; padding-left: 18px; }

.decision-why li { margin: 3px 0; font-size: 13px; }

.decision-trade { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 900px) { .decision-trade { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  .market-buy-gate-head { align-items: flex-start; flex-direction: column; }
  .market-buy-gate-rules,
  .market-buy-gate-confirm { grid-template-columns: 1fr; }
}

.decision-trade p { margin: 4px 0; font-size: 13px; }

.decision-trade small { color: #8a919b; font-size: 12px; display: block; margin-top: 4px; }

.dt-label { display: inline-block; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 6px; margin-bottom: 6px; }

.dt-buy { background: #eaf6ef; color: #0f8f59; }

.decision-price-audit {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  padding: 7px 10px;
  border: 1px solid #b9dcc8;
  border-radius: 8px;
  background: #f1faf5;
  color: #0f754a;
  font-size: 11.5px;
}

.decision-price-audit strong { font-size: 12px; }
.decision-price-audit span { color: #4f665a; }
.decision-price-audit.is-warn { border-color: #e5b9b9; background: #fff3f3; color: #a13030; }
.decision-price-audit.is-warn span { color: #8a4b4b; }

.market-buy-gate {
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid #e7d79a;
  border-left: 5px solid #d49a1d;
  border-radius: 10px;
  background: #fffaf0;
}

.market-buy-gate.is-green { border-color: #b9dcc8; border-left-color: #0f8f59; background: #f3faf6; }
.market-buy-gate.is-red { border-color: #e7c0c0; border-left-color: #b23a3a; background: #fff5f5; }

.market-buy-gate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(96, 112, 125, 0.15);
}

.market-buy-gate-head > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.market-buy-gate-head span { color: #8a6d00; font-size: 11px; font-weight: 900; }
.market-buy-gate-head strong { color: #3d3421; font-size: 15px; }
.market-buy-gate-head > b { padding: 4px 9px; border-radius: 999px; background: #f2e2ad; color: #785b08; font-size: 12px; white-space: nowrap; }
.market-buy-gate.is-green .market-buy-gate-head span,
.market-buy-gate.is-green .market-buy-gate-head strong { color: #0f754a; }
.market-buy-gate.is-green .market-buy-gate-head > b { background: #dcefe4; color: #0f754a; }
.market-buy-gate.is-red .market-buy-gate-head span,
.market-buy-gate.is-red .market-buy-gate-head strong { color: #9d3030; }
.market-buy-gate.is-red .market-buy-gate-head > b { background: #f4dada; color: #9d3030; }

.decision-body .market-buy-gate-base { display: flex; align-items: center; gap: 9px; margin: 9px 0; }
.market-buy-gate-base span { padding: 2px 7px; border-radius: 999px; background: rgba(196, 122, 22, 0.11); color: #8a6d00; font-size: 11px; font-weight: 900; }
.market-buy-gate-base strong { color: #263947; font-size: 13px; }

.market-buy-gate-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.market-buy-gate-rules > div { padding: 8px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.72); }
.market-buy-gate-rules b { font-size: 12px; }
.market-buy-gate-rules .is-allow b { color: #0f754a; }
.market-buy-gate-rules .is-block b { color: #a13d2e; }
.market-buy-gate-rules ul { margin: 4px 0 0; padding-left: 17px; color: #505d67; font-size: 11.5px; line-height: 1.5; }

.market-buy-gate-confirm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.decision-body .market-buy-gate-confirm p { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px; margin: 0; padding: 7px 9px; border: 1px dashed rgba(96, 112, 125, 0.3); border-radius: 7px; background: rgba(255, 255, 255, 0.58); }
.market-buy-gate-confirm b { color: #255b91; font-size: 11px; }
.market-buy-gate-confirm span { color: #57606a; font-size: 11px; line-height: 1.45; }
.decision-body .market-buy-gate-invalid { margin: 8px 0 0; color: #9b3d27; font-size: 11.5px; line-height: 1.5; }

.buy-entry-gate { margin: 0 0 10px; padding: 10px; border: 1px solid #e7d79a; border-left: 4px solid #c89a1b; border-radius: 9px; background: #fffaf0; color: #4f4a3f; }

.buy-entry-gate-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }

.buy-entry-gate-head strong { color: #4c3a08; font-size: 13px; }

.buy-entry-gate-head span { padding: 2px 7px; border-radius: 999px; background: #f4e6b3; color: #785b08; font-size: 11px; font-weight: 800; }

.decision-trade .buy-entry-prior { margin: 0 0 7px; color: #68520f; font-size: 12px; line-height: 1.5; }

.buy-entry-timeline { display: grid; gap: 5px; }

.buy-entry-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 7px; padding: 6px 7px; border: 1px solid #eadfba; border-radius: 7px; background: rgba(255, 255, 255, 0.72); }

.buy-entry-step > b { align-self: start; padding: 3px 4px; border-radius: 5px; background: #f3ead0; color: #785b08; font-size: 11px; line-height: 1.25; text-align: center; }

.buy-entry-step strong { display: block; color: #34424d; font-size: 12px; line-height: 1.4; }

.decision-trade .buy-entry-step small { margin-top: 3px; color: #606a73; font-size: 11.5px; line-height: 1.45; }

.buy-entry-step.is-trigger { border-color: #b9dcc8; background: #f3faf6; }

.buy-entry-step.is-trigger > b { background: #dcefe4; color: #137348; }

.buy-entry-step.is-add { border-color: #bcd2e7; background: #f4f8fc; }

.buy-entry-step.is-add > b { background: #dfeaf5; color: #255b91; }

.buy-entry-step.is-review { border-style: dashed; }

.decision-trade .buy-entry-auction { margin: 3px 0; padding-left: 16px; }

.decision-trade .buy-entry-auction li { margin: 1px 0; font-size: 11.5px; line-height: 1.4; }

.decision-trade .buy-entry-invalid { margin: 5px 0 0; padding-top: 5px; border-top: 1px dashed #ddc979; color: #9b3d27; font-size: 11.5px; }

.dt-sell { background: #fdecef; color: #c02748; }

.decision-auction { margin: 6px 0; padding-left: 16px; }

.decision-auction li { font-size: 12.5px; margin: 2px 0; }



/* ===== 活口观察：分歧日板块活口 ===== */

.survivor-panel .decision-note { margin-top: 4px; }

#survivorEnv { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #eef3f6; color: #57606a; }

#survivorEnv.survivor-env-hot { background: #fdecef; color: #c02748; }

.survivor-list { margin-top: 10px; }

.survivor-card { border: 1px solid #e3e8ec; border-radius: 12px; padding: 14px 16px; margin-top: 12px; }

.survivor-card.survivor-limit { border-color: #f0b7c3; background: #fffafb; }

.survivor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }

.survivor-head strong { font-size: 17px; }

.survivor-head small { display: block; color: #7a828c; margin-top: 2px; }

.survivor-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.survivor-tag { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: #eef3f6; color: #57606a; }

.survivor-tag.st-limit { background: #fdecef; color: #c02748; font-weight: 800; }

.survivor-tag.st-warn { background: #fbf6e6; color: #8a6d00; font-weight: 700; }

.survivor-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 6px; font-size: 13px; }

.survivor-metrics b.up { color: #c02748; }

.survivor-metrics b.down { color: #0f8f59; }

.survivor-reason { font-size: 13px; color: #57606a; margin: 4px 0 0; }



/* ===== 卖出方案：持仓收盘复盘 ===== */
.sell-advisor-layout {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

.sell-advisor-form,
.sell-advisor-holdings,
.sell-advisor-report {
  display: grid;
  gap: 12px;
}

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

.sell-advisor-grid label,
.sell-advisor-note {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.sell-advisor-grid input,
.sell-advisor-grid select,
.sell-advisor-grid textarea,
.sell-advisor-note textarea {
  width: 100%;
}

.sell-advisor-holdings-list,
.sell-advisor-report-list {
  display: grid;
  gap: 12px;
}

.sell-advisor-holding,
.sell-advisor-report-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
}

.sell-advisor-holding.hold { border-left: 4px solid #0f8f59; }
.sell-advisor-holding.trim { border-left: 4px solid #8a6d00; }
.sell-advisor-holding.exit,
.sell-advisor-holding.hard-exit { border-left: 4px solid #c02748; }

.sell-advisor-report-card.hold { border-left: 4px solid #0f8f59; }
.sell-advisor-report-card.trim { border-left: 4px solid #8a6d00; }
.sell-advisor-report-card.exit,
.sell-advisor-report-card.hard-exit { border-left: 4px solid #c02748; }

.sell-advisor-holding-head,
.sell-advisor-report-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.sell-advisor-holding-head strong,
.sell-advisor-report-head strong {
  display: block;
  font-size: 16px;
}

.sell-advisor-holding-head span,
.sell-advisor-report-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sell-advisor-action {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sell-advisor-holding .sell-advisor-action,
.sell-advisor-report-card .sell-advisor-action {
  background: #eef3f6;
  color: #57606a;
}

.sell-advisor-holding.hold .sell-advisor-action,
.sell-advisor-report-card.hold .sell-advisor-action { background: #eaf6ef; color: #0f8f59; }
.sell-advisor-holding.trim .sell-advisor-action,
.sell-advisor-report-card.trim .sell-advisor-action { background: #fbf6e6; color: #8a6d00; }
.sell-advisor-holding.exit .sell-advisor-action,
.sell-advisor-holding.hard-exit .sell-advisor-action,
.sell-advisor-report-card.exit .sell-advisor-action,
.sell-advisor-report-card.hard-exit .sell-advisor-action { background: #fdecef; color: #c02748; }

.sell-advisor-diagnosis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dbe5e9;
  border-radius: 10px;
  background: #f6fafb;
}

.sell-advisor-diagnosis.hold { border-color: #b9ddca; background: #eff8f3; }
.sell-advisor-diagnosis.trim { border-color: #e5d38e; background: #fff9e8; }
.sell-advisor-diagnosis.exit,
.sell-advisor-diagnosis.hard-exit { border-color: #efb7c3; background: #fff2f4; }

.sell-advisor-diagnosis > div > span,
.sell-advisor-layer > span,
.sell-advisor-reference-grid span,
.sell-advisor-rule-columns span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sell-advisor-diagnosis > div > strong {
  display: block;
  margin-top: 5px;
  color: #17232c;
  font-size: 16px;
}

.sell-advisor-diagnosis p,
.sell-advisor-layer p,
.sell-advisor-reference-grid p,
.sell-advisor-weak-rule p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.sell-advisor-execution-result {
  padding-left: 12px;
  border-left: 1px dashed #bdcbd1;
}

.sell-advisor-weak-rule {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e4d8a7;
  border-radius: 10px;
  background: #fffdf5;
}

.sell-advisor-weak-rule > strong {
  display: block;
  color: #694f00;
  font-size: 15px;
}

.sell-advisor-rule-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sell-advisor-rule-columns > div {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.sell-advisor-rule-columns ul {
  margin: 7px 0 0;
  padding-left: 18px;
  color: #36444e;
  font-size: 12px;
  line-height: 1.65;
}

.sell-advisor-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.sell-advisor-layer,
.sell-advisor-reference-grid > div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.sell-advisor-layer.support { border-color: #b9ddca; background: #f3faf6; }
.sell-advisor-layer.weak,
.sell-advisor-layer.panic { border-color: #efb7c3; background: #fff4f5; }
.sell-advisor-layer.data-boundary { border-style: dashed; background: #f7f9fa; }

.sell-advisor-layer strong,
.sell-advisor-reference-grid strong {
  display: block;
  margin-top: 6px;
  color: #1f2933;
  font-size: 13px;
}

.sell-advisor-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.sell-advisor-holding-facts,
.sell-advisor-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sell-advisor-holding-facts {
  margin-top: 10px;
}

.sell-advisor-holding-facts span {
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 800;
}

.sell-advisor-holding-facts b {
  color: #1f2933;
}

.sell-advisor-mini {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.sell-advisor-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.sell-advisor-factor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.sell-advisor-factor span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.sell-advisor-factor strong {
  display: block;
  margin-top: 6px;
}

.sell-advisor-factor p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.sell-advisor-chain {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.sell-advisor-chain-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
}

.sell-advisor-chain-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #1f2933;
}

.sell-advisor-chain-head span {
  color: var(--muted);
  font-size: 12px;
}

.sell-advisor-chain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sell-advisor-chain-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.sell-advisor-chain-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #1f2933;
  font-size: 12px;
}

.sell-advisor-chain-step strong {
  display: block;
  font-size: 13px;
  color: #1f2933;
}

.sell-advisor-chain-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.sell-advisor-chain-step p span {
  color: #1f2933;
  font-weight: 800;
}

.sell-advisor-summary {
  margin-top: 12px;
}

.sell-advisor-summary p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sell-advisor-summary p + p {
  margin-top: 6px;
}

.sell-advisor-full-text {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.sell-advisor-full-text summary {
  color: #43515c;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sell-advisor-full-text[open] summary { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .sell-advisor-layer-grid,
  .sell-advisor-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sell-advisor-diagnosis,
  .sell-advisor-rule-columns,
  .sell-advisor-layer-grid,
  .sell-advisor-reference-grid { grid-template-columns: 1fr; }

  .sell-advisor-execution-result {
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px dashed #bdcbd1;
  }
}

/* ===== 交易日志 + 盘后归档 ===== */
.journal-stats-panel { margin-bottom: 16px; }
.journal-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 12px 0; }

.journal-stats-grid div { background: var(--surface-soft, #f2f5f7); border-radius: 10px; padding: 10px 12px; }

.journal-stats-grid span { display: block; font-size: 12px; color: #7a828c; }

.journal-stats-grid strong { font-size: 18px; }

.journal-exit-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.journal-exit-table th, .journal-exit-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #e9edf1; }

.journal-exit-table tr.exit-losing td { color: #c02748; }

.journal-exit-table tr.exit-winning td:last-child { color: #0f8f59; }

.journal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

@media (max-width: 960px) { .journal-layout { grid-template-columns: 1fr; } }

.journal-form h3 { margin: 0 0 12px; }

.journal-form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }

@media (max-width: 700px) { .journal-form-grid { grid-template-columns: 1fr 1fr; } }

.journal-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #57606a; margin-bottom: 8px; }

.journal-form input, .journal-form select { padding: 8px 10px; border: 1px solid #dfe5ea; border-radius: 8px; font-size: 13.5px; }

.journal-form .journal-check { flex-direction: row; align-items: center; gap: 6px; margin-top: 18px; }

.journal-trade-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px dashed #e3e8ec; font-size: 13px; }

.journal-trade-row .jt-main small { color: #7a828c; margin-left: 6px; }

.journal-trade-row .jt-pnl { font-weight: 800; font-size: 15px; }

.journal-trade-row.trade-win .jt-pnl { color: #c02748; }

.journal-trade-row.trade-loss .jt-pnl { color: #0f8f59; }

.journal-trade-row .jt-detail { color: #7a828c; }

.journal-trade-row .jt-exit { color: #57606a; text-align: right; }

.archive-index { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

.archive-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; text-align: left; padding: 10px 14px; border: 1px solid #e3e8ec; border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; }

.archive-row:hover { border-color: #b9c6d0; }

.archive-row span { color: #57606a; }

.archive-report { margin-top: 12px; padding: 14px; background: #f7f9fa; border-radius: 10px; white-space: pre-wrap; font-size: 12.5px; max-height: 480px; overflow: auto; }



/* ===== 纪律偏离度 ===== */

.journal-sub-title { margin: 18px 0 8px; font-size: 14px; }

.journal-exit-table tr.adh-followed td:first-child { color: #0f8f59; font-weight: 700; }

.journal-exit-table tr.adh-deviated td:first-child { color: #c02748; font-weight: 700; }

.journal-exit-table tr.adh-no_plan td:first-child { color: #8a6d00; font-weight: 700; }

.jt-adh { font-size: 11px; padding: 2px 6px; border-radius: 5px; margin-left: 6px; background: #eef3f6; }

.jt-adh-followed { background: #eaf6ef; color: #0f8f59; }

.jt-adh-deviated { background: #fdecef; color: #c02748; }

.jt-adh-no_plan { background: #fbf6e6; color: #8a6d00; }



/* ===== 明日可能预期 ===== */

.outlook-panel { margin-bottom: 16px; display: grid; gap: 12px; }

.outlook-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }

.outlook-head-text { min-width: 0; flex: 1; }

.outlook-kicker { margin: 0; font-size: 12px; font-weight: 800; color: #8a6d00; letter-spacing: 0; }

.outlook-title { margin: 4px 0 0; font-size: 20px; line-height: 1.35; font-weight: 900; color: #1f2d3d; }

.outlook-subline { margin: 0; font-size: 13px; line-height: 1.6; color: #43505b; }

.outlook-basisline { margin: 0; padding: 10px 12px; border: 1px solid #e3e8ec; border-left: 4px solid #c47a16; border-radius: 10px; background: #fffaf1; color: #5b4a16; font-size: 13px; line-height: 1.6; }

.outlook-core-box { display: grid; gap: 8px; }

.outlook-core-label { display: inline-flex; width: fit-content; padding: 2px 8px; border-radius: 999px; background: #eef3f6; color: #57606a; font-size: 12px; font-weight: 800; }

.outlook-core-stocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }

.outlook-core-stock { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid #dfe5ea; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(15, 29, 41, 0.04); }

.outlook-core-stock em { font-style: normal; font-size: 11px; font-weight: 800; color: #57606a; }

.outlook-core-stock strong { font-size: 14px; line-height: 1.4; color: #1f2d3d; overflow-wrap: anywhere; }

.outlook-core-box.is-empty { border: 1px dashed #d8e0e6; border-radius: 10px; padding: 10px 12px; background: #f8fafb; }

.outlook-core-empty { display: flex; flex-direction: column; gap: 3px; color: #57606a; }

.outlook-core-empty strong { font-size: 13px; color: #34404b; }

.outlook-core-empty small { font-size: 11px; line-height: 1.5; color: #7a8792; }

.decision-plan-without-ticket { display: grid; gap: 12px; padding: 14px; border: 1px solid #dfe7e7; border-radius: 12px; background: linear-gradient(135deg, #f5faf9, #fff); }

.decision-stock-answer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }

.decision-stock-answer { display: grid; gap: 9px; padding: 14px; border: 1px solid #dce5e7; border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(28, 57, 64, 0.04); }

.decision-stock-answer header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }

.decision-stock-answer header strong { color: #17323d; font-size: 16px; line-height: 1.35; }

.decision-stock-answer header span { color: #5b6d75; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

.decision-stock-answer header small { flex-basis: 100%; color: #0a7b70; font-size: 11px; font-weight: 700; }

.decision-stock-answer p { margin: 0; color: #5c6c74; font-size: 12px; line-height: 1.65; }

.decision-stock-answer p b { color: #243b44; }

.decision-plan-summary { display: grid; gap: 5px; padding-top: 11px; border-top: 1px dashed #d5e0e2; }

.decision-plan-summary > span { color: #087c70; font-size: 11px; font-weight: 800; }

.decision-plan-summary > strong { color: #263a43; font-size: 13px; line-height: 1.6; }

.decision-plan-summary > p { margin: 0; color: #6b7980; font-size: 11px; line-height: 1.6; }

.decision-no-core { display: block; padding: 10px 12px; border-radius: 8px; background: #f1f4f6; color: #697680; font-size: 12px; }

.decision-no-entry { display: grid; gap: 5px; padding: 16px; border: 1px solid #d9e2e4; border-left: 4px solid #7d8b92; border-radius: 11px; background: #fff; }

.decision-no-entry b { color: #243b44; font-size: 17px; line-height: 1.35; }

.decision-no-entry p { margin: 0; color: #66757d; font-size: 12px; line-height: 1.6; }

.decision-execution-watch { display: grid; gap: 10px; padding: 13px; border: 1px solid #e2e7e8; border-radius: 12px; background: #fff; }

.decision-execution-watch > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.decision-execution-watch > header > div { display: grid; gap: 3px; }

.decision-execution-watch > header strong { color: #253a43; font-size: 14px; }

.decision-execution-watch > header span { color: #748188; font-size: 11px; line-height: 1.5; }

.decision-execution-watch > header > b { padding: 3px 8px; border-radius: 999px; font-size: 11px; white-space: nowrap; }

.decision-execution-watch.is-premium { border-left: 4px solid #d58b1c; background: #fffaf1; }

.decision-execution-watch.is-premium > header > b { background: #f8e7bd; color: #805b00; }

.decision-execution-watch.is-risk { border-left: 4px solid #cc4a57; background: #fff7f7; }

.decision-execution-watch.is-risk > header > b { background: #f9dfe2; color: #a52d3e; }

.decision-execution-watch-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 9px; }

.decision-execution-watch-list article { display: grid; gap: 5px; padding: 11px 12px; border: 1px solid rgba(99, 115, 123, 0.18); border-radius: 10px; background: rgba(255, 255, 255, 0.82); }

.decision-execution-watch-list article > div { display: flex; align-items: baseline; gap: 7px; }

.decision-execution-watch-list article strong { color: #243941; font-size: 14px; }

.decision-execution-watch-list article span,
.decision-execution-watch-list article small { color: #758188; font-size: 11px; }

.decision-execution-watch-list article p { margin: 0; color: #53646c; font-size: 11.5px; line-height: 1.55; }

.decision-execution-watch-list article p b { color: #283f47; }

.decision-execution-watch-list article ul { margin: 0; padding-left: 17px; color: #69777e; font-size: 11px; line-height: 1.5; }

.tomorrow-path-board { display: grid; gap: 14px; font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif; }

.tomorrow-path-board-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 4px 2px 12px; border-bottom: 1px solid #dce6e7; }

.tomorrow-path-board-head > div { display: grid; gap: 4px; }

.tomorrow-path-board-head span { color: #087c70; font-size: 11px; font-weight: 900; letter-spacing: .08em; }

.tomorrow-path-board-head strong { color: #162f39; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }

.tomorrow-path-board-head p { margin: 0; color: #6a7a81; font-size: 12px; line-height: 1.55; }

.tomorrow-path-board-head > b { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #e9f5f2; color: #0a766b; font-size: 11px; white-space: nowrap; }

.tomorrow-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }

.tomorrow-path-card { --path-accent: #0b8a78; --path-soft: #edf8f5; position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 11px; min-width: 0; padding: 15px; overflow: hidden; border: 1px solid #dbe6e6; border-top: 4px solid var(--path-accent); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(26, 55, 61, .055); }

.tomorrow-path-card.is-rotation { --path-accent: #c17a14; --path-soft: #fff7e8; }

.tomorrow-path-card.is-weakRepair { --path-accent: #4779a8; --path-soft: #eff6fc; }

.tomorrow-path-card.is-empty { filter: saturate(.72); background: #fafcfc; }

.tomorrow-path-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.tomorrow-path-card-head > span { display: inline-flex; align-items: center; gap: 7px; color: #304750; font-size: 12px; font-weight: 850; white-space: nowrap; }

.tomorrow-path-card-head > span b { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border-radius: 8px; background: var(--path-accent); color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }

.tomorrow-path-card-head > em { padding: 4px 8px; border-radius: 999px; background: var(--path-soft); color: var(--path-accent); font-size: 10px; font-style: normal; font-weight: 850; white-space: nowrap; }

.tomorrow-path-condition { display: grid; gap: 4px; padding: 11px 12px; border-radius: 11px; background: var(--path-soft); }

.tomorrow-path-condition small { color: var(--path-accent); font-size: 10px; font-weight: 850; }

.tomorrow-path-condition strong { color: #203740; font-size: 14px; line-height: 1.4; }

.tomorrow-path-condition p,
.tomorrow-path-candidate p,
.tomorrow-path-empty p,
.tomorrow-path-action { margin: 0; color: #64757c; font-size: 11px; line-height: 1.55; }

.tomorrow-path-candidate { display: grid; gap: 6px; padding-bottom: 10px; border-bottom: 1px dashed #d9e3e4; }

.tomorrow-path-candidate > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }

.tomorrow-path-candidate strong { color: #142e39; font-size: 18px; line-height: 1.25; letter-spacing: -.025em; }

.tomorrow-path-candidate span { color: #6b7b82; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; }

.tomorrow-path-candidate b { margin-left: auto; padding: 3px 8px; border-radius: 7px; background: var(--path-soft); color: var(--path-accent); font-size: 10px; }

.tomorrow-path-plain-rules { display: grid; gap: 9px; align-content: start; }

.tomorrow-path-plain-rules section { display: grid; gap: 5px; padding: 11px 12px; border-radius: 10px; }

.tomorrow-path-plain-rules section.is-buy { border: 1px solid #bfe4d5; background: #f0faf5; }

.tomorrow-path-plain-rules section.is-no-buy { border: 1px solid #f0cbd0; background: #fff5f6; }

.tomorrow-path-plain-rules small { color: #147b5b; font-size: 11px; font-weight: 900; }

.tomorrow-path-plain-rules .is-no-buy small { color: #b23a48; }

.tomorrow-path-plain-rules p { margin: 0; color: #344b54; font-size: 12px; line-height: 1.65; }

.tomorrow-path-details { align-self: end; border-top: 1px solid #e3e9ea; }

.tomorrow-path-details > summary { padding-top: 10px; color: #687980; font-size: 11px; font-weight: 800; cursor: pointer; list-style-position: inside; }

.tomorrow-path-details[open] { display: grid; gap: 9px; }

.tomorrow-path-reason { margin: 0; padding: 8px 10px; border-radius: 8px; background: #f6f8f8; color: #607178; font-size: 11px; line-height: 1.55; }

.tomorrow-path-rules { display: grid; gap: 8px; align-content: start; }

.tomorrow-path-rules section { padding: 9px 10px; border-radius: 9px; background: #f7f9f9; border-left: 3px solid #9aa9ae; }

.tomorrow-path-rules section.is-market { border-left-color: var(--path-accent); }

.tomorrow-path-rules section.is-trigger { border-left-color: #159263; background: #f1faf6; }

.tomorrow-path-rules section.is-cancel { border-left-color: #cc4a57; background: #fff5f6; }

.tomorrow-path-rules small { display: block; margin-bottom: 4px; color: #4c626a; font-size: 10px; font-weight: 900; }

.tomorrow-path-rules ul { margin: 0; padding-left: 16px; color: #50636b; font-size: 10.5px; line-height: 1.5; }

.tomorrow-path-rules p { margin: 0; color: #6b7a80; font-size: 10.5px; line-height: 1.5; }

.tomorrow-path-action { align-self: end; padding-top: 9px; border-top: 1px solid #e3e9ea; color: #4f626a; }

.tomorrow-path-action b { color: var(--path-accent); }

.tomorrow-path-empty { display: grid; place-content: center; gap: 5px; min-height: 145px; padding: 18px; border: 1px dashed #cdd8da; border-radius: 10px; text-align: center; }

.tomorrow-path-empty strong { color: #5c6e75; font-size: 14px; }

.tomorrow-path-observation { border-top: 1px solid #dce5e6; }

.tomorrow-path-observation > summary { padding: 12px 2px 4px; color: #4e646c; font-size: 12px; font-weight: 800; cursor: pointer; list-style-position: inside; }

.tomorrow-path-observation[open] { display: grid; gap: 10px; }

@media (max-width: 760px) {
  .tomorrow-path-board-head { align-items: flex-start; }
  .tomorrow-path-board-head strong { font-size: 16px; }
  .tomorrow-path-board-head > b { padding: 5px 8px; font-size: 10px; }
  .tomorrow-path-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(84vw, 1fr); gap: 10px; margin-right: -14px; padding-right: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .tomorrow-path-card { scroll-snap-align: start; padding: 13px; }
  .tomorrow-path-candidate strong { font-size: 17px; }
}

.tomorrow-entry-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 12px 0; padding: 12px; border: 1px solid #cfe4df; border-radius: 12px; background: linear-gradient(135deg, #f2faf7, #fff); }

.tomorrow-entry-proof-head { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; padding-bottom: 8px; border-bottom: 1px dashed #c9ddd8; }

.tomorrow-entry-proof-head span { color: #0a7b70; font-size: 11px; font-weight: 800; }

.tomorrow-entry-proof-head strong { color: #163b38; font-size: 15px; }

.tomorrow-entry-proof-head b { margin-left: auto; color: #526b68; font-size: 11px; font-weight: 700; }

.tomorrow-entry-proof > div:not(.tomorrow-entry-proof-head) { padding: 9px 10px; border-radius: 9px; background: #fff; }

.tomorrow-entry-proof > div.is-trigger { border-left: 3px solid #0f8f75; }

.tomorrow-entry-proof > div.is-cancel { border-left: 3px solid #cb4654; }

.tomorrow-entry-proof small { display: block; margin-bottom: 4px; color: #61727a; font-size: 11px; font-weight: 800; }

.tomorrow-entry-proof ul { margin: 0; padding-left: 17px; color: #485c64; font-size: 11.5px; line-height: 1.55; }

@media (max-width: 760px) {
  .tomorrow-entry-proof { grid-template-columns: 1fr; }
  .tomorrow-entry-proof-head { grid-column: auto; }
  .tomorrow-entry-proof-head b { flex-basis: 100%; margin-left: 0; }
  .decision-execution-watch-list { grid-template-columns: 1fr; }
}

.outlook-bias { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #eef3f6; color: #57606a; white-space: nowrap; }

.outlook-bias.ob-reflow { background: #eaf6ef; color: #0f8f59; }

.outlook-bias.ob-continue { background: #fdecef; color: #c02748; }

.outlook-bias.ob-even { background: #fbf6e6; color: #8a6d00; }

.outlook-bias.ob-normal { background: #eef3f6; color: #57606a; }

.outlook-anchors { display: flex; flex-wrap: wrap; gap: 8px; }

.outlook-anchor { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid #e3e8ec; border-radius: 10px; background: #f7f9fb; }

.outlook-anchor strong { font-size: 12px; color: #7a828c; }

.outlook-anchor span { font-size: 13px; line-height: 1.45; color: #263947; overflow-wrap: anywhere; }

.outlook-main-scenario { margin-top: 2px; }

.outlook-main-scenario .outlook-scenario { border-width: 1.5px; box-shadow: 0 10px 24px rgba(15, 29, 41, 0.06); }

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

.outlook-scenario { display: grid; gap: 8px; border: 1px solid #e3e8ec; border-radius: 12px; padding: 12px 14px; background: #fff; }

.outlook-scenario.is-primary { border-left: 4px solid #0f8f59; }

.outlook-scenario.is-secondary { border-left: 4px solid #255b91; }

.outlook-scenario.is-risk { border-left: 4px solid #c02748; }

.outlook-scenario strong { font-size: 14px; line-height: 1.45; color: #1f2d3d; }

.outlook-scenario-tag { display: inline-flex; width: fit-content; padding: 2px 8px; border-radius: 999px; background: #eef3f6; color: #57606a; font-size: 12px; font-weight: 800; }

.outlook-scenario.is-primary .outlook-scenario-tag { background: #eaf6ef; color: #0f8f59; }

.outlook-scenario.is-secondary .outlook-scenario-tag { background: #eaf2fb; color: #255b91; }

.outlook-scenario.is-risk .outlook-scenario-tag { background: #fdecef; color: #c02748; }

.outlook-scenario-summary { margin: 0; font-size: 13px; line-height: 1.65; color: #43505b; }

.outlook-scenario-anchors { display: flex; flex-wrap: wrap; gap: 6px; }

.outlook-scenario-anchor { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #f7f9fb; color: #57606a; border: 1px solid #e3e8ec; }

.outlook-verify { margin: 0; padding: 8px 10px; border-radius: 8px; border: 1px solid #e3e8ec; background: #f7f9fb; color: #57606a; font-size: 12.5px; line-height: 1.55; }

.outlook-verify span { display: block; margin-bottom: 4px; font-weight: 800; color: #263947; }

.outlook-verify-targets { margin: 0 0 6px; padding: 6px 8px; border-radius: 6px; background: #eef5fb; color: #255b91; }

.outlook-verify-targets b { color: #173f66; }

.outlook-verify-targets.is-empty { background: #f3f4f6; color: #6b7280; }

.outlook-verify ul { margin: 0; padding-left: 18px; }

.outlook-verify li { margin: 2px 0; }

.outlook-action { margin: 0; font-size: 13px; font-weight: 800; color: #263947; }

.outlook-signal-summary { margin: 0; font-size: 12.5px; line-height: 1.5; color: #57606a; }

.outlook-signals { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }

.outlook-signal { font-size: 12px; line-height: 1.4; padding: 4px 10px; border-radius: 999px; }

.outlook-signal.os-ok { background: #eaf6ef; color: #0f8f59; }

.outlook-signal.os-bad { background: #fdecef; color: #c02748; }

.outlook-signal.os-na { background: #fbf6e6; color: #8a6d00; }

.outlook-panel .decision-note { margin: 0; font-size: 12px; line-height: 1.5; color: #7a828c; }

@media (max-width: 900px) {
  .outlook-scenario-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .outlook-head { flex-direction: column; }
  .outlook-title { font-size: 18px; }
  .outlook-core-stocks { grid-template-columns: 1fr; }
  .outlook-anchors { flex-direction: column; }
}

/* ===== 市场情绪 · 修复质量观察 ===== */
.market-emotion-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.market-emotion-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.market-emotion-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.market-emotion-hero {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-bottom: 14px;
  padding: 24px 28px;
  border: 1px solid #e3e8ec;
  border-left: 6px solid #c47a16;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 68%);
  box-shadow: var(--shadow);
}

.market-emotion-hero.is-green {
  border-left-color: #0f8f59;
  background: linear-gradient(135deg, #eef9f3 0%, #ffffff 68%);
}

.market-emotion-hero.is-red {
  border-left-color: #b23a3a;
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 68%);
}

.market-emotion-hero.is-empty,
.market-emotion-hero.is-neutral {
  border-left-color: #9aa8b3;
  background: #fff;
}

.market-light {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-top: 12px;
  border-radius: 50%;
  background: #f2f4f5;
  border: 1px solid #dbe2e6;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.75);
}

.market-light span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d5dce0;
  box-shadow: 0 0 18px rgba(120, 130, 140, 0.22);
}

.market-emotion-hero.is-yellow .market-light span {
  background: #e5a82c;
  box-shadow: 0 0 24px rgba(229, 168, 44, 0.42);
}

.market-emotion-hero.is-green .market-light span {
  background: #20a66a;
  box-shadow: 0 0 24px rgba(32, 166, 106, 0.38);
}

.market-emotion-hero.is-red .market-light span {
  background: #c94848;
  box-shadow: 0 0 24px rgba(201, 72, 72, 0.38);
}

.market-emotion-kicker {
  margin: 0;
  color: #8a6d00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.market-emotion-hero.is-green .market-emotion-kicker { color: #0f8f59; }
.market-emotion-hero.is-red .market-emotion-kicker { color: #b23a3a; }

.market-emotion-hero-copy { min-width: 0; }

.market-emotion-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-emotion-hero-topline > strong {
  color: #8a6d00;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.market-emotion-hero.is-green .market-emotion-hero-topline > strong { color: #0f8f59; }
.market-emotion-hero.is-red .market-emotion-hero-topline > strong { color: #b23a3a; }
.market-emotion-hero-topline > strong small { margin-left: 2px; font-size: 12px; color: var(--muted); }

.market-emotion-hero h3 {
  margin: 5px 0 6px;
  font-size: 24px;
  line-height: 1.3;
}

.market-emotion-hero p {
  margin: 0;
  color: #43505b;
  font-size: 14px;
  line-height: 1.65;
}

.market-emotion-driver-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.market-emotion-driver {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dfe6ea;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.market-emotion-driver.is-leading {
  border-color: #a9d8c2;
  background: #f1faf5;
}

.market-emotion-driver.is-present,
.market-emotion-driver.is-partial {
  border-color: #ead7a8;
  background: #fffbef;
}

.market-emotion-driver.is-not-leading,
.market-emotion-driver.is-absent {
  border-color: #dfe3e6;
  background: #f7f9fa;
}

.market-emotion-driver header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.market-emotion-driver header span {
  color: #263947;
  font-size: 12px;
  font-weight: 900;
}

.market-emotion-driver header b {
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf1f3;
  color: #66737e;
  font-size: 10px;
  white-space: nowrap;
}

.market-emotion-driver.is-leading header b {
  background: #dff3e9;
  color: #087a49;
}

.market-emotion-driver.is-present header b,
.market-emotion-driver.is-partial header b {
  background: #fff0c7;
  color: #8a6500;
}

.market-emotion-driver > p {
  margin-top: 6px;
  color: #5b6872;
  font-size: 11px;
  line-height: 1.5;
}

.market-emotion-driver-stocks {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.market-emotion-driver-stock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 3px 7px;
  padding: 6px 8px;
  border: 1px solid rgba(207, 217, 223, 0.78);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
}

.market-emotion-driver-stock > span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.market-emotion-driver-stock > span strong {
  overflow: hidden;
  color: #253744;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-emotion-driver-stock > span small {
  color: #8b98a2;
  font-size: 9px;
}

.market-emotion-driver-stock > b {
  color: #c02748;
  font-size: 11px;
}

.market-emotion-driver-stock > em {
  padding: 1px 5px;
  border-radius: 4px;
  background: #eef3f6;
  color: #526572;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.market-emotion-driver-stock > small {
  grid-column: 1 / -1;
  color: #74818a;
  font-size: 9.5px;
  line-height: 1.4;
}

.market-emotion-driver-empty {
  color: #7a8790;
  font-size: 10.5px;
}

.market-emotion-action {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.7fr) minmax(260px, 1.3fr);
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(96, 112, 125, 0.16);
}

.market-emotion-action span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(196, 122, 22, 0.12);
  color: #8a6d00;
  font-size: 11px;
  font-weight: 900;
}

.market-emotion-action b { color: var(--ink); font-size: 14px; }
.market-emotion-action em { color: #57606a; font-size: 13px; font-style: normal; line-height: 1.55; }

.market-emotion-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.market-review-panel { margin-bottom: 14px; }
.market-review-panel .panel-title-row { align-items: flex-start; }
.market-review-panel .panel-title-row h3 { margin-bottom: 4px; }
.market-review-panel .panel-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.market-review-panel .panel-title-row > span { color: #255b91; }

.market-review-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #fff7e4;
  color: #785b08;
}

.market-review-line.is-green { background: #edf8f2; color: #0f754a; }
.market-review-line.is-red { background: #fff0f0; color: #9d3030; }
.market-review-line span { font-size: 11px; font-weight: 900; }
.market-review-line strong { font-size: 14px; }

.market-review-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; margin-top: 10px; }
.market-review-grid > section { min-width: 0; padding: 13px 14px; border: 1px solid #e1e7eb; border-radius: 10px; background: #fbfcfd; }
.market-review-grid h4 { margin: 0 0 9px; color: #263947; font-size: 14px; }

.market-review-facts { display: grid; gap: 7px; }
.market-review-facts p { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; margin: 0; }
.market-review-facts b { color: #255b91; font-size: 11.5px; }
.market-review-facts span { color: #505d67; font-size: 11.5px; line-height: 1.5; }

.market-review-base { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 8px; margin: 0 0 9px; }
.market-review-base b { color: #8a6d00; font-size: 11.5px; }
.market-review-base span { color: #263947; font-size: 12.5px; font-weight: 800; }
.market-review-base em { grid-column: 2; color: #57606a; font-size: 11.5px; font-style: normal; }

.market-review-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.market-review-do-dont > div { padding: 8px 9px; border-radius: 7px; background: #fff; }
.market-review-do-dont strong { font-size: 11.5px; }
.market-review-do-dont .is-do strong { color: #0f754a; }
.market-review-do-dont .is-dont strong { color: #a13d2e; }
.market-review-do-dont ul { margin: 4px 0 0; padding-left: 16px; color: #57606a; font-size: 11px; line-height: 1.45; }

.market-review-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.market-review-timeline > div { min-width: 0; padding: 7px; border: 1px solid #dfe6ea; border-radius: 7px; background: #fff; }
.market-review-timeline > div > b { display: block; margin-bottom: 3px; color: #255b91; font-size: 10.5px; }
.market-review-timeline span strong { display: block; color: #34424d; font-size: 10.5px; line-height: 1.35; }
.market-review-timeline span small { display: block; margin-top: 3px; color: #66737e; font-size: 10px; line-height: 1.4; }
.market-review-invalid { margin: 8px 0 0; padding-top: 7px; border-top: 1px dashed #e0c678; color: #9b3d27; font-size: 11px; line-height: 1.45; }

.market-emotion-metric {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #e1e7eb;
  border-top: 4px solid #c47a16;
  border-radius: 11px;
  background: #fff;
}

.market-emotion-metric.is-pass { border-top-color: #0f8f59; }
.market-emotion-metric.is-fail { border-top-color: #b23a3a; }

.market-emotion-metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.market-emotion-metric > div span { color: #263947; font-size: 13px; font-weight: 800; }
.market-emotion-metric > div b { color: #8a6d00; font-size: 11px; }
.market-emotion-metric.is-pass > div b { color: #0f8f59; }
.market-emotion-metric.is-fail > div b { color: #b23a3a; }
.market-emotion-metric > strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.market-emotion-metric > p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.market-emotion-panel { margin-bottom: 14px; }
.market-emotion-panel .panel-title-row { align-items: flex-start; }
.market-emotion-panel .panel-title-row h3 { margin-bottom: 4px; }
.market-emotion-panel .panel-title-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.market-emotion-observe-only { color: #255b91 !important; }

.market-emotion-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.market-emotion-group {
  min-width: 0;
  border: 1px solid #dfe6ea;
  border-radius: 12px;
  background: #f9fbfc;
  overflow: hidden;
}

.market-emotion-group.is-strong { border-color: #b9dccc; }
.market-emotion-group.is-weak { border-color: #e5c0c0; }

.market-emotion-group-head {
  padding: 13px 14px;
  border-bottom: 1px solid #e1e7eb;
  background: #fff;
}

.market-emotion-group-head h4 { margin: 0; font-size: 15px; }
.market-emotion-group-head p { margin: 4px 0 7px; color: var(--muted); font-size: 11px; }
.market-emotion-group-head > span { color: #43505b; font-size: 12px; font-weight: 800; }

.market-emotion-stock-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.market-emotion-stock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 10px;
  border: 1px solid #e4e9ed;
  border-radius: 9px;
  background: #fff;
}

.market-emotion-stock-name { min-width: 0; }
.market-emotion-stock-name strong { margin-right: 6px; color: #1f2d3d; font-size: 13px; }
.market-emotion-stock-name small { color: #8b98a2; font-size: 10px; }
.market-emotion-stock > b { color: #57606a; font-size: 13px; }
.market-emotion-stock.is-up > b { color: #c02748; }
.market-emotion-stock.is-down > b { color: #0f8f59; }
.market-emotion-stock.is-missing > b { color: #8a8f99; font-size: 11px; }

.market-emotion-stock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  grid-column: 1 / -1;
}

.market-emotion-stock-tags span {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eef3f6;
  color: #57606a;
  font-size: 10px;
}

.market-emotion-stock-tags .is-driver-state {
  background: #fff0c7;
  color: #7d5b00;
  font-weight: 800;
}

.market-emotion-stock-tags .is-evidence {
  background: #f6f8f9;
  color: #68757f;
}

.market-emotion-stock-leadership {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  grid-column: 1 / -1;
  padding-top: 7px;
  border-top: 1px dashed #dbe3e8;
}

.market-emotion-stock-leadership span {
  padding: 3px 7px;
  border: 1px solid #dce5ea;
  border-radius: 999px;
  background: #f5f8fa;
  color: #425564;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.market-emotion-stock-leadership .is-state-attack {
  border-color: #a9d8c2;
  background: #eaf7f0;
  color: #087a49;
}

.market-emotion-stock-leadership .is-state-wait {
  border-color: #ead7a8;
  background: #fff8e5;
  color: #8a6500;
}

.market-emotion-stock-leadership .is-state-observe {
  border-color: #e5c4c4;
  background: #fff3f3;
  color: #a33636;
}

.market-emotion-stock .market-emotion-stock-execution {
  padding: 7px 8px;
  border-radius: 6px;
  background: #f4f7f9;
  color: #526572;
  font-weight: 650;
}

.market-emotion-stock > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #66737e;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.market-emotion-validation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.market-emotion-rule {
  padding: 14px 15px;
  border: 1px solid #dfe6ea;
  border-left: 4px solid #c47a16;
  border-radius: 10px;
  background: #fff;
}

.market-emotion-rule.is-upgrade { border-left-color: #0f8f59; background: #f4fbf7; }
.market-emotion-rule.is-downgrade { border-left-color: #b23a3a; background: #fff6f6; }
.market-emotion-rule h4 { margin: 0 0 8px; font-size: 14px; }
.market-emotion-rule ul { margin: 0; padding-left: 18px; color: #43505b; font-size: 12px; line-height: 1.65; }

@media (max-width: 1250px) {
  .market-emotion-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-emotion-groups { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .market-emotion-heading { align-items: flex-start; flex-direction: column; }
  .market-emotion-toolbar { justify-content: flex-start; }
  .market-emotion-hero { grid-template-columns: 70px minmax(0, 1fr); padding: 20px; }
  .market-light { width: 62px; height: 62px; }
  .market-light span { width: 38px; height: 38px; }
  .market-emotion-action { grid-template-columns: 1fr; }
  .market-emotion-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-emotion-validation { grid-template-columns: 1fr; }
  .market-review-grid { grid-template-columns: 1fr; }
  .market-emotion-driver-board { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .market-emotion-hero { grid-template-columns: 1fr; }
  .market-light { margin-top: 0; }
  .market-emotion-hero h3 { font-size: 21px; }
  .market-emotion-metrics { grid-template-columns: 1fr; }
  .market-review-do-dont,
  .market-review-timeline { grid-template-columns: 1fr; }
}

/* ===== 复盘结论 · 今日到明日 ===== */
.review-conclusion-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.review-conclusion-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.review-conclusion-toolbar > span { color: var(--muted); font-size: 12px; }

.review-conclusion-hero {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 22px 24px;
  border: 1px solid #e4d6a9;
  border-left: 6px solid #d49a1d;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff8e7, #fff 70%);
  box-shadow: var(--shadow);
}

.review-conclusion-hero > span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e5a82c;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 0 0 9px rgba(229, 168, 44, 0.13);
}

.review-conclusion-hero.is-green { border-color: #b9dcc8; border-left-color: #0f8f59; background: linear-gradient(135deg, #eef9f3, #fff 70%); }
.review-conclusion-hero.is-green > span { background: #20a66a; box-shadow: 0 0 0 9px rgba(32, 166, 106, 0.13); }
.review-conclusion-hero.is-red { border-color: #e7c0c0; border-left-color: #b23a3a; background: linear-gradient(135deg, #fff1f1, #fff 70%); }
.review-conclusion-hero.is-red > span { background: #c94848; box-shadow: 0 0 0 9px rgba(201, 72, 72, 0.13); }
.review-conclusion-hero.is-empty { border-color: #dfe5e8; border-left-color: #9aa8b3; background: #fff; }
.review-conclusion-hero.is-empty > span { background: #9aa8b3; box-shadow: none; }
.review-conclusion-hero.is-neutral { border-color: #dfe5e8; border-left-color: #9aa8b3; background: #fff; }
.review-conclusion-hero.is-neutral > span { background: #9aa8b3; box-shadow: none; }
.market-emotion-hero.is-neutral .market-emotion-kicker { color: #647580; }
.review-conclusion-hero p { margin: 0 0 3px; color: #8a6d00; font-size: 11px; font-weight: 900; }
.review-conclusion-hero h3 { margin: 0 0 5px; font-size: 23px; line-height: 1.3; }
.review-conclusion-hero > div > strong { display: block; color: #34424d; font-size: 14px; line-height: 1.55; }

.review-conclusion-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.review-conclusion-tags em { padding: 3px 8px; border-radius: 999px; background: rgba(51, 69, 82, 0.07); color: #57606a; font-size: 10.5px; font-style: normal; }

.review-conclusion-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; margin-bottom: 14px; }
.review-conclusion-card { min-width: 0; }
.review-conclusion-card .panel-title-row { align-items: flex-start; }
.review-conclusion-card .panel-title-row h3 { margin-bottom: 3px; }
.review-conclusion-card .panel-title-row p { margin: 0; color: var(--muted); font-size: 11.5px; }

.review-conclusion-facts { display: grid; gap: 8px; margin-top: 12px; }
.review-conclusion-facts > div { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 8px; }
.review-conclusion-facts > div > b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e8f0f5; color: #255b91; font-size: 10px; }
.review-conclusion-facts p { margin: 0; }
.review-conclusion-facts strong { display: block; margin-bottom: 2px; color: #263947; font-size: 12px; }
.review-conclusion-facts span { display: block; color: #5b6872; font-size: 11.5px; line-height: 1.5; }

.review-conclusion-base { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 8px; margin-top: 12px; padding: 9px 10px; border-radius: 8px; background: #fff8e7; }
.review-conclusion-base span { color: #8a6d00; font-size: 11px; font-weight: 900; }
.review-conclusion-base strong { color: #263947; font-size: 12.5px; }
.review-conclusion-base > b { grid-column: 2; color: #57606a; font-size: 11px; }

.review-conclusion-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.review-conclusion-do-dont > div { padding: 9px 10px; border: 1px solid #e1e7eb; border-radius: 8px; background: #fbfcfd; }
.review-conclusion-do-dont strong { font-size: 11.5px; }
.review-conclusion-do-dont .is-do strong { color: #0f754a; }
.review-conclusion-do-dont .is-dont strong { color: #a13d2e; }
.review-conclusion-do-dont ul { margin: 4px 0 0; padding-left: 16px; color: #57606a; font-size: 10.8px; line-height: 1.48; }

.review-conclusion-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.review-conclusion-timeline > div { padding: 7px 8px; border: 1px solid #dfe6ea; border-radius: 7px; background: #fff; }
.review-conclusion-timeline > div > b { color: #255b91; font-size: 10px; }
.review-conclusion-timeline p { margin: 3px 0 0; }
.review-conclusion-timeline strong { display: block; color: #34424d; font-size: 10.5px; line-height: 1.35; }
.review-conclusion-timeline span { display: block; margin-top: 2px; color: #66737e; font-size: 9.8px; line-height: 1.4; }
.review-conclusion-invalid { margin: 8px 0 0; padding-top: 7px; border-top: 1px dashed #e0c678; color: #9b3d27; font-size: 10.8px; line-height: 1.45; }

.review-conclusion-price-audit { font-weight: 800; }
.review-conclusion-price-audit.is-pass { color: #0f754a !important; }
.review-conclusion-price-audit.is-warn { color: #a13030 !important; }
.review-conclusion-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.review-conclusion-pick { min-width: 0; padding: 12px; border: 1px solid #dfe6ea; border-top: 4px solid #0f8f59; border-radius: 10px; background: #fbfcfd; }
.review-conclusion-pick.is-blocked { border-top-color: #b23a3a; background: #fff6f6; }
.review-conclusion-pick-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.review-conclusion-pick-head > span { padding: 3px 6px; border-radius: 5px; background: #e8f0f5; color: #255b91; font-size: 10px; font-weight: 900; }
.review-conclusion-pick-head div strong { display: block; font-size: 14px; }
.review-conclusion-pick-head div small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.review-conclusion-pick-head > b { color: #263947; font-size: 16px; text-align: right; }
.review-conclusion-pick-head > b small { display: block; color: var(--muted); font-size: 9px; }
.review-conclusion-pick > p { margin: 9px 0 6px; color: #57606a; font-size: 10.8px; line-height: 1.45; }
.review-conclusion-allocation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; margin: 7px 0; padding: 7px 8px; border-radius: 7px; background: #eef7f4; color: #24665b; font-size: 10px; }
.review-conclusion-allocation span { font-weight: 800; }
.review-conclusion-allocation b { font-weight: 700; }
.review-conclusion-pick > ul { margin: 0; padding-left: 16px; color: #43505b; font-size: 10.5px; line-height: 1.5; }

@media (max-width: 1150px) {
  .review-conclusion-grid { grid-template-columns: 1fr; }
  .review-conclusion-picks { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .review-conclusion-heading { align-items: flex-start; flex-direction: column; }
  .review-conclusion-toolbar { justify-content: flex-start; }
  .review-conclusion-hero { grid-template-columns: 1fr; }
  .review-conclusion-do-dont,
  .review-conclusion-timeline { grid-template-columns: 1fr; }
}

/* ===== 超预期：盘后候选 + 次日应对 ===== */
.super-expectation-section {
  --super-ink: #102f3b;
  --super-teal: #0b7b70;
  --super-mint: #dff5ee;
  --super-gold: #b77716;
  --super-cream: #fff8e8;
  --super-red: #b63c47;
}

.super-expectation-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.super-expectation-heading > div:first-child {
  max-width: 760px;
}

.super-expectation-heading h2 {
  margin-bottom: 7px;
}

.super-expectation-heading > div:first-child > p:last-child {
  margin: 0;
  color: #65747c;
  font-size: 12px;
  line-height: 1.6;
}

.super-expectation-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.super-expectation-toolbar > span {
  color: #75838b;
  font-size: 11px;
  white-space: nowrap;
}

.super-expectation-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 26px;
  min-height: 164px;
  margin-top: 18px;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid rgba(87, 177, 159, 0.32);
  border-radius: 18px;
  color: #f4fffb;
  background:
    radial-gradient(circle at 76% 18%, rgba(90, 214, 187, 0.24), transparent 32%),
    linear-gradient(125deg, #0d303c 0%, #0b4b50 58%, #146c61 100%);
  box-shadow: 0 16px 42px rgba(18, 55, 65, 0.13);
}

.super-expectation-hero::after {
  position: absolute;
  right: -58px;
  bottom: -98px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.super-expectation-hero.is-empty,
.super-expectation-hero.is-degraded {
  background: linear-gradient(125deg, #273c45, #51646a);
}

.super-expectation-hero-copy {
  position: relative;
  z-index: 1;
}

.super-expectation-hero-copy > span {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid rgba(200, 255, 238, 0.3);
  border-radius: 999px;
  color: #b9f6df;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.super-expectation-hero-copy h3 {
  margin: 12px 0 7px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.super-expectation-hero-copy p {
  max-width: 690px;
  margin: 0;
  color: rgba(235, 250, 246, 0.76);
  font-size: 12px;
  line-height: 1.65;
}

.super-expectation-gates {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.super-expectation-gates span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid rgba(220, 255, 245, 0.16);
  border-radius: 10px;
  color: #eefbf7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.super-expectation-gates b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #0d534e;
  background: #b9f6df;
  font-size: 9px;
}

.super-expectation-counts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.super-expectation-counts > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e2e9eb;
  border-radius: 11px;
  background: #fff;
}

.super-expectation-counts span,
.super-expectation-counts strong,
.super-expectation-counts small {
  display: block;
}

.super-expectation-counts span {
  color: #69777e;
  font-size: 10px;
  font-weight: 800;
}

.super-expectation-counts strong {
  margin: 4px 0 2px;
  color: var(--super-ink);
  font-size: 21px;
}

.super-expectation-counts small {
  overflow: hidden;
  color: #96a1a6;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.super-expectation-counts .is-confirmed {
  border-color: #bfe6d7;
  background: #eefaf5;
}

.super-expectation-counts .is-confirmed strong {
  color: #08765d;
}

.super-expectation-counts .is-failed {
  border-color: #f0d5d8;
  background: #fff7f7;
}

.super-expectation-counts .is-failed strong {
  color: var(--super-red);
}

.super-expectation-stage {
  margin-top: 14px;
  padding: 20px;
  border-radius: 15px;
}

.super-expectation-stage.is-candidate {
  border-top: 4px solid var(--super-gold);
}

.super-expectation-stage.is-validation {
  border-top: 4px solid var(--super-teal);
}

.super-expectation-stage-head {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7ecee;
}

.super-expectation-stage-head h3 {
  margin: 5px 0 3px;
  color: var(--super-ink);
  font-size: 18px;
}

.super-expectation-stage-head p {
  margin: 0;
  color: #718087;
  font-size: 11.5px;
}

.super-stage-index {
  color: var(--super-gold) !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.is-validation .super-stage-index {
  color: var(--super-teal) !important;
}

.super-expectation-list {
  display: grid;
  gap: 13px;
  margin-top: 14px;
}

.super-expectation-empty {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 22px;
  border: 1px dashed #cfdadc;
  border-radius: 12px;
  color: #7a898f;
  background: #fafcfc;
  text-align: center;
}

.super-expectation-empty strong {
  color: #344c55;
  font-size: 14px;
}

.super-expectation-empty span {
  display: block;
  max-width: 620px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.55;
}

.super-expectation-empty.is-strict {
  border-color: #e4d2aa;
  background: #fffcf4;
}

.super-expectation-rejected {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5eaec;
}

.super-expectation-rejected[hidden] {
  display: none;
}

.super-rejected-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.super-rejected-head strong,
.super-rejected-head span {
  display: block;
}

.super-rejected-head strong {
  color: #2a414a;
  font-size: 14px;
}

.super-rejected-head span {
  margin-top: 3px;
  color: #7b898f;
  font-size: 10.5px;
}

.super-rejected-head > b {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #865e18;
  background: #fff1cf;
  font-size: 10px;
}

.super-rejected-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.super-rejected-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  background: #fbfcfc;
}

.super-rejected-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.super-rejected-card h4 {
  margin: 0;
  color: #273f49;
  font-size: 13px;
}

.super-rejected-card header small {
  display: block;
  margin-top: 2px;
  color: #86939a;
  font-size: 9px;
}

.super-rejected-card header > span {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  color: #9f3e43;
  background: #fce8e9;
  font-size: 9px;
  font-weight: 900;
}

.super-rejected-card header > span.is-near {
  color: #8b621a;
  background: #fff0cc;
}

.super-rejected-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.super-rejected-facts span {
  padding: 3px 6px;
  border-radius: 5px;
  color: #5f6f76;
  background: #edf2f3;
  font-size: 9px;
}

.super-rejected-gates {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.super-rejected-gates > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f3f6f7;
}

.super-rejected-gates > div.is-pass {
  background: #eaf7f2;
}

.super-rejected-gates > div.is-fail {
  background: #fff2f2;
}

.super-rejected-gates i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #a63d44;
  background: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.super-rejected-gates .is-pass i {
  color: #08745f;
}

.super-rejected-gates b,
.super-rejected-gates small {
  display: block;
}

.super-rejected-gates b {
  color: #435860;
  font-size: 9.5px;
}

.super-rejected-gates small {
  margin-top: 1px;
  color: #7a888e;
  font-size: 8.8px;
  line-height: 1.4;
}

.super-rejected-card > p {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #dfc6c8;
  color: #944047;
  font-size: 9.5px;
  line-height: 1.45;
}

.super-candidate-card,
.super-validation-card {
  overflow: hidden;
  border: 1px solid #dfe7e9;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 59, 66, 0.045);
}

.super-candidate-card {
  border-left: 4px solid #8b9ca3;
}

.super-candidate-card.priority-s {
  border-left-color: #bd6e09;
}

.super-candidate-card.priority-a {
  border-left-color: #178578;
}

.super-candidate-card > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  background: linear-gradient(90deg, #fffaf0, #fff 55%);
}

.super-candidate-rank {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  color: #9b5e0b;
  background: #fff0c9;
}

.super-candidate-rank span {
  font-size: 9px;
  font-weight: 900;
}

.super-candidate-rank b {
  font-size: 17px;
  line-height: 1;
}

.super-candidate-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.super-candidate-title h4 {
  margin: 0;
  color: var(--super-ink);
  font-size: 18px;
}

.super-candidate-title small {
  display: block;
  margin-top: 2px;
  color: #78868c;
  font-size: 10px;
}

.super-candidate-title > span {
  padding: 5px 8px;
  border-radius: 7px;
  color: #9b5e0b;
  background: #fff3d6;
  font-size: 10px;
  font-weight: 900;
}

.super-candidate-state {
  text-align: right;
}

.super-candidate-state span,
.super-candidate-state b {
  display: block;
}

.super-candidate-state span {
  color: #87949a;
  font-size: 9px;
}

.super-candidate-state b {
  margin-top: 3px;
  color: var(--super-gold);
  font-size: 12px;
}

.super-candidate-thesis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid #edf1f2;
  border-bottom: 1px solid #edf1f2;
  background: #e8edef;
}

.super-candidate-thesis > div {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
}

.super-candidate-thesis span {
  display: block;
  color: #839097;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.super-candidate-thesis strong {
  display: block;
  margin-top: 5px;
  color: #253f49;
  font-size: 12px;
  line-height: 1.45;
}

.super-candidate-thesis p,
.super-candidate-thesis ul {
  margin: 6px 0 0;
  color: #66757c;
  font-size: 10.5px;
  line-height: 1.55;
}

.super-candidate-thesis ul {
  padding-left: 16px;
}

.super-candidate-thesis small {
  display: block;
  margin-top: 6px;
  color: #0b766c;
  font-size: 10px;
}

.super-baseline {
  display: grid;
  grid-template-columns: auto auto 1px auto auto auto;
  align-items: center;
  gap: 10px;
  margin: 13px 16px;
  padding: 11px 13px;
  border: 1px solid #ead7a8;
  border-radius: 10px;
  color: #705220;
  background: var(--super-cream);
}

.super-baseline span {
  font-size: 10px;
  font-weight: 800;
}

.super-baseline strong {
  color: #613f0b;
  font-size: 12px;
}

.super-baseline i {
  width: 1px;
  height: 24px;
  background: #dfc98f;
}

.super-baseline em {
  color: #9b6a19;
  font-size: 9.5px;
  font-style: normal;
}

.super-next-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 14px;
}

.super-next-checks > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #e1e8ea;
  border-radius: 9px;
  background: #f9fbfb;
}

.super-next-checks > div > b {
  color: #c0882b;
  font-size: 10px;
}

.super-next-checks strong,
.super-next-checks small {
  display: block;
}

.super-next-checks strong {
  color: #304953;
  font-size: 10.5px;
}

.super-next-checks small {
  margin-top: 3px;
  color: #6b7a81;
  font-size: 9.6px;
  line-height: 1.45;
}

.super-candidate-card > footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid #edf1f2;
  background: #fbfcfc;
}

.super-candidate-card > footer p {
  margin: 0;
  color: #637279;
  font-size: 10.5px;
  line-height: 1.5;
}

.super-candidate-card > footer p:last-child {
  color: #9a383e;
}

.super-validation-card {
  border-left: 4px solid #7c9098;
}

.super-validation-card.is-confirmed {
  border-left-color: #087a64;
}

.super-validation-card.is-initial {
  border-left-color: #c18a2c;
}

.super-validation-card.is-failed {
  border-left-color: #bd454d;
}

.super-validation-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #f9fbfb;
}

.super-validation-card > header span {
  color: #087a64;
  font-size: 10px;
  font-weight: 900;
}

.super-validation-card.is-failed > header span {
  color: #ad343d;
}

.super-validation-card > header h4 {
  margin: 5px 0 0;
  color: var(--super-ink);
  font-size: 18px;
}

.super-validation-card > header h4 small {
  color: #819096;
  font-size: 10px;
  font-weight: 500;
}

.super-validation-score {
  min-width: 100px;
  text-align: right;
}

.super-validation-score span,
.super-validation-score strong {
  display: block;
}

.super-validation-score strong {
  margin-top: 3px;
  color: #0b695c;
  font-size: 24px;
}

.super-validation-score small {
  font-size: 9px;
}

.super-nature-note {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #e8eeef;
  color: #5d6d74;
  background: #fff;
  font-size: 11px;
  line-height: 1.55;
}

.super-comparison {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
  background: #f7f9f9;
}

.super-comparison > div {
  padding: 9px 10px;
  border: 1px solid #e3e9eb;
  border-radius: 8px;
  background: #fff;
}

.super-comparison span,
.super-comparison b {
  display: block;
}

.super-comparison span {
  color: #87949a;
  font-size: 9.5px;
}

.super-comparison b {
  margin-top: 4px;
  color: #29454f;
  font-size: 12px;
}

.super-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 13px 16px;
  border-top: 1px solid #edf1f2;
  border-bottom: 1px solid #edf1f2;
}

.super-check-grid > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  padding: 9px;
  border-radius: 8px;
  background: #f3f6f7;
}

.super-check-grid > div.is-pass {
  color: #08725f;
  background: #eaf8f3;
}

.super-check-grid i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.super-check-grid b,
.super-check-grid small {
  display: block;
}

.super-check-grid b {
  color: #40555d;
  font-size: 9.8px;
}

.super-check-grid small {
  margin-top: 2px;
  color: #7c898f;
  font-size: 9px;
}

.super-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px 16px;
}

.super-action-grid > section {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dfe8e8;
  border-radius: 10px;
}

.super-action-grid .is-holder {
  background: #f0faf6;
}

.super-action-grid .is-outsider {
  background: #fffaf0;
}

.super-action-grid section > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.super-action-grid section > div:first-child span {
  padding: 3px 6px;
  border-radius: 5px;
  color: #0a725f;
  background: #d9f2e8;
  font-size: 9px;
  font-weight: 900;
}

.super-action-grid .is-outsider > div:first-child span {
  color: #955e12;
  background: #f9eac9;
}

.super-action-grid section > div:first-child b {
  color: #253f48;
  font-size: 12px;
  text-align: right;
}

.super-action-grid section > p {
  margin: 9px 0 0;
  color: #596970;
  font-size: 10.5px;
  line-height: 1.5;
}

.super-action-grid ul {
  margin: 9px 0 0;
  padding: 9px 0 0 17px;
  border-top: 1px dashed #cdded9;
  color: #4d6269;
  font-size: 10.5px;
  line-height: 1.55;
}

.super-entry-routes {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.super-entry-routes > div {
  padding: 8px 9px;
  border: 1px solid #ecd9ad;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.super-entry-routes b,
.super-entry-routes span {
  display: block;
}

.super-entry-routes b {
  color: #875411;
  font-size: 10px;
}

.super-entry-routes span {
  margin-top: 2px;
  color: #68767c;
  font-size: 9.5px;
  line-height: 1.45;
}

.super-action-grid .is-outsider > small {
  display: block;
  margin-top: 7px;
  color: #9c4d42;
  font-size: 9.5px;
}

.super-validation-card > footer {
  padding: 10px 16px;
  color: #9e343d;
  background: #fff5f5;
  font-size: 10.5px;
  line-height: 1.5;
}

.super-expectation-rules {
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}

.super-expectation-rules summary {
  padding: 14px 17px;
  color: #29434d;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  background: #f8fafb;
}

.super-expectation-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid #e6ecee;
}

.super-expectation-rule-grid > div {
  padding: 11px;
  border: 1px solid #e1e8ea;
  border-radius: 8px;
}

.super-expectation-rule-grid b,
.super-expectation-rule-grid span {
  display: block;
}

.super-expectation-rule-grid b {
  color: #0d7265;
  font-size: 11px;
}

.super-expectation-rule-grid span {
  margin-top: 4px;
  color: #66757c;
  font-size: 10px;
  line-height: 1.5;
}

.super-expectation-rules > p {
  margin: 0;
  padding: 10px 16px;
  color: #9c3e44;
  background: #fff5f5;
  font-size: 10.5px;
}

@media (max-width: 1250px) {
  .super-expectation-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .super-next-checks { grid-template-columns: 1fr 1fr; }
  .super-comparison { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .super-check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .super-expectation-heading { align-items: flex-start; flex-direction: column; }
  .super-expectation-toolbar { justify-content: flex-start; }
  .super-expectation-hero { grid-template-columns: 1fr; }
  .super-candidate-thesis { grid-template-columns: 1fr; }
  .super-baseline { grid-template-columns: 1fr 1fr; }
  .super-baseline i { display: none; }
  .super-action-grid { grid-template-columns: 1fr; }
  .super-expectation-rule-grid { grid-template-columns: 1fr 1fr; }
  .super-rejected-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .super-expectation-hero { padding: 20px; }
  .super-expectation-gates,
  .super-expectation-counts,
  .super-next-checks,
  .super-comparison,
  .super-check-grid,
  .super-expectation-rule-grid { grid-template-columns: 1fr; }
  .super-candidate-card > header { grid-template-columns: auto minmax(0, 1fr); }
  .super-candidate-state { grid-column: 2; text-align: left; }
  .super-candidate-title { align-items: flex-start; flex-direction: column; }
  .super-candidate-card > footer { grid-template-columns: 1fr; }
}

/* ===== 首页因果链：结论先行，完整证据按需展开 ===== */
.decision-causal-chain {
  --causal-tone: #176d66;
  margin: 0 0 16px;
  padding: 22px;
  border: 1px solid #d7e2e5;
  border-top: 4px solid var(--causal-tone);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f7faf9 100%);
  box-shadow: 0 14px 34px rgba(31, 56, 63, 0.07);
  font-family: "Segoe UI Variable Text", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.decision-causal-chain.is-good { --causal-tone: #0b8a72; }
.decision-causal-chain.is-warn { --causal-tone: #c07a15; }
.decision-causal-chain.is-bad { --causal-tone: #c34750; }
.decision-causal-chain.is-neutral { --causal-tone: #607580; }

.decision-causal-chain.is-empty {
  padding: 18px 22px;
  border-top-width: 1px;
  border-style: dashed;
  box-shadow: none;
}

.decision-causal-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #60717a;
}

.decision-causal-empty span {
  color: #0a756b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.decision-causal-empty strong { font-size: 13px; }

.causal-chain-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
}

.causal-chain-head.is-direct {
  grid-template-columns: minmax(0, 1fr);
}

.causal-chain-head > div:first-child > span {
  color: #08756b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.causal-chain-head h3 {
  margin: 8px 0 6px;
  color: #122b36;
  font-size: clamp(22px, 2.15vw, 30px);
  font-weight: 720;
  letter-spacing: 0.012em;
  line-height: 1.3;
}

.causal-chain-head p {
  margin: 0;
  color: #60737c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.causal-cycle-read {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #dce6e8;
  border-radius: 10px;
  background: #f7fafb;
}

.causal-cycle-read span,
.causal-cycle-read strong { display: block; }
.causal-cycle-read span { color: #74838a; font-size: 10px; }
.causal-cycle-read strong { margin-top: 3px; color: #243d46; font-size: 13px; }
.causal-cycle-read.is-good strong { color: #08785f; }
.causal-cycle-read.is-warn strong { color: #986112; }
.causal-cycle-read.is-bad strong { color: #ad3540; }

.causal-chain-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.causal-step {
  position: relative;
  min-height: 124px;
  padding: 14px;
  border: 1px solid #e1e8ea;
  border-radius: 12px;
  background: #fff;
}

.causal-step::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #aab8bd;
}

.causal-step.is-good::after { background: #159878; }
.causal-step.is-warn::after { background: #d5972f; }
.causal-step.is-bad::after { background: #cf4c56; }

.causal-step > span,
.causal-step > strong,
.causal-step > small { display: block; }

.causal-step > span {
  color: #697b83;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.causal-step > span b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 7px;
  color: #fff;
  background: var(--causal-tone);
  font-size: 10px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.causal-step > strong {
  margin-top: 11px;
  color: #18323d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.006em;
  line-height: 1.45;
}

.causal-step > small {
  margin-top: 7px;
  color: #6b7d85;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
}

.causal-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.causal-quick-facts span {
  padding: 6px 9px;
  border-radius: 8px;
  color: #5e7078;
  background: #eef3f4;
  font-size: 10.5px;
}

.causal-quick-facts b { color: #203c46; }

.causal-veto-panel {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #edc4c8;
  border-left: 4px solid #c9434f;
  border-radius: 10px;
  background: #fff4f5;
}

.causal-veto-panel.is-pass {
  border-color: #cde3dc;
  border-left-color: #13876f;
  background: #f1faf7;
}

.causal-veto-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.causal-veto-panel header span {
  color: #ad3742;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.causal-veto-panel header strong { color: #7f202a; font-size: 12px; }
.causal-veto-panel.is-pass header span,
.causal-veto-panel.is-pass header strong { color: #08705c; }

.causal-veto-panel ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: #90313b;
  font-size: 10.5px;
  line-height: 1.5;
}

.causal-veto-panel p {
  margin: 7px 0 0;
  color: #76545a;
  font-size: 10px;
  line-height: 1.55;
}

.causal-veto-panel.is-pass p { color: #54736b; }

.causal-layer-contrast {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.causal-layer-contrast section {
  position: relative;
  min-height: 94px;
  padding: 11px 12px 11px 15px;
  border: 1px solid #dfe7e9;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}

.causal-layer-contrast section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #84969d;
}

.causal-layer-contrast section.is-good::before { background: #129276; }
.causal-layer-contrast section.is-warn::before { background: #d08b22; }
.causal-layer-contrast section.is-bad::before { background: #c8434f; }

.causal-layer-contrast span,
.causal-layer-contrast strong,
.causal-layer-contrast small { display: block; }
.causal-layer-contrast span { color: #75858c; font-size: 9.5px; font-weight: 900; }
.causal-layer-contrast strong { margin-top: 5px; color: #223d46; font-size: 12px; }
.causal-layer-contrast section.is-good strong { color: #08745f; }
.causal-layer-contrast section.is-warn strong { color: #95600f; }
.causal-layer-contrast section.is-bad strong { color: #aa3540; }
.causal-layer-contrast small { margin-top: 4px; color: #718087; font-size: 9.5px; line-height: 1.5; }

.causal-execution-read {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--causal-tone);
  border-radius: 0 8px 8px 0;
  background: #f3f7f6;
}

.causal-execution-read span { color: #687a82; font-size: 10px; font-weight: 800; }
.causal-execution-read b { color: #183b3d; font-size: 12px; }
.causal-execution-read em { color: #6c7b82; font-size: 10.5px; font-style: normal; }

.causal-evidence-disclosure,
.decision-market-evidence,
.decision-rationale-disclosure,
.decision-deep-dive {
  margin-top: 12px;
  border: 1px solid #dfe7e9;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.causal-evidence-disclosure > summary,
.decision-market-evidence > summary,
.decision-rationale-disclosure > summary,
.decision-deep-dive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: #28434c;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 900;
}

.causal-evidence-disclosure > summary::-webkit-details-marker,
.decision-market-evidence > summary::-webkit-details-marker,
.decision-rationale-disclosure > summary::-webkit-details-marker,
.decision-deep-dive > summary::-webkit-details-marker { display: none; }

.causal-evidence-disclosure > summary::after,
.decision-market-evidence > summary::after,
.decision-rationale-disclosure > summary::after,
.decision-deep-dive > summary::after {
  content: "+";
  color: #73858c;
  font-size: 17px;
  line-height: 1;
}

.causal-evidence-disclosure[open] > summary::after,
.decision-market-evidence[open] > summary::after,
.decision-rationale-disclosure[open] > summary::after,
.decision-deep-dive[open] > summary::after { content: "−"; }

.causal-evidence-disclosure > summary small,
.decision-market-evidence > summary small,
.decision-rationale-disclosure > summary small,
.decision-deep-dive > summary small {
  margin-left: auto;
  color: #849198;
  font-size: 9.5px;
  font-weight: 500;
}

.causal-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.causal-evidence-grid > section {
  padding: 11px;
  border: 1px solid #e3eaec;
  border-radius: 8px;
  background: #f9fbfb;
}

.causal-evidence-grid section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.causal-evidence-grid header span { color: #6a7b83; font-size: 9.5px; font-weight: 800; }
.causal-evidence-grid header b { color: #27434c; font-size: 10.5px; text-align: right; }
.causal-evidence-list { display: grid; gap: 5px; }

.causal-evidence-chip {
  display: grid;
  grid-template-columns: minmax(80px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border-radius: 7px;
  background: #fff;
}

.causal-evidence-chip b { color: #213b45; font-size: 10.5px; }
.causal-evidence-chip small { overflow: hidden; color: #74838a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.causal-evidence-chip em { color: #5f7077; font-size: 10px; font-style: normal; font-weight: 900; }
.causal-evidence-chip em.is-up { color: #0a8567; }
.causal-evidence-chip em.is-down { color: #bc3b46; }
.causal-evidence-empty { margin: 0; color: #89959a; font-size: 9.5px; }

.causal-evidence-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 10px;
  padding: 10px 12px;
  border-top: 1px solid #e2e9eb;
  background: #f7f9fa;
}

.causal-evidence-foot span {
  align-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  color: #52676f;
  background: #e8eef0;
  font-size: 9px;
  font-weight: 900;
}

.causal-evidence-foot span.is-good { color: #08735d; background: #dff3ec; }
.causal-evidence-foot span.is-warn { color: #8e5b10; background: #faedcf; }
.causal-evidence-foot span.is-bad { color: #aa3540; background: #fbe4e6; }
.causal-evidence-foot p { margin: 0; color: #66777e; font-size: 9.5px; }
.causal-evidence-foot small { grid-column: 1 / -1; color: #8a969b; font-size: 9px; }

.decision-market-evidence { margin: 10px 0 0; background: #f8fafb; }
.decision-market-evidence .market-layer-board { margin: 0; padding: 10px; border-top: 1px solid #e1e8ea; }
.decision-rationale-disclosure { margin-top: 9px; background: #fafbfb; }
.decision-rationale-disclosure .decision-note { margin: 0; padding: 6px 12px; }
.decision-rationale-disclosure .decision-note:last-child { padding-bottom: 12px; }
.decision-effect-panel { padding: 0 !important; overflow: hidden; }
.decision-deep-dive { margin: 0; border: 0; border-radius: 0; background: transparent; }
.decision-deep-dive > summary { padding: 15px 18px; }
.decision-deep-dive > .effect-attribution-board { margin: 0 14px 14px; }

@media (max-width: 1180px) {
  .causal-chain-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .causal-step:nth-child(n + 4) { min-height: 105px; }
}

@media (max-width: 980px) {
  .causal-chain-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .causal-step { min-height: 108px; }
  .causal-layer-contrast { grid-template-columns: 1fr; }
  .causal-layer-contrast section { min-height: auto; }
}

@media (max-width: 760px) {
  .decision-causal-chain { padding: 16px; border-radius: 13px; }
  .causal-chain-head { grid-template-columns: 1fr; gap: 10px; }
  .causal-cycle-read { min-width: 0; }
  .causal-chain-steps { grid-template-columns: 1fr; }
  .causal-step { min-height: auto; }
  .causal-step > small { display: none; }
  .causal-veto-panel header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .causal-layer-contrast { grid-template-columns: 1fr; }
  .causal-layer-contrast section { min-height: auto; }
  .causal-execution-read { grid-template-columns: 1fr; gap: 4px; }
  .causal-evidence-grid { grid-template-columns: 1fr; }
  .causal-evidence-chip { grid-template-columns: minmax(78px, auto) minmax(0, 1fr) auto; }
}

/* ===== 今日决策：只保留可执行结论，完整依据归入复盘 ===== */
.decision-direct-card {
  padding: 0;
  overflow: hidden;
}

.direct-decision-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 24px 26px 22px;
  border-bottom: 1px solid #e2eaec;
}

.direct-decision-head > div:first-child > span,
.direct-direction-card > span,
.direct-ticket-card > header span,
.direct-action-card > span,
.direct-cancel-line > span {
  color: #687a82;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.direct-decision-head-main { min-width: 0; }

.direct-stage-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.direct-stage-summary-grid > div {
  min-width: 0;
  min-height: 68px;
  padding: 13px 14px;
  border: 1px solid #dfe8e9;
  border-radius: 9px;
  background: #f7faf9;
}

.direct-stage-summary-grid span {
  display: block;
  color: #738389;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.direct-stage-summary-grid strong {
  display: block;
  margin-top: 5px;
  color: #173940;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.direct-stage-summary-grid [data-stage-summary="big-cycle"] { border-color: #d9c89e; background: #fff9e9; }
.direct-stage-summary-grid [data-stage-summary="big-cycle"] strong { color: #8a5d10; }
.direct-cycle-reference-note {
  display: block;
  margin-top: 6px;
  color: #6d756f;
  font-size: 11px;
  line-height: 1.55;
}
.direct-big-cycle-details {
  margin: 0 16px 10px;
  color: #5c7378;
  font-size: 12px;
}
.direct-big-cycle-details > summary { cursor: pointer; width: fit-content; padding: 3px 0; }
.direct-big-cycle-details > div { padding: 6px 0 2px; }
.direct-big-cycle-details p { margin: 4px 0; line-height: 1.6; }
.direct-current-preference { margin: 14px 22px 0; }
.trend-core-panel { margin: 14px 22px; padding: 15px; border: 1px solid #cfe2dd; border-radius: 12px; background: #f8fcfb; }
.trend-core-panel > header { display: flex; justify-content: space-between; gap: 12px; color: #173c43; }
.trend-core-panel > header small, .trend-core-source { color: #6d8288; font-size: 11px; }
.trend-core-source { margin: 8px 0 12px; }
.trend-core-stock-list { display: grid; gap: 8px; }
.trend-core-stock { display: grid; grid-template-columns: 1fr 1.4fr 1.3fr 1.4fr; gap: 12px; padding: 13px; border: 1px solid #dce9e5; border-radius: 10px; background: white; }
.trend-core-stock small, .trend-core-stock span { display: block; margin-top: 4px; font-size: 11px; color: #6a8086; }
.trend-core-stock b, .trend-core-stock strong { font-size: 13px; color: #164e51; }
.trend-core-auction > strong { font-size: 18px; }
.trend-core-note { grid-column: 1 / -1; margin: 0; font-size: 11px; color: #9a712a; }
.trend-core-details { margin-top: 12px; font-size: 12px; color: #6a8086; }
.trend-core-details summary { cursor: pointer; }
.trend-core-details p, .trend-core-details li { line-height: 1.7; }
.trend-empty { color: #74888c; font-size: 12px; }
.leading-theme-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.leading-theme-tags > span { padding: 6px 9px; border: 1px solid #bfe1d8; border-radius: 9px; background: #eff9f5; }
.leading-theme-tags b { display: block; color: #17665b; font-size: 12px; }
.leading-theme-tags small { display: block; color: #5d817a; font-size: 10px; margin-top: 4px; }
.leading-subtheme-card > [data-leading-source] { display: block; margin-top: 7px; font-size: 10px; line-height: 1.5; color: #6a8086; }
.leading-subtheme-card > [data-leading-subthemes] { margin-top: 7px; }
@media (min-width: 901px) {
  .premarket-metric-grid:has([data-leading-subthemes]) { grid-template-columns: 1fr 2fr 1.4fr 1fr; }
}
@media (max-width: 620px) {
  .trend-core-panel { margin: 11px 16px; padding: 12px; }
  .trend-core-panel > header { flex-wrap: wrap; }
  .trend-core-stock { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.preference-chip-row { display: flex; align-items: flex-start; gap: 14px; margin: 11px 0; }
.preference-chip-row > b { flex: 0 0 98px; padding-top: 6px; color: #536f76; font-size: 12px; }
.preference-chip-row > b > small { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; color: #819194; }
.preference-chip-row .direct-speculation-tags { flex: 1; margin: 0; min-width: 0; }
.direct-current-preference .is-weak { color: #77848a; background: #f5f7f7; border-color: #dfe5e7; }
.preference-evidence { margin-top: 10px; border-top: 1px dashed #dce5e6; padding-top: 8px; font-size: 12px; color: #607b83; }
.preference-evidence > summary { cursor: pointer; width: fit-content; }
.preference-evidence-scroll { overflow-x: auto; margin: 12px 0; }
.preference-evidence-table { width: 100%; min-width: 570px; border-collapse: collapse; font-size: 12px; }
.preference-evidence-table th, .preference-evidence-table td { padding: 8px; text-align: right; border-bottom: 1px solid #e4ebec; white-space: nowrap; }
.preference-evidence-table th:first-child, .preference-evidence-table td:first-child { text-align: left; }
@media (max-width: 600px) {
  .preference-chip-row { gap: 8px; }
  .preference-chip-row > b { flex-basis: 76px; }
}
.direct-stage-summary-grid [data-stage-summary="transition"] { border-color: #cfe2de; background: #f0f8f6; }
.direct-stage-summary-grid [data-stage-summary="transition"] strong { color: #157162; }

.direct-decision-head h3 {
  margin: 5px 0 3px;
  color: #152f39;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.3;
}

.direct-decision-head p {
  margin: 0;
  color: #667980;
  font-size: 12px;
  line-height: 1.55;
}

.direct-focus-stocks {
  margin: 14px 22px 0;
  overflow: hidden;
  border: 1px solid #dce5e7;
  border-radius: 12px;
  background: #fff;
}

.direct-focus-stocks > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px 11px;
  border-bottom: 1px solid #e4eaec;
  background: linear-gradient(135deg, #f8fbfb, #fff);
}

.direct-focus-stocks.is-opportunity > header {
  border-left: 4px solid #15927c;
  background: linear-gradient(135deg, #eef9f6, #fff);
}

.direct-focus-stocks.is-emotion-anchor > header {
  border-left: 4px solid #d6a22c;
  background: linear-gradient(135deg, #fff9ea, #fff);
}

.direct-focus-stocks > header span {
  display: block;
  color: #74848a;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.direct-focus-stocks > header strong {
  display: block;
  margin-top: 2px;
  color: #17333d;
  font-size: 20px;
}

.direct-focus-stocks > header small {
  max-width: 560px;
  color: #566d74;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.55;
  text-align: right;
}

.direct-opportunity-stock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: #f7faf9;
}

.direct-opportunity-stock-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d5e6e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 70, 66, 0.055);
}

.direct-opportunity-stock-card > header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.direct-opportunity-stock-card > header > b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #138572;
  font-size: 13px;
}

.direct-opportunity-stock-card > header strong,
.direct-opportunity-stock-card > header small { display: block; }
.direct-opportunity-stock-card > header strong { color: #102f39; font-size: 17px; line-height: 1.3; }
.direct-opportunity-stock-card > header small { margin-top: 3px; color: #5f747b; font-size: 11px; font-weight: 700; }
.direct-opportunity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.direct-opportunity-tags span {
  padding: 5px 8px;
  border: 1px solid #dce8e5;
  border-radius: 999px;
  color: #315b60;
  background: #f3f8f6;
  font-size: 10.5px;
  font-weight: 800;
}

.direct-opportunity-tags span.is-setup {
  border-color: #e7c776;
  color: #8a5a08;
  background: #fff8df;
}

.direct-opportunity-summary {
  margin-top: 10px;
  border-top: 1px solid #e5ecea;
}

.direct-opportunity-summary p {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 8px 2px;
  border-bottom: 1px solid #edf1f0;
}

.direct-opportunity-summary p:last-child { border-bottom: 0; }
.direct-opportunity-summary span {
  color: #6a7d82;
  font-size: 10.5px;
  font-weight: 900;
}
.direct-opportunity-summary strong {
  color: #23424a;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.direct-opportunity-summary .is-focus strong { color: #0d6f60; }
.direct-opportunity-summary .is-entry-confirmation strong { color: #245d78; }
.direct-opportunity-summary .is-next-day strong { color: #8a5a00; }
.direct-opportunity-summary .is-cancel strong { color: #9a444b; }

.direct-opportunity-empty { padding: 22px 14px; color: #78878c; font-size: 11px; text-align: center; }

.direct-focus-table-wrap { overflow-x: auto; }
.direct-focus-stocks table { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: fixed; }
.direct-focus-stocks th { padding: 9px 13px; color: #536a71; background: #fbfcfc; font-size: 10px; text-align: left; }
.direct-focus-stocks th:first-child { width: 22%; }
.direct-focus-stocks th:nth-child(2) { width: 35%; }
.direct-focus-stocks th:nth-child(3) { width: 43%; }
.direct-focus-stocks td { padding: 12px 13px; border-top: 1px solid #edf1f2; vertical-align: top; }
.direct-focus-stocks tbody tr:first-child td { border-top: 0; }
.direct-focus-stocks td p { margin: 0; color: #334f58; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }

.direct-focus-stock-name strong,
.direct-focus-stock-name small,
.direct-focus-stock-name em { display: block; }
.direct-focus-stock-name strong { color: #17323d; font-size: 13px; }
.direct-focus-stock-name small { margin-top: 2px; color: #72838a; font-size: 10px; }
.direct-focus-stock-name em {
  width: fit-content;
  margin-top: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #7d691d;
  background: #fff3ca;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 900;
}
.direct-focus-stock-name em.is-formal { color: #08705d; background: #dcf3eb; }
.direct-focus-stock-name em.is-strict_observation { color: #7f5a16; background: #fff0cc; }
.direct-focus-stock-name em.is-emotion_anchor { color: #7f5a16; background: #fff0cc; }
.direct-focus-stock-name em.is-observation { color: #60757c; background: #edf2f3; }
.direct-focus-stocks tr.is-empty td { padding: 18px 13px; color: #78878c; font-size: 10.5px; text-align: center; }

/* 市场情绪锚是需要逐行阅读的证据表，不使用小号数据密度字体。 */
.direct-focus-stocks.is-emotion-anchor > header strong {
  font-size: 22px;
  line-height: 1.3;
}

.direct-focus-stocks.is-emotion-anchor > header small {
  font-size: 13px;
  line-height: 1.65;
}

.direct-focus-stocks.is-emotion-anchor th {
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 12px;
  line-height: 1.4;
}

.direct-focus-stocks.is-emotion-anchor td {
  padding-top: 15px;
  padding-bottom: 15px;
}

.direct-focus-stocks.is-emotion-anchor td p {
  color: #294750;
  font-size: 14px;
  line-height: 1.72;
}

.direct-focus-stocks.is-emotion-anchor .direct-focus-stock-name strong {
  font-size: 15.5px;
  line-height: 1.4;
}

.direct-focus-stocks.is-emotion-anchor .direct-focus-stock-name small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.direct-focus-stocks.is-emotion-anchor .direct-focus-stock-name em {
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 10.5px;
  line-height: 1.4;
}

.direct-forecast-card {
  margin: 14px 22px 0;
  padding: 13px 15px;
  border: 1px solid #dce7e7;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbfa, #fff);
}

.direct-forecast-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direct-forecast-card > header span,
.direct-state-grid span,
.direct-ticket-actions span,
.direct-validation-grid span,
.direct-contingency-list > span {
  display: block;
  color: #718188;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.direct-forecast-card > header strong {
  display: block;
  margin-top: 3px;
  color: #143b40;
  font-size: 19px;
}

.direct-forecast-card > header em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #8a641d;
  background: #fff5d9;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.direct-forecast-card > p {
  margin: 9px 0 0;
  color: #8a6d37;
  font-size: 10px;
}

.direct-probability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.direct-probability-grid > div {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e3eaec;
  border-radius: 9px;
  background: #fff;
}

.direct-probability-grid > div.is-primary { border-color: #9fcfc6; box-shadow: inset 0 0 0 1px #d9eee9; }
.direct-probability-grid span { color: #667b82; font-size: 9.5px; font-weight: 800; }
.direct-probability-grid b { float: right; color: #26444c; font-size: 11px; }
.direct-probability-grid i { display: block; clear: both; height: 4px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #edf1f2; }
.direct-probability-grid u { display: block; height: 100%; border-radius: inherit; background: #738991; text-decoration: none; }
.direct-probability-grid .is-good u { background: #18a584; }
.direct-probability-grid .is-warn u { background: #d59a28; }
.direct-probability-grid .is-bad u { background: #d6656e; }

.direct-state-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 9px 22px 0;
}

.direct-state-grid > div {
  min-width: 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f3f7f7;
}

.direct-state-grid strong { display: block; margin-top: 3px; color: #29464d; font-size: 11.5px; overflow-wrap: anywhere; }

.direct-decision-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.7fr);
  gap: 12px;
  padding: 14px 22px 12px;
}

.direct-direction-card,
.direct-ticket-card {
  min-width: 0;
  border: 1px solid #dfe8ea;
  border-radius: 12px;
  background: #fff;
}

.direct-direction-card {
  padding: 16px;
  border-left: 4px solid var(--causal-tone);
  background: linear-gradient(135deg, #f4faf8, #fff);
}

.direct-direction-card strong {
  display: block;
  margin-top: 7px;
  color: #0a715f;
  font-size: 24px;
  line-height: 1.25;
}

.direct-direction-card p {
  margin: 7px 0 0;
  color: #63767d;
  font-size: 11px;
  line-height: 1.55;
}

.direct-opportunity-map {
  margin: 14px 22px 0;
  padding: 15px;
  border: 1px solid #d8e6e4;
  border-radius: 13px;
  background: linear-gradient(145deg, #f4faf8, #fff 58%);
}

.direct-opportunity-map > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dce8e6;
}

.direct-opportunity-map > header span,
.direct-opportunity-who > strong,
.direct-opportunity-who section > header span {
  display: block;
  color: #5f777b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.direct-opportunity-map > header strong {
  display: block;
  margin-top: 4px;
  color: #0c6f60;
  font-size: 19px;
  line-height: 1.35;
}

.direct-opportunity-map > header p {
  margin: 4px 0 0;
  color: #667b80;
  font-size: 10.5px;
  line-height: 1.5;
}

.direct-opportunity-map > header > em {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  color: #08715d;
  background: #e3f4ef;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.direct-opportunity-map.is-observe-only {
  border-color: #e9d9b4;
  background: linear-gradient(145deg, #fffaf0, #fff 58%);
}

.direct-opportunity-map.is-observe-only > header strong { color: #9a6714; }
.direct-opportunity-map.is-observe-only > header > em { color: #956312; background: #fff0c9; }

.direct-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.direct-opportunity-direction {
  min-width: 0;
  padding: 13px;
  border: 1px solid #dfe8e9;
  border-radius: 11px;
  background: #fff;
}

.direct-opportunity-direction > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.direct-opportunity-direction > header > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #168d78;
  font-size: 9px;
  font-weight: 900;
}

.direct-opportunity-direction > header strong { color: #173740; font-size: 14px; }
.direct-opportunity-direction > header p { margin: 2px 0 0; color: #708187; font-size: 9.5px; }

.direct-opportunity-evidence {
  display: grid;
  gap: 3px;
  margin: 9px 0 0;
  padding: 8px 10px 8px 25px;
  border-radius: 8px;
  color: #506970;
  background: #f4f8f8;
  font-size: 9.5px;
  line-height: 1.45;
}

.direct-opportunity-who {
  display: grid;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed #dce5e7;
}

.direct-opportunity-who section > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.direct-opportunity-who section > header span { color: #244850; }
.direct-opportunity-who section:first-of-type > header span { color: #92691f; }
.direct-opportunity-who section > header small { color: #88969a; font-size: 8.5px; }
.direct-opportunity-who section > div { display: grid; gap: 5px; }

.direct-opportunity-reference {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e2e9ea;
  border-left: 3px solid #6f97a2;
  border-radius: 8px;
  background: #fafcfc;
}

.direct-opportunity-reference.is-anchor { border-left-color: #c28a2c; background: #fffaf1; }
.direct-opportunity-reference.is-capacity { border-left-color: #5a849c; background: #f4f8fb; }
.direct-opportunity-reference.is-unclassified { border-left-color: #a6afb3; background: #f7f8f8; }
.direct-core-qualification-diagnostics { margin-top: 10px; font-size: 11px; color: #607983; }
.direct-core-qualification-diagnostics summary { cursor: pointer; font-weight: 700; }
.direct-core-qualification-diagnostics ul { padding-left: 18px; }
.direct-core-qualification-diagnostics li { margin-top: 7px; }
.direct-core-qualification-diagnostics li > span,
.direct-core-qualification-diagnostics li > small:last-child { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.direct-opportunity-reference.is-trade { border-left-color: #159077; background: #f5fbf9; }
.direct-opportunity-reference > div { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.direct-opportunity-reference strong { color: #1c3942; font-size: 11px; }
.direct-opportunity-reference small { color: #829095; font-size: 8.5px; }
.direct-opportunity-reference em { margin-left: auto; color: #667d82; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.direct-opportunity-reference p { margin: 4px 0 0; color: #526a71; font-size: 9px; line-height: 1.4; }
.direct-opportunity-reference > span { display: block; margin-top: 3px; color: #a27019; font-size: 8px; font-weight: 800; }
.direct-opportunity-reference ul { display: grid; gap: 2px; margin: 5px 0 0; padding-left: 15px; color: #65777d; font-size: 8.5px; line-height: 1.4; }

.direct-opportunity-empty {
  margin: 10px 0 0;
  padding: 10px;
  border: 1px dashed #d8e1e3;
  border-radius: 8px;
  color: #79898e;
  background: #f7f9f9;
  font-size: 9.5px;
  line-height: 1.45;
}

.direct-decision-main.is-opportunity-mode { grid-template-columns: 1fr; }

.direct-ticket-card { padding: 13px 15px; }
.direct-ticket-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.direct-ticket-card > header b { color: #33505a; font-size: 10px; }
.direct-ticket-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 9px; margin-top: 9px; }

.direct-ticket-list article {
  padding: 11px 12px;
  border-radius: 9px;
  background: #f7faf9;
}

.direct-ticket-name {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 2px 8px;
}

.direct-ticket-name > span {
  grid-row: 1 / 3;
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  color: #08715d;
  background: #dff3ec;
  font-size: 9px;
  font-weight: 900;
}

.direct-ticket-name strong { color: #18353f; font-size: 16px; }
.direct-ticket-name small { color: #73838a; font-size: 10px; }
.direct-ticket-name em {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: #4d656e;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.direct-ticket-list article > p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  margin: 0;
  color: #596f77;
  font-size: 10.5px;
  line-height: 1.55;
}

.direct-ticket-list article > p b { color: #1b6e64; white-space: nowrap; }
.direct-ticket-empty { margin-top: 9px; padding: 13px; border-radius: 9px; background: #f4f6f7; }
.direct-ticket-empty strong { color: #3f555e; font-size: 13px; }
.direct-ticket-empty p { margin: 4px 0 0; color: #78868c; font-size: 10.5px; }

.direct-ticket-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.direct-ticket-actions > div {
  min-width: 0;
  padding: 8px;
  border: 1px solid #e2e9eb;
  border-radius: 8px;
  background: #fff;
}

.direct-ticket-actions .is-buy { border-top: 2px solid #13967b; }
.direct-ticket-actions .is-hold { border-top: 2px solid #4b8fb5; }
.direct-ticket-actions .is-sell { border-top: 2px solid #cf6570; }
.direct-ticket-actions .is-time { border-top: 2px solid #c28b31; }
.direct-ticket-actions p { margin: 4px 0 0; color: #405b63; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }

.direct-ticket-allocation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 10px;
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid #cfe3de;
  border-radius: 8px;
  background: #eef8f5;
  color: #245f56;
  font-size: 10.5px;
}

.direct-ticket-allocation span { font-weight: 800; }
.direct-ticket-allocation b { font-weight: 700; }

.direct-cash-card {
  margin-top: 9px;
  padding: 13px;
  border: 1px dashed #d5dfe2;
  border-radius: 9px;
  background: #f5f7f8;
}

.direct-cash-card strong { color: #344f58; font-size: 13px; }
.direct-cash-card p { margin: 4px 0 0; color: #75858b; font-size: 10.5px; line-height: 1.5; }

.direct-contingency-list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dce4e6;
}

.direct-contingency-list p { display: flex; align-items: baseline; gap: 7px; margin: 0; min-width: 0; }
.direct-contingency-list b { color: #4e6269; font-size: 10.5px; }
.direct-contingency-list small { color: #7c888d; font-size: 9.5px; overflow-wrap: anywhere; }

.direct-action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin: 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  color: #fff;
  background: #163e3d;
}

.direct-action-card > span { color: #90cdc2; }
.direct-action-card > strong { font-size: 13px; line-height: 1.55; }

.direct-validation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 9px 22px 0;
}

.direct-validation-grid > div { min-width: 0; padding: 9px 11px; border-radius: 8px; }
.direct-validation-grid .is-upgrade { background: #eef8f4; }
.direct-validation-grid .is-downgrade { background: #fff4f4; }
.direct-validation-grid p { margin: 3px 0 0; color: #4e656c; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }

.direct-cancel-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 9px 22px 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: #fff5f5;
}

.direct-cancel-line > span { color: #a33e47; }
.direct-cancel-line p { margin: 0; color: #784e54; font-size: 10.5px; line-height: 1.5; }
.direct-cancel-line em { color: #08715d; font-size: 9.5px; font-style: normal; font-weight: 800; white-space: nowrap; }

.direct-decision-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 22px;
  border-top: 1px solid #e2eaec;
  color: #7b898e;
  font-size: 10px;
}

.direct-decision-footer button {
  border: 0;
  color: #08766a;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.review-strength-detail-body { padding: 0 12px 12px; }
.review-strength-details .causal-chain-steps { margin-top: 0; }
.review-decision-details { padding: 0 !important; overflow: hidden; }
.review-decision-details > summary { padding: 17px 20px; }
.review-decision-details-body {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-top: 1px solid #e1e8ea;
  background: #f5f8f9;
}
.review-decision-details-body > .panel,
.review-decision-details-body .decision-grid > .panel { margin: 0; box-shadow: none; }

.review-core-emotion-basket {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #dfe8ea;
  border-radius: 10px;
  background: #f8fbfb;
}

.review-core-emotion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.review-core-emotion-head strong { color: #17343b; font-size: 12px; }
.review-core-emotion-head span { color: #71848a; font-size: 9.5px; }

.review-core-emotion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.review-core-emotion-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e0e8ea;
  border-left: 3px solid #8aa7ad;
  border-radius: 8px;
  background: #fff;
}

.review-core-emotion-grid article.is-negative_feedback { border-left-color: #c95862; background: #fff8f8; }
.review-core-emotion-grid article.is-divergence { border-left-color: #d39539; background: #fffaf2; }
.review-core-emotion-grid article.is-expectation_overdrawn,
.review-core-emotion-grid article.is-acceleration { border-left-color: #b67b2c; }
.review-core-emotion-grid article.is-supported,
.review-core-emotion-grid article.is-consensus_resume { border-left-color: #148a70; background: #f5fbf9; }

.review-core-emotion-grid article > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.review-core-emotion-grid article strong { color: #17343b; font-size: 11px; }
.review-core-emotion-grid article small { color: #8a999e; font-size: 8.5px; }
.review-core-emotion-grid article > span { display: block; margin-top: 4px; color: #466168; font-size: 9px; font-weight: 800; }
.review-core-emotion-grid article p { margin: 6px 0 0; color: #60747a; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.review-core-emotion-grid article em { display: block; margin-top: 6px; color: #08715d; font-size: 8.5px; font-style: normal; font-weight: 800; }
.review-core-emotion-basket > .decision-note { margin: 9px 0 0; }

@media (max-width: 900px) {
  .direct-decision-main { grid-template-columns: 1fr; }
  .direct-ticket-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-core-emotion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct-stage-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direct-opportunity-stock-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .direct-focus-stocks > header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .direct-focus-stocks > header small { max-width: none; text-align: left; overflow-wrap: anywhere; }
  .direct-focus-stocks table { min-width: 0; width: 100%; }
  .direct-focus-stocks th:first-child { width: 24%; }
  .direct-focus-stocks th:nth-child(2) { width: 34%; }
  .direct-focus-stocks th:nth-child(3) { width: 42%; }
  .direct-focus-stocks th,
  .direct-focus-stocks td { padding-left: 9px; padding-right: 9px; }
  .direct-focus-stocks td p { font-size: 10px; line-height: 1.55; }
  .direct-focus-stock-name strong { font-size: 11.5px; }
  .direct-focus-stock-name em { width: auto; padding: 3px 5px; line-height: 1.3; }
}

@media (max-width: 620px) {
  .direct-decision-head { grid-template-columns: 1fr; gap: 12px; padding: 17px 16px 15px; }
  .direct-stage-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct-focus-stocks, .direct-current-preference { margin: 11px 16px 0; }
  .direct-focus-stocks > header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .direct-focus-stocks > header small { text-align: left; }
  .direct-focus-stocks th,
  .direct-focus-stocks td { padding-left: 10px; padding-right: 10px; }
  .direct-opportunity-stock-grid { padding: 10px; }
  .direct-decision-main { padding: 12px 16px 10px; }
  .direct-forecast-card { margin: 11px 16px 0; }
  .direct-forecast-card > header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .direct-state-grid { grid-template-columns: 1fr; margin: 8px 16px 0; }
  .direct-opportunity-map { margin: 11px 16px 0; padding: 12px; }
  .direct-opportunity-map > header { flex-direction: column; gap: 7px; }
  .direct-opportunity-grid { grid-template-columns: 1fr; }
  .direct-opportunity-who section > header { align-items: flex-start; flex-direction: column; gap: 2px; }
  .direct-direction-card strong { font-size: 21px; }
  .direct-action-card { grid-template-columns: 1fr; gap: 4px; margin: 0 16px; }
  .direct-validation-grid { grid-template-columns: 1fr; margin: 8px 16px 0; }
  .direct-cancel-line { grid-template-columns: 1fr; gap: 3px; margin: 8px 16px 0; }
  .direct-cancel-line em { white-space: normal; }
  .direct-decision-footer { align-items: flex-start; flex-direction: column; padding: 10px 16px 13px; }
  .direct-ticket-name { grid-template-columns: auto minmax(0, 1fr); }
  .review-decision-details-body { padding: 10px; }
  .review-core-emotion-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .review-core-emotion-grid { grid-template-columns: 1fr; }
}

/* ===== Tomorrow opportunity: plain language and readable type ===== */
.decision-direct-card {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.direct-decision-head > div:first-child > span,
.direct-direction-card > span,
.direct-ticket-card > header span,
.direct-action-card > span,
.direct-cancel-line > span,
.direct-forecast-card > header span,
.direct-state-grid span,
.direct-ticket-actions span,
.direct-validation-grid span,
.direct-contingency-list > span,
.direct-opportunity-map > header span,
.direct-opportunity-who > strong,
.direct-opportunity-who section > header span {
  font-size: 12px;
}

.direct-decision-head h3 {
  font-size: clamp(28px, 2.2vw, 32px);
}

.direct-decision-head p,
.direct-opportunity-map > header p,
.direct-direction-card p,
.direct-action-card > strong,
.direct-validation-grid p,
.direct-cancel-line p,
.direct-cash-card p,
.direct-opportunity-empty {
  font-size: 14px;
}

.direct-opportunity-map > header strong {
  font-size: clamp(24px, 2vw, 29px);
}

.direct-opportunity-map > header > em {
  font-size: 12px;
}

.direct-opportunity-explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.direct-opportunity-explanation > section {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #eadfca;
  border-radius: 10px;
  background: rgba(255, 250, 239, 0.88);
}

.direct-opportunity-explanation > section:last-child {
  border-color: #d5e8e2;
  background: rgba(240, 249, 246, 0.9);
}

.direct-opportunity-explanation strong {
  color: #453c2f;
  font-size: 16px;
}

.direct-opportunity-explanation ul,
.direct-opportunity-explanation p {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: #566a70;
  font-size: 14px;
  line-height: 1.65;
}

.direct-opportunity-direction > header strong,
.direct-opportunity-reference strong,
.direct-cash-card strong {
  font-size: 16px;
}

.direct-opportunity-direction > header p,
.direct-opportunity-who section > header small,
.direct-opportunity-reference small,
.direct-opportunity-reference em,
.direct-opportunity-reference p,
.direct-opportunity-reference > span,
.direct-opportunity-reference ul {
  font-size: 12px;
}

.direct-opportunity-reference mark {
  display: inline-flex;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0b7064;
  background: #e5f4ef;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.direct-opportunity-direction-evidence {
  margin-top: 10px;
}

.direct-opportunity-direction-evidence > summary {
  color: #5c7076;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.direct-opportunity-direction-evidence .direct-opportunity-evidence {
  font-size: 13px;
}

@media (max-width: 720px) {
  .direct-opportunity-explanation {
    grid-template-columns: 1fr;
  }

  .direct-decision-head h3,
  .direct-opportunity-map > header strong {
    font-size: 25px;
  }
}


/* Current-day sentiment observation; cross-day audit stays collapsed. */
.daily-emotion-cores { margin: 14px 0; padding: 16px; border: 1px solid #cddfdf; border-radius: 14px; background: #f5fbfa; }
.daily-emotion-cores > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.daily-emotion-cores > header span, .daily-emotion-note { color: #657f8a; font-size: 12px; }
.daily-emotion-note { margin: 7px 0 12px; }
.daily-emotion-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.daily-emotion-card { padding: 13px; background: #fff; border: 1px solid #d7e6e5; border-radius: 10px; min-width: 0; }
.daily-emotion-card > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.daily-emotion-card small { color: #718692; font-size: 11px; }
.daily-emotion-card b { margin-left: auto; font-size: 13px; }
.daily-emotion-card p { margin: 8px 0; color: #52707c; font-size: 12px; }
.daily-emotion-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.daily-emotion-tags span { font-size: 11px; padding: 4px 8px; border-radius: 12px; color: #087d70; background: #e5f5f1; }
.daily-emotion-tags .is-secondary { color: #657b85; background: #f0f4f5; }
.daily-emotion-card.is-negative { border-color: #e5bbb4; }
.daily-emotion-card.is-negative .daily-emotion-tags span:first-child { color: #ad433b; background: #fff0ec; }
.daily-emotion-card > .daily-emotion-note { display: block; margin: 8px 0 0; }
.daily-emotion-audit { margin: 12px 0; border-top: 1px dashed #d6e2e5; padding-top: 10px; }
.daily-emotion-audit > summary { cursor: pointer; color: #627d89; font-size: 12px; }

.direct-opportunity-refresh { margin: 0; padding: 9px 16px; color: #567680; background: #f4faf9; border-bottom: 1px solid #dce8e8; font-size: 12px; }
.direct-opportunity-tags .is-membership { color: #647887; background: #eef2f4; border-color: #d9e2e5; }
.direct-opportunity-cautions { display: block; color: #758793; font-size: 11px; margin-top: 8px; }

.theme-profit-observation { margin: 16px 0; padding: 18px; border: 1px solid #cbdedd; border-radius: 14px; background: #f7fbfa; }
.theme-profit-observation > header, .theme-profit-card > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.theme-profit-observation > header strong { color: #183f49; font-size: 17px; }
.theme-profit-observation small, .theme-profit-scope { color: #647d87; font-size: 11px; }
.theme-profit-scope { margin: 7px 0 14px; }
.theme-profit-group h4 { margin: 15px 0 9px; color: #506e78; font-size: 12px; }
.theme-profit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.theme-profit-card { min-width: 0; padding: 13px; border: 1px solid #d9e5e5; border-radius: 10px; background: #fff; }
.theme-profit-card.is-positive { border-color: #bcded4; }
.theme-profit-card > header strong { color: #173f49; font-size: 15px; }
.theme-profit-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.theme-profit-tags span { border-radius: 12px; padding: 4px 8px; background: #e4f3ed; color: #177b65; font-size: 11px; }
.theme-profit-tags .is-secondary { background: #eef3f5; color: #5d7480; }
.theme-profit-card p { color: #456573; font-size: 12px; margin: 9px 0; line-height: 1.6; }
.theme-profit-card > small { display: block; margin-top: 5px; line-height: 1.5; }
.theme-profit-auxiliary { margin: 12px 0; border-top: 1px dashed #d1dfdf; padding: 10px 0; }
.theme-profit-auxiliary > summary { color: #597582; cursor: pointer; font-size: 12px; }
.theme-profit-auxiliary > p, .theme-profit-empty { color: #718893; font-size: 12px; }
