/* The shared disease row (static/season-row.js): the team's Watch › Season (static/org/watch.css keeps the
   rest of that page) and the grower's IPM page after the season. Its colours, legend, mark text and hover. */
.wt, .wt-drawer, .wt-tip, #wt-band, .season-row, .season-tip { --scab: #c98500; --fb: #c2412d; --bloom: #f3d9df; }
[data-theme=dark] :is(.wt, .wt-drawer, .wt-tip, #wt-band, .season-row, .season-tip) { --bloom: #4a2f36; }
/* the grower's page has none of the team app's tokens: its own, from app.css's */
.season-row, .season-tip { --grid: #eceeec; --card: #ffffff; --mute: var(--ink2, #5b6560); --green: #2f6b3a;
  --toast-bg: #1d2420; --toast-tx: #ffffff; }
/* dark theme step 9: inside a dark view the row takes the theme's (the season recap, the IPM page) */
:root[data-theme="dark"] .th-dark :is(.season-row, .season-tip), :root[data-theme="dark"] :is(.season-row, .season-tip).th-dark {
  --grid: var(--line); --card: var(--surface); --green: var(--gm); --toast-bg: var(--th-toast); --toast-tx: var(--ink); }

:is(.wt-legend, .sr-legend) { display: flex; gap: 6px 18px; font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--mute); flex-wrap: wrap; margin-bottom: 8px; }
:is(.wt-legend, .sr-legend) span { display: inline-flex; align-items: center; gap: 6px; }
:is(.wt-legend, .sr-legend) .sw { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
:is(.wt-legend, .sr-legend) .sw.dia { border-radius: 2px; transform: rotate(45deg); width: 10px; height: 10px; }
:is(.wt-legend, .sr-legend) .sw.gt { border-radius: 2px; width: 4px; height: 14px; background: var(--green); }

:is(#wt-tl, .sr-svg, .sr-axis) text { font: max(11px, var(--th-fs-small, 0px)) "Public Sans", system-ui, sans-serif; fill: var(--mute); }
:is(#wt-tl, .sr-svg) text.it { font-style: italic; }
:is(#wt-tl, .sr-svg) text.lane { font-size: max(9px, var(--th-fs-small, 0px)); letter-spacing: .04em; text-transform: uppercase; }

:is(.wt-tip, .season-tip) { position: fixed; pointer-events: none; background: var(--toast-bg); color: var(--toast-tx); font-size: max(12px, var(--th-fs-label, 0px));
  padding: 7px 9px; border-radius: 8px; white-space: nowrap; z-index: 50; line-height: 1.5; }

/* one farm: the row scrolls sideways on a phone rather than squeezing its marks together */
.sr-scroll { overflow-x: auto; }
.sr-scroll > svg { display: block; min-width: 760px; }
