:root {
  color-scheme: dark;
  font: 14px/1.5 system-ui, sans-serif;
  color: #f1f5f9;
  background: #151e2b;
  --panel: #27364a;
  --title: #39495f;
  --muted: #c5d0df;
  --divider: #475a73;
  --buy: #6ee7b7;
  --sell: #fca5a5;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 600px; margin: auto; padding: 12px; }
h1, h2, p, dl, dd { margin: 0; }
.title { background: var(--title); padding: 12px 14px; }
h1 { font-size: 21px; font-weight: 700; }
.subtitle, .detail, dt, .status, #sources { color: var(--muted); }
.overall { background: #31445d; border-left: 3px solid #9dbdf5; padding: 14px; }
#overall-label { font-size: 23px; font-weight: 720; margin-block: 2px 4px; }
.overall[data-tone="buy"] #overall-label { color: var(--buy); }
.overall[data-tone="sell"] #overall-label { color: var(--sell); }
.overall .detail { margin-top: 6px; }
.status { margin: 10px 0; }
.time-window { display: flex; gap: 7px; align-items: center; margin-top: 10px; }
.time-window input { margin: 0; }
article { background: var(--panel); padding: 11px 14px; }
article + article { margin-top: 8px; }
article header { margin-bottom: 6px; }
h2 { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
h3 { margin: 0; font-size: 14px; font-weight: 620; overflow-wrap: anywhere; }
.release { padding: 7px 0; border-top: 1px solid var(--divider); }
.release p { margin-top: 3px; }
#source-freshness { margin-bottom: 10px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; margin-top: 9px; }
dd { font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#sources { margin-top: 14px; overflow-wrap: anywhere; }
#source-list { padding-inline-start: 20px; }
summary { cursor: pointer; }
.access { margin-top: 12px; padding: 14px; background: var(--panel); }
.access p, .access form, .access output { margin-top: 8px; }
.access form { display: grid; gap: 8px; }
.access input, button { min-height: 44px; border: 1px solid #8294ad; border-radius: 5px; padding: 8px 12px; font: inherit; }
.access input { width: 100%; background: #151e2b; color: #f1f5f9; }
button { width: fit-content; background: #39495f; color: #f1f5f9; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
.access output { display: block; overflow-wrap: anywhere; user-select: all; font-family: ui-monospace, monospace; }
.access-actions { margin-top: 14px; }
[hidden] { display: none !important; }
@media (min-width: 730px) {
  main { padding: 16px; }
}
