/* Overview upper row only; existing lower panels and all values remain native. */
#view-overview .mp-overview-grid>.mp-overview-upper{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;align-items:stretch;min-width:0}
#view-overview .mp-overview-upper>.mp-overview-left{display:grid;gap:12px;min-width:0}
#view-overview #mpOverviewLocations{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;background:var(--glass)!important;border-color:var(--border)!important;color:var(--text)}
#view-overview #mpOverviewLocations[hidden]{display:none}
#view-overview #mpOverviewLocations .mp-section-title{flex-wrap:wrap;margin:0}
#view-overview #mpOverviewLocations .mp-section-title svg{width:24px;height:24px;color:var(--accent);flex:none}
#view-overview #mpOverviewLocations h2{font-size:18px}
#view-overview #mpOverviewLocations label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--text2);font-size:13px}
#view-overview #mpLocationsStyle{background:var(--glass2);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:6px 9px;min-height:34px;font:inherit}
#view-overview #mpLocationsStyle option{background:var(--g1);color:var(--text)}
#view-overview #mpLocationsMap{flex:1;min-height:250px;position:relative;border:1px solid var(--border);border-radius:8px;background:var(--glass2);z-index:0}
#view-overview #mpLocationsStations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:150px;overflow:auto}
#view-overview #mpLocationsStations button{display:flex;gap:7px;align-items:center;min-width:0;text-align:left;padding:7px;background:var(--glass2);border:1px solid var(--border);border-radius:7px;color:var(--text);font:inherit;font-size:13px;cursor:pointer}
#view-overview #mpLocationsStations button>b{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:var(--accent-dim);color:var(--accent)}
#view-overview #mpLocationsStations button>span{min-width:0;overflow-wrap:anywhere}
#view-overview #mpLocationsStations button:hover:not(:disabled){background:var(--accent-dim);border-color:var(--border-h)}
#view-overview #mpLocationsStations button:disabled{color:var(--text-dim);cursor:default}
#view-overview #mpOverviewLocations :focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#view-overview #mpLocationsNote,#view-overview .mp-locations-fallback{margin:0;font-size:13px;line-height:1.5;color:var(--text2);overflow-wrap:anywhere}
#view-overview #mpLocationsMap .mp-locations-fallback{padding:12px}
#view-overview .mp-locations-marker>span{display:grid;place-items:center;width:28px;height:28px;background:var(--accent);color:var(--g1);border:2px solid var(--glass);border-radius:50%;font:bold 13px var(--panel-font);box-shadow:0 1px 5px #0006}
#view-overview .mp-locations-tiles-dark{filter:brightness(.65) saturate(.6)}
@media(min-width:961px){
 #view-overview .mp-overview-left .mp-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #view-overview .mp-overview-left .mp-annual-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #view-overview .mp-overview-left .mp-reading{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:3px;padding:9px;min-height:0;text-align:left}
 #view-overview .mp-overview-left .mp-reading>.mp-icon-disc{position:static;width:30px;height:30px;flex:none}
 #view-overview .mp-overview-left .mp-reading>.mp-icon-disc>.ov-icon{width:20px;height:20px}
 #view-overview .mp-overview-left .mp-reading>.mp-badge{position:static;margin:0;font-size:9px}
 #view-overview .mp-overview-left .mp-reading h3{font-size:13px;min-height:0;line-height:1.4;margin:2px 0;padding:0}
 #view-overview .mp-overview-left .mp-reading>b{font-size:23px;white-space:normal;line-height:1.3}
 #view-overview .mp-overview-left .mp-reading p,#view-overview .mp-overview-left .mp-reading small{font-size:12px;line-height:1.4;margin:0;white-space:normal;overflow-wrap:anywhere}
 #view-overview .mp-overview-left .mp-section-title{flex-wrap:wrap;margin:0 0 9px;gap:8px}
 #view-overview .mp-overview-left .mp-section-title h2{font-size:18px}
 #view-overview .mp-overview-left .mp-section-meta{font-size:12px;margin-left:auto}
}
@media(max-width:960px){
 html body #view-overview .mp-overview-grid>.mp-overview-upper{grid-template-columns:minmax(0,1fr)}
 #view-overview #mpLocationsMap{flex:none;height:320px;min-height:0}
}
@media(max-width:600px){#view-overview #mpLocationsStations{grid-template-columns:minmax(0,1fr)}}

/* Current/annual panels moved into a wrapper: retire their old outer areas. */
html body #view-overview .mp-overview-grid{grid-template-areas:"upper upper" "water crop" "equipment forecast" "quick forecast"}
html body #view-overview .mp-overview-grid>.mp-overview-upper{grid-area:upper;min-width:0}
html body #view-overview .mp-overview-upper>.mp-overview-left{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}
html body #view-overview .mp-overview-left>.mp-current,html body #view-overview .mp-overview-left>.mp-annual{grid-area:auto;grid-column:auto;grid-row:auto;position:relative;flex:0 0 auto;min-width:0;margin:0}
@media(min-width:901px) and (max-width:960px){
 html body #view-overview .mp-overview-left .mp-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body #view-overview .mp-overview-left .mp-annual-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html body #view-overview .mp-overview-left .mp-reading{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:9px;gap:3px;min-height:0}
 html body #view-overview .mp-overview-left .mp-reading>.mp-icon-disc{position:static;inset:auto;width:30px;height:30px;flex:none}
 html body #view-overview .mp-overview-left .mp-reading>.mp-icon-disc>.ov-icon{width:20px;height:20px}
 html body #view-overview .mp-overview-left .mp-reading>.mp-badge{position:static;inset:auto;margin:0;font-size:9px}
 html body #view-overview .mp-overview-left .mp-reading h3{font-size:13px;min-height:0;margin:2px 0;padding:0;line-height:1.4}
 html body #view-overview .mp-overview-left .mp-reading>b{font-size:23px;white-space:normal;line-height:1.3}
 html body #view-overview .mp-overview-left .mp-reading p,html body #view-overview .mp-overview-left .mp-reading small{font-size:12px;line-height:1.4;margin:0;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:900px){
 html body #view-overview .mp-overview-grid{grid-template-areas:none}
 html body #view-overview .mp-overview-grid>.mp-overview-upper{grid-area:auto;grid-column:1/-1}
}

/* Ordered Overview quadrants: native panels retain all IDs and readers. */
html body #view-overview .mp-overview-grid{grid-template-areas:"upper upper" "lower forecast"}
html body #view-overview .mp-overview-grid>.mp-overview-upper{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}
html body #view-overview .mp-overview-lower-left{grid-area:lower;min-width:0}
html body #view-overview .mp-overview-upper>.mp-overview-left,html body #view-overview .mp-overview-lower-left{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:12px;align-items:stretch;min-width:0}
html body #view-overview .mp-overview-left>.ov-panel,html body #view-overview .mp-overview-lower-left>.ov-panel{grid-area:auto;grid-column:auto;grid-row:auto;margin:0;min-width:0;position:relative}
html body #view-overview .mp-overview-left .mp-annual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #view-overview .mp-overview-left .mp-section-title{flex-wrap:wrap;gap:8px;margin:0 0 10px}
html body #view-overview .mp-overview-left .mp-section-title h2{font-size:17px;line-height:1.4}
html body #view-overview .mp-overview-left .mp-section-meta{margin-left:0;overflow-wrap:anywhere}
html body #view-overview .mp-overview-lower-left .mp-crop-values{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #view-overview .mp-overview-lower-left .mp-crop-stage{min-width:0;flex-wrap:wrap}
html body #view-overview .mp-overview-lower-left .mp-crop-values b{white-space:normal;overflow-wrap:anywhere}
html body #view-overview #mpOverviewLocations,html body #view-overview .mp-overview-forecast{align-self:start}
html body #view-overview .mp-overview-lower-left .mp-hardware-grid,html body #view-overview .mp-overview-lower-left .mp-quick-grid{grid-template-columns:minmax(0,1fr)}
@media(min-width:961px) and (max-width:1100px){html body #view-overview .mp-overview-upper>.mp-overview-left{grid-template-columns:minmax(0,1fr)}}
@media(max-width:960px){
 html body #view-overview .mp-overview-grid>.mp-overview-upper{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){html body #view-overview .mp-overview-grid{grid-template-areas:none}html body #view-overview .mp-overview-grid>.mp-overview-upper,html body #view-overview .mp-overview-lower-left{grid-area:auto;grid-column:1/-1}}
/* 901–960px keeps the native outer two-column forecast track; only the upper wrapper stacks. */
@media(min-width:901px) and (max-width:960px){html body #view-overview .mp-overview-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-areas:"upper upper" "lower forecast"}}
@media(max-width:760px){
 html body #view-overview .mp-overview-upper>.mp-overview-left,html body #view-overview .mp-overview-lower-left{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
}

/* Metric icon top left, existing provenance badge right, reading beside icon. */
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading{display:grid;grid-template-columns:26px minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;gap:5px 7px;align-items:start;justify-content:normal;min-height:0;padding:10px;text-align:center}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-icon-disc{position:static;inset:auto;grid-column:1;grid-row:1;width:26px;height:26px;justify-self:start;align-self:start}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-icon-disc>.ov-icon{width:20px;height:20px}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-badge{position:static;inset:auto;grid-column:3;grid-row:1;justify-self:end;align-self:start;margin:0;min-width:0;max-width:100%;font-size:9px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>h3{grid-column:1/-1;grid-row:2;order:0;margin:0;padding:0;width:auto;min-height:0;font-size:13px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>b{grid-column:2;grid-row:1;margin:0;font-size:23px;line-height:1.4;text-align:left;justify-self:start;white-space:normal;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small{grid-column:1/-1;grid-row:3;margin:0;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p{grid-column:1/-1;grid-row:4;margin:0;max-width:100%;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-reading-grid,.mp-annual-grid,.mp-water-grid){grid-template-columns:minmax(0,1fr);gap:8px}
html body #view-overview .mp-overview-lower-left .mp-crop-values>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:start}
html body #view-overview .mp-overview-lower-left .mp-crop-values>div>.mp-badge{grid-column:2;grid-row:1;margin:0;justify-self:end;white-space:normal;font-size:9px;max-width:100%;overflow-wrap:anywhere}
html body #view-overview .mp-overview-lower-left .mp-crop-values>div>b,html body #view-overview .mp-overview-lower-left .mp-crop-values>div>small{grid-column:1/-1;text-align:center}
@media(max-width:600px){html body #view-overview .mp-overview-lower-left .mp-water-grid{grid-template-columns:minmax(0,1fr)}}

/* USER_CLARIFIED_OVERVIEW: large-card grouping; native right windows retained. */
html body #view-overview .mp-overview-upper>.mp-overview-left{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto}
html body #view-overview .mp-overview-lower-left{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
html body #view-overview .mp-overview-left>.ov-panel,html body #view-overview .mp-overview-lower-left>.ov-panel{grid-area:auto;grid-column:auto;grid-row:auto;min-width:0}
html body #view-overview .mp-overview-grid :is(.mp-reading-grid,.mp-annual-grid,.mp-water-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #view-overview .mp-overview-left .mp-crop-values{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #view-overview .mp-overview-left .mp-crop-values b{white-space:normal;overflow-wrap:anywhere}
/* Compact metrics preserve icon/value adjacency; badge has its own right edge. */
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading{grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto auto auto auto;padding:9px;gap:4px 6px;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-icon-disc{grid-column:1;grid-row:1;width:22px;height:22px}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>b{grid-column:2;grid-row:1;align-self:center;font-size:22px;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-badge{grid-column:1/-1;grid-row:2;justify-self:end}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>h3{grid-row:3;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small{grid-row:4;text-align:left;justify-self:stretch}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p{grid-row:5;text-align:left;justify-self:stretch}
html body #view-overview .mp-overview-left .mp-crop-values>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:start}
html body #view-overview .mp-overview-left .mp-crop-values>div>.mp-badge{grid-column:2;grid-row:1;justify-self:end;margin:0;white-space:normal;font-size:9px;max-width:100%;overflow-wrap:anywhere}
html body #view-overview .mp-overview-left .mp-crop-values>div>b,html body #view-overview .mp-overview-left .mp-crop-values>div>small{grid-column:1/-1;text-align:left}
html body #view-overview .mp-overview-left .mp-crop-notes,html body #view-overview .mp-overview-left .mp-annual-note,html body #view-overview .mp-overview-lower-left .mp-reading p{text-align:left}
@media(min-width:901px){html body #view-overview .mp-overview-lower-left .mp-hardware-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body #view-overview .mp-overview-lower-left .mp-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:961px) and (max-width:1250px){html body #view-overview .mp-overview-left :is(.mp-reading-grid,.mp-annual-grid,.mp-water-grid){grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){html body #view-overview .mp-overview-upper>.mp-overview-left{grid-template-columns:minmax(0,1fr);grid-template-rows:none}}
@media(max-width:420px){html body #view-overview .mp-overview-grid :is(.mp-reading-grid,.mp-annual-grid,.mp-water-grid){grid-template-columns:minmax(0,1fr)}}

/* COMPACT_LEFT_OVERVIEW: no map/forecast window dimensions are overridden. */
html body #view-overview .mp-overview-left .mp-annual{container-type:inline-size;container-name:mpannual}
html body #view-overview .mp-overview-upper>.mp-overview-left,html body #view-overview .mp-overview-lower-left{gap:8px}
html body #view-overview .mp-overview-left>.ov-panel,html body #view-overview .mp-overview-lower-left>.ov-panel{padding:8px;min-height:0}
html body #view-overview :is(.mp-overview-left,.mp-overview-lower-left) .mp-section-title{gap:6px;margin:0 0 6px;min-height:20px}
html body #view-overview :is(.mp-overview-left,.mp-overview-lower-left) .mp-section-title h2{font-size:15px;line-height:1.25}
html body #view-overview :is(.mp-overview-left,.mp-overview-lower-left) .mp-section-title>.ov-icon{width:20px;height:20px;flex:none}
html body #view-overview .mp-overview-left .mp-section-meta{font-size:11px;line-height:1.2;max-width:none;margin:0}
html body #view-overview .mp-overview-left :is(.mp-reading-grid,.mp-annual-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
html body #view-overview .mp-overview-left .mp-water-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:2px 4px;padding:6px;min-height:0;align-content:start;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-icon-disc{width:18px;height:20px;grid-column:1;grid-row:1}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-icon-disc>.ov-icon{width:18px;height:18px}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>b{grid-column:2;grid-row:1;font-size:20px;line-height:1.1;margin:0;text-align:left;overflow-wrap:anywhere}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-badge{display:block;grid-column:1/-1;grid-row:2;justify-self:end;padding:0 4px;font-size:9px;line-height:1.2;margin:0;max-width:100%}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>h3{grid-column:1/-1;grid-row:3;font-size:12px;line-height:1.2;margin:0;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small{display:block;grid-column:1/-1;grid-row:4;font-size:11px;line-height:1.25;margin:0;text-align:left}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p{display:block;grid-column:1/-1;grid-row:5;font-size:11px;line-height:1.25;margin:0;text-align:left}
html body #view-overview .mp-overview-grid .mp-annual .mp-reading{grid-template-rows:auto auto auto}
html body #view-overview .mp-overview-grid .mp-annual .mp-reading>h3{grid-row:2}
html body #view-overview .mp-overview-grid .mp-annual .mp-reading>small{grid-row:3}
html body #view-overview .mp-overview-grid .mp-water .mp-reading{grid-template-rows:auto auto auto auto}
html body #view-overview .mp-overview-grid .mp-water .mp-reading>p{grid-row:4}
html body #view-overview .mp-overview-left .mp-annual-note{font-size:11px;line-height:1.25;margin:5px 0 0}
html body #view-overview .mp-overview-left .mp-crop-stage{padding:6px;min-height:0;gap:6px;margin:0 0 5px}
html body #view-overview .mp-overview-left .mp-crop-stage>.mp-icon-disc{width:24px;height:24px;flex:none}
html body #view-overview .mp-overview-left .mp-crop-stage .ov-icon{width:22px;height:22px}
html body #view-overview .mp-overview-left .mp-crop-stage strong{font-size:14px;line-height:1.2}
html body #view-overview .mp-overview-left .mp-crop-stage p{font-size:11px;line-height:1.25;margin:2px 0 0}
html body #view-overview .mp-overview-left .mp-crop-values{gap:5px}
html body #view-overview .mp-overview-left .mp-crop-values>div{padding:6px;gap:3px}
html body #view-overview .mp-overview-left .mp-crop-values>div>span:first-child{font-size:12px;line-height:1.25}
html body #view-overview .mp-overview-left .mp-crop-values>div>.mp-badge{font-size:9px;line-height:1.2;padding:0 3px}
html body #view-overview .mp-overview-left .mp-crop-values>div>b{font-size:20px;line-height:1.1;text-align:left}
html body #view-overview .mp-overview-left .mp-crop-values>div>small{font-size:11px;line-height:1.25;margin:0;text-align:left}
html body #view-overview .mp-overview-lower-left .mp-hardware-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading{grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 5px;padding:6px;min-height:0}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc{width:22px;height:22px;grid-column:1;grid-row:1;position:static}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc>.ov-icon{width:20px;height:20px}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>b{grid-column:2;grid-row:1;font-size:18px;line-height:1.2;margin:0}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>h3{grid-column:1/-1;grid-row:2;font-size:12px;line-height:1.2;margin:0}
html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>p{grid-column:1/-1;grid-row:3;font-size:11px;line-height:1.25;margin:0;text-align:left}
html body #view-overview .mp-overview-lower-left .mp-quick-grid{gap:5px}
html body #view-overview .mp-overview-lower-left .mp-quick-grid>button{padding:6px;gap:5px;min-height:44px}
html body #view-overview .mp-overview-lower-left .mp-quick-grid .ov-icon{width:20px;height:20px}
html body #view-overview .mp-overview-lower-left .mp-quick-grid strong{font-size:12px;line-height:1.2}
html body #view-overview .mp-overview-lower-left .mp-quick-grid small{font-size:11px;line-height:1.25;margin-top:2px}
@container mpannual (min-width:360px){html body #view-overview .mp-overview-left .mp-annual-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:961px) and (max-width:1250px){html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>b{font-size:18px}}
@media(max-width:420px){html body #view-overview .mp-overview-left .mp-reading-grid{grid-template-columns:minmax(0,1fr)}html body #view-overview .mp-overview-left .mp-water-grid .mp-reading{padding:5px 4px}html body #view-overview .mp-overview-grid .mp-water .mp-reading>b{font-size:18px}}
/* Measured narrow-card refinement: retain every value/date; do not stretch right windows. */
html body #view-overview .mp-overview-left>.ov-panel{container-type:inline-size;padding:6px}
@container mpannual (min-width:230px){html body #view-overview .mp-overview-left .mp-annual-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:340px){
 html body #view-overview .mp-overview-left .mp-section-title{gap:4px;margin-bottom:4px}
 html body #view-overview .mp-overview-left .mp-section-title h2{font-size:13px;line-height:1.2}
 html body #view-overview .mp-overview-left .mp-section-title>.ov-icon{width:16px;height:16px}
 html body #view-overview .mp-overview-left .mp-section-meta{font-size:10px}
 html body #view-overview .mp-overview-left :is(.mp-reading-grid,.mp-annual-grid,.mp-water-grid){gap:3px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual) .mp-reading{grid-template-columns:12px minmax(0,1fr);padding:3px;gap:2px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual) .mp-reading>.mp-icon-disc{width:12px;height:18px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual) .mp-reading>.mp-icon-disc>.ov-icon{width:12px;height:12px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual) .mp-reading>b{font-size:18px;line-height:1.1}
 html body #view-overview .mp-overview-grid .mp-annual .mp-reading>b{font-size:16px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>h3{font-size:11px;line-height:1.2}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small,html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p{font-size:10px;line-height:1.2}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>.mp-badge{padding:0 2px;font-size:9px;line-height:1.15;overflow-wrap:anywhere;word-break:normal}
 html body #view-overview .mp-overview-grid .mp-water .mp-reading{grid-template-columns:10px minmax(0,1fr);padding:2px;gap:2px 1px}
 html body #view-overview .mp-overview-grid .mp-water .mp-reading>.mp-icon-disc{width:10px;height:18px}
 html body #view-overview .mp-overview-grid .mp-water .mp-reading>.mp-icon-disc>.ov-icon{width:10px;height:10px}
 html body #view-overview .mp-overview-grid .mp-water .mp-reading>b{font-size:16px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-annual-note{font-size:10px;line-height:1.2;margin-top:4px}
 html body #view-overview .mp-overview-left .mp-crop-stage{padding:4px;gap:4px}
 html body #view-overview .mp-overview-left .mp-crop-stage>.mp-icon-disc{width:18px;height:18px}
 html body #view-overview .mp-overview-left .mp-crop-stage .ov-icon{width:16px;height:16px}
 html body #view-overview .mp-overview-left .mp-crop-stage strong{font-size:13px}
 html body #view-overview .mp-overview-left .mp-crop-stage p{font-size:10px;line-height:1.2}
 html body #view-overview .mp-overview-left .mp-crop-values>div{padding:3px;gap:2px}
 html body #view-overview .mp-overview-left .mp-crop-values>div>b{font-size:18px}
 html body #view-overview .mp-overview-left .mp-crop-values>div>small{font-size:10px;line-height:1.2}
}
@container(max-width:229px){
 html body #view-overview .mp-overview-left .mp-section-title{display:grid;grid-template-columns:14px minmax(0,1fr);gap:2px;margin-bottom:3px;align-items:start}
 html body #view-overview .mp-overview-left .mp-section-title>h2{margin:0;font-size:12px;line-height:1.15}
 html body #view-overview .mp-overview-left .mp-section-title>.ov-icon{width:14px;height:14px}
 html body #view-overview .mp-overview-left .mp-section-title>.mp-section-meta{grid-column:1/-1;font-size:10px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-section-title>.mp-text-button{grid-column:1/-1;justify-self:end;margin:0;padding:0;font-size:10px;line-height:1.1}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual) .mp-reading{padding:2px;gap:1px}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>h3{font-size:10px;line-height:1.1}
 html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small,html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p{font-size:10px;line-height:1.1}
 html body #view-overview .mp-overview-grid .mp-water .mp-reading{padding:1px;gap:1px}
 html body #view-overview .mp-overview-left .mp-annual-note{line-height:1.1;margin-top:3px}

 html body #view-overview .mp-overview-grid .mp-current .mp-reading>b{font-size:16px}
 html body #view-overview .mp-overview-left .mp-crop-values>div{grid-template-columns:minmax(0,1fr)}
 html body #view-overview .mp-overview-left .mp-crop-values>div>span:first-child{grid-column:1;grid-row:1}
 html body #view-overview .mp-overview-left .mp-crop-values>div>.mp-badge{grid-column:1;grid-row:2;justify-self:end;width:auto;max-width:100%;padding:0 2px;font-size:9px}
 html body #view-overview .mp-overview-left .mp-crop-values>div>b{grid-column:1;grid-row:3;font-size:16px}
 html body #view-overview .mp-overview-left .mp-crop-values>div>small{grid-column:1;grid-row:4}
}

/* Extra width for three Water metrics; top pair remains equal and DOM order is unchanged. */
@media(min-width:961px) and (max-width:1100px){
 html body #view-overview .mp-overview-upper>.mp-overview-left{grid-template-columns:repeat(12,minmax(0,1fr))}
 html body #view-overview .mp-overview-left>.mp-current,html body #view-overview .mp-overview-left>.mp-annual{grid-column:span 6}
 html body #view-overview .mp-overview-left>.mp-water{grid-column:span 7}
 html body #view-overview .mp-overview-left>.mp-crop{grid-column:span 5}
}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>b{overflow-wrap:normal;word-break:normal}
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>p,html body #view-overview .mp-overview-grid :is(.mp-current,.mp-annual,.mp-water) .mp-reading>small{overflow-wrap:normal;word-break:normal}
@container(max-width:229px){
 html body #view-overview .mp-overview-left .mp-crop .mp-section-title{grid-template-columns:14px minmax(0,1fr) auto;align-items:center}
 html body #view-overview .mp-overview-left .mp-crop .mp-section-title>.mp-text-button{grid-column:3;grid-row:1}
}
html body #view-overview .mp-overview-lower-left>.mp-equipment{container-type:inline-size;container-name:mphardware}
@container mphardware (min-width:400px) and (max-width:600px){
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading{grid-template-columns:16px minmax(0,1fr);padding:4px;gap:2px 3px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc{width:16px;height:18px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc>.ov-icon{width:16px;height:16px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>b{font-size:16px;line-height:1.15;overflow-wrap:normal;word-break:normal}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>h3{font-size:11px;line-height:1.15}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>p{font-size:10px;line-height:1.15;overflow-wrap:normal;word-break:normal}
}

@container mphardware (max-width:399px){
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading{grid-template-columns:8px minmax(0,1fr);padding:1px;gap:2px 1px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc{width:8px;height:18px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-icon-disc>.ov-icon{width:8px;height:8px}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>b{font-size:16px;line-height:1.15}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>:is(#mpBattery,#mpSignal){overflow-wrap:normal;word-break:normal}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>h3{font-size:11px;line-height:1.15}
 html body #view-overview .mp-overview-lower-left .mp-equipment .mp-reading>p{font-size:10px;line-height:1.15}
}

/* Only the sub-170px Crop card: preserve every label, model badge and value. */
@container(max-width:170px){
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-stage{padding:1px;gap:3px;margin-bottom:3px}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-stage>div{font-size:13px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-stage strong{font-size:13px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-stage p{font-size:10px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-values>div{padding:1px;gap:1px;align-content:start}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-values>div>span:first-child{font-size:11px;line-height:1.1}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-values>div>b{font-size:16px;line-height:1.1;letter-spacing:-.1px;overflow-wrap:normal;word-break:normal}
 html body #view-overview .mp-overview-left .mp-crop .mp-crop-values>div>small{font-size:10px;line-height:1.1}
}


/* OVERVIEW_POLISH: explicitly requested Overview presentation; reader nodes remain. */
html body #view-overview #mpLocationsStations{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;gap:4px}
html body #view-overview #mpLocationsStations button{font-size:12px;line-height:1.15;padding:4px 6px;gap:4px}
html body #view-overview #mpLocationsStations button>b{width:20px;height:20px}
html body #view-overview #mpLocationsNote:empty{display:none}
html body #view-overview #mpCurrentTime,html body #view-overview #mpTodayTempTimes,
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-equipment) .mp-reading>[data-mp-time],
html body #view-overview .mp-overview-grid :is(.mp-current,.mp-equipment) .mp-reading>[data-mp-hardware-time],
html body #view-overview .mp-overview-left .mp-annual .mp-annual-note{display:none}
html body #view-overview .mp-overview-grid .mp-annual .mp-reading>small{color:var(--text2)}
html body #view-overview .mp-overview-grid .mp-current .mp-reading{padding-top:20px;grid-template-rows:auto auto auto auto}
html body #view-overview .mp-overview-grid .mp-current .mp-reading>.mp-badge{position:absolute;top:3px;right:3px;left:auto;bottom:auto;grid-column:auto;grid-row:auto;max-width:calc(100% - 6px);padding:0 2px;font-size:9px;line-height:1.15;margin:0}
html body #view-overview .mp-overview-grid .mp-current .mp-reading>h3{grid-row:2}
html body #view-overview .mp-overview-grid .mp-current .mp-reading>small{grid-row:3}
html body #view-overview .mp-overview-grid .mp-current .mp-reading>p{grid-row:4}
@media(min-width:961px){
 html body #view-overview .mp-overview-grid>.mp-overview-upper{align-items:stretch}
 html body #view-overview .mp-overview-upper>.mp-overview-left,html body #view-overview #mpOverviewLocations{align-self:stretch}
}

/* OVERVIEW_CALENDAR_THEME: only explicitly selected Overview neutral appearance. */

html body #view-overview {
  --tp-surface: var(--glass);
  --tp-line: #294b58;
  --tp-text: #e8f2f6;
  --tp-muted: #9fb7c2;
  --tp-green: #67cda7;
  --tp-font: Arial, Helvetica, sans-serif;
  font-family: var(--tp-font);
  color: var(--tp-text);
}
html[data-theme="day"] body #view-overview {
  --tp-line: #cbdde3;
  --tp-text: #173542;
  --tp-muted: #506e7d;
  --tp-green: #21845f;
}
html body #view-overview .ov-panel:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
}
html body #view-overview .ov-panel:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success)>h3 {
  color: var(--tp-muted);
}
html body #view-overview .mp-reading:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
}
html body #view-overview .mp-reading:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success)>h3 {
  color: var(--tp-muted);
}
html body #view-overview .mp-crop-stage:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
}
html body #view-overview .mp-crop-stage:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success)>h3 {
  color: var(--tp-muted);
}
html body #view-overview .mp-crop-values>div:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
}
html body #view-overview .mp-crop-values>div:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success)>h3 {
  color: var(--tp-muted);
}
html body #view-overview .mp-hardware-grid>div:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
}
html body #view-overview .mp-hardware-grid>div:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not([data-source]):not([data-tone]):not([role="alert"]):not(.bad):not(.warn):not(.ok):not(.high):not(.medium):not(.low):not(.mcm-amber):not(.mcm-blue):not(.mcm-green):not(.danger):not(.warning):not(.critical):not(.success)>h3 {
  color: var(--tp-muted);
}
html body #view-overview .mp-reading-detail {
  color: var(--tp-muted);
}
html body #view-overview .mp-annual-reading>small {
  color: var(--tp-muted);
}
html body #view-overview .mp-crop-notes {
  color: var(--tp-muted);
}
html body #view-overview .mp-section-title>.ov-icon {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html body #view-overview .mp-icon-disc>.ov-icon {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html body #view-overview .mp-text-button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
  color: var(--tp-text) !important;
  font-family: var(--tp-font);
}
html body #view-overview .mp-text-button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--tp-green) !important;
}
html body #view-overview .mp-text-button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):focus-visible {
  outline-color: var(--tp-green) !important;
}
html body #view-overview .mp-text-button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):is([aria-selected="true"],[aria-pressed="true"],[aria-current="page"],.active,.selected) {
  border-color: var(--tp-green) !important;
  color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStations button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
  color: var(--tp-text) !important;
  font-family: var(--tp-font);
}
html body #view-overview #mpLocationsStations button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStations button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):focus-visible {
  outline-color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStations button:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):is([aria-selected="true"],[aria-pressed="true"],[aria-current="page"],.active,.selected) {
  border-color: var(--tp-green) !important;
  color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStyle:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger) {
  background: var(--tp-surface) !important;
  border-color: var(--tp-line) !important;
  color: var(--tp-text) !important;
  font-family: var(--tp-font);
}
html body #view-overview #mpLocationsStyle:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStyle:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):focus-visible {
  outline-color: var(--tp-green) !important;
}
html body #view-overview #mpLocationsStyle:not([data-bloom-status]):not([data-kind]):not([data-mp-hardware-kind]):not([data-mp-hardware-tone]):not([data-prot-kind]):not([data-prot-status]):not([data-prot-tone]):not([data-source]):not([data-spray-tone]):not([data-state]):not([data-tone]):not([data-risk]):not([data-level]):not([data-severity]):not([data-status]):not(:disabled):not([aria-disabled="true"]):not([data-risk]):not([data-status]):not([role="alert"]):not(.lib-danger):not(.set-danger):not(.danger):is([aria-selected="true"],[aria-pressed="true"],[aria-current="page"],.active,.selected) {
  border-color: var(--tp-green) !important;
  color: var(--tp-green) !important;
}

/* Explicit neutral text specificity: preserve all equipment/provenance states. */
html body #view-overview .mp-overview-grid .mp-annual .mp-reading>small,
html body #view-overview .mp-overview-grid .mp-current .mp-reading-detail,
html body #view-overview #mpOverviewLocations label{color:var(--tp-muted)!important}
html body #view-overview .mp-overview-left .mp-reading:not([data-mp-hardware-tone]):not([data-prot-tone]):not([data-spray-tone]):not([data-source])>b:not([data-mp-hardware-tone]):not([data-prot-tone]):not([data-spray-tone]):not([data-source]),
html body #view-overview .mp-crop-values>div:not([data-mp-hardware-tone]):not([data-source])>b:not([data-mp-hardware-tone]):not([data-source]){color:var(--tp-text)!important}

/* Existing Overview quick actions: neutral paint only; native disabled paint retained. */
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"]):not([data-mp-hardware-tone]):not([data-prot-tone]):not([data-spray-tone]):not([data-source]):not([data-tone]):not([data-state]):not([data-kind]){background:var(--tp-surface)!important;border-color:var(--tp-line)!important;color:var(--tp-text)!important}
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--tp-green)!important}
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--tp-green)!important}

