/* AREDC Leads — Redesign layer R01 ("Ivory Executive").
   Loaded last. Colors come only from tokens.css. Pure presentation: no selectors/contracts used by JS are changed. */
html{--rx-nav-w:264px;--rx-gap:14px}
html.rail-c{--rx-nav-w:88px}
html body{background:radial-gradient(1200px 520px at 85% -8%,rgba(var(--c-sand-rgb),.16),transparent 60%),radial-gradient(900px 480px at -5% 105%,rgba(var(--c-blue-rgb),.12),transparent 60%),var(--c-ivory);color:var(--c-starlight)}
html body:after{display:none}
html body main{max-width:1680px}
::selection{background:rgba(var(--c-sand-rgb),.4)}
:focus-visible{outline:none!important;box-shadow:var(--rx-ring)!important;border-radius:var(--rx-r-sm)}

/* ---------- Typography ---------- */
html body h1,html body h2,html body h3,html body .ph h2,html body .tdh h2{font-family:'Josefin Sans','Cairo',sans-serif;font-weight:600;letter-spacing:-.025em}
html body .ph h2,html body .tdh h2,html body .desk-heading h2{font-size:clamp(28px,2.6vw,40px);line-height:1.04;position:relative;padding-bottom:14px}
html body .ph h2:after,html body .tdh h2:after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:44px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--c-sand),var(--c-sand-light))}
html body label,html body .desk-eyebrow,html body .lead-board-head .desk-eyebrow{letter-spacing:.14em;font-weight:700;text-transform:uppercase;font-size:10.5px;color:var(--c-sand-dark)}

/* ---------- Surfaces ---------- */
html body .panel,html body .kpi,html body .hx-card,html body .hx-kpi,html body .hc-card,html body .lead-board,html body .sla-panel,html body .dist-panel,html body .smart-views,html body .tc,html body .ui-field,html body .settings-panel,html body .insight-kpi{background:rgba(var(--c-white-rgb),.86);backdrop-filter:saturate(1.4) blur(10px);border:1px solid var(--rx-line);border-radius:var(--rx-r-md);box-shadow:var(--rx-sh-1)}
html body .kpi{border-inline-start:1px solid var(--rx-line);position:relative;overflow:hidden}
html body .kpi:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--c-sand),transparent 70%)}
html body .panel{padding:24px}
html body .hx-kpi{padding:20px 20px 16px;transition:transform .25s var(--rx-ease),box-shadow .25s var(--rx-ease)}
html body .hx-kpi:hover{transform:translateY(-3px);box-shadow:var(--rx-sh-2)}
html body .hx-kpi-ic{border-radius:14px;background:var(--c-sand-wash);color:var(--c-sand-dark)}
html body .lead-board,html body .hx-hero{border-radius:var(--rx-r-lg)}
html body .lead-board{padding:26px;background:linear-gradient(135deg,var(--c-starlight) 0%,var(--c-night) 100%);color:var(--c-white);border:0;box-shadow:var(--rx-sh-2)}
html body .lead-board .desk-eyebrow{color:var(--c-sand-light)}
html body .lead-board-head h2,html body .lead-board-head h3{color:var(--c-white)}
html body .lead-board-head p{color:rgba(var(--c-white-rgb),.72)}
html body .lb p,html body .lb small,html body .lb .lb-t span{color:var(--c-n600)}
html body .lb .lb-count,html body .lb b{color:var(--c-night)}
html body .lb-all{color:rgba(var(--c-white-rgb),.85)}
html body .lb-all *{color:var(--c-night)}
html body .lead-board-total,html body .lead-board-total *{color:var(--c-sand-light)!important}
html body .lead-board .lb-all,html body .lead-board .lb-a,html body .lead-board>*:last-child{color:rgba(var(--c-white-rgb),.8)}

