/* Seven-day strip (frontend-v4 §2.1 item 6; F4 #188; b2 direction.css "the week strip"). Phone: a
   card under the sky, seven across while they fit, four then three at large text. Laptop: the strip
   stays put at the top while the page scrolls. Tokens only. */
.slot-strip7.is-loading { min-height: 7.5rem; }
.cards > .slot-strip7:not(.is-loading):not(.is-error) { padding: 14px var(--space-2) var(--space-2); }
.s7 { container-type: inline-size; }
.s7 h2 { padding-left: var(--space-2); margin-bottom: var(--space-2); }
.s7-day .wx { width: 26px; height: 26px; }
.s7-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.s7-row li { min-width: 0; }
.s7-day {
  display: grid; justify-items: center; align-content: start; gap: 3px; width: 100%; min-height: var(--tap); min-width: 0;
  padding: var(--space-2) 0; border: 0; border-radius: 14px; background: none; color: var(--text); font-weight: var(--weight-regular);
}
.s7-d { font-size: var(--t-sub); font-weight: var(--weight-heavy); color: var(--action); line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; }
.s7-t { display: grid; justify-items: center; line-height: 1.2; }
.s7-hi { font-size: 0.9375rem; font-weight: var(--weight-heavy); }
.s7-lo { font-size: var(--t-sub); font-weight: var(--weight-semibold); color: var(--text-muted); }
.s7-feels { font-size: 0.75rem; font-weight: var(--weight-semibold); color: var(--text-muted); line-height: 1.2; max-width: 100%; }
.s7-fv { display: block; }
.s7-fv > span { display: inline-block; white-space: nowrap; }
.s7-day[aria-pressed="true"] { background: var(--action-soft); box-shadow: inset 0 0 0 2px var(--action); }
.s7-stale { margin: 0 0 var(--space-2); font-weight: var(--weight-semibold); }
/* seven across while it fits; at large text, four then three */
@container (max-width: 19rem) {
  .s7-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 6px; }
}
@container (max-width: 15rem) {
  .s7-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Laptop (F14 #286; b2 quiet-laptop.png): a full-width bar under the masthead that stays put while
   the page scrolls; NEXT 7 DAYS at the left, then each day on one line, name, icon, high / low. */
@media (min-width: 1024px) {
  .cards > .slot-strip7:not(.is-loading):not(.is-error) {
    position: sticky; top: 0; z-index: 40; border-radius: 0; padding: 0;
    background: var(--surface); box-shadow: 0 6px 18px rgb(12 22 36 / 0.06); border-block: 1px solid var(--line);
  }
  .layout .s7 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 20px; padding: 4px var(--edge, 32px); }
  .layout .s7 h2 { margin: 0; padding: 0; }
  .layout .s7-row { gap: 0; }
  .layout .s7-row li + li { border-left: 1px solid var(--line); padding-left: 3px; }
  .layout .s7-row li { padding-right: 3px; }
  .layout .s7-day { grid-template-columns: auto 24px auto; justify-content: center; align-items: center; column-gap: 7px; padding: 6px 4px; min-height: 48px; border-radius: 12px; white-space: nowrap; }
  .layout .s7-day .wx { width: 24px; height: 24px; }
  .layout .s7-t { display: flex; gap: 3px; align-items: baseline; white-space: nowrap; }
  .layout .s7-lo::before { content: "/ "; }
  .layout .s7-feels { grid-column: 1 / -1; }
  .layout .s7-fv { display: inline; }
  .layout .s7-stale { padding: var(--space-2) var(--edge, 32px) 0; }
  .s7-day:hover { background: var(--surface-2); }
}
/* narrow laptops: each day on two lines (name and icon, then high / low) so the seven still fit */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .layout .s7-day { grid-template-columns: auto 24px; row-gap: 2px; }
  .layout .s7-t { grid-column: 1 / -1; justify-content: center; }
}
