/* TurbAine Glass (25 Nov 2026, Cameron approved the kit: https://claude.ai/artifact/SxjbnvAKHbSfoRNDSaZdon)
   One shared look for the whole app: frosted glass floating over a dark room, lit by the section's own colour
   (Overview blue, Sales orange, Clients green, Content pink; gold only on the Scoreboard, as the light on Total cash).
   Whole app (Cameron, 25 Nov: "the whole rebuild"): the shared layer below styles every page, then Follow-ups has its own block.
   Undo for one page = delete its block; undo for all = remove the <link> to this file.
   Loaded after tc-glass.css and the old v7 layers and wins over them, so those can be retired later. */

:root{
  --tg-room:#060607;
  --tg-glass:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.022));
  --tg-glass-hi:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.055));
  --tg-raised:linear-gradient(180deg,rgba(42,42,46,.82),rgba(18,18,21,.9));
  --tg-edge:rgba(255,255,255,.09);
  --tg-edge-2:rgba(255,255,255,.13);
  --tg-hair:rgba(255,255,255,.06);
  --tg-top:inset 0 1px 0 rgba(255,255,255,.13);
  --tg-drop:0 30px 60px -30px rgba(0,0,0,.9);
  --tg-blur:blur(24px) saturate(160%);
  --tg-ink:#F5F6F8;--tg-ink-2:#A3A9B2;--tg-ink-3:#8C939C;
  --tg-good:#00E65C;--tg-bad:#FF1F1F;
  --tg-ease:cubic-bezier(.23,1,.32,1);
  --tg-r-panel:22px;--tg-r-card:18px;--tg-r-ctl:999px;
}


/* ================= Whole app (25 Nov 2026, Cameron: "the whole rebuild") =================
   :not(#g):not(#g):not(#g) = three :not(#g) so these win over the old layers (tc-glass.css, v7, headings) without touching them.
   Every page, header, tab, card, button, field, table, drawer, menu and toast gets the same glass. */