/* ---------- Buttons & inputs ---------- */
html body .btn,html body .ui-btn{border-radius:var(--rx-r-pill);padding-inline:18px;min-height:42px;font-weight:650;letter-spacing:.01em;border:1px solid var(--rx-line);background:var(--c-white);color:var(--c-starlight);transition:transform .18s var(--rx-ease),box-shadow .18s,background .18s}
html body .btn:hover,html body .ui-btn:hover{transform:translateY(-1px);box-shadow:var(--rx-sh-1);background:var(--c-white)}
html body .btn.p,html body .ui-btn.primary,html body .wb-primary{background:linear-gradient(180deg,var(--c-starlight),var(--c-night));border-color:var(--c-night);color:var(--c-white);box-shadow:0 8px 20px rgba(var(--c-night-rgb),.25)}
html body .btn.p:hover,html body .wb-primary:hover{background:linear-gradient(180deg,var(--c-starlight),var(--c-night));box-shadow:0 12px 26px rgba(var(--c-night-rgb),.32)}
html body .btn.s{background:linear-gradient(180deg,var(--c-sand-light),var(--c-sand));border-color:var(--c-sand-dark);color:var(--c-night)}
html body input,html body select,html body textarea{border-radius:14px;min-height:46px;border:1px solid var(--rx-line);background:rgba(var(--c-white-rgb),.92);transition:border-color .15s,box-shadow .15s}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--c-sand);box-shadow:var(--rx-ring)}
html body .bar{padding:10px;background:rgba(var(--c-white-rgb),.7);border:1px solid var(--rx-line);border-radius:var(--rx-r-md);margin:16px 0}
html body .bar input,html body .bar select{border-color:transparent;background:var(--c-ivory)}

/* ---------- Chips, tags, smart views ---------- */
html body .tag,html body .badge,html body .smart-view,html body .hx-chip,html body .hx-badge{border-radius:var(--rx-r-pill)}
html body .smart-view{background:var(--c-white);border:1px solid var(--rx-line);padding:8px 14px;font-weight:650;transition:background-color .18s var(--rx-ease),border-color .18s var(--rx-ease),color .18s var(--rx-ease),box-shadow .18s var(--rx-ease)}
html body .smart-view:hover{border-color:var(--c-sand);background:var(--c-sand-wash)}
html body .smart-view.on{background:var(--c-starlight);color:var(--c-white);border-color:var(--c-starlight)}

/* ---------- Lead list rows ---------- */
html body .list{gap:12px}
html body .lead,html body li.lead{border:1px solid var(--rx-line);border-radius:var(--rx-r-md);background:var(--c-white);box-shadow:var(--rx-sh-1);transition:transform .2s var(--rx-ease),box-shadow .2s,border-color .2s;position:relative}
html body .lead:hover{transform:translateY(-2px);box-shadow:var(--rx-sh-2);border-color:rgba(var(--c-sand-rgb),.7)}
html body .lead .lx-name{font-family:'Josefin Sans','Cairo',sans-serif;font-weight:650;font-size:17px;letter-spacing:-.01em}
html body .lead .lx-av{border-radius:16px;background:linear-gradient(145deg,var(--c-sand-wash),var(--c-ivory-deep));color:var(--c-starlight);font-weight:700}
html body .lead .call,html body .lead .wa{border-radius:14px;width:42px;height:42px;box-shadow:var(--rx-sh-1)}
html body .lead.late{border-inline-start:4px solid var(--c-danger,var(--c-sand-dark))}

/* ---------- Pipeline ---------- */
html body .pipe{gap:16px;padding-bottom:12px}
html body .col{background:rgba(var(--c-ivory-deep-rgb),.55);border:1px solid var(--rx-line);border-radius:var(--rx-r-lg);padding:12px;position:relative}
html body .col:before{content:"";position:absolute;inset:0 22px auto 22px;height:3px;border-radius:0 0 3px 3px;background:var(--c-sand)}
html body .col .ch{padding:12px 8px;font-family:'Josefin Sans','Cairo',sans-serif;font-weight:650;font-size:14.5px;letter-spacing:.01em}
html body .col .ch span:last-child,html body .col .ch .cnt{background:var(--c-white);border-radius:var(--rx-r-pill);box-shadow:var(--rx-sh-1)}
html body .kc{background:var(--c-white);border:1px solid var(--rx-line);border-radius:var(--rx-r-md);box-shadow:var(--rx-sh-1);padding:14px;transition:transform .2s var(--rx-ease),box-shadow .2s}
html body .kc:hover{transform:translateY(-2px);box-shadow:var(--rx-sh-2)}
html body .kc.now{border-color:var(--c-sand);background:linear-gradient(180deg,var(--c-sand-wash),var(--c-white))}

