/* Elephant Hub shared look: the colours, type and shadows every Hub page uses, in light and dark.
   Link it before a page's own <style>:  <link rel="stylesheet" href="/hub.css?v=60462f477b">
   A page then defines only tokens that are its own. Change a colour here and every linked page follows.
   Text on --mint is always --navy. See Studio/elephant-artifact-brief.md for how the tokens are used. */
@import url("/elle.css?v=5b0ce56c42");   /* Claude, the helper: a core element with its own positioning rules. See that file. */
/* Sizes, taken from the Home page (14 Nov 2026) so every page reads the same. A page's own <style> uses these and
   does not write its own numbers:
     body{font:var(--fs)/var(--lh) var(--body)}
     .wrap{max-width:var(--wrap-w);padding:20px var(--wrap-x) var(--wrap-bottom);gap:var(--stack)}   cards stacked down a page
     gap:var(--section) between headed sections (Home, Workspaces).
   Report pages take their sizes from report.css. Pages built from a template and Admin still carry their own. */
:root{--edge:#747775;--coral-fill:#BA1A1A;--fs:14px;--lh:1.43;--wrap-w:1300px;--wrap-x:16px;--wrap-bottom:56px;--stack:16px;--section:20px}
:root{
  /* Material Design 3 colour roles, tuned to look like Gmail (Shehan, 19 Nov 2026: "liken the colours to more gmail ... more white,
     more tight, blue is less bright"): near-white surfaces, white cards, pale blue for what is chosen and for the main button,
     Google blue only for links, ticks and small accents. The old names stay so every page follows: --navy = deep blue (dark fills,
     text on light blue), --mint = light blue, --*-wash = containers, --page = surface, --card = white, --soft = surface low,
     --line = divider, --edge = outline. */
  --page:#F8FAFD;--card:#FFFFFF;--navy:#041E49;--ink:#1F1F1F;--slate:#444746;--line:#DADCE0;--soft:#F8FAFD;--white:#fff;--on-navy-soft:#D3E3FD;
  --mint:#A8C7FA;--mint-wash:#D3E3FD;--mint-ink:#0B57D0;
  --blue-wash:#C2E7FF;--blue-ink:#0B57D0;--amber-wash:#FFEFC9;--amber-ink:#7C5800;
  --coral:#B3261E;--coral-wash:#FCE8E6;--coral-ink:#B3261E;--grey-wash:#F1F3F4;--violet-wash:#EADDFF;--violet-ink:#6750A4;
  --primary:#0B57D0;--on-primary:#FFFFFF;--primary-container:#C2E7FF;--on-primary-container:#001D35;
  --secondary-container:#D3E3FD;--on-secondary-container:#041E49;--tertiary:#5E5983;--surface-high:#E9EEF6;--surface-highest:#E1E3E1;--inverse:#303030;--on-inverse:#F2F2F2;
  --display:"Roboto",system-ui,-apple-system,sans-serif;--body:"Roboto",system-ui,-apple-system,sans-serif;--mono:"Roboto Mono",ui-monospace,monospace;
  --shadow:none;--pop:0 1px 2px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--edge:#8E918F;
  --page:#131314;--card:#1E1F20;--ink:#E3E3E3;--slate:#C4C7C5;--line:#444746;--soft:#1B1B1B;--mint:#A8C7FA;
  --mint-wash:#004A77;--mint-ink:#A8C7FA;--blue-wash:#004A77;--blue-ink:#C2E7FF;--amber-wash:#5E4200;--amber-ink:#F5BD5E;
  --coral-wash:#8C1D18;--coral-ink:#F2B8B5;--grey-wash:#282A2C;--violet-wash:#4F378B;--violet-ink:#D0BCFF;
  --primary:#A8C7FA;--on-primary:#062E6F;--primary-container:#004A77;--on-primary-container:#C2E7FF;--secondary-container:#004A77;--on-secondary-container:#C2E7FF;
  --surface-high:#282A2C;--surface-highest:#333537;--inverse:#E3E3E3;--on-inverse:#303030;color-scheme:dark}}
:root[data-theme="dark"]{--edge:#8E918F;
  --page:#131314;--card:#1E1F20;--ink:#E3E3E3;--slate:#C4C7C5;--line:#444746;--soft:#1B1B1B;--mint:#A8C7FA;
  --mint-wash:#004A77;--mint-ink:#A8C7FA;--blue-wash:#004A77;--blue-ink:#C2E7FF;--amber-wash:#5E4200;--amber-ink:#F5BD5E;
  --coral-wash:#8C1D18;--coral-ink:#F2B8B5;--grey-wash:#282A2C;--violet-wash:#4F378B;--violet-ink:#D0BCFF;
  --primary:#A8C7FA;--on-primary:#062E6F;--primary-container:#004A77;--on-primary-container:#C2E7FF;--secondary-container:#004A77;--on-secondary-container:#C2E7FF;
  --surface-high:#282A2C;--surface-highest:#333537;--inverse:#E3E3E3;--on-inverse:#303030;color-scheme:dark}

/* ---------- Workspace blocks ----------
   One block per division: its head workspace on top, everything else nested under it on a thin rail. Used on Home; use the same
   classes on any page that lists a workspace with things inside it, so they all look and fold the same way.
     <section class="wblock" style="--dc:#4270E2">        --dc is the division's colour. It is an accent only (bar, tinted icon, small label,
       <div class="wtile">                                 rail), never a fill. Add .plain for Head Office and anything without a colour.
         <a class="wlink" href="…"><span class="wico">icon</span><span class="tx"><span class="weye">Division</span><b>Name</b><small>What it is</small></span></a>
         <span class="ttag workspace">Workspace</span><span class="go">Open →</span>
         <button class="wfold" aria-expanded="true"><span>7</span><svg…chevron/></button>      folds the .nest away
       </div>
       <div class="nest">cards, or .fpart groups each with a .lbl</div>
     </section>
   .ttag is the small type tag on a card. Most cards are apps, so tag only the exceptions: .ttag.report and .ttag.setup. */
.wblock{--dc:#8A94A3;--dc-ink:color-mix(in srgb,var(--dc) 55%,var(--navy));--dc-wash:color-mix(in srgb,var(--dc) 15%,var(--card));display:flex;flex-direction:column;gap:0}
.wblock.plain{--dc:#8A94A3;--dc-ink:var(--slate);--dc-wash:var(--grey-wash)}
.wtile{position:relative;display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:12px;background:var(--card);border:1px solid var(--line);box-shadow:none;transition:border-color .15s,transform .15s}
.wtile::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:var(--dc)}
.wtile:hover{border-color:color-mix(in srgb,var(--dc) 55%,var(--line));transform:translateY(-1px)}
.wlink{flex:1;min-width:0;display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.wlink::after{content:"";position:absolute;inset:0;border-radius:12px}
.wico{flex:none;width:44px;height:44px;border-radius:12px;background:var(--dc-wash);color:var(--dc-ink);display:inline-flex;align-items:center;justify-content:center;font-size:22px;transition:transform .2s}
.wtile:hover .wico{transform:scale(1.06) rotate(-3deg)}
.wico svg{width:22px;height:22px}
.wtile .tx{min-width:0;flex:1}
.weye{display:block;font:500 12px/16px var(--body);letter-spacing:.5px;text-transform:none;color:var(--dc-ink);opacity:.85;margin-bottom:4px}
.wtile b{display:block;font:500 16px/24px var(--body);letter-spacing:.15px}
.wtile small{display:block;color:var(--slate);font-size:14px;line-height:20px;margin-top:2px}
.wtile .go{font-weight:500;font-size:14px;color:var(--primary);white-space:nowrap}
.wfold{position:relative;z-index:2;flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 8px 0 12px;border-radius:8px;border:1px solid var(--edge);background:transparent;color:var(--slate);font:500 14px/20px var(--body);cursor:pointer}
.wfold:hover{border-color:var(--dc);color:var(--ink)}
.wfold svg{transition:transform .2s}.wfold[aria-expanded="true"] svg{transform:rotate(180deg)}
.nest{position:relative;display:flex;flex-direction:column;gap:14px;margin-left:39px;padding:14px 0 2px 22px;border-left:2px solid color-mix(in srgb,var(--dc) 30%,var(--line))}
.nest[hidden]{display:none}
.fpart{display:flex;flex-direction:column;gap:8px}
.fpart>.lbl{font:500 12px/16px var(--body);letter-spacing:.5px;text-transform:none;color:var(--slate)}
.wblock.dragging{opacity:.4}
.ttag{flex:none;align-self:flex-start;font:500 11px/16px var(--body);letter-spacing:.5px;text-transform:none;padding:0 6px;border-radius:6px;border:1px solid var(--line);color:var(--slate);white-space:nowrap}
.ttag.report{background:var(--amber-wash);border-color:transparent;color:var(--amber-ink)}
.ttag.workspace{align-self:center;border-color:transparent;background:var(--dc-wash);color:var(--dc-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .wblock:not(.plain){--dc-ink:color-mix(in srgb,var(--dc) 68%,#fff);--dc-wash:color-mix(in srgb,var(--dc) 22%,var(--card))}}
:root[data-theme="dark"] .wblock:not(.plain){--dc-ink:color-mix(in srgb,var(--dc) 68%,#fff);--dc-wash:color-mix(in srgb,var(--dc) 22%,var(--card))}
@media (max-width:640px){.wtile{padding:12px 14px;gap:10px}.wlink{gap:12px}.wtile .go,.wtile .ttag.workspace{display:none}.nest{margin-left:14px;padding-left:12px}}
@media (prefers-reduced-motion:reduce){.wtile,.wico,.wfold svg{transition:none}.wtile:hover,.wtile:hover .wico{transform:none}}

/* ---------- Division heading (Home) ----------
   A division's cards sit straight under a slim heading: colour dot, name, a count, and a link to its workspace page.
     <div class="dhead whead"><i class="dot"></i><h2><a href="/hubs?d=…">Name</a></h2><span class="par">7</span><a class="wopen" href="…">Open workspace →</a></div> */
.whead .wopen{margin-left:auto;font:500 14px/20px var(--body);color:var(--primary);text-decoration:none;white-space:nowrap;padding:6px 0}
.whead .wopen:hover,.whead h2 a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.whead h2 a{color:inherit;text-decoration:none}
/* A function inside Head Office: .fpart is a soft inset panel, set in from the Head Office heading. Inside it: a.fhead
   (dot, name, count pill, "Open →" on hover), then .fbody with the cards and, under a hairline, the brands. */
.fpart{gap:12px;margin-left:28px;padding:16px;border-radius:12px;background:var(--soft);border:1px solid var(--line)}
.fhead{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;text-decoration:none;color:inherit}
.fhead .dot{width:8px;height:8px;border-radius:50%;flex:none}
.fhead b{font:500 16px/24px var(--body);letter-spacing:.15px}
.fhead .par{font:500 12px/16px var(--body);color:var(--slate);background:var(--card);border:1px solid var(--line);padding:2px 6px;border-radius:6px}
.fhead .go{font:500 14px/20px var(--body);color:var(--primary);opacity:0;transition:opacity .15s}
.fhead:hover .go,.fhead:focus-visible .go{opacity:1}
.fbody{display:flex;flex-direction:column;gap:12px}
.fbody .brandrow{grid-template-columns:minmax(0,1fr);row-gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.fbody .brandrow .lbl{line-height:1}
@media (max-width:640px){.fpart{margin-left:10px;padding:12px}}

/* ---------- People with access (division workspace pages) ----------
   <section class="ppl" style="--dc:#4270E2"> heading, then .pgrid of .pcard (avatar .pav, name, title, optional .ttag.lead),
   then .palso chips for people from other teams and a .pnote line. --dc tints the avatars only. */
.ppl .grouph .pmanage{margin-left:auto;height:32px;padding:0 12px;font-size:14px}
.grouph .more{margin-left:auto;font:500 14px/20px var(--body);color:var(--primary);text-decoration:none}.grouph .more:hover{color:var(--ink)}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.pcard{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);min-width:0}
.pav{flex:none;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font:500 14px/1 var(--body);background:color-mix(in srgb,var(--dc,#8A94A3) 16%,var(--card));color:color-mix(in srgb,var(--dc,#8A94A3) 55%,var(--navy))}
.pcard .tx{min-width:0;flex:1}
.pcard b{display:block;font-weight:500;font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard small{display:block;color:var(--slate);font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ttag.lead{align-self:center;border-color:transparent;background:var(--mint-wash);color:var(--mint-ink)}
.palso{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.palso .lbl{font:500 12px/16px var(--body);letter-spacing:.5px;text-transform:none;color:var(--slate);margin-right:4px}
.pchip{display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;min-height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--edge);background:transparent;font-size:14px;font-weight:500;color:var(--slate)}
.pchip small{color:var(--slate);font-weight:400;font-size:12px}
.pnote{color:var(--slate);font-size:12px;line-height:16px;margin:12px 0 0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .pav{color:color-mix(in srgb,var(--dc,#8A94A3) 68%,#fff)}}
:root[data-theme="dark"] .pav{color:color-mix(in srgb,var(--dc,#8A94A3) 68%,#fff)}
.icard .ttag.workspace{align-self:center;background:var(--mint-wash);color:var(--mint-ink)}
.ppl .grouph{flex-wrap:wrap}.ppl .grouph h2,.ppl .grouph .pmanage{white-space:nowrap}
@media (max-width:640px){.ppl .grouph>span{order:3;flex-basis:100%}.whead .wopen{font-size:12px}}
/* Main headings on Home stand out: larger name, the division's colour as a short bar (not a dot), the count as a small pill, and a hairline under the row. */
.dhead.whead{padding-bottom:10px;border-bottom:1px solid var(--line);gap:12px}
.dhead.whead h2{font:400 22px/28px var(--body);letter-spacing:0}
.dhead.whead .dot{width:5px;height:22px;border-radius:3px}
.dhead.whead .par{font:500 12px/16px var(--body);color:var(--slate);background:var(--surface-highest);padding:2px 6px;border-radius:6px}
@media (max-width:640px){.dhead.whead h2{font-size:20px}}

/* ---------- Workspace kit ----------
   The parts every workspace page shares (Teams, Digital, Lending, Group CRM): side menu, toolbars, pills, lists, the side drawer,
   fields, tiles and charts. A page opts in with <html class="kit"> and then writes only what is its own. Every selector sits
   inside :where(.kit), so it adds no weight: a page's own rule for the same class still wins. Change a part here and every
   workspace follows. Lifted word for word from the four pages on 14 Nov 2026, where they were repeated. */
:where(.kit) .bstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin-top:4px}
:where(.kit) .bstat{border-radius:12px;padding:8px 12px;background:var(--card);border:1px solid var(--line);text-align:left;color:var(--ink);min-width:0}
:where(.kit) button.bstat:hover{background:color-mix(in srgb,var(--primary) 8%,var(--card))}
:where(.kit) .bstat b{display:block;font:400 24px/32px var(--body);font-variant-numeric:tabular-nums}
:where(.kit) .bstat span{font-size:12px;color:var(--slate)}
:where(.kit) .bstat.first{background:var(--secondary-container);border-color:transparent;color:var(--on-secondary-container)}
:where(.kit) .bstat.first span{color:var(--on-secondary-container)}
:where(.kit) .card{padding:16px}   /* the card's look is the Hub kit's (kit.css) */
:where(.kit) .mut{color:var(--slate)}
:where(.kit) .ws{display:grid;grid-template-columns:212px minmax(0,1fr);gap:22px;align-items:start}
:where(.kit) .ws>section{min-width:0;display:flex;flex-direction:column;gap:14px}
:where(.kit) .side{position:sticky;top:var(--hub-stick,84px);display:flex;flex-direction:column;gap:12px;background:transparent;border:0;border-radius:0;padding:0}
:where(.kit) .sg{display:flex;flex-direction:column;gap:2px}
:where(.kit) .sg>span{font:500 14px/20px var(--body);letter-spacing:.1px;text-transform:none;color:var(--slate);padding:12px 16px 8px}
:where(.kit) .side button{position:relative;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:999px;min-height:36px;padding:0 16px;gap:12px;font-weight:500;font-size:14px;letter-spacing:.1px;color:var(--slate);text-align:left;width:100%}
:where(.kit) .side button svg{width:22px;height:22px;color:var(--slate);flex:none}
:where(.kit) .side button .n{margin-left:auto;font:500 12px/16px var(--body);letter-spacing:.5px;color:var(--slate)}
:where(.kit) .side button:hover{background:color-mix(in srgb,var(--ink) 8%,transparent)}
:where(.kit) .side button[aria-pressed="true"]{background:var(--secondary-container);color:var(--on-secondary-container);font-weight:700}
:where(.kit) .side button[aria-pressed="true"] svg{color:var(--on-secondary-container)}
:where(.kit) .side button[aria-pressed="true"] .n{color:var(--on-secondary-container)}
:where(.kit) .side .step{font:500 12px/1 var(--body);font-variant-numeric:tabular-nums;color:var(--slate);width:14px;flex:none;text-align:center}
:where(.kit) .side button[aria-pressed="true"] .step{color:var(--on-secondary-container)}
:where(.kit) .adm{font:500 11px/16px var(--body);background:var(--amber-wash);color:var(--amber-ink);padding:0 6px;border-radius:6px;margin-left:auto}
:where(.kit) .tbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
:where(.kit) .seg{display:inline-flex;gap:0;background:transparent;border:1px solid var(--edge);border-radius:999px;padding:0;flex-wrap:wrap;overflow:hidden}
:where(.kit) .seg button{border:0;border-left:1px solid var(--edge);background:transparent;border-radius:0;min-height:38px;padding:0 16px;font-weight:500;font-size:14px;letter-spacing:.1px;color:var(--ink)}
:where(.kit) .seg button:first-child{border-left:0}
:where(.kit) .seg button[aria-pressed="true"]{background:var(--secondary-container);color:var(--on-secondary-container);box-shadow:none}
:where(.kit) .chip{display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--edge);background:transparent;font-size:14px;font-weight:500;letter-spacing:.1px;color:var(--slate);white-space:nowrap;max-width:100%}
:where(.kit) .chip[aria-pressed="true"]{background:var(--secondary-container);border-color:transparent;color:var(--on-secondary-container)}
:where(.kit) .search{height:40px;border-radius:999px;border:0;background:var(--surface-high);color:var(--ink);padding:0 16px;font-size:14px;min-width:0;width:220px}
/* The older workspaces' main button (class="primary": + New task, + New client and so on). Same size, type and edge as
   the kit's main button (kit.css .btn.primary), so the button is one button on every page (Shehan, 16 Nov 2026). */
:where(.kit) .primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:var(--k-h,40px);min-height:var(--k-h,40px);border:1px solid var(--primary-container);border-radius:999px;background:var(--primary-container);color:var(--on-primary-container);font:500 14px/20px var(--body);padding:0 24px;margin-left:auto;white-space:nowrap;cursor:pointer}
:where(.kit) .primary:hover{box-shadow:0 1px 2px rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}
:where(.kit) .ghost{height:40px;border:1px solid var(--edge);border-radius:999px;background:transparent;color:var(--primary);font-weight:500;padding:0 16px;font-size:14px;letter-spacing:.1px;white-space:nowrap}
:where(.kit) .note{font-size:14px;color:var(--slate)}
:where(.kit) .groups{display:flex;flex-direction:column;gap:14px}
:where(.kit) .gh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 4px;cursor:pointer;user-select:none;border-radius:8px}
:where(.kit) .gh:hover{background:color-mix(in srgb,var(--ink) 8%,transparent)}
:where(.kit) .gh .car{width:16px;height:16px;color:var(--slate);transition:transform .15s;flex:none}
:where(.kit) .group.shut .gh .car{transform:rotate(-90deg)}
:where(.kit) .group.shut .list{display:none}
:where(.kit) .gh .n{font:500 12px/16px var(--body);font-variant-numeric:tabular-nums;color:var(--slate)}
:where(.kit) .gh .sd{font-size:12px;color:var(--slate);margin-left:auto}
:where(.kit) .group .list{margin-top:6px}
:where(.kit) .list{container-type:inline-size;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
:where(.kit) .row{display:flex;align-items:center;gap:12px;padding:0 16px;min-height:40px;border-top:1px solid var(--line);min-width:0}
:where(.kit) .row:first-child{border-top:0}
:where(.kit) .row.head{min-height:40px;background:var(--soft)}
:where(.kit) .row.head .c{font:500 12px/16px var(--body);letter-spacing:.5px;text-transform:none;color:var(--slate)}
:where(.kit) .row:not(.head){cursor:pointer}
:where(.kit) .row:not(.head):hover{background:color-mix(in srgb,var(--ink) 4%,transparent)}
:where(.kit) .c{flex:var(--f,1) 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
:where(.kit) .c.main{display:flex;align-items:center;gap:8px}
:where(.kit) .c.end{text-align:right;justify-content:flex-end}
:where(.kit) .c.mid{text-align:center;justify-content:center}
:where(.kit) .nm{font-weight:500;flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis}
:where(.kit) .sub{font-size:12px;color:var(--slate);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
:where(.kit) .money{font-variant-numeric:tabular-nums}
:where(.kit) .empty{padding:16px;font-size:14px;color:var(--slate)}
:where(.kit) .pill{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:500;letter-spacing:.5px;white-space:nowrap}
:where(.kit) .t-mint{background:var(--mint-wash);color:var(--mint-ink)}
:where(.kit) .t-blue{background:var(--blue-wash);color:var(--blue-ink)}
:where(.kit) .t-amber{background:var(--amber-wash);color:var(--amber-ink)}
:where(.kit) .t-coral{background:var(--coral-wash);color:var(--coral-ink)}
:where(.kit) .t-grey{background:var(--grey-wash);color:var(--slate)}
:where(.kit) .t-violet{background:var(--violet-wash);color:var(--violet-ink)}
:where(.kit) .tag{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
:where(.kit) .tag i{width:8px;height:8px;border-radius:50%;background:var(--c,var(--slate));flex:none}
:where(.kit) .av{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font:500 11px/1 var(--body);background:var(--pc,#444746);color:#fff;flex:none}
:where(.kit) .who{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%}
:where(.kit) .who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
:where(.kit) .who.unl .av{background:transparent;border:1px dashed var(--edge);color:var(--slate)}
:where(.kit) .who.unl span{color:var(--slate)}
:where(.kit) .was{display:block;margin-top:4px;font-size:12px;color:var(--slate)}
:where(.kit) .late{color:var(--coral-ink);font-weight:500}
:where(.kit) .mut{color:var(--slate)}
/* A task list's top row (Digital, Offshoring, a division's Tasks page): the people to show as pills, the page's main button on the right. */
:where(.kit) .pps{display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-width:0}
:where(.kit) .pps .pp{display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;min-height:32px;border:1px solid var(--edge);background:transparent;border-radius:8px;padding:0 12px 0 4px;font-weight:500;font-size:14px;letter-spacing:.1px;color:var(--slate);cursor:pointer}
:where(.kit) .pps .pp:not(:has(.who)){padding-left:12px}
:where(.kit) .pps .pp[aria-pressed="true"]{border-color:transparent;background:var(--secondary-container);color:var(--on-secondary-container);box-shadow:none}
:where(.kit) .pps .pp .who{flex:none;display:inline-block;width:24px;height:24px;border-radius:50%;background:var(--surface-highest);color:var(--slate);font:500 10px/24px var(--body);text-align:center;overflow:hidden}
:where(.kit) .tbar.ttasks{gap:10px}
:where(.kit) .tbar.ttasks .pps{flex:1 1 auto}
:where(.kit) .tbar.ttasks .pp{height:32px}
:where(.kit) .tbar .tacts{margin-left:auto;display:flex;gap:8px;align-items:center}
:where(.kit) .tbar .tacts .primary{margin:0}
:where(.kit) .prog{height:4px;width:90px;border-radius:999px;background:var(--surface-highest);overflow:hidden;flex:none}
:where(.kit) .prog i{display:block;height:100%;background:var(--primary);border-radius:999px}
:where(.kit) .pc2{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--slate)}
:where(.kit) .cgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
:where(.kit) .dc{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:4px;min-width:0}
:where(.kit) .dc h3{margin:0;font:500 16px/24px var(--body);letter-spacing:.15px;display:flex;justify-content:space-between;gap:8px}
:where(.kit) .dc h3 button{border:0;background:none;color:var(--primary);font-size:14px;font-weight:500}
:where(.kit) .dc a,:where(.kit) .dc button.doc{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border:0;border-top:1px solid var(--line);font-size:14px;color:inherit;text-decoration:none;background:none;text-align:left;min-width:0;width:100%}
:where(.kit) .dc a:first-of-type,:where(.kit) .dc button.doc:first-of-type{border-top:0}
:where(.kit) .dc a span:first-child,:where(.kit) .dc button.doc span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.kit) .sech{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:6px 4px 0}
:where(.kit) .sech h2{margin:0;font:400 22px/28px var(--body);letter-spacing:0}
:where(.kit) .sech span{color:var(--slate);font-size:14px}
:where(.kit) .rhead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
:where(.kit) .rhead h2{margin:0;font:400 22px/28px var(--body);letter-spacing:0}
:where(.kit) .rhead p{margin:2px 0 0;font-size:14px;color:var(--slate)}
:where(.kit) .pnav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
:where(.kit) .pnav .arrow{width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--slate);font-size:16px;line-height:1}
:where(.kit) .pnav .arrow:hover{background:color-mix(in srgb,var(--ink) 8%,transparent)}
:where(.kit) .pnav b{font:500 16px/24px var(--body);min-width:140px;text-align:center}
:where(.kit) .tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
:where(.kit) .tile{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:4px;min-width:0}
:where(.kit) .tile .k{font-size:12px;line-height:16px;letter-spacing:.5px;color:var(--slate);font-weight:500}
:where(.kit) .tile .v{font:400 28px/36px var(--body);font-variant-numeric:tabular-nums;letter-spacing:0}
:where(.kit) .tile .s{font-size:12px;color:var(--slate)}
:where(.kit) .tile.hero{background:var(--primary-container);border-color:transparent;color:var(--on-primary-container)}
:where(.kit) .tile.hero .k,:where(.kit) .tile.hero .s{color:var(--on-primary-container)}
:where(.kit) .tile.warn .v{color:var(--coral-ink)}
:where(.kit) .meter{height:4px;border-radius:999px;background:color-mix(in srgb,currentColor 18%,transparent);overflow:hidden;margin-top:4px}
:where(.kit) .meter i{display:block;height:100%;background:var(--primary);border-radius:999px}
:where(.kit) .rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
:where(.kit) .rcard{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0}
:where(.kit) .rcard h3{margin:0;font:500 16px/24px var(--body);letter-spacing:.15px;display:flex;justify-content:space-between;gap:8px;align-items:baseline;flex-wrap:wrap}
:where(.kit) .rcard h3 span{font:500 12px/1 var(--body);color:var(--slate)}
:where(.kit) .bars{display:flex;flex-direction:column;gap:9px}
:where(.kit) .rb{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;font-size:13px}
:where(.kit) .rb .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.kit) .rb .num{font-weight:500;font-variant-numeric:tabular-nums}
:where(.kit) .rb .track{grid-column:1/-1;height:8px;border-radius:999px;background:var(--surface-highest);overflow:hidden;display:flex}
:where(.kit) .rb .track i{display:block;height:100%;background:var(--primary)}
:where(.kit) .rb .track i.b{background:var(--tertiary)}
:where(.kit) .rb .track i.r{background:var(--coral)}
:where(.kit) .trend{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;align-items:end;height:150px}
:where(.kit) .trend .tc{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;height:100%;text-align:center;font-size:12px;color:var(--slate);min-width:0}
:where(.kit) .trend .stk{display:flex;flex-direction:column-reverse;border-radius:6px 6px 2px 2px;overflow:hidden;min-height:2px;background:var(--surface-highest)}
:where(.kit) .trend .stk i{display:block;width:100%}
:where(.kit) .trend .val{font-weight:500;color:var(--ink);font-size:12px}
:where(.kit) .trend .tc.cur .stk{outline:2px solid var(--primary);outline-offset:1px}
:where(.kit) .trend.pair .stk{flex-direction:row;align-items:flex-end;gap:2px;overflow:visible;flex:1;background:none}
:where(.kit) .trend.pair .stk i{border-radius:4px 4px 1px 1px;min-height:2px}
:where(.kit) .legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--slate)}
:where(.kit) .legend b{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
:where(.kit) .sw{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
:where(.kit) .sw:first-child{border-top:0}
:where(.kit) .sw b{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Material switch at the old size: outlined track and grey handle when off, primary track and a larger on-primary handle when on. */
:where(.kit) .toggle{width:40px;height:24px;box-sizing:border-box;border-radius:999px;border:2px solid var(--edge);background:var(--surface-highest);position:relative;flex:none}
:where(.kit) .toggle::after{content:"";position:absolute;top:4px;left:4px;width:12px;height:12px;border-radius:50%;background:var(--edge);transition:left .15s}
:where(.kit) .toggle[aria-pressed="true"]{background:var(--primary);border-color:var(--primary)}
:where(.kit) .toggle[aria-pressed="true"]::after{left:18px;top:1px;width:18px;height:18px;background:var(--on-primary)}
:where(.kit) .toggle:disabled{opacity:.5;cursor:default}
:where(.kit) .scrim{position:fixed;inset:0;background:rgba(0,0,0,.32);z-index:1100}
:where(.kit) .drawer{position:fixed;top:0;right:0;bottom:0;width:min(580px,100%);background:var(--soft);border-radius:16px 0 0 16px;z-index:1101;box-shadow:var(--pop);display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
:where(.kit) .dh{display:flex;gap:12px;align-items:flex-start;padding:12px 12px 12px 24px;border-bottom:0}
:where(.kit) .dh .tt{flex:1;min-width:0}
:where(.kit) .dh .kind{font:500 12px/16px var(--body);letter-spacing:.5px;text-transform:none;color:var(--slate)}
:where(.kit) .dh h2{margin:4px 0 0;font:400 22px/28px var(--body);letter-spacing:0;overflow-wrap:anywhere}
:where(.kit) .x{width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--slate);font-size:20px;flex:none}
:where(.kit) .x:hover{background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink)}
:where(.kit) .dbody{overflow-y:auto;overflow-x:hidden;padding:8px 24px 24px;display:flex;flex-direction:column;gap:16px}
:where(.kit) .fields{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px 14px;align-items:center;font-size:14px}
:where(.kit) .fields>label{color:var(--slate);font-size:12px;line-height:16px;letter-spacing:.5px;font-weight:500}
:where(.kit) .fields>div{min-width:0}
:where(.kit) .fields input:not([type=checkbox]),:where(.kit) .fields select,:where(.kit) .fields textarea,:where(.kit) .inp{width:100%;height:40px;border-radius:4px;border:1px solid var(--edge,var(--line));background:transparent;color:var(--ink);padding:0 12px;font-size:14px;min-width:0}
:where(.kit) .fields textarea{height:auto;min-height:70px;padding:8px 12px;resize:vertical}
:where(.kit) .fields input:focus,:where(.kit) .fields select:focus,:where(.kit) .fields textarea:focus,:where(.kit) .inp:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
:where(.kit) .h3{font:500 16px/24px var(--body);letter-spacing:.15px;text-transform:none;color:var(--ink);margin:4px 0 0;display:flex;justify-content:space-between;align-items:center;gap:8px}
:where(.kit) .box{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:2px 16px}
:where(.kit) .li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px;min-width:0}
:where(.kit) .li:first-child{border-top:0}
:where(.kit) .li .grow{flex:1;min-width:0}
:where(.kit) .li .grow b{display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.kit) .li .grow small{display:block;color:var(--slate);font-size:12px}
:where(.kit) .li[data-open]{cursor:pointer}
:where(.kit) .paybox{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
:where(.kit) .paybox label{display:flex;flex-direction:column;gap:4px;font-size:12px;letter-spacing:.5px;color:var(--slate);font-weight:500}
:where(.kit) .locked{display:flex;gap:10px;align-items:flex-start;background:var(--soft);border:0;border-radius:12px;padding:12px 16px;font-size:14px;color:var(--slate)}
:where(.kit) .check{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px}
:where(.kit) .check:first-child{border-top:0}
:where(.kit) .check input{width:18px;height:18px;accent-color:var(--primary);flex:none}
:where(.kit) .check.done span{color:var(--slate);text-decoration:line-through}
:where(.kit) .check span{flex:1;min-width:0}
:where(.kit) .check small{color:var(--slate);font-size:12px;white-space:nowrap}
:where(.kit) .check .rm{border:0;background:none;color:var(--slate);font-size:16px;padding:0 4px}
:where(.kit) .addrow{display:flex;gap:8px;padding:8px 0}
:where(.kit) .danger{border:1px solid var(--edge);color:var(--coral-ink);background:transparent;border-radius:999px;height:40px;padding:0 16px;font-weight:500;font-size:14px;letter-spacing:.1px;align-self:flex-start}
:where(.kit) .toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--inverse);color:var(--on-inverse);padding:14px 16px;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px;box-shadow:var(--pop);z-index:1102;max-width:calc(100% - 32px);text-align:left}
:where(.kit) .toast.err{background:var(--coral);color:#fff}
/* Access floors for kit pages (WCAG 2.2 AA): nothing you click is under 24px tall, and the keyboard focus ring is visible on every surface. */
:where(.kit) :where(button,select,[role="button"]){min-height:24px}
:where(.kit) :focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* On a phone the workspace menu is a single row you swipe, so the work starts higher up the screen. (.kit, not :where, so it
   wins over each page's own tablet grid for the menu.) */
@media (max-width:640px){
  .kit .side{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:4px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  .kit .side::-webkit-scrollbar{display:none}
  .kit .side button{flex:0 0 auto;width:auto;min-width:72px;padding:9px 8px}
}

/* History dialog (site/history.js): who changed what on one record. Opened by any button with data-history. */
/* Material dialog: 28px corners, headline small title, a close icon button. */
dialog.hist{border:0;border-radius:28px;background:var(--card);color:var(--ink);padding:0;width:min(640px,calc(100vw - 32px));max-height:80vh;box-shadow:var(--pop);font:400 14px/20px var(--body);letter-spacing:.25px}
dialog.hist::backdrop{background:rgba(0,0,0,.32)}
.hist-h{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 12px 8px 24px;border-bottom:0}
.hist-h h2{font:400 24px/32px var(--body);letter-spacing:0;margin:0}
.hist-x{width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--slate);font-size:20px;line-height:1;cursor:pointer}
.hist-x:hover{background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink)}
.hist-b{padding:4px 24px 24px;overflow:auto;max-height:calc(80vh - 72px)}
.hist-r{padding:12px 0;border-bottom:1px solid var(--line);display:grid;gap:4px}
.hist-r:last-child{border-bottom:0}
.hist-m{font-size:12px;color:var(--slate);margin:10px 0 0}
.hist-r .hist-m{margin:0}
.hist-c{overflow-wrap:anywhere}
.hist-c s{color:var(--slate)}

/* Bulk tools (site/bulk.js): the bar while ticking records, and the Deleted list (it reuses the History dialog). */
.bulkbar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:calc(100vw - 32px);background:var(--surface-high);color:var(--ink);border:0;border-radius:16px;padding:8px 16px;box-shadow:var(--pop);font:400 14px/20px var(--body)}
.bulkbar select,.bulkbar button,dialog.bin button{min-height:40px;border:1px solid var(--edge);border-radius:999px;background:transparent;color:var(--primary);font:500 14px/20px var(--body);letter-spacing:.1px;padding:0 16px;cursor:pointer}
.bulkbar select{border-radius:4px;padding:0 12px;max-width:210px;color:var(--ink)}
.bulkbar button:hover,dialog.bin button:hover{background:color-mix(in srgb,var(--primary) 8%,transparent)}
.bulkbar .bulk-go,dialog.bin .bulk-go{background:var(--primary);border-color:var(--primary);color:var(--on-primary);padding:0 24px}
.bulkbar .bulk-go:hover,dialog.bin .bulk-go:hover{background:color-mix(in srgb,var(--primary) 92%,#fff)}
.bulkbar .bulk-del{color:var(--coral-ink)}
.bulkbar .bulk-msg{flex:1 1 100%;font-size:12px;color:var(--slate)}
dialog.bin .hist-x{padding:0}
.bin-r{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.bin-r input{width:18px;height:18px;accent-color:var(--primary)}
dialog.bin .bulk-go{margin:10px 0 4px}
@media (max-width:600px){.bulkbar{left:16px;right:16px;transform:none;bottom:12px}}


/* Moving between pages: the page cross-fades, and the banner and Admin's tab bar stay put instead of blinking
   (browsers that support it; others just load the page as before). Off when the device asks for less motion. */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .hub-hero{view-transition-name:hub-hero}
  .atabs{view-transition-name:hub-atabs}.atabs.asub{view-transition-name:hub-asub}
}
