/* Design Lab stage: what the Australia and Canada versions of shared pages (Local Forecast, Freeze Pro, Pro Tools, Radar)
   need beyond the v3 page's own stylesheet. Loaded only on the /au/ and /ca/ shells (see pages.d/regions.php).
   Scope every rule with html.stage[data-region="au"] or html.stage[data-region="ca"]. */

/* What differs on the shells, checked against the markup (2026-11-14):
     Local Forecast (/au/local, /ca/local, and the _pro twins) .. the server markup is the US page's, class for class.
         Off the MRMS grid (every Australian point, Canada north of about 55N) current-weather.js swaps the radar
         iframe for a RainViewer map on OpenStreetMap tiles with its own play / step pill, written with an injected
         <style>. local_wx.css already darkens the slot, the pill, the note and the attribution box; the three play
         buttons (live: solid brand green) and the attribution links are done here. The OSM map and the red
         crosshair are map content and stay as they are. NWS alerts are hidden off the US and the "written forecast
         is US only" note is an inline grey that stage.js lifts. Units are metric: text only, no styling.
     Freeze Pro (/au/freeze, /ca/freeze) .... same markup as US; the "Australia only" / "Canada only" saved-location
         tag is .lcn-tag, already in freeze_pro.css. Nothing here.
     Radar (/ca/radar) ....................... same markup as US; only the region list and the map framing differ
         (data in the script). Nothing here.
     Pro Tools (/au/tools, /ca/tools) ........ US-only tools are greyed (grayscale + opacity .55) tiles on the sell
         view and rows on the launcher, with a "US only" badge pro_tools.css already darkens. See below. */

/* ---------- Local Forecast: RainViewer radar controls ----------
   Live: solid brand-green round buttons on a white pill. On the stage's smoked pill they would be the loudest thing
   in the band, so they become quiet white-on-glass buttons like the other map controls. */
html.stage[data-region="au"] .cwb-rv-btn,
html.stage[data-region="ca"] .cwb-rv-btn{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
html.stage[data-region="au"] .cwb-rv-btn:hover,
html.stage[data-region="ca"] .cwb-rv-btn:hover{background:rgba(255,255,255,.24)}
html.stage[data-region="au"] .cwb-rv-btn:focus-visible,
html.stage[data-region="ca"] .cwb-rv-btn:focus-visible{outline:2px solid #fff;outline-offset:1px}
/* "OpenStreetMap" / "RainViewer" credit links: Leaflet's blue on the dark credit box */
html.stage[data-region="au"] .cwb-rv-map .leaflet-control-attribution a,
html.stage[data-region="ca"] .cwb-rv-map .leaflet-control-attribution a{color:#e2e8f0}

/* ---------- Pro Tools: US-only tools ----------
   At the live .55 opacity the one-line blurbs (--muted text) come out near 3.6:1 against the faded pane on the slate.
   Worked out with the whole tile composited over #0b1220 (glass about rgb(41,50,65)): .7 gives only about 4.5:1,
   .75 about 4.9:1. .75 keeps them plainly greyed out (grayscale stays, so no mint icon). Launcher rows sit inside
   a glass group panel, not on the bare slate, so they clear 5:1 at the same value. (Review 2026-11-14: was .7.) */
html.stage[data-region="au"] .pt-tile--usonly,html.stage[data-region="au"] .pt-featured--usonly,html.stage[data-region="au"] .pt-row--usonly,
html.stage[data-region="ca"] .pt-tile--usonly,html.stage[data-region="ca"] .pt-featured--usonly,html.stage[data-region="ca"] .pt-row--usonly{opacity:.75}