/* ---------- Tables (Insights / Team) ---------- */
html body table{border-collapse:separate;border-spacing:0}
html body table th{background:var(--c-ivory);color:var(--c-n600);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;border-bottom:1px solid var(--rx-line)}
html body table td{border-bottom:1px solid var(--rx-line)}
html body table tbody tr:hover td{background:var(--c-sand-wash)}
html body .insight-track{border-radius:var(--rx-r-pill);background:var(--c-ivory-deep);height:10px;overflow:hidden}
html body .insight-stage i,html body .insight-track>*{border-radius:var(--rx-r-pill)}
html body .tc{padding:20px}
html body .ts{border-radius:var(--rx-r-md)}

/* ---------- Home hero ---------- */
html body .hx-hero{padding:28px 30px;background:linear-gradient(120deg,var(--c-white),var(--c-sand-wash));border:1px solid var(--rx-line);box-shadow:var(--rx-sh-1);overflow:hidden;position:relative}
html body .hx-hello h1{font-size:clamp(30px,3vw,44px);letter-spacing:-.03em}
html body .hx-hello h1 b{color:var(--c-sand-dark)}

/* ---------- Workbar (page toolbar) ---------- */
html body .workbar{position:sticky;top:0;z-index:20;margin:-34px calc(-1 * clamp(24px,3.2vw,54px)) 24px;padding:14px clamp(24px,3.2vw,54px);background:rgba(var(--c-ivory-rgb),.78);backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid var(--rx-line)}
html body .wb-title{font-family:'Josefin Sans','Cairo',sans-serif;font-weight:650}
html body .wb-crumb{letter-spacing:.14em;text-transform:uppercase;font-size:10.5px;color:var(--c-sand-dark)}
html body .wb-search{border-radius:var(--rx-r-pill);background:var(--c-white);border:1px solid var(--rx-line)}

/* ---------- Desktop: floating sidebar ---------- */
@media(min-width:900px){
  html body header.top{inset:var(--rx-gap) auto var(--rx-gap) var(--rx-gap);height:auto;width:calc(var(--hx-w, var(--rx-nav-w)) - var(--rx-gap));border-radius:var(--rx-r-lg);background:radial-gradient(420px 260px at 0% 0%,rgba(var(--c-sand-rgb),.22),transparent 70%),linear-gradient(180deg,var(--c-starlight) 0%,var(--c-night) 100%);border:1px solid rgba(var(--c-white-rgb),.08);box-shadow:var(--rx-sh-nav);padding:24px 14px 14px}
  html body main{margin-inline-start:calc(var(--hx-w, var(--rx-nav-w)) + var(--rx-gap))}
  html body header.top nav button{border-radius:var(--rx-r-pill);min-height:44px;padding-inline:16px;transition:background .2s,color .2s,transform .2s var(--rx-ease)}
  html body header.top nav button:hover{background:rgba(var(--c-white-rgb),.08);transform:translateX(3px)}
  html body header.top nav button.on{background:linear-gradient(90deg,var(--c-sand),var(--c-sand-light));color:var(--c-night);font-weight:700;box-shadow:0 8px 20px rgba(var(--c-sand-rgb),.3)}
  html body header.top nav button.on::before{background:var(--c-night)}
  html body header.top nav button.on::after{display:none}
  html body header.top nav .nv-gl{color:var(--c-sand-light);opacity:.8}
  html body header.top .empchip,html body header.top .hd-search{border-radius:var(--rx-r-pill)}
  html body header.top .me{border-radius:var(--rx-r-md)}
}

