/* Landscape palette across the platform; semantic chart colours remain untouched. */
:root{--soil:#8b4927;--crop-green:#2c7550;--harvest:#d8a129;--sage-bold:#95b18c}
main{--screen-colour:var(--crop-green);--screen-tint:#edf4eb;--screen-ink:#fff;--screen-dark:#20583c}
main[data-journey="A"]{--screen-colour:var(--soil);--screen-tint:#faf0e8;--screen-dark:#753d20}
main[data-journey="C"]{--screen-colour:var(--harvest);--screen-tint:#fff7df;--screen-ink:#302b16;--screen-dark:#71500d}
.route-A,.directory-tool[data-journey="A"],.quick-tool-row[data-journey="A"]{--tile-colour:var(--soil);--tile-tint:#faf0e8;--tile-ink:#fff}
.route-B,.directory-tool[data-journey="B"],.quick-tool-row[data-journey="B"]{--tile-colour:var(--crop-green);--tile-tint:#edf4eb;--tile-ink:#fff}
.route-C,.directory-tool[data-journey="C"],.quick-tool-row[data-journey="C"]{--tile-colour:var(--harvest);--tile-tint:#fff7df;--tile-ink:#302b16}
/* Route navigation remains compact, with consistent filled badges. */
.transit-journey .route-stop{background:var(--tile-tint);border:1px solid #d8ddd1;border-top:5px solid var(--tile-colour);box-shadow:0 3px 9px #233d3109}
.transit-journey .route-stop.current-route{background:var(--tile-colour);color:var(--tile-ink);border-color:var(--tile-colour)}
.transit-journey .route-stop-copy small{color:inherit;opacity:.9}
.transit-journey .station-circle{border:0;background:var(--tile-colour);color:var(--tile-ink);border-radius:10px;font-size:17px;width:40px;height:40px;flex-basis:40px}
.transit-journey .current-route>.station-circle{background:#ffffff26;border:1px solid #ffffff80;outline:none}
.transit-journey .current-route .station-saved{color:inherit}
#site-nav .nav-route>.station-circle{background:var(--tile-colour);color:var(--tile-ink);border:0;border-radius:8px}
#site-nav a.active:not(.nav-route){background:#e2eddf;border-left:4px solid var(--crop-green)}
#site-nav .nav-route.active{background:var(--tile-colour);color:var(--tile-ink)}
#site-nav .nav-route.active>span{color:inherit}
#site-nav .nav-route.active>.station-circle{background:#ffffff26}
/* Solid title banners and subtle field contours echo the introduction. */
.tool-title-row,main>.report>h1,main>h1,.tool-introduction>h1{background:var(--screen-colour);color:var(--screen-ink);border-radius:17px;padding:24px;position:relative;isolation:isolate;overflow:hidden;box-shadow:0 5px 15px #233d3110}
.tool-title-row::after{content:"";position:absolute;right:-60px;bottom:-95px;width:360px;height:175px;border:2px solid #ffffff27;border-radius:50%;box-shadow:0 -20px 0 -18px #ffffff35,0 -40px 0 -38px #ffffff35;transform:rotate(-12deg);z-index:-1;pointer-events:none}
.tool-title-row h1{color:inherit;overflow-wrap:anywhere}
.tool-title-row>.tool-icon-tile{background:#ffffff26;color:inherit;border:1px solid #ffffff70;border-radius:14px;width:62px;height:62px;flex-basis:62px}
.tool-title-row>.tool-icon-tile .ui-icon{width:34px;height:34px}
main>.eyebrow,.tool-introduction>.eyebrow{color:var(--screen-dark);font-weight:800}
.tool-purpose>div{background:var(--screen-tint);border:1px solid #d8dfd2;border-top:4px solid var(--screen-colour);border-radius:12px;padding:18px 20px}
.tool-purpose dt{color:var(--screen-dark);font-size:15px}
.tool-limit{background:#f0f3ec;border-left:5px solid var(--sage-bold);border-radius:0 10px 10px 0}
.tool-limit.concept-limit{background:#fff3d8;border-color:#a66c0a;color:#68480d}
.tool-shortcuts{display:flex;flex-wrap:wrap;padding:13px 16px;border-radius:12px;background:var(--screen-tint);gap:14px}
.tool-shortcuts a{color:var(--screen-dark)}
/* Clear section boundaries while preserving white data-entry surfaces. */
main .card:not(.introduction-step):not(.crop-summary-card){border-left-color:#d5decf;border-right-color:#d5decf;border-bottom-color:#d5decf;border-radius:16px;box-shadow:0 3px 12px #233d3108}
.form-section,.nutrient-group,.risk-factor{border-top:4px solid var(--screen-colour)}
.card>h2,.form-section>h2,.nutrient-group>h2,.risk-factor>legend{color:var(--screen-dark);font-weight:750}
.card>h2{border-left:5px solid var(--screen-colour);padding-left:12px;line-height:1.35}
.card.introduction-step>h3{border:0}
main details.card>summary{color:var(--screen-dark);background:var(--screen-tint);padding:13px 16px;border-radius:9px;font-weight:700}
main details.card[open]>summary{margin-bottom:18px}
main input:focus,main select:focus,main textarea:focus{border-color:var(--screen-dark)}
main input[type="checkbox"],main input[type="radio"]{accent-color:var(--screen-dark)}
main button:not(.secondary):not(.danger):not(.text-button):not(.heat button):not(.nutrient-modes button):not(.crop-tabs button):not(.srw-steps button),main .button:not(.secondary):not(.danger){background:var(--screen-colour);border-color:var(--screen-colour);color:var(--screen-ink);font-weight:700}
main .secondary{border-color:var(--screen-dark);color:var(--screen-dark);background:#fff}
main .secondary:hover{background:var(--screen-tint)}
main .danger{color:#933d2d;background:#fff6f2;border-color:#d1a69b}
main :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #243d31;outline-offset:3px}
/* Results: gold framing, neutral metric values, original chart scales. */
.result-card,.nutrient-result{border-top:5px solid var(--harvest);background:#fffdf6}
.result-card>h2,.nutrient-result>h2{border-left-color:var(--harvest);color:#59421c}
.metric{border:1px solid #d4ded0;border-top:3px solid #95b18c;border-radius:11px;background:#f1f6ed;padding:16px}
.metric.primary{background:#245f41;color:#fff;border-color:#245f41;border-top:5px solid var(--harvest);box-shadow:0 3px 10px #233d3110}
.metric.primary small{color:#fff}.metric:not(.primary) strong{color:#233d31}
main table:not(.heat) thead th{background:#e5eee0;color:#244333;border-bottom:2px solid #95b18c}
main table:not(.heat){border-radius:8px}
/* Reusable crop context, record cards and directory tiles. */
.crop-selection{background:#fff9e9;border-top:5px solid var(--harvest)}
.crop-selection h2{border-left-color:var(--harvest);color:#644b19}
.crop-selection .scope-option:has(input:checked){background:#e7f0e3;border:2px solid #2c7550}
.crop-tabs button[aria-pressed="true"]{background:#2c7550;color:#fff;border-color:#2c7550}
.nutrient-modes button[aria-pressed="true"]{background:#2c7550;color:#fff;border-color:#2c7550;box-shadow:inset 0 -4px #d8a129}
.nutrient-modes button[aria-pressed="true"] small{color:#fff}
.workspace-stations a{background:#faf0e8;border:1px solid #d8baaa;border-top:4px solid #8b4927;color:#753d20}
.workspace-stations .station-circle{background:#8b4927;color:#fff;border:0;border-radius:8px}
.saved-card,.record-row,.risk-saved{border-left:5px solid var(--screen-colour);border-radius:12px;background:#fff;padding:18px}
.quick-tool-row,.directory-tool{border-top:5px solid var(--tile-colour,var(--crop-green));background:var(--tile-tint,#edf4eb);border-radius:15px;min-width:0}
.quick-tool-row>.tool-icon-tile,.directory-card-heading>.tool-icon-tile{background:var(--tile-colour,var(--crop-green));color:var(--tile-ink,#fff);border-radius:12px}
.quick-tool-row>.button.secondary,.directory-tool>.button.secondary{background:var(--tile-colour,var(--crop-green));color:var(--tile-ink,#fff);border-color:var(--tile-colour,var(--crop-green))}
.quick-tool-row .tool-code{background:#fff;color:#344b3b;font-weight:800}
.quick-tool-search,.directory-controls{background:#e7efdf;border-top:5px solid #2c7550}
.timing-group>.section-head,.directory-group>.section-head{border-bottom:3px solid #d8a129;padding-bottom:16px}
.journey-next{background:var(--screen-tint);border-top:5px solid var(--screen-colour)}
.collection-counts{background:#edf4e8;border-radius:12px;padding:16px}
.empty{border:2px dashed #95b18c;background:#f4f7ef;border-radius:14px}
.reference-detail{border-left:4px solid #95b18c;padding-left:14px}
/* Preserve readable alerts and scientific status qualifications. */
.warn,.concept-label,.nutrient-limit{background:#fff3d8;color:#68480d;border-left-color:#a66c0a}
.error{background:#fff0e9;color:#8c3023;border-color:#c46b53}
@media(max-width:680px){
 .tool-title-row,main>h1,.tool-introduction>h1{padding:20px 17px;border-radius:14px}
 .tool-title-row{gap:12px;align-items:center}.tool-title-row h1{font-size:27px}
 .tool-title-row>.tool-icon-tile{width:46px;height:46px;flex-basis:46px}.tool-title-row>.tool-icon-tile .ui-icon{width:27px;height:27px}
 .tool-purpose>div{padding:16px}.tool-shortcuts{padding:12px;gap:12px}
 .transit-journey .route-stop{border-top-width:3px}.transit-journey .station-circle{width:34px;height:34px;flex-basis:34px}
 .saved-card,.record-row,.risk-saved{padding:15px}.metric{padding:14px}
}
@media print{
 .tool-title-row,main>h1,.tool-introduction>h1{background:#fff;color:#111;box-shadow:none;border:1px solid #aaa;padding:12px}
 .tool-title-row::after{display:none}.tool-title-row>.tool-icon-tile{color:#233d31;border-color:#aaa}
 main .card,.tool-purpose>div,.metric,.metric.primary,.result-card,.nutrient-result{background:#fff;color:#111;box-shadow:none}
 .metric.primary small,.metric.primary strong{color:#111}.tool-purpose>div{border-color:#aaa}.tool-shortcuts{display:none}
}
/* Half-strength landscape colours on the six starting-question cards. */
.introduction-questions .question-link:nth-child(3n+1){--question-wash:rgba(139,73,39,.5);--question-accent:#753d20}
.introduction-questions .question-link:nth-child(3n+2){--question-wash:rgba(44,117,80,.5);--question-accent:#20583c}
.introduction-questions .question-link:nth-child(3n){--question-wash:rgba(216,161,41,.5);--question-accent:#71500d}
.introduction-questions .question-link{background:linear-gradient(var(--question-wash),var(--question-wash)),#fff;border:1px solid var(--question-accent);border-left-width:5px;box-shadow:0 3px 10px #233d310a}
.introduction-questions .question-link strong,.introduction-questions .question-link>span>span{color:#233d31}
.introduction-questions .question-link>.ui-icon{color:var(--question-accent)}
.introduction-questions .question-link:hover{border-color:var(--question-accent);box-shadow:0 5px 14px #233d3120}
@media print{.introduction-questions .question-link{background:#fff;box-shadow:none}}
/* Related information cards use the same half-strength background treatment. */
main{--screen-wash:rgba(44,117,80,.5)}
main[data-journey="A"]{--screen-wash:rgba(139,73,39,.5)}
main[data-journey="C"]{--screen-wash:rgba(216,161,41,.5)}
.route-A,.directory-tool[data-journey="A"],.quick-tool-row[data-journey="A"]{--tile-wash:rgba(139,73,39,.5)}
.route-B,.directory-tool[data-journey="B"],.quick-tool-row[data-journey="B"]{--tile-wash:rgba(44,117,80,.5)}
.route-C,.directory-tool[data-journey="C"],.quick-tool-row[data-journey="C"]{--tile-wash:rgba(216,161,41,.5)}
.quick-tool-row,.directory-tool{background:linear-gradient(var(--tile-wash,rgba(44,117,80,.5)),var(--tile-wash,rgba(44,117,80,.5))),#fff}
.quick-tool-row .quick-tool-copy p,.quick-tool-row .tool-stage,.directory-tool p{color:#233d31}
.journey-next{background:linear-gradient(var(--screen-wash),var(--screen-wash)),#fff}
.journey-next p{color:#233d31}
.introduction-benefits{background:transparent;border:0;padding:0;gap:18px}
.introduction-benefits article{padding:24px;border-radius:15px;border:1px solid var(--benefit-accent);border-top-width:5px;background:linear-gradient(var(--benefit-wash),var(--benefit-wash)),#fff}
.introduction-benefits article:nth-child(1){--benefit-wash:rgba(139,73,39,.5);--benefit-accent:#753d20}
.introduction-benefits article:nth-child(2){--benefit-wash:rgba(44,117,80,.5);--benefit-accent:#20583c}
.introduction-benefits article:nth-child(3){--benefit-wash:rgba(216,161,41,.5);--benefit-accent:#71500d}
.introduction-benefits article>.ui-icon{color:var(--benefit-accent)}
.introduction-benefits article h2,.introduction-benefits article p{color:#233d31}
@media print{.quick-tool-row,.directory-tool,.journey-next,.introduction-benefits article{background:#fff}}
.quick-tool-row .quick-tool-copy h2 a,.directory-tool .directory-card-heading h3 a{color:#233d31}
/* Seasonal directory colours follow timing, including tools repeated across stages. */
.timing-group[data-timing-stage="before-seeding"] .directory-tool{--tile-colour:#8b4927;--tile-tint:#faf0e8;--tile-ink:#fff;--tile-wash:rgba(139,73,39,.5)}
.timing-group[data-timing-stage="after-harvest"] .directory-tool{--tile-colour:#d8a129;--tile-tint:#fff7df;--tile-ink:#302b16;--tile-wash:rgba(216,161,41,.5)}
.timing-group[data-timing-stage="before-seeding"]>.section-head{border-bottom-color:#8b4927}
