/* Keep the existing page width; compact only the harvesting service contents. */
body.compact-zagotovka #az-app .az-hero{padding:14px 0!important}
body.compact-zagotovka #az-app .az-hero-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:26px!important}
body.compact-zagotovka #az-app .az-hero h1{font-size:36px!important;line-height:1.15!important;letter-spacing:-1px!important;margin:12px 0!important;max-width:540px!important}
body.compact-zagotovka #az-app .az-hero p{font-size:14px!important;line-height:1.6!important;max-width:630px;margin:10px 0 16px!important}
body.compact-zagotovka #az-app .az-hero-result{padding:16px!important;border-radius:12px!important}
body.compact-zagotovka #az-app .az-result-number{font-size:34px!important;margin:8px 0!important}
body.compact-zagotovka #az-app .az-result-title{font-size:17px!important;margin-bottom:10px!important}
body.compact-zagotovka #az-app .az-result-item{font-size:12px!important;padding:7px 0!important}
body.compact-zagotovka #az-app #az-process{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:12px 14px!important;margin:10px auto!important}
body.compact-zagotovka #az-app #az-process .tp-head{margin:0!important;flex:none}
body.compact-zagotovka #az-app #az-process h2{font-size:16px!important}
body.compact-zagotovka #az-app #az-process .tp-steps{display:flex!important;flex-wrap:wrap;gap:6px!important;flex:0 1 auto}
body.compact-zagotovka #az-app #az-process .tp-steps .tp-step{flex:0 0 auto!important;width:auto!important;padding:7px 10px!important;gap:7px!important}
body.compact-zagotovka #az-app #az-process .tp-steps .tp-step strong{font-size:12px!important}
body.compact-zagotovka #az-app #az-process .tp-steps .tp-step .tp-number{width:22px!important;height:22px!important}
body.compact-zagotovka #az-app .az-status-row{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:10px;align-items:start}
body.compact-zagotovka #az-app .az-status-row:has(details[open]){grid-template-columns:1fr}
body.compact-zagotovka #az-app .compact-progress{padding:8px 12px}
body.compact-zagotovka #az-app .compact-progress .az-progress{margin-top:6px!important}
body.compact-zagotovka #az-app .compact-hints>summary{padding:15px 12px;font-size:12px}
body.compact-zagotovka #az-app .az-main{gap:10px!important}
body.compact-zagotovka #az-app .az-card{padding:16px!important;border-radius:12px!important}
body.compact-zagotovka #az-app .az-title{margin-bottom:12px!important;gap:8px!important}
body.compact-zagotovka #az-app .az-title h2{font-size:18px!important}
body.compact-zagotovka #az-app .az-grid{gap:10px!important}
body.compact-zagotovka #az-app .az-field input,
body.compact-zagotovka #az-app .az-field select,
body.compact-zagotovka #az-app .az-field .tc-trigger{min-height:40px!important;padding:8px 10px!important;font-size:13px!important}
body.compact-zagotovka #az-app .az-field textarea{min-height:60px!important;height:60px!important;padding:8px 10px!important;font-size:13px!important}
body.compact-zagotovka #az-app .az-party{padding:12px!important}
body.compact-zagotovka #az-app .az-party-head{margin-bottom:10px!important}
body.compact-zagotovka #az-app .az-upload-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}
body.compact-zagotovka #az-app .az-upload{min-height:84px!important;padding:10px!important;display:grid!important;grid-template-columns:28px minmax(0,1fr);gap:4px 9px!important;align-content:center!important;text-align:left!important}
body.compact-zagotovka #az-app .az-upload .az-icon{grid-column:1;grid-row:1/3;width:26px!important;height:26px!important;margin:0!important}
body.compact-zagotovka #az-app .az-upload b{grid-column:2;font-size:12px!important;line-height:1.4!important}
body.compact-zagotovka #az-app .az-upload small{grid-column:2;font-size:10px!important;line-height:1.4!important}
body.compact-zagotovka #az-app .az-upload input{grid-column:1/-1}
@media(min-width:1000px){
 body.compact-zagotovka #az-app .az-party>.az-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start}
 body.compact-zagotovka #az-app .az-party>.az-grid>.az-field,
 body.compact-zagotovka #az-app .az-party>.az-grid>.az-upload{grid-column:span 1!important}
 body.compact-zagotovka #az-app .az-party>.az-grid>.az-field-forecast{grid-column:1/-1!important;padding:6px 9px;background:#f2f6f3;border-radius:7px;font-size:11px}
 body.compact-zagotovka #az-app .az-card:first-of-type>.az-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)!important}
 body.compact-zagotovka #az-app .az-card:first-of-type>.az-grid>.az-field{grid-column:span 1!important}
 body.compact-zagotovka #az-app #az-start-date,body.compact-zagotovka #az-app #az-end-date{max-width:220px!important}
 body.compact-zagotovka #az-app #az-total-tonnes{max-width:160px!important}
 body.compact-zagotovka #az-app #az-object-name{max-width:300px!important}
 body.compact-zagotovka #az-app .az-party>.az-grid>.az-field:nth-child(-n+4)>label{display:block;min-height:34px}
}
@media(max-width:999px){
 body.compact-zagotovka #az-app .az-hero-grid{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important}
 body.compact-zagotovka #az-app .az-hero h1{font-size:30px!important}
 body.compact-zagotovka #az-app .az-upload-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.compact-zagotovka #az-app .az-status-row{grid-template-columns:1fr}
}
@media(max-width:700px){
 body.compact-zagotovka #az-app .az-hero-grid{grid-template-columns:1fr!important}
 body.compact-zagotovka #az-app .az-hero h1{font-size:28px!important}
 body.compact-zagotovka #az-app .az-hero-result{max-width:none!important}
 body.compact-zagotovka #az-app .az-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:500px){
 body.compact-zagotovka #az-app .az-upload-grid{grid-template-columns:1fr!important}
 body.compact-zagotovka #az-app .az-card{padding:12px!important}
 body.compact-zagotovka #az-app .az-field input,
 body.compact-zagotovka #az-app .az-field select,
 body.compact-zagotovka #az-app .az-field .tc-trigger{min-height:44px!important;font-size:16px!important}
}

