/* ================= HOUR BY HOUR =================
   The strip JS/features/weather-hourly.js draws on both hosts (rail dialog, phone card); one sheet.
   Tokens resolve on both; avoid `--a-2`/`--a-3` (Suite-only). `.wx-hr-btn` and `.wx-hr-chev` are phone-only.
   No animation: the phone opens it inside `.wx-fold`'s own height transition. */

/* The phone's fold; border and 9px rhythm match `.wx-days`/`.wx-picker`. */
.wx-hr-sec{
  margin-top:9px; padding-top:9px; border-top:1px solid var(--border-soft);
}

/* 44px tap-target floor (design-system §18); this is the only host that draws it. */
.wx-hr-btn{
  width:100%; min-height:44px; display:flex; align-items:center; justify-content:space-between;
  gap:8px; padding:0; background:transparent; border:0; cursor:pointer;
  font:inherit; color:var(--text-dim); text-align:left;
}
.wx-hr-btn .t{ font-size:var(--a-fs-11); font-weight:700; line-height:var(--a-lh-tight); text-transform:uppercase; letter-spacing:.08em; }
.wx-hr-chev{ flex:0 0 auto; display:flex; color:var(--text-faint); transition:transform var(--dur-quick, 460ms) var(--ease-out, ease); }
.wx-hr-btn[aria-expanded="true"] .wx-hr-chev{ transform:rotate(180deg); }
/* Reduced motion: keep the state, drop the chevron rotation. */
@media (prefers-reduced-motion: reduce){
  .wx-hr-chev{ transition:none; }
}

/* The scroller is the focusable element (`tabindex="0"`) so arrow keys reach later hours.
   No `:focus-visible` here; both hosts declare it globally.
   `min-width:0` lets it be a bare child of a flex container without widening the modal. */
.wx-hr-scroll{
  margin-top:6px; min-width:0; overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch; scrollbar-width:thin;
  border-radius:var(--a-r);
}
/* `min-width:min-content` keeps cells overflowing (and scrollable) instead of shrinking. */
.wx-hr-strip{ display:flex; gap:6px; min-width:min-content; padding-bottom:2px; }

/* Radius and padding match the rail dialog's neighbouring tiles (`.a-wx-day-l`, `.a-wx-fact`). */
.wx-hr-cell{
  flex:0 0 auto; width:56px; box-sizing:border-box; text-align:center;
  padding:8px 4px; border-radius:var(--a-r);
  background:var(--panel-2); border:1px solid var(--border-soft);
}
/* The current hour; also labelled "Now", so it is not carried by colour alone. */
.wx-hr-cell.now{ background:var(--accent-soft); border-color:var(--accent); }
.wx-hr-cell .h{
  display:block; font-size:var(--a-fs-11); font-weight:700; line-height:var(--a-lh-tight); letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-faint); white-space:nowrap;
}
.wx-hr-cell.now .h{ color:var(--accent-text); }
.wx-hr-cell .g{ display:block; font-size:var(--a-fs-16); line-height:var(--a-lh-ui); }
.wx-hr-cell .t{
  display:block; font-size:var(--a-fs-13); font-weight:600; color:var(--text);
  font-variant-numeric:tabular-nums;
}
/* Always present, often empty; min-height keeps the baseline even. */
.wx-hr-cell .p{
  display:block; min-height:14px; font-size:var(--a-fs-11); color:var(--text-dim);
  font-variant-numeric:tabular-nums;
}

/* Non-forecast states (no hourly block, or every hour past). Quiet, not an error. */
.wx-hr-msg{
  margin-top:6px; font-size:var(--a-fs-12); font-weight:400; color:var(--text-faint); line-height:var(--a-lh-ui);
}
