/* Staff overview. Presentation only; permissions remain in the existing services. */
.staff-overview .shell{max-width:1920px;grid-template-columns:200px minmax(0,1fr)}
.staff-overview main{padding:18px 28px 32px}
.staff-overview .rail{padding:30px 20px}
.staff-overview .rail h2{font-size:28px}
.staff-overview .rail-note,.staff-overview .rail footer small{display:none}
.staff-overview .heading{margin:28px 0 24px}
.staff-overview h1{font-size:clamp(32px,3vw,46px);margin-bottom:12px}
.staff-overview .eyebrow{font-size:12px;letter-spacing:.055em}
.staff-overview #overview{display:flex;flex-direction:column}
.staff-overview #metrics{order:0;grid-template-columns:repeat(5,minmax(0,1fr))}
.staff-overview #crop-overview{order:1}
.staff-overview #overview-filters{order:2}
.staff-overview .overview-grid{order:3;grid-template-columns:minmax(0,2.15fr) minmax(330px,1fr)}
.staff-overview #farm-history{order:4}
.staff-overview #list-note{order:5}
.staff-overview .metric{padding:18px;min-width:0}
.staff-overview .metric strong{font-size:clamp(26px,2.2vw,36px);overflow-wrap:anywhere}
.staff-overview .metric:first-child{background:var(--forest);color:var(--paper);border-color:var(--forest)}
.staff-overview .metric:first-child small,.staff-overview .metric:first-child .eyebrow{color:#e9dbc3}
.staff-overview .metric small{font-size:13px}
.staff-crop-summary{padding:18px 22px;border:1px solid var(--line);border-radius:12px;background:var(--paper);margin-bottom:24px}
.crop-mix-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.crop-mix-heading h2{margin:0;font-size:23px}
.crop-mix-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.crop-mix-item{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid transparent;padding:8px;text-align:left;background:transparent;min-width:0}
.crop-mix-item span:first-child{overflow-wrap:anywhere}
.crop-mix-item b{font-variant-numeric:tabular-nums}
.crop-mix-item[aria-pressed=true]{background:#f5e7d0;border-color:var(--orange)}
.crop-track{grid-column:1/-1;height:6px;background:#e8e1d5;border-radius:3px;overflow:hidden}
.crop-track i{display:block;height:100%;background:#a76d2e;border-radius:3px}
.staff-crop-summary>.fine{margin:12px 0 0;font-size:13px}
.more-crops{margin-top:14px}
.more-crops summary{cursor:pointer;font-size:15px;padding:8px 0}
.more-crops[open] .crop-mix-grid{margin-top:10px}
#overview-filters{margin:0 0 22px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
#overview-filters .filterbar{grid-template-columns:2fr repeat(5,minmax(110px,1fr));gap:12px}
#overview-filters input,#overview-filters select{font-size:15px}
#overview-filters label{font-size:13px}
.map-card{position:relative;top:auto}
.staff-overview .map-card{padding:20px}
.staff-overview .google-map{height:560px!important}
.staff-overview .overview-side{grid-template-columns:1fr}
.staff-overview .card h2{font-size:24px}
.staff-overview .farm-detail{max-height:900px}
.staff-overview .map-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.map-list button{min-height:46px;font-size:15px}
.list-heading{margin:22px 0 12px}
.list-heading h3{font-size:21px;margin:0}
#map-result-count{font-size:14px;color:var(--muted)}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0;min-width:0;font-size:14px}
.pagination:empty{display:none}
.pagination .button{font-size:14px;min-height:42px;padding:9px 15px}
.pagination button:disabled{opacity:.45;cursor:default}
.gap-row{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:15px 0;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;font-size:16px}
.gap-row strong{white-space:nowrap}
.field-note{margin:18px 0;font-size:14px}
.staff-overview .waiting p,.staff-overview .detail-section p,.staff-overview .followup-item ol{font-size:16px}
.staff-overview .waiting small,.staff-overview .tag,.staff-overview dt{font-size:13px}
.staff-overview .farm-row small{font-size:14px}
.staff-overview .reading{padding:16px 0}
.staff-overview .reading span{font-size:14px}
@media(max-width:1450px){
 #overview-filters .filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}
 .staff-overview #metrics{gap:10px}.staff-overview .metric{padding:14px}
 .staff-overview .overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr)}
}
@media(max-width:1100px){
 .staff-overview .shell{grid-template-columns:180px minmax(0,1fr)}
 .staff-overview #metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .crop-mix-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .staff-overview .overview-grid{grid-template-columns:1fr}
 .staff-overview .overview-side{grid-template-columns:1fr}
 .staff-overview .farm-detail{max-height:none}
 .staff-overview #map-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}
}
@media(max-width:700px){
 .staff-overview .shell{display:block}.staff-overview .rail{padding:12px}
 .staff-overview .rail>.eyebrow,.staff-overview .rail>h2,.staff-overview .rail>p,.staff-overview .rail footer{display:none}
 .staff-overview .rail nav{display:flex;flex-wrap:wrap;margin:0;gap:4px}
 .staff-overview .rail nav button{padding:10px;font-size:14px}
 .staff-overview .rail nav button span{display:none}
 .staff-overview main{padding:12px 16px 24px}.staff-overview .heading{margin:20px 0}
 .staff-overview #metrics{grid-template-columns:1fr 1fr}
 .staff-overview .metric:last-child{grid-column:1/-1}
 .staff-crop-summary{padding:16px}.crop-mix-grid{grid-template-columns:1fr 1fr;gap:10px}
 #overview-filters{padding:14px}#overview-filters .filterbar{grid-template-columns:1fr 1fr}
 #overview-filters .search{grid-column:1/-1}
 #overview-filters input,#overview-filters select{font-size:16px}
 .staff-overview .google-map{height:390px!important}.staff-overview .map-card{padding:15px}
 .staff-overview .map-list{grid-template-columns:1fr}
 .staff-overview #map-summary{grid-template-columns:1fr}
 .pagination{gap:8px;font-size:13px}.pagination .button{padding:9px 10px}
}

#live-status:empty{display:none}
.staff-overview .live-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.staff-overview #map-summary{display:grid;gap:18px}
.staff-overview #map-summary .staff-crop-summary{margin:0;padding:20px}
.staff-overview #map-summary .crop-mix-grid{grid-template-columns:1fr}
.staff-overview #map-summary .crop-mix-item{padding:5px 0;row-gap:4px}
.staff-overview #map-summary .crop-mix-heading{margin-bottom:10px}
.staff-overview #map-summary .crop-mix-heading h2{font-size:22px}
@media(max-width:700px){.staff-overview .live-choices{grid-template-columns:1fr}}
