/* THE SHELL (2026-10-22 redesign: Aura branding, white surfaces, navy accents, black buttons, a collapsible sidebar, readable
   cards, compact tables). Loaded after reports.css and separation.css; it restyles, every page keeps its own markup. */
:root{--navy:#4F46E5;--navy-2:#4338CA;--navy-soft:#EEF0FE;--ink:#0F172A;--text:#334155;--muted:#64748B;--line:#E6E8EF;--page:#F6F7FB;--side:256px;--side-folded:72px}   /* 2026-10-23: the design references' indigo accent (the old names stay; ui.css has the --ui- tokens) */
body{background:var(--page)}
/* ---------- the sidebar */
.mobile-bar{display:none}
.reports-shell{display:grid;grid-template-columns:var(--side) minmax(0,1fr);min-height:100vh}
.reports-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:18px 12px 14px;overflow-y:auto;overflow-x:hidden}
.side-brand{display:flex;align-items:flex-start;gap:8px;padding:2px 8px 20px;position:relative}
.side-brand .brand-logo{height:26px;width:auto}
.side-sub{position:absolute;left:8px;top:32px;font-size:11px;letter-spacing:.06em;color:var(--muted);text-transform:uppercase}
.side-collapse{margin-left:auto;border:0;background:none;padding:4px;border-radius:6px;color:var(--muted);line-height:0}
.side-collapse svg,.nav-item svg,.side-signout svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.side-collapse:hover{background:var(--navy-soft);color:var(--navy)}
#tabs{display:flex;flex-direction:column;gap:2px;border:0;margin:0;flex:1}
#tabs button{font:inherit}
.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:8px;padding:10px 12px;color:var(--text);font-weight:600;text-align:left;position:relative}
.nav-item:hover,.nav-subitem:hover{background:#F4F5F8}
.nav-item.active,.nav-group.here>.nav-parent{color:var(--navy)}
.nav-item.active{background:var(--navy-soft);box-shadow:inset 3px 0 var(--navy)}
.nav-caret{margin-left:auto;width:8px;height:8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);opacity:.55;transition:transform .15s}
.nav-parent[aria-expanded="true"] .nav-caret{transform:rotate(-135deg) translate(-1px,-1px)}
.nav-sub{display:flex;flex-direction:column;gap:1px;margin:2px 0 6px 21px;padding-left:12px;border-left:1px solid var(--line)}
.nav-subitem{border:0;background:none;text-align:left;padding:7px 10px;border-radius:7px;color:var(--muted);font-weight:500;font-size:13.5px;display:flex;align-items:center;gap:8px}
.nav-subitem.active{color:var(--navy);background:var(--navy-soft);font-weight:600;box-shadow:inset 2px 0 var(--navy)}
#tabs .lv-count{margin-left:auto;background:var(--navy)}
.side-foot{border-top:1px solid var(--line);padding-top:12px;margin-top:12px;display:flex;flex-direction:column;gap:6px}
.side-user{display:flex;align-items:center;gap:10px;padding:4px 8px}
.side-user b{display:block;font-size:13px;color:var(--ink)}.side-user small{display:block;font-size:11.5px;color:var(--muted)}
.side-avatar{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.side-signout{display:flex;align-items:center;gap:10px;border:0;background:none;padding:8px;border-radius:8px;color:var(--text);font-weight:600;text-align:left}
.side-signout:hover{background:#F4F5F8}
.side-foot .signin{padding:8px;font-weight:600}
/* folded to icons (desktop) */
body.side-folded .reports-shell{grid-template-columns:var(--side-folded) minmax(0,1fr)}
body.side-folded .reports-sidebar{padding:18px 10px 14px}
body.side-folded .side-brand{flex-direction:column;align-items:center;padding:0 0 16px}
body.side-folded .side-brand .brand-logo{height:18px}
body.side-folded .side-sub,body.side-folded .nav-label,body.side-folded .nav-caret,body.side-folded .nav-sub,body.side-folded .side-user span:not(.side-avatar),body.side-folded .side-signout span,body.side-folded #tabs .lv-count{display:none}
body.side-folded .side-collapse{margin:6px 0 0;transform:rotate(180deg)}
body.side-folded .nav-item{justify-content:center;padding:11px 0}
body.side-folded .side-user{justify-content:center;padding:4px 0}
body.side-folded .side-signout{justify-content:center}
/* ---------- the page */
.reports-shell main{max-width:1440px;width:100%;margin:0 auto;padding:22px 28px 40px}
.report-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px;min-height:40px}
.crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-right:auto}
.crumbs b{color:var(--ink);font-weight:600}
.report-tools #freshness{color:var(--muted)}
.heading h2{font-size:26px;letter-spacing:-.4px;color:var(--ink)}
.page-sub{margin:22px 0 4px;font-size:15px;color:var(--ink)}
.filters{background:transparent}
.filters select,.filters input{background:#fff}
/* cards and panels: white, light line, roomy */
.card,.panel{border-color:var(--line);border-radius:12px;box-shadow:0 1px 2px #1018280a}
.card span{color:var(--muted);font-size:13px}
.card strong{color:var(--ink)}
.summary-cards .card strong{font-size:30px}
.metrics-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 18px}
.metrics-bar b{display:block;color:var(--ink)}.metrics-bar .small{display:block}
.metric-group{margin:22px 0 2px;font-size:15px;color:var(--ink)}
.metric-group+.cards{margin-top:10px}
/* compact tables */
th,td{padding:10px 12px}
th{background:#F7F8FA;color:var(--muted)}
tbody tr:hover td{background:#FAFBFC}
/* buttons: black primary, quiet secondary */
.primary{background:var(--ink);border-color:var(--ink);color:#fff}
.primary:hover{background:#2A2F3A}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--navy-2);outline-offset:2px}
a{color:var(--navy-2)}
/* segmented switch (Customer insights) */
.seg{display:inline-flex;background:#EEF0F4;border-radius:10px;padding:3px;gap:3px;margin:0 0 16px}
.seg button{border:0;background:none;border-radius:8px;padding:8px 16px;font-weight:600;color:var(--muted)}
.seg button[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #10182814}
/* the Leave / Call quality sub-tabs, in the same navy */
.lv-nav button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy)}
.lv-count{background:var(--navy)}
/* Settings › Data sources */
.src-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
.src-card h3{display:flex;align-items:center;gap:8px;margin-bottom:6px}.src-card p{margin:4px 0}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#D69E1F}.dot.ok{background:#15803D}
/* ---------- tablets and phones: the menu is a drawer */
@media(max-width:1024px){
 .mobile-bar{display:flex;align-items:center;gap:14px;height:56px;padding:0 14px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
 .mobile-bar .nav-toggle{display:grid}
 .reports-shell,body.side-folded .reports-shell{grid-template-columns:minmax(0,1fr)}
 .reports-sidebar{position:fixed;top:56px;left:0;bottom:0;height:auto;width:min(280px,84vw);z-index:50;transform:translateX(-100%);transition:transform .2s ease}
 body.nav-open .reports-sidebar{transform:none;box-shadow:8px 0 30px #0000001f}
 .side-brand{display:none}
 body.side-folded .nav-label,body.side-folded .nav-caret,body.side-folded .side-user span:not(.side-avatar),body.side-folded .side-signout span{display:initial}
 body.side-folded .nav-sub{display:flex}body.side-folded .nav-sub[hidden]{display:none}
 body.side-folded .nav-item{justify-content:flex-start;padding:10px 12px}
 .reports-shell main{padding:16px 14px 32px}
 .src-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .heading h2{font-size:22px}
 .summary-cards .card strong{font-size:24px}
 .report-tools{gap:8px}.crumbs{width:100%}
 .seg{display:flex}.seg button{flex:1;padding:8px 6px}
}
@media(prefers-reduced-motion:reduce){.reports-sidebar,.nav-caret{transition:none}}
/* over reports.css's older menu rules (higher specificity there) */
.reports-sidebar #tabs .nav-item{padding:10px 12px;border-radius:8px}
.reports-sidebar #tabs .nav-subitem{padding:7px 10px;border-radius:7px}
.reports-sidebar #tabs button.active{background:var(--navy-soft);color:var(--navy);box-shadow:inset 3px 0 var(--navy)}
.reports-sidebar #tabs .nav-subitem.active{box-shadow:inset 2px 0 var(--navy)}
body.side-folded .reports-sidebar #tabs .nav-item{padding:11px 0}
@media(max-width:1024px){body.side-folded .reports-sidebar #tabs .nav-item{padding:10px 12px}}
/* ---------- sign in (2026-10-22 redesign) */
.login-page{background:#fff}
.login-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(280px,38%) minmax(0,1fr) auto}
.login-hero{background:#1C2A4E;color:#fff;padding:48px 44px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.login-hero::after{content:"";position:absolute;width:520px;height:520px;border:1px solid #ffffff22;border-radius:50%;right:-260px;bottom:-200px}
.login-word{font:600 40px/1 Georgia,serif;margin:0;color:#fff;letter-spacing:.5px}.login-sub{margin:4px 0 0;color:#C9D0E3;font-size:14px}
.login-hero h2{font:600 44px/1.12 Georgia,serif;margin:auto 0 16px;color:#fff}.login-hero p:last-child{color:#C9D0E3;margin:0 0 30px;font-size:17px}
.login-main{padding:56px clamp(20px,6vw,80px);display:flex;flex-direction:column;justify-content:center;max-width:560px}
.login-main .login-logo{height:30px;width:auto;margin-bottom:34px}
.login-main h1{font-size:34px;letter-spacing:-.6px;margin:0;color:var(--ink)}.login-lead{color:var(--muted);margin:6px 0 26px}
#login,#signup{display:grid;gap:16px;max-width:420px}#login .primary,#signup .primary{padding:12px}
#firstTime{margin:18px 0 0;color:var(--muted)}
.login-help{margin-top:34px}
.login-steps{margin:56px 44px 56px 0;align-self:center;border:1px solid var(--line);border-radius:14px;padding:22px 24px;width:260px}
.login-steps h3{margin:0 0 14px}.login-steps ol{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;gap:16px}
.login-steps li{counter-increment:s;display:grid;grid-template-columns:28px 1fr;column-gap:10px}.login-steps li::before{content:counter(s);grid-row:span 2;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.login-steps b{font-size:14px;color:var(--ink)}.login-steps span{font-size:13px;color:var(--muted)}
@media(max-width:1100px){.login-wrap{grid-template-columns:minmax(240px,34%) minmax(0,1fr)}.login-steps{grid-column:2;margin:0 clamp(20px,6vw,80px) 40px;width:auto;max-width:420px}}
@media(max-width:760px){.login-wrap{grid-template-columns:1fr}.login-hero{padding:28px 20px}.login-hero h2{font-size:30px;margin:20px 0 8px}.login-hero::after{display:none}.login-main{padding:32px 16px}.login-steps{grid-column:1;margin:0 16px 32px}}
.team-switch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}.team-switch .seg{margin:0}
.cards.summary-cards.summary-key{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.cards.summary-cards.summary-key{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* page header: where you are, one line about the page, the account menu */
.page-head{margin-right:auto;min-width:0}.page-head .crumbs{margin:0}
.page-desc{margin:2px 0 0;font-size:13px;color:var(--muted)}.page-desc:empty{display:none}
.acct{position:relative}.acct-btn{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:3px 12px 3px 3px;font-weight:600}
.acct-btn .side-avatar{width:28px;height:28px;font-size:12px}
.acct-menu{position:absolute;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #1018281f;min-width:200px;padding:8px;z-index:70}
.acct-menu .acct-who{padding:8px 10px;border-bottom:1px solid var(--line);margin-bottom:6px}.acct-who b{display:block;color:var(--ink)}.acct-who small{color:var(--muted)}
.acct-menu button{width:100%;text-align:left;border:0;background:none;padding:8px 10px;border-radius:8px}.acct-menu button:hover{background:#F4F5F8}
@media(max-width:700px){.acct-name{display:none}.acct-btn{padding:3px}}
/* Dashboard work sections */
.ctx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.ctx-card{margin:0}.ctx-card .heading{margin-bottom:6px}.ctx-card h3{margin:0 0 6px}.ctx-wide{grid-column:1/-1}
.ctx-nums{display:flex;flex-wrap:wrap;gap:8px 22px;margin:8px 0}.ctx-nums b{font-size:20px;color:var(--ink)}.ctx-over b{color:#B42318}
.ctx-list{list-style:none;margin:6px 0 0;padding:0}.ctx-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.ctx-list li:first-child{border-top:0}.ctx-list b{display:block;color:var(--ink);font-size:14px}.ctx-list small{color:var(--muted)}
.ctx-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ctx-two h4{margin:4px 0 0;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.ctx-two .tablewrap{margin-top:8px}
@media(max-width:900px){.ctx-grid,.ctx-two{grid-template-columns:1fr}}
/* detail drawer */
.drawer-scrim{position:fixed;inset:0;background:#10131840;z-index:80}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);background:#fff;z-index:81;box-shadow:-16px 0 40px #1018282e;display:flex;flex-direction:column}
.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.drawer-head h3{margin:0}.drawer-head p{margin:2px 0 0}
.drawer-x{border:0;background:none;font-size:24px;line-height:1;padding:2px 8px;color:var(--muted)}
.drawer-body{padding:16px 20px;overflow-y:auto}
.dl{display:grid;grid-template-columns:1fr auto;gap:0;margin:0}.dl dt,.dl dd{padding:8px 0;border-bottom:1px solid var(--line);margin:0}.dl dt{color:var(--muted)}.dl dd{text-align:right;font-weight:600;color:var(--ink)}
.results-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 4px}.results-bar .seg{margin:0}.results-bar label{flex-direction:row;align-items:center;gap:8px}
.pill.you{background:var(--navy);color:#fff}.agent-pick{font-weight:600;color:var(--navy-2);text-decoration:none}.agent-pick:hover{text-decoration:underline}
/* Call Quality: list + details */
.qa-split{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:16px;align-items:start;margin-top:8px}
.qa-list{display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 200px);overflow-y:auto;position:sticky;top:12px}
.qa-row{display:flex;flex-direction:column;gap:3px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.qa-row.on{border-color:var(--navy);box-shadow:inset 3px 0 var(--navy);background:var(--navy-soft)}
.qa-row-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.qa-row-flag{color:#8A5A00}
.qa-detail>.panel{margin-top:0}
@media(max-width:900px){.qa-split{grid-template-columns:1fr}.qa-list{position:static;max-height:none}}
.sms-tabs{margin:14px 0 0}.drawer-h{margin:14px 0 6px;font-size:13px;color:var(--muted)}.sms-preview{background:#F7F8FA;border:1px solid var(--line);border-radius:10px;padding:10px 12px;white-space:pre-wrap;font-size:14px}
.drawer label{display:flex;flex-direction:column;gap:6px}
/* SIDE DRAWERS (2026-10-22 redesign): the Day plan's and Calendar's edit and detail pop-ups open at the side of the page; the routine
   editor stays wide and centred (it needs the room) */
dialog.split-dialog:not(.cal-routine):not(.day-report),dialog#planDialog,dialog#entryDialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(520px,100%);max-width:100%;border:0;border-left:1px solid var(--line);border-radius:0;padding:22px 24px 28px;overflow-y:auto;box-shadow:-16px 0 40px #1018282e}
dialog.split-dialog.cal-card:not(.cal-routine):not(.day-report){width:min(460px,100%)}
dialog.split-dialog[open]:not(.cal-routine):not(.day-report),dialog#planDialog[open],dialog#entryDialog[open]{animation:aura-slide .18s ease-out}
dialog::backdrop{background:#10131840}
@keyframes aura-slide{from{transform:translateX(28px);opacity:.5}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none!important}}
.col-list{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}@media(max-width:500px){.col-list{grid-template-columns:1fr}}
.lv-impact{margin:10px 0;border:1px solid var(--line);border-radius:10px;padding:8px 12px}.lv-impact summary{cursor:pointer;font-weight:600;display:flex;gap:8px;align-items:center}
.acct-link{display:block;padding:8px 10px;border-radius:8px;color:var(--text)}.acct-link:hover{background:#F4F5F8;text-decoration:none}
.lv-policy summary{cursor:pointer;font-weight:600}
/* Calendar activity filter: the legend's buttons */
.cal-legend{display:flex;flex-wrap:wrap;gap:6px}.cal-kind-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;color:var(--text)}
.cal-kind-btn i{width:10px;height:10px;border-radius:3px;display:inline-block}.cal-kind-btn[aria-pressed="false"]{opacity:.45;text-decoration:line-through}
body.cal-hide-setup .cal-ev.cal-setup,body.cal-hide-calls .cal-ev.cal-calls,body.cal-hide-support .cal-ev.cal-support,body.cal-hide-team .cal-ev.cal-team{display:none}
.login-hero-logo{height:40px;width:auto;filter:brightness(0) invert(1);align-self:flex-start}
/* ======================================================================================================================
   THE 2026-10-23 LOOK (design references 32, 34, 37, 38): a light page, a white sidebar with icon groups and indigo active
   items, the person and Sign out at the bottom; a slim top bar (where you are · Updated … · Refresh data · you). The tokens
   (--ui-*) are in ui.css; the rules below restyle the shell and the older shared pieces so every page fits in until it moves
   to the ui- classes. */
body{background:var(--ui-bg,#F6F7FB);color:var(--ui-text,#334155)}
:root{font-family:"Schibsted Grotesk","Inter var",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
/* sidebar */
.reports-sidebar{background:#fff;border-right:1px solid var(--line);padding:20px 14px 16px}
.side-brand{padding:4px 10px 26px}
.side-brand .brand-logo{height:24px}
.side-sub{top:32px;left:10px;font-size:13px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:500}
#tabs{gap:4px}
.reports-sidebar #tabs .nav-item{gap:12px;padding:10px 12px;border-radius:10px;color:var(--text);font-weight:500;font-size:14px;line-height:1.3}
.reports-sidebar #tabs .nav-item svg{width:20px;height:20px;color:var(--muted)}
.reports-sidebar #tabs .nav-item:hover,.reports-sidebar #tabs .nav-subitem:hover{background:#F5F6FA;color:var(--ink)}
.reports-sidebar #tabs button.nav-item.active{background:var(--navy-soft);color:var(--navy);box-shadow:inset 3px 0 var(--navy);font-weight:600}
.reports-sidebar #tabs button.nav-item.active svg,.nav-group.here>.nav-parent svg{color:var(--navy)}
.nav-group.here>.nav-parent{color:var(--ink);font-weight:600}
.nav-sub{margin:2px 0 8px 22px;padding-left:12px;border-left:1px solid var(--line);gap:2px}
.reports-sidebar #tabs .nav-subitem{padding:8px 12px;border-radius:8px;color:var(--muted);font-weight:500;font-size:13.5px}
.reports-sidebar #tabs .nav-subitem.active{background:var(--navy-soft);color:var(--navy);font-weight:600;box-shadow:none}
.reports-sidebar #tabs button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(79,70,229,.28)}
#tabs .lv-count,.lv-count{background:var(--navy)}
.side-foot{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;gap:4px}
.side-user{padding:4px 6px 8px;gap:12px}
.side-user b{font-size:14px;font-weight:600}.side-user small{font-size:12px}
.side-avatar{width:36px;height:36px;background:var(--navy-soft);color:var(--navy-2);font-size:12.5px;letter-spacing:.2px}
.side-signout{gap:12px;padding:9px 8px;color:var(--text);font-weight:500;font-size:14px}
.side-signout svg{width:20px;height:20px}
.side-signout:hover{background:#F5F6FA;color:var(--ink)}
.side-foot .signin{border-radius:10px;justify-content:center}
body.side-folded .side-avatar{width:32px;height:32px}
/* top bar: breadcrumb left; Updated, (i), Refresh data and the account on the right */
.reports-shell main{max-width:1480px;padding:0 32px 48px}
.report-tools{margin:0 -32px 24px;padding:14px 32px;min-height:64px;background:#fff;border-bottom:1px solid var(--line);gap:14px}
.report-tools .crumbs{font-size:13.5px;gap:8px;color:var(--muted);border:0;margin:0;flex-wrap:wrap}
.report-tools .crumbs span[aria-hidden]{color:#A6AEBB}
.report-tools .crumbs b{color:var(--ink);font-weight:600}
.report-tools #freshness{font-size:13px;color:var(--muted)}
.report-tools #freshness.source-status{color:#B54708;font-weight:600}
.report-tools .toolbar{gap:10px;align-items:center;flex-wrap:nowrap}
.refresh-btn{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-weight:600;font-size:13.5px;white-space:nowrap}
.refresh-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.refresh-btn:hover{background:#F5F6FA;border-color:#C9CED8}
.refresh-btn:disabled svg{animation:ui-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.refresh-btn:disabled svg{animation:none}}
.acct-btn{border:0;background:none;padding:0;border-radius:50%}
.acct-btn:hover{background:none}
.acct-btn .side-avatar{width:38px;height:38px;font-size:13px;border:1px solid var(--navy-soft)}
.acct-btn:hover .side-avatar{background:#E2E5FD}
.acct-name{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.acct-menu{border-radius:12px;padding:6px;min-width:220px}
.acct-menu button,.acct-link{font-size:14px}
/* the page's own line under the breadcrumb, until the page has its own header (.ui-page-head) */
.page-desc{font-size:13px}
main:has(.ui-page-head) #pageDesc{display:none}
/* the older shared pieces, in the new tokens (each page moves to the ui- classes) */
.card,.panel{border-color:var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.04)}
.heading h2{font-size:26px;letter-spacing:-.4px;color:var(--ink)}
th{background:#F8F9FC;color:var(--muted);font-size:12px;text-transform:none;letter-spacing:0;font-weight:600}
th,td{border-bottom-color:var(--line)}
.primary{background:#0F172A;border-color:#0F172A;color:#fff}.primary:hover{background:#1E293B;border-color:#1E293B}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
a,a:not(.brand):not(.back){color:var(--navy-2)}
.lv-nav button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy)}
/* the global filters: one white bar */
.reports-shell .filters{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;gap:12px;box-shadow:0 1px 2px rgba(16,24,40,.04);margin-bottom:20px}
.reports-shell .filters label{font-size:12.5px;color:var(--text)}
.reports-shell .filters select,.reports-shell .filters input,.reports-shell .filters .session-picker summary{border-color:#D5D9E2;border-radius:8px;min-height:40px}
/* the page's messages */
#message:not(:empty){background:#FFFAEB;border:1px solid #FEDF89;color:#7A2E0E;border-radius:10px;padding:10px 14px}
/* first load */
.loading-cards .card{min-height:96px}
@media(max-width:1024px){
 .mobile-bar{border-bottom:1px solid var(--line)}
 .reports-shell main{padding:0 16px 32px}
 .report-tools{margin:0 -16px 18px;padding:10px 16px;min-height:0}
 .report-tools .page-head{flex:1 1 100%}
 .report-tools #freshness{flex:1 1 auto;min-width:0}
}
@media(max-width:700px){
 .report-tools{gap:8px 10px}
 .report-tools .page-head{width:100%}
 .reports-shell .filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}
 .report-tools #freshness{flex:1;min-width:0;font-size:12px}
 .refresh-btn{padding:7px 10px}.refresh-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .acct-btn .side-avatar{width:34px;height:34px}
}
