:root {
  color-scheme: light;
  --paper: #fbfbfa;
  --white: #ffffff;
  --ink: #171717;
  --muted: #747474;
  --faint: #a3a3a3;
  --line: #e8e8e5;
  --orange: #ff4f0a;
  --orange-soft: #fff3ed;
  --cyan: #149aae;
  --cyan-soft: #edf9fa;
  --green: #16825d;
  --red: #c73e4d;
}
html { background: var(--paper); }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none; }
main {
  width: min(620px, calc(100vw - 40px));
  flex: 1;
  margin: 0 auto;
}
.site-frame { width: min(620px, calc(100vw - 40px)); margin: 0 auto; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button, select { font: inherit; }
button:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand-image {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 10px;
}
.brand-mark, .eyebrow, .picker-hint, .focus-meta, .home-footer, .action-support { display: none; }

#screen-ticker {
  min-height: 100svh;
  display: block;
  padding: max(34px, env(safe-area-inset-top)) 0 max(36px, env(safe-area-inset-bottom));
}
.ticker-home-stack { min-height: calc(100svh - 70px); display: flex; flex-direction: column; gap: 0; }
.home-brand { margin: 0; }
.home-copy { max-width: 570px; margin-top: clamp(92px, 16svh, 160px); }
.home-title {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 10.8vw, 66px);
  font-weight: 680;
  letter-spacing: -.062em;
  line-height: .98;
  text-wrap: balance;
}
.home-subtitle {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.012em;
}
.ticker-picker {
  margin-top: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#ticker-select {
  width: 100%;
  min-height: 64px;
  padding: 0 52px 0 20px;
  color: var(--ink);
  border: 1px solid #d8d8d4;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  font-size: 18px;
  font-weight: 600;
}
#ticker-select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,20,20,.05); }
.special-attention {
  margin-top: auto;
  padding: 76px 0 0;
  border: 0;
  background: transparent;
}
.special-attention-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.focus-heading { display: block; margin: 0; }
.special-attention-list { display: grid; gap: 0; }
.attention-row, .attention-empty {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
}
.attention-row { text-decoration: none; font-weight: 600; }
.attention-row.bearish { color: var(--red); }
.attention-row.bullish { color: var(--green); }

