/* Staff shell — 2 Nov 2026. Left panel on the standalone staff pages, matching the Command centre's. Sits to the
   right of the 84px site rail (navigation-consistency.css) from 761px up; a horizontal scroller above the content below. */
.sb-staffshell-host{--ss-bg:#fff;--ss-ink:#0B1226;--ss-mute:#64748B;--ss-line:#E2E8F0;--ss-pill:#1D4ED8;--ss-soft:#EEF2FF;font:14px/1.4 "Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ss-ink)}
html[data-theme=dark] .sb-staffshell-host{--ss-bg:#0f1b30;--ss-ink:#E8EEF8;--ss-mute:#A9B7CC;--ss-line:rgba(255,255,255,.12);--ss-soft:rgba(99,130,255,.18)}
.sb-staffshell{display:flex;flex-direction:column;gap:4px;box-sizing:border-box}
.sb-staffshell a{color:inherit;text-decoration:none}
.sb-staffshell .ss-kick{margin:12px 10px 2px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ss-mute)}
.sb-staffshell .ss-group{display:flex;flex-direction:column;gap:2px}
.sb-staffshell .ss-tab{display:block;padding:7px 10px;border-radius:999px;font-weight:600}
.sb-staffshell .ss-tab:hover{background:var(--ss-soft)}
.sb-staffshell .ss-tools{gap:6px;margin-top:4px}
.sb-staffshell .ss-tool{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid var(--ss-line);border-radius:12px;font-weight:700;background:var(--ss-bg)}
.sb-staffshell .ss-tool span::after{content:" ↗";font-weight:400;color:var(--ss-mute)}
.sb-staffshell .ss-tool.is-current{background:var(--ss-pill);border-color:var(--ss-pill);color:#fff}
.sb-staffshell .ss-tool.is-current span::after{color:rgba(255,255,255,.75)}
.sb-staffshell .ss-tool:hover:not(.is-current){border-color:#94A3B8}
.sb-staffshell .ss-badge{min-width:18px;padding:1px 6px;border-radius:999px;background:#DC2626;color:#fff;font-size:11px;font-weight:800;line-height:16px;text-align:center}
.sb-staffshell .ss-corr{margin-top:8px;justify-content:center}
.sb-staffshell .ss-corr::after{content:""}
.sb-staffshell .ss-foot{margin:10px 10px 0;font-size:12px;color:var(--ss-mute)}
html body.sb-has-staffshell>header.ss-hidden,html body.sb-unified-nav>header.ss-hidden,.ss-hidden{display:none!important}
@media(min-width:761px){
 .sb-staffshell-host{position:fixed;top:0;bottom:0;left:84px;width:236px;overflow:auto;padding:18px 12px 24px;box-sizing:border-box;background:var(--ss-bg);border-right:1px solid var(--ss-line);z-index:40}
 html body.sb-has-staffshell:not(.sb-split){padding-left:320px!important}
 body.sb-has-staffshell main.la{margin-left:0}
}

/* 27 Nov 2026 (Claude): one menu everywhere (staff-shell.js) — plain rows, the current page filled, counts on the right */
.sb-staffshell .ss-home{display:block;padding:6px 10px 10px;font-size:17px;font-weight:800;letter-spacing:-.01em;color:var(--ss-ink)}
.sb-staffshell .ss-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:10px;font-weight:600;color:var(--ss-ink)}
.sb-staffshell .ss-item:hover:not(.is-current){background:var(--ss-soft)}
.sb-staffshell .ss-item.is-current{background:var(--ss-pill);color:#fff}
.sb-staffshell .ss-item.is-current .ss-badge{background:#fff;color:var(--ss-pill)}
/* in the Command centre itself: the panel replaces the old menu, and the page uses the full width beside it */
html body.sb-cc-inapp #adminSeg>.seg.adm-seg22,html body.sb-cc-inapp #adminSeg>.seg:not(.mini){display:none!important}
html body.sb-cc-inapp #founderTools{display:none!important}
@media(min-width:761px){
 html body.sb-cc-inapp section#view-admin>.wrap{max-width:1720px!important;margin:0 0 0 236px!important;padding-left:32px!important;padding-right:32px!important;box-sizing:border-box;width:auto!important}
 html body.sb-split.sb-cc-inapp section#view-admin>.wrap{display:block!important}
 html body.sb-cc-inapp section#view-admin{max-width:none!important;margin-left:0!important;margin-right:0!important}
 html body.sb-cc-inapp .sb-staffshell-host{top:68px}
 html body.sb-cc-inapp #view-admin #adminSeg{position:static!important;margin:0 0 12px}
}
@media(max-width:760px){
 .sb-staffshell-host{position:sticky;top:0;z-index:40;background:var(--ss-bg);border-bottom:1px solid var(--ss-line);padding:6px 12px}
 .sb-staffshell .ss-menu{max-height:60vh;max-height:60dvh;overflow:auto;overscroll-behavior:contain;padding:4px 2px 10px}
 .sb-staffshell .ss-toggle{align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--ss-line);border-radius:10px;background:var(--ss-bg);color:var(--ss-ink);font:inherit;font-weight:700;cursor:pointer}
}
@media print{.sb-staffshell-host{display:none}}

/* Comfortable touch targets without enlarging the desktop review workspace. */
@media(max-width:760px){
 .sb-staffshell :is(.ss-item,.ss-home){min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
 .sb-has-staffshell :is(.ctabs button,.ctabs input,.tpl button,button.ghost[data-toggle]){min-height:44px;height:auto;box-sizing:border-box}
 .sb-has-staffshell .tpl button{padding:8px 12px;line-height:1.3;max-width:100%;white-space:normal}
 .sb-has-staffshell .ctabs input{font-size:16px;max-width:100%}
}

/* 15 Nov 2026 claim growth */
.claim-funnel{margin:0 0 18px;padding:14px 16px;border:1px solid #E2E8F0;border-radius:12px;background:#fff}
.claim-funnel h2{font-size:1rem;margin:0 0 10px}
.cf-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.cf-tile{border:1px solid #E2E8F0;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:2px}
.cf-tile b{font-size:1.35rem}.cf-tile span{font-size:.8rem;color:#475569}
.claim-funnel table{border-collapse:collapse;margin:10px 0;font-size:.85rem}.claim-funnel td,.claim-funnel th{border-bottom:1px solid #EEF2F7;padding:4px 10px;text-align:left}
.pk-col-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 0;border-bottom:1px solid #EEF2F7}
.pk-col-row span{color:#475569;font-size:.85rem}.pk-col-f{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.pk-col-f input{min-width:200px}
.pk-col-msg{font-size:.8rem;color:#0F766E}
.claim-stats{margin:12px 0;padding:10px 12px;border-radius:10px;background:#ECFDF5;border:1px solid #A7F3D0}
.lp-claim-stats{margin:6px 0 10px;padding:8px 10px;border-radius:8px;background:#ECFDF5;font-size:.9rem}
/* 27 Nov 2026 (Claude): the home page's "Find care by the service you need" block and the install prompt don't belong under the Command centre */
html body.sb-cc-inapp .care-discovery,html body.sb-cc-inapp #installBar{display:none!important}

.sb-staffshell [hidden]{display:none!important}
.sb-staffshell .ss-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sb-staffshell .ss-toggle{display:none}
.sb-staffshell .ss-filter-label{display:block;margin:4px 0;font-size:12px;font-weight:700;color:var(--ss-mute)}
.sb-staffshell .ss-filter{box-sizing:border-box;width:100%;min-height:38px;padding:8px 10px;margin-bottom:8px;border:1px solid var(--ss-line);border-radius:10px;background:var(--ss-bg);color:var(--ss-ink);font:inherit}
.sb-staffshell .ss-filter::placeholder{color:var(--ss-mute)}
.sb-staffshell .ss-empty{margin:10px;font-size:13px;color:var(--ss-mute)}
.sb-staffshell :is(a,button,input):focus-visible{outline:2px solid #5485ee;outline-offset:2px}
@media(max-width:760px){
 .sb-staffshell .ss-toggle{display:inline-flex}
 .sb-staffshell .ss-filter{font-size:16px;min-height:44px}
 .sb-staffshell .ss-item{width:100%}
}

.sb-staffshell .ss-heading{border-bottom:1px solid var(--ss-line);margin-bottom:8px}
.sb-staffshell .ss-home{padding-left:0}
.sb-staffshell .ss-current{display:none}
.sb-staffshell .ss-actions{display:flex;flex-wrap:wrap;gap:6px}
.sb-staffshell .ss-actions button{flex:1 0 auto;min-height:34px;padding:5px 9px;border:1px solid var(--ss-line);border-radius:8px;background:var(--ss-bg);color:var(--ss-ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.sb-staffshell .ss-actions button:hover{background:var(--ss-soft)}
.sb-staffshell .ss-actions [aria-pressed=true]{background:var(--ss-pill);border-color:var(--ss-pill);color:#fff}
.sb-staffshell .ss-actions [aria-busy=true]{opacity:.65;cursor:progress}
.sb-staffshell .ss-foot{margin:8px 0 12px;padding:7px 9px;background:var(--ss-soft);border-radius:8px}
.sb-staffshell .ss-section+.ss-section{margin-top:8px;padding-top:4px;border-top:1px solid var(--ss-line)}
.sb-staffshell .ss-item span{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 .sb-staffshell .ss-heading{border:0;margin:0}
 .sb-staffshell .ss-heading .ss-home{display:block;min-height:0;padding:3px 0}
 .sb-staffshell .ss-current{display:block;color:var(--ss-mute);font-size:12px;line-height:1.3}
 .sb-staffshell .ss-actions button{min-height:44px}
}

@media(min-width:761px) and (min-height:440px){
 .sb-staffshell-host{display:flex;overflow:hidden}
 .sb-staffshell{width:100%;min-height:0}
 .sb-staffshell .ss-menu{display:flex;flex-direction:column;min-height:0}
 .sb-staffshell .ss-menu>:not(.ss-links){flex-shrink:0}
 .sb-staffshell .ss-links{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 4px 4px}
}

/* Reserve room for the queue summary so refreshes don't move the tool list. */
.sb-staffshell .ss-foot{min-block-size:3lh;box-sizing:content-box}
html:has(body.sb-cc-inapp){overflow-anchor:none}
