/* TC glass look (22 Oct 2026, Cameron: whole system "like that guy's… in our colour scheme").
   Glossy black/grey cards with a gold sheen, no tiles inside tiles, room under every heading, clean tables,
   soft black and gold glow background instead of the moving grid. Pages opt in by being listed in :is() below.
   Undo for one page = remove it from the lists; undo for all = remove the <link> to this file. Finance is never listed. */
:root{--tg1:#17171a;--tg2:#0c0c0e;--tgold:#E6E8EC}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel{border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,0) 120px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;
  border:1px solid rgba(255,255,255,.07)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 40px -24px rgba(0,0,0,.9)!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel .panel,
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel .tablewrap{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .sec>.phead{margin-bottom:14px!important;padding-left:2px}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .sec{margin-top:16px}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) th,:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) td{border-left:0!important;border-right:0!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) thead th{background:#0f0f11!important;background-image:none!important;color:#7d838c!important;font:600 11px/1.2 var(--body,Inter Tight,system-ui)!important;letter-spacing:.02em!important;text-transform:none!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) tbody td{background:none!important;border-color:rgba(255,255,255,.05)!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) tbody tr:hover td{background:rgba(230,232,236,.035)!important}
body:has(:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner):not([hidden])) #v7gl{display:none!important}
body:has(:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner):not([hidden])){background:radial-gradient(900px 520px at 12% -8%,rgba(230,232,236,.10),transparent 60%),radial-gradient(800px 600px at 100% 100%,rgba(160,165,175,.06),transparent 60%),linear-gradient(180deg,#0a0a0b,#050506)!important;background-attachment:fixed!important}
/* panels that hold cards go flat; the cards are the tiles (no tiles inside tiles) */
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel:has(.cc){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
:is(#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .cc{border-radius:16px!important;border:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 90px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 14px 34px -22px rgba(0,0,0,.9)!important}
/* DM insights part headings ("1 The big picture") in the same heading font as every other heading (Cameron 22 Oct: "wrong font?") */
/* Overview + Clients (22 Oct): inner tiles go flat inside their card, number boxes become plain columns split by hairlines */
:is(#page-dmins,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel .kpi,

#page-score #updPanel .rh-col,#page-clients #clQuick,#page-retention #rtHealthP>div{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
:is(#page-dmins,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content,#page-ideas,#page-planner) .panel .kpi+.kpi{border-left:1px solid rgba(255,255,255,.07)!important}
#page-score #sysFold{background:none!important;border:0!important;box-shadow:none!important}
/* Content (22 Oct, after TurbAine Manager finished Ideas): planner days are the cards, posts are rows; Performance winners flat inside their card */
#page-planner .panel:has(.pday){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#page-planner .pday{border-radius:16px!important;border:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 90px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 14px 34px -22px rgba(0,0,0,.9)!important}
#page-planner .pday.today{border-color:rgba(230,232,236,.4)!important}
#page-planner .pitem{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
#page-planner .pitem:last-child{border-bottom:0!important}
#page-content .panel .win{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* No crosshair grid anywhere (Cameron 22 Oct: "crosshairs are still in the background of the header… on every page"): the moving 3D grid and the
   painted grid lines both go, every page gets the same soft black and gold glow, and the see-through header shows that instead */
#v7gl{display:none!important}
html body{background:radial-gradient(900px 520px at 12% -8%,rgba(230,232,236,.10),transparent 60%),radial-gradient(800px 600px at 100% 100%,rgba(160,165,175,.06),transparent 60%),linear-gradient(180deg,#0a0a0b,#050506)!important;background-attachment:fixed!important}
/* Overview fix list (22 Oct, "looks amateur"): calm glossy cards, the number carries the colour (amber = to do, green = clear), no orange glow boxes */
html body .fx-b:not(#_):not(#__){background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 70%),linear-gradient(160deg,#17171a,#0c0c0e)!important;border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;border-radius:14px!important;padding:14px 16px!important;gap:6px!important}
html body .fx-b:not(.zero) b{color:#E6E8EC!important;font:400 30px/1 var(--display,Bebas Neue,sans-serif)!important;letter-spacing:.02em}
html body .fx-b.zero b{color:#3ee07a!important;font:400 30px/1 var(--display,Bebas Neue,sans-serif)!important}
html body .fx-b span{font:500 12.5px/1.25 var(--body,Inter Tight,system-ui)!important;color:#a3a9b2!important}
html body .fx-b:not(.zero):hover{border-color:rgba(230,232,236,.45)!important}
/* tables: a number and its small print on one tidy block, lighter rows, roomier */
:is(#page-calls,#page-follow,#page-dmins,#page-ads,#page-score,#page-report,#page-monthly,#page-clients,#page-retention,#page-content) tbody td{padding-top:12px!important;padding-bottom:12px!important;vertical-align:middle!important}
:is(#page-calls,#page-dmins,#page-ads,#page-score,#page-monthly,#page-clients,#page-retention,#page-content) td.num .note{display:inline!important;margin-left:6px;font-size:11px!important;color:#7d838c!important;white-space:nowrap}
:is(#page-calls,#page-dmins,#page-ads,#page-score,#page-monthly,#page-clients,#page-retention,#page-content) td.num .note+.note::before{content:"· "}
/* ===== Overview redesign (22 Oct 2026, Cameron approved the mockup: "now we're talking") =====
   money first, then the Fix list, then Today as three cards, one line per person; the long sentence and the duplicate stats row go */
html body #mornP:not(#_):not(#__){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#page-score>.hero,#page-score #dstats{display:none!important}
.ovhero{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:16px;margin-bottom:8px}
.ovhero:empty{display:none}
.ov-c{display:flex;flex-direction:column;gap:8px;border-radius:18px;border:1px solid rgba(255,255,255,.08);padding:20px 22px;min-width:0;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 110px),linear-gradient(160deg,var(--tg1),var(--tg2));box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 40px -24px rgba(0,0,0,.9)}
.ov-c .k{font:600 12px/1 var(--body,Inter Tight,system-ui);color:#8d939c}
.ov-c b{font:400 40px/1 var(--display,Bebas Neue,sans-serif);letter-spacing:.01em;color:#f5f6f8}
.ov-c .s{font-size:12.5px;color:#8d939c;line-height:1.4}.ov-c .s em{font-style:normal}.ov-c .s .bad{color:#ff6b6b}.ov-c .s .good{color:#3ee07a}
.ov-main{border-color:rgba(230,232,236,.35);background:radial-gradient(120% 90% at 0% 0%,rgba(230,232,236,.16),transparent 60%),linear-gradient(160deg,#151619,#0c0c0e)}
.ov-main b{font-size:64px;color:#E6E8EC;text-shadow:0 0 22px rgba(230,232,236,.35)}
.ov-bar{position:relative;height:8px;border-radius:99px;background:rgba(255,255,255,.07)}.ov-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#9aa0a8,#E6E8EC)}
.ov-bar u{position:absolute;top:-3px;bottom:-3px;width:2px;background:#fff;opacity:.75}
#mornP .fx-h{display:flex;align-items:baseline;gap:12px;margin:26px 2px 14px}
#mornP .fx-h .meta{font-size:12.5px;color:#8d939c}
html body #mornP .fx-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html body #mornP .fx-b:not(#_):not(#__){flex-direction:row!important;justify-content:space-between;align-items:flex-end!important;text-align:left}
#mornP .fx-n{display:flex;flex-direction:column;gap:8px}#mornP .fx-b em{font:600 12px/1 var(--body);font-style:normal;color:#E6E8EC;white-space:nowrap}#mornP .fx-b.zero em{color:#3ee07a}
#mornP .fx-b.zero{opacity:.75}
html body #mornP .mn-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html body #mornP .mn-t:not(#_){border-radius:18px!important;border:1px solid rgba(255,255,255,.08)!important;padding:18px 22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 110px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 40px -24px rgba(0,0,0,.9)!important}
html body #mornP .mn-h{display:flex!important;justify-content:space-between;align-items:center;margin-bottom:4px}
html body #mornP .mn-h .linkbtn{color:#E6E8EC!important;font:600 12px/1 var(--body)!important;margin-left:auto}
html body #mornP .mn-l{display:flex!important;flex-direction:column!important;gap:0!important;flex-wrap:nowrap!important}
html body #mornP .mn-l .mn-p:not(#_){display:flex!important;align-items:center;gap:12px;width:100%;padding:11px 0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;box-shadow:none!important;font:500 13.5px/1.3 var(--body)!important;color:#eef0f4!important;text-align:left}
html body #mornP .mn-l .mn-p:last-child{border-bottom:0!important}
html body #mornP .mn-l .mn-p:hover{color:#fff!important;background:rgba(255,255,255,.02)!important}
#mornP .mn-tm{font:400 20px/1 var(--display,Bebas Neue,sans-serif);color:#E8622E;width:52px;flex:none}
#mornP .mn-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#mornP .mn-dot{width:8px;height:8px;border-radius:50%;background:var(--c);flex:none}
#mornP .mn-pill{margin-left:auto;flex:none;font:600 11px/1 var(--body);padding:4px 9px;border-radius:99px;color:var(--c);border:1px solid color-mix(in srgb,var(--c) 40%,transparent)}
@media (max-width:1100px){.ovhero{grid-template-columns:1fr 1fr}html body #mornP .fx-row{grid-template-columns:repeat(2,1fr)}html body #mornP .mn-grid{grid-template-columns:1fr!important}}
/* 22 Oct (Cameron, showing the Monthly page's tiles: "i prefer this"): the Overview money card in the same style as Monthly's Total cash,
   blue for money with white numbers, not gold; and the Monthly tab keeps its own row instead of a second money row on top */
.ov-main{border-color:rgba(58,139,240,.35)!important;background:radial-gradient(120% 90% at 0% 0%,rgba(58,139,240,.18),transparent 60%),linear-gradient(160deg,#10141b,#0c0c0e)!important}
.ov-main b{color:#f5f6f8!important;text-shadow:none!important;font-size:56px!important}
.ov-bar i{background:linear-gradient(90deg,#2a6cc4,#3A8BF0)!important}
.ov-c .k{font:700 11px/1 var(--body,Inter Tight,system-ui)!important;letter-spacing:.14em!important;text-transform:uppercase}
#page-monthly #ovHeroBox{display:none!important}
/* the Monthly tiles keep their own cards when they sit in the Overview top line */
html body #mornP #monthKpis .kpi:not(#_):not(#__){border-radius:18px!important;border:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 110px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 40px -24px rgba(0,0,0,.9)!important}
html body #mornP #monthKpis .kpi.hero:not(#_):not(#__){border-color:rgba(58,139,240,.35)!important;background:radial-gradient(120% 90% at 0% 0%,rgba(58,139,240,.18),transparent 60%),linear-gradient(160deg,#10141b,#0c0c0e)!important}
html body #mornP #monthKpis .kpi+.kpi{border-left:1px solid rgba(255,255,255,.08)!important}
/* 22 Oct (Cameron): the coloured strip under the page title becomes a proper tile, in the page's colour, with the page title on it */
@media (min-width:601px){
html body .mbhead:not(#_):not(#__){margin:-12px 0 0!important;border-radius:20px!important;border:1px solid color-mix(in srgb,var(--gacc,#3A8BF0) 32%,rgba(255,255,255,.06))!important;
  background:radial-gradient(90% 160% at 0% 0%,color-mix(in srgb,var(--gacc,#3A8BF0) 22%,transparent),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 70%),linear-gradient(160deg,#141518,#0b0b0d)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 20px 44px -26px rgba(0,0,0,.95)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;padding:16px 20px!important;top:10px!important}
html body .mbhead .top::before{display:none!important}
html body .navwrap{flex-direction:row!important;align-items:center!important;gap:18px!important}
html body .navwrap::before{font:400 30px/1 var(--display,Bebas Neue,sans-serif);letter-spacing:.03em;color:#f5f6f8;white-space:nowrap}
body[data-group="overview"] .navwrap::before{content:"Overview"}body[data-group="sales"] .navwrap::before{content:"Sales"}
body[data-group="clients"] .navwrap::before{content:"Clients"}body[data-group="content"] .navwrap::before{content:"Content"}body[data-group="all"] .navwrap::before{content:"TurbAine"}
}
/* sticky period bars sit clear of the title tile when you scroll (Cameron 22 Oct: "i dont like how these touch") */
@media (min-width:601px){html body .adbar:not(#_),html body #page-content>.ctbar:not(#_){top:calc(var(--mbh,0px) + 22px)!important}}
/* ===== Sales redesign (22 Oct 2026, Cameron: "yes to sales page") ===== */
/* the flow in Sales orange */
#page-calls{--gline:rgba(232,98,46,.55)!important}
#page-calls .fl-st.hero{border-color:rgba(232,98,46,.4)!important;background:radial-gradient(120% 90% at 0% 0%,rgba(232,98,46,.18),transparent 60%),linear-gradient(160deg,#1a1210,#0c0c0e)!important;box-shadow:inset 0 1px 0 rgba(255,200,170,.18),0 20px 50px -20px rgba(232,98,46,.22)!important}
#page-calls .fl-st.hero .fl-v{color:#ff9a6b!important;text-shadow:0 0 22px rgba(232,98,46,.35)!important}
#page-calls .fl-st::before{background:linear-gradient(90deg,transparent,rgba(232,98,46,.6),transparent)!important}
#page-calls .fl-j::before{box-shadow:0 0 6px rgba(232,98,46,.5)!important}
#page-calls .fl-c{border-color:rgba(232,98,46,.4)!important;background:linear-gradient(180deg,#1c130f,#0e0b0a)!important;color:#a3a9b2!important}#page-calls .fl-c b{color:#ff9a6b!important}
/* What's working: ranked lists with a share bar */
#page-calls .rk-cell{min-width:180px;width:40%}
#page-calls .rk-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden;margin-bottom:6px}
#page-calls .rk-bar i{display:block;height:100%;border-radius:99px;background:var(--c);box-shadow:0 0 8px color-mix(in srgb,var(--c) 50%,transparent)}
#page-calls .rk-cell .note{display:block!important;margin:0!important;font-size:11.5px!important;color:#8d939c!important}
#page-calls .rk-pill{display:inline-flex;font:600 12px/1 var(--body);padding:5px 10px;border-radius:99px;color:var(--c);border:1px solid color-mix(in srgb,var(--c) 45%,transparent)}
#page-calls :is(#bySource,#byCloser,#byWarm,#byScore) td.num{font-weight:600;color:#eef0f4}
/* Sales To do cards like the mockup: big time on the left, name, source, ticks, outcome pill on the right; phone and Open tucked away (tap the row) */
#callPanel .crow2.cc{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;column-gap:14px!important;row-gap:5px!important;padding:13px 2px!important;cursor:pointer}
#callPanel .cc .cc-1{display:contents!important}
#callPanel .cc .cc-when{grid-column:1;grid-row:1/4;align-self:start;display:flex;flex-direction:column;gap:3px;font-size:10.5px!important;color:#7d838c!important;text-align:left!important}
#callPanel .cc .cc-when b{font:400 22px/1 var(--display,Bebas Neue,sans-serif)!important;color:#E8622E!important;letter-spacing:.02em}
#callPanel .cc .cc-nm{grid-column:2;grid-row:1;font:600 14.5px/1.2 var(--body,Inter Tight,system-ui)!important;color:#f2f3f5!important;text-align:left}
#callPanel .cc .cc-2,#callPanel .cc .cc-3{grid-column:2;display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 10px!important;font-size:12px!important;padding:0!important}
#callPanel .cc .c-tel,#callPanel .cc .cc-sep,#callPanel .cc .cc-act,#callPanel .cc .cc-bk{display:none!important}
#callPanel .cc .cc-out{margin-left:auto;font:600 11px/1 var(--body,Inter Tight,system-ui)!important;padding:5px 10px!important;border-radius:99px!important;border:1px solid rgba(255,255,255,.18)!important;color:#d6d9de!important;background:none!important}
#callPanel .cc .cc-m.ok{color:#8a8f98!important;font-weight:500;opacity:1}#callPanel .cc .cc-m.bad,#callPanel .cc .cc-m.no{color:#ff6b6b!important;font-weight:600}#callPanel .cc .cc-m.na{color:#6f757d!important}
/* Follow-ups: the message inside each card is a quote with a gold line, not a box inside the card */
#page-follow .fl-card .fu-msg:not(#_){background:none!important;border:0!important;border-left:2px solid rgba(230,232,236,.5)!important;border-radius:0!important;padding:2px 0 2px 12px!important;box-shadow:none!important;color:#d6d9de!important}
/* the green "updated today" chips go quiet: plain small green text */
html body .phead .chip.good:not(#_),html body .fresh-ok:not(#_){background:none!important;border:0!important;padding:0!important;font-weight:500!important;opacity:.8}
/* ===== Layout pass on the remaining pages (22 Oct 2026, Cameron: "do the layout on all other pages too in one go") ===== */
/* Retention: the numbers first, the explaining sentence after them */
#page-retention>.hero{order:1}#page-retention>*:not(.hero):not(#rtKpis):not(#mornP){order:2}
/* Content Performance: the numbers straight under the period bar, the notes card after them */
#page-content>.ctbar{order:0}#page-content>#ctKpis{order:1}#page-content>*:not(.ctbar):not(#ctKpis){order:2}
/* Ads: the small boxes inside each ad card become plain columns split by thin lines */
#page-ads .agm:not(#_){background:none!important;border:0!important;border-radius:0!important;padding:4px 12px!important}
#page-ads .agg{gap:0!important}#page-ads .agm+.agm{border-left:1px solid rgba(255,255,255,.08)!important}
#page-ads .agm i{letter-spacing:.06em!important;color:#8d939c!important}#page-ads .agm b{font:400 26px/1 var(--display,Bebas Neue,sans-serif)!important;letter-spacing:.01em}
/* every page's summary sentence card reads the same: one clean card, sentence first, small print below */
:is(#page-retention,#page-ads,#page-ideas,#page-content) .hero:not(#_){border-radius:18px!important;border:1px solid rgba(255,255,255,.08)!important;padding:20px 24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 110px),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 40px -24px rgba(0,0,0,.9)!important}
/* section labels between groups ("Your ads at a glance") in the heading font, like every other heading */
/* the line under "To do" was clipped at the top and left (Cameron 22 Oct): give it room */
#callPanel>.note,#callPanel>p,#callPanel>.phead+.note,#callPanel .ghl-note{margin:8px 4px 12px!important;padding:0!important;line-height:1.5!important;overflow:visible!important}
#callPanel{overflow:visible!important}
/* 22 Oct fixes after the live check */
/* 1. one title per page: the big gold title and greeting go, the title tile carries it */
@media (min-width:601px){html body .mbhead .top .brand:not(#_){display:none!important}html body .mbhead .top{min-height:0!important;padding:0!important;justify-content:flex-end}html body .mbhead{gap:0!important}
html body .mbhead .top{position:absolute!important;right:20px;top:50%;transform:translateY(-50%);z-index:2}html body .mbhead #fresh{order:-1!important;position:static!important;margin:0 6px 0 0!important;white-space:nowrap;color:#8d939c!important;font-size:11.5px!important}}
/* 2. the line under To do: inside the page edge, nothing clipped */
#page-calls #callPanel p.note:not(#_){margin:6px 0 12px!important;padding:0 2px!important;text-indent:0!important;white-space:normal!important;overflow:visible!important}
/* 3. Clients count card: the Plan / Coach / Status pills become plain text */
#clCount .clc-chip:not(#_){background:none!important;border:0!important;padding:0 14px 0 0!important;box-shadow:none!important}
/* 4. Planner "This week": no tall empty card */
#page-planner>.panel:first-of-type:not(#_){min-height:0!important;padding-bottom:16px!important}#page-planner>.panel:first-of-type *{min-height:0!important}
@media (min-width:601px){html body .mbhead .top .controls .btn{white-space:nowrap!important}html body .mbhead .top .controls{flex-wrap:nowrap!important;gap:8px!important}}
/* Calls: no big empty gap between the flow and To do (Cameron 22 Oct) */
#page-calls.page{gap:22px!important}#page-calls .fl-flags{margin:10px 0 0!important}
#page-calls #callPanel .phead{margin-bottom:4px!important}#page-calls #callPanel p.note:not(#_){margin:2px 0 10px!important}
/* Title tile done properly (Cameron 22 Oct: "looks dreadful"): one row, title + tabs on the left, month + buttons on the right, nothing squeezed or stacked */
@media (min-width:601px){
html body .mbhead:not(#_):not(#__){flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
html body .mbhead .navwrap{order:1;flex:1 1 auto;min-width:0}
html body .mbhead .top:not(#_){order:2;position:static!important;transform:none!important;flex:0 0 auto;display:flex!important;align-items:center!important;margin:0!important}
html body .mbhead .top .controls,html body .mbhead #monthCtl{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}
html body .mbhead .seg{flex-wrap:nowrap!important;flex-direction:row!important}html body .mbhead .seg button,html body .mbhead .btn{white-space:nowrap!important}
html body .mbhead #fresh{display:none!important}
}
@media (min-width:601px) and (max-width:1350px){html body .mbhead:not(#_):not(#__){flex-wrap:wrap!important}html body .mbhead .top:not(#_){order:0;width:100%;justify-content:flex-end}}
/* pages with their own period bar (DM insights, Ads, Content Performance) don't show the title tile's month toggle (Cameron 22 Oct) */
body:has(:is(#page-dmins,#page-ads,#page-content):not([hidden])) #monthCtl{display:none!important}
/* the month filter bar under the title tile (same look as the DM insights / Ads period bars) */
.mbperiod{display:flex;align-items:center;gap:10px;margin:14px 0 4px;padding:8px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(160deg,#141518,#0b0b0d)}
.mbperiod #monthCtl{display:flex!important;gap:8px;align-items:center}
body:has(:is(#page-dmins,#page-ads,#page-content):not([hidden])) .mbperiod{display:none!important}
/* 22 Oct round 2 */
/* title tile buttons: plain glass with white text, no tinted text or glow */
html body .mbhead .btn:not(#_):not(#__):not(#___){background:rgba(255,255,255,.06)!important;color:#f2f3f5!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
html body .mbhead .btn:hover{background:rgba(255,255,255,.12)!important}
html body .mbhead .btn svg{color:#f2f3f5!important;stroke:currentColor!important}
/* the month bar holds under the title tile when scrolling, like the other period bars */
@media (min-width:601px){.mbperiod{position:sticky;top:calc(var(--mbh,72px) + 22px);z-index:35;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:rgba(18,18,20,.82)!important}}
/* no extra gap between the side menu and the page */
html:root .wrap:not(#_){padding-left:6px!important}
/* Fix list numbers coloured by what they are (Cameron 22 Oct): red = something broke (WhatsApp failed, failed payments), orange = Sales work (follow-ups, rebooking, results); a zero stays green */
html body .fx-b[data-fx="wa"]:not(.zero) b,html body .fx-b[data-fx="fail"]:not(.zero) b{color:#ff6b6b!important}
html body .fx-b[data-fx="fl"]:not(.zero) b,html body .fx-b[data-fx="can"]:not(.zero) b,html body .fx-b[data-fx="res"]:not(.zero) b{color:#ff9a6b!important}
html body .fx-b[data-fx="wa"]:not(.zero),html body .fx-b[data-fx="fail"]:not(.zero){border-color:rgba(255,107,107,.28)!important}
html body .fx-b[data-fx="fl"]:not(.zero),html body .fx-b[data-fx="can"]:not(.zero),html body .fx-b[data-fx="res"]:not(.zero){border-color:rgba(232,98,46,.28)!important}
/* Failed payments to chase (Cameron 22 Oct: "can look better"): one tidy row each: name + account, short reason, amount, status, buttons */
#fails .item:not(#_){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto;column-gap:18px;row-gap:4px;align-items:center;padding:16px 4px!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
#fails .item:last-child{border-bottom:0!important}
#fails .item .who{grid-column:1;font:600 15px/1.2 var(--body,Inter Tight,system-ui)!important;display:flex;align-items:center;gap:8px}
#fails .item .det{grid-column:1;font-size:12.5px!important;color:#8d939c!important}#fails .item .det b{color:#ff8a8a;font-weight:600}
#fails .item .fem{grid-column:1;font-size:11.5px;color:#6f757d}
#fails .item .right{grid-column:2;grid-row:1/4;display:flex!important;align-items:center;gap:10px;justify-content:flex-end}
#fails .item .right .num{font:400 26px/1 var(--display,Bebas Neue,sans-serif)!important;letter-spacing:.01em;color:#ff6b6b!important;margin-right:6px}
/* list hovers (Cameron 22 Oct: "just a glow not box"): no hard tinted rectangle; a soft rounded glow in the page colour that fades out */
html body :is(.item,.crow,.crow2,.iv-row,.lk-panel .item):hover:not(#_){background:radial-gradient(70% 140% at 12% 50%,color-mix(in srgb,var(--gacc,#9aa0a8) 12%,transparent),transparent 70%)!important;box-shadow:none!important;border-radius:14px}
html body tbody tr:hover td:not(#_){background:none!important}
html body tbody tr:hover:not(#_){background:radial-gradient(60% 220% at 15% 50%,color-mix(in srgb,var(--gacc,#9aa0a8) 12%,transparent),transparent 72%)!important}
html body tbody tr{transition:background .2s}html body :is(.item,.crow,.crow2){transition:background .2s}
/* one filter bar, same place on every page: pages with their own bar (DM insights, Ads, Content) show theirs there; pages with the month filter show it there; pages with no filter show no empty box */
.mbperiod:empty,.mbperiod:has(>#monthCtl[hidden]){display:none!important}
@media (min-width:601px){html body #page-dmins>.adbar,html body #page-ads>.adbar,html body #page-content>.ctbar,.mbperiod{margin-top:14px!important;margin-bottom:4px!important;padding:8px 12px!important;border-radius:16px!important;min-height:52px;box-sizing:border-box;display:flex;align-items:center}}
/* the filter bar sits 12px under the title tile on every page (Cameron 22 Oct) */
@media (min-width:601px){html body .mbperiod:not(#_),html body #page-dmins>.adbar:not(#_),html body #page-ads>.adbar:not(#_),html body #page-content>.ctbar:not(#_){margin-top:-8px!important}}
/* Clients and Planner: the "Needs you today" strip is their filter bar, same place and look as every other page's bar */
@media (min-width:601px){html body :is(#page-clients,#page-planner) .nd-strip:not(#_){margin:-8px 0 0!important;padding:8px 12px!important;border-radius:16px!important;min-height:52px;box-sizing:border-box;border:1px solid rgba(255,255,255,.07);background:linear-gradient(160deg,#141518,#0b0b0d)}
}
/* Content filter bar: one left-aligned row like the others; search sits at the end of the row */
@media (min-width:601px){html body #page-content>.ctbar:not(#_){justify-content:flex-start!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto}
html body #page-content>.ctbar *{margin-left:0!important}
html body #page-content>.ctbar input[type=search]{width:200px!important;flex:0 0 200px;margin:0 0 0 auto!important;order:9}}
/* Content bar contents hard left; Clients / Planner bars stick under the title tile like the others */
@media (min-width:601px){html body #page-content>.ctbar>*:first-child{margin-left:0!important}html body #page-content>.ctbar:not(#_){justify-content:flex-start!important;text-align:left}html body #page-content>.ctbar>*{flex:0 0 auto!important}
html body :is(#page-clients,#page-planner) .nd-strip:not(#_){position:sticky;top:calc(var(--mbh,72px) + 22px);z-index:35;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:rgba(18,18,20,.82)}}
/* Content winners: each list is its own tile (Cameron 22 Oct); the outer card goes flat */
#page-content .panel:has(>.wins,.win):not(#_){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#page-content .win:not(#_):not(#__){border-radius:18px!important;border:1px solid rgba(255,255,255,.08)!important;padding:18px 20px!important;
  background:radial-gradient(90% 60% at 0% 0%,color-mix(in srgb,var(--wc) 12%,transparent),transparent 60%),linear-gradient(160deg,var(--tg1),var(--tg2))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 40px -24px rgba(0,0,0,.9)!important}
#page-content .win h3{margin:0 0 12px!important}
#page-content :has(>.win){gap:16px!important}
@media (min-width:601px){html body #page-content>.ctbar:not(#_):not(#__){flex-direction:row!important;align-items:center!important;justify-content:flex-start!important}html body #page-content>.ctbar>.tools{flex:1 1 auto!important;justify-content:flex-start!important;margin:0!important}}
/* Follow-ups intro line was clipped at the left (Cameron 23 Oct) */
#page-follow #flPanel>.note,#page-follow #flPanel>p{margin:6px 0 12px!important;padding:0 2px!important;text-indent:0!important;overflow:visible!important;white-space:normal!important}
#page-follow #flPanel{overflow:visible!important}
