/* Task layouts 1.0.0: incident, observation, inventory, facility. */
.op-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.op-note{font-size:12px;color:var(--muted);line-height:1.65}
.op-registry .ms-main,.op-clinical .ms-main{display:flex!important;flex-direction:column;gap:14px}
:is(.op-registry,.op-clinical) .wx-distribution{display:block!important;padding:12px}
:is(.op-registry,.op-clinical) .wx-distribution h2{font-size:13px;text-align:left;margin-bottom:10px}
:is(.op-registry,.op-clinical) .ms-map{display:flex!important;flex-wrap:wrap;gap:6px;height:auto!important;min-height:0!important;margin:0!important}
:is(.op-registry,.op-clinical) .ms-marker{position:static!important;transform:none!important;width:auto!important;min-width:70px!important;height:auto!important;max-height:none!important;padding:7px 10px!important;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:9px}
:is(.op-registry,.op-clinical) .ms-marker strong{font-size:16px!important}.op-registry .wx-summary,.op-clinical .wx-summary{margin:8px 0}
.op-registry .wx-summary>div,.op-clinical .wx-summary>div{padding:9px 14px;min-height:0}
.op-registry .st-list{display:block!important}.op-registry .st-scroll{max-height:64vh;overflow:auto}
.op-register{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.op-register th,.op-register td{padding:11px 14px;vertical-align:middle;border-bottom:1px solid var(--border);line-height:1.5}
.op-register thead th{position:sticky;top:0;background:var(--surface-soft,var(--surface));z-index:1;font-size:12px;color:var(--muted);white-space:nowrap}
.op-register tbody th{font-weight:600;max-width:380px}.op-register small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}
.op-register tr[hidden]{display:none!important}.op-register tbody tr:hover{background:#dedcd2}.op-register .op-number{font-size:22px;font-weight:700;color:#0f7e89;white-space:nowrap}
.op-clinical .st-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.op-observation .aq-rankings{display:none}.op-observation .aq-summary{margin:12px 0}.op-observation .aq-summary>div{padding:12px}
.op-observe-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);gap:18px;min-height:0;flex:1}
.op-grade-panel,.op-comparison{border:1px solid var(--border);border-radius:14px;padding:16px;background:var(--surface);min-width:0}
.op-grade-panel>header h2,.op-comparison>h2{font-size:17px;margin:0 0 8px}.op-grade-panel>header p{font-size:12px;color:var(--muted)}
.op-grade-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.op-grade-grid article{border:1px solid var(--border);border-left:4px solid #646b76;border-radius:10px;padding:14px;background:#dedcd2}
.op-grade-grid article header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.op-grade-grid h3{font-size:15px;margin:0}.op-grade-grid header span{font-size:11px}.op-grade-grid strong{display:block;font-size:32px;margin:14px 0}.op-grade-grid strong small{font-size:10px;margin-left:5px}.op-grade-grid footer{font-size:12px;color:var(--muted)}
.op-grade-grid [data-tone=good]{border-left-color:#0f7e89}.op-grade-grid [data-tone=normal]{border-left-color:#0f7e89}.op-grade-grid [data-tone=bad]{border-left-color:#ba9259}.op-grade-grid [data-tone=verybad]{border-left-color:#ae4149}
.op-comparison .op-table-scroll{max-height:65vh;overflow:auto}.op-comparison .op-register th,.op-comparison .op-register td{padding:8px 9px}
.op-incident-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;min-height:0;flex:1}
.op-incidents .em-feed{min-width:0;overflow:auto;max-height:calc(100vh - 160px);padding-right:5px}
.op-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.op-section-heading h2{font-size:21px}.op-section-heading>span{font-size:12px;color:var(--muted)}
.op-incidents .em-feed article{padding:18px 20px;margin:0 0 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.op-incidents .em-feed article p{font-size:17px;line-height:1.8;margin:12px 0 0}
.op-situation{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px;overflow:auto;max-height:calc(100vh - 160px)}.op-situation h2{font-size:17px;margin:0}.op-situation h3{font-size:14px;margin:20px 0 10px}.op-situation dl{margin:10px 0}.op-situation dl>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border)}.op-situation dt{font-size:12px;color:var(--muted)}.op-situation dd{font-size:25px;font-weight:700;margin:0}.op-situation dd small{font-size:11px;margin-left:5px}.op-urgent{color:#ba9259}.op-region-tally{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.op-region-tally>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:7px 0;font-size:12px}.op-region-tally small{font-size:10px;margin-left:3px;color:var(--muted)}
.op-facility-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 260px;gap:14px;flex:1;min-height:0}.op-lane{border:1px solid var(--border);border-top:4px solid #646b76;border-radius:12px;padding:12px;min-width:0;overflow:auto;max-height:calc(100vh - 240px)}.op-lane[data-tone=busy]{border-top-color:#ae4149}.op-lane[data-tone=medium]{border-top-color:#ba9259}.op-lane[data-tone=free]{border-top-color:#0f7e89}.op-lane>header{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.op-lane>header h2{font-size:18px;margin:0}.op-lane>header span{font-size:10px;color:var(--muted)}
.op-facilities .ap-airports{display:flex!important;flex-direction:column;gap:12px}.op-facilities .ap-airport{width:auto;min-width:0;min-height:0;padding:14px;flex:none}.op-facilities .ap-lots{grid-template-columns:1fr!important;display:grid;gap:6px}.op-facilities .ap-lot{min-height:30px}.op-facilities .ap-airport h2{font-size:17px}
@media(max-width:1400px){.op-facility-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.op-clinical .st-list{grid-template-columns:repeat(2,minmax(0,1fr))}.op-observe-main{grid-template-columns:1fr}.op-grade-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.op-incident-main,.op-facility-lanes{display:flex;flex-direction:column}.op-situation{order:-1;max-height:none}.op-situation dl{display:flex;flex-wrap:wrap;gap:14px}.op-situation dl>div{display:block;flex:1}.op-situation .op-region-tally{display:none}.op-situation h3{display:none}.op-incidents .em-feed{max-height:none}.op-lane{max-height:none}.op-clinical .st-list{grid-template-columns:1fr}.op-grade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.op-register{min-width:650px}.op-registry .st-scroll{max-height:65vh}.op-register th,.op-register td{padding:9px}.op-observe-main .op-register{min-width:0}.op-registry .ms-marker,.op-clinical .ms-marker{min-width:62px!important;padding:6px!important;font-size:11px}}

/* Empty operational lanes collapse to a status strip, 1.0.1. */
@media(min-width:801px){.op-facility-lanes{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.op-lane-empty{grid-column:1/-1;max-height:none;padding:8px 14px;border-top-width:1px;display:flex;gap:20px;align-items:center}.op-lane-empty>header{margin:0}.op-lane-empty>header>span{display:none}.op-lane-empty .op-note{margin:0}.op-lane-empty>header h2{font-size:13px}}

/* Fullscreen sizing repairs 1.0.2 */
@media(min-width:1401px){.op-facility-lanes{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%;align-self:stretch}.op-facility-lanes:has(>.op-lane-empty){grid-template-columns:repeat(3,minmax(0,1fr))!important}.op-facility-lanes:has(>.op-lane-empty~.op-lane-empty){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
:is(.op-registry,.op-clinical) .wx-distribution{flex:0 0 auto!important;height:auto!important;max-height:none!important;overflow:visible!important;box-sizing:border-box;width:100%}
:is(.op-registry,.op-clinical) .ms-map{flex:0 0 auto!important;max-height:none!important;overflow:visible!important;align-items:stretch}
:is(.op-registry,.op-clinical) .ms-map .ms-marker{flex:0 0 auto!important;min-width:90px!important;max-width:none!important;white-space:nowrap!important;box-sizing:border-box;line-height:1.4}
:is(.op-registry,.op-clinical) .ms-map .ms-marker>span{display:inline!important;white-space:nowrap!important;width:auto!important;max-width:none!important;word-break:keep-all!important}
:is(.op-registry,.op-clinical) .ms-map .ms-marker>strong{display:inline-flex!important;align-items:baseline;gap:3px;white-space:nowrap}
:is(.op-registry,.op-clinical) .ms-main>.st-content{flex:1 1 auto;min-height:0;min-width:0}
:is(.op-registry,.op-clinical):fullscreen .st-content>header,:is(.op-registry,.op-clinical):fullscreen .am-pagination,:is(.op-registry,.op-clinical):fullscreen .md-filters{flex:0 0 auto}
:is(.op-registry,.op-clinical):fullscreen .st-scroll{height:0;flex:1 1 auto;overflow:auto!important}
.op-facilities:fullscreen .op-facility-lanes{height:0;flex:1 1 auto;min-height:0}.op-facilities:fullscreen .op-lane:not(.op-lane-empty){max-height:100%;box-sizing:border-box}
@media(max-width:800px){:is(.op-registry,.op-clinical) .ms-map .ms-marker{min-width:85px!important}}

/* Keep the no-data lane compact; reserve space for operational details. */
@media(min-width:1401px){
 .op-facility-lanes:has(>.op-lane-empty):has(>.op-lane:last-child .ap-airport:only-of-type){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(250px,.42fr)!important}
}
