/* Scoped to the staff Overview; other dashboards and agency views keep their layout. */
main:has(.overview-layout){max-width:1640px}
.overview-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.overview-primary{min-width:0}
.ops-rail{position:sticky;top:20px;min-width:0;padding:18px 16px;color:var(--text);font-size:14px;line-height:1.5}
.ops-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ops-heading h2{margin:0;color:var(--brand)}
.ops-private{font-size:12px;color:var(--accent-strong,#086560)}
.ops-muted{color:var(--muted);font-size:12px;line-height:1.5;margin:8px 0}
.ops-rail p{margin:8px 0}
.ops-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:16px 0;background:var(--surface,#f4f7fa);padding:4px;border-radius:10px}
.ops-tabs button{border:0;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;padding:8px 4px;cursor:pointer;border-radius:6px;min-height:40px}
.ops-tabs button[aria-selected=true]{background:var(--brand);color:#fff}
.ops-badge{display:inline-block;padding:1px 6px;border-radius:6px;background:#e9f0f5;color:#042a4c;font-size:12px;white-space:nowrap;font-weight:600}
.ops-badge.attention,.ops-warning{background:#fff4dc;color:#8a5a00}
.ops-warning{padding:8px;font-size:12px}
.ops-card{padding:16px 0;border-top:1px solid var(--border)}
.ops-card h3{font-size:14px;display:flex;justify-content:space-between;align-items:start;gap:8px;margin:0 0 8px;color:var(--brand)}
.ops-card h4{font-size:12px;margin:12px 0 4px}
.ops-item{padding:10px 0;border-bottom:1px solid var(--surface2,#e9f0f5)}
.ops-item summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px;align-items:start}
.ops-item summary>span:first-child{overflow-wrap:anywhere}
.ops-item summary>span:first-child:before{content:'› ';color:#086560}
.ops-item[open] summary>span:first-child:before{content:'⌄ '}
.ops-item ul{padding-left:18px;margin:8px 0;font-size:12px}
.ops-link{border:0;background:none;color:#086560;padding:4px 0;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ops-activity{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.ops-scope{font-size:12px;color:var(--muted);margin-bottom:12px}
.ops-scope summary{cursor:pointer;color:#086560}
.ops-muted>[data-ops-refresh]{margin-left:4px}
.ops-ref{overflow-wrap:anywhere;color:var(--muted);font-size:12px}
.ops-rail :focus-visible{outline:3px solid #18aea6;outline-offset:3px}
@media(min-width:1400px){.ops-rail{max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-gutter:stable}}
@media(max-width:1399px){.overview-layout{grid-template-columns:1fr}.ops-rail{position:static}.ops-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:540px){.ops-tabs{grid-template-columns:1fr 1fr}.overview-layout{gap:16px}.ops-rail{padding:16px}}
