/* Finboard: a cool paper ground, ink text, one ultramarine brand colour,
   and a single signal-yellow block (the daily stock) as the loud moment. */

:root {
  --paper: #f1f3f5;
  --panel: #ffffff;
  --ink: #12151c;
  --ink-2: #3e4554;
  --ink-3: #5c6475;
  --line: #dadee5;
  --line-soft: #e8ebf0;
  --brand: #2437f0;
  --on-brand: #ffffff;
  --signal: #ffd43b;
  --on-signal: #12151c;
  --up: #0a7f55;
  --down: #c8322b;
  --hover: rgba(36, 55, 240, 0.05);
  --chart-line: var(--brand);
  --chart-fill: rgba(36, 55, 240, 0.14);
  --shadow: 0 8px 28px rgba(18, 21, 28, 0.12);
  --radius: 10px;
  --wrap: 1180px;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --ui: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --paper: #0d1015;
  --panel: #151922;
  --ink: #eceef2;
  --ink-2: #b9bfcc;
  --ink-3: #8f97a8;
  --line: #272d3a;
  --line-soft: #1e2330;
  --brand: #8fa0ff;
  --on-brand: #0d1015;
  --up: #3ddc97;
  --down: #ff7b72;
  --hover: rgba(143, 160, 255, 0.07);
  --chart-fill: rgba(143, 160, 255, 0.16);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0d1015;
    --panel: #151922;
    --ink: #eceef2;
    --ink-2: #b9bfcc;
    --ink-3: #8f97a8;
    --line: #272d3a;
    --line-soft: #1e2330;
    --brand: #8fa0ff;
    --on-brand: #0d1015;
    --up: #3ddc97;
    --down: #ff7b72;
    --hover: rgba(143, 160, 255, 0.07);
    --chart-fill: rgba(143, 160, 255, 0.16);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
main { padding-block: 24px 72px; outline: none; min-height: 70vh; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: grid; grid-template-columns: auto auto minmax(220px, 1fr) auto; align-items: center; gap: 12px 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 23px/1 var(--display); letter-spacing: -0.02em; font-variation-settings: 'wdth' 88; }
.logo { width: 30px; height: 30px; display: block; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 10px; font-weight: 500; color: var(--ink-2); border-radius: 4px; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -7px 0 var(--signal); }

.search { position: relative; justify-self: end; width: min(100%, 440px); }
.search input {
  width: 100%; height: 42px; padding: 0 40px 0 40px; font: inherit; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; appearance: none;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 1px; }
.search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search kbd { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font: 500 12px var(--ui); color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; pointer-events: none; }
.search input:focus ~ kbd { display: none; }
.results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; max-height: min(70vh, 460px); overflow: auto;
}
.results[hidden] { display: none; }
.results li a { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; }
.results li[aria-selected='true'] a, .results li a:hover { background: var(--hover); }
.results .r-name { font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.results .r-sub { color: var(--ink-3); font-size: 13px; display: block; }
.results .r-sym { color: var(--ink-2); font-weight: 500; }
.results .empty { padding: 14px 12px; color: var(--ink-3); }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); background: var(--hover); }
.icon-btn svg { width: 18px; height: 18px; }
.i-sun { display: none; }
:root[data-theme='dark'] .i-sun { display: block; }
:root[data-theme='dark'] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .i-sun { display: block; }
  :root:not([data-theme='light']) .i-moon { display: none; }
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
.page-title { font-size: clamp(2rem, 4vw, 2.9rem); font-variation-settings: 'wdth' 88; }
.page-lede { margin-top: 10px; color: var(--ink-2); max-width: 62ch; font-size: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { font-size: 1.5rem; font-variation-settings: 'wdth' 90; }
.more { color: var(--brand); font-weight: 500; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }

/* ---------- change indicator (always sign + arrow, never colour alone) ---------- */
.chg { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; white-space: nowrap; }
.chg i { font-style: normal; font-size: 0.7em; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.chg.flat { color: var(--ink-3); }

/* ---------- market strip ---------- */
.strip { display: flex; gap: 0; overflow-x: auto; margin-bottom: 26px; border-block: 1px solid var(--line); scrollbar-width: thin; }
.strip li { flex: 1 0 auto; border-right: 1px solid var(--line); }
.strip li:last-child { border-right: 0; }
.strip a { display: grid; gap: 1px; padding: 11px 18px 12px; min-width: 150px; }
.strip a:hover { background: var(--hover); }
.strip .s-name { color: var(--ink-3); font-size: 13px; }
.strip .s-val { font-weight: 600; font-size: 16px; }

/* ---------- home grid ---------- */
.home-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-bottom: 52px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

/* ---------- the daily stock block (the one loud thing) ---------- */
.daily-block {
  --up: #05603f; --down: #9b1c16; --chart-line: #12151c; --chart-fill: rgba(18, 21, 28, 0.1);
  background: var(--signal); color: var(--on-signal); border-radius: 16px; padding: clamp(20px, 3vw, 34px);
}
.daily-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-weight: 500; }
.tag-ink { background: var(--on-signal); color: var(--signal); padding: 3px 10px; border-radius: 99px; font-weight: 600; font-size: 13px; }
.daily-name { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 0.98; font-variation-settings: 'wdth' 82; letter-spacing: -0.03em; }
.daily-meta { margin-top: 10px; font-weight: 500; opacity: 0.8; }
.daily-price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.daily-price .p { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); letter-spacing: -0.02em; }
.daily-block .chart { margin-top: 14px; }
.daily-why { margin-top: 18px; font-size: 16.5px; line-height: 1.5; max-width: 56ch; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; border: 0; }
.btn-ink { background: var(--on-signal); color: var(--signal); }
.btn-ink:hover { background: #2a2f3b; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { filter: brightness(1.08); }
.btn-text { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: transparent; font-weight: 500; color: var(--ink-2); }
.chip:hover { color: var(--ink); background: var(--hover); }
.chip[aria-pressed='true'], .chip[aria-current='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .count { margin-left: 8px; opacity: 0.65; font-weight: 400; }

/* ---------- tables ---------- */
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sheet-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tbody tr { position: relative; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--hover); }
.tbl .num, .tbl th.num { text-align: right; }
.tbl .rank { width: 48px; color: var(--ink-3); }
.tbl th button { background: none; border: 0; padding: 0; font: inherit; color: inherit; display: inline-flex; gap: 4px; align-items: center; }
.tbl th button:hover { color: var(--ink); }
.tbl th[aria-sort] button { color: var(--ink); font-weight: 600; }
.tbl th[aria-sort='ascending'] button::after { content: '▲'; font-size: 9px; }
.tbl th[aria-sort='descending'] button::after { content: '▼'; font-size: 9px; }
.tbl.compact td { padding-block: 9px; }
.asset-link { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.asset-link::after { content: ''; position: absolute; inset: 0; }
.asset-name { display: grid; line-height: 1.25; min-width: 0; }
.asset-name .n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-name .s { color: var(--ink-3); font-size: 13px; }
.pill { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--ink-2); vertical-align: 1px; }
.type-tag { color: var(--ink-2); }

/* monogram / coin icon */
.mono { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 12px/1 var(--ui); letter-spacing: 0; color: #12151c; object-fit: cover; }
.mono.lg { width: 52px; height: 52px; font-size: 17px; }
.m0 { background: #d9defe; } .m1 { background: #ffe9a3; } .m2 { background: #c9ecdb; }
.m3 { background: #fbd5d1; } .m4 { background: #ddd6f6; } .m5 { background: #cfe5ee; }

.streak { display: inline-flex; align-items: center; gap: 10px; }
.streak .sbar { width: 72px; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.streak .sbar i { display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: 3px; }
.streak b { min-width: 2ch; font-weight: 600; text-align: right; }

/* compact list rows */
.mini { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 6px; }
.mini li { position: relative; }
.mini li + li { border-top: 1px solid var(--line-soft); }
.mini a { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 10px; border-radius: 8px; }
.mini a:hover { background: var(--hover); }
.mini .v { font-weight: 600; text-align: right; min-width: 6ch; }

/* ---------- notices ---------- */
.notice { padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--signal); background: var(--panel); border-radius: 8px; color: var(--ink-2); }
.notice button { margin-left: 10px; background: none; border: 0; color: var(--brand); font-weight: 600; text-decoration: underline; padding: 0; }
.footnote { margin-top: 14px; color: var(--ink-3); font-size: 13px; max-width: 80ch; }

/* ---------- skeletons ---------- */
.sk { display: block; border-radius: 6px; background: var(--line-soft); min-height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .sk { background: linear-gradient(90deg, var(--line-soft) 25%, var(--line) 50%, var(--line-soft) 75%); background-size: 300% 100%; animation: sk 1.4s linear infinite; }
  @keyframes sk { to { background-position: -300% 0; } }
}
.daily-block .sk { background: rgba(18, 21, 28, 0.12); animation: none; }

/* ---------- chart ---------- */
.chart { position: relative; width: 100%; }
.chart-svg { display: block; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.chart-svg:focus-visible { outline-offset: 4px; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .base { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.6; }
.chart .tick { fill: var(--ink-3); font: 12px var(--ui); }
.daily-block .chart .tick { fill: #12151c; opacity: 0.7; }
.daily-block .chart .grid { stroke: rgba(18, 21, 28, 0.18); }
.chart .line { fill: none; stroke: var(--chart-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#cg); }
.chart .xhair { stroke: var(--ink-3); stroke-width: 1; }
.chart .dot { fill: var(--chart-line); stroke: var(--panel); stroke-width: 2.5; }
.daily-block .chart .dot { stroke: var(--signal); }
.chart-tip { position: absolute; top: 4px; left: 0; pointer-events: none; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 7px 10px; font-size: 13px; line-height: 1.35; white-space: nowrap; box-shadow: var(--shadow); z-index: 2; }
.chart-tip[hidden] { display: none; }
.chart-tip b { font-size: 15px; font-weight: 600; }
.chart-tip .up { color: #5fe3a8; } .chart-tip .down { color: #ff9a92; }
:root[data-theme='dark'] .chart-tip .up { color: #0a7f55; } :root[data-theme='dark'] .chart-tip .down { color: #c8322b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .chart-tip .up { color: #0a7f55; } :root:not([data-theme='light']) .chart-tip .down { color: #c8322b; } }
.chart-msg { display: grid; place-items: center; min-height: 160px; color: var(--ink-3); text-align: center; padding: 20px; }

/* ---------- asset page ---------- */
.asset-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.asset-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-variation-settings: 'wdth' 88; }
.asset-head .meta { color: var(--ink-3); margin-top: 4px; }
.price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 18px 0 4px; }
.price-big { font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--display); letter-spacing: -0.03em; }
.price-row .chg { font-size: 17px; }
.state { color: var(--ink-3); font-size: 13px; margin-bottom: 18px; }
.badge-club { display: inline-flex; align-items: center; margin-top: 10px; padding: 4px 12px; border-radius: 99px; background: var(--signal); color: var(--on-signal); font-weight: 600; font-size: 13px; }
.chart-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 8px; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ranges { display: flex; gap: 4px; flex-wrap: wrap; }
.ranges button { height: 32px; min-width: 44px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; font-weight: 500; color: var(--ink-2); }
.ranges button:hover { background: var(--hover); color: var(--ink); }
.ranges button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.range-change { color: var(--ink-2); font-size: 14px; }
details.data-table { margin: 4px 0 8px; font-size: 13px; color: var(--ink-3); }
details.data-table summary { cursor: pointer; width: fit-content; }
details.data-table table { margin-top: 8px; border-collapse: collapse; }
details.data-table td, details.data-table th { padding: 3px 18px 3px 0; text-align: left; font-weight: 400; }

.asset-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 8px; }
.stats { display: grid; }
.stats > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.stats > div:last-child { border-bottom: 0; }
.stats dt { color: var(--ink-3); }
.stats dd { font-weight: 500; text-align: right; }
.range-bar { display: grid; grid-template-columns: auto minmax(70px, 120px) auto; gap: 10px; align-items: center; font-weight: 500; }
.range-bar .track { position: relative; height: 4px; background: var(--line); border-radius: 2px; }
.range-bar .track i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--panel); }
.about p { color: var(--ink-2); max-width: 65ch; }
.about .link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; margin-top: 8px; }
.facts { margin-top: 16px; }

/* ---------- dividends ---------- */
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 22px 0 24px; max-width: 900px; color: var(--ink-2); }
.defs strong { color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.toolbar .chips { margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.field { height: 34px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); }
.summary-line { color: var(--ink-2); margin-bottom: 12px; }

/* ---------- daily stock page ---------- */
.daily-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.history li { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.history li:last-child { border-bottom: 0; }
.history time { color: var(--ink-3); }
.history a:hover { text-decoration: underline; text-underline-offset: 3px; }
.how p + p { margin-top: 10px; }
.how { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--ink-3); font-size: 13.5px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; }
.foot-brand { font: 700 19px var(--display); color: var(--ink); }
.foot nav { display: flex; gap: 18px; }
.foot nav a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .home-grid, .two-col, .asset-cols, .daily-page { grid-template-columns: minmax(0, 1fr); }
  .two-col { gap: 32px; }
  .hide-md { display: none; }
}
@media (max-width: 760px) {
  .bar { grid-template-columns: 1fr auto; grid-template-areas: 'brand theme' 'nav nav' 'search search'; gap: 6px 12px; padding-block: 10px; }
  .brand { grid-area: brand; }
  #theme { grid-area: theme; }
  .nav { grid-area: nav; margin-inline: -10px; }
  .search { grid-area: search; width: 100%; justify-self: stretch; }
  .defs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .tbl th, .tbl td { padding-inline: 10px; }
  .tbl .rank { width: 34px; }
  .history li { grid-template-columns: 6.2em 1fr; }
  .history li .chg, .history li .muted:last-child { display: none; }
  .streak .sbar { width: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- additions ---------- */
.daily-stats { display: flex; gap: 12px 32px; flex-wrap: wrap; margin-top: 18px; }
.daily-stats dt { font-size: 13px; opacity: 0.72; }
.daily-stats dd { font-weight: 600; font-size: 18px; }
.daily-block .daily-meta + .daily-meta { margin-top: 4px; }
#chart { transition: opacity 0.15s; }
.price-row .muted { font-size: 15px; }
.chart-top .range-change .muted { font-size: 13px; }

.chart .cross[hidden], .chart .cross [hidden] { display: none; }
.chart .selband { fill: var(--chart-line); opacity: 0.12; }
.chart-svg { cursor: crosshair; }
.chart-tip b.up { color: #5fe3a8; } .chart-tip b.down { color: #ff9a92; }
:root[data-theme='dark'] .chart-tip b.up { color: #0a7f55; } :root[data-theme='dark'] .chart-tip b.down { color: #c8322b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .chart-tip b.up { color: #0a7f55; } :root:not([data-theme='light']) .chart-tip b.down { color: #c8322b; } }
.home-grid .daily-block { display: flex; flex-direction: column; }
.home-grid .daily-block .actions { margin-top: auto; padding-top: 22px; }
.tbl td .muted.small { white-space: nowrap; }
