/* Owner-selected quote composition; typography and colours use the current
   Product/Storybook brandbook (docs/plans/design-rollout.md). */
@font-face{font-family:"Radar Manrope";src:url("../fonts/Manrope-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Radar Manrope";src:url("../fonts/Manrope-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Radar Manrope";src:url("../fonts/Manrope-600.woff2") format("woff2");font-weight:600;font-display:swap}

#tickerPageRoot .ticker-price-line.ticker-live-quote{
  --quote-text:var(--rd-text,#f5f4f1);--quote-muted:var(--rd-muted,#93969a);
  --quote-up:var(--rd-green,#35c627);--quote-down:var(--rd-red,#ff3535);
  display:inline-grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;
  min-height:56px;max-width:100%;margin:0;padding:0;border-radius:0;background:transparent;
  font-family:"Radar Manrope",sans-serif;font-variant-numeric:tabular-nums;box-sizing:border-box;
}
#tickerPageRoot .ticker-live-quote .ticker-price-value{
  display:inline-flex;min-width:0;color:var(--quote-text);font:600 45px/56px "Radar Manrope",sans-serif;
  font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap;
}
#tickerPageRoot .ticker-live-quote .ticker-price-fraction{color:inherit}
#tickerPageRoot .ticker-live-quote:has(.ticker-live-source){row-gap:2px}
#tickerPageRoot .ticker-live-quote .ticker-live-source{
  grid-column:1/-1;min-width:0;color:var(--quote-muted);white-space:normal;
  font:400 10px/14px "Radar Manrope",sans-serif;
}
#tickerPageRoot .ticker-live-quote .ticker-price-currency{display:none}
#tickerPageRoot .ticker-live-quote .ticker-live-meta{display:flex;flex-direction:column;align-items:stretch;align-self:stretch;justify-content:space-between;gap:4px;min-width:100px}
#tickerPageRoot .ticker-live-quote .market-status-icon{
  justify-content:center;gap:4px;width:100%;height:20px;padding:2px 6px;border-radius:4px;
  background:color-mix(in srgb,var(--quote-up) 14%,transparent);color:var(--quote-up);
  font:500 11px/16px "Radar Manrope",sans-serif;white-space:nowrap;
}
#tickerPageRoot .ticker-live-quote .market-status-icon svg{width:12px;height:12px;flex:0 0 12px}
#tickerPageRoot .ticker-live-quote .market-status-icon:focus-visible{outline-color:var(--rd-accent,#efa439);border-radius:8px}
#tickerPageRoot .ticker-live-quote .market-status-icon[data-quote-state]:not([data-quote-state="live"]){
  background:var(--rd-control,#222528);color:var(--quote-muted);
}
#tickerPageRoot .ticker-live-quote .market-status-icon[data-quote-state="stale"],
#tickerPageRoot .ticker-live-quote .market-status-icon[data-quote-state="reconnecting"]{color:var(--rd-accent,#efa439)}
#tickerPageRoot .ticker-live-quote .ticker-price-change{
  display:flex;align-items:baseline;justify-content:center;padding:2px 6px;border-radius:4px;
  font:500 11px/16px "Radar Manrope",sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;
}
#tickerPageRoot .ticker-live-quote .ticker-price-change[hidden]{display:none!important}
#tickerPageRoot .ticker-live-quote .ticker-price-change.positive{background:color-mix(in srgb,var(--quote-up) 14%,transparent);color:var(--quote-up)}
#tickerPageRoot .ticker-live-quote .ticker-price-change.negative{background:color-mix(in srgb,var(--quote-down) 14%,transparent);color:var(--quote-down)}
#tickerPageRoot .ticker-live-quote .ticker-price-change.flat{background:var(--rd-control,#222528);color:var(--quote-muted)}
#tickerPageRoot .ticker-live-quote .ticker-change-period{color:var(--quote-muted);font-weight:500;white-space:pre}
#tickerPageRoot .ticker-live-quote:is(.loading,.unavailable) .ticker-price-value{color:var(--quote-muted);font-size:20px;line-height:28px}
.market-status-pop.market-status-source{
  min-width:0;max-width:calc(100vw - 16px);padding:6px 10px;border:0;border-radius:8px;
  background:var(--rd-control,#222528);color:var(--rd-text,#f5f4f1);box-shadow:none;
  font:500 11px/16px "Radar Manrope",sans-serif;white-space:nowrap;
}

#tickerPageRoot .tr-identity-hero:has(.ticker-live-quote){gap:20px;align-items:flex-end}
#tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .ticker-avatar{width:56px;height:56px;flex-basis:56px}
#tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name h1{font:500 28px/36px "Radar Manrope",sans-serif;letter-spacing:0;color:var(--rd-text,#f5f4f1)}
#tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name p{font:400 14px/20px "Radar Manrope",sans-serif;color:var(--rd-muted,#93969a)}
#tickerPageRoot .tr-identity-quote:has(.ticker-live-quote){display:flex;align-items:flex-end;align-self:flex-end;min-height:56px;max-width:100%;padding:0 0 0 20px;border:0;border-left:1px solid var(--rd-line,rgb(255 255 255 / .07));flex:0 1 auto}
#tickerPageRoot .ticker-heading-live{flex-wrap:wrap;gap:20px;align-items:flex-end}
#tickerPageRoot .ticker-heading-live .ticker-avatar{width:56px;height:56px;flex-basis:56px}
#tickerPageRoot .ticker-heading-live .ticker-title-symbol{color:var(--rd-text,#f5f4f1);font:500 28px/36px "Radar Manrope",sans-serif;letter-spacing:0}
#tickerPageRoot .ticker-heading-live .ticker-title-name{color:var(--rd-muted,#93969a);font:400 14px/20px "Radar Manrope",sans-serif}
#tickerPageRoot .ticker-heading-live .ticker-title-stack{flex:0 0 auto}
#tickerPageRoot .ticker-heading-live .ticker-live-quote{min-height:56px;margin:0;padding-left:20px;border-left:1px solid var(--rd-line,rgb(255 255 255 / .07))}

@container (max-width:480px){
  #tickerPageRoot .tr-identity-quote:has(.ticker-live-quote){flex-basis:100%;width:100%;min-height:44px;padding:0;border:0}
  #tickerPageRoot .ticker-price-line.ticker-live-quote{width:100%;min-height:44px}
}
@media(max-width:1100px){
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live{flex-wrap:nowrap;gap:12px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity{flex:0 0 auto;gap:8px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .ticker-avatar,
  #tickerPageRoot .ticker-heading-live .ticker-avatar{width:40px;height:40px;flex-basis:40px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name h1,
  #tickerPageRoot .ticker-heading-live .ticker-title-symbol{font-size:20px;line-height:24px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name p,
  #tickerPageRoot .ticker-heading-live .ticker-title-name{font-size:11px;line-height:16px}
  #tickerPageRoot .tr-identity-quote:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live .ticker-live-quote{flex:0 1 auto;width:auto;min-height:40px;padding:0 0 0 8px;border:0;border-left:1px solid var(--rd-line,rgb(255 255 255 / .07))}
  #tickerPageRoot .ticker-price-line.ticker-live-quote{width:auto;min-height:40px;gap:8px}
  /* Match the visible Manrope numeral edges, rather than the empty line-box space. */
  #tickerPageRoot .ticker-live-quote .ticker-price-value{font-size:34px;line-height:40px;transform:translateY(-1px)}
  #tickerPageRoot .ticker-live-quote .ticker-live-meta{min-width:76px}
  #tickerPageRoot .ticker-live-quote :is(.market-status-icon,.ticker-price-change){height:18px;padding:2px 4px;font-size:10px;line-height:14px}
  #tickerPageRoot .ticker-live-quote .market-status-icon svg{width:10px;height:10px;flex-basis:10px}
}
@media(max-width:600px){
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live{gap:6px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity{gap:6px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .ticker-avatar,
  #tickerPageRoot .ticker-heading-live .ticker-avatar{width:32px;height:32px;flex-basis:32px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name h1,
  #tickerPageRoot .ticker-heading-live .ticker-title-symbol{font-size:17px;line-height:20px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name p,
  #tickerPageRoot .ticker-heading-live .ticker-title-name{font-size:10px;line-height:12px}
  #tickerPageRoot .tr-identity-quote:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live .ticker-live-quote{min-height:32px;padding-left:6px}
  #tickerPageRoot .ticker-price-line.ticker-live-quote{min-height:32px;gap:4px}
  #tickerPageRoot .ticker-live-quote .ticker-price-value{font-size:28px;line-height:32px}
  #tickerPageRoot .ticker-live-quote .ticker-live-meta{min-width:66px}
  #tickerPageRoot .ticker-live-quote :is(.market-status-icon,.ticker-price-change){height:14px;padding:1px 4px;font-size:9px;line-height:12px}
}
@media(max-width:374px){
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live{gap:4px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity{gap:4px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .ticker-avatar,
  #tickerPageRoot .ticker-heading-live .ticker-avatar{width:26px;height:26px;flex-basis:26px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name h1,
  #tickerPageRoot .ticker-heading-live .ticker-title-symbol{font-size:14px;line-height:16px}
  #tickerPageRoot .tr-identity-hero:has(.ticker-live-quote) .tr-identity-name p,
  #tickerPageRoot .ticker-heading-live .ticker-title-name{font-size:8px;line-height:10px}
  #tickerPageRoot .tr-identity-quote:has(.ticker-live-quote),
  #tickerPageRoot .ticker-heading-live .ticker-live-quote{min-height:26px;padding-left:4px}
  #tickerPageRoot .ticker-price-line.ticker-live-quote{min-height:26px;gap:3px}
  #tickerPageRoot .ticker-live-quote .ticker-price-value{font-size:23px;line-height:26px}
  #tickerPageRoot .ticker-live-quote .ticker-live-meta{min-width:56px;gap:2px}
  #tickerPageRoot .ticker-live-quote :is(.market-status-icon,.ticker-price-change){height:12px;padding:1px 4px;font-size:8px;line-height:10px}
  #tickerPageRoot .ticker-live-quote .market-status-icon{gap:2px}
  #tickerPageRoot .ticker-live-quote .market-status-icon svg{width:8px;height:8px;flex-basis:8px}
}
