.terrain-app #parcel-screen{flex-direction:column;height:auto;min-height:0}
.terrain-app .worksite-map-column{flex:none;order:0}
.terrain-app .worksite-map-column .map-wrap,.terrain-app #parcel-screen>.map-wrap{flex:none;height:max(420px,calc(100svh - var(--terrain-map-top,365px) - 42px));min-height:420px}
.terrain-app #sidebar{order:1;width:100%;padding:12px 20px;overflow:visible}
.parcel-list-fold{border:1px solid var(--bacchus-border,var(--line));border-radius:12px;background:var(--bacchus-surface,#fffefb)}
.parcel-list-fold>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 15px;cursor:pointer;font-size:14px;font-weight:600;list-style:none}
.parcel-list-fold>summary::-webkit-details-marker{display:none}.parcel-list-fold>summary::after{content:'▸';margin-left:auto}.parcel-list-fold[open]>summary::after{content:'▾'}
.parcel-list-fold>summary svg{width:19px;height:19px;flex:none}.parcel-list-fold>summary .number{margin-left:0}
.parcel-list-content,.parcel-summary{padding:5px 16px 15px}.parcel-summary h1{font-size:27px}.parcel-summary .stats{justify-content:flex-start;gap:35px;padding:12px 0;margin-bottom:12px}.parcel-summary .intro{margin-bottom:12px}.parcel-list-content #list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px}.parcel-list-content #list .parcel{margin:0;min-height:75px}.parcel-list-content .search{margin-top:12px}#sidebar>footer{padding-top:15px}
#work-form .assignment-direct,#work-form .intervention-parcels{margin:12px 0;padding:10px 12px;border:1px solid var(--bacchus-border,var(--line));border-radius:9px;min-width:0}
#work-form .assignment-direct legend,#work-form .intervention-parcels legend{font-size:12px;font-weight:600;padding:0 5px}
#work-form .assignment-direct .member-choices,#intervention-parcel-choices{max-height:240px;overflow:auto;overscroll-behavior:contain}
#work-form .member-choices label{flex-direction:row;align-items:center;gap:10px;margin:0;min-height:46px;padding:6px 2px;font-weight:500;overflow-wrap:anywhere}
#work-form .member-choices input{width:22px;height:22px;min-height:22px;flex:none;accent-color:var(--bacchus-primary,var(--green))}
.assignment-direct .member-choices{max-height:240px;overflow:auto;overscroll-behavior:contain}
.assignment-direct .member-choices label{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin:0;padding:6px 2px;font-weight:500;overflow-wrap:anywhere}
.assignment-direct .member-choices input{width:22px;height:22px;min-height:22px;flex:none;accent-color:var(--bacchus-primary,var(--green))}
.assignment-direct .assignment-summary{margin:6px 0 0;font-size:12px;overflow-wrap:anywhere}
#work-form .intervention-search{margin:2px 0 8px}#intervention-parcel-count{margin:5px 0 8px}
#intervention-selected{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px;max-height:100px;overflow:auto}#intervention-selected:empty{display:none}#intervention-selected button{min-height:44px;padding:7px 10px;font-size:12px;max-width:100%;overflow-wrap:anywhere;background:var(--bacchus-primary-soft,#edf2e9)}
#work-form>.form-grid label{margin:9px 0}#work-form .replacement-remaining{max-height:140px;overflow:auto}#work-form .replacement-remaining span{display:block;font-size:12px;margin-top:4px}
@media(max-width:760px){.terrain-app #sidebar{padding:10px}.terrain-app .worksite-map-column .map-wrap,.terrain-app #parcel-screen>.map-wrap{height:max(360px,calc(100svh - var(--terrain-map-top,365px) - 42px));min-height:360px}.parcel-list-content,.parcel-summary{padding:4px 12px 12px}.parcel-summary .stats{justify-content:space-between;gap:10px}.parcel-list-content #add{position:static}.parcel-list-content #list{display:block}.parcel-list-content #list .parcel{margin:8px 0}}