/* ---------- Mobile: slim header + floating dock ---------- */
@media(max-width:899px){
  html body header.top{background:var(--c-starlight);box-shadow:0 6px 24px rgba(var(--c-night-rgb),.18)}
  html body header.top nav{inset:auto 12px calc(10px + env(safe-area-inset-bottom)) 12px;width:auto;border-radius:24px;background:rgba(var(--c-night-rgb),.92);backdrop-filter:blur(18px);border:1px solid rgba(var(--c-white-rgb),.1);box-shadow:var(--rx-sh-nav);padding:6px}
  html body header.top nav button{color:rgba(var(--c-white-rgb),.66);border-radius:18px}
  html body header.top nav button.on{background:var(--c-sand);color:var(--c-night)}
  html body main{padding-bottom:110px}
  html body .workbar{margin:-10px -14px 16px;padding:10px 14px;position:static}
  html body .panel{padding:18px}
  html body .lead-board{padding:18px;border-radius:var(--rx-r-md)}
  html body .ph h2,html body .tdh h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){html body *{transition:none!important;animation:none!important}}

/* ---------- R01 fixes: workbench footer label, mobile header/dock ---------- */
html body .lead-board .lb-all>span{color:rgba(var(--c-white-rgb),.78)}
html body .lead-board .lb-all .lb-a,html body .lead-board .lb-all .lb-a *{color:var(--c-night)}


@media (min-width:761px){html:root{--bx-header-h:102px}}
html body .lead-board .lb-all .lb-a{background:var(--c-white);border-radius:var(--rx-r-pill);padding:6px 12px;display:inline-flex;gap:8px;align-items:center;font-weight:600;border:1px solid transparent}
html body .lead-board .lb-all .lb-a.on{background:var(--c-sand-wash);border-color:var(--c-sand)}
html body .lead-board .lb-all .lb-a b{background:var(--c-starlight);color:var(--c-white)!important;border-radius:var(--rx-r-pill);padding:1px 8px}
html body .tc .ts i{background:linear-gradient(90deg,var(--c-starlight),var(--c-blue))!important}
html body .tc .ts:nth-of-type(3) i{background:linear-gradient(90deg,var(--c-blue),var(--c-blue-soft))!important}
html body .tc .ts:nth-of-type(4) i{background:linear-gradient(90deg,var(--c-sand-dark),var(--c-sand-light))!important}

/* ---------- R01: sidebar identity row + compact mobile header ---------- */
@media (min-width:761px){html body header.top .me>span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}html body header.top .me>button{flex:none}}
@media (max-width:760px){
  html body nav.dock button,html body header.top nav button{min-width:0}
  html body nav.dock button span,html body header.top nav button .nv-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10.5px}
}
@media (max-width:760px){
  html body .hx-hero h1,html body .hx-hero h2,html body .hx-hero .hx-hello,html body .hx-hero [class*="greet"]{color:var(--c-starlight)!important;-webkit-text-fill-color:currentColor!important;background:none!important}
  html body .hx-hero .hx-hello em,html body .hx-hero h1 em,html body .hx-hero h1 span,html body .hx-hero h2 span{color:var(--c-sand-dark)!important;-webkit-text-fill-color:currentColor!important}
  html body .hx-hero .hx-cov,html body .hx-hero [class*="coverage"],html body .hx-hero [class*="cov"]{color:var(--c-starlight)!important}
}
@media (max-width:760px){
  html body .hx-hero p,html body .hx-hero small,html body .hx-hero .hx-ring small{color:var(--c-n600)!important;opacity:1!important}
  html body .hx-hero .hx-ring,html body .hx-hero .hx-ring *{color:var(--c-starlight)!important;-webkit-text-fill-color:currentColor!important}
  html body .hx-hero .hx-ring b{color:var(--c-starlight)!important}
  html body .hx-hero input,html body .hx-hero input::placeholder,html body .hx-hero button,html body .hx-hero button *{color:var(--c-starlight)!important;-webkit-text-fill-color:currentColor!important}
  html body .hx-hero input::placeholder{color:var(--c-n500)!important}
}

