:root {
  color-scheme: light;
  --bg: #f2f4f5;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #5f6873;
  --line: #cfd6dd;
  --blue: #1d4ed8;
  --green: #0f766e;
  --amber: #b45309;
  --red: #b91c1c;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 16px;
  border-bottom: 3px solid var(--ink);
  background: #ffffff;
}

.eyebrow {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: inherit;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  font-size: 17px;
  line-height: 1.25;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.page-link {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.page-link:hover {
  color: #12399a;
}

.page-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 4px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.topbar-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.clock-stack {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.clock-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.clock-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.clock-row time {
  color: var(--ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.status-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: #f9fbfc;
  white-space: nowrap;
}

.layout {
  display: grid;
  gap: 16px;
  padding: 20px 32px 32px;
}

.symbol-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.symbol-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.symbol-tab-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.symbol-tab-outlook {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex-shrink: 0;
}

.symbol-tab strong {
  font-size: 15px;
  line-height: 1.2;
}

.symbol-tab small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.symbol-tab .tomorrow-badge {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.symbol-tab .tomorrow-badge.long,
.symbol-tab .tomorrow-badge.long_watch {
  color: var(--green);
  background: rgba(15, 118, 110, 0.1);
}

.symbol-tab .tomorrow-badge.short,
.symbol-tab .tomorrow-badge.short_watch {
  color: var(--red);
  background: rgba(185, 28, 28, 0.09);
}

.symbol-tab .tomorrow-badge.hold,
.symbol-tab .tomorrow-badge.neutral {
  color: var(--muted);
  background: #eef2f5;
}

.symbol-tab.is-active {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--ink);
}

.symbol-tab:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.symbol-pages {
  min-width: 0;
}

.symbol-page {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px 28px;
  align-items: start;
  align-content: start;
  min-height: calc(100vh - 190px);
  padding: 24px;
}

.symbol-page[hidden] {
  display: none;
}

.quote-pane,
.analysis-pane {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.article-lead {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-kicker span,
.article-kicker time {
  border-right: 1px solid var(--line);
  padding-right: 8px;
}

.article-kicker :last-child {
  border-right: 0;
  padding-right: 0;
}

.article-lead h2 {
  font-family: inherit;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.article-lead p {
  max-width: 980px;
  color: #27313d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.news-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
}

.leading-hypothesis {
  display: grid;
  gap: 8px;
  border: 2px solid var(--blue);
  border-left-width: 6px;
  padding: 14px 16px;
  background: #f8fbff;
}

.leading-hypothesis > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.leading-hypothesis > strong {
  font-size: 28px;
  line-height: 1.15;
}

.trade-plan-label {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.leading-hypothesis p {
  max-width: none;
  color: #27313d;
  font-size: 14px;
  line-height: 1.5;
}

.leading-hypothesis small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.leading-hypothesis.short {
  border-color: var(--red);
  background: #fffafa;
}

.leading-hypothesis.short > span {
  color: var(--red);
}

.leading-hypothesis.hold,
.leading-hypothesis.neutral {
  border-color: var(--muted);
  background: #fbfcfd;
}

.hypothesis-factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hypothesis-factors li {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hypothesis-factors b {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.hypothesis-factors span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.historical-regime {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  background: #f7f9fc;
}

.historical-regime small,
.historical-regime b,
.historical-regime p {
  display: block;
}

.historical-regime small {
  color: var(--blue);
  font-weight: 700;
}

.historical-regime b {
  margin-top: 3px;
}

.historical-regime p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reversal-guard {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: #fff5f5;
}

.reversal-guard small,
.reversal-guard b,
.reversal-guard p {
  display: block;
}

.reversal-guard small {
  color: var(--red);
  font-weight: 800;
}

.reversal-guard b {
  margin-top: 3px;
}

.reversal-guard p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.news-flow section {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--ink);
  padding: 2px 0 2px 14px;
}

.news-flow span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-flow strong {
  color: var(--ink);
  font-family: inherit;
  font-size: 24px;
  line-height: 1.15;
}

.news-flow p {
  max-width: none;
  font-size: 14px;
  line-height: 1.55;
}

.news-flow .story-headline {
  max-width: 760px;
  color: #27313d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.editorial-evaluation p {
  font-size: 14px;
  line-height: 1.55;
}

.editorial-evaluation {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.model-cause-list {
  display: grid;
  gap: 7px;
  margin-top: 7px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.model-cause-list > small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.model-cause-summary {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  padding: 8px 10px;
}

.model-cause-summary small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.model-cause-summary p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.model-cause-list ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-cause-list li {
  display: grid;
  grid-template-columns: minmax(92px, 0.3fr) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px solid #e5e9ee;
  padding-bottom: 5px;
}

.model-cause-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.model-cause-list li span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.model-cause-list li p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.counterpoint-summary {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.counterpoint-summary small {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.counterpoint-summary p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.editorial-evaluation small,
.component-digest span,
.proprietary-hypothesis span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.component-digest {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.component-digest p {
  max-width: none;
  font-size: 15px;
  line-height: 1.55;
}

.proprietary-hypothesis {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--blue);
  padding: 2px 0 2px 16px;
}

.proprietary-hypothesis strong {
  font-size: 19px;
  line-height: 1.45;
}

.proprietary-hypothesis p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.proprietary-hypothesis small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.engine-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.engine-stats b {
  color: var(--ink);
  font-size: 12px;
}

.model-conflict-note {
  border-left: 2px solid var(--muted);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
  padding-left: 8px;
}

.decision-policy-note {
  border-left: 2px solid var(--red);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
  padding-left: 8px;
}

.today-cause {
  border-left-color: var(--ink) !important;
}

.outlook-action {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.outlook-action strong {
  font-family: inherit;
  font-size: 18px;
}

.policy-reason {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.policy-reason b {
  color: var(--ink);
}

.tomorrow-outlook.long,
.tomorrow-outlook.long_watch,
.outlook-action.long,
.outlook-action.long_watch {
  border-left-color: var(--red);
}

.tomorrow-outlook.short,
.tomorrow-outlook.short_watch,
.outlook-action.short,
.outlook-action.short_watch {
  border-left-color: var(--blue);
}

.outlook-action.hold strong {
  color: var(--muted);
}

.symbol-head,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.symbol-head strong,
.metric-row strong {
  font-size: 13px;
}

.market {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sparkline {
  width: 100%;
  height: 220px;
  border: 1px solid #e5ebf0;
  border-radius: 0;
  background: #fbfcfd;
}

.chart-axis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px;
  background: #fbfcfd;
}

.chart-axis div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.chart-axis span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.chart-axis strong {
  font-size: 13px;
  line-height: 1.25;
}

.chart-axis p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.price-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-block strong {
  font-family: inherit;
  font-size: 44px;
  line-height: 1;
}

.session-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.quick-facts {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.quick-facts div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.quick-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-facts strong {
  font-size: 16px;
  line-height: 1.35;
}

.state-basis-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.market-chart {
  display: grid;
  gap: 10px;
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.market-chart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.market-chart-head div {
  display: grid;
  gap: 2px;
}

.market-chart-head span,
.market-chart-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.market-chart-head strong {
  font-size: 18px;
  line-height: 1.2;
}

.market-chart-frame {
  position: relative;
  width: 100%;
  height: 520px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.market-chart-widget {
  width: 100%;
  height: 100%;
}

.market-chart-widget .tradingview-widget-container__widget {
  width: 100%;
  height: calc(100% - 30px);
}

.naver-chart-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  background: #ffffff;
}

.naver-chart-stack img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.naver-chart-stack img + img {
  border-top: 1px solid var(--line);
}

.market-chart-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

.market-chart-frame[data-state="ready"] .market-chart-status {
  display: none;
}

.market-chart-frame[data-state="error"] .market-chart-status {
  color: var(--red);
}

.market-chart-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.signal-meter {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  background: #fbfcfd;
}

.d1-meter {
  border-color: var(--ink);
  background: #ffffff;
}

.d1-meter .signal-meter-head strong {
  font-size: 20px;
}

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

.signal-meter-head span,
.signal-decision span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.signal-meter-head strong,
.signal-decision strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.signal-track {
  position: relative;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.24), #eef2f5 50%, rgba(15, 118, 110, 0.24));
}

.volume-note {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.volume-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.volume-note strong {
  font-size: 18px;
}

.volume-note p {
  color: #27313d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.signal-midline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(23, 32, 42, 0.32);
  transform: translateX(-50%);
}

.signal-fill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--signal-left, 50%);
  width: var(--signal-width, 0%);
  border-radius: 999px;
  background: var(--signal-color, var(--muted));
}

.signal-marker {
  position: absolute;
  top: 50%;
  left: var(--signal-pos, 50%);
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--signal-color, var(--muted));
  box-shadow: 0 2px 7px rgba(23, 32, 42, 0.24);
  transform: translate(-50%, -50%);
}

.change,
.bias {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.change.up,
.bias.long,
.bias.long_watch {
  color: var(--green);
  background: rgba(15, 118, 110, 0.1);
}

.change.down,
.bias.short,
.bias.short_watch {
  color: var(--red);
  background: rgba(185, 28, 28, 0.09);
}

.change.flat,
.bias.neutral,
.bias.hold {
  color: var(--muted);
  background: #eef2f5;
}

.metric-row {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.metric-row strong {
  color: var(--ink);
}

.analysis-block {
  display: grid;
  gap: 14px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.llm-block {
  border-top: 0;
  padding-top: 0;
}

.d1-block {
  border-top: 0;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
}

.llm-summary {
  color: var(--ink);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.42;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.forecast-grid section {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.forecast-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.forecast-grid p {
  color: #27313d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.market-brief {
  opacity: 0.78;
}

.market-brief .sparkline {
  height: 150px;
}

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

.context-block {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  background: #fbfcfd;
}

.analysis-block h3,
.context-block h3 {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  line-height: 1.25;
}

.context-block h3 {
  font-size: 15px;
}

.trend-status-note {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.trend-status-note.stale,
.trend-status-note.unavailable {
  color: var(--red);
}

.trend-status-note.fresh {
  color: var(--green);
}

.flow-block {
  grid-column: 1 / -1;
  background: #ffffff;
}

.flow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.flow-heading div {
  display: grid;
  gap: 3px;
}

.flow-heading span,
.flow-heading time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.flow-read {
  color: #27313d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.investor-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.investor-flow-grid div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.investor-flow-grid div + div {
  border-left: 1px solid var(--line);
}

.investor-flow-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.investor-flow-grid strong {
  font-size: 15px;
}

.investor-flow-grid .up {
  color: var(--green);
}

.investor-flow-grid .down {
  color: var(--red);
}

.investor-flow-grid .flat {
  color: var(--muted);
}

.flow-balance {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.flow-balance-heading,
.flow-balance-values {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.flow-balance-heading span,
.flow-balance-values {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.flow-balance-heading strong {
  font-size: 12px;
}

.flow-balance-heading strong.buy,
.flow-balance-values .buy {
  color: var(--green);
}

.flow-balance-heading strong.sell,
.flow-balance-values .sell {
  color: var(--red);
}

.flow-balance-heading strong.balanced {
  color: var(--muted);
}

.flow-balance-track {
  display: flex;
  height: 14px;
  overflow: hidden;
  background: #f3e9e9;
}

.flow-balance-fill {
  display: block;
  min-width: 0;
}

.flow-balance-fill.buy {
  background: var(--green);
}

.flow-balance-fill.sell {
  background: var(--red);
}

.flow-balance p {
  margin: 0;
  color: #27313d;
  font-size: 12px;
  line-height: 1.45;
}

.flow-source {
  width: fit-content;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.context-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.context-list li {
  display: grid;
  gap: 6px;
  min-width: 0;
  border-top: 1px solid #e5e9ee;
  padding: 10px 0;
}

.context-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.event-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.event-meta strong {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.event-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.context-list p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  color: var(--ink);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.event-list p b {
  color: var(--muted);
  font-weight: 900;
}

.event-list p span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
}

.context-list .stale-news-note p {
  color: var(--muted);
  font-weight: 700;
}

.context-list .up {
  color: var(--green);
}

.context-list .down {
  color: var(--red);
}

.context-list .flat {
  color: var(--muted);
}

.missing-list strong {
  color: var(--red);
}

.trend-list .trend-balance strong {
  color: var(--blue);
}

.trend-list .trend-positive strong {
  color: var(--green);
}

.trend-list .trend-negative strong {
  color: var(--red);
}

.trend-list .trend-headline {
  border-left: 2px solid var(--line);
  padding-left: 8px;
  color: #27313d;
  font-weight: 700;
}

.trend-list .trend-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reason-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}

.reason-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.reason-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.reason-list.compact {
  gap: 7px;
}

.reason-list .decision-policy-row {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.reason-list .decision-policy-row span {
  color: var(--ink);
}

.reason-list .decision-policy-row p {
  color: #27313d;
  font-weight: 800;
}

.coverage-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.coverage-row strong {
  margin-right: 3px;
  font-size: 12px;
}

.coverage-row span {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 5px 8px;
  background: #f9fbfc;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

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

  .symbol-page {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px 16px;
  }

  .status-strip {
    justify-content: flex-start;
  }

  .topbar-meta {
    justify-items: start;
    width: 100%;
  }

  .clock-stack {
    justify-items: start;
  }

  .clock-row {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }

  .clock-row time {
    font-size: 14px;
    white-space: normal;
  }

  .layout {
    padding: 16px 14px 24px;
  }

  .symbol-tabs {
    grid-template-columns: 1fr;
  }

  .symbol-tab {
    min-height: 58px;
  }

  .news-flow {
    grid-template-columns: 1fr;
  }

  .hypothesis-factors {
    grid-template-columns: 1fr;
  }

  .symbol-page {
    padding: 18px;
  }

  .market-chart-frame {
    height: 380px;
  }

  .price-block strong {
    font-size: 30px;
  }

  .reason-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .context-grid {
    grid-template-columns: 1fr;
  }

  .investor-flow-grid {
    grid-template-columns: 1fr;
  }

  .investor-flow-grid div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .forecast-grid {
    grid-template-columns: 1fr;
  }
}
