/* Today: account overview → market readings → sector rotation → portfolio structure. */
html[data-home-view="today"] body.home-page .home-review-dashboard {
  gap: var(--space-3);
}
html[data-home-view="today"] body.home-page .home-review-dashboard > * {
  order: 0;
}
html[data-home-view="today"] body.home-page .home-review-dashboard > .home-data-alert {
  order: -1;
}
body.home-page .home-holding-symbol > strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
body.home-page .home-holding-symbol > strong .home-stock-link-arrow {
  flex: 0 0 auto;
  font-size: .8em;
}
html[data-home-view="today"] body.home-page .home-review-section {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-card);
  box-shadow: none;
  background: var(--color-surface);
  border: 1px solid var(--control-border, var(--color-border));
}
html[data-home-view="today"] body.home-page .home-section-head h2,
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure h2 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-market-compact .home-market-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border: 0;
  background: transparent;
  padding: 0;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-market-compact .home-market-verdict {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 650;
  color: var(--color-text);
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-market-compact .home-market-reason {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
}
html[data-home-view="today"] body.home-page .home-market-summary > p {
  margin: 0;
}
html[data-home-view="today"] body.home-page .home-market-head {
  flex-wrap: wrap;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-market-status {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-home-view="today"] body.home-page .home-market-review {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
html[data-home-view="today"] body.home-page .home-market-scope,
html[data-home-view="today"] body.home-page .home-market-basis,
html[data-home-view="today"] body.home-page .home-market-change {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
}
html[data-home-view="today"] body.home-page .home-market-scope {
  color: var(--color-text);
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-market-more {
  margin-top: var(--space-2);
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-review-entry {
  margin: 0;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-review-alert {
  margin-top: 4px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  min-height: 44px;
}
html[data-home-view="today"] body.home-page .home-review-alert small {
  font-size: 12px;
}
html[data-home-view="today"] body.home-page .home-review-alert strong {
  font-size: 13px;
  line-height: 1.5;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-review-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
}
html[data-home-view="today"] body.home-page .home-market-pulse .home-review-alert[hidden] {
  display: none;
}
html[data-home-view="today"] body.home-page .home-review-alert > span:first-child {
  min-width: 0;
  grid-column: 1;
  gap: 4px;
  overflow-wrap: anywhere;
}
html[data-home-view="today"] body.home-page .home-review-alert-status {
  grid-column: 1;
  color: var(--color-text-muted);
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-home-view="today"] body.home-page .home-review-alert > span[aria-hidden] {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
html[data-home-view="today"] body.home-page .home-review-alert [data-home-discipline-context] {
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.5;
}
html[data-home-view="today"] body.home-page .home-holding-reminders {
  min-width: 0;
  margin-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
html[data-home-view="today"] body.home-page .home-holding-reminders[hidden] { display: none; }
html[data-home-view="today"] body.home-page .home-holding-reminders .holding-section-head {
  min-height: 44px;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}
html[data-home-view="today"] body.home-page .home-holding-reminders h2 { font-size: 13px; }
html[data-home-view="today"] body.home-page .home-holding-preview-row {
  display: grid;
  grid-template-columns: minmax(3.5rem, max-content) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
}
html[data-home-view="today"] body.home-page .home-holding-list {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
html[data-home-view="today"] body.home-page .home-holding-preview-identity {
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
}
html[data-home-view="today"] body.home-page .home-holding-preview-title {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html[data-home-view="today"] body.home-page .home-holding-preview-arrow {
  align-self: center;
  color: var(--color-accent);
  font-size: 20px;
}
html[data-home-view="today"] body.home-page .home-holding-preview-row:focus-visible,
html[data-home-view="today"] body.home-page .home-holding-page-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
html[data-home-view="today"] body.home-page .home-holding-page-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  color: var(--color-accent);
  font-size: 13px;
  text-decoration: none;
}
html[data-home-view="today"] body.home-page .home-holding-page-link::after {
  content: "›";
  font-size: 20px;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0;
  padding: 0 var(--space-3);
}
html[data-home-view="today"] body.home-page .home-review-dashboard summary {
  min-height: 44px;
  font-size: 13px;
  line-height: 1.5;
  gap: 8px;
  align-items: center;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 0;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary::before,
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary::after {
  content: none;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary b {
  font-weight: 400;
  color: var(--color-text-muted);
  text-wrap: pretty;
}
html[data-home-view="today"] body.home-page .home-data-status-count {
  display: inline-block;
  white-space: nowrap;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary b .home-data-status-count {
  color: inherit;
}
html[data-home-view="today"] body.home-page #homeHoldingAutoMaintenance summary span {
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-accent);
}
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure {
  border: 0;
  margin: 0;
}
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure > summary {
  min-height: var(--touch-target);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 0 var(--space-2);
  gap: var(--space-2);
}
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure > summary h2 { min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure > summary .sector-heat-status { grid-column: 1 / -1; grid-row: 2; }
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure > summary::after {
  content: "⌄";
  color: var(--color-text-muted);
  grid-column: 2;
  grid-row: 1;
}
html[data-home-view="today"] body.home-page .home-sector-heat-disclosure[open] > summary::after {
  content: "⌃";
}
html[data-home-view="today"] body.home-page .home-sector-heat-content {
  padding: 0;
}
/* Holding structure: one glance at allocation, optional position detail. */
body.home-page .home-sector-head { margin: 0; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
body.home-page .home-sector-head > div { flex: 1 1 10rem; min-width: 0; }
body.home-page .home-sector-head small { color: var(--color-text-muted); font-size: var(--type-small); }
body.home-page .home-structure-link { display: inline-flex; align-items: center; min-height: var(--touch-target); flex-shrink: 0; color: var(--color-accent); font-size: var(--type-small); text-decoration: none; }
body.home-page .home-structure-basis { margin: var(--space-2) 0; color: var(--color-text-muted); font-size: var(--type-small); line-height: 1.5; }
body.home-page .home-sector-leader { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: .375rem 0; font-size: var(--type-body); }
body.home-page .home-sector-leader span { min-width: 0; overflow-wrap: anywhere; }
body.home-page .home-sector-leader strong { flex-shrink: 0; font-variant-numeric: tabular-nums; }
body.home-page .home-asset-mix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: var(--space-3) var(--space-4); }
body.home-page .home-asset-mix-value { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-1); flex-wrap: wrap; font-size: var(--type-small); line-height: 1.5; }
body.home-page .home-asset-mix-value span { color: var(--color-text-muted); }
body.home-page .home-asset-mix-value strong { color: var(--color-text); font-size: 1rem; font-variant-numeric: tabular-nums; }
body.home-page .home-structure-track { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
body.home-page .home-structure-track i { display: block; height: 100%; border-radius: inherit; background: var(--color-accent); }
body.home-page .home-structure-track[data-structure-progress="unavailable"] { visibility: hidden; }
body.home-page .home-structure-track[data-structure-progress="over"] i { background: var(--color-attention); }
body.home-page .home-sector-card-head [data-structure-progress="over"] { color: var(--color-attention); }
body.home-page .home-risk-coverage { margin: var(--space-2) 0 0; font-size: var(--type-small); color: var(--color-text-muted); line-height: 1.5; }
body.home-page .home-risk-metrics { display: grid; gap: var(--space-1); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
body.home-page .home-risk-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-1) var(--space-3); min-width: 0; flex-wrap: wrap; }
body.home-page .home-risk-metrics span { flex-shrink: 0; color: var(--color-text-muted); font-size: var(--type-small); }
body.home-page .home-risk-metrics strong { flex: 1 1 10rem; color: var(--color-text); font-size: var(--type-body); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.home-page .home-structure-disclosure { margin-top: var(--space-2); }
html[data-home-view="today"] body.home-page .home-structure-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: var(--touch-target); color: var(--color-text); font-size: var(--type-body); cursor: pointer; list-style: none; touch-action: manipulation; }
body.home-page .home-structure-disclosure > summary::-webkit-details-marker,
body.home-page .home-sector-card > summary::-webkit-details-marker { display: none; }
body.home-page .home-structure-disclosure > summary > span { color: var(--color-accent); font-size: var(--type-small); flex-shrink: 0; }
body.home-page .home-structure-disclosure .home-structure-close-label,
body.home-page .home-structure-disclosure[open] .home-structure-open-label { display: none; }
body.home-page .home-structure-disclosure[open] .home-structure-close-label { display: inline; }
body.home-page .home-sector-card { border-top: 1px solid var(--color-border); }
body.home-page .home-sector-card > summary { display: block; position: relative; padding: var(--space-1) 1.25rem var(--space-1) 0; min-height: var(--touch-target); cursor: pointer; list-style: none; touch-action: manipulation; }
body.home-page .home-sector-card > summary::after { content: ''; position: absolute; right: 3px; top: .7rem; width: 6px; height: 6px; border: solid var(--color-text-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
body.home-page .home-sector-card[open] > summary::after { transform: rotate(45deg); }
body.home-page .home-sector-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-2); min-width: 0; flex-wrap: wrap; }
body.home-page .home-sector-card-head > strong { flex: 1 1 9rem; color: var(--color-text); font-size: var(--type-body); font-weight: 600; overflow-wrap: anywhere; }
body.home-page .home-sector-card-head small { flex-shrink: 0; color: var(--color-text-muted); font-size: var(--type-small); }
body.home-page .home-sector-card-metrics { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-2); color: var(--color-text-muted); font-size: var(--type-small); font-variant-numeric: tabular-nums; }
body.home-page .home-sector-card-metrics > span { white-space: nowrap; }
body.home-page .home-sector-card-metrics b { color: var(--color-text); font-size: var(--type-body); font-weight: 600; }
body.home-page .home-sector-card-metrics [data-structure-return="positive"] { color: var(--color-positive); }
body.home-page .home-sector-card-metrics [data-structure-return="negative"] { color: var(--color-negative); }
body.home-page .home-sector-card-metrics [data-structure-return="neutral"] { color: var(--color-text-muted); }
body.home-page .home-sector-stock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); column-gap: var(--space-4); padding-bottom: var(--space-2); }
body.home-page .home-sector-stock-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-2); align-content: center; min-height: var(--touch-target); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; font-variant-numeric: tabular-nums; }
body.home-page .home-sector-tile-name { font-size: var(--type-body); overflow-wrap: anywhere; }
body.home-page .home-sector-stock-tile strong { font-size: var(--type-body); text-align: right; }
body.home-page .home-sector-stock-tile small { grid-column: 1 / -1; color: var(--color-text-muted); font-size: var(--type-small); text-align: right; }
body.home-page .home-sector-structure a:active,
body.home-page .home-sector-structure summary:active { background: var(--color-accent-soft); }
body.home-page .home-sector-structure a:focus-visible,
body.home-page .home-sector-structure summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 2px; }
html[data-home-view="today"] body.home-page .home-evidence-entry {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 0;
  font-size: var(--type-small);
  color: var(--color-accent);
  text-decoration: none;
}
html[data-home-view="today"] body.home-page .home-data-note {
  margin: 0;
  font-size: var(--type-small);
  text-align: left;
  color: var(--color-text-muted);
}
html[data-home-view="today"] body.home-page .home-refresh-btn:focus-visible,
html[data-home-view="today"] body.home-page .home-review-dashboard a:focus-visible,
html[data-home-view="today"] body.home-page .home-review-dashboard summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

body.home-page .home-principal-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: .75rem;
  line-height: 1.5;
}
body.home-page .home-principal-status[hidden] { display: none; }
body.home-page .home-principal-copy { min-width: 0; display: grid; gap: .125rem; }
body.home-page .home-principal-copy > span,
body.home-page .home-principal-copy > small { font: inherit; overflow-wrap: anywhere; }
body.home-page .home-principal-status[data-state="pending"] small,
body.home-page .home-principal-status[data-state="error"] small { color: var(--color-attention); }
body.home-page .home-principal-status button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  min-width: 4.5rem;
  min-height: var(--touch-target);
  padding: .375rem;
  margin-right: -.375rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  box-shadow: none;
  color: var(--color-accent);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
body.home-page .home-principal-status button span { font: inherit; color: inherit; }
body.home-page .home-principal-status button svg { width: 1rem; height: 1rem; flex: none; }
body.home-page .home-principal-status button:active { transform: scale(.97); }
body.home-page .home-principal-status button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  body.home-page .home-principal-status button:hover { background: var(--color-accent-soft); }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page .home-principal-status button:active { transform: none; }
}
body.home-page .home-principal-status button:disabled { cursor: wait; opacity: .65; }
/* Six inline label/value pairs: three rows on phones, fewer on wide screens. */
body.home-page .home-account-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: 0 var(--space-4);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--control-border, var(--color-border));
  border-radius: var(--radius-card);
  background: var(--color-surface);
}
body.home-page .home-account-snapshot > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1);
  min-width: 0;
  padding: .3125rem 0;
  min-height: 1.875rem;
}
body.home-page .home-account-snapshot > div:nth-child(n+3) { border-top: 1px solid var(--color-border); }
body.home-page .home-account-snapshot span {
  color: var(--color-text-muted);
  font-size: var(--type-small);
  line-height: 1.4;
  flex: 0 0 auto;
}
body.home-page .home-account-snapshot strong {
  color: var(--color-text);
  font-size: .9375rem;
  line-height: 1.4;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: 0 0 auto;
  margin-inline-start: auto;
  min-width: 0;
  text-align: right;
}
body.home-page .home-account-primary strong {
  font-weight: 700;
}
body.home-page .home-account-snapshot strong.negative { color: var(--color-negative); }
body.home-page .home-account-snapshot strong.positive { color: var(--color-positive); }
html[data-home-view="today"] body.home-page .home-today-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-4);
}
/* Sector lists share one visual contract across all three tabs. */
body.home-page .home-sector-heat { min-width: 0; }
body.home-page .sector-heat-status { flex: 0 0 auto; color: var(--color-text-muted); font-size: .75rem; }
body.home-page .sector-heat-tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border-radius: var(--radius-control); background: var(--color-background); border: 1px solid var(--control-border, var(--color-border)); }
body.home-page .sector-heat-tabs button { flex: 1 1 5em; min-height: var(--touch-target); padding: .375rem .5rem; border: 0; border-radius: .5rem; background: transparent; color: var(--color-text-muted); font: inherit; font-size: .8125rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
body.home-page .sector-heat-tabs button[aria-selected="true"] { background: var(--color-accent-soft); color: var(--color-accent); }
body.home-page .sector-heat-asof { margin: .625rem 0 .25rem; color: var(--color-text-muted); font-size: .75rem; line-height: 1.5; }
body.home-page .sector-heat-list { display: grid; min-width: 0; }
body.home-page .sector-heat-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 3rem; padding: .5rem 0; border-bottom: 1px solid var(--color-border); min-width: 0; text-decoration: none; color: var(--color-text); }
body.home-page .sector-heat-title { flex: 1 1 4rem; min-width: 0; font-size: .8125rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
body.home-page .sector-heat-state { display: inline-block; padding: .125rem .3125rem; border-radius: .375rem; background: var(--color-surface-raised); color: var(--color-text-muted); font-size: .6875rem; line-height: 1.4; white-space: nowrap; }
body.home-page .sector-heat-state.strong,
body.home-page .sector-heat-state.heating,
body.home-page .sector-heat-state.early_rotation { background: var(--color-accent-soft); color: var(--color-accent); }
body.home-page .sector-heat-state.overheated,
body.home-page .sector-heat-state.unverified { background: color-mix(in srgb, var(--color-attention) 12%, transparent); color: var(--color-attention); }
body.home-page .sector-heat-state.cooling { background: color-mix(in srgb, var(--color-negative) 12%, transparent); color: var(--color-negative); }
body.home-page .sector-heat-value, body.home-page .sector-heat-delta { font-size: .8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.home-page .sector-heat-value small, body.home-page .sector-heat-delta small { font-size: .6875rem; color: var(--color-text-muted); }
body.home-page .sector-heat-risk { flex: 0 0 100%; color: var(--color-attention); font-size: .8125rem; line-height: 1.55; overflow-wrap: anywhere; }
body.home-page .sector-heat-expand { display: block; width: 100%; margin: .25rem 0 0; padding: .375rem .75rem; min-height: var(--touch-target); border: 0; border-radius: .5rem; background: transparent; color: var(--color-accent); font: inherit; font-size: .8125rem; cursor: pointer; }
body.home-page .sector-heat-empty { margin: .5rem 0; color: var(--color-text-muted); font-size: .8125rem; line-height: 1.6; }
body.home-page .sector-heat-tabs button:focus-visible,
body.home-page .sector-heat-expand:focus-visible,
body.home-page .sector-heat-row:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
body.home-page .sector-opportunity-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .5rem; padding: .75rem 0; }
body.home-page .sector-opportunity-row:last-child { border-bottom: 0; }
body.home-page .sector-opportunity-row .sector-heat-title { font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.home-page .sector-opportunity-reason, body.home-page .sector-opportunity-next { grid-column: 1 / -1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8125rem; line-height: 1.5; }
body.home-page .sector-opportunity-next { color: var(--color-text-muted); }
body.home-page .sector-opportunity-row .sector-heat-risk { grid-column: 1 / -1; }
@media (max-width: 360px) {
  body.home-page .sector-heat-row { gap: .25rem; }
  body.home-page .sector-heat-title { font-size: .75rem; }
  body.home-page .sector-heat-value, body.home-page .sector-heat-delta { font-size: .75rem; }
}

html[data-home-view="today"] body.home-page :is(button, summary, .sector-heat-row) { touch-action: manipulation; }
html[data-home-view="today"] body.home-page :is(button, summary):active { opacity: .7; }
html[data-home-view="today"] body.home-page .sector-heat-row:active { background: var(--color-surface-raised); }
@media (min-width: 800px) and (min-height: 600px) {
  html[data-home-view='today'] body.home-page .home-review-dashboard { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: var(--space-4); }
  html[data-home-view='today'] body.home-page .home-review-dashboard > * { grid-column: 1 / -1; }
  html[data-home-view='today'] body.home-page .home-review-dashboard > .home-sector-heat { grid-column: 1 / -1; }
  html[data-home-view='today'] body.home-page .home-review-dashboard > .home-sector-structure { grid-column: 1 / -1; }
  html[data-home-view='today'] body.home-page .home-market-pulse:has(.home-holding-preview-row) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-4);
  }
  html[data-home-view='today'] body.home-page .home-market-head,
  html[data-home-view='today'] body.home-page .home-market-pulse > .home-review-entry { grid-column: 1 / -1; }
  html[data-home-view='today'] body.home-page .home-holding-reminders:has(.home-holding-preview-row) {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
    padding-left: var(--space-4);
    border-top: 0;
    border-left: 1px solid var(--color-border);
  }
  body.home-page .home-account-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 var(--space-6);
  }
  body.home-page .home-account-snapshot > div:nth-child(3) { border-top: 0; }
}
@media (min-width: 1100px) and (min-height: 600px) {
  body.home-page .home-account-snapshot { grid-template-columns: 1.15fr repeat(5, minmax(0, 1fr)); }
  body.home-page .home-account-snapshot > div:nth-child(n) { border-top: 0; }
}
