/* /today: the status block, the three-day strip and the readings. Loaded after content.css. */
.today h2 { margin-top: 34px; }
.today .small { font-size: 12px; }

.today .hero { border: 1px solid var(--line); border-left: 4px solid var(--state); background: var(--card); border-radius: 10px; padding: 18px 20px 16px; margin: 16px 0 14px; }
.today .hero-chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--state); border: 1px solid var(--state); border-radius: 20px; padding: 2px 11px; }
.today .hero-head { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--text); margin: 12px 0 6px; }
.today .hero-when { font-size: 17px; color: var(--text); margin-top: 10px; }
.today .hero-in { color: var(--state); white-space: nowrap; margin-left: 6px; }
.today .hero-sub { color: #c3cbe2; margin-top: 5px; font-size: 13.5px; }
.today .hero-cta { margin: 14px 0 0; }
.today .btn { display: inline-block; border: 1px solid var(--accent); color: var(--accent); border-radius: 6px; padding: 7px 14px; text-decoration: none; font-size: 13px; }
.today .btn:hover { background: rgba(255,179,71,.1); }

/* the three-day strip: a label column and a track; bars are placed by percentage of 72 hours */
.tl { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 10px 14px 12px; }
.tl-row { display: grid; grid-template-columns: 168px 1fr; gap: 12px; align-items: center; min-height: 34px; }
.tl-row + .tl-row { border-top: 1px solid rgba(30,37,64,.6); }
.tl-lab { font-size: 12px; color: var(--text); line-height: 1.35; padding: 5px 0; }
.tl-lab small { display: block; color: var(--muted); font-size: 11px; }
.tl-lab a { color: var(--text); }
.tl-head .tl-lab { color: var(--muted); }
.tl-track { position: relative; height: 26px; }
.tl-track.kp { height: 42px; }
.tl-head .tl-track { height: 20px; }
.tl-day { position: absolute; top: 2px; font-size: 11px; color: var(--muted); padding-left: 5px; white-space: nowrap; border-left: 1px solid var(--line); }
.tl-grid { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--line); }
.tl-bar { position: absolute; top: 6px; height: 14px; border-radius: 4px; }
.tl-bar.cme { background: rgba(255,179,71,.3); border: 1px solid var(--accent); }
.tl-bar.cme i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); }
.tl-bar.hss { background: rgba(77,163,255,.22); border: 1px solid var(--blue); }
.tl-later { position: absolute; right: 0; top: 4px; font-size: 11px; color: var(--muted); }
.tl-kp { position: absolute; bottom: 0; border-radius: 2px 2px 0 0; box-shadow: inset -1px 0 0 var(--card); opacity: .85; }
.tl-g1 { position: absolute; left: 0; right: 0; bottom: 55.6%; border-top: 1px dashed rgba(255,84,112,.55); }

.today .stat-grid { grid-template-columns: repeat(4, 1fr); }
.today .stat { padding: 12px 13px; min-width: 0; }
.today .stat .v { font-size: 19px; }
.today .stat .w { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.today .stat .w.hot { color: var(--red); }
.today .stat .spark { display: block; width: 100%; height: 26px; margin: 7px 0 6px; }
.today .stat .l { font-size: 11px; color: var(--muted); line-height: 1.4; }
.today table.ref tr.due td { background: rgba(255,179,71,.06); }

.today .signup-box { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 16px 18px; }
.today .signup-box .subscribe-form { max-width: none; margin: 0; }
.today .signup-box label { display: block; color: #c3cbe2; font-size: 13.5px; }
.today .signup-row { display: flex; gap: 8px; margin-top: 10px; max-width: 460px; }
.today .signup-row input[type=email] { flex: 1; min-width: 0; background: #090e18; border: 1px solid #344059; border-radius: 6px; padding: 9px 10px; color: var(--text); font: 13px var(--font); }
.today .signup-row button { background: var(--accent); color: #1a1206; border: none; border-radius: 6px; padding: 9px 16px; font: 700 13px var(--font); cursor: pointer; white-space: nowrap; }

@media (max-width: 640px) {
  .today .hero { padding: 15px 15px 14px; }
  .today .hero-head { font-size: 19px; }
  .today .hero-when { font-size: 15px; }
  .today .hero-in { display: block; margin: 2px 0 0; }
  .today .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-row { grid-template-columns: 1fr; gap: 0; padding: 4px 0 8px; }
  .tl-lab { padding: 3px 0 2px; }
  .tl-lab small { display: inline; margin-left: 6px; }
  .tl-head .tl-lab { display: none; }
  .today .signup-row { flex-wrap: wrap; }
}
