/* Forecast reference: one seven-day table and three aligned compact cards. */
/* Reviewed Cultivation summary only; native crop consumers stay intact. */
#mpsCropSummary .mpc-summary-readings{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mpsCropSummary .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-nav-icon-color)}
#mpsCropSummary .mpc-management{padding:12px;margin-bottom:8px}
#mpsCropSummary .mpc-management>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
#mpsCropSummary .mpc-management h2{font-size:var(--mp-font-section);line-height:1.3;margin:0 0 3px}
#mpsCropSummary .mpc-management>header p{font-size:var(--mp-font-note);margin:0;line-height:1.4}
#mpsCropSummary .mpc-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#mpsCropSummary .mpc-management-link{display:grid;grid-template-columns:var(--mp-icon-disc) minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:4px 10px;align-items:start;min-height:104px;margin:0;padding:10px;width:100%;color:inherit;text-align:left;border-color:var(--mp-border)}
#mpsCropSummary .mpc-management-link>.mp-icon-disc{grid-column:1;grid-row:1/4;width:var(--mp-icon-disc);height:var(--mp-icon-disc)}
#mpsCropSummary .mpc-management-link>strong{grid-column:2;font-size:var(--mp-font-title);line-height:1.3}
#mpsCropSummary .mpc-management-link>p{grid-column:2;font-size:var(--mp-font-note);color:var(--mp-muted);line-height:1.4;margin:0}
#mpsCropSummary .mpc-link-action{grid-column:2;justify-self:end;font-size:var(--mp-font-control);line-height:1.3;margin-top:4px}
#mpsCropSummary .mpc-management-link:hover:not(:disabled){background:#00503d;border-color:var(--mp-mint)}
#mpsCropSummary .mpc-summary-source{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted);margin:7px 2px}
body:not([data-mps-crop="summary"]):not([data-mps-crop="phenology"]):not([data-mps-crop="nutrition"]):not([data-mps-crop="protection"]) #mpcInstalledDetails{border:0;padding:0;margin:0}
body:not([data-mps-crop="summary"]):not([data-mps-crop="phenology"]):not([data-mps-crop="nutrition"]):not([data-mps-crop="protection"]) #mpcInstalledDetails>summary{display:none}
html[data-theme="day"] #mpsCropSummary .mpc-summary-card>p,html[data-theme="day"] #mpsCropSummary .mpc-summary-card>footer,html[data-theme="day"] #mpsCropSummary .mpc-management-link>p,html[data-theme="day"] #mpsCropSummary .mpc-summary-source{color:#486d5a}
html[data-theme="day"] #mpsCropSummary .mpc-management-link{color:#183d2d;border-color:#abcfc0}
html[data-theme="day"] #mpsCropSummary .mpc-management-link:hover:not(:disabled){background:#cdebdc;border-color:#369575}

