:root {
  --ink: #171914;
  --muted: #252821;
  --line: #d8d8cf;
  --paper: #f4f2ec;
  --card: #fbfaf6;
  --green: #0d7b51;
  --green-light: #c8e6d6;
  --orange: #ed642f;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #f4f2ec;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { color: inherit; }
button { font: inherit; }

.site-header {
  height: 76px;
  padding: 0 max(clamp(20px, 5vw, 72px), calc((100vw - 1440px) / 2 + 72px));
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12pt;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 19px;
  height: 19px;
  border: 5px solid var(--ink);
  border-right-color: var(--orange);
  border-radius: 50%;
}

.primary-nav { display: flex; gap: 36px; }
.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 12pt;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a.active { color: var(--ink); }
.primary-nav a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -27px;
  background: var(--orange);
}

.icon-button {
  justify-self: end;
  width: 38px;
  height: 38px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.icon-button span { display: block; height: 1px; margin: 4px 0; background: var(--ink); }

main {
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 72px) 70px;
  background: var(--paper);
}

.overview-view { padding: 52px clamp(20px,5vw,72px) 80px; }
.overview-hero { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--ink); }
.overview-hero h1 { margin: 0; font-size: clamp(42px,6vw,78px); letter-spacing: -.065em; line-height: .95; }
.overview-hero .description { max-width: 760px; }
.market-glance { margin-top: 24px; overflow: hidden; border: 1px solid rgba(23,25,20,.72); border-radius: 14px; background: var(--card); box-shadow: 0 12px 32px rgba(23,25,20,.07); }
.market-glance > header { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: "DM Mono"; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.market-glance > header span { color: var(--orange); }
.market-glance > header time { color: var(--muted); }
.market-glance-grid { display: grid; grid-template-columns: repeat(7,minmax(150px,1fr)); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--orange) var(--line); }
.market-glance-grid::-webkit-scrollbar { height: 8px; }
.market-glance-grid::-webkit-scrollbar-track { background: var(--line); }
.market-glance-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--orange); }
.market-glance-grid article { position: relative; min-width: 150px; padding: 14px 15px 13px; border-right: 1px solid var(--line); background: linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0)); }
.market-glance-grid article:last-child { border-right: 0; }
.market-glance-grid article > span { display: block; overflow: hidden; color: var(--muted); font-family: "DM Mono"; font-size: 9px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.market-glance-grid article strong { display: block; margin-top: 7px; font-size: 17px; letter-spacing: -.035em; }
.market-glance-grid article em { display: block; margin-top: 3px; color: var(--green); font-family: "DM Mono"; font-size: 10px; font-style: normal; }
.market-glance-grid article em.negative { color: #c2482d; }
.market-glance-grid article em.unavailable { color: var(--muted); }
.market-glance-spark { display: block; width: 100%; height: 30px; margin-top: 9px; overflow: visible; }
.market-glance-spark line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.market-glance-spark path { fill: none; stroke: var(--green); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.market-glance-spark path.negative { stroke: #c2482d; }
.overview-pulse { padding-top: 42px; }
.overview-calendar { padding-top: 42px; }
.overview-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.overview-section-heading h2 { margin: 5px 0 0; font-size: 28px; letter-spacing: -.045em; }
.overview-section-heading > p { max-width: 410px; margin: 0; color: var(--muted); font-family: "DM Mono"; font-size: 10px; line-height: 1.6; text-align: right; }
.overview-pulse-grid { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--ink); border-radius: 14px; background: var(--line); box-shadow: 0 14px 36px rgba(23,25,20,.08); }
.overview-pulse-card { min-width: 0; padding: 18px 20px; background: var(--card); }
.overview-pulse-card:not(.is-lead) { display: none; }
.overview-pulse-card.is-lead { display: grid; grid-template-columns: minmax(190px,.65fr) minmax(280px,1.35fr); gap: 36px; align-items: center; min-height: 190px; padding: 34px 38px; background: var(--ink); color: var(--paper); }
.overview-pulse-card.is-lead > div:first-child > span { color: #ff895c; }
.overview-pulse-card.is-lead h3 { font-size: 28px; }
.overview-pulse-card.is-lead h3 small { color: #bfc2b9; }
.overview-pulse-card.is-lead .macro-mini-chart { display: none; }
.overview-pulse-card.is-lead .macro-chart-meta strong { color: var(--paper); font-size: 18px; }
.overview-pulse-card.is-lead .macro-chart-date { color: #bfc2b9; }
.overview-pulse-card.is-lead .macro-mini-chart svg { height: 146px; }
.overview-pulse-card.is-lead .macro-mini-chart line { stroke: rgba(255,255,255,.22); }
.overview-pulse-card.is-lead .macro-mini-chart path { stroke-width: 2.5; }
.overview-lead-insight { display: block; max-width: 680px; margin: 0; color: #d8dad3; font-size: clamp(16px,1.6vw,21px); font-weight: 500; line-height: 1.45; text-decoration-color: rgba(255,137,92,.7); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.overview-lead-insight[href] { cursor: pointer; }
.overview-lead-insight[href]::after { margin-left: 7px; color: #ff895c; content: "↗"; }
.overview-lead-insight[href]:hover, .overview-lead-insight[href]:focus-visible { color: var(--paper); outline: none; text-decoration-color: #ff895c; }
.market-driver-grid { display: grid; grid-template-columns: 1fr; overflow: hidden; margin-top: 1px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 12px 32px rgba(23,25,20,.05); }
.market-driver-grid[hidden] { display: none; }
.market-driver-grid .calendar-event { min-height: 116px; padding: 20px 58px 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); background: var(--card); }
.market-driver-grid .calendar-event:last-child { border-bottom: 0; }
.market-driver-story h3 a { color: inherit; text-decoration-color: rgba(237,100,47,.65); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.market-driver-story h3 a:hover, .market-driver-story h3 a:focus-visible { color: var(--orange); outline: none; }
.market-driver-story > b { color: var(--orange); }
.overview-pulse-card > div:first-child > span { color: var(--orange); font-family: "DM Mono"; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.overview-pulse-card h3 { margin: 6px 0 0; font-size: 19px; letter-spacing: -.04em; }
.overview-pulse-card h3 small { color: var(--muted); font-family: "DM Mono"; font-size: 10px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.overview-pulse-card h3 small::before { content: "· "; }
.overview-pulse-card > div:first-child > p { margin: 0; color: var(--muted); font-size: 11px; }
.overview-pulse-card .macro-mini-chart { margin-top: 12px; padding-top: 10px; }
.overview-pulse-card .macro-chart-meta b { font-size: 10px; }
.overview-pulse-card .macro-chart-meta strong { margin-right: 9px; color: var(--ink); font-family: "DM Mono"; font-size: 12px; }
.overview-pulse-card .macro-mini-chart svg { height: 58px; }
.overview-calendar { margin-top: 18px; }
.calendar-feature { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 24px 26px; border: 1px solid var(--ink); border-radius: 14px 14px 0 0; background: var(--ink); color: var(--paper); box-shadow: 0 12px 32px rgba(23,25,20,.08); }
.calendar-feature-date { display: grid; place-items: center; min-height: 76px; border: 1px solid rgba(255,255,255,.28); }
.calendar-feature-date strong { font-family: "DM Mono"; font-size: 30px; font-weight: 500; line-height: 1; }
.calendar-feature-date span { color: #ff895c; font-family: "DM Mono"; font-size: 10px; }
.calendar-kicker { margin: 0 0 6px; color: #ff895c; font-family: "DM Mono"; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.calendar-feature h3 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.calendar-feature h3 a, .calendar-event h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.calendar-feature h3 a:hover, .calendar-feature h3 a:focus-visible, .calendar-event h3 a:hover, .calendar-event h3 a:focus-visible { border-bottom-color: currentColor; }
.calendar-feature div > p:last-child { margin: 7px 0 0; color: #c9cbc4; font-size: 12px; }
.calendar-feature > time { font-family: "DM Mono"; font-size: 13px; white-space: nowrap; }
.calendar-grid { display: grid; grid-template-columns: repeat(2,1fr); overflow: hidden; border-left: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 12px 32px rgba(23,25,20,.05); }
.calendar-event { position: relative; display: grid; grid-template-columns: 86px 1fr; gap: 20px; min-height: 150px; padding: 24px 54px 24px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-event > time { padding-right: 16px; border-right: 1px solid var(--line); }
.calendar-event > time strong, .calendar-event > time span { display: block; font-family: "DM Mono"; }
.calendar-event > time strong { color: var(--orange); font-size: 27px; font-weight: 500; }
.calendar-event > time span { margin-top: 7px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.calendar-event div p { margin: 0 0 7px; color: var(--muted); font-family: "DM Mono"; font-size: 9px; text-transform: uppercase; }
.calendar-event h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.calendar-event div span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.calendar-event > b { position: absolute; top: 24px; right: 18px; color: #a73c27; font-family: "DM Mono"; font-size: 8px; letter-spacing: .06em; }
.calendar-event.has-results > b { color: var(--green); }
@media (max-width: 900px) { .overview-pulse-card.is-lead { grid-template-columns: 1fr; gap: 22px; } .calendar-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .overview-pulse-grid { grid-template-columns: 1fr; } .overview-pulse-card.is-lead { grid-column: auto; } }
@media (max-width: 650px) { .overview-hero, .overview-section-heading { display: block; } .overview-hero .market-status, .overview-section-heading > p { margin-top: 20px; text-align: left; } .calendar-feature { grid-template-columns: 64px 1fr; } .calendar-feature > time { grid-column: 2; } .calendar-event { grid-template-columns: 64px 1fr; padding-right: 42px; } }
.ipo-calendar-view{padding-bottom:80px}.ipo-calendar-card{padding:44px 0}.ipo-calendar-controls{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(150px,.7fr));gap:14px;margin:28px 0 18px}.ipo-calendar-controls label{display:grid;gap:7px;color:var(--muted);font-family:"DM Mono";font-size:9px;text-transform:uppercase;letter-spacing:.06em}.ipo-calendar-controls input,.ipo-calendar-controls select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:0;background:var(--paper);color:var(--ink);font:12px "DM Mono"}.ipo-calendar-legend{display:flex;flex-wrap:wrap;gap:18px;padding:0 0 24px;color:var(--muted);font:9px "DM Mono";text-transform:uppercase}.ipo-calendar-legend span{display:flex;align-items:center;gap:7px}.ipo-calendar-legend i{width:8px;height:8px;border-radius:50%;background:#777}.ipo-calendar-legend .confirmed{background:var(--green)}.ipo-calendar-legend .filed{background:#2f668b}.ipo-calendar-legend .announced{background:#a87800}.ipo-calendar-legend .postponed{background:#a73c27}.ipo-calendar-legend .reported{background:#777}.ipo-month{margin-top:34px}.ipo-month>header{display:flex;justify-content:space-between;align-items:baseline;padding:0 0 12px;border-bottom:1px solid var(--ink)}.ipo-month>header h3{margin:0;font-size:22px}.ipo-month>header span{color:var(--muted);font:10px "DM Mono"}.ipo-event{min-height:210px}.ipo-event h3 small{display:inline-block;margin-left:6px;color:var(--orange);font:10px "DM Mono"}.ipo-event footer{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:15px}.ipo-event footer em,.ipo-event footer a{color:var(--muted);font:9px "DM Mono";font-style:normal;text-decoration:none}.ipo-event footer a{color:var(--ink);border-bottom:1px solid var(--ink)}.ipo-event.status-confirmed{box-shadow:inset 3px 0 var(--green)}.ipo-event.status-filed{box-shadow:inset 3px 0 #2f668b}.ipo-event.status-announced{box-shadow:inset 3px 0 #a87800}.ipo-event.status-postponed{box-shadow:inset 3px 0 #a73c27}.ipo-event.status-reported{box-shadow:inset 3px 0 #777}@media(max-width:900px){.ipo-calendar-controls{grid-template-columns:1fr 1fr}}@media(max-width:560px){.ipo-calendar-controls{grid-template-columns:1fr}.primary-nav{gap:10px}.primary-nav a{font-size:10px}}

.hero {
  padding: 70px 0 46px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.eyebrow, .section-label {
  margin: 0 0 15px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 12pt;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.title-row { display: flex; gap: 18px; align-items: center; }
.site-header .auth-button { justify-self: end; width: auto; min-width: 0; height: auto; padding: 5px 8px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-family: "DM Mono"; font-size: 9px; line-height: 1; }
.account-status { justify-self: end; display: flex; align-items: center; gap: 9px; }
.login-indicator { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-family: "DM Mono"; font-size: 9px; white-space: nowrap; }
.login-indicator[hidden] { display: none; }
.login-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.auth-button:hover, .auth-button:focus-visible { background: var(--ink); color: var(--card); outline: none; }
.auth-dialog { width: min(500px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.auth-dialog::backdrop { background: rgba(23,25,20,.58); backdrop-filter: blur(3px); }
.auth-dialog > section { padding: 26px; }
.auth-dialog header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.auth-dialog header .section-label { margin-bottom: 7px; font-size: 10px; }
.auth-dialog h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.auth-dialog header > button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 24px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2,1fr); margin: 20px 0; border: 1px solid var(--line); }
.auth-tabs button { padding: 10px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-family: "DM Mono"; font-size: 11px; }
.auth-tabs button:last-child { border-right: 0; }
.auth-tabs button.active { background: var(--ink); color: var(--card); }
#auth-form label, #auth-reset-form label, #auth-profile-form label { display: block; margin-top: 14px; color: var(--muted); font-family: "DM Mono"; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
#auth-form input, #auth-reset-form input, #auth-profile-form input { box-sizing: border-box; width: 100%; height: 42px; margin-top: 7px; padding: 0 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-family: "DM Mono"; font-size: 13px; }
#auth-form label small, #auth-reset-form label small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; text-transform: none; letter-spacing: 0; }
.auth-submit, .auth-account button { width: 100%; margin-top: 18px; padding: 11px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); cursor: pointer; font-family: "DM Mono"; font-size: 11px; }
.auth-secondary { width: 100%; margin-top: 10px; padding: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-family: "DM Mono"; font-size: 10px; text-decoration: underline; }
.auth-message { min-height: 18px; margin: 10px 0 0; color: #a73c27; font-family: "DM Mono"; font-size: 10px; }
.auth-account { padding-top: 20px; }
.auth-account[hidden] { display: none; }
.auth-account strong, .auth-account p { font-family: "DM Mono"; }
.auth-account strong { font-size: 14px; }
.auth-account p { color: var(--muted); font-size: 11px; }
.welcome-content { padding-top: 22px; }
.welcome-content p { margin: 0; color: var(--muted); font-family: "DM Mono"; font-size: 12px; line-height: 1.6; }
h1 { margin: 0; font-size: clamp(54px, 8vw, 102px); line-height: .9; letter-spacing: -.08em; }
.ticker {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 12pt;
}
.description { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 12pt; line-height: 1.7; }

.market-status {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 8px;
  align-items: center;
  padding-bottom: 4px;
  font-size: 12pt;
  font-weight: 600;
}
.market-status time { grid-column: 2; color: var(--muted); font-family: "DM Mono"; font-size: 12pt; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.weather-card { width: min(100%, 274px); border: 1px solid var(--line); padding: 14px 15px 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); }
.weather-card-top { display: flex; align-items: center; gap: 10px; }
#weather-icon { width: 31px; color: var(--green); font-size: 28px; line-height: 1; text-align: center; }
.weather-card-top p { margin: 0 0 2px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.weather-card-top strong { font-size: 14px; letter-spacing: -.02em; }
.weather-summary { min-height: 18px; margin: 9px 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.weather-form { display: flex; gap: 6px; }
.weather-form input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 0; padding: 7px 8px; color: var(--text); background: transparent; font: 11px "DM Mono", monospace; }
.weather-form button { border: 1px solid var(--green); padding: 7px 9px; color: var(--bg); background: var(--green); font: 10px "DM Mono", monospace; cursor: pointer; }
.weather-form button:focus-visible, .weather-form input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.weather-attribution { margin: 9px 0 0; font: 9px "DM Mono", monospace; }
.weather-attribution a { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.metrics article { padding: 24px 20px; border-right: 1px solid var(--line); }
.metrics article:first-child { padding-left: 0; }
.metrics article:last-child { border: 0; }
.metrics p { margin: 0 0 9px; color: var(--muted); font-size: 12pt; text-transform: uppercase; letter-spacing: .08em; }
.metrics .metric-label { display: flex; gap: 8px; align-items: baseline; }
.metrics .metric-label time { font: inherit; }
.metrics strong { display: block; font-family: "DM Mono"; font-size: 17px; font-weight: 500; letter-spacing: -.05em; }
.metrics strong i { color: var(--line); font-style: normal; }
.metrics span { display: block; margin-top: 6px; color: var(--muted); font-family: "DM Mono"; font-size: 12pt; }
.metrics span b, .metrics span em { font: inherit; }
.metrics span b { color: #c2482d; }
.metrics span em { color: var(--green); font-style: normal; }
.metrics span i { color: var(--line); font-style: normal; }
.positive { color: var(--green) !important; }
.negative { color: #c2482d !important; }

.chart-card { padding: 52px 0 24px; border-bottom: 1px solid var(--line); }
.chart-header { display: grid; grid-template-columns: minmax(160px, 1fr) auto minmax(360px, 1.3fr); gap: 28px; align-items: end; }
.chart-header h2 { margin: 0; color: var(--green); font-family: "DM Mono"; font-size: 28px; font-weight: 500; letter-spacing: -.06em; }
.chart-header span { color: var(--muted); font-size: 12pt; }
.focus-range {
  min-width: 190px;
  padding: 0 22px 2px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.focus-range p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12pt;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.focus-range strong {
  display: block;
  font-family: "DM Mono";
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.05em;
}
.focus-range strong i { color: var(--line); font-style: normal; }
.focus-range span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "DM Mono";
  font-size: 12pt;
}
.focus-range span b, .focus-range span em { font: inherit; }
.focus-range span b { color: #c2482d; }
.focus-range span em { color: var(--green); font-style: normal; }
.focus-range span i { color: var(--line); font-style: normal; }
.range-controls { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 700px; }
.range-controls button {
  width: 42px;
  height: 30px;
  border: 0;
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  font-family: "DM Mono";
  font-size: 12pt;
  cursor: pointer;
}
.range-controls button:hover, .range-controls button.active { color: var(--card); background: var(--ink); }
.range-controls .rotate-button {
  width: 30px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.range-controls .rotate-button.active {
  border-color: var(--ink);
  color: var(--card);
  background: var(--green);
}

.chart-wrap { position: relative; width: 100%; height: 390px; margin-top: 28px; }
#chart { width: 100%; height: 100%; overflow: visible; }
.grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.axis-text { fill: var(--muted); font-family: "DM Mono"; font-size: 12pt; }
.area { fill: url(#areaGradient); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.data-point { fill: var(--card); stroke: var(--green); stroke-width: 2; }
.record-high-dot { fill: var(--orange); stroke: var(--card); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(237, 100, 47, .48)); }
.record-high-label { fill: var(--orange); font-family: "DM Mono"; font-size: 12pt; font-weight: 500; paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }
.hover-line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; }
.hover-dot { fill: var(--card); stroke: var(--green); stroke-width: 2; opacity: 0; }
.interaction { fill: transparent; cursor: crosshair; }

.tooltip {
  position: absolute;
  z-index: 2;
  width: 128px;
  padding: 10px 11px;
  border: 1px solid var(--ink);
  background: var(--card);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
}
.tooltip span, .tooltip strong, .tooltip em { display: block; font-family: "DM Mono"; font-size: 12pt; font-style: normal; }
.tooltip span { margin-bottom: 5px; color: var(--muted); }
.tooltip strong { font-size: 12pt; font-weight: 500; }
.tooltip em { margin-top: 4px; color: var(--green); }

.chart-footer { display: flex; justify-content: space-between; color: var(--muted); font-family: "DM Mono"; font-size: 12pt; }
.chart-footer p { margin: 0; }
.legend-line { display: inline-block; width: 18px; height: 2px; margin: 0 8px 3px 0; background: var(--green); }

.lower-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.lower-grid article { background: var(--paper); padding: 48px 0; }
.movers-card { padding-right: 50px !important; }
.brief-card { padding-left: 50px !important; }
.card-title { display: flex; justify-content: space-between; align-items: start; margin-bottom: 34px; }
.card-title h2, .brief-card h2 { margin: 0; font-size: 22px; letter-spacing: -.05em; }
.card-title > span { color: var(--muted); font-family: "DM Mono"; font-size: 12pt; }
.sector-row { display: grid; grid-template-columns: 30px 120px 1fr 60px; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.sector-row > span, .sector-row em { color: var(--muted); font-family: "DM Mono"; font-size: 12pt; font-style: normal; }
.sector-row strong { font-size: 12pt; }
.sector-row em { color: var(--green); text-align: right; }
.sector-track { height: 3px; background: var(--line); }
.sector-track i { display: block; height: 100%; background: var(--green); }
.brief-card h2 { max-width: 400px; font-size: 27px; line-height: 1.25; }
.brief-card > p:not(.section-label) { max-width: 420px; margin: 22px 0; color: var(--muted); font-size: 12pt; line-height: 1.8; }
.brief-card a { font-size: 12pt; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.brief-card a span { margin-left: 5px; color: var(--orange); }

body > footer { padding: 25px clamp(20px, 5vw, 72px); display: flex; justify-content: center; align-items: center; gap: 20px; color: var(--muted); font-family: "DM Mono"; font-size: 12pt; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
body > footer p { margin: 0; }
body > footer span { color: var(--line); }
body > footer .copyright { color: #000; font-family: Arial, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0; text-rendering: geometricPrecision; }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { padding-top: 48px; display: block; }
  .market-status { margin-top: 32px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(3), .metrics article:nth-child(4) { border-top: 1px solid var(--line); }
  .metrics article:nth-child(3) { padding-left: 0; }
  .chart-header { display: block; }
  .focus-range { margin-top: 25px; padding: 18px 0 0; border-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .range-controls { margin-top: 25px; justify-content: flex-start; max-width: none; }
  .chart-wrap { height: 300px; }
  .lower-grid { display: block; background: transparent; }
  .movers-card { padding-right: 0 !important; }
  .brief-card { padding-left: 0 !important; border-top: 1px solid var(--line); }
  body > footer { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  h1 { font-size: 54px; }
  .metrics strong { font-size: 12pt; }
  .metrics article { padding: 20px 10px; }
  .sector-row { grid-template-columns: 22px 95px 1fr 55px; gap: 7px; }
  .chart-footer { gap: 12px; }
}

.series-panel {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.series-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.series-tabs button {
  min-width: 42px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  font-family: "DM Mono";
  font-size: 12pt;
  cursor: pointer;
}

.series-tabs button:hover,
.series-tabs button.active {
  color: var(--card);
  background: var(--ink);
  border-color: var(--ink);
}

.static-note {
  min-width: 220px;
  padding: 0 0 2px 24px;
  border-left: 1px solid var(--line);
}

.static-note p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12pt;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.static-note span {
  color: var(--muted);
  font-family: "DM Mono";
  font-size: 12pt;
}

@media (max-width: 800px) {
  .series-panel { grid-template-columns: 1fr; }
  .static-note { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

.correction-label {
  fill: #c2482d;
  font-family: "DM Mono";
  font-size: 12pt;
  font-weight: 500;
  paint-order: stroke;
  stroke: var(--card);
  stroke-width: 4px;
  stroke-linejoin: round;
}

[data-panel][hidden] { display: none !important; }

.analysis-view { display: block; }
.analysis-hero {
  padding: 70px 0 46px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.analysis-method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.analysis-method article {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.analysis-method article:first-child { padding-left: 0; }
.analysis-method article:last-child { border-right: 0; }
.analysis-method strong {
  display: block;
  font-family: "DM Mono";
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.05em;
}
.analysis-method span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "DM Mono";
  font-size: 12pt;
}
.analysis-method:has(.macro-story) { grid-template-columns: minmax(270px, 1.15fr) repeat(3, minmax(190px, 1fr)); }
.macro-story span { max-width: 620px; line-height: 1.55; }
.macro-story-label { display: flex; align-items: center; gap: 12px; font-family: "DM Mono", monospace; font-size: 12pt; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.macro-story-label time { padding-left: 12px; border-left: 1px solid var(--line); color: var(--orange); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.macro-points { margin: 14px 0 0; padding: 0; list-style: none; }
.macro-points li { position: relative; margin-top: 9px; padding-left: 18px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 12pt; line-height: 1.55; }
.macro-points li::before { position: absolute; left: 0; color: var(--orange); content: "\2192"; }
.macro-detail-story span { line-height: 1.55; }
.macro-mini-chart { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.macro-mini-chart p { margin: 0; color: var(--muted); font-family: "DM Mono"; font-size: 10px; }
.macro-chart-meta { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 6px; font-family: "DM Mono"; font-size: 10px; }
.macro-chart-meta.with-title { align-items: baseline; justify-content: space-between; }
.macro-chart-meta b { font-weight: 500; }
.macro-chart-meta > span { display: inline-flex; align-items: baseline; gap: 8px; }
.macro-chart-meta > span strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.macro-contract-tooltip { position: relative; border-bottom: 1px dotted var(--orange); color: var(--orange); cursor: help; outline: none; }
.macro-contract-tooltip i { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); width: max-content; max-width: 190px; padding: 7px 9px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); font-family: "DM Mono"; font-size: 10px; font-style: normal; font-weight: 400; line-height: 1.35; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease; }
.macro-contract-tooltip:hover i, .macro-contract-tooltip:focus i { opacity: 1; transform: translate(-50%, 0); }
.macro-chart-meta em { color: var(--green); font-style: normal; }
.macro-chart-meta em.negative { color: #c2482d; }
.macro-chart-date { display: block; margin: -2px 0 8px; color: var(--muted); font-family: "DM Mono"; font-size: 9px; }
.macro-mini-chart svg { display: block; width: 100%; height: 76px; overflow: visible; }
.macro-mini-chart path { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.macro-mini-chart path.negative { stroke: #c2482d; }
.macro-mini-chart line { stroke: var(--line); stroke-width: 1; }
.macro-detail-story, .macro-story { position: relative; }
.analysis-method article > .macro-mini-chart, .macro-current-story > .macro-mini-chart { margin-top: auto; }
.macro-stock-stories { padding: 38px 0 42px; border-bottom: 1px solid var(--line); }
.macro-stock-stories > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.macro-stock-stories h2 { margin: 0; font-size: 27px; letter-spacing: -.05em; }
.macro-stock-story-grid { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(23,25,20,.05); }
.macro-stock-story { grid-template-columns: 86px minmax(0,1fr) 190px; align-items: center; min-height: 116px; padding: 20px 58px 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); background: var(--card); }
.macro-stock-story:last-child { border-bottom: 0; }
.macro-stock-story.major { box-shadow: inset 3px 0 #a73c27; background: rgba(167,60,39,.035); }
.macro-stock-story h3 a { color: inherit; text-decoration-color: rgba(237,100,47,.65); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.macro-stock-story h3 a:hover, .macro-stock-story h3 a:focus-visible { color: var(--orange); outline: none; }
.macro-stock-story .focus-ticker-link { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.macro-stock-story .focus-ticker-link:hover, .macro-stock-story .focus-ticker-link:focus-visible { color: var(--ink); outline: none; }
.macro-focus-sparkline { min-width: 0; }
.macro-focus-sparkline svg { display: block; width: 100%; height: 58px; overflow: visible; }
.macro-focus-sparkline path { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.macro-focus-sparkline svg.negative path { stroke: #c2482d; }
.focus-sparkline-empty { color: var(--muted); font-family: "DM Mono"; font-size: 9px; }
.macro-stock-conclusions { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--ink); }
.macro-stock-conclusions > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.macro-stock-conclusions h3 { margin: 5px 0 0; font-size: 26px; letter-spacing: -.04em; }
.macro-stock-conclusions > header button { border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; background: transparent; color: var(--orange); font-family: "DM Mono"; font-size: 11px; cursor: pointer; }
.macro-stock-conclusions ol { display: grid; grid-template-columns: 1fr; overflow: hidden; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(23,25,20,.05); list-style: none; }
.macro-stock-conclusions li { min-height: 190px; padding: 22px 78px 22px 24px; border-right: 0; border-bottom: 1px solid var(--line); background: var(--card); }
.macro-stock-conclusions li:last-child { border-bottom: 0; }
.macro-stock-conclusions li::before { content: none; }
.macro-conclusion-story.strong { box-shadow: inset 3px 0 #39704b; }
.macro-conclusion-story.weak { box-shadow: inset 3px 0 #a76527; }
.conclusion-validation-evidence { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--orange); background: rgba(23,25,20,.035); }
.conclusion-validation-evidence > strong { display: block; color: var(--orange); font-family: "DM Mono"; font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.conclusion-validation-evidence > p { margin: 8px 0 0; color: var(--muted); font-family: "DM Mono"; font-size: 11px; line-height: 1.55; }
.conclusion-validation-evidence > a { display: inline-block; margin-top: 9px; color: var(--orange); font-family: "DM Mono"; font-size: 9px; text-decoration: none; border-bottom: 1px solid currentColor; }
.macro-stock-validation-grid { display: grid; grid-template-columns: 1fr; overflow: hidden; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(23,25,20,.05); }
.macro-stock-validation-grid[hidden] { display: none; }
.macro-stock-validation { min-height: 132px; padding: 20px 78px 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(23,25,20,.018); }
.macro-stock-validation:last-child { border-bottom: 0; }
.macro-stock-validation.strong { box-shadow: inset 3px 0 #39704b; }
.macro-stock-validation.weak { box-shadow: inset 3px 0 #a76527; }
.macro-stock-validation a { display: inline-block; margin-top: 10px; color: var(--orange); font-family: "DM Mono"; font-size: 9px; text-decoration: none; border-bottom: 1px solid currentColor; }
.focus-history-dialog { width: min(860px,calc(100vw - 32px)); }
.focus-history-content { max-height: 65vh; overflow: auto; padding-top: 20px; }
.focus-history-empty { margin: 0; color: var(--muted); font-family: "DM Mono"; font-size: 12px; }
.focus-history-edition { padding: 18px 0; border-bottom: 1px solid var(--line); }
.focus-history-edition:first-child { padding-top: 0; }
.focus-history-edition h3 { margin: 0; font-size: 18px; }
.focus-history-edition > small { display: block; margin-bottom: 7px; color: var(--orange); font-family: "DM Mono"; font-size: 9px; text-transform: uppercase; }
.focus-history-edition ul, .focus-history-edition ol { margin: 12px 0 0; padding-left: 22px; }
.focus-history-edition li { margin: 7px 0; color: var(--muted); font-family: "DM Mono"; font-size: 10px; line-height: 1.5; }
#myanalysis-view > [hidden] { display: none !important; }
.current-story-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.current-story-label > span { display: inline; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.current-story-label time { color: var(--orange); font-family: "DM Mono"; font-size: 8px; letter-spacing: .05em; white-space: nowrap; }
.macro-detail-story.has-story-history, .macro-story.has-story-history { padding-bottom: calc(24px + var(--history-space)); }
.macro-current-story { position: relative; z-index: 10; display: flex; flex-direction: column; min-height: 100%; padding: 14px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 0 7px 15px rgba(23,25,20,.08); }
.macro-history-layers { position: absolute; z-index: 1; inset: 24px 12px auto 12px; height: 100%; pointer-events: none; }
.macro-history-card { position: absolute; z-index: var(--history-layer); top: var(--history-offset); left: var(--history-inset); right: 0; height: 25%; min-height: 52px; padding: 12px 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 6px 12px rgba(23,25,20,.07); text-align: left; cursor: pointer; pointer-events: auto; }
.macro-history-card:hover, .macro-history-card:focus-visible { border-color: var(--orange); outline: none; }
.macro-history-card small, .macro-history-card strong { display: block; overflow: hidden; font-family: "DM Mono"; text-overflow: ellipsis; white-space: nowrap; }
.macro-history-card small { color: var(--orange); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.macro-history-card strong { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 500; }
.story-history-dialog { width: min(620px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.story-history-dialog::backdrop { background: rgba(23,25,20,.58); backdrop-filter: blur(3px); }
.story-history-dialog article { padding: 26px; }
.story-history-dialog header { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.story-history-dialog .section-label { margin-bottom: 8px; font-size: 10px; }
.story-history-dialog h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.story-history-dialog header button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 24px; }
.story-history-dialog > article > p { margin: 22px 0 0; color: var(--muted); font-family: "DM Mono"; font-size: 12pt; line-height: 1.65; }
.analysis-area { fill: url(#analysisAreaGradient); }

.watchlist-toolbar{display:flex;justify-content:space-between;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.watchlist-toolbar p{margin:0 0 5px}.watchlist-toolbar strong{font-family:"DM Mono";font-size:14px;font-weight:500}.watchlist-toolbar button{padding:10px 16px;border:1px solid var(--ink);background:transparent;cursor:pointer;font-family:"DM Mono";font-size:12px}.watchlist-toolbar button:hover{color:var(--card);background:var(--ink)}.watchlist-toolbar button:disabled{opacity:.5;cursor:wait}.watchlist-card{padding:48px 0 72px}.watchlist-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px}.watchlist-heading h2{margin:0;font-size:27px;letter-spacing:-.05em}.watchlist-heading>span{color:var(--muted);font-family:"DM Mono";font-size:12px}.watchlist-table{border-top:1px solid var(--ink)}.watchlist-row{display:grid;grid-template-columns:70px minmax(220px,1.2fr) minmax(170px,.8fr) minmax(230px,1fr);gap:22px;align-items:center;min-height:94px;border-bottom:1px solid var(--line)}.watchlist-header{min-height:42px;color:var(--muted);font-family:"DM Mono";font-size:11px;text-transform:uppercase;letter-spacing:.08em}.watchlist-company strong,.watchlist-company span,.watchlist-earnings small{display:block}.watchlist-company strong{margin-bottom:5px;font-family:"DM Mono";font-size:18px}.watchlist-company span,.watchlist-earnings small{color:var(--muted);font-size:12px}.watchlist-rank{color:var(--orange);font-family:"DM Mono"}.watchlist-cap{font-family:"DM Mono";font-size:15px;font-weight:500}.watchlist-earnings a,.earnings-date{display:inline-block;margin-bottom:5px;font-size:13px;font-weight:700}.watchlist-earnings a{text-decoration:none;border-bottom:1px solid var(--ink)}.watchlist-earnings a span{color:var(--orange)}.watchlist-message{padding:35px 0;color:var(--muted)}
@media(max-width:800px){.watchlist-row{grid-template-columns:42px 1fr 1fr;gap:14px;padding:18px 0}.watchlist-row>:last-child{grid-column:2/-1}.watchlist-header span:last-child{display:none}}

@media (max-width: 800px) {
  .analysis-hero { padding-top: 48px; display: block; }
  .analysis-method, .analysis-method:has(.macro-story) { grid-template-columns: repeat(2, 1fr); }
  .macro-stock-story-grid { grid-template-columns: 1fr; }
  .macro-stock-story { grid-template-columns: 64px minmax(0,1fr); }
  .macro-focus-sparkline { grid-column: 2; }
  .macro-stock-conclusions ol { grid-template-columns: 1fr; }
  .macro-stock-validation-grid { grid-template-columns: 1fr; }
  .macro-stock-story:nth-child(3n) { border-right: 1px solid var(--line); }
  .macro-stock-story:nth-child(2n) { border-right: 0; }
  .analysis-method article:nth-child(2) { border-right: 0; }
  .analysis-method article:nth-child(3), .analysis-method article:nth-child(4) { border-top: 1px solid var(--line); }
  .analysis-method article:nth-child(3) { padding-left: 0; }
}

@media (max-width: 480px) {
  .analysis-method { grid-template-columns: 1fr; }
  .macro-stock-story-grid { grid-template-columns: 1fr; }
  .macro-stock-conclusions ol { grid-template-columns: 1fr; }
  .macro-stock-conclusions li { border-right: 0; }
  .macro-stock-validation-grid { grid-template-columns: 1fr; }
  .macro-stock-validation { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .macro-stock-story { min-height: 0; border-right: 0 !important; }
  .analysis-method article { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .analysis-method article:first-child { border-top: 0; }
}

/* About page. */
.about-hero { align-items: end; }
.about-hero > div:first-child { min-width: 0; }
.about-hero h1 { font-size: clamp(28px, 2.5vw, 42px); white-space: nowrap; }
.about-statement { max-width: 260px; padding: 24px 0 4px 28px; border-left: 1px solid var(--line); }
.about-statement span, .about-statement strong { display: block; }
.about-statement span { margin-bottom: 12px; color: var(--muted); font-family: "DM Mono"; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.about-statement strong { font-size: 18px; line-height: 1.45; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.about-grid article { min-height: 280px; padding: 34px 30px 42px; border-right: 1px solid var(--line); }
.about-grid article:first-child { padding-left: 0; }
.about-grid article:last-child { padding-right: 0; border-right: 0; }
.about-grid h2, .about-principles h2 { margin: 28px 0 16px; font-size: 25px; letter-spacing: -.04em; }
.about-grid article > p:last-child, .about-principles li p, .about-disclosure > p:last-child { color: var(--muted); line-height: 1.75; }
.about-principles { display: grid; grid-template-columns: minmax(240px,.8fr) 1.4fr; gap: 70px; padding: 72px 0; border-bottom: 1px solid var(--ink); }
.about-principles h2 { max-width: 360px; }
.about-principles ol { margin: 0; padding: 0; list-style: none; }
.about-principles li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.about-principles li:first-child { border-top-color: var(--ink); }
.about-principles li > span { color: var(--orange); font-family: "DM Mono"; font-size: 12px; }
.about-principles li strong { font-size: 16px; }
.about-principles li p { margin: 8px 0 0; }
.about-leadership { display: grid; grid-template-columns: minmax(180px,.45fr) 1.55fr; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.about-leadership > .section-label { margin: 0; }
.about-leadership article { display: flex; align-items: center; gap: 18px; }
.about-leadership article > span { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--ink); color: var(--orange); font-family: "DM Mono"; font-size: 13px; }
.leadership-photo-link { display: block; width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; outline-offset: 3px; }
.leadership-photo-link img { display: block; width: 72px; height: 72px; border: 1px solid var(--ink); border-radius: 50%; object-fit: cover; object-position: center; transition: border-color .15s ease, transform .15s ease; }
.leadership-photo-link:hover img, .leadership-photo-link:focus-visible img { border-color: var(--orange); transform: scale(1.04); }
.about-leadership h2, .about-leadership p { margin: 0; }
.about-leadership h2 { font-size: 21px; letter-spacing: -.04em; }
.about-leadership article p { margin-top: 5px; color: var(--muted); font-family: "DM Mono"; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.about-disclosure { display: grid; grid-template-columns: minmax(180px,.45fr) 1.55fr; gap: 40px; padding: 38px 0 68px; }
.about-disclosure > p { margin: 0; }
@media (max-width: 800px) {
  .about-statement { max-width: none; margin-top: 30px; padding-left: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid article, .about-grid article:first-child, .about-grid article:last-child { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid article:last-child { border-bottom: 0; }
  .about-principles, .about-leadership, .about-disclosure { grid-template-columns: 1fr; gap: 26px; }
}

/* Watchlist seven-column layout and Three.js previews. */
.watchlist-heading-title { display: flex; align-items: center; gap: 18px; }
.watchlist-heading-title > div { display: flex; align-items: center; gap: 14px; }
#watchlist-heading { word-spacing: .08em; }
.watchlist-card { padding-top: 24px; }
.crypto-overview { padding: 52px 0 0; }
.crypto-overview-lead { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.5fr); gap: 54px; align-items: end; padding-bottom: 34px; border-bottom: 1px solid var(--ink); }
.crypto-overview-lead h1 { margin: 0; font-size: clamp(48px,6.5vw,86px); letter-spacing: -.07em; line-height: .94; }
.crypto-overview-lead .description { max-width: 720px; }
.crypto-overview-chart { padding: 18px 20px; border: 1px solid var(--line); background: var(--card); }
.crypto-overview-chart > span { color: var(--orange); font: 9px "DM Mono"; letter-spacing: .09em; text-transform: uppercase; }
.crypto-overview-chart h2 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.04em; }
.crypto-overview-chart h2 a { color: inherit; text-decoration: none; }
.crypto-overview-chart h2 a[href] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.crypto-overview-chart h2 a[href]:hover { color: var(--orange); }
.crypto-overview-chart h2 small { color: var(--muted); font: 10px "DM Mono"; }
.crypto-overview-chart .macro-mini-chart { margin-top: 12px; padding-top: 10px; }
.crypto-overview-chart .macro-mini-chart svg { height: 62px; }
.crypto-page .watchlist-hero { display: none; }
.crypto-overview-metrics { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--ink); }
.crypto-overview-metrics article { min-width: 0; padding: 22px 20px; border-right: 1px solid var(--line); background: var(--card); }
.crypto-overview-metrics article:last-child { border-right: 0; }
.crypto-overview-metrics span, .crypto-overview-metrics strong, .crypto-overview-metrics small { display: block; }
.crypto-overview-metrics span { margin-bottom: 16px; color: var(--orange); font: 9px "DM Mono"; letter-spacing: .08em; text-transform: uppercase; }
.crypto-overview-metrics strong { font: 500 clamp(19px,2vw,27px) "DM Mono"; letter-spacing: -.04em; }
.crypto-overview-metrics small { margin-top: 7px; color: var(--muted); font: 9px "DM Mono"; }
.crypto-data-attribution { margin: 9px 0 0; color: var(--muted); font: 8px "DM Mono"; text-align: right; }
.crypto-data-attribution a { color: var(--orange); text-decoration: none; border-bottom: 1px solid currentColor; }
.crypto-page .watchlist-hero { padding-top: 42px; }
.crypto-page .watchlist-card { padding-top: 18px; }
.watchlist-heading { align-items: center; gap: 22px; }
.watchlist-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.watchlist-controls input { width: 210px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--card); color: var(--ink); font-family: "DM Mono"; font-size: 11px; }
.global-stock-search { position: relative; width: 240px; }
.global-stock-search #watchlist-search { width: 100%; }
.global-stock-search-results { position: absolute; z-index: 1100; top: calc(100% + 6px); right: 0; width: min(430px,calc(100vw - 24px)); padding: 6px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 0 18px 42px rgba(23,25,20,.2); }
.global-stock-search-results[hidden] { display: none; }
.global-stock-search-results button { display: grid; grid-template-columns: 62px minmax(130px,1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.global-stock-search-results button:last-child { border-bottom: 0; }
.global-stock-search-results button:hover, .global-stock-search-results button:focus-visible { background: var(--card); outline: none; }
.global-stock-search-results strong, .global-stock-search-results em { font-family: "DM Mono"; font-style: normal; }
.global-stock-search-results strong { color: var(--orange); font-size: 12px; }
.global-stock-search-results span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.global-stock-search-results em { color: var(--green); font-size: 9px; white-space: nowrap; }
.watchlist-controls span { min-width: 78px; color: var(--muted); font-family: "DM Mono"; font-size: 11px; text-align: center; }
.watchlist-controls button.active { color: var(--card); background: var(--ink); }
.watchlist-pagination-bottom { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 20px; }
.watchlist-pagination-bottom span { min-width: 82px; color: var(--muted); font-family: "DM Mono"; font-size: 11px; text-align: center; }
.watchlist-pagination-bottom button { padding: 8px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-family: "DM Mono"; font-size: 11px; }
.watchlist-pagination-bottom button:hover:not(:disabled) { color: var(--card); background: var(--ink); }
.watchlist-pagination-bottom button:disabled { opacity: .4; cursor: default; }
.watchlist-heading button { padding: 8px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-family: "DM Mono"; font-size: 11px; }
.watchlist-heading button:hover { color: var(--card); background: var(--ink); }
.watchlist-heading button:disabled { opacity: .5; cursor: wait; }
.watchlist-heading .asset-list-trigger { display: flex; min-width: 245px; padding: 10px 12px; align-items: center; justify-content: space-between; gap: 24px; border-color: var(--line); background: var(--card); color: var(--ink); text-align: left; }
.watchlist-heading .asset-list-trigger[hidden] { display: none !important; }
.watchlist-heading .asset-list-trigger:hover { border-color: var(--ink); background: var(--card); color: var(--ink); }
.asset-list-trigger span, .asset-list-trigger small, .asset-list-trigger strong { display: block; }
.asset-list-trigger small { margin-bottom: 4px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.asset-list-trigger strong { font-family: "Manrope"; font-size: 13px; }
.asset-list-trigger b { color: var(--orange); font-size: 10px; font-weight: 500; white-space: nowrap; }
.asset-list-trigger i { font-style: normal; }
.asset-list-dialog { width: min(760px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.asset-list-dialog::backdrop { background: rgba(23,25,20,.62); backdrop-filter: blur(3px); }
.asset-list-dialog > section { padding: 28px; }
.asset-list-dialog header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.asset-list-dialog header h2 { margin: 5px 0 6px; font-size: 31px; letter-spacing: -.055em; }
.asset-list-dialog header p { margin-bottom: 0; color: var(--muted); }
.asset-list-dialog header button { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 23px; }
.asset-list-dialog header button:hover { color: var(--card); background: var(--ink); }
.asset-list-search { display: grid; grid-template-columns: 110px 1fr; align-items: center; margin: 22px 0 18px; border: 1px solid var(--line); background: var(--card); }
.asset-list-search span { padding-left: 14px; color: var(--muted); font-family: "DM Mono"; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.asset-list-search input { height: 46px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); font: 13px "DM Mono"; outline: none; }
.asset-list-search:focus-within { border-color: var(--ink); }
.asset-list-library { display: grid; gap: 10px; }
.asset-list-group-label { margin: 8px 0 1px; color: var(--muted); font-family: "DM Mono"; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.asset-list-option { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 15px; align-items: center; width: 100%; min-height: 82px; padding: 14px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.asset-list-option:hover, .asset-list-option:focus-visible { border-color: var(--ink); background: var(--card); outline: none; transform: translateX(3px); }
.asset-list-option.active { border-color: var(--ink); }
.asset-list-option.active::before { position: absolute; inset: -1px auto -1px -1px; width: 4px; background: var(--orange); content: ""; }
.asset-list-option-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); color: var(--orange); font: 600 14px "DM Mono"; }
.asset-list-option strong, .asset-list-option small { display: block; }
.asset-list-option strong { margin-bottom: 4px; font-size: 14px; }
.asset-list-option small { max-width: 480px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.asset-list-option em { color: var(--orange); font: normal 10px "DM Mono"; }
.asset-list-empty { padding: 34px 0; color: var(--muted); text-align: center; }
.watchlist-row { grid-template-columns: 58px minmax(93px,.619fr) 150px minmax(120px,.65fr) minmax(80px,.4fr) minmax(220px,1.25fr) minmax(175px,.9fr) minmax(175px,.9fr); gap: 16px; }
.watchlist-rank span, .watchlist-rank small { display: block; }
.watchlist-rank small { margin-top: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.watchlist-chart { width: 150px; height: 55px; }
.watchlist-chart[data-ticker] { cursor: crosshair; }
.watchlist-chart[data-ticker]:focus-visible { outline: 1px solid var(--orange); outline-offset: 4px; }
.market-3d-trigger { position: relative; display: block; width: 150px; height: 55px; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 2px; background: transparent; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.market-3d-trigger:hover, .market-3d-trigger:focus-visible { border-color: var(--line); background: var(--card); outline: none; }
.market-2d-preview { display: block; width: 150px; height: 55px; }
.market-2d-preview path { fill: none; stroke: var(--green); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.market-2d-preview.negative path { stroke: #c2482d; }
.market-3d-trigger > span { position: absolute; right: 4px; bottom: 2px; color: var(--orange); font-family: "DM Mono"; font-size: 9px; opacity: 0; transition: opacity .15s ease; }
.market-3d-trigger:hover > span, .market-3d-trigger:focus-visible > span { opacity: 1; }
.year-chart-popover { position: fixed; z-index: 1200; min-height: 274px; padding: 20px 22px 16px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 22px 60px rgba(23,25,20,.24); pointer-events: none; }
.year-chart-popover[hidden] { display: none; }
.year-chart-popover header, .year-chart-popover footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.year-chart-popover header small, .year-chart-popover header strong { display: block; }
.year-chart-popover header small { margin-bottom: 4px; color: var(--orange); font: 9px "DM Mono"; letter-spacing: .08em; text-transform: uppercase; }
.year-chart-popover header strong { font-size: 16px; }
.year-chart-popover header b, .year-chart-popover footer { font-family: "DM Mono"; }
.year-chart-popover .positive { color: var(--green); }
.year-chart-popover .negative { color: #c2482d; }
.year-chart-svg { display: block; width: 100%; height: 210px; margin-top: 8px; }
.year-chart-svg path { fill: none; stroke: var(--green); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.year-chart-svg.negative path { stroke: #c2482d; }
.year-chart-svg line { stroke: var(--line); stroke-width: 1; }
.year-chart-popover footer { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.year-chart-popover footer strong { color: var(--ink); font-size: 12px; }
.year-chart-loading { display: grid; min-height: 230px; place-items: center; color: var(--muted); font: 11px "DM Mono"; }
.watchlist-company { position: relative; }
.favorite-stock { position: absolute; top: -2px; right: 3px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
.favorite-stock.active { color: var(--orange); }
.sparkline-empty { color: var(--muted); font-family: "DM Mono"; font-size: 11px; }
.watchlist-price strong, .watchlist-price small { display: block; }
.watchlist-price strong { font-family: "DM Mono"; font-size: 16px; font-weight: 500; }
.private-listing-row { background: linear-gradient(90deg, rgba(237,100,47,.06), transparent 58%); }
.private-listing-row .watchlist-price strong { color: var(--orange); }
.watchlist-company .company-ticker { display:block; width:max-content; margin-bottom:5px; color:var(--ink); font-family:"DM Mono"; font-size:18px; font-weight:700; text-decoration:none; border-bottom:1px solid transparent; }
.watchlist-company .company-ticker:hover, .watchlist-company .company-ticker:focus-visible { border-bottom-color:var(--orange); color:var(--orange); outline:none; }
.watchlist-company .company-ticker span { display:inline; color:var(--orange); font-size:11px; }
.watchlist-price small { margin-top: 5px; color: var(--green); font-size: 11px; }
.watchlist-earnings .earnings-missed, .watchlist-next-earnings .earnings-missed { color: #c2482d; }
.watchlist-earnings .earnings-in-line, .watchlist-next-earnings .earnings-in-line { color: #a87800; }
.watchlist-earnings .earnings-exceeded, .watchlist-next-earnings .earnings-exceeded { color: var(--green); }
.watchlist-earnings .earnings-result, .watchlist-next-earnings .earnings-result { display: inline-block; margin-bottom: 5px; font-family: "DM Mono"; font-size: 10px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.watchlist-earnings .earnings-result span { display: block; color: inherit; }
.watchlist-next-earnings small { display: block; color: var(--muted); font-size: 10px; }
.watchlist-next-earnings { display: flex; flex-direction: column; align-items: flex-start; row-gap: 7px; }
.watchlist-next-earnings .earnings-date, .watchlist-next-earnings .earnings-result { display: block; width: max-content; max-width: 100%; }
.watchlist-next-earnings .earnings-date { text-decoration: none; border-bottom: 1px solid var(--ink); }
.watchlist-next-earnings .earnings-date span { color: var(--orange); }
.watchlist-next-earnings .earnings-tbd { color: var(--muted); border-bottom-color: transparent; }
.earnings-unavailable { color: var(--muted); }
.watchlist-volume strong, .watchlist-volume small { display: block; font-family: "DM Mono"; }
.watchlist-volume strong { font-size: 14px; font-weight: 500; }
.watchlist-volume small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.watchlist-story { color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
.watchlist-story.major { color: #a73c27; }
.watchlist-story.major p { font-weight: 700; }
.watchlist-story p { margin: 0; }
.story-text-link { color: inherit; text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story-text-link:hover, .story-text-link:focus-visible { color: inherit; text-decoration-line: underline; outline: none; }
.watchlist-crypto-story { color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.4; }
.watchlist-crypto-story.major { color: #a73c27; }
.watchlist-crypto-story p { margin: 0; }
.watchlist-crypto-story a { display: inline-block; margin-top: 5px; color: inherit; font-family: "DM Mono"; font-size: 10px; text-decoration: none; border-bottom: 1px solid currentColor; }
.watchlist-crypto-story a span { color: var(--orange); }
.crypto-story-pending { color: var(--muted); font-family: "DM Mono"; font-size: 10px; font-weight: 500; }
.watchlist-row { grid-template-columns: 54px minmax(150px,1.1fr) minmax(120px,.8fr) minmax(110px,.7fr) minmax(95px,.6fr) minmax(155px,1.1fr) minmax(105px,.7fr) minmax(115px,.8fr); gap: 0; }
.watchlist-table.crypto-profile .watchlist-row { grid-template-columns: 50px minmax(135px,1fr) minmax(110px,.75fr) minmax(100px,.65fr) minmax(105px,.65fr) minmax(190px,1.3fr) minmax(100px,.62fr) minmax(150px,.9fr); }
.crypto-context strong, .crypto-context span { display: block; }
.crypto-context strong { margin-bottom: 5px; color: var(--green); font-family: "DM Mono"; font-size: 15px; }
.crypto-context strong.negative { color: #c2482d; }
.crypto-context span { color: var(--muted); font-size: 10px; font-weight: 500; }
.crypto-data strong, .crypto-data small, .crypto-data span { display: block; font-family: "DM Mono"; }
.crypto-data strong { font-size: 13px; font-weight: 500; }
.crypto-data strong.positive { color: var(--green); }
.crypto-data strong.negative { color: #c2482d; }
.crypto-data small, .crypto-data span { margin: 4px 0; color: var(--muted); font-size: 9px; }
.watchlist-volume .volume-average { margin-top: 5px; color: var(--ink); font-size: 9px; white-space: nowrap; }
.crypto-performance { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: 100%; }
.crypto-performance > div { min-width: 0; padding-left: 10px; border-left: 1px solid var(--line); }
.crypto-performance strong, .crypto-performance small { display: block; font-family: "DM Mono"; }
.crypto-performance strong { font-size: 13px; font-weight: 500; }
.crypto-performance strong.positive { color: var(--green); }
.crypto-performance strong.negative { color: #c2482d; }
.crypto-performance small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.story-priority { display: inline-flex; align-items: center; gap: 6px; color: #a73c27; font-family: "DM Mono"; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.story-priority b { display: inline-grid; width: 18px; height: 18px; place-items: center; color: var(--card); background: #a73c27; font-size: 11px; }
@media (min-width: 801px) {
  .watchlist-row { gap: 0; }
  .watchlist-company, .watchlist-price, .watchlist-story, .watchlist-crypto-story, .watchlist-volume, .watchlist-earnings, .watchlist-next-earnings,
  .watchlist-header span:nth-child(2), .watchlist-header span:nth-child(4), .watchlist-header span:nth-child(5), .watchlist-header span:nth-child(6), .watchlist-header span:nth-child(7), .watchlist-header span:nth-child(8), .watchlist-header span:nth-child(9) { margin-left: 16px; }
}

.market-3d-dialog { width: min(980px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.market-3d-dialog::backdrop { background: rgba(23,25,20,.62); backdrop-filter: blur(3px); }
.market-3d-shell { padding: 24px; }
.market-3d-shell > header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.market-3d-shell h2 { margin: 0; font-size: 28px; letter-spacing: -.05em; }
.market-3d-shell header button { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; font-size: 25px; cursor: pointer; }
.market-visual-story { height: 188px; margin-top: 14px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.market-visual-story[hidden] { display: none; }
.market-visual-story svg { display: block; width: 100%; height: 145px; }
.story-heading { height: 42px; display: grid; grid-template-columns: 1fr auto 120px; gap: 14px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); }
.story-heading strong { font-size: 12px; }
.story-heading span { font-family: "DM Mono"; font-size: 14px; }
.story-heading i { position: relative; display: block; width: 120px; height: 5px; background: var(--line); }
.story-heading i b { position: absolute; inset: 0 auto 0 0; background: var(--orange); }
.story-heading i em { position: absolute; top: -3px; bottom: -3px; left: 62.5%; width: 1px; background: var(--ink); }
.today-action-heading { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 16px; background: linear-gradient(to bottom, rgba(244,242,236,.96), rgba(244,242,236,.72), transparent); font-family: "DM Mono"; pointer-events: none; }
.today-action-heading strong { font-family: "Manrope"; font-size: 13px; }
.market-visual-story text { fill: var(--muted); font-family: "DM Mono"; font-size: 14px; }
.story-reference { stroke: #a9aaa1; stroke-width: 1; stroke-dasharray: 3 5; }
.story-origin { fill: var(--ink); }
.story-bridge { fill: none; stroke: #a9aaa1; stroke-width: 1.2; stroke-dasharray: 3 4; }
.story-price { fill: none; stroke: var(--green); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.story-price.negative { stroke: #c2482d; }
.story-end { fill: var(--green); stroke: var(--card); stroke-width: 3; }
.story-end.negative { fill: #c2482d; }
.story-gate { stroke: var(--orange); stroke-width: 1; opacity: .45; }
.story-bracket { fill: none; stroke: var(--ink); stroke-width: 1; }
.story-volume rect { fill: var(--orange); opacity: .25; }
.story-gap { fill: var(--green) !important; font-size: 14px !important; font-weight: 500; paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
.story-gap.negative { fill: #c2482d !important; }
.story-close-price { fill: var(--ink) !important; font-weight: 500; paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
.market-3d-stage { position: relative; height: min(54vh, 500px); min-height: 360px; margin-top: 14px; border: 1px solid var(--line); overflow: hidden; }
#market-3d-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.market-3d-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--paper); font-family: "DM Mono"; font-size: 12px; }
.market-3d-loading[hidden] { display: none; }
.market-3d-metrics { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-top: 0; }
.market-3d-metrics span { padding: 15px 18px; border-right: 1px solid var(--line); }
.market-3d-metrics span:last-child { border-right: 0; }
.market-3d-metrics small, .market-3d-metrics strong { display: block; font-family: "DM Mono"; }
.market-3d-metrics small { margin-bottom: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.market-3d-metrics strong { font-size: 15px; font-weight: 500; }
.market-3d-shell > footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; color: var(--muted); font-family: "DM Mono"; font-size: 11px; text-transform: none; letter-spacing: 0; }
.market-3d-shell > footer button { padding: 8px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-family: "DM Mono"; font-size: 11px; }
.market-3d-shell > footer button:hover { color: var(--card); background: var(--ink); }
@media (max-width: 650px) {
  .market-3d-shell { padding: 14px; }
  .market-3d-stage { min-height: 320px; }
  .market-3d-metrics { grid-template-columns: repeat(2,1fr); }
  .market-3d-metrics span:nth-child(2) { border-right: 0; }
  .market-3d-metrics span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .market-3d-shell > footer span { display: none; }
}
@media (max-width: 800px) {
  .crypto-overview-lead { grid-template-columns: 1fr; gap: 26px; }
  .crypto-overview-metrics { grid-template-columns: repeat(2,1fr); }
  .crypto-overview-metrics article:nth-child(2) { border-right: 0; }
  .crypto-overview-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .watchlist-heading { display: block; }
  .watchlist-heading-title { flex-wrap: wrap; }
  .watchlist-heading-title > div { width: 100%; }
  .watchlist-heading .asset-list-trigger { width: 100%; }
  .watchlist-controls { margin-top: 14px; justify-content: flex-start; }
  .watchlist-row { grid-template-columns: 42px 1fr 1fr; }
  .watchlist-chart, .watchlist-volume, .watchlist-cap { display: none; }
  .watchlist-row > .watchlist-price { grid-column: auto; }
  .watchlist-row > .watchlist-earnings, .watchlist-row > .watchlist-next-earnings, .watchlist-row > .watchlist-crypto-story { grid-column: 2 / -1; }
  .watchlist-header span:nth-child(3), .watchlist-header span:nth-child(5), .watchlist-header span:nth-child(6), .watchlist-header span:nth-child(7), .watchlist-header span:nth-child(8), .watchlist-header span:nth-child(9) { display: none; }
  .crypto-row > .watchlist-story { grid-column: 2; }
  .crypto-row > .watchlist-crypto-story { grid-column: 2 / -1; }
  .crypto-row > .watchlist-earnings { display: none; }
  .crypto-row > .watchlist-next-earnings { grid-column: 3; }
}
@media (max-width: 520px) {
  .crypto-overview-metrics { grid-template-columns: 1fr; }
  .crypto-overview-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  .crypto-overview-metrics article:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .asset-list-dialog > section { padding: 18px; }
  .asset-list-dialog header h2 { font-size: 26px; }
  .asset-list-search { grid-template-columns: 1fr; }
  .asset-list-search span { padding: 10px 12px 0; }
  .asset-list-search input { border-left: 0; }
  .asset-list-option { grid-template-columns: 42px 1fr; }
  .asset-list-option-icon { width: 42px; height: 42px; }
  .asset-list-option em { display: none; }
}

/* Retirement account linking. */
.retirement-view { padding-bottom: 80px; }
.retirement-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); min-height: 520px; border-bottom: 1px solid var(--ink); }
.retirement-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 7vw 64px 0; }
.retirement-hero h1 { max-width: 900px; font-size: clamp(56px, 7.5vw, 104px); }
.retirement-hero .description { max-width: 780px; margin: 30px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.retirement-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.retirement-connect-button { min-width: 220px; padding: 14px 17px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); cursor: pointer; font-family: "DM Mono"; font-size: 11px; text-align: left; }
.retirement-connect-button span { float: right; color: #ff895c; }
.retirement-connect-button:hover, .retirement-connect-button:focus-visible { background: var(--orange); border-color: var(--orange); outline: none; }
.retirement-connect-button:disabled { opacity: .48; cursor: not-allowed; }
#retirement-connect-status { max-width: 330px; color: var(--muted); font-family: "DM Mono"; font-size: 10px; line-height: 1.5; }
.retirement-trust-card { display: flex; flex-direction: column; justify-content: flex-end; margin: 58px 0 58px; padding: 34px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); }
.retirement-trust-card .section-label { color: #bfc2ba; font-size: 9px; }
.retirement-trust-card > strong { max-width: 300px; font-size: 33px; line-height: 1.05; letter-spacing: -.05em; }
.retirement-trust-card ul { margin: 34px 0 0; padding: 0; list-style: none; }
.retirement-trust-card li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); color: #d7d9d3; font-size: 12px; }
.retirement-trust-card li span { color: #ff895c; font-family: "DM Mono"; font-size: 10px; }
.retirement-content { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); border-bottom: 1px solid var(--ink); }
.retirement-setup-card, .retirement-accounts-card { padding: 48px 0; }
.retirement-setup-card { padding-right: 48px; border-right: 1px solid var(--line); }
.retirement-accounts-card { padding-left: 48px; }
.retirement-setup-card h2, .retirement-accounts-card h2 { margin: 5px 0 0; font-size: 30px; line-height: 1.1; letter-spacing: -.05em; }
.retirement-steps { margin: 34px 0 0; padding: 0; list-style: none; }
.retirement-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.retirement-steps b { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; color: var(--orange); font-family: "DM Mono"; font-size: 11px; }
.retirement-steps strong, .retirement-steps span { display: block; }
.retirement-steps strong { font-size: 13px; }
.retirement-steps span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.retirement-provider-note { margin: 24px 0 0; color: var(--muted); font-family: "DM Mono"; font-size: 9px; line-height: 1.6; }
.retirement-provider-note a { text-decoration: none; border-bottom: 1px solid currentColor; }
.retirement-provider-note a span { color: var(--orange); }
.retirement-accounts-card > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.retirement-accounts-card > header > span { color: var(--muted); font-family: "DM Mono"; font-size: 10px; }
.retirement-connections { min-height: 255px; }
.retirement-empty { margin: 0; padding: 42px 0; color: var(--muted); font-family: "DM Mono"; font-size: 11px; line-height: 1.7; }
.retirement-connection { padding: 24px 0; border-bottom: 1px solid var(--line); }
.retirement-connection > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.retirement-connection h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.retirement-connection header p { margin: 6px 0 0; color: var(--muted); font-family: "DM Mono"; font-size: 9px; }
.retirement-disconnect { padding: 7px 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-family: "DM Mono"; font-size: 9px; }
.retirement-disconnect:hover, .retirement-disconnect:focus-visible { border-color: #a73c27; color: #a73c27; outline: none; }
.retirement-account-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 18px; }
.retirement-account { padding: 14px; border: 1px solid var(--line); background: var(--card); }
.retirement-account strong, .retirement-account span { display: block; }
.retirement-account strong { font-size: 12px; }
.retirement-account span { margin-top: 5px; color: var(--muted); font-family: "DM Mono"; font-size: 9px; text-transform: capitalize; }
.retirement-privacy { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--ink); }
.retirement-privacy > div { padding: 28px; border-right: 1px solid var(--line); }
.retirement-privacy > div:first-child { padding-left: 0; }
.retirement-privacy > div:last-child { border-right: 0; }
.retirement-privacy .section-label { margin-bottom: 8px; font-size: 8px; }
.retirement-privacy strong { display: block; max-width: 320px; font-size: 12px; line-height: 1.6; }

@media (max-width: 1200px) {
  .primary-nav { gap: 22px; }
  .primary-nav a { font-size: 11pt; }
}
@media (max-width: 920px) {
  .retirement-hero { grid-template-columns: 1fr; }
  .retirement-hero-copy { padding-right: 0; }
  .retirement-trust-card { margin-top: 0; }
  .retirement-content { grid-template-columns: 1fr; }
  .retirement-setup-card { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .retirement-accounts-card { padding-left: 0; }
}
@media (max-width: 650px) {
  .retirement-hero h1 { font-size: 52px; }
  .retirement-actions { display: block; }
  #retirement-connect-status { display: block; margin-top: 14px; }
  .retirement-trust-card { padding: 25px; }
  .retirement-account-list, .retirement-privacy { grid-template-columns: 1fr; }
  .retirement-privacy > div, .retirement-privacy > div:first-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .retirement-privacy > div:last-child { border-bottom: 0; }
}