/* Compact, clearly selected sample choices. Native radios retain all behaviour. */
html body.compact-zagotovka #az-app #az-samples .az-lab-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,260px))!important;gap:8px!important;justify-content:start!important;margin-bottom:10px!important}
html body.compact-zagotovka #az-app #az-samples .az-check{position:relative!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-width:0!important;min-height:62px!important;padding:10px 12px!important;margin:0!important;border:1px solid #ceddd3!important;border-radius:9px!important;background:#fff!important;cursor:pointer;box-sizing:border-box!important}
html body.compact-zagotovka #az-app #az-samples .az-check::before{content:'';display:grid;place-items:center;width:20px;height:20px;box-sizing:border-box;border:1.5px solid #8ba798;border-radius:50%;background:#fff;color:#fff;font-size:13px;font-weight:800;line-height:1}
html body.compact-zagotovka #az-app #az-samples .az-check:has(input:checked){border-color:#126b4f!important;background:#e3f3e9!important;box-shadow:inset 0 0 0 1px #126b4f!important}
html body.compact-zagotovka #az-app #az-samples .az-check:has(input:checked)::before{content:'✓';background:#126b4f;border-color:#126b4f}
html body.compact-zagotovka #az-app #az-samples .az-check:has(input:focus-visible){outline:3px solid #8bc5a6;outline-offset:2px}
html body.compact-zagotovka #az-app #az-samples .az-check>input{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;opacity:0!important;padding:0!important;overflow:hidden!important}
html body.compact-zagotovka #az-app #az-samples .az-check>span{min-width:0!important;display:block!important;padding:0!important;border:0!important;background:none!important}
html body.compact-zagotovka #az-app #az-samples .az-check b{display:block;font-size:12px!important;line-height:17px!important;margin:0!important;color:#18392d!important}
html body.compact-zagotovka #az-app #az-samples .az-check small{display:block;font-size:11px!important;line-height:15px!important;margin:3px 0 0!important;color:#60736a!important}
html body.compact-zagotovka #az-app #az-samples #az-lab-files{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:796px!important;gap:8px!important;margin-top:0!important}
html body.compact-zagotovka #az-app #az-samples #az-lab-files .az-upload{min-height:72px!important}
@media(max-width:900px){html body.compact-zagotovka #az-app #az-samples .az-lab-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){
 html body.compact-zagotovka #az-app #az-samples .az-lab-options{grid-template-columns:1fr!important}
 html body.compact-zagotovka #az-app #az-samples .az-check{min-height:56px!important}
 html body.compact-zagotovka #az-app #az-samples #az-lab-files{grid-template-columns:1fr!important}
}

/* Balanced progress and help panels. */
html body #main-content #az-app .az-status-row{align-items:start!important;gap:10px!important}
html body #main-content #az-app .az-status-row .compact-progress{box-sizing:border-box!important;min-height:88px!important;padding:14px 16px!important;border-radius:12px!important}
html body #main-content #az-app .az-status-row .compact-progress .az-stat{min-height:36px!important;align-items:center!important;gap:14px!important}
html body #main-content #az-app .az-status-row .compact-progress .az-stat>div{display:flex!important;align-items:center!important;gap:12px!important}
html body #main-content #az-app .az-status-row .compact-progress .az-stat small{font-size:12px!important;line-height:18px!important}
html body #main-content #az-app .az-status-row #az-ready{font-size:30px!important;line-height:36px!important;letter-spacing:-.5px}
html body #main-content #az-app .az-status-row #az-object-summary{font-size:12px!important;line-height:18px!important}
html body #main-content #az-app .az-status-row .az-progress{height:8px!important;margin-top:10px!important;border-radius:8px!important}
html body #main-content #az-app .az-status-row .compact-hints{box-sizing:border-box!important;min-height:88px!important;border-radius:12px!important}
html body #main-content #az-app .az-status-row .compact-hints>summary{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:86px!important;padding:16px!important;list-style:none!important;font-size:13px!important;line-height:20px!important;font-weight:700!important;margin:0!important}
html body #main-content #az-app .az-status-row .compact-hints>summary::-webkit-details-marker{display:none!important}
html body #main-content #az-app .az-status-row .compact-hints>summary::marker{content:''}
html body #main-content #az-app .az-status-row .compact-hints>summary::before{content:none!important;display:none!important}
html body #main-content #az-app .az-status-row .compact-hints>summary::after{content:'+';display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;background:#e3f2e9;color:#126b4f;font-size:24px;line-height:1;font-weight:400}
html body #main-content #az-app .az-status-row .compact-hints[open]>summary::after{content:'−'}
html body #main-content #az-app .az-status-row .compact-hints[open]>summary{border-bottom:1px solid #dce5df!important}
@media(max-width:600px){
 html body #main-content #az-app .az-status-row .compact-progress .az-stat{align-items:flex-start!important}
 html body #main-content #az-app .az-status-row .compact-progress .az-stat>div{flex-wrap:wrap;gap:3px 10px!important}
 html body #main-content #az-app .az-status-row .compact-hints{min-height:60px!important}
 html body #main-content #az-app .az-status-row .compact-hints>summary{min-height:58px!important;padding:14px!important}
}