#screen-context, #screen-ranking {
  min-height: 100svh;
  padding: max(22px, env(safe-area-inset-top)) 0 max(60px, env(safe-area-inset-bottom));
}
.app-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 58px;
}
.brand-button { width: auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
.app-actions { display: flex; align-items: center; gap: 6px; }
.ghost-button {
  width: auto;
  min-height: 34px;
  padding: 0 11px;
  color: var(--muted);
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.ghost-button:hover { color: var(--ink); background: #f1f1ef; }
.card, .context-hero, .ranking-header {
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ticker-identity { margin: 0 0 30px; gap: 6px 8px; line-height: 1.25; }
.ticker-symbol, .ticker-symbol-button {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.ticker-symbol-button { display: inline-flex; align-items: center; gap: 6px; }
.ticker-symbol-button::after { content: '⌄'; color: var(--faint); font-size: 12px; }
.ticker-company, .ticker-industry-inline { color: var(--muted); font-size: 13px; }
.context-ticker-select {
  width: auto;
  min-width: 116px;
  min-height: 38px;
  padding: 0 38px 0 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: var(--white);
  font-size: 18px;
  font-weight: 700;
}
.quote-primary { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.context-price { color: var(--ink); font-size: clamp(40px, 10vw, 54px); font-weight: 610; letter-spacing: -.055em; line-height: .96; }
.market-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 0 4px;
  color: var(--muted) !important;
  border: 0;
  background: transparent;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.market-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b7b7b2; }
.market-line { display: flex; gap: 12px; margin: 14px 0 0; font-size: 14px; font-weight: 650; }
.market-line span { color: var(--muted); }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.ticker-earnings {
  display: grid;
  gap: 7px;
  margin: 42px 0 0;
  padding: 22px 24px;
  color: var(--ink);
  border: 0;
  border-left: 3px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: var(--orange-soft);
}
.context-label, .market-read-label {
  color: #a63d12;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ticker-earnings strong { color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.4; }
.expiration-action {
  margin: 54px 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.expiration-heading { display: block; margin: 0 0 12px; }
.action-label { margin: 0; color: var(--ink); font-size: 13px; font-weight: 650; }
#expiration-select {
  width: 100%;
  min-height: 58px;
  padding: 0 48px 0 17px;
  color: var(--ink);
  border: 1px solid #d8d8d4;
  border-radius: 14px;
  background-color: var(--white);
  font-size: 15px;
  font-weight: 600;
}
.chart-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.chart-heading {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
}
.chart-studies { color: var(--faint); font-size: 9px; font-weight: 650; letter-spacing: .04em; }
.chart-frame { height: 350px; margin: 0; border: 0; background: var(--white); }
.market-read {
  margin-top: 28px;
  padding: 24px;
  border: 0;
  border-left: 3px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: var(--cyan-soft);
}
.market-read-label { color: #0a7180; }
.context-summary {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 660;
  letter-spacing: -.025em;
  line-height: 1.55;
  white-space: pre-line;
}
.intraday-alert, .pattern-alert { margin: 13px 0 0; padding: 0; background: transparent !important; font-size: 12px; font-weight: 650; }
.intraday-alert.drop, .pattern-alert.bearish { color: var(--red); }
.intraday-alert.rally, .pattern-alert.bullish { color: var(--green); }

.screen-loader {
  display: none;
  position: fixed;
  z-index: 20;
  inset: 0;
  min-height: 100svh;
  padding: 24px;
  place-content: center;
  justify-items: center;
  color: var(--ink);
  background: rgba(251,251,250,.98);
  text-align: center;
}
#screen-context.is-loading .screen-loader { display: grid; }
.loader-orbit {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 2px solid #e4e4e0;
  border-top-color: var(--orange);
  border-right-color: var(--cyan);
  border-radius: 50%;
  animation: ten-delta-spin .9s linear infinite;
}
@keyframes ten-delta-spin { to { transform: rotate(360deg); } }
.loader-title { color: var(--ink); font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.loader-detail { min-height: 22px; margin-top: 10px; color: var(--muted); font-size: 14px; transition: opacity .2s; }

.ranking-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.ranking-identity { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
#ranking-symbol { margin: 0 0 6px; color: var(--ink); font-size: 28px; font-weight: 700; letter-spacing: -.045em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 11px; }
.price strong { color: var(--ink); font-size: 18px; font-weight: 620; }
.price span { color: var(--muted); font-size: 12px; font-weight: 650; }
.expiration-pill {
  max-width: 52%;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
  text-align: right;
}
.board-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 70px 0 22px; }
.board-title { margin: 0; color: var(--ink); font-size: 34px; font-weight: 680; letter-spacing: -.05em; }
.board-count { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ai-review { margin: 0; padding: 0; border: 0; color: var(--muted); background: transparent; }
.ai-review-title { display: none; }
.analysis-progress {
  margin: 0 0 36px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.progress-heading { margin-bottom: 18px; color: var(--ink); font-size: 13px; font-weight: 650; }
.ai-stage-list { display: grid; gap: 13px; margin: 0; padding: 0; border: 0; background: transparent; }
.ai-stage {
  position: relative;
  min-height: 18px;
  padding-left: 28px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
  transition: color .2s;
}
.ai-stage::before {
  content: '';
  position: absolute;
  left: 1px;
  top: .15em;
  width: 12px;
  height: 12px;
  border: 1.5px solid #d6d6d2;
  border-radius: 50%;
  background: var(--paper);
}
.ai-stage.active { color: var(--ink); }
.ai-stage.active::before {
  border-color: #d8d8d4;
  border-top-color: var(--orange);
  animation: ten-delta-spin .8s linear infinite;
}
.ai-stage.done { color: var(--muted); }
.ai-stage.done::before {
  content: '✓';
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 0;
  font-size: 12px;
  font-weight: 800;
}
.ai-review-list { display: grid; gap: 0; margin: 0; }
.ai-review-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px 18px;
  padding: 26px 0;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ai-review-item:first-child { padding-top: 26px; border: 0; border-top: 1px solid var(--line); background: transparent; }
.ai-review-item:first-child::before { display: none; }
.ai-review-strategy { min-width: 0; margin: 0; color: var(--ink); font-size: 17px; font-weight: 660; letter-spacing: -.02em; }
.ai-review-status {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  padding: 0;
  color: var(--cyan);
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.ai-strategy-thesis { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.fit-track { grid-column: 1/-1; height: 2px; overflow: hidden; border-radius: 99px; background: #efefec; }
.fit-track span { display: block; height: 100%; background: var(--cyan); }
.ai-review-warning { margin-top: 22px; padding: 18px 20px; color: var(--red); border: 0; border-radius: 12px; background: #fff2f3; font-size: 13px; }
.meta, .surface, .mock-warning { color: var(--faint); }

/* Owner review refinement: warm paper, quieter hero, explicit progress state. */
:root {
  --paper: #f3f1ec;
  --white: #fffefa;
  --line: #dfdcd4;
}
.home-copy {
  max-width: 530px;
  margin-top: clamp(68px, 11svh, 108px);
}
.home-title {
  max-width: 520px;
  font-size: clamp(36px, 8.6vw, 52px);
  line-height: 1.02;
}
.ticker-picker { margin-top: 34px; }
.picker-label {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}
#ticker-select {
  border-color: #cbc7bd;
  box-shadow: 0 10px 30px rgba(42,36,25,.06), 0 1px 0 rgba(0,0,0,.03);
}
.special-attention { display: none !important; }
.screen-loader { background: rgba(243,241,236,.98); }
.ai-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.ai-stage::before { animation: none; }
.ai-stage.active::before { animation: ten-delta-spin .8s linear infinite; }
.ai-stage-duration {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ai-stage.done::before {
  content: '\2713';
  color: var(--green);
  animation: none;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: max(18px, env(safe-area-inset-top)) 0 14px;
}
.site-brand {
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.site-brand .brand-image {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}
.publication-link,
.login-link,
.account-trigger {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.publication-link:hover,
.login-link:hover,
.account-trigger:hover { color: var(--ink); background: rgba(255,255,255,.62); }
.publication-link::after { content: '\2197'; margin-left: 5px; color: var(--faint); font-size: 10px; }
.publication-short { display: none; }
.account-menu { position: relative; }
.account-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  width: 158px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(42,36,25,.14);
}
.account-popover a,
.account-popover button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}
.account-popover a:hover,
.account-popover button:hover { background: #f2f0eb; }
.site-footer {
  padding: 30px 0 max(28px, env(safe-area-inset-bottom));
  color: #8a8882;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.55;
}
.site-footer p { max-width: 590px; margin: 0; }
.site-footer a { color: #62615d; text-underline-offset: 2px; }

#screen-ticker { min-height: calc(100svh - 190px); padding-top: 20px; }
.ticker-home-stack { min-height: auto; }
.home-copy { margin-top: clamp(52px, 9svh, 86px); }
.screen-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: 10px 0 36px;
}

.account-screen,
.legal-screen {
  min-height: calc(100svh - 190px);
  padding: clamp(56px, 10svh, 104px) 0 72px;
}
.account-shell { width: min(440px, 100%); margin: 0 auto; }
.account-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.account-shell h1,
.legal-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 680;
  letter-spacing: -.05em;
  line-height: 1;
}
.account-intro {
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.account-form { display: grid; gap: 10px; }
.account-form label { margin-top: 8px; color: var(--ink); font-size: 12px; font-weight: 650; }
.account-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid #cbc7bd;
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 16px;
}
.account-form input:focus { border-color: var(--ink); outline: 0; box-shadow: 0 0 0 4px rgba(20,20,20,.05); }
.primary-button {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}
.primary-button:hover { background: #30302e; color: #fff; }
.secondary-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid #cbc7bd;
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}
.secondary-button:hover { color: var(--ink); border-color: #8f8a80; background: #f8f6f1; }
.account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
.account-links a,
.account-links button { color: var(--cyan); font-size: inherit; text-decoration: none; }
.form-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-summary {
  margin-top: 42px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plan-summary span { color: var(--muted); font-size: 12px; }
.plan-summary strong { color: var(--ink); font-size: 18px; }
.plan-summary p { margin: 16px 0 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.legal-copy { width: min(560px, 100%); margin: 0 auto; }
.legal-updated { margin: 14px 0 34px !important; color: var(--faint) !important; font-size: 11px !important; }
.legal-copy h2 { margin: 34px 0 8px; color: var(--ink); font-size: 17px; font-weight: 680; }
.legal-copy p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.subscription-gate {
  margin-top: 8px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.subscription-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.subscription-gate h2 {
  max-width: 440px;
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.subscription-copy { margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.subscription-ready { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subscription-ready span { position: relative; padding-left: 24px; color: var(--green); font-size: 12px; }
.subscription-ready span::before { content: '\2713'; position: absolute; left: 2px; font-weight: 800; }
.subscription-ready .locked { color: var(--muted); }
.subscription-ready .locked::before { content: '\2022'; color: var(--faint); }
.subscription-price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.subscription-price strong { color: var(--ink); font-size: 34px; font-weight: 680; letter-spacing: -.04em; }
.subscription-price span { color: var(--muted); font-size: 12px; }
.subscription-actions { display: grid; gap: 10px; margin-top: 16px; }
.subscription-actions .primary-button { margin-top: 0; }

/* Product UI refinement: explicit navigation, selectors, and board hierarchy. */
.site-header { gap: 12px; }
.site-header .brand-lockup { font-size: 15px; }
.site-nav { gap: 7px; }
.publication-link,
.login-link,
.account-trigger {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cbc7bd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 680;
}
.publication-link { color: var(--ink); background: var(--white); }
.publication-link::after { content: none; }
.external-link-icon {
  margin-left: 7px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.login-link,
.account-trigger { color: #fff; border-color: var(--ink); background: var(--ink); }
.publication-link:hover { color: var(--ink); border-color: #aaa59b; background: #f8f6f1; }
.login-link:hover,
.account-trigger:hover { color: #fff; background: #30302e; }
.site-footer { font-size: 10.5px; line-height: 1.6; }

.ticker-identity { display: flex; align-items: center; flex-wrap: wrap; }
.ticker-symbol-button {
  position: relative;
  min-height: 40px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  border: 1px solid #bdb8ad;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.ticker-symbol-button::after {
  content: '\25BE';
  position: absolute;
  right: 11px;
  color: var(--ink);
  font-size: 12px;
}
.ticker-symbol-button:hover { color: var(--ink); border-color: #8f8a80; background: #f8f6f1; }
.context-ticker-select {
  min-height: 40px;
  border-color: #bdb8ad;
  border-radius: 8px;
  background: var(--white);
}
.ticker-earnings strong { display: grid; gap: 2px; }
.ticker-earnings strong span { display: block; }

.ranking-header { padding: 0; border: 0; }
.ranking-controls {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 10px;
}
.ranking-control {
  min-width: 0;
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid #cbc7bd;
  border-radius: 8px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.ranking-control:hover { color: var(--ink); border-color: #8f8a80; background: #f8f6f1; }
.ranking-control:disabled,
.ranking-expiration-control.is-locked {
  opacity: .56;
  border-color: #d9d5cc;
  background: #f4f1eb;
  cursor: wait;
}
.ranking-control:disabled:hover,
.ranking-expiration-control.is-locked:hover { border-color: #d9d5cc; background: #f4f1eb; }
.ranking-control-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ranking-control-value {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
}
.ranking-control-value strong { min-width: 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
#ranking-symbol { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.ranking-expiration-control { position: relative; }
.ranking-expiration-control::after {
  content: '\25BE';
  position: absolute;
  right: 12px;
  bottom: 15px;
  color: var(--ink);
  font-size: 11px;
  pointer-events: none;
}
.ranking-control-select {
  width: 100%;
  min-width: 0;
  min-height: 24px;
  padding: 0 24px 0 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
}
.ranking-control-select:disabled { color: var(--muted); cursor: wait; }
.ranking-quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 11px; margin: 14px 2px 0; }
.ranking-quote strong { color: var(--ink); font-size: 18px; font-weight: 650; }
.ranking-quote span { color: var(--muted); font-size: 12px; font-weight: 650; }
.board-intro { margin: 52px 0 18px; }
.board-title { max-width: 520px; font-size: 34px; line-height: 1.08; letter-spacing: 0; }
.board-count { max-width: 92px; line-height: 1.35; text-align: right; }

.analysis-progress {
  margin: 0 0 22px;
  padding: 0;
  border: 1px solid #d9d5cc;
  border-radius: 8px;
  background: var(--white);
}
.analysis-progress summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}
.analysis-progress summary::-webkit-details-marker { display: none; }
.progress-heading { margin: 0; color: var(--ink); font-size: 14px; font-weight: 680; }
.progress-state { color: var(--cyan); font-size: 11px; font-weight: 680; white-space: nowrap; }
.analysis-progress[open] .ai-stage-list { padding: 0 16px 17px; }
.ai-stage-list { gap: 11px; }
.ai-stage { font-size: 12px; }
.ai-stage-text { line-height: 1.45; }
.ai-stage.done::before {
  content: '\2713';
  color: var(--green);
  animation: none;
}
.ai-review-list { gap: 12px; }
.ai-review-item,
.ai-review-item:first-child {
  gap: 12px 14px;
  padding: 20px;
  border: 1px solid #d9d5cc;
  border-radius: 8px;
  background: var(--white);
}
.ai-review-strategy { font-size: 19px; line-height: 1.2; }
.ai-review-status {
  padding: 5px 8px;
  border-radius: 99px;
  background: var(--cyan-soft);
  font-size: 10px;
}
.ai-strategy-thesis { color: #5e5d59; font-size: 14px; line-height: 1.58; }
.fit-track { display: none; }
@media (max-width: 640px) {
  main { width: min(520px, calc(100vw - 32px)); }
  .site-frame { width: min(520px, calc(100vw - 32px)); }
  .site-header { gap: 8px; }
  .site-header .brand-lockup { gap: 8px; font-size: 14px; }
  .site-header .brand-image { width: 32px; height: 32px; }
  .site-nav { gap: 4px; }
  .publication-link, .login-link, .account-trigger { min-height: 36px; padding: 0 8px; font-size: 12px; }
  .subscription-gate { padding: 24px 20px; }
  .account-screen, .legal-screen { padding-top: 48px; }
  .home-copy { margin-top: clamp(62px, 9svh, 84px); }
  .home-title { font-size: clamp(36px, 10.5vw, 46px); }
  .home-subtitle { font-size: 16px; }
  .special-attention { padding-top: 64px; }
  .app-bar { margin-bottom: 48px; }
  .context-price { font-size: 44px; }
  .ticker-earnings { margin-top: 36px; padding: 20px; }
  .expiration-action { margin-top: 48px; }
  .chart-frame { height: 330px; }
  .board-intro { margin-top: 56px; }
  .board-title { font-size: 29px; }
  .ranking-controls { grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); }
}
@media (max-width: 360px) {
  .site-header .brand-lockup > span:last-child { display: none; }
  .ticker-company, .ticker-industry-inline { font-size: 12px; }
  .ranking-identity { gap: 12px; }
  .expiration-pill { max-width: 56%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
