/* SHIP-WEATHER (2026-10-30): the 14-day weather mark inside each calendar
   day's label (book.js weatherMarks). Picture + high in C, and the rain or
   snow chance from 30%. Nothing here touches a box: the mark lives in
   .win-day, never in .win-cell. Colours are the page's own tokens; the one
   new colour is the sun's, and there is no blue in the house palette, so
   wet is drawn in the page's own light grey. */
:root {
  --wx-sun: #f2b544;
  --wx-cloud: var(--muted, #8b918d);
  --wx-wet: var(--muted-strong, #57534e);
}

.win-day .wx {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 3px; line-height: 1; white-space: nowrap;
  font-size: .9rem; font-weight: 650; color: var(--muted-strong, #57534e);
  font-variant-numeric: tabular-nums;
}
.wx-main, .wx-pop { display: inline-flex; align-items: center; gap: 4px; }
.wx-pic { width: 21px; height: 21px; flex: none; overflow: visible; }
.wx-dot { width: 11px; height: 11px; flex: none; }
.wx-hi { color: var(--text, #1c1917); }
.wx-pop { font-size: .82rem; font-weight: 600; color: var(--muted, #78716c); }
.wx-pop.is-likely { color: var(--text, #1c1917); font-weight: 700; }

/* the pictures */
.wx-c { fill: var(--wx-cloud); opacity: .9; }
.wx-sun { fill: var(--wx-sun); }
.wx-ray { fill: none; stroke: var(--wx-sun); stroke-width: 2; stroke-linecap: round; }
.wx-wet { fill: none; stroke: var(--wx-wet); stroke-width: 2; stroke-linecap: round; }
.wx-flake circle { fill: var(--wx-wet); }
.wx-bolt { fill: var(--wx-sun); }
.wx-fog { fill: none; stroke: var(--wx-cloud); stroke-width: 2; stroke-linecap: round; }
.wx-drop { fill: var(--wx-wet); }
.wx-dot .wx-ray { stroke: var(--wx-wet); stroke-width: 2.6; }

/* a day the van does not open keeps its date and nothing else */
.win-row[hidden] .wx { display: none; }

/* the calendar tile (onelook.css .cal): mark under the date, left like it */
.cal .win-day .wx { padding: 0 4px 2px; }

/* phone: the tile is ~48px wide - centred like its date, the word goes,
   the drop or flake beside the number says it */
@media (max-width: 560px) {
  .cal .win-day .wx { align-items: center; padding: 0 0 1px; margin-top: 1px; font-size: .72rem; }
  .cal .wx-pic { width: 15px; height: 15px; }
  .cal .wx-main, .cal .wx-pop { gap: 2px; }
  .cal .wx-dot { width: 10px; height: 10px; }
  .cal .wx-pop { font-size: .66rem; }
  .cal .wx-word { display: none; }
}
