/* Hide the scrollbar chrome. Native wheel, touch, and keyboard scrolling remain available. */
:where(html,body,body *){scrollbar-width:none!important}
::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
.harvest-form .hf-field{grid-template-rows:auto minmax(44px,auto);align-content:start;gap:6px}
.harvest-form .hf-field>input:not([type=file]),.harvest-form .hf-field .tc-trigger,.harvest-form .hf-field select:not(.tc-native){height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;border-radius:9px!important;margin:0!important;font:inherit;font-weight:450}
.harvest-form .hf-field .tc-trigger{padding-block:0!important;display:flex;align-items:center;line-height:1.2}
.harvest-form .hf-field .tc-select{margin:0!important;align-self:start;min-width:0}
.harvest-form .hf-field .tc-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:920px){
.harvest-form[data-kind=mowing]>.hf-section:first-child>.hf-grid{grid-template-columns:1.15fr 1fr 1.18fr .63fr}
.harvest-form[data-kind=maize]>.hf-section:first-child>.hf-grid{grid-template-columns:1.18fr 1fr 1.04fr}
.harvest-form[data-kind=mowing] .hf-point-head+.hf-grid{grid-template-columns:1.06fr 1.42fr .7fr}
.harvest-form[data-kind=maize] .hf-point-head+.hf-grid{grid-template-columns:1fr 1.35fr}
}
@media (min-width:681px) and (max-width:919px){.harvest-form>.hf-section:first-child>.hf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.harvest-form .fw-card{margin-top:16px;padding:clamp(14px,2vw,23px);border:1px solid #bcdbcd;border-radius:14px;background:#fff;color:#163b32;max-width:900px}
.harvest-form .fw-card h3{margin:0 0 7px;color:#103952;font-size:23px}
.harvest-form .fw-tabs,.harvest-form .fw-days,.harvest-form .fw-legend{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0}
.harvest-form .fw-tabs button,.harvest-form .fw-days button{border:1px solid #d1e2d8;background:#fff;color:#315847;padding:7px 11px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer}
.harvest-form .fw-card button[aria-pressed=true]{background:#e0f0e5;color:#17523c;border-color:#6ea487;font-weight:650}
.harvest-form .fw-legend{gap:14px}.fw-legend span{display:inline-flex;align-items:center;gap:5px}.fw-legend span:before{content:"";width:11px;height:5px;border-radius:3px}.fw-hi:before{background:#bc6d22}.fw-lo:before{background:#357aa0}.fw-rain:before{background:#4e9687}
.fw-plot svg{width:100%;height:auto;display:block}.harvest-form .fw-days button{padding:5px 8px;font-size:13px}.fw-detail{min-height:24px;font-weight:630}.fw-meta{color:#4a6157}
.harvest-result .mow-score{grid-column:1/-1;background:#edf6f1!important;border:1px solid #a8cbb6!important}
.mow-score .score-value{font-size:clamp(29px,4vw,46px);font-weight:710;line-height:1.1;color:#1d6445}.mow-score .score-value small{font-size:16px}
.mow-score ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:8px}
.mow-score li{padding:10px;border:1px solid #cfdfd5;border-radius:9px;background:#fff}
.mow-score li span,.mow-score li strong{display:block}.mow-score .score-weight{color:#49705e;font-size:13px}
.role-chains{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;min-width:0;list-style:none;padding:0}
.role-chain{padding:16px;border:1px solid #cbdfd4;border-radius:12px;background:#f5f9f6;color:#244939;min-width:0}
.role-chain h3{font:650 18px/1.3 inherit;font-size:18px;margin:0 0 8px;color:#123956}.role-chain p{font-size:14px;line-height:1.5;margin:5px 0;color:#3b594b}
.role-chain .rc-path{font-weight:620;color:#194d3b}.role-chain a{color:#155b41;text-decoration:underline;text-underline-offset:3px}
.cabinet-intro .role-chains,.auth-intro .role-chains,.welcome .role-chains{grid-template-columns:1fr}
@media(max-width:740px){.role-chains{grid-template-columns:1fr}.harvest-form .fw-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.harvest-form .fw-days button{padding:5px 2px}.harvest-form .fw-legend{font-size:12px}.fw-plot svg{min-height:108px}.harvest-form .fw-meta{font-size:13px}}


.harvest-form .fw-period{margin-top:14px;padding-top:14px;border-top:1px solid #d8e5de}
.harvest-form .fw-period h4{font-size:18px;margin:0 0 6px;color:#164a3f}
.harvest-form .fw-card .fw-days{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;flex-wrap:nowrap}
.harvest-form .fw-days button{min-width:0;min-height:42px;padding:4px 0;line-height:1.1}
.harvest-form .fw-days button span,.harvest-form .fw-days button small{display:block}.harvest-form .fw-days button small{font-size:10px;margin-top:3px}
.rc-tabs,.rc-tools{display:flex;flex-wrap:wrap;gap:8px 15px;margin:12px 0}.rc-tabs [aria-pressed=true]{background:#d8eddf!important;color:#1d553d!important}.auth .intro .role-chains{grid-template-columns:1fr}.auth .intro .role-chain{padding:10px 14px}
@media(max-width:520px){.harvest-form .fw-card{padding:9px}.harvest-form .fw-days button{font-size:12px}.harvest-form .fw-days button small{font-size:9px}.harvest-form .fw-period h4{font-size:17px}}

.fw-icon{display:block;width:30px;height:22px;max-width:100%;margin:3px auto}.harvest-form .fw-days .fw-temps{font-size:13px;font-weight:620}.harvest-form .fw-days .fw-daily-rh,.harvest-form .fw-days .fw-daily-rain{font-size:11px;margin-top:4px}.harvest-form .fw-auto h3{margin:0 0 8px}
@media(max-width:680px){.harvest-form .fw-days button .fw-temps,.harvest-form .fw-days button .fw-daily-rh,.harvest-form .fw-days button .fw-daily-rain{display:none}.fw-icon{width:23px;height:18px}}

/* Field measurements */
.harvest-form .hf-measure{border-top:1px solid var(--hf-line);padding-top:12px}.harvest-form .hf-measure h4,.harvest-form .hf-auto>h3{margin:0 0 10px;color:#184939;font-size:16px}
@media(min-width:920px){.harvest-form[data-kind=mowing] .hf-point-head+.hf-grid{grid-template-columns:1.3fr 1fr}.harvest-form[data-kind=maize] .hf-point-head+.hf-grid{grid-template-columns:minmax(220px,52%)}}

.field-report-date:not([hidden]){display:block;color:#405e50;font-size:13px;margin:5px 0 10px}.harvest-result>.field-report-date{grid-column:1/-1}.harvest-form .hf-auto>h3{margin:0 0 8px}

#services .service-grid .service-card>button.service-planned:disabled{width:164px!important;max-width:100%!important;height:44px!important;justify-content:center!important;background:#4b5258!important;color:white!important;border:1px solid #4b5258!important;border-radius:8px!important;font:650 14px/1.2 inherit;opacity:1!important}
.ag-dual-upload{background:#f4f9f6;border:1px dashed #a0c7ad;padding:16px;border-radius:12px;margin-bottom:12px}.ag-upload-copy{display:grid;gap:5px;margin-bottom:10px}.ag-camera-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ag-camera-row .ag-capture,.ag-camera-row .ag-upload-picker,.harvest-form .hf-upload .hf-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:42px!important;padding:6px 14px!important;border:1px solid #95baa6!important;border-radius:8px!important;margin:0!important;background:#fff!important;color:#195a3b!important;font-weight:630;cursor:pointer;overflow:hidden}
.ag-camera-row .ag-capture,.harvest-form .hf-upload .ag-primary{background:#e5f2e8!important;margin-right:4px!important}
.ag-camera-row .ag-upload-picker b{background:none!important;color:inherit!important;padding:0!important}
.ag-camera-row label input[type=file]{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ag-camera-row label:focus-within{outline:2px solid #327c5e;outline-offset:2px}.ag-camera-status{font-size:13px}

.cow-tag-field{display:grid;grid-template-columns:auto 1fr;justify-items:start;align-items:center;column-gap:9px;row-gap:6px;font-weight:620;color:#103858;margin:0 0 16px;max-width:460px}.cow-tag-field span{font-size:11px;color:#546e60;font-weight:450}.cow-tag-field input{grid-column:1/-1;width:100%;box-sizing:border-box;min-height:44px;padding:9px 12px;border:1px solid #accbb9;border-radius:8px}

#director-form button.df-submit,.harvest-form button.hf-submit,.vet-submit button[type=submit],.vet-submit button:not([type]),#inspection>button[type=submit]{box-sizing:border-box!important;appearance:none!important;-webkit-appearance:none!important;min-height:44px;border:1px solid transparent!important;border-radius:10px!important;background:#286747!important;color:#fff!important;box-shadow:none!important;outline:none!important;transform:none!important;transition:background-color .16s ease,color .16s ease}
#director-form button.df-submit:not(:disabled):hover,.harvest-form button.hf-submit:not(:disabled):hover,.vet-submit button:not(:disabled):hover,#inspection>button[type=submit]:not(:disabled):hover{background:#20573c!important;color:#fff!important;border-color:transparent!important;box-shadow:none!important;transform:none!important;outline:none!important}
#director-form button.df-submit:focus-visible,.harvest-form button.hf-submit:focus-visible,.vet-submit button:focus-visible,#inspection>button[type=submit]:focus-visible{outline:3px solid #488d89!important;outline-offset:3px}
#director-form button.df-submit:disabled,.harvest-form button.hf-submit:disabled,.vet-submit button:disabled,#inspection>button[type=submit]:disabled{background:#e0e8e4!important;color:#4c6156!important;opacity:1!important;cursor:default}
.sf-quarters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sf-quarters fieldset{min-width:0;border:1px solid #c8dbd0;border-radius:10px;padding:12px;display:grid;gap:8px}.sf-quarters legend{padding:0 5px;font-weight:650;color:#204637}
#scouting-report{scroll-margin-top:100px}
.ags-storage-measurements:has([name=storage_days]){display:grid!important;width:100%!important;max-width:none!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.ags-storage-measurements:has([name=storage_days])>label{display:flex!important;flex-direction:column;justify-content:flex-end;align-self:stretch;gap:5px;min-width:0!important;max-width:none!important;margin:0!important}
.ags-storage-measurements:has([name=storage_days])>label>input{width:100%!important;max-width:none!important;min-height:44px;box-sizing:border-box;margin:0!important}
@media(max-width:850px){.ags-storage-measurements:has([name=storage_days]){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.sf-quarters{grid-template-columns:1fr}.ags-storage-measurements:has([name=storage_days]){gap:8px!important}}
@media(max-width:350px){.ags-storage-measurements:has([name=storage_days]){grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#director-form button.df-submit,.harvest-form button.hf-submit{transition:none}}
