/* Always dark: one palette, no light variant. */
:root {
  --bg: #0F1620; --surface: #161F2B; --surface-2: #1E2938; --line: #2A3647;
  --text: #E8EEF6; --muted: #8FA1B5; --accent: #8E8CF0; --accent-hi: #BDBBFA; --on-accent: #12112A; --pivot: #C9A86A; --up: #3FB68B; --down: #E5534B; --warn: #E0A33A;
  --radius-lg: 14px; --radius-sm: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45; }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
h1 { font-size: 1.5rem; margin: .2rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1rem; margin: 0 0 .6rem; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: calc(.6rem + env(safe-area-inset-top)) 1rem .6rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.pills { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.pill { font-size: .78rem; padding: .2rem .55rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { border-color: var(--up); color: var(--up); }
.pill.bad { border-color: var(--down); color: var(--down); }
.pill.warn { border-color: var(--warn); color: var(--warn); }
.pill.live { background: var(--down); border-color: var(--down); color: #fff; }

/* nav: bottom bar on phones, left rail on desktop */
.tabs { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { text-align: center; padding: .85rem 0; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.tabs a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }
main { padding: 1rem; max-width: 1280px; margin: 0 auto; }

.banner { padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border-left: 3px solid var(--warn); margin-bottom: 1rem; }
.banner.bad { border-left-color: var(--down); }

/* day meter (hero) */
.day { padding: 1rem 0 1.25rem; }
.day-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.day-pnl { font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.day-pnl.up { color: var(--up); } .day-pnl.down { color: var(--down); }
.day-side { text-align: right; display: grid; gap: .15rem; }
.meter { margin-top: .9rem; }
.meter-track { position: relative; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--down) 45%, transparent), var(--surface-2) 50%, color-mix(in srgb, var(--up) 35%, transparent)); }
.meter-zero { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--muted); }
.meter-fill { position: absolute; top: -5px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--bg); left: 50%; transition: left .4s ease; }
.meter-scale { display: flex; justify-content: space-between; margin-top: .35rem; }

/* panels */
.live-grid, .sys-grid { display: grid; gap: 1rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.empty { color: var(--muted); margin: .25rem 0; }
.chip { font-size: .8rem; padding: .15rem .5rem; border-radius: 6px; background: var(--surface-2); }
.chip.up { color: var(--up); } .chip.down { color: var(--down); }

.pos-main { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.pos-sym { font-weight: 650; word-break: break-all; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: .6rem 0 0; }
.kv dt { color: var(--muted); font-size: .85rem; } .kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

.ladder { width: 100%; height: 360px; display: block; }
.ladder text { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.ladder .lvl { stroke: var(--line); stroke-width: 1; }
.ladder .lvl.pivot { stroke: var(--pivot); }
.ladder .lbl-pivot { fill: var(--pivot); }
.ladder .vwap { stroke: var(--muted); stroke-dasharray: 4 4; }
.ladder .spot { fill: var(--text); } .ladder .spot-text { fill: var(--bg); font-weight: 700; }
.ladder .stop { stroke: var(--down); stroke-width: 2; } .ladder .target { stroke: var(--up); stroke-width: 2; }
.ladder .neg-fill { fill: var(--down); } .ladder .pos-fill { fill: var(--up); }
.ladder .path { fill: none; stroke: var(--text); stroke-width: 1.5; opacity: .55; }

.premiums { display: grid; gap: .9rem; }
.prem-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; align-items: center; }
.prem-row svg { grid-column: 1 / -1; width: 100%; height: 54px; }
.prem-row .line { fill: none; stroke-width: 1.6; } .prem-row .avg { stroke: var(--muted); stroke-dasharray: 3 3; }
.prem-read { font-size: .85rem; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .75rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list.small li { padding: .45rem 0; font-size: .85rem; }
.list .sub { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.tag { font-size: .75rem; padding: .05rem .4rem; border-radius: 5px; background: var(--surface-2); margin-left: .35rem; }
.tag.up { color: var(--up); } .tag.down { color: var(--down); } .tag.skip { color: var(--muted); }
.pos { color: var(--up); } .neg { color: var(--down); }

.view-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.view-head h1 { margin: 0; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { background: none; border: 0; color: var(--muted); padding: .45rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.input, input, select { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .55rem .7rem; }
#sig-day { margin-bottom: .75rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .8rem; }
.stat b { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.equity { width: 100%; height: 180px; display: block; }
.equity .line { fill: none; stroke: var(--accent); stroke-width: 2; } .equity .zero { stroke: var(--line); }

.btn { font: inherit; font-weight: 600; padding: .65rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); cursor: pointer; min-height: 44px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.danger { background: transparent; border-color: var(--down); color: var(--down); }
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; margin-top: .6rem; }
.ctl-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.ctl-row .btn { flex: 1 1 140px; }
.error { color: var(--down); font-size: .9rem; }

dialog { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text);
  width: min(92vw, 420px); padding: 1.25rem; }
dialog::backdrop { background: rgb(0 0 0 / .55); }
dialog label, .login label { display: grid; gap: .3rem; margin: .8rem 0; font-size: .9rem; }

/* public pages: landing + login */
.site { padding: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1100px 520px at 78% -8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%),
              radial-gradient(800px 480px at -10% 30%, rgb(63 182 139 / .06), transparent 60%), #0B1018; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: 1160px;
  margin: 0 auto; padding: calc(1rem + env(safe-area-inset-top)) 1.25rem 1rem; }
.wordmark { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-sm { min-height: 38px; padding: .45rem .95rem; font-size: .92rem; }
.btn.primary { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }
.back-link { color: var(--muted); text-decoration: none; font-size: .92rem; }
.back-link:hover { color: var(--text); }

.site-main { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; flex: 1; }
.hero { display: grid; gap: 2.5rem; align-items: center; padding: 3rem 0 4rem; }
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .3rem .75rem; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px; color: var(--accent-hi); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 1.1rem; max-width: 15ch; }
.lede { font-size: 1.12rem; line-height: 1.6; color: #B4C2D2; max-width: 52ch; margin: 0 0 1.75rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-art { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgb(22 31 43 / .9), rgb(15 22 32 / .9)); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7); }
.levels-art { display: block; width: 100%; height: auto; }
.art-levels line { stroke: var(--line); stroke-width: 1; }
.art-levels line.accent { stroke: color-mix(in srgb, var(--accent) 55%, transparent); }
.art-levels line.dash { stroke: rgb(143 161 181 / .35); stroke-dasharray: 4 5; }
.art-labels text { font: 600 12px var(--font); fill: var(--muted); }
.art-labels text.accent { fill: var(--accent); }
.art-ring { fill: rgb(63 182 139 / .14); stroke: rgb(63 182 139 / .5); }
.art-dot { fill: var(--up); }
.art-tag rect { fill: var(--surface-2); stroke: var(--line); }
.art-tag text { font: 600 13px var(--font); fill: var(--text); }

.site-section { padding: 3rem 0; border-top: 1px solid rgb(42 54 71 / .6); }
.section-title { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 1.75rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li, .feature { background: rgb(22 31 43 / .75); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.step-n { display: block; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; margin-bottom: .6rem; }
.steps h3, .feature h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.steps p, .feature p { margin: 0; color: #A9B8C9; line-height: 1.6; font-size: .95rem; }
.features { display: grid; gap: 1rem; }
.site-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 3rem;
  padding: 1.6rem 1.75rem; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, transparent), rgb(22 31 43 / .6)); }
.site-cta h2 { margin: 0; font-size: 1.3rem; }
.site-foot { width: 100%; max-width: 1160px; margin: 0 auto; padding: 1.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
  display: grid; gap: .6rem; color: var(--muted); font-size: .85rem; }
.site-foot p { margin: 0; max-width: 70ch; line-height: 1.55; }
.small-brand { color: var(--text); }
.small-brand .wordmark { font-size: 1rem; }

.login { width: min(100% - 2.5rem, 420px); margin: 0 auto; padding: 2rem 0 3rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.login-card { background: rgb(22 31 43 / .92); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.75rem;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .75); }
.login h1 { margin: 1rem 0 .3rem; font-size: 1.55rem; letter-spacing: -.02em; }
.login .muted { margin: 0; }
.login form { margin-top: 1.25rem; }
.login label { color: #C3CFDC; font-weight: 500; }
.login input { width: 100%; background: #0F1620; padding: .7rem .8rem; transition: border-color .15s; }
.login input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.login input.otp { font-size: 1.35rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.login .btn { width: 100%; margin-top: .5rem; }
.login-mark { border-radius: 14px; display: block; }
.login .login-foot { text-align: center; margin-top: 1.25rem; }
.login .login-warn { margin: 1.1rem 0 0; padding: .7rem .9rem; border-radius: var(--radius-sm); line-height: 1.5;
  color: #C3CFDC; background: rgb(229 83 75 / .08); border: 1px solid rgb(229 83 75 / .3); }
.login .login-warn strong { color: var(--text); }
.login .login-warn + .login-foot { margin-top: .75rem; }

@media (min-width: 900px) {
  .site, .login-body { padding-left: 0; }
  .site-head { padding-left: 2rem; padding-right: 2rem; }
  .site-main, .site-foot { padding-left: 2rem; padding-right: 2rem; }
  .hero { grid-template-columns: 1.05fr .95fr; padding: 4.5rem 0 5.5rem; gap: 3.5rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) { .features { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 900px) {
  body { padding-bottom: 0; padding-left: 200px; }
  .tabs { top: 0; bottom: 0; right: auto; width: 200px; grid-template-columns: none; grid-auto-rows: min-content;
    padding-top: 4.5rem; border-top: 0; border-right: 1px solid var(--line); }
  .tabs a { text-align: left; padding: .75rem 1.25rem; }
  .tabs a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .topbar { padding-left: 1.5rem; }
  main { padding: 1.5rem 2rem; }
  .live-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "pos ladder" "prem ladder" "sig sig"; }
  #panel-position { grid-area: pos; } .ladder-panel { grid-area: ladder; }
  .ladder { height: 520px; }
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .meter-fill { transition: none; } }
.list li > :nth-child(2) { white-space: nowrap; text-align: right; }
@media (max-width: 480px) {
  .topbar .brand span { display: none; }
  .pills { flex-wrap: nowrap; }
  .pill { font-size: .72rem; padding: .2rem .45rem; }
}

/* what the bot sees */
.tf-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tf-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 0 .4rem .35rem 0; }
.tf-table td { padding: .45rem .4rem .45rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.tf-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-table .lbl { display: block; color: var(--muted); font-size: .78rem; }
.arrow-up { color: var(--up); } .arrow-down { color: var(--down); }
.phase { font-size: .75rem; padding: .05rem .4rem; border-radius: 5px; background: var(--surface-2); white-space: nowrap; }
.phase.impulse { color: var(--accent); } .phase.correction { color: var(--text); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .9rem; }
.check { background: var(--surface-2); border-radius: var(--radius-sm); padding: .6rem .7rem; }
.check h3 { font-size: .85rem; margin: 0 0 .35rem; }
.check ul { list-style: none; margin: 0; padding: 0; font-size: .82rem; display: grid; gap: .2rem; }
.check li::before { content: "○ "; color: var(--muted); }
.check li.ok::before { content: "● "; color: var(--up); }
.check .ready { color: var(--accent); font-weight: 600; font-size: .8rem; margin-top: .35rem; }
.near { margin-top: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .75rem; color: var(--muted); }
.near b { color: var(--text); font-weight: 600; }
.ladder .lbl-week { fill: #7FA7D9; } .ladder .lvl.week { stroke: #4C6A8F; }
.ladder .lbl-month { fill: #B38BD6; } .ladder .lvl.month { stroke: #6E5491; }
@media (min-width: 900px) {
  .live-grid { grid-template-areas: "pos ladder" "mind ladder" "prem sig"; }
  #panel-mind { grid-area: mind; }
  .live-grid > :nth-child(4) { grid-area: prem; } .live-grid > :nth-child(5) { grid-area: sig; }
}
@media (max-width: 600px) {
  .tf-table .lbl { display: none; }
  .tf-table td:nth-child(2) { white-space: nowrap; }
  .checks { grid-template-columns: 1fr; }
}
.topbar .wordmark { font-size: 1.15rem; }
@media (max-width: 599px) {
  .hero { padding-top: 1.5rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-art { padding: .5rem; }
  .art-labels text { font-size: 20px; }
  .art-tag { display: none; }
}
.stop-accent { stop-color: var(--accent); } .stop-accent-hi { stop-color: var(--accent-hi); }

/* levels: fib lines dashed; side chip next to the bias chip */
.ladder .lvl.fib { stroke-dasharray: 6 4; stroke-width: 1.25; }
.chips { display: inline-flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }

/* signal waiting for the operator */
.approval { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: var(--radius-lg); padding: 1rem 1.1rem;
  margin-bottom: 1rem; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.approval-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.approval-kicker { color: var(--accent-hi); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.approval h2 { font-size: 1.25rem; margin: .2rem 0 0; }
.approval-clock { font-size: 1.4rem; font-weight: 700; color: var(--accent-hi); }
.approval .muted.small { margin: .35rem 0 .2rem; }
.ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .6rem 0 .8rem; }
.ap-grid div { background: var(--surface-2); border-radius: var(--radius-sm); padding: .5rem .6rem; }
.ap-grid dt { color: var(--muted); font-size: .75rem; } .ap-grid dd { margin: .1rem 0 0; font-weight: 650; }
.ap-code { display: grid; gap: .3rem; font-size: .85rem; margin-bottom: .6rem; max-width: 240px; }
@media (max-width: 600px) { .ap-grid { grid-template-columns: repeat(2, 1fr); } }

/* market tab */
.mk-top { display: grid; gap: 1rem; margin-bottom: 1rem; }
.mood-score { font-size: 3rem; font-weight: 750; letter-spacing: -.02em; margin: .2rem 0 .4rem; }
.mood-bar { position: relative; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--down) 60%, transparent), var(--surface-2) 50%, color-mix(in srgb, var(--up) 60%, transparent)); }
.mood-needle { position: absolute; top: -5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--surface); left: 50%; transition: left .4s ease; }
.mood-scale { display: flex; justify-content: space-between; margin: .35rem 0 .6rem; }
.adapt-list { margin: .3rem 0 .6rem; padding-left: 1.1rem; display: grid; gap: .35rem; }
.brief-panel, .mk-top + .panel, #market .panel { margin-bottom: 1rem; }
.brief-summary { font-size: 1.05rem; line-height: 1.55; margin: .2rem 0 .5rem; }
.brief-view { margin: 0 0 .8rem; color: #C3CFDC; }
.brief-cols { display: grid; gap: 1rem; }
.brief-panel h3, .mk-group h3 { font-size: .85rem; color: var(--muted); margin: .4rem 0 .35rem; font-weight: 650; }
.brief-list { margin: 0; padding-left: 0; list-style: none; display: grid; gap: .4rem; font-size: .92rem; line-height: 1.45; }
.imp.positive { color: var(--up); } .imp.negative { color: var(--down); } .imp.neutral { color: var(--muted); }
.mk-groups { display: grid; gap: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.tile { background: var(--surface-2); border-radius: var(--radius-sm); padding: .55rem .65rem; min-width: 0; }
.tile-name { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-row { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem; margin-top: .1rem; }
.tile-last { font-weight: 650; }
.spark { width: 100%; height: 26px; display: block; margin-top: .25rem; }
.spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark .up { stroke: var(--up); } .spark .down { stroke: var(--down); }
.news-list a { color: var(--text); text-decoration: none; } .news-list a:hover { color: var(--accent-hi); text-decoration: underline; }
.ap-mood { margin: .2rem 0 .3rem; font-weight: 600; }
@media (min-width: 900px) {
  .mk-top { grid-template-columns: 1fr 1fr; }
  .brief-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .tabs a { font-size: .8rem; } #pill-mood { display: none; } }
