/* Modern look (owner 2026-10-30, spec docs/superpowers/specs/2026-10-30-modern-look-design.md, mock-up _shots/claimdesk-frosted-app.html).
   RULE: every selector starts with html.mod (tests/modern.test.js checks it), so switching the look off gives the original app exactly.
   Never style printed documents here (.sheet, .sheetwrap, print media, .pdf-srv, .pdf-cap).
   html.mod:not(#_m) carries one id so these rules win over the :root:not(#_d) blocks at the end of styles.css. */
@media screen{


/* ---- tokens ---- */
html.mod:not(#_m){--mx-bg1:#eef3f9;--mx-bg2:#dbe6f4;--mx-g1:rgba(167,208,86,.42);--mx-g2:rgba(94,199,218,.34);--mx-g3:rgba(34,66,149,.22);
  --mx-t1:rgba(255,255,255,.62);--mx-t2:rgba(255,255,255,.34);--mx-p1:rgba(255,255,255,.58);--mx-p2:rgba(255,255,255,.32);--mx-ps:rgba(255,255,255,.88);
  --mx-edge:rgba(255,255,255,.55);--mx-sh:0 10px 30px rgba(15,42,74,.07);--mx-psh:0 6px 18px rgba(15,42,74,.10);--mx-hi:inset 0 1px 0 rgba(255,255,255,.45);
  --mx-sel:#0f2a4a;--mx-sel-ink:#ffffff;--mx-hov:rgba(15,42,74,.06);--mx-opq:#f4f8fc;--mx-solid:rgba(255,255,255,.9);--mx-pop:rgba(255,255,255,.97);--mx-pops:rgba(255,255,255,.97);
  --mx-cap:linear-gradient(180deg,rgba(246,249,253,.98),rgba(243,247,252,.97));--mx-blur:blur(22px) saturate(1.5);--mx-pblur:blur(20px) saturate(1.6)}
html.mod[data-theme="dark"]:not(#_m){--mx-bg1:#0d1a2b;--mx-bg2:#0a1422;--mx-g1:rgba(167,208,86,.16);--mx-g2:rgba(94,199,218,.16);--mx-g3:rgba(80,120,220,.2);
  --mx-t1:rgba(255,255,255,.08);--mx-t2:rgba(255,255,255,.03);--mx-p1:rgba(255,255,255,.09);--mx-p2:rgba(255,255,255,.04);--mx-ps:rgba(22,38,60,.9);
  --mx-edge:rgba(255,255,255,.15);--mx-sh:0 10px 30px rgba(0,0,0,.28);--mx-psh:0 6px 18px rgba(0,0,0,.3);--mx-hi:inset 0 1px 0 rgba(255,255,255,.05);
  --mx-sel:#a7d056;--mx-sel-ink:#13230a;--mx-hov:rgba(255,255,255,.06);--mx-opq:#14253b;--mx-solid:rgba(17,32,52,.92);--mx-pop:rgba(27,46,73,.97);--mx-pops:rgba(27,46,73,.99);
  --mx-cap:linear-gradient(180deg,#16263a,#16263a)}
@media (prefers-color-scheme:dark){html.mod:not([data-theme="light"]):not(#_m){--mx-bg1:#0d1a2b;--mx-bg2:#0a1422;--mx-g1:rgba(167,208,86,.16);--mx-g2:rgba(94,199,218,.16);--mx-g3:rgba(80,120,220,.2);
  --mx-t1:rgba(255,255,255,.08);--mx-t2:rgba(255,255,255,.03);--mx-p1:rgba(255,255,255,.09);--mx-p2:rgba(255,255,255,.04);--mx-ps:rgba(22,38,60,.9);
  --mx-edge:rgba(255,255,255,.15);--mx-sh:0 10px 30px rgba(0,0,0,.28);--mx-psh:0 6px 18px rgba(0,0,0,.3);--mx-hi:inset 0 1px 0 rgba(255,255,255,.05);
  --mx-sel:#a7d056;--mx-sel-ink:#13230a;--mx-hov:rgba(255,255,255,.06);--mx-opq:#14253b;--mx-solid:rgba(17,32,52,.92);--mx-pop:rgba(27,46,73,.97);--mx-pops:rgba(27,46,73,.99);
  --mx-cap:linear-gradient(180deg,#16263a,#16263a)}}

/* ---- page: soft glows behind everything ---- */
html.mod:not(#_m) body{background-color:var(--mx-bg1)!important;background-image:radial-gradient(700px 520px at 8% 62%,var(--mx-g1),transparent 62%),radial-gradient(760px 560px at 58% 30%,var(--mx-g2),transparent 62%),radial-gradient(700px 520px at 96% 85%,var(--mx-g3),transparent 62%),linear-gradient(180deg,var(--mx-bg1),var(--mx-bg2))!important;background-attachment:fixed!important}

/* ---- top bar: transparent, the menu as one floating pill, round frosted buttons ---- */
html.mod:not(#_m) #topbar.top{background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important;color:var(--ink)!important;padding-top:14px;padding-bottom:14px;transition:padding .2s}
html.mod:not(#_m) #topbar.top::before,html.mod:not(#_m) #topbar.top::after{display:none!important}
html.mod:not(#_m) #topbar .brand .cdx{color:var(--ink)!important}
html.mod:not(#_m) #topbar .brand .cdx-d{color:#7fb43a!important}html.mod[data-theme="dark"]:not(#_m) #topbar .brand .cdx-d{color:#a7d056!important}
html.mod:not(#_m) #topbar nav.tabs{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));border:1px solid var(--mx-edge);border-radius:999px;padding:5px;gap:2px;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:var(--mx-psh)}
html.mod:not(#_m) #topbar nav.tabs button{color:var(--mute)!important;background:transparent!important;border-radius:999px!important;border:0!important;box-shadow:none!important}
html.mod:not(#_m) #topbar nav.tabs button:hover{color:var(--ink)!important;background:var(--mx-hov)!important}
html.mod:not(#_m) #topbar nav.tabs button[aria-selected=true]{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important;font-weight:600}
html.mod:not(#_m) #topbar .hdr-right .nt-bell,html.mod:not(#_m) #topbar .um-btn{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;color:var(--ink)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:var(--mx-psh)!important}
html.mod:not(#_m) #topbar .hdr-right .nt-bell{width:42px!important;height:42px!important}
html.mod:not(#_m) #topbar .hdr-right .nt-bell:hover,html.mod:not(#_m) #topbar .um-btn:hover{background:var(--mx-ps)!important}
html.mod:not(#_m) #topbar .um-btn .who-t b,html.mod:not(#_m) #topbar .um-btn .who-t{color:var(--ink)!important}
html.mod:not(#_m) #topbar .um-btn .who-t small{color:var(--mute)!important}
html.mod:not(#_m) #topbar .navtog span{background:var(--ink)!important}
html.mod:not(#_m) #topbar .syncst{color:var(--mute)!important}
/* while the page scrolls: slimmer, still floating pills (no band), logo plain */
html.mod.tbg-solid:not(#_m) #topbar.stuck nav.tabs,html.mod.tbg-solid:not(#_m) #topbar.stuck .hdr-right .nt-bell,html.mod.tbg-solid:not(#_m) #topbar.stuck .um-btn{background:var(--mx-ps)!important}

/* ---- project bar: one frosted pill, tabs as pills ---- */
html.mod:not(#_m) #projbar.projbar{background:transparent!important;border:0!important;box-shadow:none!important}
html.mod:not(#_m) #projbar .pb-in{padding-top:4px;padding-bottom:6px}
html.mod:not(#_m) #projbar .pb-row2{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));border:1px solid var(--mx-edge);border-radius:999px;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh);padding:6px 8px 6px 18px}
/* One bar height (owner 2026-11-12): the Top bar menu pill, its round buttons, the name pill and the Action bar are all --barh (48px): 36px controls + 5px padding + 1px edge */
html.mod:not(#_m){--barh:48px}
@media (min-width:721px){html.mod:not(#_m) #projbar .pb-row2{min-height:var(--barh);padding-top:5px;padding-bottom:5px}
html.mod:not(#_m):not(#_n) #topbar nav.tabs{min-height:var(--barh);align-items:center}
html.mod:not(#_m):not(#_n) #topbar nav.tabs button{min-height:36px}
html.mod:not(#_m):not(#_n) #topbar .hdr-right .nt-bell{width:var(--barh)!important;height:var(--barh)!important}
html.mod:not(#_m):not(#_n) #topbar .um-btn{min-height:var(--barh)}}
@media (min-width:721px) and (max-width:1499px){html.mod:not(#_m):not(#_n) #topbar .hdr-right{gap:6px}}
html.mod:not(#_m) #projbar .ptabs button{border:0!important;border-radius:999px!important;box-shadow:none!important;color:var(--mute)!important;background:transparent!important}
html.mod:not(#_m) #projbar .ptabs button::after,html.mod:not(#_m) #projbar .ptabs button::before{display:none!important}
html.mod:not(#_m) #projbar .ptabs button:hover{background:var(--mx-hov)!important;color:var(--ink)!important}
html.mod:not(#_m) #projbar .ptabs button[aria-selected=true]{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important;font-weight:600}
html.mod.tbg-solid:not(#_m) #projbar.stuck .pb-row2{background:var(--mx-ps)}

/* ---- the claim line under the project bar: frosted pills on no background ---- */
html.mod:not(#_m) .ptool{background:transparent!important;border:0!important;box-shadow:none!important}
html.mod:not(#_m) .ptool .pt-in>.nu-party,html.mod:not(#_m) .ptool .pt-in>details.nu-pill>summary,html.mod:not(#_m) .ptool .pt-in>.pt-chk,html.mod:not(#_m) .ptool .pt-in>.pt-figs{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;border-radius:999px!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:none!important}
html.mod.tbg-solid:not(#_m) .ptool.stuck .pt-in>.nu-party,html.mod.tbg-solid:not(#_m) .ptool.stuck .pt-in>details.nu-pill>summary,html.mod.tbg-solid:not(#_m) .ptool.stuck .pt-in>.pt-chk,html.mod.tbg-solid:not(#_m) .ptool.stuck .pt-in>.pt-figs{background:var(--mx-ps)!important}

/* ---- tiles ---- */
html.mod:not(#_m) .card{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:24px!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod:not(#_m) .card .card{backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none!important;background:rgba(255,255,255,.25)!important}
html.mod.tbg-solid:not(#_m) .card:has(table.t3){background:var(--mx-solid)!important}

/* ---- pop-ups and menus: nearly solid so text reads over the glow ---- */
html.mod:not(#_m) .modal .mbox{background:var(--mx-pop)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:20px!important;border:1px solid var(--mx-edge)!important;box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod.mdk:not(#_m) .modal .mbox{border-color:rgba(255,255,255,.16)!important}
html.mod:not(#_m) .exp-menu,html.mod:not(#_m) .um-menu,html.mod:not(#_m) .td-panel,html.mod:not(#_m) .nt-panel,html.mod:not(#_m) .more-menu,html.mod:not(#_m) .ct-pop,html.mod:not(#_m) .qt-pop,html.mod:not(#_m) .mny-menu,html.mod:not(#_m) .fc-pop,html.mod:not(#_m) .asst-panel,html.mod:not(#_m) ::picker(select){background:var(--mx-pop)!important;backdrop-filter:blur(24px) saturate(1.5);-webkit-backdrop-filter:blur(24px) saturate(1.5)}
html.mod.tbg-solid:not(#_m) .exp-menu,html.mod.tbg-solid:not(#_m) .um-menu,html.mod.tbg-solid:not(#_m) .td-panel,html.mod.tbg-solid:not(#_m) .nt-panel,html.mod.tbg-solid:not(#_m) .more-menu,html.mod.tbg-solid:not(#_m) .ct-pop,html.mod.tbg-solid:not(#_m) .qt-pop,html.mod.tbg-solid:not(#_m) .mny-menu,html.mod.tbg-solid:not(#_m) .fc-pop,html.mod.tbg-solid:not(#_m) .asst-panel,html.mod.tbg-solid:not(#_m) ::picker(select),html.mod.tbg-solid:not(#_m) .modal .mbox{background:var(--mx-pops)!important}

/* ---- plain buttons and switches as frosted pills; the main button stays lime ---- */
html.mod:not(#_m) .btn:not(.pri):not(.danger):not(.ico-only):not(.on):not([aria-pressed=true]){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
html.mod:not(#_m) .btn.ico-only:not(.on):not([aria-pressed=true]),html.mod:not(#_m) summary.ico-sum{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
html.mod:not(#_m) .btn.on:not(.pri),html.mod:not(#_m) .btn[aria-pressed=true]:not(.pri){background:var(--mx-sel)!important;border-color:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}
html.mod:not(#_m) .pf-seg,html.mod:not(#_m) .seg2{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
html.mod:not(#_m) .pf-seg button[aria-pressed=true],html.mod:not(#_m) .seg2 button[aria-pressed=true]{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}

/* ---- item tables (four cards): frosted rows, opaque tints where rows scroll under them, compact headings ---- */
/* heading bands and totals are frosted like the rows (owner 2026-10-31: the VO band looked solid); a stuck band goes solid (bd-stk from modScroll, owner 2026-11-02: every earlier band sticks at the same line, so see-through bands showed the words of the rows and bands behind them); Nearly solid keeps them all solid */
html.mod:not(#_m) table.t3{--mx-band:rgba(244,248,252,.38)}
html.mod.mdk:not(#_m) table.t3{--mx-band:rgba(20,37,59,.42)}
html.mod.tbg-solid:not(#_m) table.t3{--mx-band:var(--mx-opq)}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.bd-stk>.t3c{--mx-band:var(--mx-opq)}
html.mod.t3on:not(#_m):not(#_n) table.t3 :is(td,th).t3n.t3s,html.mod:not(#_m) table.t3 :is(td,th).t3t.t3s{border-left-color:transparent!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 thead :is(th,td).t3t{background:var(--mx-opq)!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 thead :is(th,td).t3c{background:color-mix(in srgb,var(--t3a) 30%,var(--mx-band))!important;padding-top:4px!important;padding-bottom:4px!important;font-size:var(--fs-sm)!important;line-height:16px!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr:is(.sec,.bf-sec,.b-sec,.omp-h,.rgv-sec):not(.hsub):not(.bf-ssec):not(.omp-sh):not(.vg-sum)>.t3c{background:color-mix(in srgb,var(--t3a) 13%,var(--mx-band))!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr:is(.hsub,.bf-ssec,.omp-sh)>.t3c{background:color-mix(in srgb,var(--t3a) 6%,var(--mx-band))!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 :is(tr.tot,tr.bf-tot,tfoot tr)>.t3c{background:color-mix(in srgb,var(--t3a) 30%,var(--mx-band))!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.vg-sum>.t3c{background:color-mix(in srgb,var(--t3a) 8%,var(--mx-band))!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.vgrp.vg-om>.t3c{background:color-mix(in srgb,var(--t3a) 13%,var(--mx-band))!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tbody tr:not(.sec):not(.hsub):not(.tot):not(.vg-sum)>td{background-color:transparent}

/* ---- Settings / Reports header bar: no band, the tab bar as a frosted pill ---- */
html.mod:not(#_m) .st-bar{background:transparent!important;box-shadow:none!important;border:0!important}
html.mod:not(#_m) .st-pill{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:var(--mx-psh)!important}
html.mod:not(#_m) .st-mainw,html.mod:not(#_m) .st-side.st-fold{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:24px!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod:not(#_m) .st-tabs button:is(.on,[aria-pressed=true],[aria-selected=true],[aria-current=page]){background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}

/* ---- figure boxes, search pills, table boxes ---- */
html.mod:not(#_m) .mny-k{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:20px!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod:not(#_m) label.pf-q{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur)}
html.mod:not(#_m) .tw,html.mod:not(#_m) .ct-foot{background:transparent!important}

/* ---- claim line pills: one height, like the mock-up ---- */
html.mod:not(#_m) .ptool .pt-in>.nu-party,html.mod:not(#_m) .ptool .pt-in>.pt-chk,html.mod:not(#_m) .ptool .pt-in>.pt-figs{min-height:38px;padding:0 16px!important;display:inline-flex;align-items:center;font-weight:500}
html.mod:not(#_m) .ptool .pt-in>details.nu-pill>summary{min-height:38px;padding-left:14px!important;padding-right:14px!important}

/* ---- while the page scrolls (owner 2026-11-11: the bars keep their size and place, no slimmer pills): rows cut under the stuck headings with a 14px strip of the tile above them ---- */
@media (min-width:1000px){
  html.mod:not(#_m) :not(.x-over)>table.items thead,html.mod:not(#_m) :not(.x-over)>table.boq thead{top:calc(var(--pbh,0px) + var(--ptbh,0px) + 14px)!important}
  html.mod:not(#_m) :not(.x-over)>table.items tr.sec td{top:calc(var(--pbh,0px) + var(--ptbh,0px) + var(--ithh,0px) + 14px)!important}
  html.mod:not(#_m) :not(.x-over)>table.boq tr.sec td{top:calc(var(--pbh,0px) + var(--ptbh,0px) + var(--bthh,0px) + 14px)!important}
}

/* ---- screen shapes (spec: Screen shapes) ---- */
/* short windows (split screen, small laptops): only the project bar and claim line pin, the top bar scrolls away */
@media (max-height:700px) and (min-width:721px){
  html.mod:not(#_m) #topbar.top{position:relative!important}
}
/* installed as an app on a computer: the menu stays inside the title bar, which can still be dragged */
@media (display-mode: window-controls-overlay){
  html.mod:not(#_m) #topbar.top{padding-top:max(6px,env(titlebar-area-y,0px));min-height:env(titlebar-area-height,40px)}
  html.mod:not(#_m) #topbar nav.tabs,html.mod:not(#_m) #topbar .hdr-right{-webkit-app-region:no-drag;app-region:no-drag}
}
/* phones with a notch / home bar: the bars keep clear of them; the floating tab bar becomes a frosted pill */
@media (max-width:720px){
  html.mod:not(#_m) #topbar.top{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:8px}
  html.mod:not(#_m) .mtab:not([hidden]){background:linear-gradient(140deg,var(--mx-ps),var(--mx-p1))!important;border:1px solid var(--mx-edge)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:var(--mx-psh)!important}
  html.mod:not(#_m) .card{border-radius:20px!important}
}
/* no glass on this device, or the person asked for less transparency: solid tiles and pills */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html.mod:not(#_m) .card,html.mod:not(#_m) .st-mainw,html.mod:not(#_m) .st-side.st-fold,html.mod:not(#_m) .mny-k,html.mod:not(#_m) #projbar .pb-row2,html.mod:not(#_m) #topbar nav.tabs,html.mod:not(#_m) #topbar .hdr-right .nt-bell,html.mod:not(#_m) #topbar .um-btn,html.mod:not(#_m) .st-pill,html.mod:not(#_m) .ptool .pt-in>.nu-party,html.mod:not(#_m) .ptool .pt-in>details.nu-pill>summary,html.mod:not(#_m) .ptool .pt-in>.pt-chk,html.mod:not(#_m) .ptool .pt-in>.pt-figs{background:var(--card)!important}
}
@media (prefers-reduced-transparency: reduce){
  html.mod:not(#_m) .card,html.mod:not(#_m) .st-mainw,html.mod:not(#_m) .st-side.st-fold,html.mod:not(#_m) .mny-k,html.mod:not(#_m) #projbar .pb-row2,html.mod:not(#_m) #topbar nav.tabs,html.mod:not(#_m) #topbar .hdr-right .nt-bell,html.mod:not(#_m) #topbar .um-btn,html.mod:not(#_m) .st-pill,html.mod:not(#_m) .ptool .pt-in>.nu-party,html.mod:not(#_m) .ptool .pt-in>details.nu-pill>summary,html.mod:not(#_m) .ptool .pt-in>.pt-chk,html.mod:not(#_m) .ptool .pt-in>.pt-figs{background:var(--card)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media (prefers-reduced-motion: reduce){
  html.mod:not(#_m) #topbar.top,html.mod:not(#_m) #projbar .pb-row2,html.mod:not(#_m) .ptool .pt-in>*{transition:none!important}
}
@media (prefers-contrast: more){
  html.mod:not(#_m){--mx-edge:rgba(15,42,74,.35)}
}
/* the scroll bar gutter shows the page colour, not the old navy top bar */
html.mod:not(#_m){background:var(--mx-bg1)!important}
/* phones: the page box is see-through so the glow runs under the top bar without an edge */
html.mod:not(#_m) #app{background:transparent!important}

/* ---- owner 2026-10-30 after trying it ---- */
/* name-menu switches on one line, a shorter list */
html.mod:not(#_m) .um-row small{display:none}
html.mod:not(#_m) .um-menu .um-row,html.mod:not(#_m) .um-menu>button{padding-top:7px;padding-bottom:7px}
/* the Updates / To do badge: no navy ring on the light bar */
html.mod:not(#_m) #topbar .nt-dot{box-shadow:0 0 0 2px var(--mx-bg1)}
/* no divider line inside the project pill */
html.mod:not(#_m) #projbar .nu-sep{background:currentColor;opacity:.28}
/* report tables: rounded corners like the other tables */
html.mod:not(#_m) .rp-page table thead tr:first-child>:first-child{border-top-left-radius:12px}
html.mod:not(#_m) .rp-page table thead tr:first-child>:last-child{border-top-right-radius:12px}
html.mod:not(#_m) .rp-page table tr:last-child>:first-child{border-bottom-left-radius:12px}
html.mod:not(#_m) .rp-page table tr:last-child>:last-child{border-bottom-right-radius:12px}

/* ---- owner 2026-10-30, round 3 ---- */
/* Get claimdesk ready on one line, with room under the period switch */
html.mod:not(#_m) .gs.gs-one{display:flex;align-items:center;gap:14px;padding:12px 16px!important;flex-wrap:nowrap;overflow:hidden}
html.mod:not(#_m) .gs-one .gs-ring{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#a7d056 var(--gs-d),rgba(15,42,74,.12) 0)}
html.mod:not(#_m) .gs-one .gs-ring b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--mx-opq);font-size:var(--fs-sm);font-weight:700}
html.mod:not(#_m) .gs-one .gs-tt{flex:none;font-size:var(--fs-md);white-space:nowrap}
html.mod:not(#_m) .gs-one .gs-chips{flex:1;min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
html.mod:not(#_m) .gs-one .gs-chips::-webkit-scrollbar{display:none}
html.mod:not(#_m) .gs-chip{flex:none;height:32px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;font:500 var(--fs-md) Inter,sans-serif;white-space:nowrap;border:1px solid var(--mx-edge);background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));color:var(--ink);cursor:pointer}
html.mod:not(#_m) .gs-chip.ok{color:var(--mute);cursor:default;background:transparent;border-color:transparent}
html.mod:not(#_m) .gs-chip.next{background:#a7d056;border-color:#a7d056;color:#13230a;font-weight:600}
html.mod:not(#_m) .gs-chip:not(.ok):not(.next):hover{border-color:var(--mx-sel)}
html.mod:not(#_m) .gs-one .gs-x{flex:none}
@media (max-width:720px){
  html.mod:not(#_m) .gs.gs-one{flex-wrap:wrap}
  html.mod:not(#_m) .gs-one .gs-chips{flex-basis:100%}
}

/* ---- owner 2026-10-30, round 4: one pill look everywhere; the glow covers the whole window ---- */
html.mod:not(#_m){background-color:var(--mx-bg1)!important;background-image:radial-gradient(700px 520px at 8% 62%,var(--mx-g1),transparent 62%),radial-gradient(760px 560px at 58% 30%,var(--mx-g2),transparent 62%),radial-gradient(700px 520px at 96% 85%,var(--mx-g3),transparent 62%),linear-gradient(180deg,var(--mx-bg1),var(--mx-bg2))!important;background-attachment:fixed!important;min-height:100%}
html.mod:not(#_m) body{background:transparent!important}
/* drop-downs, date boxes and plain chips as frosted pills */
html.mod:not(#_m) #app select:not(table select),html.mod:not(#_m) #app input[type=date],html.mod:not(#_m) .mny-dd>summary,html.mod:not(#_m) .exp-dd.mny-dd>summary,html.mod:not(#_m) details.nu-pill.mny-dd>summary{background-color:transparent!important;background-image:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur)}
html.mod:not(#_m) #app select:not(table select){background-image:linear-gradient(140deg,var(--mx-p1),var(--mx-p2)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6b7a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:0 0,right 12px center!important;background-size:100% 100%,12px!important}
html.mod:not(#_m) #app select:not(table select)::picker-icon{display:none}
html.mod:not(#_m) .chip:not(.on):not([aria-pressed=true]),html.mod:not(#_m) .rp-chip:not(.on):not([aria-pressed=true]){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
/* every selected pill navy (lime in dark), not the older blue */
html.mod:not(#_m) .chip.on,html.mod:not(#_m) .chip[aria-pressed=true],html.mod:not(#_m) .rp-chip.on,html.mod:not(#_m) .rp-chip[aria-pressed=true],html.mod:not(#_m) .st-it.on,html.mod:not(#_m) .st-it[aria-current=page]{background:var(--mx-sel)!important;border-color:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}
html.mod:not(#_m) .chip.on *,html.mod:not(#_m) .chip[aria-pressed=true] *,html.mod:not(#_m) .rp-chip.on *{color:inherit!important}
/* row menus (⋯) as frosted round buttons */
html.mod:not(#_m) summary.ico-sum,html.mod:not(#_m) .ct-dd>summary,html.mod:not(#_m) .bq-dd>summary,html.mod:not(#_m) #projbar .more-btn{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
/* Contacts group tabs as one frosted pill with the open one navy (were underline tabs) */
html.mod:not(#_m) .ct-gt{display:inline-flex!important;gap:2px;padding:4px;border:1px solid var(--mx-edge)!important;border-radius:999px;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:none!important}
html.mod:not(#_m) .ct-gt>button{border:0!important;border-radius:999px!important;padding:6px 14px!important;margin:0!important;box-shadow:none!important;background:transparent!important}
html.mod:not(#_m) .ct-gt>button[aria-selected=true]{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}

/* owner 2026-10-30: the top bar keeps one size while scrolling; an empty checks button (no checks) is not shown */
html.mod:not(#_m) .ptool .pt-in>.pt-chk:empty{display:none!important}

/* the gaps between the column groups stay clear: cell colours stop at the cell, not under its gap (owner 2026-10-30: tint spilled into the gaps) */
html.mod.t3on:not(#_m):not(#_n):not(#_o) table.t3 :is(td,th).t3c{background-clip:padding-box!important}

/* ==== Home with desky (stage 2, owner 2026-10-30; mock-up _shots/desky-home-6.html) ==== */
html.mod:not(#_m) .hd-page{--hd-track:rgba(15,42,74,.10);padding-top:8px;padding-bottom:24px}
html.mod.mdk:not(#_m) .hd-page{--hd-track:rgba(255,255,255,.10)}
html.mod:not(#_m) .hd-hello{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;margin-bottom:14px}
html.mod:not(#_m) .hd-hello h1{margin:0;font-size:clamp(28px,2.6vw,36px);font-weight:600;letter-spacing:-.025em;line-height:1.15}
html.mod:not(#_m) .hd-hello .sub{margin:4px 0 14px;color:var(--mute)}
html.mod:not(#_m) .hd-kp .up,html.mod:not(#_m) .hd-ms .up{color:#4c7a12;font-weight:600;font-size:13px}
html.mod:not(#_m) .hd-kp .dn,html.mod:not(#_m) .hd-ms .dn{color:#c62828;font-weight:600;font-size:13px}
html.mod.mdk:not(#_m) .hd-kp .up,html.mod.mdk:not(#_m) .hd-ms .up{color:#c8ea8a}
html.mod:not(#_m) .hd-page .gs.gs-one{margin-bottom:14px}
html.mod:not(#_m) .hd-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,.9fr);grid-template-rows:auto auto;gap:16px}
html.mod:not(#_m) .hd-t{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));border:1px solid var(--mx-edge);border-radius:24px;padding:18px 20px;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh);min-width:0;display:flex;flex-direction:column}
html.mod:not(#_m) .hd-t h2{margin:0;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}
html.mod:not(#_m) .hd-ar{width:30px;height:30px;border-radius:50%;border:0;background:var(--mx-hov);display:grid;place-items:center;cursor:pointer;color:var(--ink)}
html.mod:not(#_m) .hd-ar svg{width:14px;height:14px}
html.mod:not(#_m) .hd-sm{font-size:12.5px;font-weight:500;color:var(--mute)}
html.mod:not(#_m) .hd-mh{margin-top:10px;font-size:26px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html.mod:not(#_m) .hd-ms{font-size:12.5px;color:var(--mute)}
html.mod:not(#_m) .hd-chart{width:100%;height:auto;margin-top:8px;overflow:visible}
html.mod:not(#_m) .hd-chart text{font:11px Inter,sans-serif;fill:var(--mute)}
html.mod:not(#_m) .hd-chart .gl{stroke:var(--hd-track);stroke-dasharray:3 4}
html.mod:not(#_m) .hd-chart .hdb{fill:#224295}
html.mod.mdk:not(#_m) .hd-chart .hdb{fill:#6f9be0}
html.mod:not(#_m) .hd-chart .hdb.now{fill:#a7d056}
html.mod:not(#_m) .hd-ring{flex:1;display:grid;place-items:center;min-height:140px;position:relative}
html.mod:not(#_m) .hd-ring svg{width:140px;height:140px}
html.mod:not(#_m) .hd-ring .c{position:absolute;text-align:center}
html.mod:not(#_m) .hd-ring .c b{display:block;font-size:26px;font-weight:500;letter-spacing:-.02em;line-height:1.1}
html.mod:not(#_m) .hd-ring .c small{font-size:12px;color:var(--mute)}
html.mod:not(#_m) .hd-lg{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px;font-size:13px}
html.mod:not(#_m) .hd-lg li{display:grid;grid-template-columns:10px 1fr auto;gap:10px;align-items:center}
html.mod:not(#_m) .hd-lg i{width:9px;height:9px;border-radius:50%}
html.mod:not(#_m) .hd-lg span:last-child{color:var(--mute);font-variant-numeric:tabular-nums}
html.mod:not(#_m) .hd-jl{display:flex;flex-direction:column;gap:8px;margin-top:12px}
html.mod:not(#_m) .hd-jl>*{border-radius:16px!important;background:rgba(255,255,255,.45)!important;border:0!important}
html.mod.mdk:not(#_m) .hd-jl>*{background:rgba(255,255,255,.05)!important}
html.mod:not(#_m) .hd-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:13px;table-layout:fixed}
html.mod:not(#_m) .hd-table th:nth-child(1){width:42%}
html.mod:not(#_m) .hd-table th:nth-child(2){width:20%}
html.mod:not(#_m) .hd-table th:nth-child(3){width:19%}
html.mod:not(#_m) .hd-table th:nth-child(4){width:19%}
html.mod:not(#_m) .hd-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.mod:not(#_m) .hd-table .dk-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:middle}
html.mod:not(#_m) .hd-table th{text-align:left;font-weight:500;color:var(--mute);font-size:var(--fs-sm);padding:6px 8px;border-bottom:1px solid var(--hd-track);white-space:nowrap}
html.mod:not(#_m) .hd-table td{padding:8px;border-bottom:1px solid var(--hd-track);vertical-align:middle}
html.mod:not(#_m) .hd-table tr:last-child td{border-bottom:0}
html.mod:not(#_m) .hd-table tbody tr{cursor:pointer}
html.mod:not(#_m) .hd-page .hd-table{border-collapse:separate;border-spacing:0}
html.mod:not(#_m):not(#_n):not(#_o) .hd-page .hd-table tbody tr:hover{background:none!important}
html.mod:not(#_m):not(#_n):not(#_o) .hd-page .hd-table tbody tr:hover>td{background:rgba(15,42,74,.05)!important}
html.mod.mdk:not(#_m):not(#_n):not(#_o) .hd-page .hd-table tbody tr:hover>td{background:rgba(255,255,255,.07)!important}
html.mod:not(#_m) .hd-page .hd-table tbody tr:hover td:first-child{border-radius:12px 0 0 12px}
html.mod:not(#_m) .hd-page .hd-table tbody tr:hover td:last-child{border-radius:0 12px 12px 0}
html.mod:not(#_m) .hd-table .r{text-align:right;white-space:nowrap}
html.mod:not(#_m) .hd-nm{display:flex;align-items:center;gap:10px}
html.mod:not(#_m) .hd-nm .hd-pt{width:34px!important;height:34px!important;border-radius:50%!important;flex:none;font-size:11px}
html.mod:not(#_m) .hd-nm>span:last-child{min-width:0}
html.mod:not(#_m) .hd-nm b,html.mod:not(#_m) .hd-nm small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.mod:not(#_m) .hd-nm b{display:block;font-weight:600}
html.mod:not(#_m) .hd-nm small{color:var(--mute);font-size:12px}
html.mod:not(#_m) .hd-pb{display:flex;align-items:center;gap:8px}
html.mod:not(#_m) .hd-pb span{width:56px;height:7px;border-radius:4px;background:var(--hd-track);overflow:hidden;flex:none}
html.mod:not(#_m) .hd-pb span i{display:block;height:100%;border-radius:4px;background:#224295}
html.mod.mdk:not(#_m) .hd-pb span i{background:#6f9be0}
html.mod:not(#_m) .hd-pb em{font-style:normal;color:var(--mute);font-size:12.5px;font-variant-numeric:tabular-nums}
html.mod:not(#_m) .hd-grid>.hd-t:nth-child(1){grid-column:1;grid-row:1}
html.mod:not(#_m) .hd-grid>.hd-t:nth-child(2){grid-column:2;grid-row:1}
html.mod:not(#_m) .hd-grid>.hd-jobs{grid-column:3;grid-row:1}
html.mod:not(#_m) .hd-grid>.hd-dk{grid-column:4;grid-row:1/3}
html.mod:not(#_m) .hd-grid>.hd-pj{grid-column:1/3;grid-row:2}
html.mod:not(#_m) .hd-grid>.hd-sc{grid-column:3;grid-row:2}
/* Home tidy (owner 2026-11-13): period switch, figure cards, claims by stage, job rows, Coming up */
html.mod:not(#_m) .per-dd{align-self:center}
html.mod:not(#_m) .per-dd>summary{display:flex;align-items:center;gap:8px;justify-content:flex-start!important}html.mod:not(#_m) .per-dd>summary .nu-car{margin-left:auto}
html.mod:not(#_m) .per-dd>summary svg{width:16px;height:16px;flex:none}
html.mod:not(#_m) .per-menu{max-height:min(70vh,560px);overflow-y:auto;min-width:240px}
html.mod:not(#_m) .per-menu .per-g{font-size:var(--fs-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--mute);padding:10px 14px 4px}
html.mod:not(#_m) .hd-hello .per-dd .mny-menu{right:0;left:auto}
html.mod:not(#_m) .hd-kcs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:4px 0 16px}
html.mod:not(#_m) .hd-kc{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px 16px;border-radius:18px;border:1px solid var(--mx-edge);background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi);color:var(--ink);cursor:pointer;font:inherit;min-width:0}
html.mod:not(#_m) .hd-kc:hover{border-color:rgba(15,42,74,.22)}
html.mod:not(#_m) .hd-kc i{font-style:normal;font-size:var(--fs-sm);color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.mod:not(#_m) .hd-kc b{font-size:var(--fs-xl);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
html.mod:not(#_m) .hd-kc small{font-size:var(--fs-sm);color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.mod:not(#_m) .hd-kc .up{color:#4c7a12;font-weight:600}
html.mod:not(#_m) .hd-kc .dn,html.mod:not(#_m) .hd-ms .dn{color:#c62828;font-weight:600}
html.mod.mdk:not(#_m) .hd-kc .up{color:#c8ea8a}
html.mod.mdk:not(#_m) .hd-kc .dn{color:#ff8a80}
html.mod:not(#_m) .hd-kc.bad b{color:#c62828}
html.mod.mdk:not(#_m) .hd-kc.bad b{color:#ff8a80}
html.mod:not(#_m) .hd-kc.z b{color:var(--mute);font-weight:500}
html.mod:not(#_m) .hd-t h2>span{display:flex;align-items:baseline;gap:8px;min-width:0}
html.mod:not(#_m) .hd-ms .ex{color:#5e8a1f;font-weight:600}
html.mod.mdk:not(#_m) .hd-ms .ex{color:#c8ea8a}
html.mod:not(#_m) .hd-chart text.fut{font-style:italic}
html.mod:not(#_m) .hs-bar{display:flex;gap:3px;height:14px;margin:16px 0 14px}
html.mod:not(#_m) .hs-bar span{border-radius:999px;min-width:6px}
html.mod:not(#_m) .hs-l{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:var(--fs-md)}
html.mod:not(#_m) .hs-l li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center}html.mod:not(#_m) .hs-l li>span:nth-child(2){min-width:0;line-height:1.35}html.mod:not(#_m) .hs-l li>span:nth-child(2) em{white-space:nowrap}
html.mod:not(#_m) .hs-l li.z{color:var(--mute)}
html.mod:not(#_m) .hs-l i{width:9px;height:9px;border-radius:50%}
html.mod:not(#_m) .hs-l em{font-style:normal;color:#c62828;font-size:var(--fs-md);font-weight:500;margin-left:6px}html.mod:not(#_m) .hs-l em:before{content:"·";color:var(--mute);margin-right:6px}
html.mod.mdk:not(#_m) .hs-l em{color:#ff8a80}
html.mod:not(#_m) .hs-l .n{font-weight:600;margin-left:8px;color:var(--ink)}html.mod:not(#_m) .hs-l li.z .n{color:var(--mute);font-weight:500}
html.mod:not(#_m) .hs-l .a{text-align:right;font-variant-numeric:tabular-nums;color:var(--mute);white-space:nowrap}
html.mod:not(#_m) .hj-l{display:flex;flex-direction:column;gap:6px;margin-top:12px}
html.mod:not(#_m) .hd-jobs.all .hj-l{max-height:420px;overflow-y:auto;padding-right:4px}
html.mod:not(#_m) .hj-r{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px 10px 16px;border-radius:14px;background:rgba(255,255,255,.5)}
html.mod.mdk:not(#_m) .hj-r{background:rgba(255,255,255,.05)}
html.mod:not(#_m) .hj-r:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#c3cfdc}
html.mod:not(#_m) .hj-r.e-blu:before{background:#224295}html.mod.mdk:not(#_m) .hj-r.e-blu:before{background:#9cc0f0}
html.mod:not(#_m) .hj-r.e-grn:before{background:#7fb43a}
html.mod:not(#_m) .hj-r.e-amb:before{background:#f2b632}
html.mod:not(#_m) .hj-r.e-red:before{background:#c62828}
html.mod:not(#_m) .hj-t{display:flex;flex-direction:column;min-width:0}
html.mod:not(#_m) .hj-k{font-size:var(--fs-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--mute)}
html.mod:not(#_m) .hj-k em{font-style:normal;color:#c62828}
html.mod.mdk:not(#_m) .hj-k em{color:#ff8a80}
html.mod:not(#_m) .hj-t b,html.mod:not(#_m) .hj-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m) .hj-t b{font-weight:600}
html.mod:not(#_m) .hj-t small{font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m) .hj-r>.btn{width:168px;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}
html.mod:not(#_m) .hj-r .td-apv{display:flex;gap:6px;width:auto}
html.mod:not(#_m) .hj-r .td-apv .btn{margin:0}
html.mod:not(#_m) .hd-pb span{width:72px;position:relative;overflow:visible}
html.mod:not(#_m) .hd-pb span i{border-radius:4px}
html.mod:not(#_m) .hd-pb span b{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;border-radius:2px;background:#e0a72e}
html.mod:not(#_m) .hd-tu{color:#b7791f;font-size:var(--fs-xs);font-weight:500}
html.mod.mdk:not(#_m) .hd-tu{color:#f3c46a}
html.mod:not(#_m) .hd-pj .hd-table td .dk-tag{width:100%;justify-content:center;text-align:center}html.mod:not(#_m) .hd-pj .hd-table th:nth-child(1){width:33%}html.mod:not(#_m) .hd-pj .hd-table th:nth-child(2){width:22%}html.mod:not(#_m) .hd-pj .hd-table th:nth-child(3){width:21%}html.mod:not(#_m) .hd-pj .hd-table th:nth-child(4){width:24%}
html.mod:not(#_m) .hd-pj,html.mod:not(#_m) .hd-jobs,html.mod:not(#_m) .hd-up{display:flex;flex-direction:column}
html.mod:not(#_m) .hd-scr{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}
html.mod:not(#_m) .hd-scr::-webkit-scrollbar{display:none}
html.mod:not(#_m) .hd-grid:not(.hd-fit) .hd-scr{max-height:430px}
html.mod:not(#_m) .hd-pj .hd-thd{margin-bottom:0;flex:none}html.mod:not(#_m) .hd-pj .hd-tbd{margin-top:0}html.mod:not(#_m) .hd-pj .hd-table th:nth-child(n){width:auto}
html.mod:not(#_m) .hd-pj .hd-table tbody tr{cursor:pointer}
html.mod:not(#_m) .hd-nm small.att{color:#c62828;font-weight:500}
html.mod.mdk:not(#_m) .hd-nm small.att{color:#ff8a80}
html.mod:not(#_m) .hd-pj .hd-table tr.att td:first-child{box-shadow:inset 3px 0 0 #c62828}
html.mod:not(#_m) .hd-pj.hl tr.att td{animation:hdHl 2.4s ease}
@keyframes hdHl{0%,60%{background:rgba(198,40,40,.12)}100%{background:transparent}}
html.mod:not(#_m) .hd-key{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:var(--fs-xs);color:var(--mute)}
html.mod:not(#_m) .hd-key i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
html.mod:not(#_m) .hd-key i.c{background:#224295}html.mod.mdk:not(#_m) .hd-key i.c{background:#6f9be0}
html.mod:not(#_m) .hd-key i.e{background:repeating-linear-gradient(45deg,#a7d056 0 3px,rgba(167,208,86,.35) 3px 6px)}
/* Home: the logo font for headline figures and tile titles (owner 2026-11-13); lists, labels and small amounts stay Inter */
html.mod:not(#_m):not(#_n) .hd-kc b,html.mod:not(#_m):not(#_n) .hd-mh{font-family:Poppins,Inter,sans-serif;font-weight:600;letter-spacing:-.01em}
html.mod:not(#_m):not(#_n) .hd-kc b{font-size:var(--fs-xl);line-height:1.3}
/* softer figures (owner 2026-11-13: "big numbers stand out too harsh"): the slate of the page titles, not near-black */
html.mod:not(#_m):not(#_n):not(#_o) :is(.hd-kc:not(.bad):not(.z) b,.hd-mh){color:color-mix(in srgb,var(--ink) 74%,var(--mute))}
html.mod:not(#_m):not(#_n):not(#_o) .hd-mh{font-weight:500}
html.mod:not(#_m):not(#_n) .hd-mh{font-size:var(--fs-x2)}
html.mod:not(#_m):not(#_n) .hd-page .hd-t>h2{font-family:Poppins,Inter,sans-serif;font-weight:600;font-size:var(--fs-lg);letter-spacing:-.005em}
html.mod:not(#_m):not(#_n) .hd-kc.z b{font-weight:600;opacity:.55;color:inherit}
/* The logo font across the app on screen (owner 2026-11-13: "its a app, this font look nice"); printed forms and PDFs keep
   Inter (styles.css resets the font on the forms), and amounts keep Inter digits so every $ lines up (owner rule) */
html.mod{--sans:"Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--cond:"Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
html.mod :is(button,input,select,textarea,summary){font-family:inherit}
html.mod:not(#_m) :is(.mv,.cy,.mbx,.mbx input,input[type=number],td.r,td.n,td.num,td.mo,td.out,td.c-pct,td.c-ag,.hs-l .n,.hs-l .a,.hu-a){font-family:"Inter",system-ui,sans-serif;font-variant-numeric:tabular-nums}
/* Text standard (owner 2026-11-13): a heading inside a Settings card reads first (14, semi-bold, dark), its explanation sits quietly under it (12, grey) */
html.mod:not(#_m):not(#_n) .set-page .card :is(h3,.set-row b){font-size:var(--fs-md);font-weight:600;color:var(--ink)}
html.mod:not(#_m):not(#_n) .set-page .card :is(p.msg,.set-row small,h3+p){font-size:var(--fs-sm);color:var(--mute);line-height:1.5}
/* Documents tab side cards (owner 2026-11-13): figures stay 14 but lighter, the sent line is a quiet 12 note */
html.mod:not(#_m):not(#_n) .doc-lay .doc-fig .doc-fr{font-weight:400}
html.mod:not(#_m):not(#_n) .doc-lay .doc-fig .doc-fr b{font-weight:500}
html.mod:not(#_m):not(#_n) .doc-lay .doc-fig .doc-fr.t,html.mod:not(#_m):not(#_n) .doc-lay .doc-fig .doc-fr.t b{font-weight:600}
html.mod:not(#_m):not(#_n) .snd-line{font-size:var(--fs-sm);font-weight:400;line-height:1.5}
html.mod:not(#_m):not(#_n) .snd-line .msg{font-size:var(--fs-sm)}
/* Card headings follow the 16px tile-title standard (owner 2026-11-13: "Sub-con's claim" was the browser default ~21px) */
html.mod:not(#_m):not(#_n) .wrap .card>h2,html.mod:not(#_m):not(#_n) .wrap .card>.wf>h2{font-size:var(--fs-lg);font-weight:600}
/* Item table rows read in Inter: long descriptions in the wider logo font looked big (owner 2026-11-13); headings stay Poppins */
/* Item table standard (owner 2026-11-13): one font (Inter) in the whole table; column headings are quiet 12px grey labels,
   every item row 14px regular, section and total rows the same 14px semi-bold */
html.mod:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq) :is(td,th,td *,th *):not(.ico):not(svg *){font-family:"Inter",system-ui,sans-serif}
html.mod:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>thead th{font-size:var(--fs-sm)!important;font-weight:500!important;color:var(--mute)!important}
html.mod:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>tbody>tr:not(.sec):not(.tot)>td{font-size:var(--fs-md)}
html.mod:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>tbody>tr:is(.sec,.tot)>td{font-size:var(--fs-md)!important;font-weight:600}
html.mod:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>tbody>tr.sec>td :is(small,.msg,.sec-n){font-weight:400;color:var(--mute)}
/* Compact rows = compact text too (owner 2026-11-13, the "Compact / high-density" table size): headings 11px, rows and their boxes 12px */
html.mod.rh-c:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>thead th{font-size:var(--fs-xs)!important}
html.mod.rh-c:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>tbody>tr>td,html.mod.rh-c:not(#_m):not(#_n):not(#_o) :is(table.items,table.boq)>tbody>tr>td :is(input,textarea,select,.mbx,[data-rt],small,.msg,span,b,em){font-size:var(--fs-sm)!important}
/* number badges and report tables read in Inter like the other data (ui-check 2026-11-13: Poppins' taller box spilled past the badges; the Claims & responses table grew past its card) */
html.mod:not(#_m):not(#_n):not(#_o) :is(.ph-n,.ct-pj b,.pfm-rg3 b,#rpTable td,#rpTable th,#rpTable td *,#rpTable th *){font-family:"Inter",system-ui,sans-serif}
html.mod:not(#_m) .hu-l{display:flex;flex-direction:column;gap:4px;margin-top:10px}
html.mod:not(#_m) .hu-r{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;border:0;background:none;color:var(--ink);font:inherit;padding:8px 8px;border-radius:12px;cursor:pointer}
html.mod:not(#_m) .hu-r[tabindex="-1"]{cursor:default}
html.mod:not(#_m) .hu-r:hover{background:var(--mx-hov)}
html.mod:not(#_m) .hu-d{font-size:var(--fs-sm);font-weight:600;color:var(--mute);white-space:nowrap}
html.mod:not(#_m) .hu-d em{font-style:normal;color:#c62828}
html.mod.mdk:not(#_m) .hu-d em{color:#ff8a80}
html.mod:not(#_m) .hu-t{display:flex;flex-direction:column;min-width:0}
html.mod:not(#_m) .hu-t b,html.mod:not(#_m) .hu-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m) .hu-t b{font-weight:600;font-size:var(--fs-md)}
html.mod:not(#_m) .hu-t small{font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m) .hu-a{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:var(--fs-md)}
@media (max-width:1300px){html.mod:not(#_m) .hd-kcs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){html.mod:not(#_m) .hd-kcs{grid-template-columns:repeat(2,minmax(0,1fr))}html.mod:not(#_m) .hd-hello{grid-template-columns:1fr}html.mod:not(#_m) .hj-r>.btn{width:auto}}
html.mod:not(#_m) .hd-dk{position:relative;min-height:520px;overflow:visible;container-type:size;--dk:clamp(170px,min(38cqh,82cqw),340px)}
html.mod:not(#_m) .hd-dkc{position:absolute;inset:calc(var(--dk)*.36) 0 0 0;display:flex;flex-direction:column;gap:10px;padding:calc(var(--dk)*.66) 16px 18px;border:1px solid var(--mx-edge);border-radius:24px;box-shadow:var(--mx-hi),var(--mx-sh);background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur)}
html.mod:not(#_m) .asst.asst-at .asst-panel input#asstQ{height:40px;border-radius:999px;background:var(--card,#fff)!important;color:var(--ink);border:1px solid var(--line);box-shadow:0 4px 14px rgba(15,42,74,.1)}
html.mod:not(#_m) .asst.asst-at .asst-panel input#asstQ::placeholder{color:var(--mute)}
html.mod:not(#_m) .asst.asst-at .asst-panel input#asstQ:focus{border-color:#5ec7da;outline:none}
html.mod:not(#_m) #topbar.srch-tight nav.tabs button svg{display:block}
html.mod:not(#_m) .asst.asst-at,html.mod:not(#_m) .asst.asst-at .asst-panel{background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:0!important}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table.ct-t tbody td{padding:7px 14px!important;height:var(--ct-rh,auto)!important;font-size:var(--fs-md)}
html.mod:not(#_m) table.ct-t .ct-av{width:28px;height:28px;border-radius:9px;font-size:var(--fs-sm)}
html.mod:not(#_m) table.ct-t .ct-nm{gap:9px}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table.ct-t .ct-act :is(summary,button){width:28px!important;height:28px!important;min-height:0!important;padding:0!important}
html.mod:not(#_m) .asst .asst-dk{display:block;width:30px;height:30px;border-radius:50%;flex:none;background:rgba(167,208,86,.2) url(desky.webp) 50% 2px/30px auto no-repeat;box-shadow:0 1px 3px rgba(15,42,74,.2)}
html.mod:not(#_m) .asst.asst-at .asst-panel>.asst-dk{position:absolute;left:5px;top:5px;z-index:1;pointer-events:none}
html.mod:not(#_m) .asst.asst-at .asst-panel input#asstQ{padding-left:44px!important}
html.mod:not(#_m) .asst-dky{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;margin-bottom:6px;border-radius:14px;background:var(--mx-hov);font-size:var(--fs-md);line-height:1.45}
html.mod:not(#_m) .hd-res{margin-top:6px;display:grid;gap:4px}
html.mod:not(#_m) .hd-res h4{margin:4px 0 0;font-size:11.5px;color:var(--mute)}
html.mod:not(#_m) .hd-res .asst-r{display:block;width:100%;text-align:left;border:0;border-radius:10px;padding:6px 8px;background:rgba(255,255,255,.55);cursor:pointer;color:var(--ink);font-size:13px}
html.mod.mdk:not(#_m) .hd-res .asst-r{background:rgba(255,255,255,.08)}
html.mod:not(#_m) .hd-res .asst-r small{display:block;color:var(--mute);font-size:11.5px}
html.mod:not(#_m) .hd-nrow{display:flex;align-items:center;justify-content:space-between;flex:none}
html.mod:not(#_m) .hd-vset{width:30px;height:30px;border-radius:50%;border:0;background:rgba(15,42,74,.07);color:var(--ink);display:grid;place-items:center;cursor:pointer}
html.mod.mdk:not(#_m) .hd-vset{background:rgba(255,255,255,.1)}
html.mod:not(#_m) .hd-vset svg{width:16px;height:16px}
html.mod:not(#_m) .hd-th{flex:1 1 0;min-height:0;overflow-y:auto!important;overflow-x:hidden;scrollbar-width:none;scroll-behavior:smooth;overscroll-behavior:contain}
html.mod:not(#_m) .hd-th::-webkit-scrollbar{display:none}
@media (prefers-reduced-motion:reduce){html.mod:not(#_m) .hd-th{scroll-behavior:auto}}
html.mod:not(#_m):not(#_n) .hd-bb{background:rgba(167,208,86,.2);color:var(--ink)}
html.mod.mdk:not(#_m):not(#_n) .hd-bb{background:rgba(167,208,86,.14)}
html.mod:not(#_m):not(#_n) .hd-bb.me{background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m) .hd-lh{font-weight:600;margin-bottom:4px}
html.mod:not(#_m) .hd-tm{display:block;text-align:right;font-size:var(--fs-xs);line-height:1.2;opacity:.65;margin-top:3px}
html.mod:not(#_m) .hd-ls{margin:0;padding:0 0 0 18px;display:grid;gap:6px}
html.mod:not(#_m) .hd-ls li b{font-weight:600}
html.mod:not(#_m) .hd-ls small{display:block;color:var(--mute);font-size:12px;line-height:1.35}
html.mod:not(#_m) .hd-lm{margin-top:6px;color:var(--mute);font-size:12.5px}
html.mod:not(#_m) .hd-th>.hd-bb{flex:none}
html.mod:not(#_m) .hd-nbt{display:inline-flex;gap:6px}
html.mod:not(#_m) .hd-vset.on{color:#4c7a12;background:rgba(167,208,86,.28)}
html.mod.mdk:not(#_m) .hd-vset.on{color:#c2e47e;background:rgba(167,208,86,.18)}
html.mod.mdk:not(#_m){--fld-bd:rgba(255,255,255,.2)}
/* the sign-in and lock screens keep their white card in dark mode, so their boxes keep the light grey edge (owner 2026-11-23: the
   Password box could not be seen on the remembered-computer lock screen; a 20% white edge on white is 1:1, the grey is 3.5:1) */
html.mod.mdk:not(#_m) .lgc{--fld-bd:#7a8a9b}
html.mod:not(.mdk):not(#_m) .modal{background:rgba(15,42,74,.2)}
html.mod:not(.mdk):not(#_m):not(#_n) .modal .mbox{background:linear-gradient(140deg,rgba(255,255,255,.94),rgba(238,245,252,.86))!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:var(--mx-hi),0 24px 60px rgba(15,42,74,.22)}
html.mod:not(#_m) .modal .mbody{scrollbar-width:thin;scrollbar-color:var(--mx-hov) transparent}
html.mod:not(#_m) .modal .mbody>*{max-width:100%;box-sizing:border-box}
html.mod:not(#_m) .modal .mbody input[type=range]{margin-left:0;margin-right:0;width:100%;max-width:100%;box-sizing:border-box}
html.mod:not(#_m) .hd-name{font:600 22px/1.2 Fredoka,Poppins,sans-serif;color:#6ea52e;letter-spacing:.01em}
html.mod.mdk:not(#_m) .hd-name{color:#c2e47e}
html.mod:not(#_m) .hd-th{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;gap:6px}
html.mod:not(#_m) .hd-bb{max-width:100%;padding:8px 12px;border-radius:16px 16px 16px 6px;background:rgba(15,42,74,.07);font-size:13px;line-height:1.45;align-self:flex-start;color:var(--ink)}
html.mod.mdk:not(#_m) .hd-bb{background:rgba(255,255,255,.08)}
html.mod:not(#_m) .hd-bb.me{align-self:flex-end;border-radius:16px 16px 6px 16px;background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m) .hd-ref{border:0;background:none;padding:0;font:inherit;font-weight:700;color:inherit;text-decoration:underline;text-decoration-color:rgba(127,140,160,.6);text-underline-offset:2px;cursor:pointer}
html.mod:not(#_m) .hd-sg{display:flex;flex-wrap:wrap;gap:6px;flex:none}
html.mod:not(#_m) .hd-sg button{height:28px;padding:0 11px;border-radius:999px;border:1px solid var(--mx-edge);background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));font:500 12px Inter,sans-serif;color:var(--ink);cursor:pointer}
html.mod:not(#_m) .hd-ask{flex:none;height:40px;padding:0 4px 0 14px;border-radius:999px;background:rgba(15,42,74,.07);border:1px solid transparent;display:flex;align-items:center}
html.mod.mdk:not(#_m) .hd-ask{background:rgba(255,255,255,.07)}
html.mod:not(#_m) .hd-ask:focus-within{border-color:#5ec7da}
html.mod:not(#_m) .hd-ask input{flex:1;min-width:0;border:0!important;outline:0;background:none!important;font:13px Inter,sans-serif;color:var(--ink);box-shadow:none!important;padding:0!important;height:auto!important}
html.mod:not(#_m) .hd-ask button{width:32px;height:32px;border-radius:50%;border:0;background:var(--mx-sel);color:var(--mx-sel-ink);display:grid;place-items:center;cursor:pointer;flex:none}
html.mod:not(#_m) .hd-ask button svg{width:14px;height:14px}
/* desky stands in front of its tile, head above the tile (owner 2026-10-31, _shots/desky-stand-2.png) */
html.mod:not(#_m) .hd-fig{position:absolute;left:50%;top:0;transform:translateX(-50%);z-index:4;border:0;padding:0;background:none;cursor:pointer}
html.mod:not(#_m) .hd-bun{position:relative;display:block;animation:hd-float 3s ease-in-out infinite}
html.mod:not(#_m) .hd-bun img{height:var(--dk);width:auto;display:block;transform-origin:50% 100%;filter:drop-shadow(0 12px 14px rgba(15,42,74,.22));animation:hd-breathe 2.6s ease-in-out infinite;pointer-events:none}
html.mod:not(#_m) .hd-fig:focus{outline:0}
html.mod:not(#_m) .hd-fig:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:24px}
html.mod:not(#_m) .hd-fig.twirl:focus-visible{outline:0}
html.mod:not(#_m) .hd-fig.cheer>*{animation:hd-cheer 1.1s ease-in-out}
html.mod:not(#_m) .hd-fig.sad>*{animation:hd-slump 2.4s ease-in-out}
html.mod:not(#_m) .hd-fig.shake>*{animation:hd-shake .42s ease-in-out 3}
html.mod:not(#_m) .hd-fig.wave>*{animation:hd-wave .7s ease-in-out 3}
html.mod:not(#_m) .hd-fig.lookl>*{animation:hd-lookl 2.6s ease-in-out}
html.mod:not(#_m) .hd-fig.lookr>*{animation:hd-lookr 2.6s ease-in-out}
html.mod:not(#_m) .hd-pop{position:absolute;left:66%;top:18px;z-index:5;font-size:26px;font-weight:800;color:#e0557a;pointer-events:none;animation:hd-popup 1.6s ease-out forwards}
html.mod:not(#_m) .hd-pop.low{color:var(--mute)}
@keyframes hd-wave{0%,100%{transform:rotate(0)}30%{transform:rotate(-6deg)}70%{transform:rotate(6deg)}}
@keyframes hd-lookl{0%,100%{transform:none}25%,70%{transform:rotate(-5deg) translateX(-4px)}}
@keyframes hd-lookr{0%,100%{transform:none}25%,70%{transform:rotate(5deg) translateX(4px)}}
@keyframes hd-popup{0%{opacity:0;transform:translateY(10px) scale(.6)}25%{opacity:1;transform:translateY(0) scale(1.1)}100%{opacity:0;transform:translateY(-34px) scale(1)}}
html.mod:not(#_m) .hd-fig.talk>*{animation:hd-talk .45s ease-in-out infinite}
@keyframes hd-talk{0%,100%{transform:scale(1,1) rotate(0)}25%{transform:scale(1.02,.98) rotate(-1.2deg)}50%{transform:scale(.99,1.02)}75%{transform:scale(1.02,.98) rotate(1.2deg)}}
html.mod:not(#_m) .hd-turn{position:absolute;left:50%;bottom:0;width:var(--dk);height:var(--dk);margin-left:calc(var(--dk)*-.5);background:url(desky-turn.webp) 0 0/auto 100% no-repeat;opacity:0;pointer-events:none;filter:drop-shadow(0 12px 14px rgba(15,42,74,.22))}
html.mod:not(#_m) .hd-fig.twirl .hd-bun{animation:hd-hop 1.2s ease-in-out}
html.mod:not(#_m) .hd-fig.twirl .hd-bun img{opacity:0}
html.mod:not(#_m) .hd-fig.twirl .hd-turn{opacity:1;animation:hd-turn 1.2s steps(8) 1 forwards}
html.mod:not(#_m) .hd-spark{position:absolute;left:50%;top:130px;z-index:5;font-size:15px;pointer-events:none;animation:hd-spark .9s ease-out forwards}
@keyframes hd-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes hd-breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.02,.98)}}
@keyframes hd-turn{to{background-position-x:calc(var(--dk)*-8)}}
@keyframes hd-hop{0%,100%{transform:none}50%{transform:translateY(-8px)}}
@keyframes hd-spark{0%{opacity:0;transform:scale(.3)}30%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.1) rotate(40deg)}}
@keyframes hd-cheer{0%{transform:none}25%{transform:translateY(-10px) scale(.96,1.05)}45%{transform:translateY(0) scale(1.06,.92)}100%{transform:none}}
@keyframes hd-slump{0%,100%{transform:none}20%,80%{transform:translateY(4px) scale(1.03,.95) rotate(-3deg)}}
@keyframes hd-shake{0%,100%{transform:rotate(0)}25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}
@media (max-width:1200px){
  
  html.mod:not(#_m) .hd-grid{grid-template-columns:1fr 1fr}
  html.mod:not(#_m) .hd-grid>*{grid-column:auto!important;grid-row:auto!important}
  html.mod:not(#_m) .hd-grid>.hd-dk,html.mod:not(#_m) .hd-grid>.hd-pj{grid-column:1/-1!important}
  html.mod:not(#_m) .hd-dk{min-height:560px}
}
@media (max-width:760px){
  html.mod:not(#_m) .hd-grid{grid-template-columns:1fr}
}
/* the claim line pills line up with the project bar and the tiles, left and right (owner 2026-10-30) */
html.mod:not(#_m) .ptool .pt-in{padding-left:0!important;padding-right:0!important}
html.mod:not(#_m) .hd-t{overflow:hidden}
html.mod:not(#_m) .hd-table{min-width:0!important;width:100%!important;max-width:100%!important}

/* ---- owner 2026-10-31: the item table in four cards, option C of _shots/claim-table-cards-options.html: the gap between cards has no colour of its own, so the tile shows through and no stripes mix ---- */
html.mod:not(#_m) table.t3{--mx-cc:rgba(255,255,255,.46)}
html.mod.mdk:not(#_m) table.t3{--mx-cc:rgba(255,255,255,.045)}
html.mod.t3on:not(#_m):not(#_n) table.t3 :is(td,th).t3n.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 :is(td,th).t3t.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 thead :is(td,th).t3n.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 thead :is(td,th).t3t.t3s{border-left:10px solid transparent!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tbody tr:not(.sec):not(.hsub):not(.tot):not(.vg-sum):not(.bf-tot)>td.t3c{background-color:var(--mx-cc)!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 :is(td,th).t3c,html.mod.t3on:not(#_m):not(#_n) table.t3 .t3c.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 .t3c.t3e,html.mod.t3on:not(#_m):not(#_n) table.t3 thead tr:first-child>.t3c{--sl:transparent!important;--sr:transparent!important;--st:transparent!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.t3-last>.t3c{--sb:transparent!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 :is(td,th).t3c{border-radius:0!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 thead tr:first-child>:is(th,td).t3c.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 thead tr:first-child>:is(th,td).t3c.t3n.t3s{border-top-left-radius:12px!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 thead tr:first-child>:is(th,td).t3c.t3e{border-top-right-radius:12px!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.t3-last>:is(th,td).t3c.t3s,html.mod.t3on:not(#_m):not(#_n) table.t3 tr.t3-last>:is(th,td).t3c.t3n.t3s{border-bottom-left-radius:12px!important}
html.mod.t3on:not(#_m):not(#_n) table.t3 tr.t3-last>:is(th,td).t3c.t3e{border-bottom-right-radius:12px!important}
/* the 10px gap is a see-through left border, which eats the curve: add it back so the left corners match the right (owner 2026-10-31) */
html.mod.t3on:not(#_m):not(#_n):not(#_o) table.t3 thead tr:first-child>:is(th,td).t3c.t3n.t3s{border-top-left-radius:22px 12px!important}
html.mod.t3on:not(#_m):not(#_n):not(#_o) table.t3 tr.t3-last>:is(th,td).t3c.t3n.t3s{border-bottom-left-radius:22px 12px!important}
/* the empty spacer cell after the last card has no colour either */
html.mod.t3on:not(#_m):not(#_n) table.t3 tr>:is(td,th):not(.t3c):empty{background:none!important}

/* ---- owner 2026-10-30: Home uses the full width of the screen, as in the mock-up ---- */
html.mod:not(#_m) .wrap.hd-page{max-width:none!important}

/* ---- owner 2026-10-30: Projects page and cards as in the mock-up ---- */
html.mod:not(#_m) .wrap.desk{max-width:none!important}
html.mod:not(#_m) .desk-mod .dk-hello h1{font-size:clamp(28px,2.4vw,34px);font-weight:600;letter-spacing:-.025em}
html.mod:not(#_m) .desk-mod .hm-h{display:none}
html.mod:not(#_m) .desk-mod .pf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
html.mod:not(#_m) .pf-card.pfm{display:flex;flex-direction:column;padding:0!important;overflow:hidden;text-align:left;border-radius:24px!important;background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important;transition:transform .15s;position:relative;color:var(--ink)}
html.mod:not(#_m) .pf-card.pfm:hover{transform:translateY(-2px)}
html.mod:not(#_m) .pfm-pic{height:96px;display:flex;flex-direction:column;justify-content:flex-end;padding:12px 16px;color:#fff;background:linear-gradient(135deg,var(--pt,#55657a),color-mix(in srgb,var(--pt,#55657a) 80%,transparent));flex:none}
html.mod:not(#_m) .pfm-pic b{font-size:var(--fs-xl);font-weight:600;letter-spacing:-.02em;line-height:1.1}
html.mod:not(#_m) .pfm-pic small{font-size:var(--fs-sm);opacity:.85}
html.mod:not(#_m) .pfm-pic.has-img{padding:0}
html.mod:not(#_m) .pfm-pic.has-img img{width:100%;height:100%;object-fit:cover}
html.mod:not(#_m) .pf-card.pfm.is-act::after{content:'';position:absolute;top:12px;right:12px;width:10px;height:10px;border-radius:50%;background:#ffd54a;box-shadow:0 0 0 3px rgba(255,255,255,.5)}
html.mod:not(#_m) .pfm-bd{padding:14px 16px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:center;flex:1}
html.mod:not(#_m) .pfm-nm{min-width:0}
html.mod:not(#_m) .pfm-nm b{display:block;font-weight:600;font-size:var(--fs-md);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m) .pfm-nm small{color:var(--mute);font-size:var(--fs-sm);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m) .pfm-rg{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#a7d056 var(--d),var(--hd-track,rgba(15,42,74,.1)) 0)}
html.mod.mdk:not(#_m) .pfm-rg{background:conic-gradient(#a7d056 var(--d),rgba(255,255,255,.12) 0)}
html.mod:not(#_m) .pfm-rg span{width:38px;height:38px;border-radius:50%;background:var(--mx-opq);display:grid;place-items:center;font-size:var(--fs-sm);font-weight:700}
html.mod:not(#_m) .pfm-nums{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}
html.mod:not(#_m) .pfm-nums .pf-n small{display:block;color:var(--mute);font-size:var(--fs-sm)}
html.mod:not(#_m) .pfm-nums .pf-n b{display:block;font-size:var(--fs-md);font-weight:600;font-variant-numeric:tabular-nums}
html.mod:not(#_m) .pfm-ft{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--hd-track,rgba(15,42,74,.08));font-size:var(--fs-sm);color:var(--mute)}
html.mod.mdk:not(#_m) .pfm-ft{border-color:rgba(255,255,255,.07)}
html.mod:not(#_m) .pfm-last{white-space:nowrap}
/* every page uses the full width, as in the mock-up (owner 2026-10-30: "the whole design try to follow mock pages") */
html.mod:not(#_m) .wrap,html.mod:not(#_m) .pb-in,html.mod:not(#_m) .backbar,html.mod:not(#_m) .wrap.cl-page{max-width:none!important}
/* Projects title line: search, Rows / Cards / Map and Register project on the right, as in the mock-up */
html.mod:not(#_m) .desk-mod .dk-hello{align-items:center;gap:12px}
html.mod:not(#_m) .pf-htools{display:flex;align-items:center;gap:12px}
html.mod:not(#_m) .pf-htools .pf-q{width:260px;height:40px}
html.mod:not(#_m) .pf-htools .pf-seg{height:40px}
html.mod:not(#_m) .desk-mod .pf-tools .chip .ch-n{color:var(--mute);font-weight:400;margin-left:4px}
html.mod:not(#_m) .desk-mod .pf-tools .chip[aria-pressed=true] .ch-n{color:inherit;opacity:.75}
@media (max-width:900px){
html.mod:not(#_m) .desk-mod .dk-hello{flex-wrap:wrap}
html.mod:not(#_m) .pf-htools{flex-wrap:wrap;width:100%}
html.mod:not(#_m) .pf-htools .pf-q{flex:1;width:auto}}
html.mod:not(#_m) .pf-htools .pf-q{display:flex!important;align-items:center;gap:8px;padding:0 16px!important;border-radius:999px!important;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;box-sizing:border-box}
html.mod:not(#_m) .pf-htools .pf-q svg{width:16px;height:16px;flex:none;color:var(--mute)}
html.mod:not(#_m) .pf-htools .pf-q input{flex:1;min-width:0;height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:var(--fs-md);outline:0}
html.mod:not(#_m) .desk-mod .pf-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important}
/* Home fits one screen (owner 2026-10-30): the two tile rows share the height under the greeting, as in the mock-up */
@media (min-width:1201px){
html.mod:not(#_m) .hd-page{padding-bottom:16px}
html.mod:not(#_m) .hd-grid.hd-fit{height:var(--hd-h);grid-template-rows:minmax(0,1.15fr) minmax(0,1fr)}
html.mod:not(#_m) .hd-grid.hd-fit>.hd-t{min-height:0;overflow:hidden}
html.mod:not(#_m) .hd-grid.hd-fit>.hd-dk{min-height:0}
html.mod:not(#_m) .hd-grid.hd-fit .hd-ring{min-height:0}
html.mod:not(#_m) .hd-grid.hd-fit .hd-ring svg{width:min(140px,100%);height:auto;max-height:100%}
html.mod:not(#_m) .hd-grid.hd-fit .hd-chart{flex:1;min-height:0}
html.mod:not(#_m) .hd-grid.hd-fit .hd-pj .hd-table tbody tr.hd-off{display:none}
}
/* Home Projects tile: plain headings like the mock-up (no table band); dark figure pills in the mock-up's blue */
html.mod:not(#_m) .hd-page .hd-table thead th{background:transparent!important;color:var(--mute)!important;font-weight:500!important;border-radius:0!important}
html.mod:not(#_m) .hd-page .hd-table{background:transparent!important;border:0!important;box-shadow:none!important}

/* ==== owner 2026-10-30: the other pages follow the mock-up (Sales, Purchases, Money, Reports, Contacts) ==== */
/* every page and bar uses the full width */
html.mod:not(#_m){--page-max:10000px}
/* top menu: words only, as in the mock-up (icons stay where the menu is icons only, below 1100px) */
@media (min-width:1100px){
html.mod:not(#_m) #topbar nav.tabs button svg{display:none}
}
/* figure strips become separate frosted tiles, each label with a coloured dot and a large figure */
html.mod:not(#_m) .card .dk-strip-card{background:none!important;border:0!important}
html.mod.mdk:not(#_m) .card .card:not(.dk-strip-card){background:rgba(255,255,255,.05)!important}
html.mod:not(#_m) .dk-strip-card{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important;overflow:visible!important}
html.mod:not(#_m) .dk-strip-card .dk-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;background:none!important;border:0!important}
html.mod:not(#_m) .dk-strip-card .dk-cell{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:24px!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important;padding:18px 20px!important;min-height:0}
html.mod:not(#_m) .dk-strip-card .dk-cell small{display:flex;align-items:center;gap:8px;font-size:var(--fs-md);color:var(--ink);opacity:.85}
html.mod:not(#_m) .dk-strip-card .dk-cell small::before{content:'';width:7px;height:7px;border-radius:50%;background:#224295;flex:none}
html.mod:not(#_m) .dk-strip-card .dk-cell:nth-child(4n+2) small::before{background:#4c7a12}
html.mod:not(#_m) .dk-strip-card .dk-cell:nth-child(4n+3) small::before{background:#5ec7da}
html.mod:not(#_m) .dk-strip-card .dk-cell:nth-child(4n+4) small::before{background:#e0a72e}
html.mod.mdk:not(#_m) .dk-strip-card .dk-cell small::before{background:#6f9be0}
html.mod.mdk:not(#_m) .dk-strip-card .dk-cell:nth-child(4n+2) small::before{background:#a7d056}
html.mod:not(#_m) .dk-strip-card .dk-cell b{display:block;font-size:var(--fs-x2)!important;font-weight:500!important;letter-spacing:-.02em;margin-top:6px;line-height:1.2}
html.mod:not(#_m) .dk-strip-card .dk-cell .msg{font-size:var(--fs-sm);color:var(--mute)}
/* list tables: plain headings and light row lines as in the mock-up (the item tables keep their bands) */
html.mod.t3on:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3):not(.sheet table):not(.sheetwrap table) thead th{background:transparent!important;color:var(--mute)!important;font-weight:500!important;font-size:var(--fs-sm)!important;border-bottom:1px solid rgba(15,42,74,.08)!important;border-top:0!important;padding-top:10px!important;padding-bottom:10px!important;border-radius:0!important}
html.mod.t3on:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3):not(.sheet table):not(.sheetwrap table) tbody td{border-bottom:1px solid rgba(15,42,74,.07)!important}
html.mod.t3on:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3):not(.sheet table):not(.sheetwrap table) tbody tr:not(.tot):not(.total):hover td{background:rgba(255,255,255,.45)!important}
html.mod.mdk:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3) thead th{border-bottom-color:rgba(255,255,255,.07)!important}
html.mod.mdk:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3) tbody td{border-bottom-color:rgba(255,255,255,.06)!important}
html.mod.mdk:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3) tbody tr:hover td{background:rgba(255,255,255,.04)!important}
html.mod.t3on:not(#_m):not(#_n) table:not(.items):not(.boq):not(.ledger):not(.t3):not(.sheet table):not(.sheetwrap table) :is(tr.tot,tr.total,tfoot tr) td{background:transparent!important;border-top:1px solid rgba(15,42,74,.12)!important}
html.mod.t3on:not(#_m):not(#_n) #rpCard .tw,html.mod.t3on:not(#_m):not(#_n) .card .tw:not(.items-wrap){border:0!important;background:transparent!important;border-radius:0!important}
/* Reports: its report list sits in a tile, as in the mock-up */
html.mod:not(#_m) .rp-r1 .rp-side{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));border:1px solid var(--mx-edge);border-radius:24px;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh);padding:14px 12px;align-self:start}
html.mod:not(#_m) .rp-r1 .rp-side .st-it.on{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important}
html.mod:not(#_m) .rp-r1 .rp-side{background:none!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
html.mod:not(#_m) .rp-r1 .rp-side .st-it:not(.on){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important}
html.mod:not(#_m) .rp-r1 .rp-side .st-it.on{border-color:transparent!important}
/* Contacts: the groups as separate pills with a plain count, as in the mock-up */
html.mod:not(#_m) .ct-gt{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;gap:8px!important;backdrop-filter:none!important}
html.mod:not(#_m) .ct-gt button{border-radius:999px!important;border:1px solid var(--mx-edge)!important;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;padding:0 14px!important;height:34px}
html.mod:not(#_m) .ct-gt button[aria-selected=true]{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important;border-color:var(--mx-sel)!important}
html.mod:not(#_m) .ct-gt .ct-dot{display:none!important}
html.mod:not(#_m) .ct-gt .n{background:none!important;border:0!important;color:inherit;opacity:.6;font-weight:400;padding:0 0 0 4px!important;min-width:0!important}
/* desky tile outline along the notch (owner 2026-10-30) */
/* Contacts list in a frosted tile, as in the mock-up */
html.mod:not(#_m) .tw.ct-tw{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:24px!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important;padding:6px 14px!important}
/* page titles at the mock-up's size */
html.mod:not(#_m) :where(#app .wrap) h1{font-size:32px;font-weight:600;letter-spacing:-.025em}
/* Money: four figure tiles in one row, the chart full width under them, as in the mock-up */
/* owner 2026-10-31, option G of _shots/money-graph-options.html: a thin row of four figures, then money in by project beside the bars by month */
html.mod:not(#_m) .mny-page{--mny-bi:#7fa82c;--mny-bo:#3f6fd0;--mny-bw:#c9dc9a}
html.mod.mdk:not(#_m) .mny-page{--mny-bi:#a7d056;--mny-bo:#7fa4ee;--mny-bw:#55703a}
html.mod:not(#_m) .mny-top{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}
html.mod:not(#_m) .mny-r2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px}
html.mod:not(#_m) .mny-r2>.card{margin:0!important}
html.mod:not(#_m) .mny-prj{padding:12px 16px!important;border-radius:20px!important;display:flex;flex-direction:column}
html.mod:not(#_m) .mny-top{gap:16px}
html.mod:not(#_m) .mny-k{padding:12px 16px!important;border-radius:20px!important}
html.mod:not(#_m) .mny-k{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:12px}
html.mod:not(#_m) .mny-k>small:first-child{grid-column:1/-1}
html.mod:not(#_m) .mny-k>.msg{grid-column:2;grid-row:2;margin:0 0 4px;text-align:right}
html.mod:not(#_m) .mny-pl{display:flex;flex-direction:column;gap:2px;margin-top:8px;flex:1}
html.mod:not(#_m) .mny-pr{display:grid;grid-template-columns:200px minmax(0,1fr) 92px;gap:10px;align-items:center;padding:5px 8px;border:0;background:none;border-radius:10px;color:var(--ink);font:inherit;font-size:var(--fs-md);text-align:left;cursor:pointer;width:100%}
html.mod:not(#_m) .mny-pr:hover,html.mod:not(#_m) .mny-pr.on{background:var(--mx-hov)}html.mod:not(#_m) .mny-pr.on{font-weight:600}
html.mod:not(#_m) .mny-pm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m) .mny-pr>b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
html.mod:not(#_m) .mny-pb{display:flex;gap:2px;height:14px}html.mod:not(#_m) .mny-pb i{display:block;height:14px}html.mod:not(#_m) .mny-pb i:first-child{border-radius:4px 0 0 4px}html.mod:not(#_m) .mny-pb i:last-child{border-radius:0 4px 4px 0}html.mod:not(#_m) .mny-pb i:only-child{border-radius:4px}
html.mod:not(#_m) .mny-pb .in,html.mod:not(#_m) .mny-leg i.in{background:var(--mny-bi)!important}html.mod:not(#_m) .mny-pb .wt,html.mod:not(#_m) .mny-leg i.wt{background:var(--mny-bw)!important}html.mod:not(#_m) .mny-leg i.out{background:var(--mny-bo)!important}
/* owner 2026-11-04: money with the client (claimed, no response yet) as a dashed light piece, as on the project page */
html.mod:not(#_m) .mny-pb .xc,html.mod:not(#_m) .mny-leg i.xc{background:transparent!important;border:1.5px dashed var(--mny-bi);box-sizing:border-box}
html.mod:not(#_m) .mny-k b{font-size:var(--fs-xl)!important;font-weight:500!important;letter-spacing:-.02em}
html.mod:not(#_m) .mny-chc{padding:12px 16px!important;border-radius:20px!important}
html.mod:not(#_m) .mny-ch{min-height:190px}
/* top bar (owner 2026-10-30): search, Updates and the name pill; To do and Hide amounts in the name menu; the To do count on the avatar */
/* search pills on the title line (Sales, Contacts), as in the mock-up */
html.mod:not(#_m) :is(.sl-hq,.ct-hq){display:flex!important;align-items:center;gap:8px;width:260px;height:40px;padding:0 16px!important;border-radius:999px!important;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;box-sizing:border-box;margin-right:10px}
html.mod:not(#_m) :is(.sl-hq,.ct-hq) svg{width:16px;height:16px;flex:none;color:var(--mute)}
html.mod:not(#_m) :is(.sl-hq,.ct-hq) input{flex:1;min-width:0;height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:var(--fs-md);outline:0}
html.mod:not(#_m) .ct-hb{display:flex;align-items:center;gap:10px}
html.mod:not(#_m) .sl-head{align-items:center}
/* Reports: title and line, the group tabs, Excel and Save as PDF on one line; project, Show, Columns and Print inside the card */
html.mod:not(#_m) .rp-mhead{padding-top:18px;padding-bottom:4px}
html.mod:not(#_m) .rp-mhead .dk-hello{align-items:center;margin:0}
html.mod:not(#_m) .rp-mtabs{display:inline-flex!important;width:auto!important;flex:none!important;padding:5px!important;border-radius:999px!important;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important}
html.mod:not(#_m) .rp-mtabs .st-tabs{display:flex;gap:2px}
html.mod:not(#_m) .rp-mtabs .st-tab{border-radius:999px!important;padding:0 14px!important;height:34px}
html.mod:not(#_m) .rp-mtabs .st-tab .rp-tc{display:none}
html.mod:not(#_m) .rp-mctl{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:-4px 0 6px}
html.mod:not(#_m) .rp-mend .btn{height:40px;padding:0 18px;border-radius:999px}
/* name menu (owner 2026-10-30): the display switches as one row of icons in a pill, above Log out */
html.mod:not(#_m) .um-ics{display:flex;justify-content:space-between;gap:4px;margin:8px 10px 4px;padding:5px;border-radius:999px;background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));border:1px solid var(--mx-edge)}
html.mod:not(#_m) .um-ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:var(--mute);border:0;background:transparent;padding:0;position:relative}
html.mod:not(#_m) .um-ic input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
html.mod:not(#_m) .um-ic svg{width:18px;height:18px;color:inherit!important}
html.mod:not(#_m) .um-ic:hover{background:var(--mx-hov);color:var(--ink)}
html.mod:not(#_m) .um-ic.on{background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m) .um-ic:has(input:focus-visible),html.mod:not(#_m) button.um-ic:focus-visible{outline:2px solid #5ec7da;outline-offset:2px}
/* Reports: the group tabs, Excel and Save as PDF float on the title line and stay while scrolling */
html.mod:not(#_m) .rp-mhead{padding-bottom:14px}
html.mod:not(#_m) .rp-mstk{position:sticky;top:calc(var(--tbh,0px) - 8px);z-index:20;display:flex;justify-content:flex-end;align-items:center;height:56px;padding-top:0!important;padding-bottom:0!important;margin-top:-62px;margin-bottom:4px;pointer-events:none}
html.mod:not(#_m) .rp-mstk .rp-mend{display:flex;align-items:center;gap:10px;pointer-events:auto}
@media (max-width:1100px){
html.mod:not(#_m) .rp-mstk{margin-top:0;justify-content:flex-start;overflow-x:auto}
}
/* Reports: the column headings stick under the pills and the rows slide under them, as on the claim page */
@media (min-width:1000px){
html.mod:not(#_m) .rp-r1 .rp-side{position:sticky;top:calc(var(--tbh,0px) + 52px);z-index:2}
}
@media (min-width:1000px){
html.mod:not(#_m) .rp-r1 .rp-lay{overflow:visible!important}
}
/* every list table on a page: headings stick under the bars and the rows slide under them, as on the claim page (owner 2026-10-30) */
@media (min-width:1000px){
html.mod:not(#_m) .tw.mod-st{overflow:visible!important}
html.mod:not(#_m) .tw.mod-st>table thead th{position:sticky;top:calc(var(--pbh,0px) + var(--ptbh,0px) + 14px);z-index:6}
html.mod:not(#_m) .rp-r1 .tw.mod-st>table thead th{top:calc(var(--pbh,0px) + 106px)} /* below the pinned report pills (owner 2026-11-13: the headings ran into them) */
}
/* the top bar stays at the top on every page and screen */
html.mod:not(#_m) #topbar.top,html.mod:not(#_m) #topbar.in-proj{position:sticky!important;top:0!important;z-index:40}
/* owner 2026-11-25 (the claim table flickered behind the Top bar while scrolling): the scroll code cuts the page under the pinned bars one
   frame after the browser has moved it, so for that frame rows showed between the pills. A still copy of the page background now sits
   behind the bars (#app::after = the colour / gradient / fade, #app::before = the picture), under the claim line (z 20), over the page;
   being fixed it moves with no delay, so nothing can show through. The scroll code still shapes the tiles below it. */
@media screen and (min-width:721px){
html.mod:not(#_m) body:not(.ph-only) #app{--cvh:var(--pbh,0px);--cvf:14px}
html.mod:not(#_m) body:not(.ph-only) #app::before,html.mod:not(#_m) body:not(.ph-only) #app::after{content:"";position:fixed;left:0;right:0;top:0;height:var(--cvh);z-index:18;pointer-events:none;--cvo:0px;
  -webkit-mask-image:linear-gradient(#000 calc(var(--cvh) + var(--cvo) - var(--cvf)),transparent calc(var(--cvh) + var(--cvo)));mask-image:linear-gradient(#000 calc(var(--cvh) + var(--cvo) - var(--cvf)),transparent calc(var(--cvh) + var(--cvo)))}
html.mod:not(#_m) body:not(.ph-only) #app::before{display:none}
/* its last 14px fade out, as the page fade did (MOD_FADE); under the claim line the tiles are cut sharp, so no fade there */
html.mod:not(#_m) body:not(.ph-only) #app::after{background-color:var(--mx-bg1);background-image:radial-gradient(700px 520px at 8% 62%,var(--mx-g1),transparent 62%),radial-gradient(760px 560px at 58% 30%,var(--mx-g2),transparent 62%),radial-gradient(700px 520px at 96% 85%,var(--mx-g3),transparent 62%),linear-gradient(180deg,var(--mx-bg1),var(--mx-bg2));background-attachment:fixed}
html.mod.bg-own:not(#_m) body:not(.ph-only) #app::after{background:var(--bg-col)}
html.mod.bg-pic:not(#_m) body:not(.ph-only) #app::after{background:var(--bg-fade)}
html.mod.bg-pic:not(#_m) body:not(.ph-only) #app::before{display:block;inset:calc(var(--bg-blur,0px) * -2.5);height:auto;background:var(--bg-img) center/cover no-repeat;filter:var(--bg-filt,blur(var(--bg-blur,0px)));--cvo:calc(var(--bg-blur,0px) * 2.5);clip-path:inset(0 0 calc(100% - var(--cvh) - var(--cvo)) 0)}
}
@media screen and (min-width:1000px){html.mod:not(#_m) body:not(.ph-only) #app{--cvh:calc(var(--pbh,0px) + var(--ptbh,0px));--cvf:calc(14px - min(var(--ptbh,0px),14px))}}
/* Contacts: the project filter on the group pills line (owner 2026-10-30) */
html.mod:not(#_m) .ct-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}
html.mod:not(#_m) .ct-row .ct-gt{margin:0!important;flex:1 1 auto;min-width:0}
html.mod:not(#_m) .ct-hb .ct-proj{width:200px;flex:none;height:40px!important;min-height:40px!important;box-sizing:border-box}
html.mod:not(#_m) .ct-hb .ct-hq{width:290px}
html.mod:not(#_m) .ct-bar:empty{display:none}
/* one size for every control on the action lines: 40px, the same on every page (owner 2026-10-30) */
html.mod:not(#_m) :is(.dk-hello,.pf-head,.rp-mend,.pf-htools,.mny-head) :is(.btn,.pf-q,.pf-seg,select,summary.ico-sum,.st-pill){height:40px!important;min-height:40px!important;box-sizing:border-box}
html.mod:not(#_m) :is(.dk-hello,.pf-head,.rp-mend,.mny-head) :is(.btn,summary.ico-sum):not(.ico-only):not(.ico-sum){padding:0 18px!important;font-size:var(--fs-md);border-radius:999px!important}
html.mod:not(#_m) :is(.dk-hello,.pf-head) :is(.btn.ico-only,summary.ico-sum){width:40px!important;padding:0!important;border-radius:50%!important}
html.mod:not(#_m) :is(.pf-htools,.mny-head,.dk-hello,.pf-head) .pf-seg{padding:4px!important;align-items:center}
html.mod:not(#_m) :is(.pf-htools,.mny-head,.dk-hello,.pf-head) .pf-seg button{height:30px!important;min-height:30px!important;padding:0 14px!important;font-size:var(--fs-md)}
html.mod:not(#_m) .rp-mtabs{padding:4px!important}
html.mod:not(#_m) .rp-mtabs .st-tab{height:30px!important;min-height:30px!important;font-size:var(--fs-md)}
html.mod:not(#_m) .ct-gt button,html.mod:not(#_m) .desk-mod .pf-tools .chip{height:34px!important}
html.mod:not(#_m) :is(.mny-dd,.mny-head details.nu-pill)>summary{height:40px!important;min-height:40px!important;box-sizing:border-box;border-radius:999px!important}
html.mod:not(#_m) .ptool .pt-in>.nu-party,html.mod:not(#_m) .ptool .pt-in>details.nu-pill>summary,html.mod:not(#_m) .ptool .pt-in>.pt-chk,html.mod:not(#_m) .ptool .pt-in>.pt-figs,html.mod:not(#_m) .ptool .pt-in>button,html.mod:not(#_m) .ptool .pt-in>.btn{height:40px!important;min-height:40px!important;box-sizing:border-box}
/* Add VO in the Variations tab bar: same weight as the buttons beside it (Amend VOs, VO quote; owner 2026-11-19) */
html.mod:not(#_m) .ptool .pt-in>details.vo-add>summary.btn{font-weight:600}
/* owner 2026-11-25: Add VO is a pill like Amend VOs beside it (it kept the square-ish corners of a plain summary, and its focus ring with them),
   and its menu opens to the right: it sits at the left of the bar, so a menu aligned to its right edge went off the screen */
html.mod:not(#_m) .ptool .pt-in>details.vo-add>summary.btn{height:40px!important;min-height:40px!important;box-sizing:border-box;border-radius:999px!important}
html.mod:not(#_m) .ptool .pt-in>details.vo-add>.exp-menu{left:0;right:auto}
/* no explanation line under the page titles: all pages the same (owner 2026-10-30) */
html.mod:not(#_m) :is(.sl-head,.ct-page>.pf-head,.rp-mhead) .sub{display:none}
@media (min-width:1101px){
html.mod:not(#_m) .rp-mstk{margin-top:-62px}
}
/* table rows (owner 2026-10-30): Big = the mock-up and the default, Medium and Compact per person from the name menu */
html.mod.t3on:not(#_m):not(#_n) table:not(.t3):not(.ledger):not(.sheet table):not(.sheetwrap table) tbody td{padding-top:var(--rh-l,13px)!important;padding-bottom:var(--rh-l,13px)!important}
html.mod.t3on:not(#_m):not(#_n) table.t3:not(.sheet table) tbody tr:not(.tot):not(.sec)>td{padding-top:var(--rh-i,7px)!important;padding-bottom:var(--rh-i,7px)!important}
html.mod.rh-m:not(#_m){--rh-l:9px;--rh-i:5px}
html.mod.rh-c:not(#_m){--rh-l:5px;--rh-i:3px}
html.mod:not(#_m) .um-rh{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
html.mod:not(#_m) .um-rh i{display:block;width:16px;height:2px;border-radius:2px;background:currentColor}
/* name menu icons (owner 2026-10-30): plain icons with no pill; grey when off, coloured when on */
html.mod:not(#_m) .um-ics{background:none!important;border:0!important;padding:2px 0!important;margin:6px 10px 2px!important}
/* the display icons sit side by side from the left; a new icon simply follows them (owner 2026-11-10) */
html.mod:not(#_m) .um-ics{justify-content:flex-start!important;gap:6px!important}
html.mod:not(#_m) .um-ic,html.mod:not(#_m) .um-ic.on{background:none!important;color:var(--mute);width:36px;height:36px}
html.mod:not(#_m) .um-ic:hover{background:var(--mx-hov)!important}
html.mod:not(#_m) .um-ic.on svg{fill:currentColor;fill-opacity:.18}
html.mod:not(#_m) .um-ic.um-moon.on{color:#224295}
html.mod:not(#_m) .um-ic.um-dashboard.on{color:#4c7a12}
html.mod:not(#_m) .um-ic.um-desky.on{color:#6ea52e}
html.mod:not(#_m) .um-ic.um-dkvoice.on{color:#6ea52e}
html.mod.mdk:not(#_m) .um-ic.um-dkvoice.on{color:#c2e47e}
html.mod:not(#_m) .um-ic.um-columns.on{color:#1f8ba0}
html.mod:not(#_m) button.um-ic.on[data-act="hideAmt"]{color:#c62828}
html.mod.mdk:not(#_m) .um-ic.um-moon.on,html.mod.mdk:not(#_m) .um-ic.um-moon.on:hover{color:#f5b83d}
html.mod.mdk:not(#_m) .um-ic.um-moon.on svg{fill:currentColor;fill-opacity:1}
html.mod.mdk:not(#_m) .um-ic.um-dashboard.on,html.mod.mdk:not(#_m) .um-ic.um-desky.on{color:#c2e47e}
html.mod.mdk:not(#_m) .um-ic.um-columns.on{color:#5ec7da}
html.mod.mdk:not(#_m) button.um-ic.on[data-act="hideAmt"]{color:#ff8a80}

/* a tile with an open menu: lifted above the next tile and not clipped, so every menu item can be reached (review 2026-10-30) */
html.mod:not(#_m) :is(.card,.st-mainw,.tw.ct-tw):has(details[open]){position:relative;z-index:50;clip-path:none!important}
/* owner 2026-11-11 (speed): .dd-in is set by the app while a drop-down inside is open; the same rule written with :has() made the browser restyle every cell of a big table on each change */
html.mod:not(#_m) :is(.card,.st-mainw,.tw.ct-tw).dd-in>*,html.mod:not(#_m) :is(.card,.st-mainw,.tw.ct-tw).dd-in tbody{clip-path:none!important}

/* Contacts: the count on the selected tab is plain, like the other tabs */
html.mod:not(#_m) .ct-gt>button[aria-selected=true] .n{background:none!important;border:0!important;box-shadow:none!important;color:inherit!important;opacity:.8;padding:0!important;min-width:0!important}

/* one title line on every page: the title and the action pills start 18px under the top bar, on a 40px line */
html.mod:not(#_m) .wrap:is(.sl-wrap,.desk-mod,.mny-page,.ct-page){padding-top:18px}
html.mod:not(#_m) :is(.sl-head,.desk-mod .dk-hello,.mny-head,.rp-mhead .dk-hello,.ct-page>.pf-head) h1{font-size:32px!important;line-height:40px!important;margin:0!important;font-weight:600;letter-spacing:-.025em}
html.mod:not(#_m) .desk-mod .dk-hello{align-items:flex-start}
html.mod:not(#_m) .ct-page>.pf-head{margin-bottom:6px}

/* the top bar's logo and right end line up with the page's left and right margins */
html.mod:not(#_m) #topbar.top{padding-left:var(--page-pad)!important;padding-right:var(--page-pad)!important}
/* Home on a half-width window: jobs and Scorecard fill the row side by side, desky and Projects run full width after them, and desky is no taller than it needs */
@media (max-width:1200px){
  html.mod:not(#_m) .hd-grid>:is(.hd-dk,.hd-pj){order:1}
  html.mod:not(#_m) .hd-grid>.hd-pj{order:2}
  html.mod:not(#_m) .hd-grid>.hd-dk{min-height:540px;height:auto}
}

/* one font on screen: buttons and boxes follow the page (Inter) instead of the browser's own; printed documents are left alone */
html.mod:not(#_m) :is(button,input,select,textarea,optgroup,option):not(.sheet *){font-family:inherit}

/* Home: the figures as one line of pills, the same pills as the action bars (owner 2026-10-30, option C) */
html.mod:not(#_m) .hd-hello{margin-bottom:10px}
html.mod:not(#_m) .hd-hello .sub{margin-bottom:0}
html.mod:not(#_m) .hd-kps{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
html.mod:not(#_m) .hd-kps{justify-content:space-between}
html.mod:not(#_m) .hd-kg{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px}
html.mod:not(#_m) .hd-kp{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--mx-edge);background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));box-shadow:var(--mx-hi);backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);white-space:nowrap}
html.mod:not(#_m) .hd-kp b{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
html.mod:not(#_m) .hd-kp i{font-style:normal;font-size:13px;color:var(--mute)}
html.mod:not(#_m) .hd-kp.bad{border-color:rgba(198,40,40,.55)}
html.mod:not(#_m) .hd-kp.bad b{color:#c62828}
html.mod.mdk:not(#_m) .hd-kp.bad{border-color:rgba(255,138,128,.55)}
html.mod.mdk:not(#_m) .hd-kp.bad b{color:#ff8a80}


/* Settings in tiles (owner 2026-11-16, mock-up _shots/sending-emails-mockup.html; overrides the flat page of 2026-10-31): the page has
   no tile of its own (owner: "no tile inside tile"); every section is a tile with a blue title over a line, the first one (the role chip
   and the lead line, .st-head) starts level with the menu tile (owner: "both tile inline"); row names plain, notes grey */
html.mod:not(#_m):not(#_st) .set-nu .st-mainw{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important}
html.mod:not(#_m):not(#_st) .set-nu .st-lay .set-main>.card:not(.rg-card),html.mod:not(#_m):not(#_st) .set-nu .st-lay .set-main>.set-two>.card,html.mod:not(#_m):not(#_st) .set-nu .st-head{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;border-radius:20px!important;box-shadow:var(--mx-hi),var(--mx-sh)!important;padding:0 18px 8px!important;margin:0 0 14px!important;overflow:visible}
html.mod:not(#_m):not(#_st) .set-nu .st-head{padding:12px 18px!important}
html.mod:not(#_m):not(#_st) .set-nu .st-head .st-who{margin:0}html.mod:not(#_m):not(#_st) .set-nu .st-head .set-lead{margin:8px 0 0}
html.mod:not(#_m):not(#_st) .set-nu .set-main>.card>h2:first-child,html.mod:not(#_m):not(#_st) .set-nu .set-main>.set-two>.card>h2:first-child,html.mod:not(#_m):not(#_st) .set-nu .set-main>.card>.wf:first-child{margin:0 -18px 6px!important;padding:14px 18px 12px!important;border-bottom:1px solid var(--line)}
html.mod:not(#_m):not(#_st) .set-nu .set-main>.card>h2:first-child,html.mod:not(#_m):not(#_st) .set-nu .set-main>.set-two>.card>h2:first-child,html.mod:not(#_m):not(#_st) .set-nu .set-main>.card>.wf:first-child h2{color:var(--sel)!important;font-size:var(--fs-md)!important;font-weight:600!important}
html.mod:not(#_m):not(#_st) .set-nu .set-main .set-row b{font-weight:400!important}
html.mod:not(#_m):not(#_st) .set-nu h2:has(>.st-who-in){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html.mod:not(#_m):not(#_st) .set-nu .st-who-in{margin:0 0 0 auto;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_st) .set-nu .set-main>:first-child{margin-top:0!important}
/* grey words on the frosted tiles stay readable (ui-check LOWCON: Numbering table headings, Sending emails 'Staff send it themselves') */
html.mod:not(#_m):not(#_st) .set-nu :is(table.dn-t thead th,.em-how .msg,.em-hl .msg){color:color-mix(in srgb,var(--mute) 55%,var(--ink))!important}
/* a tile that starts with buttons instead of a title keeps a gap above them (ui-check TOUCH: Team performance, Design for all forms) */
html.mod:not(#_m):not(#_st) .set-nu .set-main>.card:not(.rg-card)>:first-child:not(h2):not(.wf):not(table):not(.tw){margin-top:14px!important}
/* the last tile reaches the bottom of the menu tile (owner 2026-11-16: "bottom not inline") */
html.mod:not(#_m):not(#_st) .set-nu .set-main{display:flex;flex-direction:column;padding-bottom:0!important;padding-right:0!important}
html.mod:not(#_m):not(#_st) .set-nu .set-main>*{flex:0 0 auto}
html.mod:not(#_m):not(#_st) .set-nu .set-main>:last-child{flex-grow:1;margin-bottom:0!important}
/* the last tile ends level with the menu tile on every page (owner 2026-11-17 'the tile not inline': a later 14px margin won) */
html.mod:not(#_m):not(#_st):not(#_lb1):not(#_lb2) .set-nu .set-main>:last-child{margin-bottom:0!important}
html.mod:not(#_m):not(#_st) .set-nu .set-main>.set-two:last-child{display:flex;flex-direction:column}
html.mod:not(#_m):not(#_st) .set-nu .set-main>.set-two:last-child>.card:last-child{flex-grow:1;margin-bottom:0!important}
/* owner 2026-10-31: drop-downs and date boxes in forms have the same border as the text boxes beside them */
html.mod:not(#_m) #app :is(.card,.st-mainw) select:not(table select),html.mod:not(#_m) #app :is(.card,.st-mainw) input[type=date]{border-color:var(--fld-bd,var(--line))!important}
/* a menu inside a frosted tile cannot blur what is behind it (a blur inside a blur does nothing), so it is solid and the text under it does not show through */
html.mod:not(#_m) .card .exp-menu{background:var(--mx-pops)!important}
/* owner 2026-10-31: Nearly solid covers the whole app: every tile, bar and pill reads these tokens */
html.mod.tbg-solid:not(#_m):not(#_n){--mx-t1:rgba(255,255,255,.93);--mx-t2:rgba(255,255,255,.89);--mx-p1:rgba(255,255,255,.92);--mx-p2:rgba(255,255,255,.88)}
html.mod.mdk.tbg-solid:not(#_m):not(#_n){--mx-t1:rgba(20,36,58,.95);--mx-t2:rgba(17,32,52,.93);--mx-p1:rgba(24,41,65,.94);--mx-p2:rgba(20,36,58,.92)}
/* owner 2026-10-31: the green action buttons are frosted too; solid lime only with Nearly solid */
/* owner 2026-11-05: every green action button is solid lime in every look (was frosted, see-through lime) */
html.mod:not(.tbg-solid):not(#_m):not(#_n) :is(.btn.pri,.nu-next,.gs-chip.next){background:#a7d056!important;border:1px solid #a7d056!important;color:#13230a!important;box-shadow:0 1px 2px rgba(15,34,51,.12)!important}
html.mod:not(.tbg-solid):not(#_m):not(#_n) :is(.btn.pri,.nu-next,.gs-chip.next):hover{background:#9bc548!important;border-color:#9bc548!important}
html.mod.mdk:not(.tbg-solid):not(#_m):not(#_n) :is(.btn.pri,.nu-next,.gs-chip.next){background:#a7d056!important;border-color:#a7d056!important;color:#13230a!important;box-shadow:0 1px 2px rgba(0,0,0,.3)!important}
html.mod.mdk:not(.tbg-solid):not(#_m):not(#_n) :is(.btn.pri,.nu-next,.gs-chip.next):hover{background:#9bc548!important;border-color:#9bc548!important}
/* owner 2026-10-31: boxes in a tile are frosted too; with Nearly solid the same tokens make them solid */
html.mod:not(#_m) #app :is(.card,.st-mainw) :is(textarea,input:not([type=checkbox]):not([type=radio]):not([type=file])):not(table *):not(.pf-q *):not(.sh-q *),html.mod:not(#_m) #app .qf-tot{background-color:transparent!important;background-image:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important}
html.mod:not(#_m) #app .qf-tot{border-color:var(--mx-edge)!important}
@media (max-width:1100px){
  html.mod:not(#_m) .mny-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.mod:not(#_m) .mny-r2{grid-template-columns:minmax(0,1fr)}
  html.mod:not(#_m) .mny-pr{grid-template-columns:150px minmax(0,1fr) 84px}
}
/* Fix stays amber in the frosted look, like the original (owner 2026-10-31) */
html.mod:not(#_m):not(#_n):not(#_f) .btn.pri.nu-fix{background:#f2b632!important;border:1px solid #f2b632!important}
html.mod:not(#_m):not(#_n):not(#_f) .btn.pri.nu-fix:hover{background:#e3a81f!important;border-color:#e3a81f!important}
html.mod.tbg-solid:not(#_m):not(#_n):not(#_f) .btn.pri.nu-fix{background:#f2b632!important}
/* one pill outline across the app (owner 2026-10-31): filter drop-downs follow the other pills; status pills get an edge in their own colour, drawn inside so nothing moves. Form boxes keep their stronger edge */
html.mod:not(#_m):not(#_n):not(#_f) #app .rp-page select{border-color:var(--mx-edge)!important}
html.mod:not(#_m):not(#_n) .hd-ask{border-color:var(--mx-edge)!important}
html.mod:not(#_m):not(#_n) :is(.dk-tag,.pill){box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 32%,transparent)}
/* the claim summary follows the frosted tiles; its coloured words are readable in dark mode (owner 2026-10-31) */
html.mod:not(#_m):not(#_n):not(#_f) .nss-col{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important}
html.mod:not(#_m):not(#_n):not(#_f) .nss-t tr.cert td{background:rgba(47,85,184,.14)!important}
html.mod:not(#_m):not(#_n):not(#_f) .nss-t tr.from td{background:rgba(47,85,184,.08)!important}
html.mod:not(#_m):not(#_n):not(#_f) .nss-amt{background:rgba(167,208,86,.22)!important}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-t tr:is(.cert,.from) td{background:rgba(127,164,238,.16)!important;color:#b9d0fa!important}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-col.qs h3{color:#a9c4f7!important}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-col.ac h3,html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-col.ac tr.dtot td,html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-col.ac tr.ded td.n{color:#f0b35a!important}
/* Claim summary option E: frosted pills */
html.mod:not(#_m):not(#_n):not(#_f) .nss-fp:not(.qs):not(.pay){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border-color:var(--mx-edge)!important}
html.mod:not(#_m):not(#_n):not(#_f) .nss-col{border-color:var(--mx-edge)!important}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-fp.qs{background:rgba(127,164,238,.16)}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-fp.qs b{color:#b9d0fa}
html.mod.mdk:not(#_m):not(#_n):not(#_f) .nss-fp.pay b{color:#c2e47e}

/* New in claimdesk (owner 2026-11-02): the Updates tabs take the frosted tokens of the mock-up */
html.mod:not(#_m) .upd-page{--upd-p1:var(--mx-p1);--upd-p2:var(--mx-p2);--upd-edge:var(--mx-edge);--upd-sel:var(--mx-sel);--upd-seli:var(--mx-sel-ink);--upd-hov:var(--mx-hov)}
html.mod:not(#_m) #topbar .hdr-right .nt-bell.on{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important;border-color:var(--mx-sel)!important}
html.mod:not(#_m) .nt-upd{border-color:var(--mx-bg1)}
html.mod:not(#_m):not(#_n):not(#_u) .upd-page .btn:not(.pri):not(.on):not([aria-pressed=true]){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;color:var(--ink)!important}
html.mod:not(#_m) .upd-bar{background:var(--mx-pop);border-color:var(--mx-edge);backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur)}
/* desky settings window (owner 2026-11-02, option B): same sizes as the mock-up; layout is in styles.css */
html.mod:not(#_m) .modal.hd-set-modal .mbox{border-radius:22px!important}
html.mod:not(#_m) .hd-set{--hs-line:rgba(15,42,74,.1);--hs-bub:rgba(167,208,86,.3);--hs-track:rgba(15,42,74,.16)}
html.mod.mdk:not(#_m) .hd-set{--hs-line:rgba(255,255,255,.1);--hs-bub:rgba(167,208,86,.18);--hs-track:rgba(255,255,255,.2)}
html.mod:not(#_m) .hd-seg{background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2));border-color:var(--mx-edge)}
html.mod:not(#_m) .hd-seg button.on{background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m):not(#_n) .modal.hd-set-modal .btn.ico-only.m-x:not(.on):not([aria-pressed=true]){background:none!important;border-color:transparent!important;box-shadow:none!important}
/* Work Orders: pills and notes in the frosted tiles */
html.mod .wo-box{background:var(--mx-ps)}
html.mod .wo-vlist{background:var(--mx-opq);border-color:var(--mx-edge)}
html.mod .btn.wo-am{background:linear-gradient(140deg,rgba(242,182,50,.88),rgba(242,182,50,.68));border-color:rgba(242,182,50,.9);color:#2b1c00}
/* Budget items: frosted bands, the same tokens as the item tables */
html.mod:not(#_o):not(#_p):not(#_q):not(#_r) .bt th{background:color-mix(in srgb,var(--t3l,#a7d056) 30%,transparent)!important}
html.mod:not(#_o):not(#_p):not(#_q):not(#_r) .bt tr.cat td{background:color-mix(in srgb,var(--t3l,#a7d056) 15%,transparent)!important}
html.mod:not(#_o):not(#_p):not(#_q):not(#_r) .bt tr.tot td{background:color-mix(in srgb,var(--t3l,#a7d056) 30%,transparent)!important}
html.mod:not(#_o):not(#_p) .bt tr.nl td{background:color-mix(in srgb,var(--mute) 8%,transparent)}
html.mod .bc-fig,html.mod .bc-ways>div{border-color:var(--mx-edge);background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))}
html.mod .bi-btn{background:var(--mx-ps)}
html.mod .bi-pop{background:var(--mx-opq);border-color:var(--mx-edge);box-shadow:var(--mx-psh)}
html.mod .bi-opt.on{background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m):not(#_n):not(#_f) .btn.wo-am{background:linear-gradient(140deg,rgba(242,182,50,.88),rgba(242,182,50,.68))!important;border:1px solid rgba(242,182,50,.9)!important;color:#2b1c00!important}
html.mod.tbg-solid:not(#_m):not(#_n):not(#_f) .btn.wo-am{background:#f2b632!important}
/* bar words read darker on the frosted bars (owner 2026-11-03: "the letters all look pale"); dark mode turns them lighter the same way */
html.mod:not(#_m){--mx-bm:color-mix(in srgb,var(--mute) 45%,var(--ink))}
html.mod:not(#_m) :is(#topbar,#projbar,.ptool){--mute:var(--mx-bm)}
/* Roles table: the stuck column headings are solid so the rows never show through (owner 2026-11-03) */
html.mod:not(#_m):not(#_n):not(#_f) .rg-nu thead th{background:var(--mx-opq)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
/* One page-title size in the Modern look (owner 2026-11-03): Home greeting, Settings, Updates match the other pages, 32px */
html.mod:not(#_m):not(#_n):not(#_t) :is(.hd-hello,.st-ttl,.upd-page,.desk .dk-hello) h1{font-size:32px!important;font-weight:600!important;letter-spacing:-.025em;line-height:1.25}
@media (max-width:900px){html.mod:not(#_m):not(#_n):not(#_t) :is(.hd-hello,.st-ttl,.upd-page,.desk .dk-hello) h1,html.mod:not(#_m) :where(#app .wrap) h1{font-size:24px!important}}
/* the + beside a picker carries the same edge as the box beside it (owner 2026-11-03) */
html.mod:not(#_m):not(#_n):not(#_p) .btn.ct-plus{border:1px solid var(--fld-bd,var(--line))!important;background:var(--mx-p1,var(--card))!important;box-shadow:none!important}
/* Nearly solid, light: plain buttons keep a visible edge on the white bars and tiles (owner 2026-11-03: "button shape cant see") */
html.mod.tbg-solid:not([data-theme="dark"]):not(#_m):not(#_n) .btn:not(.pri):not(.danger):not(.on):not([aria-pressed=true]){border:1px solid rgba(15,34,51,.18)!important}
@media (prefers-color-scheme:dark){html.mod.tbg-solid:not([data-theme="light"]):not(#_m):not(#_n) .btn:not(.pri):not(.danger):not(.on):not([aria-pressed=true]){border-color:var(--mx-edge)!important}}
/* dark mode: menus and pop-ups stand off the page (owner 2026-11-03: "the pop up and background mix") */
html.mod[data-theme="dark"]:not(#_m):not(#_n) :is(.exp-menu,.um-menu,.td-panel,.nt-panel,.more-menu,.ct-pop,.qt-pop,.mny-menu,.fc-pop,.bq-dd>div,.u-dd>div,.rn-pop){border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 16px 40px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.35)!important}
@media (prefers-color-scheme:dark){html.mod:not([data-theme="light"]):not(#_m):not(#_n) :is(.exp-menu,.um-menu,.td-panel,.nt-panel,.more-menu,.ct-pop,.qt-pop,.mny-menu,.fc-pop,.bq-dd>div,.u-dd>div,.rn-pop){border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 16px 40px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.35)!important}}
/* Home figure pills keep a visible edge in light mode (owner 2026-11-03: "hard to see the pills") */
html.mod:not([data-theme="dark"]):not(#_m):not(#_n) .hd-kp{border-color:rgba(15,34,51,.14)!important}
@media (prefers-color-scheme:dark){html.mod:not([data-theme="light"]):not(#_m):not(#_n) .hd-kp{border-color:var(--mx-edge)!important}}
/* top menu: icon + word, like the Settings and Reports tabs (owner 2026-11-03: "some with icon, some not") */
@media (min-width:1500px){html.mod:not(#_m):not(#_n) #topbar nav.tabs button svg{display:inline-block!important;width:17px;height:17px;flex:none}
html.mod:not(#_m):not(#_n) #topbar nav.tabs button{display:inline-flex;align-items:center;gap:6px;padding-left:12px!important;padding-right:12px!important}}
/* item-table column headings and heading rows are always solid, also when the table scrolls inside its own box (owner 2026-11-03: rows showed through the headings) */
html.mod.t3on:not(#_m):not(#_n) table.t3 thead tr>.t3c,html.mod.t3on:not(#_m):not(#_n) table.t3 tr.sec>.t3c,html.mod.t3on:not(#_m):not(#_n) table.t3 tr.bf-sec>.t3c{--mx-band:var(--mx-opq)}
/* phones: Home figures as one tight 3-column grid, no gaps between the two groups (owner 2026-11-03: "wasting lot of space") */
@media (max-width:720px){html.mod:not(#_m):not(#_n) .hd-kps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html.mod:not(#_m):not(#_n) .hd-kg{display:contents!important}
html.mod:not(#_m):not(#_n) .hd-kp{height:auto;min-height:0;padding:7px 10px;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;border-radius:14px;min-width:0;font-size:11.5px;line-height:1.3}
html.mod:not(#_m):not(#_n) .hd-kp>*{white-space:normal;overflow:hidden;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html.mod:not(#_m):not(#_n) .hd-kps{grid-auto-rows:1fr}html.mod:not(#_m):not(#_n) .hd-kps .hd-kp{justify-content:flex-start!important;align-items:flex-start!important;align-self:stretch;height:100%!important}
html.mod:not(#_m):not(#_n) .hd-kp b,html.mod:not(#_m):not(#_n) .hd-kp strong{font-size:15px}}
/* Get claimdesk ready: Hide sits in the top-right corner, also when the card wraps (owner 2026-11-03) */
@media (max-width:1100px){html.mod:not(#_m):not(#_n) .gs.gs-one{position:relative}
html.mod:not(#_m):not(#_n) .gs-one .gs-x{position:absolute;top:12px;right:16px;margin:0;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .gs-one .gs-tt{padding-right:52px}}
/* screen checker round 1 (owner 2026-11-03): plain buttons and filter pills in a tile keep a visible edge in light mode, frosted or Nearly solid */
@media (prefers-color-scheme:light){html.mod:not([data-theme="dark"]):not(#_m):not(#_n):not(#_u):not(#_v) #app :is(.btn:not(.pri):not(.danger):not(.on):not([aria-pressed=true]):not(.nu-next):not(.nu-fix),details.nu-pill>summary){border:1px solid rgba(15,34,51,.2)!important}}
html.mod[data-theme="light"]:not(#_m):not(#_n):not(#_u):not(#_v) #app :is(.btn:not(.pri):not(.danger):not(.on):not([aria-pressed=true]):not(.nu-next):not(.nu-fix),details.nu-pill>summary){border:1px solid rgba(15,34,51,.2)!important}
html.mod:not(#_m):not(#_n) table.items:has(input[data-line])>tbody>tr[data-row]{height:44px}
html.mod:not(#_m):not(#_n) .pill:is(.ps-submitted,.ps-ready){background:color-mix(in srgb,var(--blue) 16%,var(--card))!important;color:var(--blue)!important}
html.mod:not(#_m):not(#_n):not(#_u) table.boq td.c-desc textarea{padding-top:4px!important;padding-bottom:4px!important}
html.mod:not(#_m):not(#_n) .set-ctl label.chk:has(input:checked){color:var(--accent-ink)}
html.mod:not(#_m):not(#_n) table.boq td.c-no{white-space:nowrap}html.mod:not(#_m):not(#_n) table.boq td.c-no>span{display:inline-block!important;vertical-align:middle}html.mod:not(#_m):not(#_n) table.boq td :is(textarea,input,select){vertical-align:middle}
/* To do, option C+ (owner 2026-11-03): the pop-up and its cards frosted like the other tiles */
html.mod:not(#_m) .tdc-t{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2))!important;border:1px solid var(--mx-edge)!important;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod:not(#_m) #tdPop .td-pop{border-radius:22px!important;border:1px solid var(--mx-edge)!important;background:var(--ph-bg)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur);box-shadow:var(--mx-hi),var(--mx-sh)!important}
html.mod:not(#_m):not(#_n) #tdPop .tdc-t{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html.mod:not(#_m):not(#_n) #tdPop .tdp-h{background:var(--ph-bg)}
html.mod:not(#_m) .tdp-x{background:var(--mx-p1);border-color:var(--mx-edge)}
/* phone app, option A (owner 2026-11-03): the phone keeps the native lists in the Modern look too; only the sizes the Modern look changes */
@media (max-width:720px){html.mod:not(#_m):not(#_n):not(#_p) .ph-nb h1,html.mod:not(#_m):not(#_n):not(#_p) body.ph-only .st-ttl h1,html.mod:not(#_m):not(#_n):not(#_p) body.ph-only .upd-page .upd-t{font-size:34px!important;font-weight:700!important;letter-spacing:-.02em!important;line-height:1.15!important}
html.mod:not(#_m):not(#_n):not(#_p) body.ph-only{background:var(--ph-bg)!important;background-image:none!important}
html.mod:not(#_m):not(#_n):not(#_p) .tdc-ph .tdc-t{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
/* Home projects list: the project photo fills the circle; no photo = the short name on its colour (owner 2026-11-03) */
html.mod:not(#_m):not(#_n) .hd-nm .hd-pt.has-img{overflow:hidden;padding:0;background:var(--field)}html.mod:not(#_m):not(#_n) .hd-nm .hd-pt.has-img>img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
/* project page groups keep their tile corners when folded (owner 2026-11-03) */
html.mod:not(#_m):not(#_n) .ph-grp,html.mod:not(#_m):not(#_n) .ph-grp.ph-fold{border-radius:24px!important}html.mod:not(#_m):not(#_n):not(#_u):not(#_v):not(#_w) .ph-grp>.ph-gh{padding-left:18px!important}
/* project page groups in the Modern look = the original design (owner 2026-11-03: "refer to 2nd image"): a tinted band on top (lime for
   main contracts, blue for sub-contracts) over the frosted body; folded = the band and the "Show n contracts" strip */
html.mod:not(#_m):not(#_n):not(#_u):not(#_v) .ph-grp{overflow:hidden}
html.mod:not(#_m):not(#_n):not(#_u):not(#_v) .ph-grp.ph-in>.ph-gh{background:color-mix(in srgb,var(--hc-in) 26%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--hc-in) 45%,transparent)!important}
html.mod:not(#_m):not(#_n):not(#_u):not(#_v) .ph-grp.ph-out>.ph-gh{background:color-mix(in srgb,var(--hc-out) 18%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--hc-out) 35%,transparent)!important}
html.mod:not(#_m):not(#_n):not(#_u):not(#_v) .ph-grp>.ph-body{background:color-mix(in srgb,var(--card) 55%,transparent)}
/* To do tile = the bell's Updates panel colour in the Modern look (owner 2026-11-05) */
html.mod:not(#_m):not(#_n) #tdPop{--ph-bg:var(--mx-pop)}
html.mod.tbg-solid:not(#_m):not(#_n) #tdPop{--ph-bg:var(--mx-pops)}
/* table row height (owner 2026-11-05: "always in grey even on"): it is a setting, never off, so it always has its colour, and its
   three lines sit as far apart as the rows: Big 5px, Medium 3px, Compact 1px */
html.mod:not(#_m):not(#_n) .um-ic.um-rh.on{color:#224295}
html.mod.mdk:not(#_m):not(#_n) .um-ic.um-rh.on{color:#9cc0f0}
html.mod:not(#_m):not(#_n) .um-rh.um-rh-b{gap:5px}html.mod:not(#_m):not(#_n) .um-rh.um-rh-m{gap:3px}html.mod:not(#_m):not(#_n) .um-rh.um-rh-c{gap:1px}
/* Date picker D: the calendar is a solid menu like the other pop-ups (owner 2026-11-06) */
html.mod .dp-pop{background:var(--mx-pop,var(--card));border-color:var(--mx-edge,var(--line));backdrop-filter:blur(22px) saturate(1.4)}
html.mod .dp-trig{border-color:var(--fld-bd,var(--line))}

/* desky tile W1 (owner 2026-11-07, _shots/desky-tile-h2.html): desky 140px peeking over the top right, a band in desky's colours (pink, cream, lime) that fades away,
   settings beside the name, chat like WhatsApp with his face and the time, the briefing holds today's top jobs, icon chips. No blue. */
html.mod:not(#_m):not(#_n) .hd-dk.hd-w1{--dk:clamp(108px,38cqw,140px)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-dkc{inset:calc(var(--dk)*.44) 0 0 0;padding:0 0 16px;gap:8px;overflow:hidden}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-fig{left:auto;right:18px;transform:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-spark{left:calc(100% - 88px);top:70px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-pop{left:calc(100% - 46px);top:6px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-band{flex:none;padding:16px calc(var(--dk) + 22px) 38px 18px;margin-bottom:-30px;background:linear-gradient(120deg,#fbe3e8 0%,#fbf0dc 45%,#e6f2cf 100%);-webkit-mask:linear-gradient(#000 55%,transparent);mask:linear-gradient(#000 55%,transparent)}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-band{background:linear-gradient(120deg,#3a2530 0%,#3a3020 45%,#26381c 100%)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-nrow{justify-content:flex-start;gap:12px;position:relative;z-index:1}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-name{color:#4c7a12;line-height:1}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-name{color:#c2e47e}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-nm2{display:flex;flex-direction:column;gap:3px;min-width:0}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-on{font-size:var(--fs-sm);color:var(--mute);display:flex;align-items:center;gap:6px;white-space:nowrap}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-on i{width:8px;height:8px;border-radius:50%;background:#43a047;box-shadow:0 0 0 3px rgba(67,160,71,.18)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-vset{background:rgba(255,255,255,.75);border:1px solid rgba(15,42,74,.1)}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-vset{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-th{padding:0 16px;gap:4px;position:relative}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-th.hd-scr{-webkit-mask:linear-gradient(transparent 0,transparent 18px,#000 46px);mask:linear-gradient(transparent 0,transparent 18px,#000 46px)}
html.mod:not(#_m):not(#_n) .hd-w1 :is(.hd-sg,.hd-ask){margin:0 16px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ln{display:flex;align-items:flex-end;gap:6px;flex:none;max-width:100%}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ln.me{flex-direction:column;align-items:flex-end;align-self:flex-end}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-bw{display:flex;flex-direction:column;min-width:0;max-width:calc(100% - 32px)}
/* owner 2026-11-07: the same desky face as the search bar (.asst-dk): the whole bunny in a soft lime circle */
html.mod:not(#_m):not(#_n) .hd-w1 .hd-mf{width:26px;height:26px;border-radius:50%;flex:none;margin-bottom:0;background:rgba(167,208,86,.2) url(desky.webp) 50% 2px/26px auto no-repeat;box-shadow:0 1px 3px rgba(15,42,74,.2)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-bb{background:#e3efd2;color:var(--ink);max-width:100%;align-self:flex-start}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-bb{background:#24391b}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-bb.me{background:#3e6410;color:#fff;align-self:flex-end}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-tm{text-align:left;margin:3px 2px 4px;color:var(--mute);opacity:1}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ln.me .hd-tm{text-align:right}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jl2{margin-top:8px;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.92);border:1px solid rgba(15,42,74,.08)}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-jl2{background:rgba(0,0,0,.18);border-color:rgba(255,255,255,.1)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr{display:flex;align-items:center;gap:9px;width:100%;padding:7px 10px;border:0;border-top:1px solid rgba(15,42,74,.07);background:none;text-align:left;cursor:pointer;color:var(--ink);font:inherit;min-height:0;height:auto;border-radius:0}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-jr{border-top-color:rgba(255,255,255,.08)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr:first-child{border-top:0}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr:hover{background:rgba(15,42,74,.04)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr>span{flex:1;min-width:0;line-height:1.3}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr b{display:block;font-weight:500;font-size:var(--fs-sm);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ln:has(>.hd-bw>.hd-tm) .hd-mf{margin-bottom:21px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr small{font-weight:400;display:block;color:var(--mute);font-size:var(--fs-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr em{color:var(--mute);display:grid}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr em svg{width:14px;height:14px;transform:rotate(-90deg)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jm{display:block;margin-top:6px;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;flex:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci svg{width:13px;height:13px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci.a{background:#fdf0d5;color:#b7791f}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci.r{background:#fde3e1;color:#c62828}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci.g{background:#e3efd2;color:#4c7a12}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ci.n{background:#eceff2;color:#4f5d6e}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ci{background:rgba(255,255,255,.08)}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ci.a{color:#f3c46a}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ci.r{color:#ff8a80}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ci.g{color:#c2e47e}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ci.n{color:#c9d2dc}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg{flex-wrap:nowrap;gap:5px;min-width:0}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg button:not(.hd-sgg){min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg button{display:inline-flex;align-items:center;gap:5px;padding:0 9px 0 4px;white-space:nowrap;height:28px;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg .hd-ci{width:22px;height:22px;border-radius:50%}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg .hd-ci svg{width:12px;height:12px}
/* owner 2026-11-07 (option b, _shots/desky-gear-options.html): the settings gear at the right end of the quick buttons */
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg .hd-sgg{margin-left:auto;width:28px;height:28px;padding:0;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--mute)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg .hd-sgg svg{width:15px;height:15px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg .hd-sgg:hover{color:var(--ink)}
/* every desky list answer is the greeting's card (owner 2026-11-07); a row with nothing to open has no hover */
html.mod:not(#_m):not(#_n) .hd-w1 .hd-lh+.hd-ls2{margin-top:6px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ls2 .hd-jr :is(b,small){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr0{cursor:default}
/* owner 2026-11-07: rows past the first three wait for "Show n more", which opens them in the same card */
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jl2 .hd-jr.hd-x{display:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-mo{display:block;margin-top:6px;font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-jr0:hover{background:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ls2+.hd-lm{margin-top:6px;font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask:focus-within{border-color:#a7d056!important}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button{background:#3e6410;color:#fff}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-ask button{background:#a7d056;color:#13230a}
/* Claim summary option H tiles (owner 2026-11-04, on main 2026-11-07) */
html.mod:not(#_m):not(#_n) .nu-sump:has(.hs3){background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important}
html.mod:not(#_m):not(#_n) .hs3 .hs-t{background:linear-gradient(140deg,var(--mx-t1),var(--mx-t2));border:1px solid var(--mx-edge);border-radius:24px;backdrop-filter:var(--mx-blur);-webkit-backdrop-filter:var(--mx-blur);box-shadow:var(--mx-hi),var(--mx-sh)}
html.mod:not(#_m):not(#_n) .hs3 .hs-t.hs-ans{background:linear-gradient(140deg,color-mix(in srgb,#a7d056 22%,var(--mx-t1)),color-mix(in srgb,#a7d056 14%,var(--mx-t2)))}

/* Projects card option A (owner 2026-11-10, _shots/pfcard-claimed.html): Contract · Claimed · Certified and a three-colour ring:
   certified lime (the bar code --bc-in, as the list view's bar, owner 2026-11-10), claimed and with the client the project page's dashed pale lime (With the client), still to claim grey;
   the centre is the claimed % */
html.mod:not(#_m):not(#_n) .pfm-rg.pfm-rg3{width:56px;height:56px;position:relative;background:conic-gradient(var(--bc-in,#a7d056) 0 var(--c),var(--hd-track,rgba(15,42,74,.1)) var(--c))}
html.mod.mdk:not(#_m):not(#_n) .pfm-rg.pfm-rg3{background:conic-gradient(var(--bc-in,#a7d056) 0 var(--c),rgba(255,255,255,.12) var(--c))}
/* the claimed part = the fill of the project page's "With the client": plain pale lime on the ring (owner 2026-11-10: no stripes or dashes on the ring) */
html.mod:not(#_m):not(#_n) .pfm-rg3::before{content:"";position:absolute;inset:0;border-radius:50%}
html.mod:not(#_m):not(#_n) .pfm-rg3::before{background:var(--wcl-f,#d4e8ab);-webkit-mask:conic-gradient(transparent 0 var(--c),#000 var(--c) var(--k),transparent var(--k));mask:conic-gradient(transparent 0 var(--c),#000 var(--c) var(--k),transparent var(--k))}
html.mod:not(#_m):not(#_n) .pfm-rg3>span{position:relative;z-index:1}
html.mod:not(#_m):not(#_n) .pfm-rg3>span{width:44px;height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
html.mod:not(#_m):not(#_n) .pfm-rg3 b{font-size:var(--fs-sm);font-weight:700}
html.mod:not(#_m):not(#_n) .pfm-rg3 small{font-size:var(--fs-xs);letter-spacing:-.02em;font-weight:500;color:var(--mute);margin-top:2px}
html.mod:not(#_m):not(#_n) .pfm-nums.pfm-n3{grid-template-columns:repeat(3,minmax(0,1fr))}
html.mod:not(#_m):not(#_n) .pfm-nums.pfm-n3{gap:6px}
html.mod:not(#_m):not(#_n) .pfm-n3 .pf-n{min-width:0}
html.mod:not(#_m):not(#_n) .pfm-n3 .pf-n small,html.mod:not(#_m):not(#_n) .pfm-n3 .pf-n b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n) .pfm-n3 .pf-n b{font-size:var(--fs-md);letter-spacing:-.01em}
/* $10 million and above (owner 2026-11-10): one size smaller so three figures up to $999,999,999 fit the tile */
html.mod:not(#_m):not(#_n) .pfm-n3.pfm-big .pf-n b{font-size:var(--fs-sm);letter-spacing:-.02em}
html.mod:not(#_m):not(#_n) .pfm-n3 i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px}
html.mod:not(#_m):not(#_n) .pfm-n3 i.pk-k{background:var(--wcl-f,#d4e8ab);outline:1.5px dashed var(--ph-in1,#a7d056);outline-offset:-1.5px}html.mod:not(#_m):not(#_n) .pfm-n3 i.pk-c{background:var(--bc-in,#a7d056)}
/* one search pill everywhere (owner 2026-11-12): the frosted look of the Projects search on every search box */
html.mod:not(#_m) :is(label.pf-q,label.sh-q,label.st-q,label.cst-q){background:linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;border:1px solid var(--mx-edge)!important;backdrop-filter:var(--mx-pblur);-webkit-backdrop-filter:var(--mx-pblur)}
html.mod:not(#_m):not(#_n) #app input[placeholder^="Search"]:not(:is(.pf-q,.sh-q,.st-q,.cst-q) input):not(#asstQ){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7c8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"),linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important;background-repeat:no-repeat!important;background-position:14px 50%,0 0!important;background-size:16px 16px,100% 100%!important;border:1px solid var(--mx-edge)!important}
html.mod[data-theme="dark"]:not(#_m):not(#_n) #app input[placeholder^="Search"]:not(:is(.pf-q,.sh-q,.st-q,.cst-q) input):not(#asstQ){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db0c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"),linear-gradient(140deg,var(--mx-p1),var(--mx-p2))!important}
@media (prefers-color-scheme:dark){html.mod:not([data-theme="light"]):not(#_m) #topbar .brand .cdx-d{color:#a7d056!important}}
/* Roles table heading row: the tile colour, not a navy band (owner 2026-11-12) */
html.mod:not(#_m):not(#_n):not(#_f):not(#_g) .rg-nu thead th{background:color-mix(in srgb,var(--mx-opq) 100%,transparent)!important;color:var(--mute)!important}
html.mod:not(#_m):not(#_n):not(#_f):not(#_g) .rg-nu tr.rg-sec td{background:transparent!important}
html.mod:not(#_m):not(#_n):not(#_f):not(#_g) :is(.rg-card,.rg-card .tw,table.rg-nu,table.rg-nu tbody){background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border-color:transparent!important}

/* desky AI in the chat (owner 2026-11-12, mock-up _shots/desky-ai-mockup.html sections 1, 3 and 5): the AI switch in the ask bar,
   the suggestion with the amber allowance note, the "AI · n of 300" tag, From claimdesk links, the email draft, the typing dots */
html.mod:not(#_m):not(#_n){--dk-ait:#5537c2;--dk-ai:#6b4fd8;--dk-aibg:#efebff;--dk-amb:#fff6e5;--dk-aiink:#fff;--dk-link:#224295;--dk-swt:#c3ccd5;--dk-knob:#fff}
html.mod.mdk:not(#_m):not(#_n){--dk-ait:#cdc2ff;--dk-ai:#b5a4ff;--dk-aibg:#2a2450;--dk-amb:#3a2e14;--dk-aiink:#1a1240;--dk-link:#9cc0f0;--dk-swt:#3b4c63;--dk-knob:#e8eef5}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg{width:auto;height:20px;border-radius:0;background:none;color:var(--dk-ai);display:inline-flex;align-items:center;gap:6px;padding:0 10px 0 0;margin-right:10px;border:0;border-right:1px solid var(--line);font:600 var(--fs-sm) Inter,sans-serif;white-space:nowrap;cursor:pointer;flex:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg:not(.on){color:var(--mx-bm)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask input{height:32px!important;line-height:32px;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button[data-act=hdSend]{margin-left:6px;font-weight:600}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:4px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src .hd-ref{text-align:left}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src .hd-ref+.hd-ref::before{content:'·';margin-right:6px;color:var(--mute)}
@container (max-width:380px){html.mod:not(#_m):not(#_n) .hd-w1 .hd-src{flex-direction:column;align-items:flex-start}html.mod:not(#_m):not(#_n) .hd-w1 .hd-src .hd-ref+.hd-ref::before{content:none}}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg{height:32px;border-right:0;position:relative}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg::after{content:'';position:absolute;right:0;top:6px;bottom:6px;border-right:1px solid var(--line)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg.on{color:var(--dk-ait)}
@container (max-width:340px){html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg button:not(.hd-sgg) .hd-cl{display:none}html.mod:not(#_m):not(#_n) .hd-w1 .hd-sg button:not(.hd-sgg){padding:0 3px;flex:none}html.mod:not(#_m):not(#_n) .hd-w1 .hd-ask button.hd-aitg{padding-right:8px;margin-right:8px}}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aisw{width:30px;height:17px;border-radius:999px;background:var(--dk-swt);position:relative;display:inline-block;flex:none;vertical-align:middle}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aisw i{position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:var(--dk-knob)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aisw.on{background:var(--dk-ai)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aisw.on i{left:auto;right:2px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ait{display:inline-flex;align-items:center;gap:4px;margin-left:6px;font-size:var(--fs-xs);font-weight:600;line-height:1.5;color:var(--dk-ai);background:var(--dk-aibg);border-radius:999px;padding:1px 7px;vertical-align:1px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ait svg{width:10px;height:10px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aicost{background:var(--dk-amb);border-left:3px solid #e0a72e;border-radius:10px;padding:8px 10px;margin-top:8px;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aiwarn{background:var(--dk-amb);border-radius:12px;padding:8px 10px;margin-top:7px;font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-stk{display:flex;align-items:center;gap:10px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-stki{width:44px;height:58px;object-fit:contain;flex:none;transform:rotate(-6deg);filter:drop-shadow(0 2px 3px rgba(15,42,74,.18))}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aiacts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aib{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:999px;padding:5px 12px;font:500 var(--fs-sm) Inter,sans-serif;line-height:1.3;cursor:pointer;height:auto;min-height:0}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aib.pri{background:#a7d056;border-color:#a7d056;color:#13230a}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aib.hd-aigo{background:var(--dk-ai);border-color:var(--dk-ai);color:var(--dk-aiink);display:inline-flex;align-items:center;gap:5px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-aib.hd-aigo svg{width:11px;height:11px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src{margin-top:8px;border-top:1px dashed var(--line);padding-top:7px;font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src .hd-ref{color:var(--dk-link);font-weight:500;text-decoration:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-src .hd-ref:hover{text-decoration:underline}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-dft{background:rgba(255,255,255,.92);border:1px solid rgba(15,42,74,.08);border-radius:12px;padding:10px 12px;margin-top:7px;white-space:pre-line;font-size:var(--fs-sm);overflow-wrap:anywhere}
html.mod.mdk:not(#_m):not(#_n) .hd-w1 .hd-dft{background:rgba(0,0,0,.18);border-color:rgba(255,255,255,.1)}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-dfs{display:block;margin-bottom:4px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ul{margin:6px 0 0;padding-left:18px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-sys{align-self:center;display:flex;align-items:center;gap:7px;font-size:var(--fs-sm);color:var(--mute);background:var(--dk-aibg);border-radius:999px;padding:4px 12px;margin:4px 0;flex:none}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-typ{display:flex;gap:4px;padding:4px 2px}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-typ i{width:6px;height:6px;border-radius:50%;background:var(--mute);opacity:.5;animation:hdAiBl 1.2s infinite}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-typ i:nth-child(2){animation-delay:.2s}
html.mod:not(#_m):not(#_n) .hd-w1 .hd-typ i:nth-child(3){animation-delay:.4s}
@keyframes hdAiBl{50%{opacity:1}}
/* desky's ask box search list and the marked search row (owner 2026-11-12) */
html.mod:not(#_m):not(#_n) .hd-w1 .hd-ql{left:16px;right:16px;background:var(--mx-pops,var(--mx-pop));border-color:var(--mx-edge);box-shadow:var(--mx-sh)}
html.mod:not(#_m):not(#_n) .hd-ql .asst-r:not(.on){background:transparent}
/* the marked search row keeps readable words in dark mode (lime with dark text), top search and desky alike */
html.mod:not(#_m):not(#_n) .asst-r.on{background:var(--mx-sel);color:var(--mx-sel-ink);border-color:var(--mx-sel)}
html.mod:not(#_m):not(#_n) :is(.asst-r.on small,.asst-r.on .asst-amt){color:var(--mx-sel-ink);opacity:.85}
/* Document reader, stage 1 (owner 2026-11-11): the drop box and the checks box frosted like the other form boxes */
html.mod:not(#_m) .rd-box{background:var(--mx-t2,var(--field));border-color:var(--fld-bd,#7a8a9b)}
html.mod:not(#_m) .rd-box.rd-rdg{border-color:var(--sel)}
html.mod:not(#_m) .rd-box.rd-ok{border-color:color-mix(in srgb,#a7d056 70%,var(--line))}
html.mod:not(#_m) .rd-box.rd-bad,html.mod:not(#_m) .rd-chk{background:var(--rd-amb);border-color:var(--rd-amb-bd)}
html.mod:not(#_m) .rd-box:hover,html.mod:not(#_m) .rd-box.drop-file{border-color:var(--green,#4c7a12)}
html.mod:not(#_m) .rd-side .fac-pvw{background:transparent}
html.mod:not(#_m):not(#_n):not(#_o) .qf-items tr[data-rdw]>td,html.mod:not(#_m):not(#_n):not(#_o) .wo-items tr[data-rdw]>td{background:var(--rd-amb)!important}
/* the standard, first full check (owner 2026-11-12): text readable (4.5:1) on the tinted bands, light and dark */
html.mod:not(#_m):not(#_n) .ph-grp .ph-gh :is(small,.msg,.ph-n,.ph-who),html.mod:not(#_m):not(#_n) .ph-grp .ph-lg span{color:#3a4a5b}
html.mod:not(#_m):not(#_n) #rpTable tr.tot td .cy{color:#3a4a5b}
html.mod.mdk:not(#_m):not(#_n) .ph-grp .ph-gh :is(small,.msg,.ph-n,.ph-who),html.mod.mdk:not(#_m):not(#_n) .ph-grp .ph-lg span{color:#c3d0dd}
html.mod.mdk:not(#_m):not(#_n) .ph-grp.ph-in .ph-gh h2{color:#c9e98f}
html.mod.mdk:not(#_m):not(#_n) .ph-grp.ph-out .ph-gh h2{color:#c2d3fa}
html.mod.mdk:not(#_m):not(#_n) table:is(.bg-tbl,.bt) thead th{color:#eef3f8}
html.mod.mdk:not(#_m):not(#_n) .pf-row .pcode,html.mod.mdk:not(#_m):not(#_n) .pf-nm i.pcode{color:#b4caf9}
/* first full check, round 2 (owner 2026-11-12) */
html.mod.mdk:not(#_m):not(#_n):not(#_o) #rpTable tr.tot td .cy{color:#c3d0dd}
html.mod.mdk:not(#_m):not(#_n):not(#_o) .ph-grp .ph-gh :is(small,.msg,.ph-n,.ph-who),html.mod.mdk:not(#_m):not(#_n):not(#_o) .ph-grp .ph-lg span{color:#dce5ee}
html.mod.mdk:not(#_m):not(#_n):not(#_o) table:is(.bg-tbl,.bt) thead th{color:#f2f6fa!important}
html.mod.mdk:not(#_m):not(#_n):not(#_o) .pa-i.on .pa-n{background:var(--sel);color:#0b1b33}
html.mod:not(#_m):not(#_n):not(#_o) #paList{display:flex;flex-direction:column;gap:4px}
html.mod:not(#_m):not(#_n):not(#_o) table.boq td .rt-box{box-sizing:border-box;padding-top:4px;padding-bottom:4px;line-height:20px}
/* the top menu as icons when its words do not fit (owner 2026-11-13, navFit): the icons show */
html.mod:not(#_m):not(#_n) #topbar.nv-ic nav.tabs button svg{display:block!important;width:17px;height:17px;flex:none}
/* Reports (owner 2026-11-13: "when scroll the name disappeared"): the title row stays pinned with the group tabs beside it */
html.mod:not(#_m):not(#_rq) .rp-mhead{position:sticky;top:var(--tbh,0px);z-index:19}
html.mod:not(#_m):not(#_rq):not(#_rr):not(#_rs):not(#_rt):not(#_ru) .card.cut #rpTable .tw.mod-st>table thead th{background:var(--mx-opq)!important} /* solid while pinned: rows never show through the headings */
/* Money 2026-11-14: the two figure tiles and Who owes us in the tile look; the chart row 3 : 2 (one column below 1100px) */
html.mod:not(#_m) .mny-gt,html.mod:not(#_m) .mny-owe{border-radius:20px!important}
html.mod:not(#_m) .mny-r3{grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important}
@media (max-width:1100px){html.mod:not(#_m) .mny-r3{grid-template-columns:minmax(0,1fr)!important}}
html.mod:not(#_m) .mny-warn{border-radius:16px}
html.mod:not(#_m) .mny-leg2 i.ki{background:var(--mny-bi)!important}html.mod:not(#_m) .mny-leg2 i.ko{background:var(--mny-bo)!important}
html.mod:not(#_m) .mny-leg2 i.ki.sti{background:repeating-linear-gradient(45deg,var(--mny-bi) 0 3px,transparent 3px 6px)!important}
html.mod:not(#_m) .mny-leg2 i.ko.sto{background:repeating-linear-gradient(45deg,var(--mny-bo) 0 3px,transparent 3px 6px)!important}
/* Money top row and the table tile 2026-11-14: pinned headings and total solid in the tile look */
html.mod:not(#_m) .mny-page>.mny-tc>.tw thead tr{background:var(--mx-opq)!important}
html.mod:not(#_m) .mny-stack>.card{border-radius:20px!important}
/* Action bar tabs the same weight as the top bar (owner 2026-11-16 "2nd row looks thick"): 500, the open tab 600 */
html.mod:not(#_m):not(#_tw) #projbar .ptabs button{font-weight:500!important}
html.mod:not(#_m):not(#_tw) #projbar .ptabs button[aria-selected=true]{font-weight:600!important}
/* Settings text sizes (owner 2026-11-17: "font size too many"): every tile title one size (the forms and Cost codes pages had 16 / 20px),
 figures in a Settings tile 20px (not the 28px page-title size), the person line on Project access 12px */
html.mod:not(#_m):not(#_st) .set-nu .set-main h2{font-size:var(--fs-md)!important}
html.mod:not(#_m):not(#_st) .set-nu .set-main .dk-cell b{font-size:var(--fs-xl)!important}
html.mod:not(#_m):not(#_st) .set-nu .pa-h small{font-size:var(--fs-sm)}
html.mod:not(#_m):not(#_n) .hj-r.hj-go:hover{background:rgba(34,66,149,.1)}
html.mod.mdk:not(#_m):not(#_n) .hj-r.hj-go:hover{background:rgba(156,192,240,.16)}
html.mod:not(#_m):not(#_n) .hj-r.e-none:before{display:none}
html.mod:not(#_m):not(#_n) .hj-r.hj-jb{padding-top:8px;padding-bottom:8px}
/* Home: one row standard for every tile (owner 2026-11-18): rows sit on the tile as soft blocks with a small gap (no divider lines, no
   tinted cards), 2 lines = title 14px semi-bold + details 12px grey, amounts 14px semi-bold in whole dollars, the left edge only for
   late (red) / needs fixing (amber), clickable rows get the soft navy hover, status words in colour instead of pills */
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.hj-l,.ht-ul,.ht-cev,.ht-ph){display:flex;flex-direction:column;gap:6px}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.hj-r,.ht-li,.apx-ln,.ht-ce,.ht-phr){position:relative;box-sizing:border-box;min-height:52px;margin:0;border:0;border-radius:14px;background:rgba(255,255,255,.5);padding:8px 12px 8px 16px;box-shadow:none}
html.mod.mdk:not(#_m):not(#_n):not(#_hr) .ht-board :is(.hj-r,.ht-li,.apx-ln,.ht-ce,.ht-phr){background:rgba(255,255,255,.05)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board .apx-ln+.apx-ln{margin-top:6px}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board .apx-ln{display:flex;flex-direction:column;justify-content:center;gap:2px}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.hj-t b,.ht-lt b,.ht-ct b,.apx-ln>div>span,.ht-pn){font-size:var(--fs-md);font-weight:600;color:var(--ink)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.hj-t small,.ht-lt small,.ht-ct small,.apx-ln small){font-size:var(--fs-sm);color:var(--mute)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-lr,.ht-ca,.apx-ln>div>b,.ht-po,.hs-l .a){font-size:var(--fs-md);font-weight:600;color:var(--ink)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board .hs-l li{font-size:var(--fs-md)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li:not([tabindex="-1"]),.ht-ce:not([tabindex="-1"]),.ht-phr,.hj-go){cursor:pointer}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li:not([tabindex="-1"]),.ht-ce:not([tabindex="-1"]),.ht-phr,.hj-go):hover{background:rgba(34,66,149,.1);border-radius:14px}
html.mod.mdk:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li:not([tabindex="-1"]),.ht-ce:not([tabindex="-1"]),.ht-phr,.hj-go):hover{background:rgba(156,192,240,.16)}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board .hj-r:not(.e-red):not(.e-amb):before{display:none}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li,.apx-ln,.ht-ce).e-red:before,html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li,.ht-ce).e-amb:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#c62828}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board :is(.ht-li,.ht-ce).e-amb:before{background:#f2b632}
html.mod:not(#_m):not(#_n):not(#_hr) .ht-board .ht-pl{background:none!important;padding:0;border:0;font-size:var(--fs-sm);font-weight:600}
/* BCA track record (owner 2026-11-18): the look of the Reports page and Settings > BCA forms */
html.mod:not(#_m):not(#_n) .bca-pj:hover{background:var(--mx-hov)}
html.mod:not(#_m):not(#_n) .bca-pj.on{background:color-mix(in srgb,var(--accent) 18%,transparent);border-top-color:transparent}
html.mod:not(#_m):not(#_n) .bca-pj.on+.bca-pj{border-top-color:transparent}
html.mod:not(#_m):not(#_n) .bca-pj.on .bca-rd{box-shadow:inset 0 0 0 5px var(--mx-sel)}
html.mod:not(#_m):not(#_n) .bca-pj.old{opacity:.65}
html.mod:not(#_m):not(#_n) .bca-pl.ok{background:color-mix(in srgb,var(--accent) 22%,var(--card));color:var(--green)}
html.mod:not(#_m):not(#_n) .bca-pl.am{background:color-mix(in srgb,var(--amber) 16%,var(--card));color:var(--amber)}
html.mod:not(#_m):not(#_n) .bca-pl.off{background:var(--field);color:var(--mute)}
html.mod:not(#_m):not(#_n) .bca-miss{color:var(--amber)}
html.mod:not(#_m):not(#_n) .bca-ask{border:1px solid var(--line)}
html.mod:not(#_m):not(#_n) .bca-rem{background:color-mix(in srgb,var(--amber) 12%,var(--card))}
html.mod:not(#_m):not(#_n) :is(.bca-rem h3,.bca-codes summary){color:var(--amber)}
html.mod:not(#_m):not(#_n) .bca-yl{background:var(--warn)}
html.mod:not(#_m):not(#_n) .bca-wseg{background:var(--field)}
html.mod:not(#_m):not(#_n) .bca-wseg button[aria-pressed="true"]{background:var(--mx-sel);color:var(--mx-sel-ink)}
html.mod:not(#_m):not(#_n) .bca-ed{color:var(--mute)}
html.mod:not(#_m):not(#_n) .bca-warn{color:var(--amber)}
/* Click to edit (owner 2026-11-25, _shots/clean-items-mockup.html): in Amend contract / Amend VOs the Ref, Description, Unit,
   Qty, Rate and heading boxes read as plain text; on the row you point at every box shows the same field edge (owner: "some has
   outline some dont"), and the normal typing look when you click in. Mouse screens only: touch screens keep every box. The note box
   under an item always shows (owner: "the note pill ... look clean"), and so do the claim % boxes. */
@media (hover:hover) and (pointer:fine){
html.mod:not(#_m):not(#_n):not(#_o):not(#_p):not(#_q) :is(table.boq,table.items):not(.sheetwrap *) tr:not(:hover):not(:focus-within) td :is(input:is([data-f=ref],[data-f=unit],[data-f=qty]),.rt-box[data-f=desc],.sec-name),
html.mod:not(#_m):not(#_n):not(#_o):not(#_p):not(#_q) :is(table.boq,table.items):not(.sheetwrap *) tr:not(:hover):not(:focus-within) td.c-r :is(.mbx,.mbx input){border-color:transparent!important;background:transparent!important;box-shadow:none!important}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p):not(#_q) :is(table.boq,table.items):not(.sheetwrap *) tr:is(:hover,:focus-within) td :is(input:is([data-f=ref],[data-f=unit],[data-f=qty]),.rt-box[data-f=desc],.sec-name):not(:focus),
html.mod:not(#_m):not(#_n):not(#_o):not(#_p):not(#_q) :is(table.boq,table.items):not(.sheetwrap *) tr:is(:hover,:focus-within) td.c-r .mbx:not(:focus-within){border-color:var(--fld-bd)!important;}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p):not(#_q) :is(table.boq,table.items) tr.sec .sec-name{font-weight:600;field-sizing:content;min-width:60px}
html.mod :is(table.boq,table.items) tr.sec:not(:hover):not(:focus-within) .hd-sw{visibility:hidden}
}
/* Row ⋯ only on the row you point at (owner 2026-11-26, _shots/row-dots-mockup.html): on mouse screens the ⋯ of an item row,
   a heading, a contact, a user or a payment is hidden until the row is pointed at, keeps showing while its menu is open and on
   keyboard focus. Touch screens always show it, as plain grey dots without the circle. Same menus, same places (the cell keeps
   its width: opacity, not display). */
@media (hover:hover) and (pointer:fine){
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table tr:not(:hover):not(:focus-within) :is(details.bq-dd:not([open])>summary.bq-dots,details.u-dd:not([open])>summary.u-more,details.pay-more:not([open])>summary.ico-sum){opacity:0!important}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table tr:is(:hover,:focus-within) :is(details.bq-dd>summary.bq-dots,details.u-dd>summary.u-more,details.pay-more>summary.ico-sum),
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table :is(details.bq-dd[open]>summary.bq-dots,details.u-dd[open]>summary.u-more,details.pay-more[open]>summary.ico-sum){opacity:1!important;transition:opacity .12s}
}
@media (hover:none){
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) table :is(details.bq-dd>summary.bq-dots,details.u-dd>summary.u-more,details.pay-more>summary.ico-sum){opacity:1!important;background:none!important;border-color:transparent!important;box-shadow:none!important;color:var(--mute)!important}
}
/* Table ideas A, C, D (owner 2026-11-25, _shots/table-ideas-mockup.html "do all a c d").
   A: "Amending the contract" is a small tag beside the table title (app.js table()), and the Items / Contract sum / Difference /
   Variations figures are compact enough to stay on the toolbar line, so the first item row sits higher.
   C: on Reports the Project column is at least 240px wide, so most names fit on one line (very long real names still wrap
      to two; owner 2026-11-25: one-line-only made the table too wide).
   D: report figure cards have one line each (app.js rpFigsHTML); the Rows card is gone, the count is under the table. */
html.mod:not(#_m):not(#_n):not(#_o) .boq-h .amend-line{display:inline-flex;align-items:center;height:24px;margin:0 0 0 10px;padding:0 10px;border-radius:12px;font-family:Inter,system-ui,sans-serif;font-size:var(--fs-xs);font-weight:500;line-height:1;white-space:nowrap;vertical-align:middle}
html.mod:not(#_m):not(#_n):not(#_o) .boq-tool .pt-figs{font-size:var(--fs-sm);gap:4px 12px}
@media (min-width:721px){html.mod:not(#_m):not(#_n):not(#_o) #rpTable table>tbody>tr>td[data-lb="Project"]:first-child{min-width:240px}html.mod:not(#_m):not(#_n):not(#_o):not(#_p) #rpTable .tw.rp-wide{overflow-x:auto!important;max-width:100%}}
/* ---- Background (owner 2026-11-19, Settings > Appearance > Background; mock-up _shots/background-choice-mockup.html).
   bg-own = a plain colour or picture instead of the Default gradient; bg-pic = a picture drawn behind everything, softened (blur)
   and faded by a layer on top. Values come from bgApply() in app.js. */
html.mod.bg-own:not(#_m),html.mod.bg-own:not(#_m) body{background-color:var(--bg-col)!important;background-image:none!important}
html.mod.bg-pic:not(#_m) body{background:transparent!important}
html.mod.bg-pic:not(#_m) body::before{content:"";position:fixed;inset:calc(var(--bg-blur,0px) * -2.5);z-index:-1;pointer-events:none;background:var(--bg-img) center/cover no-repeat;filter:var(--bg-filt,blur(var(--bg-blur,0px)))}
html.mod.bg-pic:not(#_m) body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--bg-fade)}
html.mod.bg-pic:not(#_m) .chip:not(.on):not([aria-pressed=true]),html.mod.bg-pic:not(#_m) .rp-chip:not(.on):not([aria-pressed=true]){background:var(--mx-pop)!important;border-color:var(--line)!important} /* filter chips stay readable over any picture */
html.mod.bg-pic:not(#_m) .brand .cdx{text-shadow:0 0 2px rgba(255,255,255,.9),0 0 12px rgba(255,255,255,.85)}
html.mod.bg-pic.mdk:not(#_m) .pha-chip.b{color:#c3d6f9}html.mod.bg-pic.mdk:not(#_m) .pha-chip.g{color:#d2efa6} /* small tinted chips stay readable over a picture in Dark mode */
html.mod.bg-pic.mdk:not(#_m) .brand .cdx{text-shadow:0 0 2px rgba(0,0,0,.6),0 0 12px rgba(0,0,0,.55)}
html.mod:not(#_m) .bg-card .bg-l{display:flex;gap:8px;align-items:baseline;font-weight:600;font-size:var(--fs-sm);margin:16px 0 8px}
html.mod:not(#_m) .bg-card .bg-l small{font-weight:400;color:var(--mute);font-size:var(--fs-sm)}
html.mod:not(#_m) .bg-card .bg-note{font-size:var(--fs-sm);margin:8px 0 0}
html.mod:not(#_m) .bg-for{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html.mod:not(#_m) .bg-for .bg-l{margin:0}
html.mod:not(#_m) .bg-kinds{display:grid;grid-template-columns:repeat(4,minmax(0,140px));gap:10px}
html.mod:not(#_m) .bg-k{display:flex;flex-direction:column;gap:6px;align-items:stretch;padding:6px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font:inherit;font-size:var(--fs-sm);cursor:pointer;text-align:center}
html.mod:not(#_m) .bg-k .bg-th{display:block;height:52px;border-radius:8px;background-size:cover!important;background-position:center!important;border:1px solid var(--line)}
html.mod:not(#_m) :is(.bg-k,.bg-sw button,.bg-pics button[data-act="bgP"],.bg-pick):hover{border-color:var(--mute)}
html.mod:not(#_m) :is(.bg-k,.bg-sw button,.bg-pics button[data-act="bgP"])[aria-pressed="true"],html.mod:not(#_m) .bg-pick.on{border-color:var(--mx-sel);box-shadow:0 0 0 2px var(--mx-sel)}
html.mod:not(#_m) .bg-sw{display:flex;flex-wrap:wrap;gap:10px}
html.mod:not(#_m) .bg-sw button,html.mod:not(#_m) .bg-pick{width:36px;height:36px;border-radius:50%;border:2px solid var(--line);cursor:pointer;padding:0;position:relative}
html.mod:not(#_m) .bg-pick{background:conic-gradient(#e5484d,#f5d90a,#46a758,#00a2c7,#3e63dd,#8e4ec6,#e5484d);overflow:hidden;display:inline-block}
html.mod:not(#_m) .bg-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
html.mod:not(#_m) .bg-pics{display:grid;grid-template-columns:repeat(4,minmax(0,96px));gap:10px}
html.mod:not(#_m) .bg-pics button[data-act="bgP"]{height:56px;border-radius:10px;border:2px solid var(--line);cursor:pointer;padding:0;background-size:cover!important;background-position:center!important}
html.mod:not(#_m) .bg-up{position:relative;display:block}
html.mod:not(#_m) .bg-up>button[data-act="bgP"]{width:100%}
html.mod:not(#_m) .bg-x{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;padding:0;display:grid;place-items:center;cursor:pointer;background:var(--mx-pop);color:var(--ink);border:1px solid var(--line);box-shadow:var(--mx-psh)}
html.mod:not(#_m) .bg-x svg{width:14px;height:14px}
html.mod:not(#_m) .bg-x:hover,html.mod:not(#_m) .bg-x.armed{background:var(--bad);border-color:var(--bad);color:#fff}
html.mod:not(#_m) .bg-drop{display:flex;flex-direction:column;gap:2px;align-items:center;max-width:420px;margin-top:10px;padding:12px;border:1.5px dashed var(--line);border-radius:12px;color:var(--mute);font-size:var(--fs-sm);cursor:pointer;text-align:center}
html.mod:not(#_m) .bg-drop b{color:var(--ink);font-weight:600}
html.mod:not(#_m) .bg-drop:hover{border-color:var(--mute);color:var(--ink)}
html.mod:not(#_m) .bg-rng{display:flex;align-items:center;gap:12px;max-width:420px;margin-top:10px;font-size:var(--fs-sm)}
html.mod:not(#_m) .bg-rng label{width:64px;color:var(--mute)}
html.mod:not(#_m) .bg-rng input{flex:1;accent-color:var(--mx-sel)}
html.mod:not(#_m) .bg-rng b{width:40px;text-align:right;font-weight:600}
/* Closed contracts and archiving (owner 2026-11-19, _shots/finished-closed-archive.html) */
html.mod:not(#_m) .dk-tag .ico{width:13px;height:13px;margin-right:4px;vertical-align:-2px}
html.mod:not(#_m) .pfm-ft{justify-content:flex-start}
html.mod:not(#_m) .pfm-last{margin-left:auto}
html.mod:not(#_m) .pfm-arc{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer}
html.mod:not(#_m) .pfm-arc:hover,html.mod:not(#_m) .pfm-arc:focus-visible{border-color:var(--mute)}
html.mod:not(#_m) .pfm-arc .ico{width:16px;height:16px}
/* its hover words above it: the card cuts off anything below its edge (owner 2026-11-19: "when hover the text hidden") */
html.mod:not(#_m):not(#_n) .pfm-arc[data-tip]:hover::after,html.mod:not(#_m):not(#_n) .pfm-arc[data-tip]:focus-visible::after{top:auto;bottom:calc(100% + 6px);white-space:nowrap}
html.mod:not(#_m):not(#_n) .pfm-res{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;min-height:0;padding:0 12px;margin-left:auto;font-size:var(--fs-sm);font-weight:600;white-space:nowrap;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--mx-opq);color:var(--ink);cursor:pointer}
html.mod:not(#_m):not(#_n) .pfm-res:hover,html.mod:not(#_m):not(#_n) .pfm-res:focus-visible{border-color:var(--mute)}
html.mod:not(#_m) .pfm-res .ico{width:14px;height:14px}
html.mod:not(#_m) .pf-card.pfm.is-arc{background:color-mix(in srgb,var(--mute) 16%,var(--mx-opq))!important;box-shadow:none!important;backdrop-filter:none!important}
html.mod:not(#_m) .pf-card.pfm.is-arc .pfm-pic{filter:grayscale(1) opacity(.55)}
html.mod:not(#_m) .pf-card.pfm.is-arc .pfm-rg{filter:grayscale(1);opacity:.6}
html.mod:not(#_m):not(#_n) .pf-card.pfm.is-arc .pfm-nm b,html.mod:not(#_m):not(#_n) .pf-card.pfm.is-arc .pf-n b{color:var(--mute)}
html.mod:not(#_m) .pf-card.pfm.is-arc .pf-n i{filter:grayscale(1)}
html.mod:not(#_m) .pf-row.is-arc{color:var(--mute)}
html.mod:not(#_m) .pf-row.is-arc .pf-th{filter:grayscale(1) opacity(.6)}
html.mod:not(#_m) .pf-tagc{display:flex;align-items:center;gap:8px;min-width:0}
html.mod:not(#_m) .pf-tagc .pfm-res{margin-left:0}
html.mod:not(#_m) .desk-mod .pf-tools .pf-arcall{margin-left:auto;height:34px;min-height:0;padding:0 14px;display:inline-flex;align-items:center;gap:8px;font-weight:600;white-space:nowrap}
html.mod:not(#_m) .pf-arcall .ico{width:16px;height:16px}
html.mod:not(#_m):not(#_n):not(#_o) .desk-mod .pf-tools .btn.pf-arcall{background:var(--mx-opq)!important;backdrop-filter:none!important}
html.mod:not(#_m) .pf-arcall .ch-n{color:inherit;font-weight:400;display:inline-block;min-width:16px;padding:0 2px;text-align:center}
html.mod.mdk:not(#_m) .desk-mod .pf-tools .chip[aria-pressed=true] .ch-n{opacity:1}
html.mod:not(#_m) .pf-arcnote{margin:-4px 0 12px}
html.mod:not(#_m) .nu-closed{display:inline-flex;align-items:center;gap:8px;height:var(--ctl,36px);padding:0 16px;border-radius:var(--r-pill);background:var(--field);border:1px solid var(--line);color:var(--mute);font-size:var(--fs-md);font-weight:600;white-space:nowrap;flex:none}
html.mod:not(#_m) .nu-closed .ico{width:16px;height:16px}
html.mod:not(#_m) .fsa-fac .fac-st li.fac-cl{background:var(--greenbg);color:var(--green);border-radius:var(--r-pill);padding:2px 10px 2px 8px;font-weight:600}
html.mod:not(#_m) .fsa-fac .fac-st li.fac-cl svg{color:var(--green)}
html.mod:not(#_m) .fac-close{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0 0;margin:0 0 16px;border-top:1px solid var(--line)}
html.mod:not(#_m) .fac-close .msg{flex:1;min-width:200px;margin:0}
html.mod:not(#_m) .fac-close .btn{display:inline-flex;align-items:center;gap:8px;height:var(--ctl,36px);min-height:0;padding:0 16px;font-weight:600}
html.mod:not(#_m) .fac-close .btn .ico{width:16px;height:16px;margin:0}
html.mod:not(#_m) .td-arc .td-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--field);color:var(--mute);flex:none}
html.mod:not(#_m) .td-arc .td-ic .ico{width:18px;height:18px}
html.mod:not(#_m) .td-arc .linkbtn{flex:none;font-size:var(--fs-sm)}
/* the Undo bar (archive / restore, claim changes): a dark pill bottom centre, above the toast (it had no look at all) */
html.mod:not(#_m) .undo-bar{position:fixed;left:50%;bottom:72px;transform:translateX(-50%);z-index:900;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:6px 6px 6px 18px;border-radius:var(--r-pill);background:var(--ink);color:var(--card);font-size:var(--fs-md);box-shadow:0 6px 20px rgba(0,0,0,.25)}
html.mod:not(#_m) .undo-bar[hidden]{display:none}
html.mod:not(#_m) .undo-bar>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mod:not(#_m):not(#_n):not(#_o) .undo-bar .btn{flex:none;height:32px;min-height:0;padding:0 14px;border-radius:var(--r-pill);background:var(--accent,#a7d056)!important;border:0!important;color:#13230a!important;font-weight:600}
/* ---- Apple check (owner 2026-11-23, mock-up _shots/edges-focus-mockup.html) ----
   1. One keyboard focus ring: 2px with a 2px gap, navy #224295 in light (7-9:1 on the page), lime in dark (7.7:1+). Only Tab shows it
      (:focus-visible); text boxes keep their own blue edge while typing, so a mouse click looks as before. Rings that sit inside a
      row or a table cell keep their inside gap.
   2. Boxes you type in or choose have an edge of 3:1 or more: light #6e7f91 (3.2:1 on the glass tiles), dark #7591ad (3.2:1 on the lighter form cards; dark was a 20% white edge, about 1.8:1;
      the toolbar drop-downs, date boxes, Period / Show menus and search pills had the white glass edge, about 1.1-1.6:1).
      Buttons keep their glass edge; table lines and printed documents are not touched; the sign-in card (.lgc) keeps its own edge. */
html.mod:not(#_m){--focus-ring:#224295;--fld-bd:#6e7f91}
html.mod.mdk:not(#_m){--focus-ring:#a7d056;--fld-bd:#7591ad}
html.mod.mdk:not(#_m) .lgc{--focus-ring:#224295}
html.mod:not(#_m):not(#_n) :is(a[href],button,summary,[tabindex]:not([tabindex="-1"]),[role=button],[role=tab],[role=switch],[role=menuitem],[contenteditable=true],input[type=checkbox],input[type=radio],input[type=range]):focus-visible{outline:2px solid var(--focus-ring)!important}
html.mod:not(#_m):not(#_n) :is(a[href],button,summary,[tabindex]:not([tabindex="-1"]),[role=button],[role=tab],[role=switch],[role=menuitem],[contenteditable=true],input[type=checkbox],input[type=radio],input[type=range]):not(.dk-cell,.ph-li,.ph-show,.pha-r,.mtab>button):focus-visible{outline-offset:2px}
html.mod:not(#_m):not(#_n):not(#_o):not(#_p) :is(#app select:not(table select),#app input[type=date],#app input[placeholder^="Search"]:not(:is(.pf-q,.sh-q,.st-q,.cst-q) input):not(#asstQ),.upj-q,.mny-dd>summary,details.nu-pill.mny-dd>summary,label.pf-q,label.sh-q,label.st-q,label.cst-q){border-color:var(--fld-bd)!important}
html.mod:not([data-theme="dark"]):not(#_m):not(#_n):not(#_u):not(#_v):not(#_w) #app details.nu-pill.mny-dd>summary{border-color:var(--fld-bd)!important}
/* the quote / order form Action bar (#projbar .pb-one, outside #app): Cancel and Save as draft were white pills on the white bar
   (ui-check EDGE 1.05, owner 2026-11-23); in light they get the same edge as every plain button in a tile */
html.mod:not(.mdk):not([data-theme="dark"]):not(#_m):not(#_n):not(#_u):not(#_v) #projbar .pb-one .nu-end .btn:not(.pri):not(.danger):not(.on):not([aria-pressed=true]):not(.nu-next):not(.nu-fix):not(.ico-only){border:1px solid rgba(15,34,51,.2)!important}
/* Home Month / Quarter / Year: the chosen one in dark was grey #2c3a4c on the grey track (owner 2026-11-23 "hard to see the
   selected pill"); it takes the chosen colour of every other switch in dark (lime, dark words), also when dark comes from the device */
html.mod.mdk:not(#_m):not(#_n) .ht-tools .apx-seg button.on{background:var(--mx-sel)!important;color:var(--mx-sel-ink)!important;font-weight:600}
html.mod:not(#_m):not(#_n) :is(.asst-panel input#asstQ,.snd .mr .mv input,.snd .mbd textarea):focus{border-color:var(--sel)!important}
/* "+ Add role" in Our team sits on the white details card, where the glass button edge disappears (owner 2026-11-23, ui-check EDGE): the field edge and fill instead */
html.mod:not(#_m):not(#_n) .btn.pr-add{background:var(--card)!important;border-color:var(--line)!important}
/* the Preview pop-up's Print / Save as PDF buttons had no visible edge on the white head (ui-check EDGE, 2026-11-25) */
html.mod:not(#_m) .pv-head .btn:not(.pri):not(.danger):not(.ico-only):not(.on):not([aria-pressed="true"]){background:color-mix(in srgb,var(--ink) 6%,var(--card))!important;border-color:color-mix(in srgb,var(--ink) 18%,var(--card))!important}
}