/* ---------- R01 Leads page layout fixes ---------- */
html body .lead-board .lb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 10px;background:none;border:0;box-shadow:none;padding:0;transform:none}
html body .lead-board .lb-c{position:relative;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;column-gap:12px;min-height:84px;padding:14px 16px;border-radius:var(--rx-r-md);background:var(--c-white);border:1px solid transparent;box-shadow:0 8px 22px rgba(var(--c-night-rgb),.28);color:var(--c-starlight);transition:transform .2s var(--rx-ease),box-shadow .2s var(--rx-ease),background-color .2s var(--rx-ease)}
html body .lead-board .lb-c:hover{transform:translateY(-2px)}
html body .lead-board .lb-c.on{background:var(--c-sand-wash);border-color:var(--c-sand);box-shadow:0 0 0 3px rgba(var(--c-sand-rgb),.55),0 8px 22px rgba(var(--c-night-rgb),.28)}
html body .lead-board .lb-c .lb-copy{display:grid;gap:2px;min-width:0;text-align:start}
html body .lead-board .lb-c .lb-count{margin:0;font-size:26px;line-height:1;color:var(--c-night)}
html body .lead-board .lb-c .lb-arrow{color:var(--c-n500);font-size:20px;line-height:1}
html body .lead-board .lb-all{margin:6px 0 0;display:flex;align-items:center;justify-content:space-between}
/* stacked panels under the workbench: consistent rhythm */
html body .lead-board~.panel,html body .lead-board~section,html body .lead-board~div:not(.lb-list):not(.lb-info){margin-top:14px}
html body .dist-panel{padding:16px 20px;min-height:0;box-shadow:var(--rx-sh-1)}
html body .dist-panel .dist-head{align-items:center}
html body .sla-panel{padding:12px 16px;box-shadow:var(--rx-sh-1)}
html body .smart-views{padding:10px 12px;box-shadow:var(--rx-sh-1)}
/* lead rows as separate rounded cards */
html body .lb-list{display:grid;gap:10px}
html body .lb-list .lead{border-radius:var(--rx-r-md);border:1px solid var(--rx-line);box-shadow:var(--rx-sh-1);background:var(--c-white);overflow:hidden}
html body .lb-list .lead .lx-head{padding:12px 14px 12px 18px;gap:12px}
@media (max-width:760px){
  html body .lead-board .lb{grid-template-columns:1fr;gap:10px}
  html body .lead-board .lb-c{min-height:72px;padding:12px 14px}
  html body .lb-list .lead .lx-head{padding:10px 10px 10px 14px}
}

/* ================= R01 DENSITY LAYER: essentials first, no dead space ================= */
@media (min-width:761px){
  html body .workbar{margin:-34px calc(-1 * clamp(16px,2vw,32px)) 10px;padding:8px clamp(16px,2vw,32px);min-height:0}
  html body .workbar .wb-crumb{display:none}
  html body .workbar .wb-title h1,html body .workbar .wb-title h2,html body .workbar .wb-title b{font-size:20px;line-height:1.1;margin:0}
  html body .workbar .wb-tools{gap:8px}
  html body .workbar .wb-tools>*{min-height:34px}
}
html body .ph h2,html body .tdh h2,html body .desk-heading h2{font-size:20px;padding-bottom:0}
html body .ph h2:after,html body .tdh h2:after{display:none}
html body .ph,html body .tdh{margin:0 0 8px;min-height:0}
html body .panel{padding:12px 14px}

