/* AgroTrag v8: guided, readable controls for non-technical farmers of all ages. */
.guided-job { max-width:610px; max-height:90dvh; overflow-y:auto; overscroll-behavior:contain; }
.guided-job .wizard-panel[hidden],
.guided-job .field[hidden],.guided-job .advanced-fields[hidden]{display:none!important}
.guided-job .wizard-panel { padding:2px 1px 8px; }
.wizard-progress { display:block; margin:3px 0 8px; font-size:13px; font-weight:800; color:#33734d; }
.wizard-progress-track { height:6px; width:100%; overflow:hidden; background:#e6f1e3; border-radius:99px; margin-bottom:24px; }
.wizard-progress-track>span { display:block; height:100%; width:33%; transition:width .2s ease; background:#21834b; border-radius:inherit; }
.wizard-heading { font-size:clamp(22px,3.8vw,27px); line-height:1.2; font-weight:900; color:#1e4c32; margin:0 0 9px; letter-spacing:-.45px; }
.wizard-heading:focus { outline:none; }
.wizard-hint { color:#617b69; font-size:15px; line-height:1.52; margin:0 0 20px; }
.guided-job .field { margin:0 0 19px; }
.guided-job .field label { display:block; color:#2a5138; font-size:15px; font-weight:800; margin-bottom:9px; }
.guided-job .field input,.guided-job .field select,.guided-job .field textarea { min-height:52px; font-size:16px; border-radius:12px; }
.guided-job .job-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-height:min(52dvh,470px); overflow-y:auto; padding:2px; }
.guided-job .job-choice { min-height:89px; background:#fff; padding:12px; border-radius:14px; font-size:14px; line-height:1.3; }
.guided-job .job-choice span { font-size:27px; }
.guided-job .job-choice.chosen { background:#e4f3e5; border:2px solid #267f49; color:#165a34; }
.wizard-actions { display:flex; align-items:center; gap:10px; margin-top:20px; }
.wizard-next,.wizard-save { flex:1; min-height:57px; font-weight:850; font-size:16px; border-radius:13px; }
.wizard-back { min-height:51px; border:1px solid #d4e6d4; border-radius:12px; background:#fff; color:#376548; font-size:15px; font-weight:800; padding:10px 16px; cursor:pointer; }
.guided-job .wizard-panel[data-wizard-panel="1"] .wizard-next { margin-top:14px; width:100%; }
.selected-production { display:flex; align-items:center; min-height:40px; border-radius:11px; padding:10px 12px; background:#f1f8ed; color:#326744; font-size:14px; font-weight:750; margin:-4px 0 13px; }
.job-review { display:grid; gap:0; border:1px solid #dce9d9; background:#f3faf0; border-radius:15px; overflow:hidden; margin:0 0 20px; }
.job-review>div { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:5px 14px; padding:12px 15px; border-bottom:1px solid #e1eddf; }
.job-review>div:last-child { border-bottom:0; }
.job-review span { color:#657d6b; font-size:13px; }
.job-review strong { font-size:15px; color:#195938; font-weight:850; overflow-wrap:anywhere; }
.wizard-save-note { text-align:center; font-size:12px; color:#6e8673; line-height:1.5; margin:15px 0 0; }
.comfort-option { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; border:1px solid #c9e2cb; background:#f0f8ee; border-radius:16px; padding:18px; margin:12px 0 18px; }
.comfort-option strong { display:block; color:#295838; font-size:17px; font-weight:850; }
.comfort-option p { margin:5px 0 0; color:#66806a; font-size:13px; line-height:1.4; }
.comfort-option button { min-height:50px; min-width:102px; background:#176c40; color:white; border:none; border-radius:12px; font-size:15px; font-weight:850; cursor:pointer; }
.home-help { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:7px; border:1px solid #d8e9d9; background:#f4faf1; padding:14px 16px; border-radius:13px; font-size:13px; margin:10px 0 18px; }
.home-help button { color:#216b42; background:transparent; border:0; padding:10px 0; font-size:13px; text-decoration:underline; font-weight:800; cursor:pointer; }
.farmer-help { display:grid; gap:13px; max-width:770px; margin:18px auto 24px; }
.farmer-help-step { display:flex; align-items:flex-start; gap:18px; background:#fff; border:1px solid #deebda; border-radius:17px; padding:21px; }
.farmer-help-icon { display:grid; place-items:center; flex-shrink:0; width:58px; height:58px; background:#ecf7e9; border-radius:15px; font-size:29px; }
.farmer-help-step small { color:#3b8a5c; font-size:11px; font-weight:850; letter-spacing:1px; }
.farmer-help-step h2 { color:#244d34; font-size:19px; margin:5px 0 8px; }
.farmer-help-step p { color:#68816b; font-size:14px; line-height:1.55; margin:0 0 15px; }
.farmer-help-step .button { min-height:48px; }
.farmer-help-questions { max-width:770px; margin:25px auto; }
.farmer-help-questions h2 { font-size:22px; color:#245637; }
.farmer-help-questions details { background:#fff; border:1px solid #dce9db; margin:10px 0; padding:0 15px; border-radius:12px; }
.farmer-help-questions summary { cursor:pointer; min-height:55px; display:flex; align-items:center; color:#28563b; font-size:15px; font-weight:850; padding:12px 0; }
.farmer-help-questions details p { margin:0; padding:0 0 15px; color:#617e69; font-size:14px; line-height:1.6; }
:where(.wizard-back,.wizard-next,.wizard-save,.job-choice,.comfort-option button,.home-help button):focus-visible { outline:3px solid #3e9263; outline-offset:3px; }
/* Comfort view: retain every feature, but make frequently-used controls easier to see. */
.agro-comfort body { font-size:18px; }
.agro-comfort .content,.agro-comfort .main { line-height:1.6; }
.agro-comfort :is(.home-do-job,.home-secondary,.production-option,.production-record,.more-link,.recent-chip,.plot-tile,.sheet-button) { min-height:96px; }
.agro-comfort :is(.home-do-job strong,.home-secondary strong,.production-option strong,.production-record strong,.more-link,.record-fact dd,.record-fact dt) { font-size:19px; }
.agro-comfort :is(.home-do-job small,.home-secondary small,.production-option small,.production-record small,.help-flow-card p,.farmer-help-step p) { font-size:16px; }
.agro-comfort :is(.button,.nav button,.mobilebar button,.wizard-back,.filterchip,.entity-controls button) { font-size:16px; min-height:54px; }
.agro-comfort :is(input,select,textarea) { font-size:18px; min-height:55px; }
.agro-comfort :is(.job-choice,.filterchip,.quick-x) { min-height:60px; }
.agro-comfort :is(.wizard-heading,.record-banner h1) { font-size:29px; }
.agro-comfort .job-choice { font-size:17px; min-height:110px; }
.agro-comfort .wizard-hint { font-size:17px; }
@media(max-width:760px){
 .guided-job { max-height:90dvh; padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
 .wizard-heading { font-size:23px; }
 .wizard-hint { font-size:15px; }
 .wizard-actions { flex-wrap:wrap; }
 .guided-job .job-choice { min-height:90px; }
 .farmer-help-step { padding:16px; gap:12px; }
 .farmer-help-icon { width:46px; height:46px; font-size:24px; }
 .farmer-help-step h2 { font-size:18px; }
 .agro-comfort .job-choices { gap:7px; }
}
@media(prefers-reduced-motion:reduce) { .wizard-progress-track>span { transition:none; } }

/* No nested scrolling inside the job list: older users scroll one surface only. */
.guided-job .job-choices { max-height:none; overflow:visible; }
@media(max-width:760px){
 .agro-comfort .main { padding-bottom:calc(185px + env(safe-area-inset-bottom)); }
 .agro-comfort .wizard-actions { flex-direction:column-reverse; align-items:stretch; }
 .agro-comfort .wizard-actions>* { width:100%; flex:auto; }
}
