.tomorrow-outlook-shell {
  --to-bg: #0b1220;
  --to-panel: #111b2d;
  --to-panel-2: #152238;
  --to-border: #263854;
  --to-text: #e8eef9;
  --to-muted: #8292ac;
  --to-blue: #75a7ff;
  --to-red: #ff6868;
  --to-green: #49d394;
  --to-gold: #d9a85d;
  min-height: calc(100vh - 150px);
  border: 1px solid #1d2d46;
  border-radius: 18px;
  overflow: hidden;
  color: var(--to-text);
  background: var(--to-bg);
  box-shadow: 0 18px 55px rgba(8, 18, 35, .14);
}

.tomorrow-outlook-dashboard { padding: 24px; }
.tomorrow-outlook-dashboard button, .tomorrow-outlook-dashboard input { font: inherit; }
.tomorrow-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 2px 20px; border-bottom: 1px solid var(--to-border); }
.tomorrow-toolbar span, .tomorrow-card header > span, .tomorrow-card header div > span, .tomorrow-compass-card header span, .tomorrow-ai-note > span { color: var(--to-gold); font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; }
.tomorrow-toolbar h2 { margin: 7px 0 5px; color: #dbe9ff; font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -.02em; }
.tomorrow-toolbar p, .tomorrow-card header p, .tomorrow-compass-card header p { margin: 0; color: var(--to-muted); font-size: 13px; }
.tomorrow-toolbar > div > p { max-width: 70ch; line-height: 1.5; }
.tomorrow-date-controls { display: flex; align-items: flex-end; gap: 8px; }
.tomorrow-date-controls label { display: grid; gap: 6px; color: var(--to-muted); font-size: 11px; }
.tomorrow-date-controls input, .tomorrow-date-controls button, .tomorrow-outlook-empty button { min-height: 38px; border: 1px solid #38506f; border-radius: 8px; color: var(--to-text); background: #0e192a; padding: 0 12px; }
.tomorrow-date-controls button, .tomorrow-outlook-empty button { cursor: pointer; color: #fff; border-color: #456fae; background: #275fb7; font-weight: 700; }

.tomorrow-hero { display: grid; grid-template-columns: minmax(300px, 1.5fr) minmax(160px, .55fr) minmax(330px, 1.2fr); margin-top: 18px; border: 1px solid var(--to-border); border-left: 4px solid var(--to-blue); background: var(--to-panel); }
.tomorrow-hero.positive { border-left-color: var(--to-red); }
.tomorrow-hero.negative, .tomorrow-hero.danger { border-left-color: var(--to-green); }
.tomorrow-verdict, .tomorrow-score, .tomorrow-hero dl { padding: 22px; }
.tomorrow-verdict > span, .tomorrow-score > span, .tomorrow-hero dt { display: block; color: var(--to-muted); font-size: 11px; }
.tomorrow-verdict > strong { display: block; margin: 5px 0 8px; color: var(--to-blue); font-size: 32px; letter-spacing: -.04em; }
.tomorrow-hero.positive .tomorrow-verdict > strong { color: var(--to-red); }
.tomorrow-hero.negative .tomorrow-verdict > strong, .tomorrow-hero.danger .tomorrow-verdict > strong { color: var(--to-green); }
.tomorrow-verdict p { margin: 0 0 13px; font-size: 15px; line-height: 1.65; }
.tomorrow-verdict small { color: var(--to-muted); font-size: 11px; }
.tomorrow-score { display: grid; align-content: center; border-inline: 1px solid var(--to-border); }
.tomorrow-score strong { color: #fff; font: 750 48px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.08em; }
.tomorrow-score strong em { color: var(--to-muted); font-size: 13px; font-style: normal; letter-spacing: 0; }
.tomorrow-score small { margin-top: 9px; color: var(--to-gold); }
.tomorrow-hero dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.tomorrow-hero dl div { padding-bottom: 12px; border-bottom: 1px solid #22334d; }
.tomorrow-hero dd { margin: 5px 0 0; font: 700 14px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-basis-strip { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; padding:11px 16px; border:1px solid var(--to-border); border-top:0; color:var(--to-muted); background:var(--to-panel-2); font-size:11px; }
.tomorrow-basis-strip b { color:var(--to-text); font:700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }

.tomorrow-compass-card, .tomorrow-card, .tomorrow-sources { margin-top: 16px; border: 1px solid var(--to-border); border-radius: 12px; background: var(--to-panel); }
.tomorrow-compass-card > header, .tomorrow-card > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--to-border); }
.tomorrow-compass-card h3, .tomorrow-card h3 { margin: 3px 0 0; font-size: 18px; }
.tomorrow-compass { display: grid; grid-template-columns: repeat(3, 1fr); }
.tomorrow-index { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 14px; min-width: 0; padding: 18px 22px; }
.tomorrow-index + .tomorrow-index { border-left: 1px solid var(--to-border); }
.tomorrow-index svg { width: 94px; transform: rotate(-90deg); overflow: visible; }
.tomorrow-index circle { fill: none; stroke-width: 8; }
.tomorrow-index .track { stroke: #22334c; }
.tomorrow-index .value { stroke: var(--to-blue); stroke-linecap: round; }
.tomorrow-index.positive .value { stroke: var(--to-red); }
.tomorrow-index.negative .value { stroke: var(--to-green); }
.tomorrow-index text { fill: var(--to-text); font: 750 22px ui-monospace, SFMono-Regular, Consolas, monospace; text-anchor: middle; transform: rotate(90deg); transform-origin: 54px 54px; }
.tomorrow-index div { display: grid; gap: 5px; }
.tomorrow-index div span, .tomorrow-index div small { color: var(--to-muted); font-size: 11px; }
.tomorrow-index div strong { font-size: 18px; }
.tomorrow-style { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 18px; padding: 13px 20px; border-top: 1px solid var(--to-border); background: var(--to-panel-2); }
.tomorrow-style > span { color: var(--to-muted); font-size: 11px; }
.tomorrow-style > strong { color: var(--to-gold); font-size: 14px; }
.tomorrow-style > small { color: #aab8cc; font: 600 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-style > em { grid-column: 1 / -1; color: var(--to-muted); font-size: 10px; font-style: normal; }

.tomorrow-analysis-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 16px; }
.tomorrow-analysis-grid > .tomorrow-card { display: flex; flex: 1 1 calc((100% - 56px) / 5); flex-direction: column; min-width: 180px; margin-top: 0; }
.tomorrow-analysis-grid > .tomorrow-card > header { min-height: 78px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
.tomorrow-analysis-grid > .tomorrow-card > :not(header) { width: 100%; }
.tomorrow-ai-card-note, .tomorrow-ai-dimension-note { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding: 10px 12px; border-top: 1px solid var(--tomorrow-line); color: var(--tomorrow-muted); font-size: 11px; line-height: 1.55; }
.tomorrow-ai-card-note b, .tomorrow-ai-dimension-note b { color: var(--tomorrow-gold); font-size: 9px; letter-spacing: .08em; }
.tomorrow-analysis-column { display: grid; gap: 16px; min-width: 0; }
.tomorrow-analysis-column > .tomorrow-card { margin-top: 0; }
.tomorrow-card { min-width: 0; overflow: hidden; }
.tomorrow-card ul { list-style: none; margin: 0; padding: 0; }
.tomorrow-card li { display: grid; grid-template-columns: minmax(100px, 1fr) auto; gap: 4px 14px; padding: 13px 18px; border-bottom: 1px solid #20314a; }
.tomorrow-card li span { overflow: hidden; color: #aab8cc; font: 600 11px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.tomorrow-card li strong { color: var(--to-text); font-size: 13px; }
.tomorrow-card li small { grid-column: 1 / -1; color: var(--to-muted); font-size: 10px; }
.tomorrow-card li.empty-row { display: block; color: var(--to-muted); }
.tomorrow-card li.tomorrow-evidence-value { display: block; }
.tomorrow-metric-list { display: flex; flex: 1; flex-direction: column; }
.tomorrow-metric-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tomorrow-metric-list li span { width: 100%; }
.tomorrow-metric-list li strong { font-variant-numeric: tabular-nums; }
.tomorrow-metric-list li strong.positive { color: var(--to-red); }
.tomorrow-metric-list li strong.negative { color: var(--to-green); }
.tomorrow-metric-list li small { width: 100%; }
.tomorrow-proxy-note { margin: 0; padding: 13px 18px; color: var(--to-gold); font-size: 10px; line-height: 1.55; }
.tomorrow-macro { display: grid; gap: 0; border-top: 1px solid var(--to-border); }
.tomorrow-macro > strong, .tomorrow-macro > em { padding: 10px 18px 6px; color: var(--to-gold); font-size: 10px; font-style: normal; }
.tomorrow-macro > span { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 8px 18px; color: #aab8cc; font-size: 11px; }
.tomorrow-macro > span b { color: var(--to-text); }
.tomorrow-macro > span small { color: var(--to-muted); }
.tomorrow-macro.empty { padding: 13px 18px; color: var(--to-muted); font-size: 11px; }
.tomorrow-two-column { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; gap: 16px; }
.tomorrow-theme { border-bottom: 1px solid #20314a; }
.tomorrow-theme > summary { display: grid; grid-template-columns: 30px 1fr auto 54px; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.tomorrow-theme > summary::-webkit-details-marker { display: none; }
.tomorrow-theme > summary > span { color: #5d7291; font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-theme > summary > div { display: grid; gap: 4px; }
.tomorrow-theme > summary > div strong { font-size: 15px; }
.tomorrow-theme > summary > div small { color: var(--to-muted); line-height: 1.45; }
.tomorrow-theme > summary em { border: 1px solid #3b5579; border-radius: 999px; padding: 4px 9px; color: var(--to-blue); font-size: 11px; font-style: normal; }
.tomorrow-theme em.positive { color: var(--to-red); border-color: #6f3d48; }
.tomorrow-theme em.negative { color: var(--to-green); border-color: #2f634f; }
.tomorrow-theme > summary > b { text-align: right; font: 700 13px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-theme-detail { display: grid; gap: 10px; padding: 4px 18px 18px 60px; background: var(--to-panel-2); }
.tomorrow-theme-detail > p { margin: 0; color: #aab8cc; font-size: 12px; line-height: 1.55; }
.tomorrow-theme-detail > p strong { margin-right: 8px; color: var(--to-gold); font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-theme-changes { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 18px; border-bottom:1px solid var(--to-border); background:var(--to-panel-2); }
.tomorrow-theme-changes > strong { margin-right:4px; font-size:12px; }
.tomorrow-theme-changes > span { display:flex; gap:5px; padding:5px 8px; border:1px solid #334a69; border-radius:5px; color:#b8c5d7; font-size:11px; }
.tomorrow-theme-changes > span b { color:var(--to-gold); }
.tomorrow-theme-changes > span.exited b, .tomorrow-theme-changes > span.downgraded b { color:var(--to-green); }
.tomorrow-theme-changes > small { flex-basis:100%; color:var(--to-muted); font-size:9px; }
.tomorrow-theme-changes > details { flex-basis:100%; border-top:1px solid #2b3f5d; padding-top:8px; }
.tomorrow-theme-changes > details summary { cursor:pointer; color:var(--to-blue); font-size:11px; font-weight:700; }
.tomorrow-theme-changes > details > div { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px; margin-top:8px; }
.tomorrow-theme-changes > details span { display:grid; grid-template-columns:auto 1fr; gap:5px 8px; padding:7px 8px; border:1px solid #334a69; border-radius:5px; color:#b8c5d7; font-size:11px; }
.tomorrow-theme-changes > details span b { color:var(--to-gold); }
.tomorrow-theme-changes > details span small { grid-column:1 / -1; color:var(--to-muted); font-size:10px; line-height:1.45; }
.tomorrow-mainline-structure > header { align-items:center; }
.tomorrow-mainline-structure > header p { max-width:56ch; text-align:right; line-height:1.55; }
.tomorrow-mainline-list { display:grid; }
.tomorrow-health-tags { display:flex; flex-wrap:wrap; gap:6px; }
.tomorrow-health-tags span { padding:4px 8px; border:1px solid #6c5432; border-radius:999px; color:var(--to-gold); font-size:10px; }
.tomorrow-health-tags.is-unknown span { border-color:#344963; color:var(--to-muted); }
.tomorrow-theme-detail > dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--to-border); }
.tomorrow-theme-detail > dl div { padding: 8px; background: var(--to-panel); }
.tomorrow-theme-detail dt { color: var(--to-muted); font-size: 9px; }
.tomorrow-theme-detail dd { margin: 3px 0 0; font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-theme-detail h4 { margin: 2px 0 0; color: var(--to-muted); font-size: 10px; }
.tomorrow-representatives { display: flex; flex-wrap: wrap; gap: 6px; }
.tomorrow-representatives > span { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid #304666; border-radius: 6px; }
.tomorrow-representatives b { color: var(--to-text); font-size: 11px; }
.tomorrow-representatives small, .tomorrow-detail-empty { margin: 0; color: var(--to-muted); font-size: 9px; }
.tomorrow-theme-evidence { display: grid; gap: 6px; }
.tomorrow-card .tomorrow-theme-evidence li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 7px 0; border: 0; }
.tomorrow-theme-evidence a, .tomorrow-theme-evidence strong { color: var(--to-text); font-size: 11px; text-decoration: none; }
.tomorrow-theme-evidence a:hover { color: var(--to-blue); text-decoration: underline; }
.tomorrow-evidence-sides { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.tomorrow-evidence-side { padding:10px; border:1px solid #2c405e; background:var(--to-panel); }
.tomorrow-evidence-side h4 { margin:0 0 6px; }
.tomorrow-evidence-side p { margin:0; color:var(--to-muted); font-size:10px; }
.tomorrow-card .tomorrow-evidence-side li { display:grid; grid-template-columns:auto 1fr; gap:7px; padding:5px 0; border:0; }
.tomorrow-evidence-side li strong { font-size:10px; line-height:1.45; }
.tomorrow-risk { display: grid; grid-template-columns: 8px 1fr; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #20314a; }
.tomorrow-risk i { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--to-gold); box-shadow: 0 0 0 5px rgba(217,168,93,.1); }
.tomorrow-risk.high i { background: var(--to-red); box-shadow: 0 0 0 5px rgba(255,104,104,.1); }
.tomorrow-risk.resolved i { background: var(--to-green); box-shadow: 0 0 0 5px rgba(73,211,148,.1); }
.tomorrow-risk.pending i { background:var(--to-gold); box-shadow:0 0 0 5px rgba(217,168,93,.1); }
.tomorrow-risk div { display: grid; gap: 4px; }
.tomorrow-risk span { color: var(--to-muted); font: 600 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-risk strong { font-size: 14px; }
.tomorrow-risk p, .tomorrow-risk small { margin: 0; color: #a9b7ca; font-size: 12px; line-height: 1.5; }
.tomorrow-risk small { color: var(--to-muted); }
.tomorrow-inline-empty { padding: 28px 20px; color: var(--to-muted); font-size: 13px; }
.tomorrow-inline-empty.safe { color: var(--to-green); }

.tomorrow-verify > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.tomorrow-verify article { display: grid; gap: 7px; min-height: 130px; padding: 17px 20px; }
.tomorrow-verify article + article { border-left: 1px solid var(--to-border); }
.tomorrow-verify article span { color: var(--to-gold); font: 600 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-verify article strong { font-size: 15px; }
.tomorrow-verify article p, .tomorrow-verify article small { margin: 0; color: #aab8cb; font-size: 12px; line-height: 1.45; }
.tomorrow-verify article small { color: var(--to-muted); }
.tomorrow-verify article em { justify-self: start; border: 1px solid #49617f; border-radius: 999px; padding: 3px 8px; color: var(--to-muted); font-size: 10px; font-style: normal; }
.tomorrow-verify article em.met { color: var(--to-red); border-color: #70424a; }
.tomorrow-verify article em.missed { color: var(--to-green); border-color: #34634f; }
.tomorrow-verify article em.pending { color:var(--to-gold); border-color:#6c5432; }
.tomorrow-prior-observation { grid-column:1 / -1; display:grid; gap:10px; padding:14px 20px; border-top:1px solid var(--to-border); color:var(--to-muted); font-size:11px; }
.tomorrow-prior-observation strong { color:var(--to-text); }
.tomorrow-prior-observation > header { display:flex; justify-content:space-between; gap:12px; }
.tomorrow-prior-observation > div { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.tomorrow-prior-observation article { min-height:0; padding:12px; border:1px solid #2d4261; background:var(--to-panel-2); }
.tomorrow-prior-observation article + article { border-left:1px solid #2d4261; }
.tomorrow-prior-observation article em { margin-top:2px; }
.tomorrow-prior-observation article small { color:var(--to-muted); }
.tomorrow-ai-note { margin-top: 16px; padding: 18px 20px; border: 1px solid #644f31; border-left: 4px solid var(--to-gold); background: #181b24; }
.tomorrow-ai-note strong { display: block; margin-top: 4px; }
.tomorrow-ai-note p { margin: 9px 0; line-height: 1.65; }
.tomorrow-ai-note small { color: var(--to-muted); }
.tomorrow-ai-note ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 12px 0; padding: 1px; list-style: none; background: #493f31; }
.tomorrow-ai-note li { display: grid; gap: 4px; padding: 11px; background: #181b24; }
.tomorrow-ai-note li b { color: var(--to-gold); font: 700 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-ai-note li span { font-size: 12px; line-height: 1.5; }
.tomorrow-ai-note li small { font-size: 9px; line-height: 1.45; }
.tomorrow-ai-note .tomorrow-ai-limit { color: var(--to-muted); font-size: 11px; }
.tomorrow-ai-invalidations { display:grid; gap:5px; margin:10px 0; padding:10px; border:1px solid #594a35; background:rgba(217,168,93,.05); }
.tomorrow-ai-invalidations strong { margin:0; color:var(--to-gold); font-size:11px; }
.tomorrow-ai-invalidations span { color:#c7d0dd; font-size:11px; line-height:1.5; }
.tomorrow-history-chart { padding: 8px 16px 3px; }
.tomorrow-history-chart svg { display: block; width: 100%; max-height: 190px; }
.tomorrow-history-chart line { stroke: #34465f; stroke-dasharray: 5 5; }
.tomorrow-history-chart .score-segment { stroke:var(--to-blue); stroke-width:3; stroke-linecap:round; stroke-dasharray:none; }
.tomorrow-history-chart circle { fill: var(--to-bg); stroke: var(--to-blue); stroke-width: 3; }
.tomorrow-history-chart circle.met { stroke: var(--to-red); }
.tomorrow-history-chart circle.missed { stroke: var(--to-green); }
.tomorrow-history-chart text { fill: var(--to-muted); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-history-chart p { margin: 0 14px 10px; color: var(--to-muted); font-size: 10px; }
.tomorrow-sources summary { cursor: pointer; padding: 15px 18px; color: #becbdd; font-weight: 700; }
.tomorrow-sources summary span { float: right; color: var(--to-muted); font-weight: 400; }
.tomorrow-source-scroll { overflow-x: auto; border-top: 1px solid var(--to-border); }
.tomorrow-sources table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 11px; }
.tomorrow-sources th, .tomorrow-sources td { padding: 11px 14px; border-bottom: 1px solid #20314a; text-align: left; }
.tomorrow-sources th { color: var(--to-muted); font-weight: 600; }
.tomorrow-sources td { color: #bdc9d9; }
.tomorrow-outlook-loading, .tomorrow-outlook-empty { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 520px; padding: 30px; text-align: center; }
.tomorrow-outlook-loading i { width: 42px; height: 42px; border: 2px solid #2c405f; border-top-color: var(--to-blue); border-radius: 50%; animation: tomorrow-spin .8s linear infinite; }
.tomorrow-outlook-loading span, .tomorrow-outlook-empty p { max-width: 560px; color: var(--to-muted); line-height: 1.6; }
.tomorrow-empty-controls { display:flex; align-items:flex-end; gap:8px; margin-top:8px; }
.tomorrow-empty-controls label { display:grid; gap:6px; color:var(--to-muted); font-size:11px; text-align:left; }
.tomorrow-empty-controls input { min-height:38px; border:1px solid #38506f; border-radius:8px; color:var(--to-text); background:#0e192a; padding:0 10px; }
.tomorrow-outlook-empty > span { color: var(--to-gold); font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; }
.tomorrow-outlook-empty h2 { margin: 5px 0 0; }
.tomorrow-member-gate { display:grid; align-content:center; justify-items:center; gap:14px; min-height:520px; padding:40px 20px; text-align:center; background:radial-gradient(circle at 50% 18%, rgba(61,112,194,.18), transparent 34%); }
.tomorrow-member-gate > span { color:var(--to-gold); font:700 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing:.18em; }
.tomorrow-member-gate h2 { width:100%; max-width:720px; margin:0; font-size:clamp(24px,2.7vw,40px); letter-spacing:-.04em; }
.tomorrow-member-gate > p { max-width:680px; margin:0; color:var(--to-muted); line-height:1.75; }
.tomorrow-member-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(760px,100%); margin:8px 0; border:1px solid var(--to-border); border-radius:12px; overflow:hidden; background:var(--to-border); gap:1px; text-align:left; }
.tomorrow-member-benefits article { display:grid; grid-template-columns:34px 1fr; align-items:center; gap:10px; min-height:68px; padding:14px 16px; background:var(--to-panel); }
.tomorrow-member-benefits b { color:var(--to-gold); font:700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-member-benefits strong { font-size:13px; line-height:1.5; }
.tomorrow-member-gate > button { min-height:46px; padding:0 28px; border:1px solid #5b8fe0; border-radius:9px; color:#fff; background:#2f6fd0; font-weight:800; cursor:pointer; }
.tomorrow-member-gate > small { color:var(--to-muted); }
@keyframes tomorrow-spin { to { transform: rotate(360deg); } }

[data-color-mode="dark"] .tomorrow-outlook-shell { box-shadow: 0 18px 55px rgba(0,0,0,.28); }
[data-color-mode="light"] .tomorrow-outlook-shell { --to-bg:#eef3f9; --to-panel:#fff; --to-panel-2:#f6f8fc; --to-border:#ccd9e9; --to-text:#10243f; --to-muted:#61738d; }
.tomorrow-futures { margin-top: 0; }
.tomorrow-futures > header { display: flex; }
.tomorrow-futures > header > strong { color: var(--to-gold); font: 800 28px/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: right; }
.tomorrow-futures > header > strong small { display: block; margin-top: 6px; color: var(--to-muted); font: 600 10px/1.3 system-ui, sans-serif; }
.tomorrow-futures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 14px; border: 1px solid var(--to-border); border-radius: 10px; background: var(--to-border); }
.tomorrow-futures-grid article { display: grid; min-width: 0; gap: 6px; padding: 15px; background: var(--to-panel-2); }
.tomorrow-futures-grid span, .tomorrow-futures-grid small { color: var(--to-muted); font-size: 10px; }
.tomorrow-futures-grid strong { color: var(--to-text); font-size: 14px; }
.tomorrow-futures-grid b { color: var(--to-muted); font: 800 20px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tomorrow-futures-grid b.positive { color: #ef6660; }
.tomorrow-futures-grid b.negative { color: #35bd8a; }
.tomorrow-futures footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 12px; color: var(--to-muted); font-size: 11px; }
.tomorrow-futures footer p { margin: 0; line-height: 1.5; }
.tomorrow-futures footer em { color: var(--to-gold); font-style: normal; }
.tomorrow-ai-note.is-pending { border-style: dashed; opacity: .86; }
[data-color-mode="light"] .tomorrow-score strong { color:#10243f; }
[data-color-mode="light"] .tomorrow-hero dl div, [data-color-mode="light"] .tomorrow-card li, [data-color-mode="light"] .tomorrow-theme, [data-color-mode="light"] .tomorrow-risk, [data-color-mode="light"] .tomorrow-sources th, [data-color-mode="light"] .tomorrow-sources td { border-color:#dce5f0; }
[data-color-mode="light"] .tomorrow-date-controls input { color:#10243f; background:#fff; }
[data-color-mode="light"] .tomorrow-ai-note { background:#fffaf1; }

.tomorrow-decision-grid { display:grid; grid-template-columns:1.35fr 1fr .9fr; grid-template-areas:"today expectation risk" "today posture risk"; gap:12px; margin-top:18px; }
.tomorrow-decision { min-width:0; padding:20px; border:1px solid var(--to-border); background:linear-gradient(150deg,var(--to-panel),#0d1828); }
.tomorrow-decision.today { grid-area:today; position:relative; overflow:hidden; border-left:4px solid var(--to-blue); }
.tomorrow-decision-grid.positive .tomorrow-decision.today { border-left-color:var(--to-red); }
.tomorrow-decision-grid.negative .tomorrow-decision.today, .tomorrow-decision-grid.danger .tomorrow-decision.today { border-left-color:var(--to-green); }
.tomorrow-decision.expectation { grid-area:expectation; }
.tomorrow-decision.posture { grid-area:posture; }
.tomorrow-decision.risk { grid-area:risk; border-top:4px solid var(--to-gold); }
.tomorrow-decision > span { color:var(--to-muted); font-size:12px; font-weight:600; }
.tomorrow-decision h3 { margin:8px 0; font-size:clamp(19px,2vw,31px); line-height:1.15; letter-spacing:-.035em; text-wrap:balance; }
.tomorrow-decision h3 em { color:var(--to-gold); font-size:.62em; font-style:normal; letter-spacing:0; }
.tomorrow-decision p { max-width:64ch; margin:0; color:#c1cddd; font-size:14px; line-height:1.65; text-wrap:pretty; }
.tomorrow-decision > small { display:block; margin-top:12px; color:var(--to-muted); font-size:12px; line-height:1.5; }
.tomorrow-decision.today footer { display:flex; align-items:end; justify-content:space-between; gap:14px; margin-top:22px; }
.tomorrow-decision.today footer strong { font:800 34px/1 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric:tabular-nums; }
.tomorrow-decision.today footer strong small { margin-left:5px; color:var(--to-muted); font:600 11px system-ui,sans-serif; letter-spacing:0; }
.tomorrow-decision.today footer b { color:var(--to-gold); font-size:12px; }
.tomorrow-support-strip { display:grid; grid-template-columns:auto repeat(3,1fr); gap:1px; margin-top:12px; border:1px solid var(--to-border); background:var(--to-border); }
.tomorrow-support-strip > strong, .tomorrow-support-strip article { min-width:0; padding:13px 16px; background:var(--to-panel-2); }
.tomorrow-support-strip > strong { display:grid; place-items:center; color:var(--to-gold); font-size:12px; }
.tomorrow-support-strip article { display:grid; gap:4px; }
.tomorrow-support-strip span, .tomorrow-support-strip small { color:var(--to-muted); font-size:11px; }
.tomorrow-support-strip b { font-size:13px; font-variant-numeric:tabular-nums; }
.tomorrow-report-meta { display:flex; flex-wrap:wrap; gap:7px 18px; padding:10px 3px 0; color:var(--to-muted); font-size:11px; font-variant-numeric:tabular-nums; }
.tomorrow-decision-disclaimer { margin:8px 2px 0; color:var(--to-muted); font-size:11px; }

.tomorrow-section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:28px 0 12px; padding:0 2px 10px; border-bottom:1px solid var(--to-border); }
.tomorrow-section-heading span, .tomorrow-theme-prediction > header span { color:var(--to-gold); font:700 10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.16em; }
.tomorrow-section-heading h2 { margin:4px 0 0; font-size:clamp(21px,2vw,29px); letter-spacing:-.035em; }
.tomorrow-section-heading p { max-width:58ch; margin:0; color:var(--to-muted); font-size:12px; line-height:1.55; text-align:right; }
.tomorrow-market-empty { padding:22px; border:1px solid var(--to-border); border-radius:10px; background:var(--to-panel); }
.tomorrow-market-empty strong { font-size:15px; }
.tomorrow-market-empty p { margin:7px 0 0; color:var(--to-muted); font-size:12px; line-height:1.6; }
.tomorrow-market-forecast { margin:16px 0; padding:18px; border:1px solid var(--to-border); border-radius:12px; background:var(--to-panel); }
.tomorrow-market-forecast > header { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:14px; }
.tomorrow-market-forecast > header span { color:var(--to-gold); font:700 10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.12em; }
.tomorrow-market-forecast > header h3 { margin:4px 0 0; font-size:20px; }
.tomorrow-market-switch { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.tomorrow-market-switch button { min-height:30px; padding:5px 10px; border:1px solid var(--to-border); border-radius:7px; background:transparent; color:var(--to-muted); cursor:pointer; }
.tomorrow-market-switch button.active { border-color:var(--to-blue); background:rgba(64,139,255,.14); color:#dbe9ff; }
.tomorrow-market-forecast-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.tomorrow-market-forecast-card { min-width:0; padding:15px; border:1px solid var(--to-border); border-radius:9px; background:rgba(7,16,29,.34); }
.tomorrow-market-forecast-card > span,.tomorrow-market-forecast-card > small { display:block; color:var(--to-muted); font-size:11px; line-height:1.5; }
.tomorrow-market-forecast-card > strong { display:block; margin:7px 0; font-size:24px; }
.tomorrow-market-forecast-card > p { min-height:42px; margin:9px 0; color:#c1cddd; font-size:12px; line-height:1.55; }
.tomorrow-market-forecast-card > header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.tomorrow-market-forecast-card > header span { color:var(--to-gold); font-size:12px; font-weight:700; }
.tomorrow-market-forecast-card > header strong { color:var(--tomorrow-muted); font-size:10px; }
.tomorrow-market-horizon { display:grid; gap:6px; padding:10px 0; border-top:1px solid var(--tomorrow-line); }
.tomorrow-market-horizon > span,.tomorrow-market-horizon > small { color:var(--tomorrow-muted); font-size:10px; line-height:1.45; }
.tomorrow-market-horizon > strong { font-size:18px; }
.tomorrow-market-probabilities { display:flex; gap:7px; }
.tomorrow-market-probabilities b { flex:1; padding:6px; border-radius:5px; background:rgba(255,255,255,.04); text-align:center; font-size:11px; }
.tomorrow-market-ledger { display:grid; grid-template-columns:160px 1fr; gap:6px 12px; margin-top:14px; padding-top:12px; border-top:1px solid var(--to-border); font-size:11px; }
.tomorrow-market-ledger strong { grid-row:1 / span 10; color:var(--to-muted); }
.tomorrow-market-note { margin:12px 0 0; color:var(--to-muted); font-size:11px; line-height:1.6; }
.tomorrow-theme-prediction { overflow:hidden; border:1px solid var(--to-border); border-radius:12px; background:var(--to-panel); }
.tomorrow-theme-prediction > header { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:17px 20px; border-bottom:1px solid var(--to-border); }
.tomorrow-theme-prediction > header h3 { margin:4px 0 0; font-size:18px; }
.tomorrow-theme-prediction > header p { max-width:48ch; margin:0; color:var(--to-muted); font-size:11px; line-height:1.5; text-align:right; }
.tomorrow-prediction-meta { display:flex; flex-wrap:wrap; gap:6px 16px; padding:11px 18px; border-bottom:1px solid var(--to-border); color:var(--to-muted); background:var(--to-panel-2); font-size:10px; font-variant-numeric:tabular-nums; }
.tomorrow-prediction-meta strong { color:var(--to-gold); }
.tomorrow-prediction-record.is-previous { margin:0 14px 14px; border:1px dashed #405570; }
.tomorrow-prediction-record.is-previous .tomorrow-prediction-meta strong { color:var(--to-muted); }
.tomorrow-prediction-list { display:grid; }
.tomorrow-prediction-theme { display:grid; grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr); min-width:0; border-bottom:1px solid var(--to-border); }
.tomorrow-prediction-theme > header { display:grid; grid-template-columns:minmax(110px,1fr) auto; align-items:center; gap:18px; min-width:0; padding:17px 18px; border-right:1px solid var(--to-border); }
.tomorrow-prediction-theme > header span { display:inline-block; color:var(--to-gold); font-size:10px; }
.tomorrow-prediction-theme h3 { overflow-wrap:anywhere; margin:5px 0 0; font-size:17px; }
.tomorrow-prediction-theme dl { display:grid; grid-template-columns:repeat(2,minmax(78px,1fr)); gap:1px; margin:0; background:var(--to-border); }
.tomorrow-prediction-theme dl div { min-width:0; padding:9px 11px; background:var(--to-panel-2); }
.tomorrow-prediction-theme dt { color:var(--to-muted); font-size:9px; white-space:nowrap; }
.tomorrow-prediction-theme dd { margin:4px 0 0; color:var(--to-text); font:750 17px/1 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:nowrap; }
.tomorrow-probability-change { display:block; min-height:12px; margin-top:4px; color:var(--to-muted); font-size:9px; line-height:1.3; white-space:nowrap; }
.tomorrow-prediction-copy { display:grid; align-content:center; gap:5px; min-width:0; padding:15px 18px; }
.tomorrow-prediction-copy > strong { overflow-wrap:anywhere; font-size:14px; line-height:1.45; }
.tomorrow-prediction-copy p { overflow-wrap:anywhere; margin:0; color:#b5c2d4; font-size:12px; line-height:1.6; }
.tomorrow-prediction-copy small { display:grid; grid-template-columns:auto 1fr; gap:9px; padding-top:6px; border-top:1px solid #243650; color:var(--to-muted); font-size:10px; line-height:1.5; }
.tomorrow-prediction-copy small b { color:#a9b8cb; white-space:nowrap; }
.tomorrow-prediction-copy .tomorrow-prediction-review.verified b { color:var(--to-gold); }
.tomorrow-prediction-copy .tomorrow-prediction-review.incorrect b { color:#f0b1ad; }
.tomorrow-prediction-limit { margin:0; padding:10px 18px; color:var(--to-muted); background:var(--to-panel-2); font-size:10px; line-height:1.5; }
.tomorrow-prediction-state { margin:14px; padding:14px 16px; border:1px solid #5d4a35; border-left:3px solid var(--to-gold); background:rgba(217,168,93,.05); }
.tomorrow-prediction-state strong { font-size:13px; }
.tomorrow-prediction-state p { margin:5px 0 0; color:var(--to-muted); font-size:11px; line-height:1.55; }
.tomorrow-inline-empty.is-error { color:#f0b1ad; }
.tomorrow-backtest { display:grid; grid-template-columns:minmax(150px,.65fr) minmax(360px,1.35fr); gap:0; align-items:stretch; margin:14px; border:1px solid var(--to-border); background:var(--to-panel-2); }
.tomorrow-backtest > header { display:grid; align-content:center; gap:5px; padding:14px 16px; border-right:1px solid var(--to-border); }
.tomorrow-backtest > header > div { display:grid; gap:5px; }
.tomorrow-backtest > header span { color:var(--to-gold); font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; }
.tomorrow-backtest > header strong { font-size:13px; }
.tomorrow-backtest > header small { color:var(--to-muted); font-size:9px; }
.tomorrow-backtest dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; }
.tomorrow-backtest dl div { display:grid; align-content:center; gap:5px; min-width:0; padding:13px 15px; border-right:1px solid var(--to-border); }
.tomorrow-backtest dt { color:var(--to-muted); font-size:9px; }
.tomorrow-backtest dd { overflow-wrap:anywhere; margin:0; font:750 17px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-backtest > p { grid-column:1 / -1; margin:0; padding:9px 16px; color:var(--to-muted); font-size:9px; line-height:1.5; }

/* 2026-09-27 decision-summary layout: conclusions first, audit detail stays in admin. */
.tomorrow-summary-card { position:relative; overflow:hidden; margin-top:16px; padding:28px 30px; border:1px solid #694052; border-radius:16px; background:radial-gradient(circle at 50% 0,rgba(255,91,107,.13),transparent 52%),linear-gradient(145deg,#241622,var(--to-panel)); text-align:center; }
.tomorrow-summary-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:#ff6a86; }
.tomorrow-summary-card > span { color:#ff9aae; font-size:12px; font-weight:750; letter-spacing:.08em; }
.tomorrow-summary-card h3 { max-width:none; margin:14px auto 8px; color:#ff7f99; font-size:clamp(16px,4vw,46px); line-height:1.2; letter-spacing:-.04em; white-space:nowrap; }
.tomorrow-summary-card > p { margin:0; color:#bfc9d8; font-size:14px; line-height:1.6; }
.tomorrow-summary-card footer { display:flex; justify-content:center; gap:8px; margin-top:18px; }
.tomorrow-summary-card footer span { padding:6px 11px; border:1px solid #493747; border-radius:999px; color:#aebbd0; background:rgba(8,17,29,.35); font:650 11px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.tomorrow-decision-card { min-width:0; padding:20px; border:1px solid var(--to-border); border-radius:14px; background:linear-gradient(145deg,#111e2d,#0d1724); }
.tomorrow-decision-card > header { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.tomorrow-decision-card > header > span { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; border-radius:10px; background:#18283b; font-size:19px; }
.tomorrow-decision-card > header small { color:var(--to-muted); font:700 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.12em; }
.tomorrow-decision-card > header h3 { margin:3px 0 0; font-size:18px; }
.tomorrow-market-probability .tomorrow-probability-body { display:grid; grid-template-columns:180px 1fr; align-items:center; gap:24px; }
.tomorrow-probability-ring { display:grid; width:164px; aspect-ratio:1; margin:auto; place-items:center; border-radius:50%; background:radial-gradient(circle closest-side,#101b2a 61%,transparent 63%),conic-gradient(#18c7a2 0 var(--up),#f3c55e var(--up) var(--flat),#ff5c6c var(--flat) 360deg); box-shadow:0 0 28px rgba(255,92,108,.08); }
.tomorrow-probability-ring strong,.tomorrow-probability-ring small { grid-area:1/1; }
.tomorrow-probability-ring strong { margin-top:-16px; font-size:21px; }
.tomorrow-probability-ring small { margin-top:28px; color:var(--to-muted); font:750 16px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-market-probability dl { display:grid; gap:9px; margin:0; }
.tomorrow-market-probability dl div { display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border-bottom:1px solid var(--to-border); }
.tomorrow-market-probability dt { color:var(--to-muted); font-size:12px; }
.tomorrow-market-probability dd { margin:0; font:800 21px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-market-probability .up dd { color:#18c7a2; }.tomorrow-market-probability .flat dd { color:#f3c55e; }.tomorrow-market-probability .down dd { color:#ff697a; }
.tomorrow-decision-card > p { overflow:visible; overflow-wrap:anywhere; margin:16px 0 0; color:#aebbd0; font-size:12px; line-height:1.65; white-space:normal; }
.tomorrow-cycle-track { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:start; gap:4px; }
.tomorrow-cycle-track span { position:relative; display:grid; justify-items:center; gap:7px; min-width:0; color:#64738a; text-align:center; }
.tomorrow-cycle-track span:not(:last-child)::after { content:""; position:absolute; top:19px; left:66%; width:68%; height:1px; background:#2c3b4f; }
.tomorrow-cycle-track b { display:grid; width:48px; height:48px; place-items:center; border:2px solid #334155; border-radius:50%; font-size:10px; line-height:1.15; }
.tomorrow-cycle-track i { color:#78869a; font:600 10px ui-monospace,SFMono-Regular,Consolas,monospace; font-style:normal; }
.tomorrow-cycle-track .is-active { color:#ff7895; }
.tomorrow-cycle-track .is-active b { border-color:#ff6f8c; background:#391f2b; box-shadow:0 0 18px rgba(255,105,135,.34); }
.tomorrow-cycle-track .is-active i { color:#ff7895; }
.tomorrow-emotion-probabilities { margin-top:17px; padding-top:13px; border-top:1px solid var(--to-border); }
.tomorrow-emotion-probabilities > strong { display:block; margin-bottom:9px; color:#9babc0; font-size:11px; }
.tomorrow-emotion-probabilities > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; }
.tomorrow-emotion-probabilities span { display:grid; grid-template-columns:auto minmax(28px,1fr) auto; align-items:center; gap:7px; min-width:0; }
.tomorrow-emotion-probabilities span > b { color:#8797ad; font-size:10px; font-weight:650; white-space:nowrap; }
.tomorrow-emotion-probabilities span > i { height:4px; overflow:hidden; border-radius:999px; background:#26364c; }
.tomorrow-emotion-probabilities span > i > em { display:block; width:var(--emotion-probability); height:100%; border-radius:inherit; background:linear-gradient(90deg,#ff6f8c,#f3c55e); }
.tomorrow-emotion-probabilities span > strong { color:#dbe6f5; font:750 11px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-style-preference { display:flex; flex-direction:column; }
.tomorrow-style-preference > strong { display:block; color:#78b9ff; font-size:25px; letter-spacing:-.03em; }
.tomorrow-style-preference > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); flex:1; gap:8px; margin-top:15px; }
.tomorrow-style-preference > div > span { display:grid; align-content:center; gap:8px; min-width:0; padding:16px 14px; border:1px solid var(--to-border); border-radius:9px; background:rgba(5,13,23,.34); }
.tomorrow-style-preference b { color:var(--to-muted); font-size:12px; }
.tomorrow-style-preference em { color:#dbe6f5; font-size:15px; line-height:1.35; font-style:normal; font-weight:750; }
.tomorrow-style-preference span small { color:#8797ad; font-size:11px; line-height:1.55; }
.tomorrow-operation-advice > div { display:grid; gap:8px; }
.tomorrow-operation-advice article { display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--to-border); border-radius:10px; background:rgba(5,13,23,.34); }
.tomorrow-operation-advice article i { display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; border-radius:9px; color:#f3c55e; background:#392f1d; font:800 11px ui-monospace,SFMono-Regular,Consolas,monospace; font-style:normal; }
.tomorrow-operation-advice article p { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:9px; margin:0; }
.tomorrow-operation-advice article strong { color:#f3c55e; font-size:13px; white-space:nowrap; }
.tomorrow-operation-advice article span { color:#b7c4d4; font-size:12px; line-height:1.45; }
.tomorrow-decision-compass { margin-top:14px; }
.tomorrow-decision-compass > header small { color:var(--to-muted); font-size:11px; }
.tomorrow-decision-disclaimer { margin:10px 2px 0; text-align:center; }
.tomorrow-theme-prediction { margin-top:0; }
.tomorrow-prediction-list { grid-template-columns:repeat(5,minmax(0,1fr)); gap:1px; background:var(--to-border); }
.tomorrow-prediction-theme { display:grid; grid-template-columns:1fr; align-content:start; gap:11px; min-width:0; padding:15px; border:0; background:var(--to-panel); }
.tomorrow-prediction-theme > header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; min-width:0; padding:0; border:0; }
.tomorrow-prediction-theme > header > span { color:#65778e; font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-prediction-theme h3 { overflow:hidden; margin:0; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.tomorrow-prediction-theme header small { display:block; margin-top:3px; color:var(--to-gold); font-size:9px; }
.tomorrow-prediction-theme header strong { color:#eef4fc; font:800 17px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-theme-meter { height:6px; overflow:hidden; border-radius:999px; background:#1e2c3e; }
.tomorrow-theme-meter i { display:block; width:var(--theme-score); height:100%; border-radius:inherit; background:linear-gradient(90deg,#ff6381,#ffb454,#f2cb63); }
.tomorrow-prediction-theme > p { display:-webkit-box; overflow:hidden; margin:0; color:#9eadc1; font-size:10px; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.tomorrow-prediction-record.is-previous { margin:0; border:0; }

[data-color-mode="light"] .tomorrow-summary-card { background:radial-gradient(circle at 50% 0,rgba(255,91,107,.12),transparent 55%),linear-gradient(145deg,#fff7f9,#fff); }
[data-color-mode="light"] .tomorrow-summary-card > p,[data-color-mode="light"] .tomorrow-decision-card > p,[data-color-mode="light"] .tomorrow-operation-advice article span { color:#4b5d75; }
[data-color-mode="light"] .tomorrow-decision-card,[data-color-mode="light"] .tomorrow-prediction-theme { background:#fff; }
[data-color-mode="light"] .tomorrow-probability-ring { background:radial-gradient(circle closest-side,#fff 61%,transparent 63%),conic-gradient(#18a988 0 var(--up),#dfab32 var(--up) var(--flat),#e94e61 var(--flat) 360deg); }

[data-color-mode="light"] .tomorrow-prediction-copy p { color:#42556e; }
[data-color-mode="light"] .tomorrow-prediction-copy small { border-color:#dce5f0; }

.tomorrow-theme-map > header { align-items:start; }
.tomorrow-map-tools { display:grid; justify-items:end; gap:7px; }
.tomorrow-map-tools > div { display:flex; gap:4px; }
.tomorrow-map-tools button, .tomorrow-map-tools input, .tomorrow-map-pagination button { min-height:34px; border:1px solid #38506f; border-radius:6px; color:var(--to-text); background:#0e192a; padding:0 10px; font-size:12px; }
.tomorrow-map-tools button, .tomorrow-map-pagination button { cursor:pointer; }
.tomorrow-map-tools button[aria-pressed="true"] { border-color:var(--to-blue); color:#fff; background:#275fb7; }
.tomorrow-map-tools form { display:flex; gap:5px; }
.tomorrow-map-tools form button { color:#fff; border-color:#456fae; background:#275fb7; font-weight:700; }
.tomorrow-map-tools form .tomorrow-theme-search-clear { color:var(--to-muted); border-color:#38506f; background:transparent; font-weight:600; }
.tomorrow-map-tools form .tomorrow-theme-search-clear:hover { color:var(--to-text); background:#16253a; }
.tomorrow-map-tools small { color:var(--to-muted); font-size:11px; }
.tomorrow-matrix-scroll { min-width:0; overflow-x:auto; padding:14px; scrollbar-color:#526985 #17253a; }
.tomorrow-matrix-scroll table { width:100%; min-width:780px; border-collapse:collapse; table-layout:fixed; }
.tomorrow-matrix-scroll th, .tomorrow-matrix-scroll td { height:46px; padding:0; border:1px solid var(--to-border); text-align:center; }
.tomorrow-matrix-scroll thead th { position:relative; color:var(--to-muted); background:#0d1828; font:600 10px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-matrix-scroll thead th:first-child { width:132px; }
.tomorrow-matrix-scroll thead i { position:absolute; inset:auto 2px 2px; color:var(--to-gold); font-size:8px; font-style:normal; }
.tomorrow-matrix-scroll tbody th { background:#0d1828; }
.tomorrow-matrix-scroll tbody th { padding:7px 10px; text-align:left; }
.tomorrow-matrix-scroll tbody th strong, .tomorrow-matrix-scroll tbody th small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tomorrow-matrix-scroll tbody th strong { font-size:11px; }
.tomorrow-matrix-scroll tbody th small { margin-top:3px; color:var(--to-muted); font-size:9px; }
.tomorrow-matrix-scroll td > span { display:grid; width:100%; height:100%; place-items:center; font:600 11px/1.2 system-ui,sans-serif; }
.tomorrow-matrix-scroll .phase-watch { color:#aabbd1; background:#1a2940; }
.tomorrow-matrix-scroll .phase-start { color:#ffda91; background:#584622; }
.tomorrow-matrix-scroll .phase-strong { color:#ffb0ac; background:#55252b; }
.tomorrow-matrix-scroll .phase-split { color:#cdbfff; background:#393052; }
.tomorrow-matrix-scroll .phase-repair { color:#91dce6; background:#173a45; }
.tomorrow-matrix-scroll .phase-fade { color:#83dfb7; background:#17372f; }
.tomorrow-matrix-scroll .phase-missing { color:#71839c; background:repeating-linear-gradient(135deg,#152135,#152135 5px,#101b2c 5px,#101b2c 10px); }
.tomorrow-map-detail { display:grid; align-content:start; gap:10px; padding:20px; border-left:1px solid var(--to-border); background:var(--to-panel-2); }
.tomorrow-map-detail > span { color:var(--to-gold); font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; }
.tomorrow-map-detail h4 { margin:0; font-size:23px; letter-spacing:-.03em; }
.tomorrow-map-detail > p, .tomorrow-map-detail section p { margin:0; color:#bdc9d9; font-size:13px; line-height:1.55; }
.tomorrow-map-detail dl { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:2px 0; background:var(--to-border); }
.tomorrow-map-detail dl div { padding:10px; background:var(--to-panel); }
.tomorrow-map-detail dt { color:var(--to-muted); font-size:10px; }
.tomorrow-map-detail dd { margin:4px 0 0; font:700 15px ui-monospace,SFMono-Regular,Consolas,monospace; }
.tomorrow-map-detail section { padding-top:9px; border-top:1px solid var(--to-border); }
.tomorrow-map-detail section strong { display:block; margin-bottom:4px; color:var(--to-muted); font-size:11px; }
.tomorrow-map-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; border-top:1px solid var(--to-border); color:var(--to-muted); font-size:10px; }
.tomorrow-map-pagination button:disabled { cursor:not-allowed; opacity:.4; }

.tomorrow-scenarios > div { display:grid; grid-template-columns:1.18fr 1fr 1fr; gap:1px; background:var(--to-border); }
.tomorrow-scenarios > div > article { min-width:0; padding:19px; background:var(--to-panel); }
.tomorrow-scenarios > div > article.primary { background:linear-gradient(145deg,#183154,var(--to-panel)); }
.tomorrow-scenarios article > span { color:var(--to-gold); font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; }
.tomorrow-scenarios h4 { margin:7px 0 12px; font-size:20px; }
.tomorrow-scenarios dl { display:grid; gap:9px; margin:0; }
.tomorrow-scenarios dl div { padding-top:8px; border-top:1px solid var(--to-border); }
.tomorrow-scenarios dt { color:var(--to-muted); font-size:10px; }
.tomorrow-scenarios dd { margin:3px 0 0; color:#c1cddd; font-size:12px; line-height:1.5; }
.tomorrow-scenarios article > p { color:var(--to-muted); font-size:13px; }
.tomorrow-scenarios article > em { display:inline-block; margin-top:12px; border:1px solid #49617f; border-radius:999px; padding:4px 9px; color:var(--to-muted); font-size:10px; font-style:normal; }
.tomorrow-scenarios article > em.met { color:var(--to-red); border-color:#70424a; }
.tomorrow-scenarios article > em.missed { color:var(--to-green); border-color:#34634f; }
.tomorrow-scenarios article > em.pending { color:var(--to-gold); border-color:#6c5432; }

.tomorrow-date-controls button:hover, .tomorrow-outlook-empty button:hover, .tomorrow-map-tools button:hover, .tomorrow-map-pagination button:not(:disabled):hover { filter:brightness(1.12); }
.tomorrow-date-controls button:active, .tomorrow-outlook-empty button:active, .tomorrow-map-tools button:active, .tomorrow-map-pagination button:not(:disabled):active { transform:translateY(1px); }
.tomorrow-outlook-dashboard :is(button,input,a,summary,[tabindex]):focus-visible { outline:2px solid var(--to-blue); outline-offset:2px; }
.tomorrow-theme > summary > div small, .tomorrow-theme-detail > p, .tomorrow-risk p, .tomorrow-risk small, .tomorrow-verify article p, .tomorrow-verify article small { font-size:12px; }

[data-color-mode="light"] .tomorrow-decision { background:linear-gradient(150deg,#fff,#f5f8fc); }
[data-color-mode="light"] .tomorrow-market-forecast-card { background:#f8fbff; }
[data-color-mode="light"] .tomorrow-market-forecast-card > p { color:#42556e; }
[data-color-mode="light"] .tomorrow-market-switch button.active { color:#174780; }
[data-color-mode="light"] .tomorrow-decision p, [data-color-mode="light"] .tomorrow-map-detail > p, [data-color-mode="light"] .tomorrow-map-detail section p, [data-color-mode="light"] .tomorrow-scenarios dd { color:#42556e; }
[data-color-mode="light"] .tomorrow-map-tools button, [data-color-mode="light"] .tomorrow-map-tools input, [data-color-mode="light"] .tomorrow-map-pagination button { color:#173253; background:#fff; }
[data-color-mode="light"] .tomorrow-matrix-scroll thead th, [data-color-mode="light"] .tomorrow-matrix-scroll tbody th { background:#eef3f9; }
[data-color-mode="light"] .tomorrow-map-detail { background:#f6f8fc; }

@media (max-width: 1050px) {
  .tomorrow-decision-grid { grid-template-columns:1.2fr 1fr; grid-template-areas:"today expectation" "today posture" "risk risk"; }
  .tomorrow-prediction-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .tomorrow-outlook-shell { min-height: calc(100vh - 118px); border-radius: 12px; }
  .tomorrow-outlook-dashboard { padding: 12px; }
  .tomorrow-toolbar { display: grid; align-items: start; }
  .tomorrow-date-controls { width: 100%; }
  .tomorrow-date-controls label { flex: 1; }
  .tomorrow-date-controls input { width: 100%; }
  .tomorrow-empty-controls { width:100%; justify-content:center; }
  .tomorrow-member-gate { min-height:500px; padding:28px 16px; }
  .tomorrow-member-benefits { grid-template-columns:1fr; }
  .tomorrow-decision-grid { grid-template-columns:1fr; grid-template-areas:"today" "expectation" "risk" "posture"; }
  .tomorrow-support-strip { grid-template-columns:1fr; }
  .tomorrow-support-strip > strong { place-items:start; }
  .tomorrow-report-meta { display:grid; }
  .tomorrow-theme-map > header { gap:12px; }
  .tomorrow-map-tools { width:100%; justify-items:stretch; }
  .tomorrow-map-tools > div { overflow-x:auto; }
  .tomorrow-map-tools form input { min-width:0; flex:1; }
  .tomorrow-matrix-scroll { padding:10px; }
  .tomorrow-scenarios > div { grid-template-columns:1fr; }
  .tomorrow-compass-card > header, .tomorrow-card > header { display: grid; align-items: start; padding: 15px; }
  .tomorrow-compass { grid-template-columns: 1fr; }
  .tomorrow-index { grid-template-columns: 80px 1fr; padding: 13px 16px; }
  .tomorrow-index + .tomorrow-index { border-left: 0; border-top: 1px solid var(--to-border); }
  .tomorrow-index svg { width: 74px; }
  .tomorrow-analysis-grid > .tomorrow-card { flex-basis:100%; min-width:0; }
  .tomorrow-market-forecast > header { align-items:flex-start; flex-direction:column; }
  .tomorrow-market-switch { justify-content:flex-start; }
  .tomorrow-market-forecast-grid { grid-template-columns:1fr; }
  .tomorrow-market-ledger { grid-template-columns:1fr; }
  .tomorrow-market-ledger strong { grid-row:auto; }
  .tomorrow-two-column, .tomorrow-verify > div { grid-template-columns: 1fr; }
  .tomorrow-verify article + article { border-left: 0; border-top: 1px solid var(--to-border); }
  .tomorrow-theme { grid-template-columns: 26px 1fr auto; }
  .tomorrow-theme b { grid-column: 2; text-align: left; }
  .tomorrow-verdict > strong { font-size: 28px; }
  .tomorrow-style { grid-template-columns: 1fr; }
  .tomorrow-theme > summary { grid-template-columns: 24px 1fr auto; }
  .tomorrow-theme > summary > b { display: none; }
  .tomorrow-theme-detail { padding-left: 18px; }
  .tomorrow-theme-detail > dl { grid-template-columns: 1fr 1fr; }
  .tomorrow-mainline-structure > header { display:grid; align-items:start; gap:7px; }
  .tomorrow-mainline-structure > header p { text-align:left; }
  .tomorrow-evidence-sides { grid-template-columns:1fr; }
  .tomorrow-prior-observation { display:grid; }
  .tomorrow-prior-observation > header { display:grid; }
  .tomorrow-prior-observation > div, .tomorrow-theme-changes > details > div { grid-template-columns:1fr; }
  .tomorrow-ai-note ul { grid-template-columns: 1fr; }
  .tomorrow-section-heading, .tomorrow-theme-prediction > header { display:grid; align-items:start; gap:7px; }
  .tomorrow-section-heading p, .tomorrow-theme-prediction > header p { text-align:left; }
  .tomorrow-prediction-theme { grid-template-columns:1fr; }
  .tomorrow-prediction-theme > header { grid-template-columns:minmax(0,1fr); gap:10px; border-right:0; border-bottom:1px solid var(--to-border); }
  .tomorrow-prediction-theme dl { width:100%; }
  .tomorrow-prediction-copy small { grid-template-columns:1fr; gap:3px; }
  .tomorrow-backtest { grid-template-columns:1fr; }
  .tomorrow-backtest > header { border-right:0; border-bottom:1px solid var(--to-border); }
  .tomorrow-backtest dl { grid-template-columns:1fr; }
  .tomorrow-backtest dl div { border-right:0; border-bottom:1px solid var(--to-border); }
  .tomorrow-summary-card { padding:22px 16px; }
  .tomorrow-summary-card footer { flex-wrap:wrap; }
  .tomorrow-summary-grid { grid-template-columns:1fr; }
  .tomorrow-market-probability .tomorrow-probability-body { grid-template-columns:1fr; }
  .tomorrow-cycle-track { grid-template-columns:repeat(3,1fr); row-gap:14px; }
  .tomorrow-cycle-track span::after { display:none; }
  .tomorrow-emotion-probabilities > div { grid-template-columns:1fr; }
  .tomorrow-style-preference > div { grid-template-columns:1fr; }
  .tomorrow-operation-advice article p { grid-template-columns:1fr; gap:3px; }
  .tomorrow-prediction-list { grid-template-columns:1fr; }
  .tomorrow-prediction-theme > header { grid-template-columns:auto minmax(0,1fr) auto; border:0; }
}

@media (prefers-reduced-motion: reduce) { .tomorrow-outlook-loading i { animation: none; } }
