/* Water and Weather views (views.js): the Overview layout (css/views.css) showing one topic.
   Weather: temperature and rain on the left; alerts, spray windows, wind, outlook and smoke on the right.
   Water:
   Left: water use and rain by month. Right: irrigation for the week, then groundwater basin and
   watershed. views.js puts the chart in its water mode and the insights column on its water cards. */
html:not(.print-layout):is([data-view="water"], [data-view="weather"]) :is(#overview, #insightTabs, #normWrap, .chart-bar .seg:not(.wxchart)) { display: none; }
html:not([data-view="weather"]) #wxChart, html.print-layout #wxChart { display: none; }
html:not(.print-layout)[data-view="water"] .chart-bar::before { content: "Water use and rain by month"; }
html:not(.print-layout)[data-view="water"] .chart-bar::before { font-size: 11px; font-weight: 650;
  text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
html:not(.print-layout)[data-view="water"] #opsIrr { border-top: none; padding-top: 2px; }
/* the Overview's chart no longer offers Water: it has its own view */
html:not(.print-layout)[data-view="overview"] .chart-bar .seg label:has(input[value="water"]) { display: none; }
/* no findings or tiles here: the chart and cards sit directly under the filter bar */
html:not(.print-layout):is([data-view="water"], [data-view="weather"]) main { grid-template-rows: max-content minmax(420px, 1fr); }
html:not(.print-layout):is([data-view="water"], [data-view="weather"]) :is(#chartWrap, #insights) { grid-row: 2; }
/* the Weather chart belongs to the Weather view: it is never offered as a chart button */
.chart-bar .seg label:has(input[value="weather"]) { display: none; }