/* Leads: workbench becomes one slim row */
html body .lead-board{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;border-radius:var(--rx-r-md)}
html body .lead-board .lead-board-head{display:flex;align-items:center;gap:12px;margin:0}
html body .lead-board .lead-board-head .desk-eyebrow,html body .lead-board .lead-board-head p{display:none}
html body .lead-board .lead-board-head h2{font-size:15px;margin:0;padding:0;white-space:nowrap}
html body .lead-board .lead-board-head h2:after{display:none}
html body .lead-board .lead-board-total{display:flex;align-items:baseline;gap:6px}
html body .lead-board .lead-board-total b{font-size:18px}
html body .lead-board .lead-board-total span{font-size:10px}
html body .lead-board .lb{margin:0;gap:8px}
html body .lead-board .lb-c{min-height:48px;padding:8px 12px;column-gap:8px;box-shadow:0 4px 12px rgba(var(--c-night-rgb),.25)}
html body .lead-board .lb-c .lb-copy small{display:none}
html body .lead-board .lb-c .lb-ic{width:26px;height:26px}
html body .lead-board .lb-c .lb-count{font-size:20px}
html body .lead-board .lb-all{margin:0;gap:8px}
html body .lead-board .lb-all>span{display:none}
html body .lead-board .lb-all .lb-a{padding:5px 10px}
/* panels under it: slim strips */
html body .sla-panel,html body .dist-panel,html body .smart-views,html body .coach{margin-top:8px!important;padding:6px 12px!important;min-height:0!important;border-radius:var(--rx-r-md);box-shadow:none;border:1px solid var(--rx-line)}
html body .dist-panel{display:flex;align-items:center;gap:10px}
html body .dist-panel p{display:none}
html body .dist-panel .dist-head{gap:10px}
html body .coach{display:flex;align-items:center;gap:10px}
html body .coach p,html body .coach small,html body .coach span:not(:first-child):not(button){display:inline}
html body .coach{font-size:12px;line-height:1.3}
html body .bar{margin:8px 0;padding:6px 8px;gap:6px}
html body .bar input,html body .bar select{min-height:34px;padding-top:4px;padding-bottom:4px}
html body .bar button{min-height:34px;padding-top:4px;padding-bottom:4px}
/* lead rows: dense */
html body .lb-list{gap:6px}
html body .lb-list .lead .lx-head{padding:6px 12px 6px 14px;gap:10px}
html body .lb-list .lead .ll{gap:1px}
html body .lb-head{margin:4px 2px}
/* pipeline + generic cards */
html body .pipe{gap:10px}
html body .pipe .col,html body .pipe [class*="lane"]{padding:8px}
html body .kpi,html body .hx-kpi{padding:10px 12px}
@media (max-width:760px){
  html body .lead-board{grid-template-columns:1fr;gap:8px;padding:8px 10px}
  html body .lead-board .lb{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  html body .lead-board .lb-c{grid-template-columns:auto 1fr;grid-template-areas:"ic count" "copy copy";row-gap:2px;padding:8px;min-height:60px}
  html body .lead-board .lb-c .lb-arrow{display:none}
  html body .lead-board .lb-c .lb-ic{display:none}
  html body .lead-board .lb-c .lb-copy{grid-area:copy}
  html body .lead-board .lb-c .lb-count{grid-area:count;justify-self:end;font-size:18px}
  html body .lead-board .lb-c .lb-t{font-size:11px}
}

/* merge the strips into shared rows (Leads) */
@media (min-width:761px){
  html body .screen-content:has(.lead-board){display:flex;flex-wrap:wrap;column-gap:8px;align-items:stretch}
  html body .screen-content:has(.lead-board)>*{flex:1 1 100%;min-width:0}
  html body .screen-content:has(.lead-board)>.sla-panel{flex:1 1 0}
  html body .screen-content:has(.lead-board)>.dist-panel{flex:0 0 auto}
  html body .screen-content:has(.lead-board)>.smart-views{flex:1 1 100%}
}
html body .coach{padding:4px 10px!important}
html body .coach p,html body .coach small{margin:0}
html body .lb-list .lead .lx-head{padding:4px 10px 4px 12px}
html body .lb-list .lead .lx-head [class*="tag"],html body .lb-list .lead .lx-head .tag{margin-top:0}
html body .lb-list .lead .ll{gap:0}
html body .lb-head{margin:2px}
html body .lb-list .lead .lx-head{row-gap:0!important}
html body .lb-list .lead .lx-head>*{margin-top:0;margin-bottom:0}
html body .lb-list .lead .l2,html body .lb-list .lead .spec{line-height:1.25}
html body .lb-list .lead .lx-head .tags,html body .lb-list .lead .lx-head [class*="tags"]{margin:0;gap:4px}
html body .coach{flex-wrap:nowrap}
html body .coach>div,html body .coach>span{display:inline}
html body .coach b,html body .coach strong{margin-inline-end:8px}
html body .lb-list .lead .tag{padding:1px 7px;font-size:10.5px;line-height:1.45}
html body .lb-list .lead .lx-acts button,html body .lb-list .lead .lx-acts a{width:28px;height:28px;min-height:0}
html body .lb-list .lead .lx-av{width:30px;height:30px;font-size:11px}

/* ---- density: Home ---- */
html body .hx-hero{padding:10px 14px!important;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-height:0}
html body .hx-hero .hx-hello{display:flex;align-items:center;gap:12px;flex:1 1 380px;min-width:0}
html body .hx-hero .hx-hello h1{font-size:clamp(18px,1.8vw,24px);margin:0;line-height:1.1}
html body .hx-hero .hx-hello p{display:none}
html body .hx-hero .hx-av{width:40px;height:40px;font-size:16px}
html body .hx-hero .hx-ring{padding:4px 10px;min-height:0}
html body .hx-hero .hx-tools{flex:0 1 auto;gap:6px;margin:0}
html body .hx-hero .hx-tools>*{height:36px;min-height:0}
html body .manager-flowbar{padding:6px 12px;margin:8px 0;min-height:0}
html body .manager-flowbar .flowbar-links button,html body .manager-flowbar .flowbar-links a{min-height:28px;padding-top:2px;padding-bottom:2px}
html body .hx-kpis{gap:8px!important;margin:8px 0!important}
html body .hx-kpi{padding:8px 10px!important;min-height:0!important;gap:2px}
html body .hx-kpi .hx-kpi-ic{width:28px;height:28px;border-radius:10px}
html body .hx-kpi svg{max-height:26px}
html body .hx-grid-a,html body .hx-grid-b{gap:8px!important}
html body .hx-card{padding:10px 12px}
/* ---- density: Today ---- */
html body .desk-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 6px;padding:0}
html body .desk-heading .desk-heading-copy{flex:1 1 220px;min-width:0}
html body .desk-heading .desk-heading-copy p,html body .desk-heading .desk-heading-copy small,html body .desk-heading .desk-eyebrow{display:none}
html body .desk-heading .desk-heading-copy h2{font-size:20px}
html body .desk-heading .hx-drill{order:3;flex:1 1 100%;padding:4px 8px;min-height:0;margin:0}
html body .desk-heading .hx-drill .hx-mini{min-height:28px;height:28px;padding:0 10px}
html body .desk-heading .desk-heading-actions .btn{min-height:32px;padding-top:2px;padding-bottom:2px}
html body .hc-layout{gap:10px!important}
html body .hc-card,html body .hc-snapshot,html body .hc-stats,html body .hc-side-note{padding:10px 12px}
html body .hc-qs{gap:6px}
/* ---- density: Insights ---- */
html body .insights-head{padding:8px 14px!important;margin:0 0 8px;min-height:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body .insights-head .insight-muted,html body .insights-head p{display:none}
html body .insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;gap:8px!important;margin-bottom:8px}
html body .insight-kpi{padding:8px 10px!important;min-height:0!important;gap:2px}
html body .insight-kpi b,html body .insight-kpi strong{font-size:22px;line-height:1.1}
html body .insight-kpi small,html body .insight-kpi p,html body .insight-kpi span:last-child{font-size:10.5px;line-height:1.25}
html body .insight-stage{min-height:0;padding:3px 0}
html body .insight-muted{margin:2px 0 6px}
/* ---- density: Team / Pipeline ---- */
html body .tcards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:8px!important}
html body .tc{padding:10px 12px!important}
html body .tc .ts{min-height:0;padding:2px 0}
html body .pipe .kc{padding:6px 8px;min-height:0;gap:2px}
html body .pipe .ch{padding:4px 6px;min-height:0}
html body .pipe .cl{gap:6px}
html body .tdh{margin:0 0 6px}
@media (max-width:760px){
  html body .workbar{margin:-6px -14px 8px;padding:4px 14px}
  html body .workbar .wb-title{display:none}
  html body .workbar .wb-tools{width:100%;justify-content:space-between}
  html body .hx-hero .hx-hello h1{font-size:18px}
  html body .hx-hero .hx-tools{width:100%}
  html body .desk-heading .hx-drill{flex-direction:row;flex-wrap:wrap;gap:6px}
  html body .insights-head{padding:6px 10px!important}
  html body .insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .dist-panel,html body .sla-panel{display:flex;flex-wrap:wrap;gap:6px}
}
