/* Today's 5 and Since your last visit (api/today5.py, api/sincevisit.py).
   One file for the landing page, the desk, /today and /watchlist; all four
   are on the dark palette, so the colors are written out here instead of
   leaning on either page's variables. Labels are #8A929B or lighter: on the
   darkest tile (#13171C) that is 5.6:1, every text color here is >= 4.5:1. */
.t5-wrap { max-width: 1180px; margin: 0 auto 16px; padding: 0 16px; box-sizing: border-box; }
.desk-t5, .shell .t5-wrap { padding: 0; max-width: none; }
.lp-t5 { margin-top: 8px; margin-bottom: 28px; }
.t5 { background: #0F1216; border: 1px solid #1D2126; border-radius: 18px; padding: 16px 18px 18px;
  color: #E8EAED; box-sizing: border-box; min-width: 0; margin: 0 0 14px; container-type: inline-size; }
.card > .t5 { border: 0; background: none; margin: 0; }

/* header row: title and honest date on the left, small actions on the right */
.t5-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px;
  flex-wrap: wrap; margin-bottom: 12px; }
.t5-ht { min-width: 0; }
.t5-h { font: 700 18px/1.25 Archivo, system-ui, sans-serif; margin: 0; color: #E8EAED; letter-spacing: 0; }
.t5-d { margin: 3px 0 0; font: 400 11px/1.5 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .06em; color: #8A929B; text-transform: uppercase; }
.t5-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.t5-all { font: 400 12px "JetBrains Mono", ui-monospace, monospace; color: #B4BBC2;
  text-decoration: underline; text-underline-offset: 3px; }
.t5-all:hover, .t5-all:focus-visible { color: #C6F24E; }
.t5-f { margin: 0; }
.t5-cta { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 9px;
  border: 1px solid #C6F24E; background: transparent; color: #C6F24E; cursor: pointer;
  font: 600 12.5px/1.2 Archivo, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.t5-cta:hover, .t5-cta:focus-visible { background: #C6F24E; color: #08090B; }
.t5-cta.on { border-color: #2A3037; color: #B4BBC2; }
.t5-cta.on:hover, .t5-cta.on:focus-visible { background: #1A1F25; color: #E8EAED; border-color: #49525B; }

/* the five cards */
.t5-g { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr)); }
.t5-c { position: relative; min-width: 0; display: flex; flex-direction: column;
  background: #13171C; border: 1px solid #1D2126; border-radius: 14px; padding: 12px 13px 10px; }
.t5-c:hover { border-color: #2C333A; }
.t5-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.t5-n { font: 700 11px/1 "JetBrains Mono", ui-monospace, monospace; color: #8A929B; letter-spacing: .08em; }
.t5-n::before { content: "#"; }
.t5-bd { display: inline-block; font: 600 11px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px;
  color: #C6F24E; background: rgba(198,242,78,.10); white-space: nowrap; }
.t5-k-stake { color: #F2C14E; background: rgba(242,193,78,.10); }
.t5-k-congress { color: #8EC5FF; background: rgba(142,197,255,.10); }
.t5-t { margin-top: 10px; font: 700 21px/1.1 "JetBrains Mono", ui-monospace, monospace;
  color: #E8EAED; text-decoration: none; letter-spacing: -.01em; align-self: flex-start; }
.t5-t:hover, .t5-t:focus-visible { color: #C6F24E; text-decoration: underline; text-underline-offset: 3px; }
.t5-co { font-size: 12px; color: #B4BBC2; margin-top: 3px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.t5-v { margin-top: 10px; font: 700 26px/1.1 Archivo, system-ui, sans-serif; letter-spacing: -.03em;
  color: #C6F24E; white-space: nowrap; }
.t5-u { font: 400 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; color: #8A929B; }
.t5-w { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: #E8EAED; flex: 1 1 auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t5-ft { margin-top: 10px; padding-top: 8px; border-top: 1px solid #1D2126;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px;
  font: 400 11px/1.4 "JetBrains Mono", ui-monospace, monospace; }
.t5-ft a { color: #B4BBC2; }
.t5-ft a:hover, .t5-ft a:focus-visible { color: #E8EAED; }
.t5-x summary { cursor: pointer; color: #8A929B; list-style: none; }
.t5-x summary::-webkit-details-marker { display: none; }
.t5-x summary::after { content: " +"; }
.t5-x[open] summary::after { content: " -"; }
.t5-x summary:hover, .t5-x summary:focus-visible { color: #E8EAED; }
.t5-x[open] { flex-basis: 100%; }
.t5-x > div { margin-top: 5px; color: #B4BBC2; line-height: 1.5; }
.t5-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.t5-empty { margin: 4px 0; color: #B4BBC2; font-size: 14px; }

@container (max-width: 1100px) { .t5-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (max-width: 720px) { .t5-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phone: one swipeable row, the next card peeking in */
@container (max-width: 520px) {
  .t5-g { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
    margin: 0 -14px; padding: 0 14px 4px; scroll-padding: 0 14px; overscroll-behavior-x: contain; }
  .t5-c { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .t5 { padding: 14px 14px 16px; border-radius: 14px; }
  .t5-h { font-size: 17px; }
}

/* Since your last visit: a slim strip when there is nothing to list */
.sv-strip { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 14px;
  padding: 10px 16px; border: 1px solid #1D2126; border-radius: 12px; background: #0F1216;
  font-size: 13px; line-height: 1.45; color: #B4BBC2; box-sizing: border-box; min-width: 0; }
.sv-k { font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em;
  text-transform: uppercase; color: #8A929B; }
.sv-tx { flex: 1 1 260px; min-width: 0; }
.sv-a, .sv-strip a { font: 400 12px "JetBrains Mono", ui-monospace, monospace; color: #B4BBC2;
  text-decoration: underline; text-underline-offset: 3px; }
.sv-a:hover, .sv-a:focus-visible { color: #C6F24E; }
.sv-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sv-i { display: grid; grid-template-columns: 84px 64px minmax(0, 1fr) auto; align-items: center;
  gap: 10px; background: #13171C; border: 1px solid #1D2126; border-radius: 10px; padding: 8px 12px;
  min-width: 0; }
.sv-i .t5-bd { justify-self: start; }
.sv-i .t5-t { margin: 0; font-size: 14px; grid-column: 2; }
.sv-s { grid-column: 3; font-size: 13px; color: #E8EAED; min-width: 0; overflow-wrap: anywhere; }
.sv-dt { grid-column: 4; font: 400 11px "JetBrains Mono", ui-monospace, monospace; color: #8A929B; }
@media (max-width: 600px) {
  .sv-i { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 4px; }
  .sv-i .t5-t { grid-column: 2; }
  .sv-s { grid-column: 1 / -1; grid-row: 2; }
  .sv-dt { grid-column: 3; grid-row: 1; }
}
/* the standard disclaimer under the five (legal review 2026-10-16, A9) */
.t5-disc { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: #8B939B; }