/* ---------- The room: dark, lit from above by the section colour ---------- */
html body:not(#g):not(#g):not(#g){
  background:
    radial-gradient(1000px 560px at 62% -12%,color-mix(in srgb,var(--gacc,#3A8BF0) 21%,transparent),transparent 62%),
    radial-gradient(800px 640px at -8% 100%,rgba(120,126,140,.11),transparent 62%),
    var(--tg-room)!important;
  background-attachment:fixed!important;color:var(--tg-ink);
}
html body #v7gl:not(#g):not(#g):not(#g),html body .mb-hero:not(#g):not(#g):not(#g){display:none!important}
html body .wrap:not(#g):not(#g):not(#g){background:none!important}

/* ---------- Header: one floating glass bar ---------- */
html body .mbhead:not(#g):not(#g):not(#g){background:linear-gradient(180deg,rgba(6,6,7,.92) 0%,rgba(6,6,7,.72) 70%,rgba(6,6,7,0) 100%)!important;border:0!important;box-shadow:none!important}
html body .mbhead .navwrap:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important;border:1px solid var(--tg-edge)!important;border-radius:24px!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
html body .navg:not(#g):not(#g):not(#g),html body .pages:not(#g):not(#g):not(#g){background:rgba(255,255,255,.035)!important;border:1px solid var(--tg-hair)!important;border-radius:999px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;padding:4px!important;gap:2px!important}
html body .navg button:not(#g):not(#g):not(#g),html body .pages button:not(#g):not(#g):not(#g){border-radius:999px!important;border:1px solid transparent!important;background:transparent!important;color:var(--tg-ink-2)!important;box-shadow:none!important;font:600 13px/1 "Inter Tight",system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;transition:background 160ms var(--tg-ease),color 160ms,transform 120ms var(--tg-ease)!important}
html body .navg button:hover:not(#g):not(#g):not(#g),html body .pages button:hover:not(#g):not(#g):not(#g){color:var(--tg-ink)!important;background:rgba(255,255,255,.05)!important}
html body .navg button:active:not(#g):not(#g):not(#g),html body .pages button:active:not(#g):not(#g):not(#g){transform:scale(.97)}
/* the section you are in: lit by its own colour */
html body .navg button[aria-current="true"]:not(#g):not(#g):not(#g){background:color-mix(in srgb,var(--ga,var(--gacc)) 20%,transparent)!important;border-color:color-mix(in srgb,var(--ga,var(--gacc)) 45%,transparent)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 22px -6px color-mix(in srgb,var(--ga,var(--gacc)) 60%,transparent)!important}
html body .navg button[aria-current="true"] svg:not(#g):not(#g):not(#g){color:var(--ga,var(--gacc))!important}
/* the page you are on: the brighter glass thumb */
html body .pages button[aria-current="page"]:not(#g):not(#g):not(#g){background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.12)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 18px -10px rgba(0,0,0,.8)!important}
html body .pages .glab:not(#g):not(#g):not(#g){opacity:.35}
html body #pageTitle:not(#g):not(#g):not(#g),html body .mbhead h1:not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;letter-spacing:-.03em!important;text-transform:none!important;color:var(--tg-ink)!important;background:none!important;-webkit-text-fill-color:var(--tg-ink)!important;text-shadow:none!important}
html body .eyebrow:not(#g):not(#g):not(#g),html body .fresh:not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important;letter-spacing:0!important;text-transform:none!important}

/* ---------- Section headings: calm words, one small lit dot ---------- */
html body .page .h1sec h2:not(#g):not(#g):not(#g),html body .page .sec>.phead h2:not(#g):not(#g):not(#g),html body .page .bd-head h2:not(#g):not(#g):not(#g){font:700 22px/1.15 "Inter Tight",system-ui,sans-serif!important;letter-spacing:-.025em!important;text-transform:none!important;color:var(--tg-ink)!important;background:none!important;-webkit-text-fill-color:var(--tg-ink)!important;text-shadow:none!important}
html body .page .h1sec .h1-ic:not(#g):not(#g):not(#g){background:color-mix(in srgb,var(--gacc) 14%,transparent)!important;border:1px solid color-mix(in srgb,var(--gacc) 30%,transparent)!important;border-radius:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)!important}
html body .page .h1sec .h1-rule:not(#g):not(#g):not(#g){background:linear-gradient(90deg,var(--tg-edge),transparent)!important;height:1px!important}
html body .page .h1sec .h1-d:not(#g):not(#g):not(#g),html body .page .phead .meta:not(#g):not(#g):not(#g),html body .page .h2sub:not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important;font-family:"Inter Tight",system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important}
html body .page .sec>.phead h2::before:not(#g):not(#g):not(#g),html body .page .panel .phead h2::before:not(#g):not(#g):not(#g){width:6px!important;height:6px!important;border-radius:50%!important;transform:none!important;background:var(--gacc)!important;box-shadow:0 0 10px var(--gacc)!important}
html body .page .panel .phead h2:not(#g):not(#g):not(#g),html body .page .panel h3:not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;font-size:15px!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--tg-ink)!important;background:none!important;-webkit-text-fill-color:var(--tg-ink)!important}

/* ---------- Glass panels and cards ---------- */
html body .page .panel:not(#g):not(#g):not(#g),html body .page .tablewrap:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge)!important;border-radius:var(--tg-r-panel)!important;box-shadow:var(--tg-top),var(--tg-drop)!important;clip-path:none!important}
html body .page .panel::before:not(#g):not(#g):not(#g),html body .page .panel::after:not(#g):not(#g):not(#g){display:none!important}
/* no glass inside glass */
html body .page .panel .panel:not(#g):not(#g):not(#g),html body .page .panel .tablewrap:not(#g):not(#g):not(#g),html body .page .kpis .panel:not(#g):not(#g):not(#g){background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;border:0!important;box-shadow:none!important;border-radius:0!important}
html body .page .kpis:not(#g):not(#g):not(#g){background:none!important;border:0!important;box-shadow:none!important;gap:12px!important;border-radius:0!important}
html body .page .kpi:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge)!important;border-radius:var(--tg-r-card)!important;box-shadow:var(--tg-top),var(--tg-drop)!important;padding:16px 18px!important}
html body .page .kpi .label:not(#g):not(#g):not(#g),html body .page .lab:not(#g):not(#g):not(#g){font:600 12px/1.3 "Inter Tight",system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:var(--tg-ink-3)!important}
html body .page .kpi .val:not(#g):not(#g):not(#g){color:var(--tg-ink)!important;-webkit-text-fill-color:var(--tg-ink)!important;background:none!important;text-shadow:none!important}
html body .page .kpi .sub:not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important}
/* the lead number of a page is lit by the section colour */
html body .page .kpi.hero:not(#g):not(#g):not(#g){border-color:color-mix(in srgb,var(--gacc) 40%,transparent)!important;background:radial-gradient(120% 110% at 0% 0%,color-mix(in srgb,var(--gacc) 18%,transparent),transparent 60%),var(--tg-glass)!important;box-shadow:var(--tg-top),0 0 40px -18px color-mix(in srgb,var(--gacc) 70%,transparent),var(--tg-drop)!important}

/* ---------- Buttons: pills. Glass by default, white for the main action ---------- */
html body .btn:not(#g):not(#g):not(#g),html body .linkbtn.btn:not(#g):not(#g):not(#g){border-radius:999px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;-webkit-backdrop-filter:none;backdrop-filter:none;transition:background 160ms var(--tg-ease),border-color 160ms,transform 120ms var(--tg-ease)!important}
html body .btn:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.18)!important}
html body .btn:active:not(#g):not(#g):not(#g){transform:scale(.97)}
html body .btn.primary:not(#g):not(#g):not(#g),html body .btn.goldbtn:not(#g):not(#g):not(#g),html body .btn.calplus:not(#g):not(#g):not(#g),html body .btn.calpri:not(#g):not(#g):not(#g),html body .top .controls .btn.primary:not(#g):not(#g):not(#g){background:linear-gradient(180deg,#FFFFFF,#E9EBEE)!important;color:#141414!important;border-color:rgba(255,255,255,.7)!important;box-shadow:inset 0 1px 0 #fff,0 8px 22px -10px rgba(255,255,255,.45)!important}
html body .btn.primary:hover:not(#g):not(#g):not(#g){background:linear-gradient(180deg,#FFFFFF,#F2F3F5)!important}
html body .btn.ghost:not(#g):not(#g):not(#g),html body .btn.f2ghost:not(#g):not(#g):not(#g){background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--tg-ink-2)!important}
html body .btn.ghost:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.06)!important;color:var(--tg-ink)!important}
html body .btn.del:not(#g):not(#g):not(#g),html body .btn.danger:not(#g):not(#g):not(#g){color:#FF8A80!important}
html body .btn:disabled:not(#g):not(#g):not(#g){opacity:.45;transform:none}

/* ---------- Segmented controls: a glass track with a brighter thumb ---------- */
html body .seg:not(#g):not(#g):not(#g){background:rgba(255,255,255,.04)!important;border:1px solid var(--tg-edge)!important;border-radius:999px!important;padding:3px!important;gap:2px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important}
html body .seg button:not(#g):not(#g):not(#g){border-radius:999px!important;border:0!important;background:transparent!important;color:var(--tg-ink-2)!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:600!important;box-shadow:none!important}
html body .seg button:hover:not(#g):not(#g):not(#g){color:var(--tg-ink)!important}
html body .seg button[aria-pressed="true"]:not(#g):not(#g):not(#g),html body .seg button.on:not(#g):not(#g):not(#g),html body .seg button[aria-selected="true"]:not(#g):not(#g):not(#g){background:rgba(255,255,255,.13)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 1px rgba(255,255,255,.1),0 6px 14px -8px rgba(0,0,0,.8)!important}

/* ---------- Chips: small glass pills, colour only for good / warning / bad ---------- */
html body .chip:not(#g):not(#g):not(#g){border-radius:999px!important;font-family:"Inter Tight",system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html body .chip.neutral:not(#g):not(#g):not(#g){background:rgba(255,255,255,.07)!important;color:var(--tg-ink-2)!important;border:1px solid var(--tg-hair)!important}

/* ---------- Fields ---------- */
html body .page input[type="text"]:not(#g):not(#g):not(#g),html body .page input[type="search"]:not(#g):not(#g):not(#g),html body .page input[type="number"]:not(#g):not(#g):not(#g),html body .page input[type="email"]:not(#g):not(#g):not(#g),html body .page input[type="tel"]:not(#g):not(#g):not(#g),html body .page input[type="date"]:not(#g):not(#g):not(#g),html body .page input[type="time"]:not(#g):not(#g):not(#g),html body .page input:not([type]):not(#g):not(#g):not(#g),html body .page textarea:not(#g):not(#g):not(#g),html body .page select:not(#g):not(#g):not(#g),html body .select:not(#g):not(#g):not(#g),
html body .pmodal input:not(#g):not(#g):not(#g),html body .pmodal textarea:not(#g):not(#g):not(#g),html body .pmodal select:not(#g):not(#g):not(#g),html body .pdrawer input:not(#g):not(#g):not(#g),html body .pdrawer textarea:not(#g):not(#g):not(#g),html body .pdrawer select:not(#g):not(#g):not(#g){background-color:rgba(255,255,255,.045)!important;border:1px solid var(--tg-edge)!important;border-radius:12px!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.35)!important;font-family:"Inter Tight",system-ui,sans-serif!important}
html body .page input:focus:not(#g):not(#g):not(#g),html body .page textarea:focus:not(#g):not(#g):not(#g),html body .page select:focus:not(#g):not(#g):not(#g),html body .pmodal input:focus:not(#g):not(#g):not(#g),html body .pmodal textarea:focus:not(#g):not(#g):not(#g),html body .pdrawer input:focus:not(#g):not(#g):not(#g),html body .pdrawer textarea:focus:not(#g):not(#g):not(#g){outline:0!important;border-color:color-mix(in srgb,var(--gacc) 55%,transparent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--gacc) 18%,transparent)!important}
html body .page input::placeholder:not(#g):not(#g):not(#g),html body .page textarea::placeholder:not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important}
html body .select:not(#g):not(#g):not(#g),html body .page select:not(#g):not(#g):not(#g){padding-right:32px!important}
html body select option:not(#g):not(#g):not(#g){background:#17171a;color:var(--tg-ink)}

/* ---------- Tables: no grid lines, quiet header, hairline rows ---------- */
html body .page table:not(#g):not(#g):not(#g){border-collapse:collapse!important;background:none!important}
html body .page thead th:not(#g):not(#g):not(#g){background:none!important;background-image:none!important;color:var(--tg-ink-3)!important;font:600 12px/1.2 "Inter Tight",system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;border:0!important;border-bottom:1px solid var(--tg-hair)!important;box-shadow:none!important}
html body .page tbody td:not(#g):not(#g):not(#g){border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid var(--tg-hair)!important;background-color:transparent!important}
html body .page tbody tr:last-child td:not(#g):not(#g):not(#g){border-bottom:0!important}
html body .page tbody tr:hover td:not(#g):not(#g):not(#g){background-color:rgba(255,255,255,.03)!important}

/* ---------- Notes, empty states, links ---------- */
html body .page .note:not(.good):not(.bad):not(.warn):not(.refund-note):not(#g):not(#g):not(#g),html body .page .empty:not(#g):not(#g):not(#g),html body .page .meta:not(.good):not(.bad):not(.warn):not(.refund-note):not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important}
html body .page .skel:not(#g):not(#g):not(#g){background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.09),rgba(255,255,255,.04))!important;background-size:200% 100%!important;border-radius:10px!important}

/* ---------- Pop-outs: drawers, modals, sheets, menus ("raised" glass, darker, more blur) ---------- */
html body .pmodal-ov:not(#g):not(#g):not(#g),html body .fx-ov:not(#g):not(#g):not(#g),html body .fl-pop:not(#g):not(#g):not(#g),html body .pscrim:not(#g):not(#g):not(#g),html body .mbzoom:not(#g):not(#g):not(#g),html body .mscrim:not(#g):not(#g):not(#g),html body #schSheet:not(#g):not(#g):not(#g),html body .lc-ov:not(#g):not(#g):not(#g){background:rgba(3,3,4,.55)!important;-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important}
html body .pmodal:not(#g):not(#g):not(#g),html body .pdrawer:not(#g):not(#g):not(#g),html body .fl-pop-in:not(#g):not(#g):not(#g),html body #schSheet .box:not(#g):not(#g):not(#g),html body .fx-ov>div:not(#g):not(#g):not(#g),html body .msheet:not(#g):not(#g):not(#g),html body .mpermenu:not(#g):not(#g):not(#g),html body .calsheet:not(#g):not(#g):not(#g),html body .f2drw:not(#g):not(#g):not(#g),html body .mbzoom>div:not(.mbzoom-h):not(#g):not(#g):not(#g){background:var(--tg-raised)!important;-webkit-backdrop-filter:blur(40px) saturate(180%)!important;backdrop-filter:blur(40px) saturate(180%)!important;border:1px solid var(--tg-edge-2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 40px 80px -20px rgba(0,0,0,.85)!important;color:var(--tg-ink)!important}
html body .pmodal:not(#g):not(#g):not(#g),html body .fl-pop-in:not(#g):not(#g):not(#g),html body #schSheet .box:not(#g):not(#g):not(#g),html body .fx-ov>div:not(#g):not(#g):not(#g){border-radius:28px!important}
html body .pdrawer:not(#g):not(#g):not(#g){top:16px!important;right:16px!important;bottom:16px!important;border-radius:28px!important;width:min(620px,calc(100vw - 32px))!important}
html body .pdrawer:not(.on):not(#g):not(#g):not(#g){transform:translateX(calc(100% + 24px))!important}
html body .msheet:not(#g):not(#g):not(#g),html body .mpermenu:not(#g):not(#g):not(#g),html body .calsheet:not(#g):not(#g):not(#g){border-radius:24px!important}
html body .pmodal h2:not(#g):not(#g):not(#g),html body .pmodal h3:not(#g):not(#g):not(#g),html body .pdrawer h2:not(#g):not(#g):not(#g),html body .pdrawer h3:not(#g):not(#g):not(#g),html body .fl-pop-h h3:not(#g):not(#g):not(#g),html body .fl-pop-h b:not(#g):not(#g):not(#g),html body #schSheet h3:not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;letter-spacing:-.02em!important;text-transform:none!important;color:var(--tg-ink)!important;background:none!important;-webkit-text-fill-color:var(--tg-ink)!important}
html body .pdrawer .panel:not(#g):not(#g):not(#g),html body .pmodal .panel:not(#g):not(#g):not(#g){background:rgba(255,255,255,.04)!important;border:1px solid var(--tg-hair)!important;box-shadow:none!important;border-radius:18px!important}
html body .msheet h4:not(#g):not(#g):not(#g){color:var(--tg-ink-3)!important;letter-spacing:0!important;text-transform:none!important;font-size:12px!important}
html body .msheet button:not(#g):not(#g):not(#g),html body .mpermenu button:not(#g):not(#g):not(#g),html body .msheet a:not(#g):not(#g):not(#g),html body .mpermenu a:not(#g):not(#g):not(#g){border-radius:12px!important}
html body .msheet button:hover:not(#g):not(#g):not(#g),html body .mpermenu button:hover:not(#g):not(#g):not(#g),html body .msheet a:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.08)!important}

/* toast: a raised glass pill */
html body .tc-toast:not(#g):not(#g):not(#g){background:var(--tg-raised)!important;-webkit-backdrop-filter:blur(40px) saturate(180%)!important;backdrop-filter:blur(40px) saturate(180%)!important;border:1px solid var(--tg-edge-2)!important;border-radius:999px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 20px 50px -16px rgba(0,0,0,.85)!important;color:var(--tg-ink)!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:600!important}
html body .bd-fab:not(#g):not(#g):not(#g),html body .mfab:not(#g):not(#g):not(#g){background:linear-gradient(180deg,#FFFFFF,#E9EBEE)!important;color:#141414!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:inset 0 1px 0 #fff,0 14px 30px -12px rgba(0,0,0,.8),0 8px 22px -10px rgba(255,255,255,.35)!important}

/* ---------- Phone width (desktop page on a small screen): floating pill tab bar ---------- */
@media (max-width:760px){
  html body .mtabs:not(#g):not(#g):not(#g){left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;padding:6px!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(40,40,44,.72),rgba(16,16,19,.86))!important;-webkit-backdrop-filter:blur(30px) saturate(180%)!important;backdrop-filter:blur(30px) saturate(180%)!important;border:1px solid var(--tg-edge-2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 20px 40px -12px rgba(0,0,0,.9)!important}
  html body .mtabs button:not(#g):not(#g):not(#g){border-radius:999px!important}
  html body .mtabs button[aria-current="true"]:not(#g):not(#g):not(#g),html body .mtabs button.on:not(#g):not(#g):not(#g){background:rgba(255,255,255,.12)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important}
  html body .mbhead .navwrap:not(#g):not(#g):not(#g){border-radius:0 0 22px 22px!important;border-top:0!important}
  html body .page .panel:not(#g):not(#g):not(#g),html body .page .tablewrap:not(#g):not(#g):not(#g),html body .page .kpi:not(#g):not(#g):not(#g){-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%)}
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-transparency:reduce){
  html body .page .panel:not(#g):not(#g):not(#g),html body .page .kpi:not(#g):not(#g):not(#g),html body .page .tablewrap:not(#g):not(#g):not(#g),html body .mbhead .navwrap:not(#g):not(#g):not(#g){background:#141417!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body .pmodal:not(#g):not(#g):not(#g),html body .pdrawer:not(#g):not(#g):not(#g),html body .fl-pop-in:not(#g):not(#g):not(#g),html body .msheet:not(#g):not(#g):not(#g),html body .mpermenu:not(#g):not(#g):not(#g),html body .calsheet:not(#g):not(#g):not(#g),html body .tc-toast:not(#g):not(#g):not(#g),html body .mtabs:not(#g):not(#g):not(#g){background:#1c1c20!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (prefers-reduced-motion:reduce){
  html body .btn:not(#g):not(#g):not(#g),html body .navg button:not(#g):not(#g):not(#g),html body .pages button:not(#g):not(#g):not(#g){transition:none!important}
  html body .btn:active:not(#g):not(#g):not(#g),html body .navg button:active:not(#g):not(#g):not(#g),html body .pages button:active:not(#g):not(#g):not(#g){transform:none}
}

/* ---------- Pieces that only some pages have ---------- */
/* Scoreboard: gold is the light, and only here (Total cash) */
html body #page-score .kpi.hero:not(#g):not(#g):not(#g){border-color:rgba(243,185,41,.5)!important;background:radial-gradient(130% 120% at 0% 0%,rgba(243,185,41,.22),transparent 58%),var(--tg-glass)!important;box-shadow:var(--tg-top),0 0 50px -14px rgba(243,185,41,.55),var(--tg-drop)!important}
html body #page-score .kpi.hero .val:not(#g):not(#g):not(#g){color:#F8CB52!important;-webkit-text-fill-color:#F8CB52!important;text-shadow:0 0 28px rgba(243,185,41,.45)!important}
/* period bar (This month / Last month), sticky under the header */
html body #mbPeriod:not(#g):not(#g):not(#g){background:linear-gradient(180deg,rgba(22,22,25,.86),rgba(12,12,14,.86))!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important;border:1px solid var(--tg-edge)!important;border-radius:20px!important;box-shadow:var(--tg-top),0 18px 40px -24px rgba(0,0,0,.9)!important}
/* fix list buttons and the Every area board */
html body .page .fx-b:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;border:1px solid var(--tg-edge)!important;border-radius:var(--tg-r-card)!important;box-shadow:var(--tg-top),var(--tg-drop)!important;transition:transform 120ms var(--tg-ease),border-color 160ms!important}
html body .page .fx-b:hover:not(#g):not(#g):not(#g){border-color:var(--tg-edge-2)!important}
html body .page .fx-b:active:not(#g):not(#g):not(#g){transform:scale(.985)}
html body .page .bd-card:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge)!important;border-top:2px solid color-mix(in srgb,var(--bc,var(--gacc)) 80%,transparent)!important;border-radius:var(--tg-r-panel)!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
/* small labels: sentence case, no shouting */
html body .page .upn-l:not(#g):not(#g):not(#g),html body .page .mn-h:not(#g):not(#g):not(#g),html body .page .mn-h span:not(#g):not(#g):not(#g),html body .page .bd-ch:not(#g):not(#g):not(#g),html body .page .bd-ch span:not(#g):not(#g):not(#g),html body .page .fx-h:not(#g):not(#g):not(#g){text-transform:none!important;letter-spacing:0!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:600!important;font-size:12.5px!important;color:var(--tg-ink-3)!important}
html body .page .sm-t .k:not(#g):not(#g):not(#g),html body .page .subhead:not(#g):not(#g):not(#g),html body .page .subhead span:not(#g):not(#g):not(#g),html body .page .sub2:not(#g):not(#g):not(#g),html body .page .fstep .fl:not(#g):not(#g):not(#g),html body .page .fstep .fl span:not(#g):not(#g):not(#g),html body .page .fstep .fs:not(#g):not(#g):not(#g),html body .page .agm i:not(#g):not(#g):not(#g),html body .page .adst:not(#g):not(#g):not(#g),html body .page .nd-h:not(#g):not(#g):not(#g),html body .page .clc-tl:not(#g):not(#g):not(#g),html body .page .clc-k:not(#g):not(#g):not(#g),html body .page span.k:not(#g):not(#g):not(#g),html body .page div.k:not(#g):not(#g):not(#g),html body .page .ah-dz-h:not(#g):not(#g):not(#g),html body .page .schc .nxt:not(#g):not(#g):not(#g),html body .page .panel>h4:not(#g):not(#g):not(#g),html body .page .iv-dh:not(#g):not(#g):not(#g),html body .page .iv-dh b:not(#g):not(#g):not(#g){text-transform:none!important;letter-spacing:0!important;font-family:"Inter Tight",system-ui,sans-serif!important}
/* Playbooks and Idea dump */
html body .page h2.pbt:not(#g):not(#g):not(#g){font:700 22px/1.15 "Inter Tight",system-ui,sans-serif!important;letter-spacing:-.025em!important;text-transform:none!important;color:var(--tg-ink)!important}
html body .page .pbc:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge)!important;border-radius:var(--tg-r-panel)!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
html body .page .pbn:not(#g):not(#g):not(#g){font:700 19px/1.2 "Inter Tight",system-ui,sans-serif!important;letter-spacing:-.02em!important;text-transform:none!important}
html body .page .pbn em:not(#g):not(#g):not(#g){color:var(--tg-ink-2)!important;font-style:italic!important;font-weight:600!important;padding-right:.1em}
html body .page .pbk:not(#g):not(#g):not(#g),html body .page .pbk span:not(#g):not(#g):not(#g){text-transform:none!important;letter-spacing:0!important;font-weight:600!important;color:var(--tg-ink-3)!important}
html body .page a.pbo:not(#g):not(#g):not(#g){border-radius:999px!important;background:linear-gradient(180deg,#FFFFFF,#E9EBEE)!important;color:#141414!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:inset 0 1px 0 #fff,0 8px 22px -10px rgba(255,255,255,.45)!important}
/* calendar blocks */
html body .page .calblk:not(#g):not(#g):not(#g){border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
/* insides of drawers and sheets */
html body .pdrawer .dhead:not(#g):not(#g):not(#g),html body .pmodal .dhead:not(#g):not(#g):not(#g){background:none!important;border-bottom:1px solid var(--tg-hair)!important;box-shadow:none!important;border-radius:28px 28px 0 0!important}
html body .pdrawer .pbody:not(#g):not(#g):not(#g),html body .pmodal .pbody:not(#g):not(#g):not(#g){background:none!important}
html body .btn.xbox:not(#g):not(#g):not(#g),html body .btn.x:not(#g):not(#g):not(#g){background:rgba(255,255,255,.06)!important;color:var(--tg-ink-2)!important;border-color:var(--tg-hair)!important;box-shadow:none!important}
html body .btn.xbox:hover:not(#g):not(#g):not(#g),html body .btn.x:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.12)!important;color:var(--tg-ink)!important}
html body #schSheet h2:not(#g):not(#g):not(#g),html body .mbzoom h2:not(#g):not(#g):not(#g),html body .fl-pop-in h2:not(#g):not(#g):not(#g),html body .fx-ov h2:not(#g):not(#g):not(#g){font:700 26px/1.1 "Inter Tight",system-ui,sans-serif!important;letter-spacing:-.03em!important;text-transform:none!important;color:var(--tg-ink)!important}
html body #schSheet dt:not(#g):not(#g):not(#g){text-transform:none!important;letter-spacing:0!important;color:var(--tg-ink-3)!important;font-weight:600!important}
html body .calsheet b:not(#g):not(#g):not(#g),html body .calsheet h3:not(#g):not(#g):not(#g),html body .calsheet h4:not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;font-size:16px!important;letter-spacing:-.01em!important;text-transform:none!important}


/* ================= Scoreboard hero: the gold orb (js/turbaine-glass.js builds it from the page's own numbers) ================= */
html body #tgHero:not(#g):not(#g):not(#g){position:relative;display:grid;grid-template-columns:1fr 340px 1fr;align-items:center;min-height:360px;margin:4px 0 6px;background:none;border:0;box-shadow:none}
#tgHero .tgh-side{display:flex;flex-direction:column;gap:34px}
#tgHero .tgh-side.l{align-items:flex-end;text-align:right;padding-right:34px}
#tgHero .tgh-side.r{align-items:flex-start;text-align:left;padding-left:34px}
#tgHero .tgh-stat{display:flex;flex-direction:column;gap:6px;max-width:300px}
#tgHero .tgh-stat.l{align-items:flex-end}
#tgHero .tgh-l{font:600 12.5px/1.3 "Inter Tight",system-ui,sans-serif;color:var(--tg-ink-3)}
#tgHero .tgh-stat b{font:400 46px/.9 "Bebas Neue",sans-serif;letter-spacing:.01em;color:var(--tg-ink)}
#tgHero .tgh-s{font:500 12.5px/1.4 "Inter Tight",system-ui,sans-serif;color:var(--tg-ink-3);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#tgHero .tgh-stat.l .tgh-s{justify-content:flex-end}
#tgHero .tgh-chip{font:700 11px/1 "Inter Tight",system-ui,sans-serif;padding:3px 7px;border-radius:999px}
#tgHero .tgh-chip.up{background:rgba(0,230,92,.12);color:#5BE38F}
#tgHero .tgh-chip.down{background:rgba(255,31,31,.12);color:#FF7A7A}

/* the hero centre: the horizon beam (the chip itself is below) */
#tgHero .tgh-orb{position:relative;height:360px;display:flex;align-items:center;justify-content:center}
#tgHero .tgh-beam{position:absolute;left:-200px;right:-200px;top:50%;height:64px;margin-top:-32px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,120,.9),rgba(243,185,41,.5) 35%,rgba(243,185,41,.1) 70%,transparent);filter:blur(6px);pointer-events:none}
#tgHero .tgh-beam.lo{height:24px;margin-top:34px;left:-150px;right:-150px;background:radial-gradient(closest-side,rgba(255,214,120,.5),rgba(243,185,41,.14) 60%,transparent);filter:blur(4px)}
/* the TurbAine chip (the app icon's shape): a dark rounded square ringed in gold, gold pins on every side,
   a light that runs round its edge, the horizon beam through it */
#tgHero .tgh-halo{position:absolute;width:280px;height:280px;border-radius:72px;box-shadow:0 0 120px 26px rgba(243,185,41,.2);pointer-events:none}
#tgHero .tgh-pins{position:absolute;left:50%;top:50%;width:212px;height:212px;margin:-106px 0 0 -106px;pointer-events:none}
#tgHero .tgh-pins i{position:absolute;border-radius:6px;background:linear-gradient(180deg,#FFE3A0,#F3B929 55%,#9a6f0e);box-shadow:0 0 12px rgba(243,185,41,.55)}
#tgHero .tgh-pins i.t,#tgHero .tgh-pins i.b{width:12px;height:30px;left:calc(40px + var(--i) * 40px)}
#tgHero .tgh-pins i.t{top:-40px}#tgHero .tgh-pins i.b{bottom:-40px;transform:scaleY(-1)}
#tgHero .tgh-pins i.l,#tgHero .tgh-pins i.r{height:12px;width:30px;top:calc(40px + var(--i) * 40px);background:linear-gradient(90deg,#9a6f0e,#F3B929 45%,#FFE3A0)}
#tgHero .tgh-pins i.l{left:-40px}#tgHero .tgh-pins i.r{right:-40px;transform:scaleX(-1)}
#tgHero .tgh-core{position:relative;width:212px;height:212px;border-radius:52px;padding:3px;overflow:hidden;background:linear-gradient(160deg,#FFE3A0,#F3B929 40%,#8a630c);box-shadow:0 0 34px 6px rgba(243,185,41,.45);z-index:1}
#tgHero .tgh-sweep{position:absolute;inset:-40%;background:conic-gradient(from 0deg,transparent 0 62%,rgba(255,250,230,.95) 78%,transparent 90%);animation:tgh-spin 5s linear infinite;pointer-events:none}
@keyframes tgh-spin{to{transform:rotate(360deg)}}
#tgHero .tgh-in{position:relative;height:100%;border-radius:49px;background:radial-gradient(circle at 50% 42%,#111113 0%,#060607 62%,#160f04 100%);box-shadow:inset 0 0 34px rgba(243,185,41,.2),inset 0 1px 0 rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
#tgHero .tgh-bars{display:flex;align-items:flex-end;gap:4px;height:16px;margin-bottom:4px}
#tgHero .tgh-bars i{width:5px;border-radius:2px;background:#F3B929;box-shadow:0 0 8px rgba(243,185,41,.6)}
#tgHero .tgh-bars i:nth-child(1){height:7px}#tgHero .tgh-bars i:nth-child(2){height:11px}#tgHero .tgh-bars i:nth-child(3){height:16px}
#tgHero .tgh-in b{font:400 84px/.85 "Bebas Neue",sans-serif;color:var(--tg-ink);text-shadow:0 0 24px rgba(255,214,120,.35)}
#tgHero .tgh-in span{font:600 13px/1.2 "Inter Tight",system-ui,sans-serif;color:#DADDE2}

/* the fix list as pills under the orb (tap = same as the old fix list button) */
#tgHero .tgh-pills{grid-column:1/-1;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:-22px;position:relative;z-index:2}
#tgHero .tgh-pill{font:600 13px/1 "Inter Tight",system-ui,sans-serif;height:38px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--tg-ink);display:inline-flex;align-items:center;gap:7px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:background 160ms var(--tg-ease),transform 120ms var(--tg-ease)}
#tgHero .tgh-pill b{font:400 18px/1 "Bebas Neue",sans-serif;color:#F8CB52}
#tgHero .tgh-pill:hover{background:rgba(255,255,255,.1)}
#tgHero .tgh-pill:active{transform:scale(.97)}
#tgHero .tgh-clear{font:600 13px "Inter Tight",system-ui,sans-serif;color:#5BE38F}
/* the chip hero replaces the fix list row, the KPI row and the gold Total cash card wherever it shows */
html body #mornP:has(>#tgHero)>.fx-row:not(#g):not(#g):not(#g),html body #mornP:has(>#tgHero)>.fx-h:first-of-type:not(#g):not(#g):not(#g),html body #mornP:has(>#tgHero)>#monthKpis:not(#g):not(#g):not(#g){display:none!important}
html body #mornP:not(#g):not(#g):not(#g){background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;overflow:visible!important;clip-path:none!important;contain:none!important}
/* (KPI row hidden only where the chip hero is showing, see above) */
html body #mornP:has(>#tgHero) .kpi.hero:not(#g):not(#g):not(#g){border-color:var(--tg-edge)!important;background:var(--tg-glass)!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
html body #mornP:has(>#tgHero) .kpi.hero .val:not(#g):not(#g):not(#g){color:var(--tg-ink)!important;-webkit-text-fill-color:var(--tg-ink)!important;text-shadow:none!important}
/* the room behind the Scoreboard carries the gold light */
html body:has(#page-score:not([hidden])):not(#g):not(#g):not(#g){background:radial-gradient(760px 380px at 50% 230px,rgba(243,185,41,.12),transparent 70%),radial-gradient(1000px 560px at 62% -12%,color-mix(in srgb,#3A8BF0 18%,transparent),transparent 62%),radial-gradient(800px 640px at -8% 100%,rgba(58,139,240,.12),transparent 62%),var(--tg-room)!important;background-attachment:fixed!important}
@media (max-width:900px){
  html body #tgHero:not(#g):not(#g):not(#g){grid-template-columns:1fr 1fr;min-height:0;row-gap:8px}
  #tgHero .tgh-orb{grid-column:1/-1;order:-1;height:300px}
  #tgHero .tgh-side{gap:18px;padding:0!important}
  #tgHero .tgh-side.l{align-items:flex-start;text-align:left}
  #tgHero .tgh-stat.l{align-items:flex-start}#tgHero .tgh-stat.l .tgh-s{justify-content:flex-start}
  #tgHero .tgh-stat b{font-size:34px}
  #tgHero .tgh-beam{left:-40px;right:-40px}
  #tgHero .tgh-pills{margin-top:10px}
}
@media (prefers-reduced-motion:reduce){#tgHero .tgh-sweep{animation:none;opacity:0}}

/* ================= Desktop: a floating glass sidebar instead of the top tabs (kit mockup) ================= */
@media (min-width:1100px){
  html:not(.fl-only):not(.framed) body .mbhead .navwrap:not(#g):not(#g):not(#g){position:fixed!important;top:16px!important;left:16px!important;bottom:16px!important;width:224px!important;max-width:none!important;margin:0!important;padding:20px 12px 16px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:14px!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:26px!important;z-index:60!important;scrollbar-width:none}
  html:not(.fl-only):not(.framed) body .mbhead .navwrap::-webkit-scrollbar{display:none}
  html:not(.fl-only):not(.framed) body .mbhead .navwrap::before:not(#g):not(#g):not(#g){content:"TurbAine"!important;display:flex!important;align-items:center;height:30px;padding:0 10px 0 50px!important;margin:0 0 6px!important;font:400 25px/1 "Bebas Neue",sans-serif!important;letter-spacing:.03em!important;color:var(--tg-ink)!important;-webkit-text-fill-color:var(--tg-ink)!important;background:radial-gradient(circle at 25px 50%,#F8CB52 0,#F3B929 6px,#8a630c 13px,transparent 14px) no-repeat!important;filter:drop-shadow(0 0 10px rgba(243,185,41,.35));position:static!important;transform:none!important;text-transform:none!important}
  html:not(.fl-only):not(.framed) body .navg:not(#g):not(#g):not(#g){display:flex!important;flex-direction:column!important;width:100%!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;gap:2px!important;border-radius:0!important}
  html:not(.fl-only):not(.framed) body .navg button:not(#g):not(#g):not(#g){width:100%!important;justify-content:flex-start!important;gap:11px!important;height:40px!important;padding:0 12px!important;border-radius:12px!important;font-size:14px!important;flex:none!important}
  html:not(.fl-only):not(.framed) body .navg button svg:not(#g):not(#g):not(#g){width:17px!important;height:17px!important}
  html:not(.fl-only):not(.framed) body .pages:not(#g):not(#g):not(#g){display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:100%!important;max-width:none!important;background:none!important;border:0!important;border-top:1px solid var(--tg-hair)!important;box-shadow:none!important;border-radius:0!important;padding:12px 0 0!important;gap:2px!important;overflow:visible!important}
  html:not(.fl-only):not(.framed) body .pages::before:not(#g):not(#g):not(#g){content:"Pages";display:block;font:600 12px/1 "Inter Tight",system-ui,sans-serif;color:var(--tg-ink-3);padding:2px 12px 8px}
  html:not(.fl-only):not(.framed) body .pages button:not(#g):not(#g):not(#g){width:100%!important;justify-content:flex-start!important;text-align:left!important;height:36px!important;padding:0 12px!important;border-radius:12px!important;font-size:13.5px!important;flex:none!important}
  html:not(.fl-only):not(.framed) body .pages .glab:not(#g):not(#g):not(#g){display:none!important}
  html:not(.fl-only):not(.framed) body .wrap:not(#g):not(#g):not(#g){padding-left:264px!important}
  html:not(.fl-only):not(.framed) body .mbhead>header.top:not(#g):not(#g):not(#g){margin-left:auto!important}
  html:not(.fl-only):not(.framed) body .mbhead:not(#g):not(#g):not(#g){min-height:62px;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;transform:none!important}
}

/* ================= Graphs: glowing rounded bars, quiet dashed grid, glass tooltip ================= */
html body .chart svg text:not(#g):not(#g):not(#g){fill:var(--tg-ink-3)!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-size:11px!important}
html body .chart svg line[stroke="var(--line-2)"]:not(#g):not(#g):not(#g){stroke:rgba(255,255,255,.06)!important;stroke-dasharray:2 5}
html body .chart svg line[stroke="var(--line)"]:not(#g):not(#g):not(#g){stroke:rgba(255,255,255,.14)!important}
html body .chart svg rect[fill="var(--surface)"]:not(#g):not(#g):not(#g){fill:#08080a!important}
html body .chart svg text.tg-pace-t:not(#g):not(#g):not(#g){fill:#fff!important;font-weight:600!important;font-size:12px!important}
html body .chart svg [fill="var(--s1)"]:not(#g):not(#g):not(#g){filter:drop-shadow(0 0 6px color-mix(in srgb,var(--s1) 60%,transparent))}
html body .chart svg [fill="var(--s2)"]:not(#g):not(#g):not(#g){filter:drop-shadow(0 0 6px color-mix(in srgb,var(--s2) 60%,transparent))}
html body .chart svg [fill="var(--s3)"]:not(#g):not(#g):not(#g){filter:drop-shadow(0 0 6px color-mix(in srgb,var(--s3) 60%,transparent))}
html body .chart svg path[stroke]:not([stroke="none"]):not(#g):not(#g):not(#g),html body .chart svg polyline:not(#g):not(#g):not(#g){filter:drop-shadow(0 0 6px rgba(255,255,255,.18))}
html body .chart .tip:not(#g):not(#g):not(#g),html body .tip:not(#g):not(#g):not(#g){background:var(--tg-raised)!important;-webkit-backdrop-filter:blur(30px) saturate(180%)!important;backdrop-filter:blur(30px) saturate(180%)!important;border:1px solid var(--tg-edge-2)!important;border-radius:16px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 20px 40px -14px rgba(0,0,0,.85)!important;color:var(--tg-ink)!important}

/* ================= Follow-ups (Sales) ================= */
#page-follow{--gacc:#E8622E}
html body #page-follow #flPanel:not(#_):not(#_):not(#_){background:none!important;border:0!important;box-shadow:none!important;padding:0!important;clip-path:none!important}
html body #page-follow #flPanel::before,html body #page-follow #flPanel::after{display:none!important}
html body #page-follow #flPanel>.phead h2:not(#_):not(#_):not(#_){font:700 30px/1.05 "Inter Tight",system-ui,sans-serif!important;letter-spacing:-.03em!important;text-transform:none!important;color:var(--tg-ink)!important;background:none!important;-webkit-text-fill-color:var(--tg-ink)!important}
html body #page-follow #flPanel>.phead .meta{color:var(--tg-ink-2)!important}
html body #page-follow #flPanel>p.note{color:var(--tg-ink-3)!important}
#page-follow .f2{--f2l:var(--tg-hair);--f2m:var(--tg-ink-2);--f2d:var(--tg-ink-3);--f2k:transparent;--f2k2:rgba(255,255,255,.05)}

/* Calls / DMs: two glass cards, the chosen one lit by the section colour */
#page-follow .f2big{gap:14px;margin:6px 0 14px}
html body #page-follow .f2big button:not(#_):not(#_):not(#_){background:var(--tg-glass);-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge);border-radius:var(--tg-r-panel);box-shadow:var(--tg-top),var(--tg-drop);padding:16px 20px;transition:transform 120ms var(--tg-ease),border-color 160ms}
html body #page-follow .f2big button.on:not(#_):not(#_):not(#_){border-color:color-mix(in srgb,var(--gacc) 42%,transparent);background:radial-gradient(120% 110% at 0% 0%,color-mix(in srgb,var(--gacc) 20%,transparent),transparent 60%),var(--tg-glass);box-shadow:var(--tg-top),0 0 40px -18px color-mix(in srgb,var(--gacc) 70%,transparent),var(--tg-drop)}
#page-follow .f2big button .n{font-size:40px;color:var(--tg-ink-3)}
#page-follow .f2big button.on .n{color:var(--gacc);text-shadow:0 0 26px color-mix(in srgb,var(--gacc) 55%,transparent)}
#page-follow .f2big button b{font-size:28px}
#page-follow .f2big button .s{color:var(--tg-ink-3)}

/* Due today / Waiting / Stopped: a glass track with a brighter thumb */
html body #page-follow .f2stg:not(#_):not(#_):not(#_){background:var(--tg-glass);border:1px solid var(--tg-edge);box-shadow:var(--tg-top);border-radius:20px;padding:4px;gap:2px;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur)}
#page-follow .f2stg button{border-radius:16px;color:var(--tg-ink-2)}
html body #page-follow .f2stg button.on:not(#_):not(#_):not(#_){background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 1px rgba(255,255,255,.12),0 8px 18px -10px rgba(0,0,0,.8);color:var(--tg-ink)}
#page-follow .f2stg button.hot b{color:var(--gacc);text-shadow:0 0 18px color-mix(in srgb,var(--gacc) 45%,transparent)}

/* type tabs */
#page-follow .f2types{border-bottom-color:var(--tg-hair)}
#page-follow .f2types button.on::after{background:var(--gacc);box-shadow:0 0 12px color-mix(in srgb,var(--gacc) 60%,transparent)}
#page-follow .f2hint{color:var(--tg-ink-3)}

/* the list: one glass panel, rows split by hairlines */
html body #page-follow .f2t:not(#_):not(#_):not(#_){background:var(--tg-glass);-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge);border-radius:var(--tg-r-panel);box-shadow:var(--tg-top),var(--tg-drop)}
#page-follow .f2r{border-top-color:var(--tg-hair);padding:16px 20px}
html body #page-follow .f2r.f2h:not(#_):not(#_):not(#_){background:linear-gradient(180deg,color-mix(in srgb,var(--gacc) 9%,transparent),transparent);font:600 12px "Inter Tight",system-ui,sans-serif;letter-spacing:0;text-transform:none;color:var(--tg-ink-3);padding:12px 20px}
#page-follow .f2r.over{box-shadow:none;background:linear-gradient(90deg,rgba(255,31,31,.07),transparent 35%)}
#page-follow .f2rn>b,#page-follow .f2 .namebtn.f2nb{font:600 15px "Inter Tight",system-ui,sans-serif;color:var(--tg-ink)}
#page-follow .f2rn>span,#page-follow .f2sub{color:var(--tg-ink-3)}
#page-follow .f2tag{border-color:var(--tg-edge);border-radius:999px;padding:1px 8px;background:rgba(255,255,255,.04)}
#page-follow .f2due{border-radius:999px;padding:4px 10px}
#page-follow .f2due.o{background:color-mix(in srgb,var(--gacc) 16%,transparent);color:color-mix(in srgb,var(--gacc) 80%,#fff)}
#page-follow .f2due.r{background:rgba(255,31,31,.14);color:#FF6B6B}
#page-follow .f2due.g{background:rgba(255,255,255,.06);color:var(--tg-ink-2)}
#page-follow .f2dots i{background:rgba(255,255,255,.12)}#page-follow .f2dots i.s{background:var(--tg-ink)}

/* the message: a flat glass strip inside the row (Cameron: the chat bubble looked out of place); a small dot says which app */
html body #page-follow .f2msgl:not(#_):not(#_):not(#_){background:rgba(255,255,255,.035);border:1px solid var(--tg-hair);border-left:1px solid var(--tg-hair);border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);padding:10px 14px;margin:0}
#page-follow .f2msg-k{display:flex;align-items:center;gap:7px;color:var(--tg-ink-3)}
#page-follow .f2msg-k::before{content:"";width:7px;height:7px;border-radius:50%;background:#25D366;flex:none}
#page-follow .f2msgl.ig .f2msg-k::before{background:#E1306C}#page-follow .f2msgl.ic .f2msg-k::before{background:#E5484D}
#page-follow .f2msg-h{color:color-mix(in srgb,var(--gacc) 80%,#fff)}
#page-follow .f2msg-t{font-size:14px;line-height:1.5;color:var(--tg-ink)}

/* buttons: glass pills; Sent is the one bright white button; app buttons are plain glass with a coloured dot */
html body #page-follow .f2 .btn.f2b:not(#_):not(#_):not(#_),html body #page-follow .f2 .btn.f2ghost:not(#_):not(#_):not(#_),html body #page-follow .f2 .btn.f2pri:not(#_):not(#_):not(#_){border-radius:var(--tg-r-ctl)!important;padding:8px 11px;font:600 12.5px "Inter Tight",system-ui,sans-serif;transition:transform 120ms var(--tg-ease),background 120ms}
html body #page-follow .f2 .btn.f2b:not(#_):not(#_):not(#_),html body #page-follow .f2 .btn.btn.btn.ch:not(.primary):not(.goldbtn):not(#_):not(#_):not(#_){background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)!important;color:var(--tg-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)!important;gap:7px}
html body #page-follow .f2 .btn.btn.btn.ch:not(.primary):not(.goldbtn):not(#_):not(#_):not(#_)::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tg-ink-3);flex:none}
#page-follow .f2 .btn.ch-wa::before{background:#25D366!important}#page-follow .f2 .btn.ch-im::before{background:#3A8BF0!important}
#page-follow .f2 .btn.ch-ic::before{background:#E5484D!important}#page-follow .f2 .btn.ch-ig::before{background:#E1306C!important}
html body #page-follow .f2 .btn.f2ghost:not(#_):not(#_):not(#_){background:transparent!important;border-color:transparent!important;color:var(--tg-ink-2)!important;box-shadow:none!important}
html body #page-follow .f2msgl .btn.f2ghost.f2cp:not(#_):not(#_):not(#_){background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)!important;color:var(--tg-ink)!important}
html body #page-follow .f2 .btn.f2pri:not(#_):not(#_):not(#_){background:linear-gradient(180deg,#fff,#E9EBEE)!important;color:#141414!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:inset 0 1px 0 #fff,0 8px 22px -10px rgba(255,255,255,.45)!important}
@media (hover:hover) and (pointer:fine){html body #page-follow .f2 .btn.f2b:not(#_):not(#_):not(#_):hover,html body #page-follow .f2 .btn.btn.btn.ch:not(.primary):not(.goldbtn):not(#_):not(#_):not(#_):hover{background:rgba(255,255,255,.1)!important}}
#page-follow .f2 .btn:active{transform:scale(.97)}
#page-follow .f2acts{gap:6px;flex-wrap:wrap;justify-content:flex-end}
#page-follow .f2 .btn .f2ar{display:none}   /* the coloured dot already says which app */
#page-follow .f2type{text-transform:none;letter-spacing:0;font:600 12.5px "Inter Tight",system-ui,sans-serif}

/* the little pop-outs inside a row (Sent → next date, Stop → why): darker raised glass */
html body #page-follow .f2drw:not(#_):not(#_):not(#_){background:var(--tg-raised);-webkit-backdrop-filter:blur(40px) saturate(180%);backdrop-filter:blur(40px) saturate(180%);border:1px solid var(--tg-edge-2);border-radius:var(--tg-r-card);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 30px 60px -24px rgba(0,0,0,.85);padding:14px 16px}
#page-follow .f2chip{border-radius:999px;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.06);padding:7px 12px}
#page-follow .f2chip.on{background:#fff;color:#141414;border-color:#fff}
#page-follow .f2date,#page-follow .f2note{border-radius:12px;border-color:rgba(255,255,255,.1);background:rgba(0,0,0,.3);box-shadow:inset 0 1px 2px rgba(0,0,0,.5)}
#page-follow .f2pill{border-radius:999px}

/* phone (inside /phone, Sales → Follow-ups, html.fl-only): same room and glass, lighter blur so long lists stay smooth */
html.fl-only,html.fl-only body:not(#_):not(#_):not(#_){background:
    radial-gradient(420px 320px at 70% -6%,color-mix(in srgb,#E8622E 18%,transparent),transparent 64%),
    var(--tg-room)!important}
html.fl-only body .wrap:not(#_a):not(#_b):not(#_c),html.fl-only body .wrap>.page:not(#_a):not(#_b):not(#_c){background:transparent!important}
html.fl-only body #page-follow .f2big button:not(#_):not(#_):not(#_),html.fl-only body #page-follow .f2t:not(#_):not(#_):not(#_),html.fl-only body #page-follow .f2stg:not(#_):not(#_):not(#_){-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--tg-edge);border-radius:20px}
html.fl-only body #page-follow .f2big button.on:not(#_):not(#_):not(#_){border-color:color-mix(in srgb,#E8622E 42%,transparent)}
@media (max-width:600px){
  #page-follow .f2r{padding:14px 16px}
  #page-follow .f2acts{justify-content:flex-start}
  html body #page-follow .f2 .btn.f2b:not(#_):not(#_):not(#_),html body #page-follow .f2 .btn.f2pri:not(#_):not(#_):not(#_),html body #page-follow .f2 .btn.f2ghost:not(#_):not(#_):not(#_){min-height:40px}
}

/* comfort settings */
@media (prefers-reduced-transparency:reduce){
  #page-follow .f2big button,#page-follow .f2t,#page-follow .f2stg,#page-follow .f2drw{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#141416!important}
}
@media (prefers-reduced-motion:reduce){#page-follow .f2 .btn,#page-follow .f2big button{transition:none!important}}

/* Content filter bar stays on one line on wide screens (Cameron: the wrapped search box made the bar taller) */
@media (min-width:1360px){
  html body .ctbar .tools:not(#g):not(#g):not(#g){flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;min-width:0!important}
  html body .ctbar .tools>.seg:not(#g):not(#g):not(#g),html body .ctbar .tools>.select:not(#g):not(#g):not(#g){flex:none!important;flex-wrap:nowrap!important;white-space:nowrap!important}
  html body .ctbar .seg button:not(#g):not(#g):not(#g){padding:0 8px!important;font-size:12.5px!important;flex:none!important}
  html body .ctbar .tools input:not(#g):not(#g):not(#g){flex:1 1 0!important;min-width:100px!important;width:0!important}
}

/* ================= Spacing pass (25 Nov, Cameron in his TurbAine view: "the top bar is far too squashed",
   "the tiles inside are touching the sides", "the tiles should just float on screen") ================= */
/* top bar (TurbAine view and narrow windows): a proper 60px glass bar with room round the title and tabs */
html body .mbhead .navwrap:not(#g):not(#g):not(#g){min-height:60px!important;padding:10px 12px 10px 22px!important;gap:22px!important;align-items:center!important}
html body .mbhead .pages button:not(#g):not(#g):not(#g),html body .mbhead .navg button:not(#g):not(#g):not(#g){height:38px!important;padding:0 16px!important;display:inline-flex;align-items:center}
html body .mbhead header.top:not(#g):not(#g):not(#g){align-items:center!important;gap:10px!important}
html body .mbhead header.top .btn:not(#g):not(#g):not(#g){height:42px!important;padding:0 18px!important}
html body .mbhead:not(#g):not(#g):not(#g){align-items:center!important;padding-top:18px!important;padding-bottom:18px!important}
/* a panel with no padding of its own is just a holder for tiles: no glass box round it (js/turbaine-glass.js marks it) */
html body .page .panel.tg-bare:not(#g):not(#g):not(#g){background:none!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* even rhythm: sections 32px apart, 12px from a heading to its panel, panels padded 20/22 so tiles never touch the edge */
html body #schBody:not(#g):not(#g):not(#g){display:flex!important;flex-direction:column!important;gap:30px!important}
html body .page .sec:not(#g):not(#g):not(#g){gap:12px!important}
@media (min-width:901px){
  html body .page .panel:not(.tg-bare):not(#g):not(#g):not(#g){padding:20px 22px!important}
  html body .wrap>.page:not(#g):not(#g):not(#g){gap:32px!important}
}

/* ---------- Brighter room (25 Nov 2026, Cameron: liked the phone's colour glow, "the black background is a bit dull").
   Same section-colour light as the phone, scaled up for desktop: a strong glow from the top, a softer one bottom left,
   and a lifted near-black instead of flat black. ---------- */
html body:not(#g):not(#g):not(#g){
  background:
    radial-gradient(80% 70% at 62% -12%,color-mix(in srgb,var(--gacc,#3A8BF0) 42%,transparent),transparent 64%),
    radial-gradient(60% 70% at -6% 108%,color-mix(in srgb,var(--gacc,#3A8BF0) 18%,transparent),transparent 62%),
    radial-gradient(50% 60% at 106% 58%,rgba(255,255,255,.035),transparent 60%),
    linear-gradient(180deg,#0d0d10 0%,#08080a 55%,#060607 100%)!important;
  background-attachment:fixed!important;
}
html body:has(#page-score:not([hidden])):not(#g):not(#g):not(#g){
  background:
    radial-gradient(760px 400px at 50% 230px,rgba(243,185,41,.16),transparent 70%),
    radial-gradient(80% 70% at 62% -12%,color-mix(in srgb,#3A8BF0 40%,transparent),transparent 64%),
    radial-gradient(60% 70% at -6% 108%,color-mix(in srgb,#3A8BF0 18%,transparent),transparent 62%),
    linear-gradient(180deg,#0d0d10 0%,#08080a 55%,#060607 100%)!important;
  background-attachment:fixed!important;
}
/* inside the TurbAine app (html.framed) the page is see-through, so the app's own glow (fixed to the window, in the room's colour)
   shows behind it instead of a glow that scrolls away with a tall page */
html.framed,html.framed body:not(#g):not(#g):not(#g){background:transparent!important}
html.framed body:has(#page-score:not([hidden])):not(#g):not(#g):not(#g){background:radial-gradient(760px 400px at 50% 230px,rgba(243,185,41,.16),transparent 70%) no-repeat!important}

/* ---------- Bars are tinted glass, never black (25 Nov 2026, Cameron: "this bar at the top still black?", "should be glass like this"
   = the Finance title bar). No dark backing behind the header; the title bar, period bar and "Needs you today" strips are glass lit by the section colour. ---------- */
html body .mbhead:not(#g):not(#g):not(#g){background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding-left:0!important;padding-right:0!important}
html body .mbhead .navwrap:not(#g):not(#g):not(#g){background:radial-gradient(90% 180% at 0% 0%,color-mix(in srgb,var(--gacc,#3A8BF0) 22%,transparent),transparent 62%),var(--tg-glass)!important;border:1px solid color-mix(in srgb,var(--gacc,#3A8BF0) 28%,rgba(255,255,255,.08))!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important}
html body #mbPeriod:not(#g):not(#g):not(#g),html body .nd-strip:not(#g):not(#g):not(#g),html body #clCount:not(#g):not(#g):not(#g),html body #ovdList:not(#g):not(#g):not(#g){background:radial-gradient(70% 200% at 0% 0%,color-mix(in srgb,var(--gacc,#3A8BF0) 10%,transparent),transparent 65%),var(--tg-glass)!important;border:1px solid var(--tg-edge)!important;box-shadow:var(--tg-top)!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important}