@media(max-width:760px){#mpsCropSummary .mpc-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#mpsCropSummary .mpc-management-link{min-height:120px}}
@media(max-width:480px){#mpsCropSummary .mpc-summary-readings,#mpsCropSummary .mpc-management-grid{grid-template-columns:1fr}#mpsCropSummary .mpc-management-link{min-height:96px}}
.mpf-spray-period{grid-column:1/-1;grid-row:6;display:flex;border:1px solid var(--mp-border);border-radius:6px;overflow:hidden;margin-top:5px}
.mpf-spray-period button{flex:1;border:0;padding:5px 8px;background:transparent;color:inherit;font:inherit;font-size:var(--mp-font-control);cursor:pointer;min-height:30px}
.mpf-spray-period button[aria-pressed="true"]{background:#00523d;color:var(--mp-mint);font-weight:650}
.mpf-spray-period button:disabled{opacity:.5;cursor:not-allowed}
#view-forecast .mpf-spray-state{grid-column:2;grid-row:5;font-size:var(--mp-font-note);line-height:1.3;margin-top:2px}
[data-spray-tone="ideal"]{color:#55e3a5}[data-spray-tone="marginal"]{color:#ffd074}[data-spray-tone="bad"]{color:#ffaaa5}[data-spray-tone="unknown"]{color:var(--mp-muted)}
#view-forecast #mpSprayValue{font-size:var(--mp-font-value)}
#view-forecast .mpf-summary .mpf-card{grid-template-rows:auto minmax(38px,auto) minmax(35px,auto) auto}
#view-forecast .mpf-spray-details{margin:10px 0 0;padding:12px}
#view-forecast .mpf-spray-details h2{font-size:var(--mp-font-section);line-height:1.3;margin:0 0 6px}
#view-forecast .mpf-spray-details p{font-size:var(--mp-font-note);line-height:1.4;white-space:normal}
.mpf-spray-day{border:1px solid var(--mp-border);border-radius:7px;padding:9px;margin:8px 0}
.mpf-spray-day header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:var(--mp-font-note);margin-bottom:7px}
.mpf-spray-strip{display:flex;gap:3px;min-width:0}
.mpf-spray-hour{flex:1;min-width:2px;height:16px;border-radius:2px;background:#4b6661}
.mpf-spray-hour[data-spray-tone="ideal"]{background:#10a875}.mpf-spray-hour[data-spray-tone="marginal"]{background:#d99418}.mpf-spray-hour[data-spray-tone="bad"]{background:#d75757}.mpf-spray-hour[data-spray-tone="unknown"]{background:repeating-linear-gradient(45deg,#4c6862,#4c6862 3px,#6f8882 3px,#6f8882 5px)}
.mpf-spray-time{display:flex;justify-content:space-between;font-size:11px;color:var(--mp-muted);margin-top:4px}
.mpf-spray-details details>summary{font-size:var(--mp-font-control);cursor:pointer;margin:8px 0;color:var(--mp-mint)}
#view-forecast .mpf-spray-details .mps-table{font-size:12px;margin-top:8px}
#view-forecast .mpf-spray-details .mps-table th,#view-forecast .mpf-spray-details .mps-table td{padding:6px 8px}
.mpf-spray-period button:focus-visible,#mpSprayToggle:focus-visible{outline:2px solid var(--mp-blue);outline-offset:-2px}
html[data-theme="day"] .mpf-spray-period button[aria-pressed="true"]{background:#dff3e9;color:#006e51}
html[data-theme="day"] [data-spray-tone="ideal"]{color:#006d46}html[data-theme="day"] [data-spray-tone="marginal"]{color:#845200}html[data-theme="day"] [data-spray-tone="bad"]{color:#a22c25}
#view-forecast{font-family:var(--mp-font-family);font-size:var(--mp-font-body);min-width:0}
#view-forecast .mpf-heading{gap:12px;margin:0 0 12px;align-items:center;flex-wrap:wrap}
#view-forecast .mpf-heading>.ov-icon{width:var(--mp-icon-heading);height:var(--mp-icon-heading);flex:none}
#view-forecast .mpf-heading>div{flex:1;min-width:0}
#view-forecast .mpf-heading h1{font-size:var(--mp-font-page);line-height:1.2;margin:0 0 5px}
#view-forecast .mpf-heading p{font-size:var(--mp-font-note);line-height:1.4;overflow-wrap:anywhere}
#view-forecast .mpf-source{display:flex;gap:8px;align-items:center;border:1px solid var(--mp-border);border-radius:7px;padding:7px 9px;font-size:var(--mp-font-note);white-space:nowrap}
#view-forecast .mpf-source .mp-badge{font-size:var(--mp-font-badge)}
#view-forecast .mpf-week{padding:12px;margin:0 0 10px}
#view-forecast .mpf-week-heading{display:flex;justify-content:flex-start;gap:12px;align-items:center;margin:0 0 9px}
#view-forecast .mpf-week-heading>.ov-icon{width:var(--mp-icon-heading);height:var(--mp-icon-heading);flex:none;color:var(--mp-nav-icon-color)}
#view-forecast .mpf-week-heading h2{margin:0;font-size:var(--mp-font-section);line-height:1.3}
#view-forecast .mpf-week-heading button{font-size:var(--mp-font-control);padding:5px 8px;margin:0;min-height:30px}
#mpsForecastStatus{font-size:var(--mp-font-note);line-height:1.4}#mpsForecastStatus:empty{display:none}
#view-forecast .mpf-table{font-size:var(--mp-font-body);table-layout:fixed}
#view-forecast .mpf-table th,#view-forecast .mpf-table td{padding:9px 11px;line-height:1.35;text-align:center;white-space:normal}
#view-forecast .mpf-table th:first-child,#view-forecast .mpf-table td:first-child{text-align:left;width:19%}
#view-forecast .mpf-table th:nth-child(2){width:25%}
#view-forecast .mpf-table td:nth-child(2){font-weight:650}
#view-forecast .mpf-note{font-size:var(--mp-font-note);line-height:1.4;margin:9px 0 0}
#view-forecast .mpf-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
#view-forecast .mpf-card{display:grid;grid-template-columns:var(--mp-icon-disc) minmax(0,1fr);grid-template-rows:auto minmax(20px,auto) 35px auto;gap:3px 9px;align-content:start;min-height:125px;padding:10px;margin:0}
#view-forecast .mpf-card>.mp-icon-disc{position:static;grid-column:1;grid-row:2/4;width:var(--mp-icon-disc);height:var(--mp-icon-disc);align-self:center}
#view-forecast .mpf-card .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card)}
#view-forecast .mpf-card>.mp-badge{position:static;grid-column:2;grid-row:1;justify-self:end;font-size:var(--mp-font-badge);padding:1px 6px;line-height:1.3}
#view-forecast .mpf-card>h3{grid-column:2;grid-row:2;margin:0;font-size:var(--mp-font-title);line-height:1.3}
#view-forecast .mpf-card>b{grid-column:2;grid-row:3;font-size:var(--mp-font-value);line-height:1.15;align-self:center;letter-spacing:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#view-forecast .mpf-card>p{grid-column:2;grid-row:4;margin:1px 0 0;font-size:var(--mp-font-note);line-height:1.35;overflow-wrap:anywhere}
#view-forecast .mpf-sun>.mp-icon-disc{color:#ffc64a}#view-forecast .mpf-spray>.mp-icon-disc{color:var(--mp-mint)}
#view-forecast .mpf-spray>.mp-badge{color:var(--mp-muted);border-color:var(--mp-border)}
html[data-theme="day"] #view-forecast .mpf-sun>.mp-icon-disc{color:#946000}
@media(min-width:1100px) and (max-height:800px){#view-forecast .mpf-heading{margin-bottom:9px}#view-forecast .mpf-week{padding:10px}#view-forecast .mpf-table th,#view-forecast .mpf-table td{padding-top:7px;padding-bottom:7px}#view-forecast .mpf-card{min-height:118px}}
@media(max-width:1000px){#view-forecast .mpf-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#view-forecast .mpf-spray{grid-column:1/-1}}
@media(max-width:760px){#view-forecast .mpf-heading{gap:9px}#view-forecast .mpf-heading h1{font-size:23px}#view-forecast .mpf-source{margin-left:33px}#view-forecast .mpf-week-heading{align-items:start;flex-wrap:wrap}#view-forecast .mpf-week-heading h2{font-size:18px}#view-forecast .mpf-table{min-width:480px}#view-forecast .mpf-table th,#view-forecast .mpf-table td{padding:8px;font-size:13px}#view-forecast .mpf-summary{grid-template-columns:1fr}#view-forecast .mpf-spray{grid-column:auto}}
/* Remaining reference sections. Native settings and protected history are unchanged. */
.mps-view,.mp-forecast-view,#view-crops,#view-reports{min-width:0}
.mps-heading{gap:18px;margin-bottom:16px}.mps-heading h1{font-size:clamp(26px,2.9vw,42px)}.mps-heading p{font-size:16px}.mps-heading .mps-action{margin-left:auto}
.mps-panel,.mps-card{border:1px solid var(--mp-border);border-radius:9px;background:linear-gradient(115deg,#00382bcc,#00291fee);padding:16px;min-width:0;margin-bottom:12px}
.mps-panel>h2{font-size:20px;line-height:1.3;margin:0 0 14px}.mps-panel p,.mps-card p{color:var(--mp-muted);font-size:12px;line-height:1.55}.mps-panel .mps-panel{margin-bottom:0}
.mps-grid{display:grid;gap:12px;margin-bottom:12px;align-items:stretch}.mps-grid>.mps-panel,.mps-grid>.mps-card{margin-bottom:0}.mps-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mps-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.mps-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.mps-card{position:relative;min-height:142px;padding:20px 12px 14px 86px}.mps-card .mp-icon-disc{position:absolute;left:12px;top:20px;width:61px;height:61px}.mps-card .mp-icon-disc .ov-icon{width:38px;height:38px}.mps-card>h3{margin:22px 0 7px;font-size:15px}.mps-card>b{display:block;font-size:clamp(23px,2.5vw,36px);line-height:1.2;overflow-wrap:anywhere}.mps-card .mp-badge{position:absolute;right:10px;top:10px;font-size:9px}.mps-card p{margin:6px 0 0}.mps-card b[data-mps-value="stage"]{font-size:22px}
.mps-tabs,.mps-crop-nav{display:flex;gap:0;border:1px solid var(--mp-border);border-radius:7px;margin:0 0 16px;overflow-x:auto}.mps-tabs>button,.mps-crop-nav>button{flex:1;white-space:nowrap;border:0;border-bottom:3px solid transparent;color:inherit;background:transparent;padding:13px 22px;font:inherit;cursor:pointer}.mps-tabs>button[aria-selected="true"],.mps-crop-nav>button[aria-selected="true"]{color:var(--mp-mint);background:#004b37;border-bottom-color:var(--mp-mint);font-weight:700}
.mps-action,.mps-disabled{font:inherit;font-size:13px;border:1px solid var(--mp-mint);background:#003c2d;color:var(--mp-mint);border-radius:6px;padding:11px 15px;line-height:1.4;cursor:pointer;text-align:left;margin:5px 5px 5px 0;max-width:100%}.mps-disabled{opacity:.5;background:#092e24;color:#86a699;border-color:#47695a;cursor:not-allowed}.mps-action:focus-visible,.mps-tabs>button:focus-visible,.mps-crop-nav>button:focus-visible{outline:2px solid var(--mp-blue);outline-offset:2px}.mps-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:290px;text-align:center}.mps-empty>.ov-icon{width:70px;height:70px;color:var(--mp-muted)}
.mps-period{color:var(--mp-muted);font-size:12px;line-height:1.5}.mps-details{margin:0}.mps-details>div{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;border-bottom:1px solid var(--mp-border);padding:12px 4px}.mps-details dt{color:var(--mp-muted)}.mps-details dd{margin:0;font-weight:650}.mps-table-wrap{overflow-x:auto}.mps-table{width:100%;border-collapse:collapse;font-size:15px}.mps-table th,.mps-table td{padding:14px 18px;text-align:left;border:1px solid var(--mp-border)}.mps-table th{color:#b9e4e8;background:#00392e}.mps-table td{font-variant-numeric:tabular-nums}.mps-table tr:nth-child(even){background:#00443444}.mps-legacy-forecast{display:none!important}
body.mps-crops-active #cropHeader{display:none!important}#view-crops .mps-crop-photo{width:75px;height:75px;object-fit:cover;order:-1;border-radius:8px;border:1px solid var(--mp-border)}#view-crops .mps-heading>.ov-icon{display:none}
#view-crops .ov-panel,#view-crops .cv-card,#view-crops .cal-month,#view-crops .cd-export,#view-crops .cd-science,#view-reports .rep-panel{background:#00372a;border-color:var(--mp-border);border-radius:8px;box-shadow:none}#view-crops .ov-panel-title{font-size:18px}#view-crops .ov-main{gap:12px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}#view-crops .cv-grid{gap:12px}#view-crops .cv-heading{display:none}.mps-native-details{border:1px solid var(--mp-border);border-radius:8px;padding:12px;margin:12px 0}.mps-native-details>summary{cursor:pointer;color:var(--mp-muted);font-size:13px}
#view-crops .stage-track{gap:10px;overflow-x:auto}#view-crops .stage-track .stage{min-width:110px;border-radius:8px;border-color:var(--mp-border)}#view-crops .stage .ic{font-size:30px}#view-crops .stage.now{border-color:var(--mp-mint);background:#00523c}#view-crops .fz-tbl td,#view-crops .fz-tbl th,#view-crops .tbl td,#view-crops .tbl th{padding:10px;border-color:var(--mp-border)}#view-crops .cal-intro,#view-crops .cal-stats{display:none}#view-crops .cal-months{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#view-crops .cal-month{padding:12px}#view-crops .cal-month-head h3{font-size:16px}#view-crops .cal-month-symbol{width:40px;height:40px}#view-crops .cal-month[data-current="true"]{border-color:var(--mp-mint)}#view-crops .cal-heading h1{font-size:23px}#view-crops .cal-heading{margin-bottom:10px}#view-crops .cd-science-grid{gap:10px}
body[data-mps-crop="irrigation"] #crop-phen .overview-row{display:none}
#view-reports> .rep-header,#mps-data-reports>.rep-heading{display:none}#view-reports .rep-types{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#view-reports .rep-type{min-height:100px;padding:12px;background:#00382b;border-color:var(--mp-border)}#view-reports .rep-type h2{font-size:15px}#view-reports .rep-type p{font-size:11px}#view-reports .rep-form{gap:12px}#view-reports select,#view-reports input{border-color:var(--mp-border)}
@media(min-width:1100px){body.mps-section-active .app-top{height:72px;padding:8px 15px}body.mps-section-active .page{padding-top:86px}.mps-heading{margin-bottom:12px}.mps-heading>.ov-icon{width:46px;height:48px}.mps-heading h1{font-size:33px}.mps-panel{padding:13px}.mps-card{min-height:132px}.mps-table th,.mps-table td{padding:12px 15px}}
@media(max-width:1150px){.mps-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.mps-card{padding-left:78px}#view-crops .cal-months{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.mps-grid.two,.mps-grid.three{grid-template-columns:1fr}.mps-grid{gap:9px}.mps-panel{padding:12px}.mps-heading p{font-size:12px}.mps-card{padding:62px 10px 13px;min-height:145px}.mps-card .mp-icon-disc{width:42px;height:42px;top:10px;left:10px}.mps-card .mp-icon-disc .ov-icon{width:28px;height:28px}.mps-card>h3{font-size:13px;margin-top:6px}.mps-card>b{font-size:26px}.mps-card .mp-badge{font-size:8px;max-width:90px}.mps-heading .mps-action{font-size:11px;padding:8px}.mps-tabs>button,.mps-crop-nav>button{font-size:12px;padding:11px 15px}.mps-table{font-size:12px}.mps-table th,.mps-table td{padding:10px;white-space:nowrap}#view-crops .cal-months{grid-template-columns:1fr 1fr}#view-crops .ov-main{grid-template-columns:1fr}#view-reports .rep-types{grid-template-columns:1fr 1fr}.mps-details{font-size:12px}}
html[data-theme="day"] .mps-panel,html[data-theme="day"] .mps-card,html[data-theme="day"] #view-crops .ov-panel,html[data-theme="day"] #view-crops .cv-card,html[data-theme="day"] #view-crops .cal-month,html[data-theme="day"] #view-reports .rep-type{background:#f5fbf7;color:#183d2d;border-color:#abcfc0}html[data-theme="day"] .mps-panel p,html[data-theme="day"] .mps-card p,html[data-theme="day"] .mps-period,html[data-theme="day"] .mps-details dt{color:#486d5a}html[data-theme="day"] .mps-tabs>button[aria-selected="true"],html[data-theme="day"] .mps-crop-nav>button[aria-selected="true"],html[data-theme="day"] .mps-action{background:#dff3e9;color:#006e51}html[data-theme="day"] .mps-disabled{background:#e7eee9;color:#667f70}html[data-theme="day"] .mps-table th{background:#dcefe4;color:#244a35}html[data-theme="day"] .mps-table tr:nth-child(even){background:#e9f5ee}
.mps-card[data-mp-hardware-tone="warning"]{border-color:#e9b164;color:#ffe0a3}.mps-card[data-mp-hardware-tone="critical"]{border-color:#e98b8b;color:#ffc6c6}.mps-card[data-mp-hardware-tone="unknown"]>p{color:var(--mp-muted)}
html[data-theme="day"] .mps-card[data-mp-hardware-tone="warning"]{border-color:#c28d3a;color:#855210}html[data-theme="day"] .mps-card[data-mp-hardware-tone="critical"]{border-color:#ca7373;color:#9a3131}
#mpsOpenMeteoForm input,#mpsOpenMeteoForm select{width:100%;box-sizing:border-box;color:inherit;background:#003d2e;border:1px solid var(--mp-border);border-radius:6px;padding:11px;font:inherit}#mpsOpenMeteoForm label{display:flex;flex-direction:column;gap:7px;font-size:13px}#mpsOpenMeteoForm button:disabled{opacity:.45;cursor:not-allowed}#mpsOpenMeteoConfirmation{max-width:340px}html[data-theme="day"] #mpsOpenMeteoForm input,html[data-theme="day"] #mpsOpenMeteoForm select{background:#f5fbf7;color:#183d2d}
/* Reviewed Phenology: compact shared metrics, native cultivar stages and parameters. */
#mpcPhenology .mpc-phen-readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.8fr);align-items:stretch;gap:10px;margin-bottom:12px}
#mpcPhenology .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-nav-icon-color);flex-shrink:0}
#mpcPhenology .mpc-phen-timeline{padding:12px;margin-bottom:12px}
#mpcPhenology .ov-panel-title{display:flex;align-items:center;gap:8px;font-size:var(--mp-font-section);margin-bottom:10px;flex-wrap:wrap}
#mpcPhenology .stage-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;overflow:visible}
#mpcPhenology .stage{min-width:0;flex:none;padding:10px 7px;border:1px solid var(--mp-border);border-radius:8px;text-align:center}
#mpcPhenology .stage .ic{font-size:var(--mp-icon-card);width:var(--mp-icon-disc);height:var(--mp-icon-disc);display:grid;place-items:center;margin:0 auto 6px;border-radius:50%;background:#007b7222;color:var(--mp-nav-icon-color)}
#mpcPhenology .stage>b{font-size:var(--mp-font-title);line-height:1.3;display:block;overflow-wrap:anywhere}
#mpcPhenology .stage>span{font-size:var(--mp-font-note);line-height:1.4;display:block;overflow-wrap:anywhere}
#mpcPhenology .mpc-phen-parameters{padding:12px;margin:0;min-width:0}
#mpcPhenology header{display:flex;gap:9px;align-items:center;margin-bottom:10px}
#mpcPhenology header h2{font-size:var(--mp-font-section);line-height:1.3;margin:0}
#mpcPhenology header p{font-size:var(--mp-font-note);line-height:1.4;margin:3px 0 0}
#mpcPhenology .mpc-phen-parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#mpcPhenology .mpc-phen-parameter-grid>article{display:grid;grid-template-columns:var(--mp-icon-card) minmax(0,1fr);gap:6px;padding:10px;border:1px solid var(--mp-border);border-radius:7px}
#mpcPhenology .mpc-phen-parameter-grid span{font-size:var(--mp-font-note);line-height:1.4}
#mpcPhenology .mpc-phen-parameter-grid b{grid-column:1/-1;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
#mpcPhenology .mpc-phen-source,#mpcPhenology #mpcPhenologyStatus,#mpcPhenology #mpcPhenologyMethod{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted);margin:8px 0 0}
#mpcPhenology #mpcPhenologyStatus:empty{display:none}
html[data-theme="day"] #mpcPhenology .stage{background:#f5fbf7;color:#183d2d;border-color:#abcfc0}
html[data-theme="day"] #mpcPhenology .stage.now{background:#dff3e9;border-color:#369575}
html[data-theme="day"] #mpcPhenology .mpc-phen-card>p,html[data-theme="day"] #mpcPhenology .mpc-phen-card>footer,html[data-theme="day"] #mpcPhenology .mpc-phen-source,html[data-theme="day"] #mpcPhenology #mpcPhenologyStatus,html[data-theme="day"] #mpcPhenology #mpcPhenologyMethod{color:#486d5a}
@media(max-width:760px){#mpcPhenology .mpc-phen-parameter-grid{grid-template-columns:1fr}#mpcPhenology .stage-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
#mpcPhenology .stage-track .stage{min-width:0;background:#00372a;color:inherit}
#mpcPhenology .stage>b{color:inherit}#mpcPhenology .stage>span{color:var(--mp-muted)}
#mpcPhenology .stage-track .stage.now{background:#00523c;border-color:var(--mp-mint)}
#mpcPhenology .stage.now>b{color:var(--mp-mint)}
html[data-theme="day"] #mpcPhenology .stage-track .stage{background:#f5fbf7;color:#183d2d}
html[data-theme="day"] #mpcPhenology .stage-track .stage.now{background:#dff3e9;border-color:#369575}
html[data-theme="day"] #mpcPhenology .stage>span{color:#486d5a}html[data-theme="day"] #mpcPhenology .stage.now>b{color:#006e51}

/* Shared crop heading/tabs and Summary/Phenology card geometry. */
#view-crops>.mps-heading{margin-bottom:10px;gap:12px}
#view-crops>.mps-heading h1{font-size:var(--mp-font-page);line-height:1.2}
#view-crops .mps-crop-photo{width:64px;height:64px}
#view-crops>.mps-crop-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible;margin-bottom:12px}
#view-crops>.mps-crop-nav>button{box-sizing:border-box;min-width:0;min-height:40px;padding:9px 10px;font-family:var(--panel-font);font-size:13px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere;display:flex;align-items:center;justify-content:center}
#view-crops .mpc-reading-card{display:grid;grid-template-columns:var(--mp-icon-disc) minmax(0,1fr);grid-template-rows:minmax(20px,auto) minmax(28px,auto) minmax(38px,auto) auto;gap:5px 9px;padding:12px;min-height:160px;margin:0;align-content:start;text-align:left}
#view-crops .mpc-reading-card>.mp-icon-disc{position:static;grid-column:1;grid-row:1/3;width:var(--mp-icon-disc);height:var(--mp-icon-disc);align-self:start}
#view-crops .mpc-reading-card .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-nav-icon-color)}
#view-crops .mpc-reading-card>.mp-badge{position:static;grid-column:2;grid-row:1;justify-self:end;font-size:var(--mp-font-badge);margin:0;max-width:100%}
#view-crops .mpc-reading-card>h3{grid-column:2;grid-row:2;margin:0;font-size:var(--mp-font-title);line-height:1.3}
#view-crops .mpc-reading-card>b{grid-column:1/-1;grid-row:3;font-size:var(--mp-font-value);line-height:1.2;overflow-wrap:anywhere;align-self:center}
#view-crops .mpc-reading-card>p{grid-column:1/-1;grid-row:4;font-size:var(--mp-font-note);line-height:1.4;margin:0;color:var(--mp-muted)}
#view-crops .mpc-reading-card>footer{grid-column:1/-1;grid-row:5;line-height:1.4;font-size:var(--mp-font-note);color:var(--mp-muted);border-top:1px solid var(--mp-border);padding-top:7px;margin-top:3px;overflow-wrap:anywhere}
/* Reference development line, using only the original cultivar stage content. */
#mpcPhenology .stage-track{display:flex;gap:0;overflow-x:auto;padding:5px 0 3px}
#mpcPhenology .stage-track .stage{position:relative;flex:1 0 100px;min-width:0;padding:0 6px 4px;border:0;border-radius:0;background:transparent;color:inherit}
#mpcPhenology .stage-track .stage::before{content:"";position:absolute;top:calc(var(--mp-icon-disc) / 2);left:calc(-50% + var(--mp-icon-disc) / 2);right:calc(50% + var(--mp-icon-disc) / 2);border-top:2px solid var(--mp-border);pointer-events:none}
#mpcPhenology .stage-track .stage:first-child::before{display:none}
#mpcPhenology .stage-track .stage>.ic{position:relative;box-sizing:border-box;flex-shrink:0;z-index:1;background:#00372a;border:1px solid var(--mp-border);margin:0 auto 8px;box-shadow:none}
#mpcPhenology .stage-track .stage.now{background:transparent;border:0}
#mpcPhenology .stage-track .stage.now>.ic{border:2px solid var(--mp-mint);box-shadow:0 0 0 3px #12ae871c}
#mpcPhenology .stage-track .stage.done::before{border-top-color:var(--mp-mint)}
html[data-theme="day"] #mpcPhenology .stage-track .stage,html[data-theme="day"] #mpcPhenology .stage-track .stage.now{background:transparent}
html[data-theme="day"] #mpcPhenology .stage-track .stage>.ic{background:#f5fbf7;border-color:#abcfc0}
html[data-theme="day"] #mpcPhenology .stage-track .stage.now>.ic{border-color:#369575;background:#dff3e9}
@media(max-width:1100px){#mpsCropSummary .mpc-summary-readings,#mpcPhenology .mpc-phen-readings{grid-template-columns:repeat(2,minmax(0,1fr))}#view-crops .mpc-reading-card{min-height:145px}}
@media(max-width:760px){#view-crops>.mps-heading h1{font-size:23px}#view-crops>.mps-crop-nav{grid-template-columns:repeat(3,minmax(0,1fr))}#view-crops>.mps-crop-nav>button{font-size:13px;padding:9px 10px}#mpcPhenology .stage-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#mpcPhenology .stage-track .stage::before{display:none}}
@media(max-width:480px){#view-crops>.mps-crop-nav{grid-template-columns:repeat(2,minmax(0,1fr))}#mpsCropSummary .mpc-summary-readings,#mpcPhenology .mpc-phen-readings{grid-template-columns:1fr}}

/* Visible Phenology station/water workspace: no disclosure or clipped values. */
.mpc-station-water{min-width:0;margin:8px 0}
.mpc-station-water-heading h2{font-size:var(--mp-font-title);line-height:1.3;margin:0 0 8px;color:var(--mp-muted)}
body[data-mps-crop="phenology"] #view-crops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;grid-template-areas:"heading heading heading" "nav nav nav" "readings readings readings" "stages stages stages" "weather weather weather" "source source source"}
body[data-mps-crop="phenology"] #view-crops>.mps-heading{grid-area:heading;margin:0}
body[data-mps-crop="phenology"] #view-crops>.mps-crop-nav{grid-area:nav;margin:0}
body[data-mps-crop="phenology"] #mpcPhenology,body[data-mps-crop="phenology"] #mpcLegacyPhenDetails,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen>.ov-main,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .ov-stack,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .overview-row{display:contents}
body[data-mps-crop="phenology"] .mpc-phen-readings{grid-area:readings;margin:0!important}
body[data-mps-crop="phenology"] .mpc-phen-timeline{grid-area:stages;margin:0!important}
body[data-mps-crop="phenology"] .mpc-phen-parameters{margin:0!important}
body[data-mps-crop="phenology"] .mpc-phen-parameters>header{margin-bottom:6px}
body[data-mps-crop="phenology"] .mpc-phen-parameter-grid{grid-template-columns:1fr;gap:5px}
body[data-mps-crop="phenology"] .mpc-phen-parameter-grid>article{grid-template-columns:var(--mp-icon-card) minmax(0,1fr) auto;align-items:center;padding:6px 9px}
body[data-mps-crop="phenology"] .mpc-phen-parameter-grid b{grid-column:3;font-size:16px;text-align:right}
body[data-mps-crop="phenology"] .mpc-station-water-heading{grid-area:detailheading}
body[data-mps-crop="phenology"] .mpc-station-water-heading h2{margin:0}
body[data-mps-crop="phenology"] .mpc-native-station{grid-area:station}
body[data-mps-crop="phenology"] .mpc-native-micro{grid-area:micro}
body[data-mps-crop="phenology"] .mpc-native-schedule{grid-area:schedule}
body[data-mps-crop="phenology"] .mpc-native-water{grid-area:water}
body[data-mps-crop="phenology"] .mpc-native-demand{grid-area:demand}
body[data-mps-crop="phenology"] .mpc-native-advice{grid-area:advice}
body[data-mps-crop="phenology"] .mpc-phen-source{grid-area:source;margin:0!important}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .ov-panel{padding:9px;margin:0;min-width:0}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .ov-panel-title{font-size:var(--mp-font-title);line-height:1.3;margin-bottom:7px;display:flex;gap:5px;align-items:center;flex-wrap:wrap}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .overview-chart{height:115px}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .note,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .panel-sub,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .meta,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .legend,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .ph-foot{font-size:var(--mp-font-note);line-height:1.35}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .micro-six{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .micro-six .cell{padding:6px;min-width:0}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .micro-six .cell b{font-size:15px;white-space:normal}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .micro-six .cell span,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi span,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi small{font-size:var(--mp-font-note);line-height:1.3}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .water-grid .kpi{padding:6px;min-width:0}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .water-grid strong{font-size:21px;overflow-wrap:anywhere}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .tbl td,body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .tbl th{padding:5px 4px;font-size:var(--mp-font-note);white-space:normal;line-height:1.3}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .tbl{width:100%;table-layout:fixed}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .tbl td{overflow-wrap:anywhere}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #recList{display:grid;gap:6px;max-height:none;overflow:visible}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #recList .alert{padding:6px;min-width:0}
body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #recList .alert b{font-size:var(--mp-font-note);line-height:1.3}
body[data-mps-crop="phenology"] #mpcInstalledDetails{grid-column:1/-1;border:0;padding:0;margin:0}
body[data-mps-crop="phenology"] #mpcInstalledDetails>summary{display:none}
body.mpc-installed[data-mps-crop="phenology"] #view-crops{grid-template-areas:"heading heading heading" "nav nav nav" "readings readings readings" "stages stages stages" "weather weather weather" "models models models" "source source source"}
html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .ov-panel-title{color:#183d2d}
html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .cell,html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi{background:#edf7f1;color:#183d2d;border-color:#abcfc0}
html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .cell b,html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi strong{color:#183d2d}
html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .note,html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .cell span,html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi span,html[data-theme="day"] body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .kpi small{color:#486d5a}
@media(min-width:1101px) and (max-height:900px){#view-crops .mpc-reading-card{min-height:120px;padding:9px;gap:3px 8px;grid-template-rows:16px minmax(20px,auto) minmax(32px,auto) auto}#view-crops .mpc-reading-card>footer{padding-top:4px;margin-top:1px}body[data-mps-crop="phenology"] #mpcPhenology .mpc-phen-timeline{padding:8px}body[data-mps-crop="phenology"] #mpcPhenology .ov-panel-title{font-size:var(--mp-font-title);margin-bottom:6px}body[data-mps-crop="phenology"] #mpcPhenology .stage-track{padding:2px 0}body[data-mps-crop="phenology"] #mpcPhenology .stage-track .stage{padding-bottom:0}body[data-mps-crop="phenology"] #mpcPhenology .stage>b{font-size:13px}body[data-mps-crop="phenology"] #mpcPhenology .mpc-phen-parameters{padding:8px}body[data-mps-crop="phenology"] #mpcPhenology .mpc-phen-parameters h2{font-size:var(--mp-font-title)}body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .overview-chart{height:95px}}
@media(max-width:1100px){body[data-mps-crop="phenology"] #view-crops{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"heading heading" "nav nav" "readings readings" "stages stages" "weather weather" "source source"}body.mpc-installed[data-mps-crop="phenology"] #view-crops{grid-template-areas:"heading heading" "nav nav" "readings readings" "stages stages" "weather weather" "models models" "source source"}body[data-mps-crop="phenology"] .mpc-phen-parameter-grid{grid-template-columns:1fr}body:is([data-mps-crop="phenology"],[data-mps-crop="irrigation"]) #crop-phen .overview-chart{height:160px}}
@media(max-width:760px){body[data-mps-crop="phenology"] #view-crops{grid-template-columns:1fr;grid-template-areas:"heading" "nav" "readings" "stages" "weather" "source"}body.mpc-installed[data-mps-crop="phenology"] #view-crops{grid-template-areas:"heading" "nav" "readings" "stages" "weather" "models" "source"}body[data-mps-crop="phenology"] #mpcPhenology .stage-track{gap:10px}}

body.mpc-installed[data-mps-crop="phenology"] #mpcInstalledDetails{grid-area:models}

/* Reviewed Irrigation: reference composition with existing scoped data. */
#mpcIrrigation[hidden],#mpcIrrNativeDetails[hidden],#mpcLegacyPhenDetails[hidden]{display:none!important}
#mpcIrrigation .mpc-irrigation-readings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,2fr);align-items:stretch;gap:10px;margin-bottom:10px}
#mpcIrrigation .mpc-irrigation-middle{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);align-items:stretch;gap:10px;margin-bottom:10px}
#mpcIrrigation .mps-panel{padding:12px;min-width:0;margin:0}
#mpcIrrigation .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-nav-icon-color);flex-shrink:0}
#mpcIrrigation header{display:flex;align-items:center;gap:9px;margin-bottom:9px}
#mpcIrrigation h2{font-size:var(--mp-font-section);line-height:1.3;margin:0}
#mpcIrrigation header p,#mpcIrrigation .mpc-irrigation-note,#mpcIrrigation .mpc-irrigation-data-grid p{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted);margin:5px 0 0;overflow-wrap:anywhere}
#mpcIrrigation .mpc-irrigation-equation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;padding:16px 0}
#mpcIrrigation .mpc-irrigation-equation>div{min-width:0;text-align:center}
#mpcIrrigation .mpc-irrigation-equation span{font-size:var(--mp-font-note);line-height:1.4}
#mpcIrrigation .mpc-irrigation-equation b{font-size:var(--mp-font-value);line-height:1.3;display:block;overflow-wrap:anywhere;margin-top:7px}
#mpcIrrigation .mpc-irrigation-readings .mpc-irrigation-balance h2{font-size:var(--mp-font-title)}
#mpcIrrigation .mpc-irrigation-readings .mpc-irrigation-equation{padding:8px 0;gap:4px}
#mpcIrrigation .mpc-irrigation-readings .mpc-irrigation-equation b{font-size:21px}
#mpcIrrigation .mpc-irrigation-result{border:1px solid var(--mp-mint);border-radius:7px;padding:8px;color:var(--mp-mint)}
#mpcIrrigation .mpc-irrigation-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mpcIrrigation .mpc-irrigation-data-grid>article{min-width:0;border:1px solid var(--mp-border);border-radius:7px;padding:9px}
#mpcIrrigation .mpc-irrigation-data-grid h3{font-size:var(--mp-font-title);line-height:1.3;margin:5px 0}
#mpcIrrigation .mpc-irrigation-data>.mps-action{width:100%;margin-top:8px}
#mpcIrrSoil>div{display:grid;grid-template-columns:1fr auto;gap:3px;margin:6px 0;font-size:var(--mp-font-note)}
#mpcIrrSoil time{grid-column:1/-1;color:var(--mp-muted);overflow-wrap:anywhere}
#mpcIrrigation .mpc-irrigation-forecast .mp-badge{position:static;margin-left:auto;font-size:var(--mp-font-badge)}
#mpcIrrigation .mps-table-wrap{margin-top:8px;overflow-x:auto}
#mpcIrrForecast{width:100%;min-width:650px;table-layout:fixed}
#mpcIrrForecast th:first-child{width:125px;text-align:left}
#mpcIrrForecast td,#mpcIrrForecast th{padding:8px 5px;text-align:center;font-size:var(--mp-font-note);white-space:normal;overflow-wrap:anywhere}
#mpcIrrigation>.mpc-irrigation-note{margin:8px 0}
body[data-mps-crop="irrigation"] #mpcIrrNativeDetails{margin-top:10px}
html[data-theme="day"] #mpcIrrigation .mpc-irrigation-result{color:#006e51;border-color:#369575;background:#edf7f1}
html[data-theme="day"] #mpcIrrigation .mpc-irrigation-data-grid>article{background:#f5fbf7;border-color:#abcfc0}
@media(min-width:1101px) and (max-height:900px){#mpcIrrigation .mps-panel{padding:9px}#mpcIrrigation h2{font-size:var(--mp-font-title)}#mpcIrrigation .mpc-irrigation-equation{padding:8px 0}#mpcIrrigation .mpc-irrigation-equation b{font-size:24px}}
@media(max-width:1100px){#mpcIrrigation .mpc-irrigation-readings{grid-template-columns:repeat(2,minmax(0,1fr))}#mpcIrrigation .mpc-irrigation-balance{grid-column:1/-1}#mpcIrrigation .mpc-irrigation-middle{grid-template-columns:1fr}}
@media(max-width:480px){#mpcIrrigation .mpc-irrigation-readings,#mpcIrrigation .mpc-irrigation-data-grid{grid-template-columns:1fr}#mpcIrrigation .mpc-irrigation-equation{grid-template-columns:1fr}#mpcIrrigation .mpc-irrigation-equation>span{justify-self:center}}

/* Irrigation native details are an open, balanced workspace, never a disclosure. */
body[data-mps-crop="irrigation"] #mpcIrrNativeDetails>header h2{font-size:var(--mp-font-title);line-height:1.3;margin:0 0 8px;color:var(--mp-muted)}
body[data-mps-crop="irrigation"] #mpcLegacyPhenDetails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"station micro water" "schedule demand advice";align-items:stretch;gap:10px;margin:0}
body[data-mps-crop="irrigation"] #mpcLegacyPhenDetails>.mpc-station-water-heading{display:none}
body[data-mps-crop="irrigation"] #crop-phen,body[data-mps-crop="irrigation"] #crop-phen>.ov-main,body[data-mps-crop="irrigation"] #crop-phen .ov-stack,body[data-mps-crop="irrigation"] #crop-phen .overview-row{display:contents}
body[data-mps-crop="irrigation"] .mpc-native-station{grid-area:station}
body[data-mps-crop="irrigation"] .mpc-native-micro{grid-area:micro}
body[data-mps-crop="irrigation"] .mpc-native-water{grid-area:water}
body[data-mps-crop="irrigation"] .mpc-native-schedule{grid-area:schedule}
body[data-mps-crop="irrigation"] .mpc-native-demand{grid-area:demand}
body[data-mps-crop="irrigation"] .mpc-native-advice{grid-area:advice}
body[data-mps-crop="irrigation"] #mpcInstalledDetails{border:0;margin:10px 0 0;padding:0}
body[data-mps-crop="irrigation"] #installedCropView .cv-grid,body[data-mps-crop="irrigation"] #installedCropView .cv-notes{gap:10px;align-items:stretch}
body[data-mps-crop="irrigation"] #installedCropView .cv-card,body[data-mps-crop="irrigation"] #installedCropView .cv-heading{padding:12px;margin-bottom:10px;min-width:0}
body[data-mps-crop="irrigation"] #installedCropView .cv-grid>.cv-card,body[data-mps-crop="irrigation"] #installedCropView .cv-notes>.cv-card{margin-bottom:0}
body[data-mps-crop="irrigation"] #installedCropView .cv-card h3{font-size:var(--mp-font-title);line-height:1.3}
body[data-mps-crop="irrigation"] #installedCropView .cv-note,body[data-mps-crop="irrigation"] #installedCropView .cv-source{font-size:var(--mp-font-note);line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1100px){body[data-mps-crop="irrigation"] #mpcLegacyPhenDetails{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"station micro" "water advice" "schedule demand"}}
@media(max-width:760px){body[data-mps-crop="irrigation"] #mpcLegacyPhenDetails{grid-template-columns:1fr;grid-template-areas:"station" "micro" "water" "schedule" "demand" "advice"}}

/* Nutrition follows the reference composition using the current native plan. */
#mpcNutrition[hidden],#mpcNutritionNativeDetails[hidden]{display:none!important}
#mpcNutrition .mpc-nutrition-readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}
#mpcNutrition .mpc-nutrition-analysis>b{font-size:21px}
#mpcNutrition .mpc-nutrition-analysis .mps-action{width:100%;margin:0}
#mpcNutrition .mpc-nutrition-middle{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;margin-bottom:10px}
#mpcNutrition .mps-panel{padding:12px;margin:0;min-width:0}
#mpcNutrition .ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-nav-icon-color);flex-shrink:0}
#mpcNutrition header{display:flex;align-items:center;gap:9px;margin-bottom:8px}
#mpcNutrition h2{font-size:var(--mp-font-section);line-height:1.3;margin:0}
#mpcNutrition header p,#mpcNutrition .mpc-nutrition-note,#mpcNutrition .mpc-nutrition-nutrients p{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted);margin:5px 0;overflow-wrap:anywhere}
#mpcNutrition .mps-table-wrap{overflow-x:auto;margin-top:8px}
#mpcNutritionPlan{width:100%;table-layout:fixed;min-width:480px}
#mpcNutritionPlan th,#mpcNutritionPlan td{padding:7px 8px;font-size:var(--mp-font-note);line-height:1.4;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}
#mpcNutritionPlan th:first-child{width:24%}#mpcNutritionPlan th:nth-child(2){width:20%}
#mpcNutritionPlan .mpc-nutrition-current{background:#00523c;color:var(--mp-mint);font-weight:650}
#mpcNutritionPlan .mpc-nutrition-current td:first-child{border-left:3px solid var(--mp-mint)}
#mpcNutrition .mpc-nutrition-requirements{margin:0 0 8px}
#mpcNutrition .mpc-nutrition-requirements>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:9px;padding:10px 0;border-bottom:1px solid var(--mp-border);font-size:var(--mp-font-note);line-height:1.4}
#mpcNutrition .mpc-nutrition-requirements dt::before{content:'○';margin-right:7px;color:var(--mp-muted)}
#mpcNutrition .mpc-nutrition-requirements dd{margin:0;text-align:right;color:var(--mp-muted)}
#mpcNutrition .mpc-nutrition-middle>.mps-panel>.mps-action{width:100%;margin-top:5px}
#mpcNutrition .mpc-nutrition-nutrients{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#mpcNutrition .mpc-nutrition-nutrients>article{display:grid;grid-template-columns:var(--mp-icon-disc) minmax(0,1fr);gap:10px;align-items:start}
#mpcNutrition .mpc-nutrient-symbol{font-size:17px;font-weight:700;width:var(--mp-icon-disc);height:var(--mp-icon-disc)}
#mpcNutrition .mpc-nutrition-nutrients h3{font-size:var(--mp-font-title);line-height:1.3;margin:0}
#mpcNutrition [data-nutrition-dose]{display:block;font-size:var(--mp-font-value);line-height:1.3;margin:6px 0}
#mpcNutrition .mpc-nutrition-nutrients footer{display:flex;align-items:center;gap:6px;font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted)}
#mpcNutrition .mpc-nutrition-nutrients footer .ov-icon{width:18px;height:18px}
body[data-mps-crop="nutrition"] #mpcNutritionNativeDetails,body[data-mps-crop="nutrition"] #mpcInstalledDetails{margin:10px 0 0}
body[data-mps-crop="nutrition"] #mpcInstalledDetails>summary{display:block;cursor:pointer}
#mpcNutritionNativeDetails>p{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted)}
html[data-theme="day"] #mpcNutritionPlan .mpc-nutrition-current{background:#dff3e9;color:#006e51}
html[data-theme="day"] #mpcNutritionPlan .mpc-nutrition-current td:first-child{border-color:#369575}
@media(min-width:1101px) and (max-height:900px){#mpcNutrition .mps-panel{padding:9px}#mpcNutrition h2{font-size:var(--mp-font-title)}#mpcNutritionPlan th,#mpcNutritionPlan td{padding:5px 7px}#mpcNutrition .mpc-nutrition-requirements>div{padding:8px 0}}
@media(max-width:1100px){#mpcNutrition .mpc-nutrition-middle{grid-template-columns:1fr}}
@media(max-width:760px){#mpcNutrition .mpc-nutrition-readings,#mpcNutrition .mpc-nutrition-nutrients{grid-template-columns:1fr}}

/* Protection: reference target table / station conditions / observations. */
#mpcProtection[hidden],#mpcProtectionDialog:not([open]){display:none!important}
body[data-mps-crop="protection"] #crop-prot{display:none!important}
#mpcProtection .mpc-protection-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:10px;align-items:stretch}
#mpcProtection .mps-panel{min-width:0;padding:12px}
#mpcProtection .mps-panel>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
#mpcProtection h2{font-size:var(--mp-font-title);margin:0}
#mpcProtection header p,#mpcProtectionStatus,#mpcProtection .mps-panel>p,#mpcProtection .mpc-protection-limit{font-size:var(--mp-font-note);line-height:1.45;color:var(--mp-muted);margin:4px 0}
#mpcProtection .mpc-protection-filters{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}
#mpcProtection [data-prot-filter]{border:1px solid var(--mp-border);background:var(--mp-card);color:var(--text);border-radius:18px;padding:7px 20px;font-size:13px;cursor:pointer}
#mpcProtection [data-prot-filter][aria-pressed="true"]{background:#11cfa0;color:#002f27;border-color:#11cfa0}
#mpcProtectionTargets{width:100%;min-width:460px}
#mpcProtectionTargets td,#mpcProtectionTargets th{padding:7px 8px;font-size:12px;line-height:1.35;vertical-align:middle;white-space:normal}
#mpcProtectionTargets td:first-child{font-weight:700}
#mpcProtectionTargets .mps-action{padding:5px 9px;white-space:nowrap;font-size:12px;min-height:28px}
#mpcProtectionTargets [data-prot-tone]{display:inline-flex;align-items:center;gap:6px}
#mpcProtectionTargets [data-prot-tone]:before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:#8297a0}
#mpcProtectionTargets [data-prot-tone="high"]:before{background:#ef6b6b}
#mpcProtectionTargets [data-prot-tone="watch"]:before{background:#edb548}
#mpcProtectionTargets [data-prot-tone="low"]:before{background:#2dc49b}
#mpcProtectionTargets [data-prot-tone="info"]:before{background:#4cb7e8}
#mpcProtection .mpc-protection-conditions{display:grid;gap:8px;margin:10px 0}
#mpcProtection .mpc-protection-conditions article{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid var(--mp-border);border-radius:9px;padding:12px 10px;min-height:62px}
#mpcProtection .mpc-protection-conditions .ov-icon{width:24px;height:24px;color:#43bae2}
#mpcProtection .mpc-protection-conditions h3{font-size:13px;line-height:1.4;margin:0}
#mpcProtection .mpc-protection-conditions b{font-size:24px;white-space:nowrap}
#mpcProtection .mpc-protection-conditions .mp-badge{font-size:10px;margin-top:4px;display:inline-block}
#mpcProtection .mpc-protection-observations{margin-top:10px}
#mpcProtection .mpc-protection-observations button{margin-left:auto}
#mpcProtection .mpc-protection-limit{padding:8px 0}
#mpcProtectionDialog{background:var(--mp-card);color:var(--text);border:1px solid var(--mp-border);border-radius:12px;width:min(680px,calc(100vw - 36px));max-height:85vh;padding:18px}
#mpcProtectionDialog::backdrop{background:#001b26b3}
#mpcProtectionDialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#mpcProtectionDialog h2,#mpcProtectionDialog h3{font-size:15px}
#mpcProtectionDetail p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-mps-crop="protection"] #mpcInstalledDetails>summary{display:block;cursor:pointer}
html[data-theme="day"] #mpcProtection [data-prot-filter]:hover{background:#e3f3ed;color:#006e51}
html[data-theme="day"] #mpcProtection [data-prot-filter][aria-pressed="true"]{background:#0cb28a;color:#fff}
@media(min-width:1101px) and (max-height:900px){#mpcProtection .mps-panel{padding:9px}#mpcProtectionTargets td,#mpcProtectionTargets th{padding:4px 7px}#mpcProtection .mpc-protection-conditions article{padding:8px;min-height:54px}}
@media(max-width:1000px){#mpcProtection .mpc-protection-grid{grid-template-columns:1fr}#mpcProtection .mpc-protection-conditions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#mpcProtection .mpc-protection-conditions{grid-template-columns:1fr}#mpcProtection .mpc-protection-observations>header{flex-wrap:wrap}#mpcProtection .mpc-protection-observations button{margin-left:0}}

/* User: Nutrition reference sources stay open; no dose or prerequisites cards. */
body[data-mps-crop="nutrition"] #mpcInstalledDetails>summary{display:none}
#mpcNutritionNativeDetails>header h2{font-size:var(--mp-font-title);margin:0 0 8px}

/* Protection review: stable photo cards, readable risk bands and text labels. */
#mpcProtection .mpc-protection-grid{grid-template-columns:minmax(0,2.8fr) minmax(235px,1fr);align-items:start}
#mpcProtectionTargets{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mpcProtection .mpc-protection-legend{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px;font-size:11px;line-height:1.4}
#mpcProtection .mpc-protection-legend>span{border:1px solid var(--mp-border);border-radius:6px;padding:5px 8px}
#mpcProtection [data-prot-tone="high"],#mpcProtectionDialog [data-prot-tone="high"]{--prot-colour:#ff9393;--prot-bg:#492a2d}
#mpcProtection [data-prot-tone="watch"],#mpcProtectionDialog [data-prot-tone="watch"]{--prot-colour:#ffd17a;--prot-bg:#453b27}
#mpcProtection [data-prot-tone="low"],#mpcProtectionDialog [data-prot-tone="low"]{--prot-colour:#76dec0;--prot-bg:#173f34}
#mpcProtection [data-prot-tone="info"],#mpcProtectionDialog [data-prot-tone="info"]{--prot-colour:#93d5ff;--prot-bg:#203d4b}
#mpcProtection [data-prot-tone="unknown"],#mpcProtectionDialog [data-prot-tone="unknown"]{--prot-colour:#d5dee3;--prot-bg:#303d41}
#mpcProtection .mpc-target-card{display:grid;grid-template-columns:minmax(85px,.85fr) minmax(0,1.8fr);gap:10px;border:1px solid var(--prot-colour);border-left:5px solid var(--prot-colour);background:var(--prot-bg);border-radius:10px;padding:10px;min-width:0}
#mpcProtection .mpc-target-body{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
#mpcProtection .mpc-target-body>small{font-size:11px;color:var(--prot-colour)}
#mpcProtection .mpc-target-body h3{font-size:15px;line-height:1.35;margin:0}
#mpcProtection .mpc-target-latin{font-size:11px;line-height:1.4;opacity:.85;margin:0;overflow-wrap:anywhere;font-style:italic}
#mpcProtection .mpc-target-status{font-size:12px;line-height:1.5;font-weight:700;color:var(--prot-colour);margin:5px 0}
#mpcProtection .mpc-target-body .mps-action{margin-top:auto;min-height:34px;padding:6px 12px;font-size:12px}
.mpc-target-photo{display:flex;align-items:center;justify-content:center;background:#152c31;border:1px solid #567278;border-radius:7px;overflow:hidden;min-height:110px;font-size:11px;line-height:1.4;color:#d3e0e3;text-align:center;padding:6px}
.mpc-target-photo img{width:100%;height:120px;object-fit:contain;background:#e5ebe7;display:block}
#mpcProtection .mpc-protection-conditions article{grid-template-columns:22px minmax(0,1fr) auto;padding:9px 7px;gap:6px}
#mpcProtection .mpc-protection-conditions b{font-size:21px}
#mpcProtection .mpc-protection-conditions h3{font-size:12px}
#mpcProtectionDialog{width:min(850px,calc(100vw - 28px));overflow-y:auto;color:inherit}
#mpcProtectionDialog>header{position:sticky;top:-18px;padding:10px 0;background:var(--mp-card);z-index:2}
#mpcProtectionDetail>section{border-top:1px solid var(--mp-border);padding:8px 0}
#mpcProtectionDetail>section h3{color:var(--mp-mint);margin:0 0 6px}
#mpcProtectionDetail>section p{margin:0}
#mpcProtectionDetail>a{display:inline-block;margin:8px 12px 8px 0;color:var(--mp-blue);overflow-wrap:anywhere}
#mpcProtectionDetail .mpc-target-photo-large{min-height:0;background:#eff4f0}
#mpcProtectionDetail .mpc-target-photo-large img{height:auto;max-height:300px;width:100%;object-fit:contain}
html[data-theme="day"] #mpcProtection [data-prot-tone="high"],#mpcProtectionDialog [data-prot-tone="high"]{--prot-colour:#8f2027;--prot-bg:#fff0f0}
html[data-theme="day"] #mpcProtection [data-prot-tone="watch"],#mpcProtectionDialog [data-prot-tone="watch"]{--prot-colour:#805400;--prot-bg:#fff7e1}
html[data-theme="day"] #mpcProtection [data-prot-tone="low"],#mpcProtectionDialog [data-prot-tone="low"]{--prot-colour:#166047;--prot-bg:#eaf8f1}
html[data-theme="day"] #mpcProtection [data-prot-tone="info"],#mpcProtectionDialog [data-prot-tone="info"]{--prot-colour:#175b7d;--prot-bg:#eaf6ff}
html[data-theme="day"] #mpcProtection [data-prot-tone="unknown"],#mpcProtectionDialog [data-prot-tone="unknown"]{--prot-colour:#46555c;--prot-bg:#f1f4f5}
html[data-theme="day"] .mpc-target-photo{background:#eaf0ee;color:#425c54;border-color:#9ab3aa}
html[data-theme="day"] #mpcProtectionDetail>section h3{color:#006e51}
@media(max-width:1200px){#mpcProtection .mpc-protection-grid{grid-template-columns:1fr}#mpcProtection .mpc-protection-conditions{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){#mpcProtectionTargets{grid-template-columns:1fr}#mpcProtection .mpc-protection-conditions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#mpcProtection .mpc-target-card{grid-template-columns:90px minmax(0,1fr)}#mpcProtection .mpc-protection-conditions{grid-template-columns:1fr}}

#mpcProtectionTargets .mpc-target-card::before{display:none;content:none}
#mpcProtection .mpc-protection-legend>[data-prot-tone]{border-color:var(--prot-colour);background:var(--prot-bg);color:var(--prot-colour)}

/* Reference detail: note, image, clone information, then source links. */
.mpc-target-photo{margin:0;flex-direction:column;gap:8px}
.mpc-target-photo-viewport{width:100%;max-width:580px}
.mpc-target-photo-crop{position:relative;overflow:hidden;width:100%;height:0}
.mpc-target-photo .mpc-target-photo-crop img,#mpcProtectionDetail .mpc-target-photo-large .mpc-target-photo-crop img{position:absolute;max-width:none;max-height:none;object-fit:fill;margin:0}
.mpc-target-photo[data-prot-decorative="true"] img{object-fit:cover;background:#00291f}
#mpcProtectionDialog{width:min(980px,calc(100vw - 28px));background:var(--mp-card);border:1px solid var(--mp-border)}
#mpcProtectionDetail{display:grid;gap:16px;min-width:0}
#mpcProtectionDetail .mpc-protection-note{border:1px solid var(--prot-colour);border-left:5px solid var(--prot-colour);border-radius:10px;background:var(--prot-bg);padding:14px 16px}
#mpcProtectionDetail .mpc-protection-note h3{color:var(--prot-colour)}
#mpcProtectionDetail p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}
#mpcProtectionDetail .mpc-target-photo-large{padding:0;background:transparent;border-color:var(--mp-border)}
#mpcProtectionDetail .mpc-target-photo-large img{max-height:300px;background:#e5ebe7}
#mpcProtectionDetail .mpc-target-photo-large[data-prot-decorative="true"] img{height:240px;background:#00291f}
#mpcProtectionDetail figcaption{font-size:12px;line-height:1.5;padding:4px 12px 12px;color:var(--mp-muted)}
#mpcProtectionDetail .mpc-protection-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#mpcProtectionDetail .mpc-protection-detail-grid>section{min-width:0;border:1px solid var(--mp-border);border-radius:10px;padding:14px}
#mpcProtectionDetail .mpc-protection-detail-grid h3,#mpcProtectionDetail footer h3{font-size:var(--mp-font-title);color:var(--mp-mint);margin:0 0 8px}
#mpcProtectionDetail .mpc-protection-detail-grid p,#mpcProtectionDetail footer p{margin:0;font-size:13px}
#mpcProtectionDetail [data-prot-section="identity"],#mpcProtectionDetail [data-prot-section="identity-review"],#mpcProtectionDetail [data-prot-section="inputs"]{grid-column:1/-1}
#mpcProtectionDetail .mpc-protection-references{border-top:1px solid var(--mp-border);padding-top:12px;display:flex;flex-wrap:wrap;gap:10px 18px}
#mpcProtectionDetail .mpc-protection-references>section{flex-basis:100%}
#mpcProtectionDetail .mpc-protection-references a{color:var(--mp-blue);text-decoration:underline;overflow-wrap:anywhere;font-size:13px}
html[data-theme="day"] #mpcProtectionDetail .mpc-protection-detail-grid h3,html[data-theme="day"] #mpcProtectionDetail footer h3{color:#006e51}
@media(max-width:650px){#mpcProtectionDetail .mpc-protection-detail-grid{grid-template-columns:1fr}#mpcProtectionDetail .mpc-target-photo-large[data-prot-decorative="true"] img{height:180px}}

/* Cultivation calendar: reference 9/13; native plans, common typography. */
body[data-mps-crop="calendar"] #crop-cal{display:none!important}
#mpcCalendar[hidden]{display:none!important}
#mpcCalendar{display:grid;gap:12px}
.mpc-calendar-plan>header,.mpc-calendar-records>header{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--mp-border);padding-bottom:12px;margin-bottom:12px}
.mpc-calendar-heading{flex:1;min-width:180px}
#mpcCalendar h2{font-size:var(--mp-font-title);margin:0 0 4px}
#mpcCalendar h3{font-size:var(--mp-font-title);margin:12px 0}
#mpcCalendar p{font-size:var(--mp-font-note);line-height:1.5;margin:4px 0;color:var(--mp-muted)}
.mpc-calendar-controls,.mpc-calendar-period,.mpc-calendar-controls [role="group"]{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.mpc-calendar-controls button,.mpc-calendar-controls select{min-height:36px;font:inherit;font-size:12px;border:1px solid var(--mp-border);border-radius:7px;background:var(--mp-card);color:inherit;padding:6px 10px}
.mpc-calendar-controls button[aria-pressed="true"]{border-color:var(--mp-mint);color:var(--mp-mint);background:#00c99a14}
.mpc-calendar-controls button:disabled{opacity:.45;cursor:not-allowed}
.mpc-calendar-plan>header{flex-wrap:wrap}.mpc-calendar-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mpc-calendar-month{display:flex;align-items:center;gap:10px;min-width:0;min-height:94px;padding:12px;border:1px solid var(--mp-border);border-radius:9px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.mpc-calendar-month[data-current="true"]{border-color:var(--mp-mint)}
.mpc-calendar-month[aria-pressed="true"]{outline:2px solid var(--mp-mint);outline-offset:1px}
.mpc-calendar-month:hover{background:#00c99a14}.mpc-calendar-month:focus-visible,.mpc-calendar-controls button:focus-visible{outline:2px solid var(--mp-mint);outline-offset:2px}
.mpc-calendar-month-body{display:grid;gap:6px;min-width:0;flex:1;overflow-wrap:anywhere}.mpc-calendar-month-body strong{font-size:var(--mp-font-title)}.mpc-calendar-month-body>span{font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted)}.mpc-calendar-arrow{font-size:24px;color:var(--mp-mint)}
.mpc-calendar-task{border:1px solid var(--mp-border);border-radius:8px;padding:12px}.mpc-calendar-task strong{font-size:14px}#mpcCalendarTasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#mpcCalendarSources{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}#mpcCalendarSources a{color:var(--mp-mint);font-size:12px;overflow-wrap:anywhere}
@media(max-width:1200px){.mpc-calendar-months{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.mpc-calendar-months{grid-template-columns:repeat(2,minmax(0,1fr))}#mpcCalendarTasks{grid-template-columns:1fr}.mpc-calendar-controls{width:100%}}
@media(max-width:440px){.mpc-calendar-months{grid-template-columns:1fr}.mpc-calendar-month{min-height:80px}}

/* Existing full-width plan, followed by openly visible sources and limits. */
#mpcNutrition .mpc-nutrition-middle{display:block}
#mpcNutrition .mpc-nutrition-reference{margin-top:16px}
#mpcNutrition .mpc-nutrition-reference h3{margin:0 0 10px;font-size:15px}
#mpcNutrition .mpc-nutrition-branch{text-align:left;font-size:13px;color:var(--muted)}
#mpcNutrition .mpc-nutrition-note{white-space:pre-line;overflow-wrap:anywhere}
#mpcNutrition .mpc-nutrition-reference a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
#mpcNutritionNativeDetails{display:none!important}

/* User correction: crop stage left, seasonal plan right; shared mypanel theme. */
#mpcNutrition.mpn-photo .mpn-two-panel{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,2fr);gap:12px;align-items:start}
#mpcNutrition.mpn-photo .mps-panel{border:1px solid var(--mp-border);border-radius:8px;padding:12px;background:var(--mp-card);min-width:0;margin:0;box-sizing:border-box}
#mpcNutrition.mpn-photo .mpn-top-card{display:grid;grid-template-columns:var(--mp-icon-disc) minmax(0,1fr);gap:12px;align-items:start}
#mpcNutrition.mpn-photo .mpn-disc{display:flex;align-items:center;justify-content:center;width:var(--mp-icon-disc);height:var(--mp-icon-disc);border:1px solid var(--mp-border);border-radius:50%;background:rgba(0,160,120,.09);color:var(--mp-mint)}
#mpcNutrition.mpn-photo .mpn-disc .ov-icon{color:inherit}
#mpcNutrition.mpn-photo .mpn-top-content{display:grid;grid-template-rows:auto auto auto auto;gap:8px;min-width:0}
#mpcNutrition.mpn-photo header{display:flex;align-items:center;gap:9px;margin:0 0 6px;min-width:0}
#mpcNutrition.mpn-photo .mpn-top-content>header{justify-content:space-between;align-items:start;gap:6px;flex-wrap:wrap}
#mpcNutrition.mpn-photo h3{font-size:var(--mp-font-title);line-height:1.35;margin:0;overflow-wrap:anywhere}
#mpcNutrition.mpn-photo .mpn-badge{font-size:10px;line-height:1.3;font-weight:500;border:1px solid currentColor;border-radius:20px;padding:3px 10px;white-space:nowrap;color:var(--mp-mint)}
#mpcNutrition.mpn-photo .mpn-top-content>strong{display:block;font-size:24px;line-height:1.3;overflow-wrap:anywhere}
#mpcNutrition.mpn-photo .mpn-top-content>p{font-size:var(--mp-font-note);line-height:1.4;margin:0;color:var(--mp-muted)}
#mpcNutrition.mpn-photo .mpn-top-content>footer{border-top:1px solid var(--mp-border);padding-top:8px;font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted)}
#mpcNutrition.mpn-photo .mpn-plan>header>.ov-icon{width:var(--mp-icon-card);height:var(--mp-icon-card);color:var(--mp-mint)}
#mpcNutrition.mpn-photo .mps-table-wrap{border:1px solid var(--mp-border);border-radius:7px;margin-top:8px}
#mpcNutrition.mpn-photo #mpcNutritionPlan{min-width:400px;margin:0}
#mpcNutrition.mpn-photo #mpcNutritionPlan th:first-child{width:34%}
#mpcNutrition.mpn-photo #mpcNutritionPlan th:nth-child(2){width:27%}
#mpcNutrition.mpn-photo .mpn-stage-label{display:flex;align-items:start;gap:8px}
#mpcNutrition.mpn-photo .mpn-stage-label .ov-icon{width:18px;height:18px;margin-top:1px;color:var(--mp-mint)}
#mpcNutrition.mpn-photo .mpc-nutrition-reference{margin-top:10px;padding-top:8px;border-top:1px solid var(--mp-border)}
#mpcNutrition.mpn-photo .mpc-nutrition-reference>summary{cursor:pointer;font-size:var(--mp-font-note);line-height:1.4;color:var(--mp-muted)}
@media(max-width:850px){#mpcNutrition.mpn-photo .mpn-two-panel{grid-template-columns:1fr}}

.mpc-protection-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mpc-protection-summary article{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:center}
.mpc-protection-summary b{font-size:var(--mp-font-value);color:var(--mp-mint)}
.mpc-protection-summary span{font-size:12px;overflow-wrap:anywhere}
#mpcProtectionActiveTargets article{margin-bottom:10px;border:1px solid var(--prot-colour);border-left-width:4px;border-radius:8px;padding:12px;background:var(--prot-bg)}
#mpcProtectionActiveTargets article strong{color:var(--prot-colour)}
html[data-theme="day"] .mpc-protection-summary b{color:#006e51}
#mpcProtectionDetail [data-prot-section="treatment"]{margin-top:16px;padding:16px;border:1px solid var(--mp-border);border-radius:10px;overflow-x:auto}
#mpcProtectionDetail [data-prot-section="treatment"] h3{margin:0 0 8px;font-size:var(--mp-font-title);color:var(--mp-mint)}
#mpcProtectionDetail .mpc-treatment-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:13px}
#mpcProtectionDetail .mpc-treatment-table th,#mpcProtectionDetail .mpc-treatment-table td{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid var(--mp-border);white-space:pre-line}
html[data-theme="day"] #mpcProtectionDetail [data-prot-section="treatment"] h3{color:#006e51}
#mpcProtectionDetail [data-prot-section="identity"],#mpcProtectionDetail [data-prot-section="identity-review"],#mpcProtectionDetail [data-prot-section="inputs"]{grid-column:1/-1}
#mpcProtectionDetail .mpc-protection-references{border-top:1px solid var(--mp-border);padding-top:12px;display:flex;flex-wrap:wrap;gap:10px 18px}
#mpcProtectionDetail .mpc-protection-references>section{flex-basis:100%}
#mpcProtectionDetail [data-prot-section="selected-method"]{grid-column:1/-1}
#mpcProtection .mpc-target-selected{font-size:12px;white-space:pre-line;line-height:1.4;color:var(--mp-muted)}

/* Relocated station weather follows the cultivar timeline. */
body[data-mps-crop="phenology"] .mpc-phen-weather{grid-area:weather;min-width:0;margin:0}#mpcPhenology .wx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#mpcPhenology .wx-chart{height:190px;position:relative;min-width:0}#mpcPhenology .wx-kpis{display:block}#mpcPhenology .wx-kpis em{white-space:pre-line;overflow-wrap:anywhere}#mpcPhenology .wx-grid>.ov-panel{min-width:0;margin:0}@media(max-width:760px){#mpcPhenology .wx-grid{grid-template-columns:1fr}#mpcPhenology .wx-chart{height:180px}}

/* Compact seven-day forecast; all weather fields retain native daily units. */
#view-forecast #mpsForecast>.mpf-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
#view-forecast #mpsForecast .mpf-layout>.mpf-week{min-width:0;margin:0;padding:12px}
#view-forecast #mpsForecast .mpf-layout>.mpf-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
#view-forecast #mpsForecast .mpf-summary>.mpf-card{grid-column:auto;grid-template-rows:auto auto auto auto;min-height:0;height:auto}
#view-forecast #mpsForecast .mpf-summary>.mpf-card>b{font-size:23px;line-height:1.35}
#view-forecast #mpsForecast .mpf-summary>.mpf-card>p{font-size:13px;line-height:1.45}
#view-forecast #mpsForecast .mpf-table{width:100%;min-width:0;font-size:14px;table-layout:fixed;border-collapse:separate;border-spacing:0 5px}
#view-forecast #mpsForecast .mpf-table th,#view-forecast #mpsForecast .mpf-table td{padding:7px 5px;font-size:13px;line-height:1.4;border:0;white-space:normal;overflow-wrap:anywhere;text-align:center}
#view-forecast #mpsForecast .mpf-table thead th{background:var(--mp-card);color:var(--mp-muted);font-weight:600}
#view-forecast #mpsForecast .mpf-table th:first-child{width:18%}
#view-forecast #mpsForecast .mpf-table th:nth-child(2){width:25%}
#view-forecast #mpsForecast .mpf-day-row{background:var(--mp-card)}
#view-forecast #mpsForecast .mpf-day-row:nth-child(even){background:var(--mp-bg)}
#view-forecast #mpsForecast .mpf-day-row>th{border-left:3px solid var(--mp-border);border-radius:8px 0 0 8px}
#view-forecast #mpsForecast .mpf-day-row:first-child>th{border-left-color:var(--mp-mint)}
#view-forecast #mpsForecast .mpf-day-row>td:last-child{border-radius:0 8px 8px 0}
#view-forecast #mpsForecast .mpf-day-name{display:block;font-size:14px}
#view-forecast #mpsForecast .mpf-date-badge{display:inline-block;color:var(--mp-muted);font-size:13px}
#view-forecast #mpsForecast .mpf-metric-icon{display:block;width:18px;height:18px;margin:0 auto 3px;color:var(--mp-nav-icon-color);flex:none}
#view-forecast #mpsForecast [data-forecast-metric="temperature"] .mpf-metric-icon{color:var(--amber,var(--mp-mint))}
#view-forecast #mpsForecast [data-forecast-metric="humidity"] .mpf-metric-icon,#view-forecast #mpsForecast [data-forecast-metric="rain"] .mpf-metric-icon{color:var(--mp-blue,var(--mp-mint))}
#view-forecast #mpsForecast .mpf-metric-label{display:none}
#view-forecast #mpsForecast .mpf-metric-value{font-size:14px;font-variant-numeric:tabular-nums}
#view-forecast #mpsForecast .mpf-note{font-size:13px;line-height:1.5}
@media(max-width:960px){
 #view-forecast #mpsForecast>.mpf-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 #view-forecast #mpsForecast .mpf-table,#view-forecast #mpsForecast .mpf-table tbody{display:block}
 #view-forecast #mpsForecast .mpf-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}
 #view-forecast #mpsForecast .mpf-day-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px;margin:0 0 9px;padding:8px;border:1px solid var(--mp-border);border-radius:10px}
 #view-forecast #mpsForecast .mpf-day-row>th:first-child{grid-column:1/-1;display:flex;gap:9px;align-items:center;width:auto;text-align:left;padding:3px 7px;border-radius:0}
 #view-forecast #mpsForecast .mpf-day-row>td{display:grid;grid-template-columns:18px minmax(0,1fr);gap:3px 6px;text-align:left;padding:5px 2px}
 #view-forecast #mpsForecast .mpf-metric-icon{grid-column:1;grid-row:1/3;align-self:center;margin:0}
 #view-forecast #mpsForecast .mpf-metric-label{display:block;grid-column:2;font-size:13px;color:var(--mp-muted)}
 #view-forecast #mpsForecast .mpf-metric-value{grid-column:2;font-size:14px}
}

#mpcNutrition .mpn-reviewed-reference{margin-top:18px;padding-top:12px;border-top:1px solid var(--mp-border);min-width:0}#mpcNutrition .mpn-reviewed-reference h3{font-size:var(--mp-font-title);margin:0 0 8px}#mpcNutrition .mpn-reviewed-reference td,#mpcNutrition .mpn-reviewed-reference th{white-space:normal;overflow-wrap:anywhere}

/* Preserve DOM order: VPD, wetness, chill / RH, heat, GDD. */
body[data-mps-crop="phenology"] #view-crops #mpcPhenology #wxGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){
 body[data-mps-crop="phenology"] #view-crops #mpcPhenology #wxGrid{grid-template-columns:minmax(0,1fr)}
}

/* NUTRITION_GRAPHIC_PLAN: presentation only, all reference rows retained. */
#mpcNutrition.mpn-photo .mpn-two-panel{grid-template-columns:minmax(0,1fr)}
#mpcNutrition.mpn-photo.mpn-graphic .mpn-plan{padding:16px;background:linear-gradient(145deg,rgba(0,167,134,.045),transparent 55%),var(--mp-card)}
#mpcNutrition.mpn-graphic .mpn-plan>header{padding-bottom:10px;border-bottom:1px solid var(--mp-border);margin-bottom:10px}
#mpcNutrition.mpn-graphic .mpn-plan>.mps-table-wrap{border:0;overflow:visible;background:none;margin-top:12px}
#mpcNutrition.mpn-graphic #mpcNutritionPlan{display:block;min-width:0;table-layout:auto}
#mpcNutrition.mpn-graphic #mpcNutritionPlan>thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#mpcNutrition.mpn-graphic #mpcNutritionPlan>tbody{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:nutrition-step}
#mpcNutrition.mpn-graphic #mpcNutritionPlan tr[data-nutrition-plan]{position:relative;display:flex;flex-direction:column;border:1px solid var(--mp-border);border-radius:10px;padding:12px;background:linear-gradient(150deg,rgba(0,190,158,.08),rgba(0,130,105,.015));min-width:0;counter-increment:nutrition-step;box-sizing:border-box}
#mpcNutrition.mpn-graphic #mpcNutritionPlan tr[data-nutrition-plan]::before{content:counter(nutrition-step,decimal-leading-zero);font-size:11px;line-height:1.3;color:var(--mp-mint);letter-spacing:.08em;margin-bottom:8px}
#mpcNutrition.mpn-graphic #mpcNutritionPlan td{display:block;width:auto!important;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
#mpcNutrition.mpn-graphic #mpcNutritionPlan td:first-child{font-size:var(--mp-font-title);font-weight:650;line-height:1.35;margin-bottom:8px}
#mpcNutrition.mpn-graphic #mpcNutritionPlan td:nth-child(2){font-size:11px;color:var(--mp-mint);margin-bottom:10px}
#mpcNutrition.mpn-graphic #mpcNutritionPlan td:nth-child(3){padding-top:9px;border-top:1px solid var(--mp-border);font-size:var(--mp-font-note);line-height:1.45;color:var(--mp-muted);margin-top:auto}
#mpcNutrition.mpn-graphic #mpcNutritionPlan tr[data-nutrition-branch]{grid-column:1/-1;display:block;margin:8px 0 0;counter-reset:nutrition-step}
#mpcNutrition.mpn-graphic #mpcNutritionPlan tr[data-nutrition-branch] th{display:block;width:auto;padding:8px 11px;border-left:3px solid var(--mp-mint);background:rgba(0,170,135,.07);border-radius:0 6px 6px 0;color:inherit;font-size:var(--mp-font-title)}
#mpcNutrition.mpn-graphic .mpn-reviewed-reference{padding:16px;border:1px solid var(--mp-border);border-radius:10px;background:linear-gradient(125deg,rgba(0,160,135,.065),transparent);margin-top:18px}
#mpcNutrition.mpn-graphic .mpn-reviewed-reference>.mps-table-wrap{border:0;overflow:visible}
#mpcNutrition.mpn-graphic .mpn-reviewed-reference table{display:block;min-width:0;width:100%}
#mpcNutrition.mpn-graphic .mpn-reviewed-reference thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows{display:grid;gap:14px}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows>tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td{display:flex;flex-direction:column;align-items:flex-start;width:auto;min-width:0;border:1px solid var(--mp-border);border-radius:9px;padding:12px;line-height:1.3;background:var(--mp-card);font-size:clamp(20px,2vw,27px);font-weight:650;overflow-wrap:anywhere}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td:first-child{grid-column:1/-1;padding:0 0 2px;border:0;background:none;font-size:var(--mp-font-note);font-weight:500;color:var(--mp-muted)}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td[data-nutrient]::before{content:attr(data-nutrient);display:block;font-size:var(--mp-font-title);font-weight:650;color:var(--mp-mint);border-bottom:1px solid var(--mp-border);padding-bottom:7px;margin-bottom:8px;align-self:stretch}
#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td[data-nutrient]::after{content:'kg/t';font-size:11px;line-height:1.4;font-weight:400;color:var(--mp-muted);margin-top:5px}
html[data-theme="day"] #mpcNutrition.mpn-graphic #mpcNutritionPlan tr[data-nutrition-plan]{background:linear-gradient(145deg,rgba(0,145,110,.075),rgba(255,255,255,.7))}
@media(max-width:1100px){#mpcNutrition.mpn-graphic #mpcNutritionPlan>tbody{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){#mpcNutrition.mpn-graphic #mpcNutritionPlan>tbody{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body #mpcNutrition.mpn-graphic #mpcNutritionPlan>tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important}#mpcNutrition.mpn-photo.mpn-graphic .mpn-plan,#mpcNutrition.mpn-graphic .mpn-reviewed-reference{padding:12px}#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows>tr{grid-template-columns:minmax(0,1fr)}#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td[data-nutrient]{display:grid;grid-template-columns:minmax(65px,.5fr) minmax(0,1fr) auto;align-items:center;gap:8px;font-size:23px}#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td[data-nutrient]::before{border:0;padding:0;margin:0;align-self:center}#mpcNutrition.mpn-graphic #mpcNutritionBenchmarkRows td[data-nutrient]::after{margin:0}}

/*FORECAST_WEEK_OVERVIEW_MATRIX*/
html body #view-forecast #mpsForecast .mpf-week{--mpf-week-text:#e9f5fa;--mpf-week-muted:#acc5d1;--mpf-week-border:#164857}
html[data-theme="day"] body #view-forecast #mpsForecast .mpf-week{--mpf-week-text:#0f172a;--mpf-week-muted:#475569;--mpf-week-border:#bfd3de}
html body #view-forecast #mpsForecast>.mpf-layout{align-items:stretch}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary{align-self:start}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-week{display:flex;flex-direction:column;align-self:stretch;background:var(--glass)!important;border-color:var(--border)!important;color:var(--text)}
html body #view-forecast #mpsForecast .mpf-week .mpf-week-heading>.ov-icon{color:var(--accent)}
html body #view-forecast #mpsForecast .mpf-week .mpf-note{font-size:11px;color:var(--text2);margin-top:9px}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix{min-width:0;width:100%;overflow-x:auto;flex:1;display:flex;align-items:center}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table{width:100%;min-width:355px;border-collapse:collapse;table-layout:fixed;font-size:10px;line-height:1.5;background:var(--glass)}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table th,html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table td{text-align:center;padding:6px 2px;border:0;border-right:1px solid var(--mpf-week-border);border-bottom:1px solid var(--mpf-week-border);font-weight:400;color:var(--mpf-week-text);overflow-wrap:anywhere}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table th:first-child{width:63px;text-align:left;padding-left:7px;color:var(--mpf-week-muted);font-size:9px}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table tr:last-child>*{border-bottom:0}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table tr>*:last-child{border-right:0}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table thead th{background:var(--glass2);font-size:10px}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .forecast-table small{display:block;color:var(--mpf-week-muted);font-size:9px}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .weather-code{display:block;font-size:23px;line-height:1.3;margin-top:4px}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .weather-code .ov-icon{width:25px;height:25px;color:#20c9f4}
html body #view-forecast #mpsForecast #mpForecastWeekMatrix .weather-code.sun .ov-icon{color:#ffcc53}
html[data-theme="day"] body #view-forecast #mpsForecast #mpForecastWeekMatrix .weather-code .ov-icon{color:#076b9a}
html[data-theme="day"] body #view-forecast #mpsForecast #mpForecastWeekMatrix .weather-code.sun .ov-icon{color:#8b5600}
html body #view-forecast #mpsForecast [data-native-week-source][hidden]{display:none!important}

/*FORECAST_REMAINDER_CALENDAR_THEME*/
html body #view-forecast{--fr-surface:var(--glass);--fr-line:#294b58;--fr-text:#e8f2f6;--fr-muted:#9fb7c2;--fr-green:#67cda7;}
html[data-theme="day"] body #view-forecast{--fr-line:#cbdde3;--fr-text:#173542;--fr-muted:#506e7d;--fr-green:#21845f;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card{background:var(--fr-surface)!important;border-color:var(--fr-line)!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card>.mp-icon-disc{background:var(--fr-surface)!important;border-color:var(--fr-line)!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-forecast #mpSprayDetails{background:var(--fr-surface)!important;border-color:var(--fr-line)!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-forecast #mpSprayDetails .mpf-spray-day{background:var(--fr-surface)!important;border-color:var(--fr-line)!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-forecast>.mpf-heading h1{color:var(--fr-text)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card>b{color:var(--fr-text)!important;}
html body #view-forecast #mpSprayDetails>h2{color:var(--fr-text)!important;}
html body #view-forecast #mpSprayDetails .mpf-spray-day header>strong{color:var(--fr-text)!important;}
html body #view-forecast #mpSprayDetails .mps-table th{color:var(--fr-text)!important;}
html body #view-forecast #mpSprayDetails .mps-table td:not([data-spray-tone]){color:var(--fr-text)!important;}
html body #view-forecast>.mpf-heading .mpf-source{color:var(--fr-muted)!important;}
html body #view-forecast>.mpf-heading p{color:var(--fr-muted)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card>h3{color:var(--fr-muted)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card>p{color:var(--fr-muted)!important;}
html body #view-forecast #mpSprayDetails>p{color:var(--fr-muted)!important;}
html body #view-forecast #mpSprayDetails .mpf-spray-day header>span{color:var(--fr-muted)!important;}
html body #view-forecast #mpSprayDetails .mpf-spray-time{color:var(--fr-muted)!important;}
html body #view-forecast #mpSprayDetails #mpSprayDays>p{color:var(--fr-muted)!important;}
html body #view-forecast>.mpf-heading>.ov-icon{color:var(--fr-green)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card>.mp-icon-disc>.ov-icon{color:var(--fr-green)!important;}
html body #view-forecast #mpSprayHourlySummary{color:var(--fr-green)!important;}
html body #view-forecast>.mpf-heading .mpf-source{border-color:var(--fr-line)!important;}
html body #view-forecast #mpSprayDetails .mps-table-wrap{border-color:var(--fr-line)!important;}
html body #view-forecast #mpSprayDetails .mps-table th{border-color:var(--fr-line)!important;}
html body #view-forecast #mpSprayDetails .mps-table td:not([data-spray-tone]){border-color:var(--fr-line)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card .mpf-spray-period{border-color:var(--fr-line)!important;}
html body #view-forecast #mpSprayDetails .mps-table th{background:var(--fr-surface)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card .mpf-spray-period button:not(:disabled):not([aria-disabled="true"]){background:var(--fr-surface)!important;color:var(--fr-text)!important;border-color:var(--fr-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card .mpf-spray-period button:not(:disabled):not([aria-disabled="true"])[aria-pressed="true"]{color:var(--fr-green)!important;box-shadow:inset 0 0 0 1px var(--fr-green)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card .mpf-spray-period button:not(:disabled):not([aria-disabled="true"]):hover{color:var(--fr-green)!important;border-color:var(--fr-green)!important;}
html body #view-forecast #mpsForecast .mpf-layout>.mpf-summary>.mpf-card .mpf-spray-period button:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--fr-green)!important;}

/*CROPS_SUMMARY_CALENDAR_THEME*/
html body #view-crops #mpsCropSummary{--cs-surface:var(--glass);--cs-line:#294b58;--cs-text:#e8f2f6;--cs-muted:#9fb7c2;--cs-green:#67cda7;}
html[data-theme="day"] body #view-crops #mpsCropSummary{--cs-line:#cbdde3;--cs-text:#173542;--cs-muted:#506e7d;--cs-green:#21845f;}
html body #view-crops #mpsCropSummary .mpc-summary-card{background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-management{background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-summary-card>.mp-icon-disc{background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-management>header>.mp-icon-disc{background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"]){background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"])>.mp-icon-disc{background:var(--cs-surface)!important;border-color:var(--cs-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpsCropSummary .mpc-summary-card>b{color:var(--cs-text)!important;}
html body #view-crops #mpsCropSummary .mpc-management>header h2{color:var(--cs-text)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"])>strong{color:var(--cs-text)!important;}
html body #view-crops #mpsCropSummary .mpc-summary-card>h3{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary .mpc-summary-card>p{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary .mpc-summary-card>footer{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary .mpc-management>header p{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"])>p{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary>.mpc-summary-source{color:var(--cs-muted)!important;}
html body #view-crops #mpsCropSummary .mpc-summary-card>.mp-icon-disc>.ov-icon{color:var(--cs-green)!important;}
html body #view-crops #mpsCropSummary .mpc-management>header>.mp-icon-disc>.ov-icon{color:var(--cs-green)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"])>.mp-icon-disc>.ov-icon{color:var(--cs-green)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"]) .mpc-link-action{color:var(--cs-green)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"]){color:var(--cs-text)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--cs-green)!important;}
html body #view-crops #mpsCropSummary .mpc-management-link:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--cs-green)!important;}

/*CROPS_PHENOLOGY_CALENDAR_THEME*/
html body #view-crops #mpcPhenology{--cp-surface:var(--glass);--cp-line:#294b58;--cp-text:#e8f2f6;--cp-muted:#9fb7c2;--cp-green:#67cda7;}
html[data-theme="day"] body #view-crops #mpcPhenology{--cp-line:#cbdde3;--cp-text:#173542;--cp-muted:#506e7d;--cp-green:#21845f;}
html body #view-crops #mpcPhenology .mpc-phen-card{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-parameters{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-card>.mp-icon-disc{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-parameters .mpc-phen-parameter-grid>article{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-timeline{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-weather .ov-panel{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .stage:not(.now):not(.done){background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .stage:not(.now):not(.done)>.ic{background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .ph-info:not(:disabled):not([aria-disabled="true"]){background:var(--cp-surface)!important;border-color:var(--cp-line)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcPhenology .mpc-phen-card>b{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .mpc-phen-parameters h2{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .mpc-phen-parameters .mpc-phen-parameter-grid b{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .ov-panel-title>span[data-mps-text]{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .mpc-phen-weather .ov-panel-title{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .stage:not(.now):not(.done)>b{color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .ph-info:not(:disabled):not([aria-disabled="true"]){color:var(--cp-text)!important;}
html body #view-crops #mpcPhenology .mpc-phen-card>h3{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-card>p{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-card>footer{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-parameters header p{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-parameters .mpc-phen-parameter-grid span{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology #mpcPhenologyMethod{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology #mpcPhenologyStatus{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology>.mpc-phen-source{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-weather .kpi>span{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-weather .kpi>em{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology #wxNote{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology #stageNote{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .stage:not(.now):not(.done)>span{color:var(--cp-muted)!important;}
html body #view-crops #mpcPhenology .mpc-phen-card>.mp-icon-disc>.ov-icon{color:var(--cp-green)!important;}
html body #view-crops #mpcPhenology .mpc-phen-parameters .ov-icon{color:var(--cp-green)!important;}
html body #view-crops #mpcPhenology .mpc-phen-timeline>.ov-panel-title>.ov-icon{color:var(--cp-green)!important;}
html body #view-crops #mpcPhenology .stage:not(.now):not(.done)>.ic{color:var(--cp-green)!important;}
html body #view-crops #mpcPhenology .ph-info:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--cp-green)!important;}
html body #view-crops #mpcPhenology .ph-info:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--cp-green)!important;}

/*CROPS_IRRIGATION_CALENDAR_THEME*/
html body #view-crops #mpCommonIrrigation{--ci-surface:var(--glass);--ci-line:#294b58;--ci-text:#e8f2f6;--ci-muted:#9fb7c2;--ci-green:#67cda7;font-family:Arial,Helvetica,sans-serif;}
html[data-theme="day"] body #view-crops #mpCommonIrrigation{--ci-line:#cbdde3;--ci-text:#173542;--ci-muted:#506e7d;--ci-green:#21845f;}
html body #view-crops #mpcIrrigation{--ci-surface:var(--glass);--ci-line:#294b58;--ci-text:#e8f2f6;--ci-muted:#9fb7c2;--ci-green:#67cda7;font-family:Arial,Helvetica,sans-serif;}
html[data-theme="day"] body #view-crops #mpcIrrigation{--ci-line:#cbdde3;--ci-text:#173542;--ci-muted:#506e7d;--ci-green:#21845f;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails{--ci-surface:var(--glass);--ci-line:#294b58;--ci-text:#e8f2f6;--ci-muted:#9fb7c2;--ci-green:#67cda7;font-family:Arial,Helvetica,sans-serif;}
html[data-theme="day"] body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails{--ci-line:#cbdde3;--ci-text:#173542;--ci-muted:#506e7d;--ci-green:#21845f;}
html body[data-mps-crop="irrigation"] #view-crops #mpcInstalledDetails{--ci-surface:var(--glass);--ci-line:#294b58;--ci-text:#e8f2f6;--ci-muted:#9fb7c2;--ci-green:#67cda7;font-family:Arial,Helvetica,sans-serif;}
html[data-theme="day"] body[data-mps-crop="irrigation"] #view-crops #mpcInstalledDetails{--ci-line:#cbdde3;--ci-text:#173542;--ci-muted:#506e7d;--ci-green:#21845f;}
html body #view-crops #mpCommonIrrigation .mps-panel{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpCommonIrrigation .mp-icon-disc{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-nested{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-answer strong{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpCommonIrrigation #mpIrReload:not(:disabled){background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpcIrrigation .mps-panel{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpcIrrigation .mps-card{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpcIrrigation .mp-icon-disc{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpcIrrigation .mpc-irrigation-data-grid>article{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpcIrrigation .mpc-irrigation-result{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .ov-panel{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .cell{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcInstalledDetails .cv-card{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcInstalledDetails .cv-heading{background:var(--ci-surface)!important;border-color:var(--ci-line)!important;box-shadow:none!important;}
html body #view-crops #mpCommonIrrigation h3{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation h4{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation h2{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-value{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation .mpc-reading-card>b{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-equation strong{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation .mpc-irrigation-equation b{color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation p{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation small{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation footer{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation .mpc-irrigation-note{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation .mpc-irrigation-equation span{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-equation span{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-method li{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation .ov-icon{color:var(--ci-green)!important;}
html body #view-crops #mpcIrrigation h3{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation h4{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation h2{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation .mp-ir-value{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation .mpc-reading-card>b{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation .mp-ir-equation strong{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation .mpc-irrigation-equation b{color:var(--ci-text)!important;}
html body #view-crops #mpcIrrigation p{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation small{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation footer{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation .mpc-irrigation-note{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation .mpc-irrigation-equation span{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation .mp-ir-equation span{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation .mp-ir-method li{color:var(--ci-muted)!important;}
html body #view-crops #mpcIrrigation .ov-icon{color:var(--ci-green)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-method summary{color:var(--ci-green)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-method a{color:var(--ci-green)!important;}
html body #view-crops #mpCommonIrrigation .mp-ir-answer span{color:var(--ci-green)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .ov-panel-title{color:var(--ci-text)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .cell b{color:var(--ci-text)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .note{color:var(--ci-muted)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .panel-sub{color:var(--ci-muted)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .cell>span{color:var(--ci-muted)!important;}
html body[data-mps-crop="irrigation"] #view-crops #mpcIrrNativeDetails .ph-foot{color:var(--ci-muted)!important;}
html body #view-crops #mpCommonIrrigation #mpIrReload:not(:disabled){color:var(--ci-text)!important;}
html body #view-crops #mpCommonIrrigation #mpIrReload:not(:disabled):focus-visible{outline-color:var(--ci-green)!important;}

/*IRRIGATION_FORECAST_BADGES_TOP_RIGHT*/
html body #view-crops #mpCommonIrrigation .mp-ir-summary>.mp-ir-tile{position:relative}
html body #view-crops #mpCommonIrrigation .mp-ir-summary>.mp-ir-tile .mp-ir-badge-space{display:inline-block;font-size:9px;line-height:1.2;padding:3px 7px;border:1px solid currentColor;border-radius:20px;white-space:nowrap;grid-row:2;justify-self:start;visibility:hidden;pointer-events:none}
html body #view-crops #mpCommonIrrigation .mp-ir-summary>.mp-ir-tile h3:is(#mpIrTodayLabel,#mpIrRainLabel,#mpIrEtcLabel){position:relative;top:18px}
html body #view-crops #mpCommonIrrigation .mp-ir-summary>.mp-ir-tile .mp-ir-badge{position:absolute;grid-row:auto;grid-column:auto;top:10px;right:10px;margin:0;justify-self:auto}

/*CROPS_NUTRITION_CALENDAR_THEME*/
html body #view-crops #mpcNutrition{--cn-surface:var(--glass);--cn-line:#294b58;--cn-text:#e8f2f6;--cn-muted:#9fb7c2;--cn-green:#67cda7;}
html[data-theme="day"] body #view-crops #mpcNutrition{--cn-line:#cbdde3;--cn-text:#173542;--cn-muted:#506e7d;--cn-green:#21845f;}
html body #view-crops #mpcNutrition{font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcNutrition .mpn-plan{background:var(--cn-surface)!important;border-color:var(--cn-line)!important;box-shadow:none!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr[data-nutrition-plan]:not(.mpc-nutrition-current){background:var(--cn-surface)!important;border-color:var(--cn-line)!important;box-shadow:none!important;}
html body #view-crops #mpcNutrition .mpn-reviewed-reference{background:var(--cn-surface)!important;border-color:var(--cn-line)!important;box-shadow:none!important;}
html body #view-crops #mpcNutrition #mpcNutritionBenchmarkRows td[data-nutrient]{background:var(--cn-surface)!important;border-color:var(--cn-line)!important;box-shadow:none!important;}
html body #view-crops #mpcNutrition .mpn-plan>header{border-color:var(--cn-line)!important;}
html body #view-crops #mpcNutrition .mpc-nutrition-reference{border-color:var(--cn-line)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan td:nth-child(3){border-color:var(--cn-line)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr[data-nutrition-branch] th{background:var(--cn-surface)!important;border-color:var(--cn-green)!important;color:var(--cn-text)!important;}
html body #view-crops #mpcNutrition h2{color:var(--cn-text)!important;}
html body #view-crops #mpcNutrition .mpn-reviewed-reference h3{color:var(--cn-text)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr[data-nutrition-plan]:not(.mpc-nutrition-current) td:first-child{color:var(--cn-text)!important;}
html body #view-crops #mpcNutrition #mpcNutritionBenchmarkRows td[data-nutrient]{color:var(--cn-text)!important;}
html body #view-crops #mpcNutrition header p{color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition .mpc-nutrition-note{color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition .mpc-nutrition-reference>summary{color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr:not(.mpc-nutrition-current) td:nth-child(3){color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition #mpcNutritionBenchmarkRows td:first-child{color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition #mpcNutritionBenchmarkRows td[data-nutrient]::after{color:var(--cn-muted)!important;}
html body #view-crops #mpcNutrition .mpn-plan>header>.ov-icon{color:var(--cn-green)!important;}
html body #view-crops #mpcNutrition .mpn-stage-label .ov-icon{color:var(--cn-green)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr[data-nutrition-plan]::before{color:var(--cn-green)!important;}
html body #view-crops #mpcNutrition #mpcNutritionPlan tr:not(.mpc-nutrition-current) td:nth-child(2){color:var(--cn-green)!important;}
html body #view-crops #mpcNutrition #mpcNutritionBenchmarkRows td[data-nutrient]::before{color:var(--cn-green)!important;}
html body #view-crops #mpcNutrition .mpc-nutrition-reference a{color:var(--cn-green)!important;}

/*CROPS_PROTECTION_CALENDAR_THEME*/
html body #view-crops #mpcProtection{--pt-surface:var(--glass);--pt-opaque:#102a36;--pt-line:#294b58;--pt-text:#e8f2f6;--pt-muted:#9fb7c2;--pt-green:#67cda7;font-family:Arial,Helvetica,sans-serif;color:var(--pt-text);}
html[data-theme="day"] body #view-crops #mpcProtection{--pt-opaque:#fff;--pt-line:#cbdde3;--pt-text:#173542;--pt-muted:#506e7d;--pt-green:#21845f;}
html body #view-crops #mpcProtectionDialog{--pt-surface:var(--glass);--pt-opaque:#102a36;--pt-line:#294b58;--pt-text:#e8f2f6;--pt-muted:#9fb7c2;--pt-green:#67cda7;font-family:Arial,Helvetica,sans-serif;color:var(--pt-text);}
html[data-theme="day"] body #view-crops #mpcProtectionDialog{--pt-opaque:#fff;--pt-line:#cbdde3;--pt-text:#173542;--pt-muted:#506e7d;--pt-green:#21845f;}
html body #view-crops #mpcProtection .mps-panel{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtection .mp-icon-disc{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtection .mpc-protection-conditions article{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtection .mpc-protection-summary article{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtectionDialog .mpc-protection-detail-grid>section{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtectionDialog [data-prot-section="treatment"]{background:var(--pt-surface)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtectionDialog{background:var(--pt-opaque)!important;border-color:var(--pt-line)!important;box-shadow:none!important;}
html body #view-crops #mpcProtectionDialog>header{background:var(--pt-opaque)!important;}
html body #view-crops #mpcProtectionDialog .mpc-protection-references{border-color:var(--pt-line)!important;}
html body #view-crops #mpcProtectionDialog .mpc-treatment-table th{border-color:var(--pt-line)!important;}
html body #view-crops #mpcProtectionDialog .mpc-treatment-table td{border-color:var(--pt-line)!important;}
html body #view-crops #mpcProtection .mps-panel>header h2{color:var(--pt-text)!important;}
html body #view-crops #mpcProtection .mpc-protection-conditions h3{color:var(--pt-text)!important;}
html body #view-crops #mpcProtection .mpc-protection-conditions b{color:var(--pt-text)!important;}
html body #view-crops #mpcProtection .mpc-protection-summary b{color:var(--pt-text)!important;}
html body #view-crops #mpcProtectionDialog>header h2{color:var(--pt-text)!important;}
html body #view-crops #mpcProtection .mps-panel>header p{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection #mpcProtectionStatus{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection #mpcProtectionEvaluation{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mps-panel>p{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mpc-protection-summary span{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mpc-protection-limit{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mpc-target-latin{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mpc-target-selected{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtectionDialog .mpc-protection-detail-grid p{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtectionDialog footer p{color:var(--pt-muted)!important;}
html body #view-crops #mpcProtection .mp-icon-disc>.ov-icon{color:var(--pt-green)!important;}
html body #view-crops #mpcProtection .mpc-protection-conditions .ov-icon{color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog .mpc-protection-detail-grid h3{color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog footer h3{color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog [data-prot-section="treatment"] h3{color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog .mpc-protection-references a{color:var(--pt-green)!important;}
html body #view-crops #mpcProtection [data-prot-filter]:not(:disabled):not([aria-disabled="true"]){background:var(--pt-surface)!important;border-color:var(--pt-line)!important;color:var(--pt-text)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcProtection [data-prot-filter]:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--pt-green)!important;color:var(--pt-green)!important;}
html body #view-crops #mpcProtection [data-prot-filter]:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--pt-green)!important;}
html body #view-crops #mpcProtection .mps-action:not(:disabled):not([aria-disabled="true"]){background:var(--pt-surface)!important;border-color:var(--pt-line)!important;color:var(--pt-text)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcProtection .mps-action:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--pt-green)!important;color:var(--pt-green)!important;}
html body #view-crops #mpcProtection .mps-action:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog .mps-action:not(:disabled):not([aria-disabled="true"]){background:var(--pt-surface)!important;border-color:var(--pt-line)!important;color:var(--pt-text)!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif;}
html body #view-crops #mpcProtectionDialog .mps-action:not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--pt-green)!important;color:var(--pt-green)!important;}
html body #view-crops #mpcProtectionDialog .mps-action:not(:disabled):not([aria-disabled="true"]):focus-visible{outline-color:var(--pt-green)!important;}
html body #view-crops #mpcProtection [data-prot-filter]:not(:disabled):not([aria-disabled="true"])[aria-pressed="true"]{border-color:var(--pt-green)!important;color:var(--pt-green)!important;}