/* Scope-specific neutral text and decorative heading/action accents. */
html body #view-overview #mpOverviewLocations{background:var(--tp-surface)!important;border-color:var(--tp-line)!important}
html body #view-overview .mp-heading h1,
html body #view-overview .mp-section-title h2,
html body #view-overview .mp-overview-forecast>.ov-panel-title>span,
html body #view-overview #mpStage,
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"]) strong{color:var(--tp-text)!important}
html body #view-overview #mpCropName,
html body #view-overview .mp-crop-values>div>small,
html body #view-overview .mp-crop-values>div>span:first-child,
html body #view-overview .mp-water [data-mp-range],
html body #view-overview .mp-overview-forecast>.forecast-source,
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"]) small{color:var(--tp-muted)!important}
html body #view-overview .mp-heading>.ov-icon,
html body #view-overview .mp-section-title>svg,
html body #view-overview .mp-overview-forecast>.ov-panel-title>.ov-icon,
html body #view-overview .mp-quick-grid>button:not(:disabled):not([aria-disabled="true"])>.ov-icon{color:var(--tp-green)!important}

/* STATION_CONTEXT: field layout unchanged; explicit off-field composition only. */
html:not([data-panel-crops="allowed"]) body :is(#varietySel,#panelCropCategory,#groupSel,#categorySel){visibility:hidden;pointer-events:none}
html[data-panel-crops="restricted"] body #view-overview #mpCropSummary,
html[data-panel-crops="restricted"] body :is(#cropHeader,#installedCropHeaderNotes),
html[data-panel-crops="restricted"] body :is([data-mp-native="crops"],[data-mp-open="crops"]){display:none!important}
html[data-panel-context="restricted"] body #view-overview .mp-water,
html[data-panel-context="restricted"] body :is([data-mp-native="indices"],[data-mp-native="library"],[data-mp-open="indices"],[data-mp-open="library"],#quickLibrary){display:none!important}
html[data-panel-position="off-field"] body #view-overview .mp-overview-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}
html[data-panel-position="off-field"] body #view-overview .mp-overview-upper{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px}
html[data-panel-position="off-field"] body #view-overview .mp-overview-left{display:flex;flex-direction:column;gap:12px}
html[data-panel-position="off-field"] body #view-overview .mp-overview-lower-left{display:flex;flex-direction:column;gap:12px}
html[data-panel-position="off-field"] body #view-overview #mpOverviewLocations{align-self:stretch;min-height:0}
html[data-panel-position="off-field"] body #view-overview .mp-offfield-charts:not([hidden]){grid-column:1/-1;display:grid;gap:12px;min-width:0}
html[data-panel-position="off-field"] body #view-overview .mp-offfield-charts .overview-chart{height:240px}
#mpOffFieldHistory[hidden]{display:none!important}
#mpOffFieldHistory #mpWeatherHistory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#mpOffFieldHistory #mpWeatherHistory .ch-cell{min-width:0;background:var(--glass3);border-radius:var(--r-xs)}
#mpOffFieldHistory #mpWeatherHistory .agb-nc{position:relative;width:100%;height:240px;padding:6px 8px;box-sizing:border-box;display:flex;flex-direction:column}
#mpOffFieldHistory #mpWeatherHistory .agb-nc-box{position:relative;flex:1;min-height:0}
#mpOffFieldHistory #mpWeatherHistory .agb-nc-title{font-size:12px;color:var(--text2);padding:2px 4px 4px}
#mpOffFieldHistory #mpWeatherHistory .agb-nc-msg{flex:1;display:flex;align-items:center;justify-content:center;color:var(--text-dim)}
@media(max-width:600px){#mpOffFieldHistory #mpWeatherHistory{grid-template-columns:minmax(0,1fr)}}
@media(max-width:960px){html[data-panel-position="off-field"] body #view-overview :is(.mp-overview-grid,.mp-overview-upper){grid-template-columns:minmax(0,1fr)}html[data-panel-position="off-field"] body #view-overview .mp-overview-upper{grid-column:auto}}

/* STATION_WEATHER_RANGE_HOST */
#mpOffFieldHistory .mp-section-title{flex-wrap:wrap}
#mpOffFieldHistory .ch-range{max-width:100%;flex-wrap:wrap;float:none}
@media(min-width:601px){#mpOffFieldHistory #mpWeatherHistory>.ch-cell:last-child:nth-child(odd){grid-column:1/-1}}
