/* Shared navigation dimensions and colours across the app and standalone pages. */
@media(min-width:761px){
 html body:not(.sb-split){padding-left:84px!important}
 html body:not(.sb-split)>header,html body:not(.sb-split)>header.top{width:84px!important;max-width:84px!important;background:#0d2745!important;overflow-y:auto!important}
 html body:not(.sb-split)>header .brand,html body:not(.sb-split)>header>a:first-child,html body:not(.sb-split)>header.top .brand{background:#1d4ed8!important;width:50px!important;height:50px!important;border-radius:15px!important}
 html body:not(.sb-split)>header .brand::before,html body:not(.sb-split)>header>a:first-child::before,html body:not(.sb-split)>header.top .brand::before{background:#fff!important}
 html body:not(.sb-split)>header nav a:hover,html body:not(.sb-split)>header nav a[aria-current=page]{background:#253e5c!important;color:#fff!important}
 html body:not(.sb-split)>header nav a[aria-current=page]::after{background:#60a5fa!important}
 html body.hg-on.sb-landing section#view-find>.wrap{max-width:1560px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html body.hg-on.sb-landing .hg-card{width:100%;max-width:1120px;box-sizing:border-box;min-width:0}
}
.sb3-tabbar a[aria-current=page]{color:#1d4ed8!important;background:#e8efff!important;box-shadow:inset 0 2px 0 #1d4ed8!important}
html body.hg-on #view-find,html body.hg-on #view-find>.wrap,html body.hg-on .hg-slot{min-width:0}
@media(max-width:1000px) and (min-width:761px){html body.hg-on .hg-slot form#searchForm{flex-wrap:wrap!important;border-radius:20px!important}html body.hg-on .hg-slot form#searchForm>label{flex-basis:40%!important}html body.hg-on .hg-tabs{justify-content:flex-start}}

.hg-services-link{position:relative;max-width:1120px;margin:18px auto!important;padding:0 8px;font-size:14px}
@media(max-width:760px){body>header.top .wrap{flex-wrap:wrap!important;gap:8px!important}body>header.top form.q{width:100%!important;min-width:0!important;max-width:100%!important;order:5;flex:1 1 100%!important}body>header.top form.q input{min-width:0!important;flex:1}body>header.top .wrap>nav{max-width:100%;overflow-x:auto}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}}

/* Modern rail: one quiet active state and a consistent compact rhythm. */
@media(min-width:761px){html body aside.sb-rail,html body:not(.sb-split)>header,html body:not(.sb-split)>header.top{background:#183442!important;border-right:1px solid #294754!important}html body aside.sb-rail nav.tabs>:is(button,a){color:#c0d1d8!important;border-radius:12px!important;font-family:'Figtree',system-ui,sans-serif!important;font-size:11px!important;line-height:1.3!important;min-height:60px!important}html body aside.sb-rail nav.tabs>:is(button,a):hover,html body:not(.sb-split)>header nav a:hover{background:#244754!important;color:#fff!important}html body aside.sb-rail nav.tabs>[aria-current=page],html body:not(.sb-split)>header nav a[aria-current=page]{background:#2b3955!important;color:#fff!important;box-shadow:inset 0 0 0 1px #485879!important}html body aside.sb-rail nav.tabs>[aria-current=page]::before,html body aside.sb-rail nav.tabs>[aria-current=page]::after,html body:not(.sb-split)>header nav a[aria-current=page]::after{display:none!important}html body aside.sb-rail .brand,html body:not(.sb-split)>header .brand{background:#213968!important;box-shadow:none!important;border-radius:14px!important}html body aside.sb-rail .brand:hover{transform:none!important}.rg-pill,.rg-beacon{display:none!important}.rg-cap{color:#aab4c8!important;font-family:system-ui!important}.sb-rail .sb-rail-label{white-space:normal!important}.sb-rail .hdr-actions{border-top:1px solid #35515d;padding-top:10px}.sb-rail :is(a,button):focus-visible,body>header nav a:focus-visible{outline:3px solid #a6bbe5!important;outline-offset:-3px!important}.sb-rail nav.tabs svg{width:23px!important;height:23px!important;stroke-width:1.7!important}.sb-rail .rg-urgent{background:#3d3542!important;border-color:#7b5c65!important}.sb-rail nav.tabs>[data-key=body]{margin-top:6px!important}}
@media(min-width:761px){html body aside.sb-rail .brand{height:48px!important;min-height:48px!important;width:48px!important;flex-shrink:0!important;margin:12px auto!important}}
/* One blue navigation identity, with vertical scrolling only. */
@media(min-width:761px){html body aside.sb-rail{overflow-x:hidden!important;background:#0b1f3a!important}html body aside.sb-rail nav.tabs>[aria-current=page]{background:#e0eaff!important;color:#173eaf!important;border-color:#aac4f4!important}html body aside.sb-rail .brand{background:#1d4ed8!important}html body aside.sb-rail .hdr-actions{max-width:100%;box-sizing:border-box}html body aside.sb-rail .rg-layer{overflow:hidden}}
/* Shared rail geometry: never let desktop search controls enter navigation. */
@media(min-width:761px){
html body aside.sb-rail,html body:not(.sb-split)>header,html body:not(.sb-split)>header.top,html body:not(.sb-split)>header.compact-header{position:fixed!important;inset:0 auto 0 0!important;width:84px!important;max-width:84px!important;height:100dvh!important;box-sizing:border-box!important;padding:12px 6px!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:stretch!important;gap:8px!important;overflow-x:hidden!important;overflow-y:auto!important;background:#0b1f3a!important;scrollbar-width:thin!important}
html body:not(.sb-split)>header.compact-header>nav,html body:not(.sb-split)>header nav[aria-label=Main]{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%!important;margin:0!important;flex-shrink:0!important}
html body:not(.sb-split)>header nav a,html body aside.sb-rail nav.tabs>:is(a,button){box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding:8px 3px!important;min-height:54px!important;flex-shrink:0!important;font:600 11px/1.3 system-ui!important;border-radius:12px!important;text-align:center!important;overflow-wrap:normal!important;color:#bdd0e9!important}
html body:not(.sb-split)>header nav a[aria-current=page],html body aside.sb-rail nav.tabs>[aria-current=page]{background:#e0eaff!important;color:#173eaf!important;border:0!important;box-shadow:none!important}
html body:not(.sb-split)>header nav a:hover,html body aside.sb-rail nav.tabs>:is(a,button):hover{background:#253e5c!important;color:white!important}
html body:not(.sb-split)>header .brand{flex:0 0 48px!important;min-height:48px!important;margin:4px auto 12px!important;font-size:0!important}
html body:not(.sb-split)>header .compact-urgent{margin-top:auto!important;padding:10px 3px!important;min-height:44px!important;font-size:11px!important;white-space:normal!important;border-radius:12px!important}
html body:not(.sb-split)>header>.compact-location{display:none!important}
html body .bx-search>.compact-location{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#eaf1ff!important;color:#173eaf!important;padding:12px!important;border-radius:12px!important;flex-basis:auto!important;font-size:15px!important}
html body aside.sb-rail nav.tabs{width:100%!important;box-sizing:border-box!important;margin:0!important;padding:0!important}html body aside.sb-rail .rg-layer{display:none!important}
}
@media(min-width:761px){html body:not(.sb-split)>header nav a:before{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;flex:none!important}html body:not(.sb-split)>header nav a[href='/?go=body']{order:-1.5!important}html body:not(.sb-split)>header nav a[href='/signup/']{order:-1!important}html body:not(.sb-split)>header .compact-urgent{display:flex!important;align-items:center!important;justify-content:center!important;background:#ffe5e9!important;color:#811c30!important;flex-shrink:0!important}html body:not(.sb-split)>header .compact-urgent:before{display:none!important}}
.result-refine{padding:12px 16px;margin:12px 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#eaf1ff;border:1px solid #cedcf4;border-radius:12px;color:#304c73;font-size:13px}.result-refine[hidden]{display:none}.result-advanced{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;background:#1d4ed8;color:white!important;border-radius:10px;font-weight:700;text-decoration:none}.result-advanced:focus-visible{outline:3px solid #668de8;outline-offset:3px}.bx-fsearch input{min-height:44px!important;font-size:16px!important}

/* Keep account and urgent controls visible; only the navigation list scrolls. */
@media(min-width:761px){
html body.ag-static>header{overflow:hidden!important}
html body.ag-static>header>.wrap{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important}
html body.ag-static>header nav[data-sb-nav]{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin}
html body.ag-static>header>.ag-rail{position:static!important;flex:0 0 auto!important;margin:6px auto!important;min-height:54px!important;max-width:100%;overflow-wrap:anywhere;order:98}
html body.ag-static>header>:is(.compact-urgent,.appearance-urgent){flex:0 0 auto!important;margin:0!important;order:99}
.ag-menu{max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box}
}
@media(min-width:761px){html body.ag-static>header:not(:has(.compact-urgent))>.appearance-urgent{display:flex!important;align-items:center;justify-content:center;min-height:44px;padding:8px 3px;border-radius:12px;background:#ffe5e9;color:#811c30;font:700 11px/1.3 system-ui;text-align:center;text-decoration:none}}

/* Keep the page width stable when a shorter view or modal removes scrolling. */
html{scrollbar-gutter:stable}
@media(min-width:761px){body.ag-static>header nav[data-sb-nav]{flex-shrink:1!important}body.ag-static>header>a:not(:first-child){display:none!important}}
@media(max-width:760px){#adminSeg{max-width:100%;overflow-x:auto}#adminBody{min-width:0}.ctabs input{min-width:0!important}.chead{flex-wrap:wrap}}

#adminSeg .seg.mini[hidden]{display:none!important}
@media(min-width:761px){header nav a[href="/?go=admin"]:before{content:"⚙"!important;mask:none!important;-webkit-mask:none!important;background:none!important;font-size:23px;line-height:23px}header nav a[href="/staff/claims/"]:before{content:"✓"!important;mask:none!important;-webkit-mask:none!important;background:none!important;font-size:23px;line-height:23px}}
/* Mobile forms and navigation stay readable without zooming or sideways scrolling. */
@media(max-width:600px){
 body input:not([type=checkbox]):not([type=radio]),body select,body textarea{font-size:16px;max-width:100%;box-sizing:border-box}
 .sb-mobile-nav a,.sb-mobile-nav button{min-height:52px;font-size:12px}
 .sb-mobile-menu{max-height:calc(100dvh - 24px);overscroll-behavior:contain;scroll-padding-top:76px}
 .sb-menu-title{position:sticky;top:0;z-index:5;background:var(--surface,#fff);padding:12px 0}
 .sb-menu-group a{min-height:48px;display:flex;align-items:center;justify-content:space-between}
 #signin,#details,#workspace{scroll-margin-top:16px}
 #login>button,#signupForm button[type=submit],#recoveryForm button[type=submit]{width:100%;min-height:48px}
 .dashboard-careers nav{display:grid;grid-template-columns:1fr;width:100%}
 .dashboard-careers nav a{justify-content:center;text-align:center;min-height:48px}
}
/* Manager roster */
.roster-hero{background:var(--surface,#fff);border:1px solid var(--line,#d8e2f0);border-radius:20px;padding:24px;margin-bottom:20px}.roster-hero>p:first-child{font-size:12px;font-weight:800;letter-spacing:1.5px;color:var(--brand,#234bd5)}.roster-hero h2{font-size:30px;margin:8px 0}.roster-hero nav,.roster-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.roster-hero nav{margin-top:18px}.roster-controls label{display:grid;gap:5px;font-size:13px}.roster-controls input,.roster-controls select{padding:10px;min-height:44px;font:inherit;border:1px solid var(--line,#d8e2f0);border-radius:10px;background:var(--surface,#fff);color:inherit}.roster-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.roster-stats>div{padding:16px;background:var(--surface,#fff);border-radius:14px;border:1px solid var(--line,#d8e2f0)}.roster-stats strong{display:block;font-size:28px}.roster-person{background:var(--surface,#fff);border:1px solid var(--line,#d8e2f0);border-radius:16px;padding:18px;margin:16px 0}.roster-person header{display:flex;justify-content:space-between;gap:14px;align-items:start}.roster-person h3{margin:0 0 5px}.roster-person p{margin:5px 0}.roster-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:18px}.roster-day{display:flex;flex-direction:column;gap:8px;border-top:3px solid #4264de;background:var(--bg,#f3f6fb);padding:12px 8px;font-size:12px;border-radius:6px;overflow-wrap:anywhere}.roster-block,.roster-warning{padding:6px;border:1px solid #b99645;border-radius:5px}.roster-session{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;gap:10px;margin:12px 0}.roster-session input,.roster-session select{width:100%;box-sizing:border-box;min-height:44px}.roster-session label{min-width:0}.roster-hub button{min-height:44px}#rosterNotice{white-space:normal;font-weight:600}#rosterError{color:#b43434}
@media(max-width:700px){.roster-hero{padding:18px}.roster-hero h2{font-size:25px}.roster-hero nav>*{flex:1 1 45%;text-align:center}.roster-stats{grid-template-columns:1fr}.roster-stats strong{display:inline;margin-right:8px}.roster-days{grid-template-columns:1fr}.roster-day{display:grid;grid-template-columns:90px 1fr;gap:8px}.roster-day small,.roster-day .roster-block{grid-column:2}.roster-session{grid-template-columns:1fr 1fr}.roster-session input,.roster-session select{font-size:16px}.roster-person header{flex-wrap:wrap}.roster-controls{gap:8px}}

/* ===== 18 Nov 2026 (Claude): Command centre tidy =====
   The menu was centred inside a wider column (uneven indent), the outside review pages and Corrections had their own
   dashed-box style, the Founder chip stretched across the card, and an information note used the warning colour. */
html body.sb-split #adminSeg{align-items:stretch}
html body.sb-split #adminSeg .seg.adm-seg22,html body.sb-split #adminSeg>.seg{width:100%;align-self:stretch}
html body.sb-split #adminSeg .seg a.sb2-adminlink,html body.sb-split #adminSeg button.sb-corr-tab{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin:0;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:600 14px var(--body);text-decoration:none;text-align:left}
html body.sb-split #adminSeg .seg a.sb2-adminlink:hover,html body.sb-split #adminSeg button.sb-corr-tab:hover{background:var(--bg);color:var(--ink)}
html body.sb-split #adminSeg .seg a.sb2-adminlink::after{content:"\2197";margin-left:auto;color:var(--muted);font-weight:500}
html body.sb-split #adminSeg .seg a.sb2-adminlink .sb2-badge{order:1}
html body.sb-split #adminSeg .seg a.sb2-adminlink[data-sb2-link="claims"]{margin-top:8px;border-top:1px solid var(--line);border-radius:0 0 10px 10px;padding-top:30px;position:relative}
html body.sb-split #adminSeg .seg a.sb2-adminlink[data-sb2-link="claims"]::before{content:"Review pages";position:absolute;left:12px;top:10px;font:700 11px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
html body.sb-split #adminSeg button.sb-corr-tab[aria-selected="true"]{background:var(--sb-acc,#1c55d6);color:var(--sb-acc-fg,#fff)}
html body.sb-split #adminSeg button.sb-corr-tab{margin-top:2px}
.acc17-list li>div>.pchip{justify-self:start;width:auto}
#adminBody .note.info22{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--sb2-blue,#2563eb);color:var(--ink)}
.acc17-list .acc-setup22{color:var(--ink);font-weight:600}
@media (max-width:1100px){html body.sb-split #adminSeg .seg a.sb2-adminlink,html body.sb-split #adminSeg button.sb-corr-tab{width:auto}html body.sb-split #adminSeg .seg a.sb2-adminlink[data-sb2-link="claims"]{margin-top:0;border-top:0;padding-top:9px}html body.sb-split #adminSeg .seg a.sb2-adminlink[data-sb2-link="claims"]::before{content:none}}
