@font-face {
  font-family: "Bankrun Display";
  src: url("/fonts/BarlowCondensed-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --line: #dfe5ec;
  --muted: #596579;
  --text: #17212f;
  --accent: #2457a7;
  --warning: #805310;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 54px;
}
a {
  color: inherit;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 108px;
  border-bottom: 1px solid var(--line);
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 14px;
  line-height: 1.4;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  text-underline-offset: 5px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}
.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 8px;
}
.brand-wordmark {
  display: inline-flex;
  position: relative;
  align-items: baseline;
  color: #181b20;
  font-family: "Bankrun Display", "Arial Narrow", Impact, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand-bank,
.brand-run {
  display: inline-block;
}
.brand-bank {
  transform: translateY(2px) skewX(-3deg);
}
.brand-run {
  position: relative;
  margin-left: 1px;
  transform: translateY(-1px) skewX(-6deg);
  text-shadow: 2px 2px 0 #d93228;
}
.brand-run::after {
  content: "";
  position: absolute;
  left: 5px;
  right: -3px;
  bottom: -5px;
  height: 3px;
  background: #d93228;
  transform: skewX(-30deg) rotate(-4deg);
  pointer-events: none;
}
.brand-domain {
  font-size: .6em;
  letter-spacing: -.2px;
  margin-left: 3px;
}
.brand-country {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-left: 13px;
  color: var(--muted);
}
.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #596579;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warning);
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 48px 0 36px;
  gap: 30px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 17px;
}
h1 {
  font-size: clamp(30px, 3.8vw, 49px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 500;
  margin: 0;
}
.intro-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 2px;
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 20px;
  align-items: stretch;
}
.market-panel,
.feed-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.market-panel {
  padding: 27px 32px 25px;
  align-self: start;
}
.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-label {
  font-size: 14px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #596579;
  white-space: nowrap;
}
.section-number {
  color: #697586;
  margin-right: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.source-status {
  display: inline-block;
  font-size: 14px;
  color: var(--warning);
  background: #fff8e9;
  border: 1px solid #efdcb0;
  border-radius: 20px;
  padding: 5px 9px;
  white-space: nowrap;
}
.source-status.is-ready {
  color: #21663a;
  background: #edf8f0;
  border-color: #b9dfc5;
}
.source-status.is-error {
  color: #a12b27;
  background: #fff1ef;
  border-color: #efc5c0;
}
.instrument-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
}
h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0;
}
.instrument-description {
  font-size: 14px;
  color: var(--muted);
  margin: 9px 0 0;
}
.instrument-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #596579;
  border: 1px solid #dfe5ec;
  padding: 7px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.market-value-row {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin-top: 23px;
}
.market-value {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 76px;
  line-height: 1.15;
  letter-spacing: -4px;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  margin: 0;
}
.percent {
  font-size: 37px;
  color: #697586;
  margin-left: 11px;
  letter-spacing: -1px;
}
.market-value-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  font-size: 14px;
  line-height: 1.3;
  color: #596579;
  max-width: 100%;
}
.market-status {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.market-status[hidden] { display: none; }
.market-status.is-error { color: #a12b27; }
.market-value-note a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.market-value-note a[href]:hover {
  text-decoration: underline;
}
.rate-explanation {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: #f7f8fa;
  border-radius: 4px;
}
.rate-explanation h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.rate-explanation p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.rate-explanation strong {
  color: var(--text);
  font-weight: 600;
}
.rate-explanation a {
  color: inherit;
  text-decoration-color: #b6c0cf;
  text-underline-offset: 3px;
}
.rate-explanation a:hover {
  color: var(--accent);
}
.chart {
  height: 280px;
  position: relative;
  margin: 22px 0 0;
  border-bottom: 1px solid #dfe5ec;
  overflow: hidden;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-grid {
  stroke: #e8edf3;
  stroke-width: 1;
  fill: none;
}
.chart-vertical-grid {
  stroke-dasharray: 2 5;
  opacity: 0.5;
}
.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 25px;
  background: radial-gradient(
    ellipse at center,
    var(--panel) 0%,
    rgba(255, 255, 255, 0.96) 26%,
    rgba(255, 255, 255, 0) 70%
  );
}
.chart-empty[hidden] {
  display: none;
}
.empty-chart-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  width: 36px;
  border: 1px solid #d1dae6;
  border-radius: 50%;
  color: #596579;
  font-size: 19px;
  margin-bottom: 15px;
}
.chart-empty p {
  font-size: 14px;
  color: #344054;
  margin: 0 0 8px;
}
.chart-empty > span:last-child {
  font-size: 14px;
  color: #596579;
  line-height: 1.6;
  max-width: 285px;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0 25px;
  color: #596579;
  font-size: 14px;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-area {
  fill: url(#chart-fill);
}
.market-explainer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.explainer-mark {
  width: 16px;
  height: 16px;
  border: 1px solid #c6d0dd;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: Georgia, serif;
  color: #596579;
}
.market-explainer p {
  font-size: 14px;
  color: #596579;
  line-height: 1.7;
  margin: -2px 0 0;
  max-width: 570px;
}
.feed-panel {
  padding: 27px 25px 23px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.feed-panel h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-top: 35px;
}
.feed-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 19px;
}
.feed-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 27px;
}
.theme-tag {
  display: inline-block;
  color: #445165;
  font-size: 14px;
  letter-spacing: 0.1px;
  border: 1px solid #dfe5ec;
  padding: 5px 7px;
  border-radius: 2px;
}
.feed-content {
  flex: 1;
  position: relative;
  min-height: 230px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.feed-empty {
  height: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 27px 14px;
}
.feed-empty-symbol {
  font-size: 24px;
  color: #596579;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1dae6;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 6px;
}
.feed-empty h3 {
  font-size: 14px;
  font-weight: 500;
  color: #344054;
  margin: 0 0 9px;
}
.feed-empty p {
  font-size: 14px;
  line-height: 1.65;
  color: #596579;
  margin: 0;
  max-width: 245px;
}
.feed-footnote {
  font-size: 14px;
  color: #596579;
  line-height: 1.7;
  margin: 20px 0 0;
}
.tweet-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tweet-card:last-child {
  border-bottom: 0;
}
.tweet-embed {
  min-width: 0;
  max-width: 100%;
}
.tweet-embed .twitter-tweet {
  margin: 0 auto !important;
}
.tweet-link[hidden] {
  display: none;
}
.tweet-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.tweet-author {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tweet-date {
  font-size: 14px;
  color: #596579;
  white-space: nowrap;
}
.tweet-text {
  font-size: 14px;
  line-height: 1.7;
  color: #344054;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.tweet-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}
.tweet-link:hover {
  text-decoration: underline;
}
.context-strip {
  display: flex;
  gap: 25px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.context-label {
  font-size: 14px;
  white-space: nowrap;
  color: #344054;
}
.context-strip p {
  font-size: 14px;
  line-height: 1.7;
  color: #596579;
  margin: 0;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 29px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #596579;
}
.site-footer > span:first-child {
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-divider {
  margin: 0 9px;
  color: #dfe5ec;
}
.noscript-note {
  font-size: 14px;
  color: var(--warning);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
@media (min-width: 1600px) {
  .shell {
    padding: 0 65px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .chart {
    height: 310px;
  }
}
@media (max-width: 1100px) {
  .shell {
    padding: 0 32px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
  }
  .market-panel {
    padding: 24px;
  }
  .feed-panel {
    padding: 24px 21px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .market-value {
    font-size: 68px;
  }
  .market-value-row {
    gap: 18px;
  }
  .instrument-code {
    font-size: 14px;
  }
  .source-status {
    font-size: 14px;
  }
  .chart {
    height: 260px;
  }
  .intro {
    padding-top: 40px;
  }
}
@media (max-width: 850px) {
  .shell {
    padding: 0 25px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 32px 0;
  }
  .intro-copy br {
    display: none;
  }
  .intro-copy {
    font-size: 14px;
  }
  .feed-panel h2 br {
    display: none;
  }
  .feed-panel h2 {
    margin-top: 24px;
  }
  .feed-description {
    max-width: 500px;
  }
  .feed-content,
  .feed-empty {
    min-height: 190px;
  }
  .feed-panel {
    padding: 25px;
  }
  .context-strip {
    gap: 14px;
    flex-direction: column;
  }
  .market-value-row {
    gap: 23px;
  }
  .chart {
    height: 270px;
  }
  .site-header {
    height: 83px;
  }
}
@media (max-width: 480px) {
  .shell {
    padding: 0 16px;
  }
  .brand {
    gap: 11px;
  }
  .brand-wordmark {
    font-size: 42px;
  }
  .brand-country {
    font-size: 14px;
    margin-left: 9px;
  }
  .header-note {
    font-size: 14px;
    gap: 6px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }
  .eyebrow {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .market-panel {
    padding: 21px 19px;
  }
  .instrument-row { margin-top: 4px; }
  .instrument-row h2 {
    font-size: 18px;
  }
  .instrument-code {
    font-size: 14px;
    letter-spacing: 0;
    padding: 6px;
  }
  .market-value {
    font-size: 64px;
  }
  .percent {
    font-size: 30px;
  }
  .market-value-row {
    gap: 18px;
  }
  .market-value-note {
    font-size: 14px;
  }
  .chart {
    height: 220px;
    margin-top: 14px;
  }
  .chart-footer {
    font-size: 14px;
    padding-bottom: 22px;
  }
  .market-explainer p {
    font-size: 14px;
  }
  .source-status {
    font-size: 14px;
    padding: 5px 7px;
  }
  .section-label {
    font-size: 14px;
    letter-spacing: 1.3px;
  }
  .feed-panel {
    padding: 22px 19px;
  }
  .site-footer {
    font-size: 14px;
  }
  .context-strip {
    padding: 23px 0;
  }
  .intro-copy {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .source-status {
    transition:
      background-color 0.2s,
      border-color 0.2s,
      color 0.2s;
  }
  .tweet-link {
    transition: color 0.15s;
  }
}
.timeline-embed {
  width: 100%;
  min-width: 0;
}
.timeline-embed iframe {
  max-width: 100%;
}
.timeline-embed.is-pending {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  pointer-events: none;
}

/* Readable dashboard typography and compact first view. */
.site-header {
  height: 84px;
}
.dashboard {
  margin: 32px 0;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
}
.page-quote {
  max-width: 1000px;
  margin: 28px auto 0;
  text-align: center;
}
.page-quote blockquote {
  margin: 0;
}
.page-headline {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 500;
  font-style: italic;
  text-wrap: balance;
}
.page-quote figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.instrument-row h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 0;
}
.section-label {
  font-size: 14px;
  letter-spacing: 1px;
}
.section-number {
  font-size: 12px;
}
.source-status {
  font-size: 14px;
}
.market-explainer p,
.feed-description,
.tweet-text {
  font-size: 16px;
  line-height: 1.65;
}
.market-value-note,
.chart-empty > span:last-child,
.feed-empty p {
  font-size: 14px;
  line-height: 1.6;
}
.chart-empty p,
.feed-empty h3 {
  font-size: 16px;
}
.chart-footer {
  font-size: 12px;
  flex-wrap: wrap;
}
.feed-panel h2 {
  font-size: 24px;
  margin-top: 30px;
  line-height: 1.3;
}
.feed-panel h2.feed-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.theme-tag,
.tweet-author,
.tweet-link {
  font-size: 14px;
}
.tweet-date {
  font-size: 12px;
}
.panel-topline {
  flex-wrap: wrap;
}
.feed-themes {
  margin-bottom: 24px;
}
@media (max-width: 850px) {
  .dashboard {
    grid-template-columns: 1fr;
    margin: 24px 0;
  }
  .site-header {
    height: 76px;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: auto;
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 16px 0 18px;
  }
  .site-nav {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .market-panel {
    padding: 22px 18px;
  }
  .instrument-row {
    flex-wrap: wrap;
  }
  .instrument-row h2 {
    font-size: 25px;
  }
  .market-value-row {
    align-items: center;
    gap: 12px;
  }
  .market-value-note {
    max-width: 100%;
  }
  .chart {
    height: 230px;
  }
  .source-status {
    white-space: normal;
  }
  .feed-panel {
    padding: 22px 18px;
  }
  .tweet-header {
    flex-wrap: wrap;
  }
}

/* Historical series remain separate from the current quote. */
.history-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.history-source-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.history-source-control select {
  max-width: 100%;
  border: 1px solid #ccd5e1;
  border-radius: 3px;
  padding: 7px 28px 7px 9px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.history-ranges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.history-ranges button,
.history-table-pagination button {
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 38px;
}
.history-ranges button[hidden] { display: none; }
.history-ranges button:hover { background: #f2f5f9; }
.history-ranges button[aria-pressed="true"] {
  background: #edf2f9;
  border-color: #cbd8eb;
  color: var(--accent);
  font-weight: 600;
}
.history-readout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px 18px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
}
#history-label { color: var(--muted); }
#chart-inspection { color: var(--text); font-variant-numeric: tabular-nums; }
.history-status {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 0;
}
.history-status.is-error { color: #a12b27; }
.history-status[hidden] { display: none; }
.chart { height: 300px; margin-top: 12px; border: 0; }
.chart svg { display: block; touch-action: pan-y; }
.chart svg:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.chart-grid-line { stroke: #e8edf3; stroke-width: 1; }
.chart-axis-label { fill: var(--muted); font-family: inherit; font-size: 12px; }
.chart-single-point { fill: var(--accent); }
.chart-cursor-line { stroke: #76869d; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-cursor-point { fill: var(--accent); stroke: white; stroke-width: 2; }
#chart-cursor[hidden] { display: none; }
.chart-footer { padding: 8px 0 0; line-height: 1.6; }
.chart-footer a { color: var(--accent); text-decoration: none; }
.chart-footer a[href]:hover { text-decoration: underline; }
.chart-help { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.history-table-details { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 14px; }
.history-table-details[hidden] { display: none; }
.history-table-details summary { cursor: pointer; color: var(--muted); width: fit-content; }
.history-table-details summary:focus-visible,
.history-source-control select:focus-visible,
.history-table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.history-table-scroll { overflow: auto; max-height: 290px; margin-top: 16px; }
.history-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.history-table th,
.history-table td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; }
.history-table td,
.history-table thead th:last-child { text-align: right; white-space: nowrap; }
.history-table thead th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font-weight: 500; }
.history-table tbody th { font-weight: 400; }
.history-table-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.history-table-pagination[hidden] { display: none; }
.history-table-pagination button { border-color: var(--line); padding: 7px 9px; }
.history-table-pagination button:disabled { opacity: .45; cursor: default; }
.history-table-pagination > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.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; }
@media (max-width: 480px) {
  .history-controls { gap: 14px; margin-top: 24px; }
  .history-ranges { gap: 2px; }
  .history-ranges button { padding: 8px 9px; }
  .history-readout { gap: 7px; }
  .chart { height: 270px; }
}

/* Current indicators share a row; OAT history and the X feed stay below it. */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.indicator-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  text-align: center;
}
.indicator-heading {
  min-height: 72px;
  width: 100%;
}
.indicator-heading h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.indicator-subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 7px 0 0;
}
.indicator-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin: 15px 0 14px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -2.5px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.indicator-unit {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--muted);
  text-decoration: none;
}
.indicator-quote-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.indicator-quote-note a {
  color: var(--accent);
  text-decoration: none;
}
.indicator-quote-note a[href]:hover { text-decoration: underline; }
.indicator-quote-note time[hidden] { display: none; }
.indicator-status,
.indicator-card .market-status {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.indicator-status.is-warning { color: var(--warning); }
.indicator-status[hidden] { display: none; }
.indicator-status.is-error,
.indicator-card .market-status.is-error { color: #a12b27; }
.indicator-collection {
  width: 100%;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.indicator-collection:empty { display: none; }
.indicator-explanation {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  text-align: left;
}
.indicator-explanation p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.indicator-explanation strong { font-weight: 600; color: var(--text); }
.indicator-explanation p.indicator-explanation-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
}
.indicator-footnote {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
  width: 100%;
}
.spread-country-control {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
}
.spread-country-control select {
  max-width: 100%;
  min-height: 38px;
  padding: 6px 27px 6px 9px;
  border: 1px solid #ccd5e1;
  border-radius: 3px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.spread-country-control select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.spread-quote-note { gap: 6px; }
.spread-quote-note #spread-quotes { display: grid; gap: 4px; }
.history-heading { font-size: 21px; line-height: 1.35; }
.market-panel .history-controls { margin-top: 20px; padding-top: 0; border-top: 0; }
.dashboard { margin-top: 20px; }
@media (max-width: 1100px) {
  .indicators-grid { gap: 16px; }
  .indicator-card { padding: 23px 18px 20px; }
  .indicator-heading h2 { font-size: 21px; }
}
@media (max-width: 850px) {
  .indicators-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .indicator-card { padding: 24px; }
  .indicator-heading { min-height: 0; }
  .indicator-heading h2 { font-size: 25px; }
  .indicator-value { font-size: 64px; margin-top: 22px; }
  .indicator-explanation { max-width: 560px; margin-top: 0; }
  .indicator-footnote { max-width: 560px; }
  .indicator-quote-note { font-size: 13px; }
  .spread-country-control select { font-size: 16px; }
}
@media (max-width: 480px) {
  .indicator-card { padding: 22px 18px; }
  .indicator-value { font-size: 60px; }
  .indicator-unit { font-size: 27px; }
  .indicator-quote-note { font-size: 12px; }
}

/* Keep the news alongside the market cards, above the fold on wide screens. */
.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  align-items: start;
  gap: 20px;
  margin: 32px 0;
}
.tracker-column { display: grid; gap: 20px; min-width: 0; }
.market-layout .indicators-grid { margin: 0; gap: 12px; }
.market-layout .indicator-card { padding: 22px 16px 20px; }
.market-layout .indicator-heading h2 { font-size: 20px; }
.market-layout .indicator-subtitle { font-size: 12px; }
.market-layout .indicator-value { font-size: clamp(32px, 3vw, 42px); gap: 6px; letter-spacing: -1.5px; }
.market-layout .indicator-unit { font-size: 22px; }
.market-layout .indicator-quote-note { font-size: 11px; }
.market-layout .indicator-explanation p { font-size: 13px; line-height: 1.6; }
.market-layout .share-actions { gap: 7px; }
.market-layout .share-button { font-size: 12px; padding: 8px 10px; }
.market-layout .feed-panel { padding: 24px 18px; }
.history-metric-control { display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.history-metric-control select {
  min-height: 38px;
  max-width: 100%;
  padding: 6px 27px 6px 9px;
  border: 1px solid #ccd5e1;
  border-radius: 3px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.history-metric-control select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1100px) {
  .market-layout { grid-template-columns: 1fr; }
  .tracker-column { display: contents; }
  .market-layout .indicators-grid { order: 1; }
  .market-layout .feed-panel { order: 2; }
  .market-layout .market-panel { order: 3; }
  .market-layout .indicator-heading h2 { font-size: 22px; }
  .market-layout .indicator-value { font-size: 48px; }
  .market-layout .indicator-quote-note { font-size: 12px; }
}
@media (max-width: 850px) {
  .market-layout { margin-top: 24px; }
  .market-layout .indicator-card { padding: 24px; }
  .market-layout .indicator-heading h2 { font-size: 25px; }
  .market-layout .indicator-subtitle { font-size: 13px; }
  .market-layout .indicator-value { font-size: 60px; }
  .market-layout .indicator-unit { font-size: 27px; }
  .market-layout .indicator-explanation p { font-size: 14px; }
  .market-layout .share-button { font-size: 13px; }
  .history-metric-control select { font-size: 16px; }
}
@media (max-width: 480px) {
  .market-layout .indicator-card { padding: 22px 18px; }
}
