/* v349: Home uses the Programmes page's tabs and cards, so the whole
   platform reads as one system. */
#main #dTiles.h-tabs{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin:6px 0 22px!important}
#main .pl-tab.k-needs{--k:#C2412B}
#main .pl-tab.k-clients{--k:#5F7000}
#main .pl-tab.k-groups{--k:#6A45D6}
#main .pl-tab.k-training{--k:#2F5FD0}
#main .pl-tab.k-screening{--k:#0B7F93}
#main .pl-tab.k-diary{--k:#0F8A55}
#main .pl-tab.k-checkins{--k:#C2501A}
#main .h-tabs .pl-tab{min-width:0}
#main .h-tabs .pl-tab-t{white-space:nowrap;font-size:18px!important;gap:6px!important}
#main .h-tabs .pl-tab-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#main .h-tabs .pl-tab{padding:12px 10px!important}

/* Needs you cards: programme-card layout, red edge only when due */
#main li.pl-row.plc.hn-card{cursor:pointer}
#main li.pl-row.plc.hn-card.is-due{--k:#C2412B}
#main li.pl-row.plc.hn-card.is-clear{--k:#9AA08F}
#main .hn-card.is-due .plc-stats b{color:#C2412B}
#main .hn-card .pl-stat.is-bad{background:#FBE3DD;color:#9E2F1C}
#main .hn-card .pl-who{display:inline-flex;align-items:center;gap:4px}
#main .hn-sec .plc-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important}

/* An opened dashboard sits under the tabs with the same big title as a
   Programmes section, not a second boxed header. */
#main .h-pane .tp-head{background:none!important;border:0!important;padding:0!important;margin:0 0 12px!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
#main .h-pane .tp-head h3{font-family:var(--font-d);font-size:32px!important;line-height:1!important;text-transform:uppercase;letter-spacing:.02em;margin:0!important}
#main .h-pane{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}

@media (max-width:1100px){#main #dTiles.h-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:640px){
  #main #dTiles.h-tabs{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:4px!important;margin-left:-4px!important;margin-right:-4px!important}
  #main #dTiles.h-tabs .pl-tab{flex:0 0 46%!important;scroll-snap-align:start}
  #main .h-tabs .pl-tab-t{font-size:18px}
  #main .hn-sec .plc-grid{grid-template-columns:1fr!important}
  #main .h-pane .tp-head h3{font-size:26px!important}
}
html body #main .pl-tab.k-needs{--kb:#E0573F}
html body #main .pl-tab.k-clients{--kb:#DAFF01}
html body #main .pl-tab.k-groups{--kb:#8B6CFF}
html body #main .pl-tab.k-training{--kb:#2F6BFF}
html body #main .pl-tab.k-screening{--kb:#19B8D6}
html body #main .pl-tab.k-diary{--kb:#22B07D}
html body #main .pl-tab.k-checkins{--kb:#F5B82E}
html body #main .hn-card .pl-who em{font-size:12px!important;letter-spacing:0!important;font-style:normal;opacity:.75}

/* =========================================================================
   v357 (25 Oct) Home redesign + quiet sidebar. Rob: "it's now very busy".
   Colour now means one thing only: urgency (red / amber / grey dots).
   The v354 tile sidebar (coloured bands, mono subtitles) is gone: a plain
   list, icon + label, the page you are on gets a lime bar.
   ========================================================================= */
@media (min-width:700px){
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top{gap:2px!important;overflow-y:auto!important;min-height:0;scrollbar-width:thin}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav]{border-radius:8px!important;border-left:3px solid transparent!important;padding-top:8px!important;padding-bottom:8px!important;font-size:15px!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav].active,html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav][aria-current="page"]{border-left-color:#DAFF01!important;background:rgba(218,255,1,.10)!important;color:#fff!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav] .nav-ct{margin-left:auto;background:#E0573F;color:#fff;font-size:11.5px;font-weight:700;border-radius:999px;padding:1px 7px;line-height:1.5}
}
.nav-ct:empty{display:none}

/* ---- Home ---- */
html body #main .hx-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:4px 0 14px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}
html body #main .hx-head .eyebrow{margin:0 0 4px;font-size:12px}
html body #main .hx-head .hx-title{margin:0;font-family:var(--font-b);font-size:17px!important;font-weight:600;letter-spacing:0;text-transform:none;line-height:1.3}
html body #main .hx-head .actions{display:flex;gap:8px;flex-wrap:wrap}
.hx-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.hx-grid.is-open{grid-template-columns:minmax(0,1fr)}
.hx-grid.is-open .hx-side{display:none}
.hx-main,.hx-side{min-width:0;display:flex;flex-direction:column;gap:14px}
.hx-main>.section,.hx-side>.section{margin:0!important}
.hx-needs,.hx-side-card{padding:16px 18px!important}
.hx-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.hx-h h2{margin:0;font-size:20px;line-height:1.2}
.hx-n{display:inline-block;min-width:22px;text-align:center;background:#1E211A;color:#DAFF01;border-radius:999px;font-size:13px;padding:1px 8px;vertical-align:3px;font-family:var(--font-b)}
.hx-key{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted,#5E6356)}
.hx-key .hx-dot{margin-left:8px}
.hx-sub{font-size:13px;color:var(--muted,#5E6356);margin:0}
.hx-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;background:#B9BDB0}
.hx-dot.is-bad{background:#D93A25}.hx-dot.is-warn{background:#F0A21A}.hx-dot.is-low{background:#B9BDB0}
.hx-list{list-style:none;margin:0;padding:0}
.hx-row{display:grid;grid-template-columns:10px minmax(120px,190px) minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 4px;border-top:1px solid var(--line,#E2E4DC)}
.hx-row:first-child{border-top:0}
.hx-row[hidden]{display:none}
.hx-who{font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-why{font-size:14px;color:var(--ink-2,#3F433A);line-height:1.35}
.hx-why em{font-style:normal;font-size:12px;color:var(--muted,#5E6356);white-space:nowrap}
.hx-act{white-space:nowrap}
.hx-more{margin-top:8px;background:none;border:0;padding:6px 4px;font-weight:700;font-size:14px;cursor:pointer;color:inherit;text-decoration:underline}
.hx-clear{margin:4px 0;color:var(--muted,#5E6356)}
.hx-links{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;font-size:14px;color:var(--muted,#5E6356);padding:2px 4px}
.hx-link{background:none;border:0;padding:4px 0;font:inherit;color:var(--ink,#1E211A);cursor:pointer;border-bottom:2px solid transparent}
.hx-link b{color:var(--muted,#5E6356);font-weight:600;margin-left:2px}
.hx-link:hover,.hx-link.on{border-bottom-color:#DAFF01}
.hx-ag{list-style:none;margin:0;padding:0}
.hx-ag li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;align-items:center;padding:4px 0}
.hx-ag-d{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#5E6356)}
.hx-ag-s{text-align:left;background:none;border:0;padding:5px 6px;border-radius:6px;font:inherit;font-size:14px;color:inherit;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-ag-s:hover{background:rgba(0,0,0,.05)}
.hx-ag-s b{font-variant-numeric:tabular-nums;margin-right:4px}
.hx-btns{display:flex;gap:8px;margin-top:10px}
.hx-side .d-feed-top{margin:0!important}
html[data-theme="dark"] .hx-n{background:#DAFF01;color:#1E211A}
html[data-theme="dark"] .hx-ag-s:hover{background:rgba(255,255,255,.06)}
@media (max-width:1099px){
  .hx-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .hx-row{grid-template-columns:10px minmax(0,1fr) auto;grid-template-areas:"d w a" "d y a";row-gap:2px;column-gap:10px}
  .hx-row .hx-dot{grid-area:d;align-self:start;margin-top:6px}
  .hx-who{grid-area:w}.hx-why{grid-area:y;font-size:13px}.hx-act{grid-area:a}
  .hx-key{display:none}
  html body #main .hx-head .actions .hero-go{display:none}
}
html[data-theme="dark"] .hx-why{color:#C9CEBF}
html[data-theme="dark"] .hx-link{color:#EDF0E4}
html[data-theme="dark"] .hx-link b,html[data-theme="dark"] .hx-why em,html[data-theme="dark"] .hx-sub,html[data-theme="dark"] .hx-key,html[data-theme="dark"] .hx-ag-d{color:#A3A896}
@media (max-width:640px){ .hx-act{max-width:150px;white-space:normal;text-align:center;line-height:1.2} .hx-needs,.hx-side-card{padding:14px!important} }
/* v359b: stronger S&C look. Coloured tiles row, dark panel headers, compact Needs list. */
html body #main .hx-tiles{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 16px!important}
html body #main .hx-tiles .pl-tab{min-height:74px;padding:12px 14px!important;border-top-width:5px!important}
html body #main .hx-tiles .pl-tab-t{font-size:20px!important}
html body #main .hx-tiles .lib-cnt{font-size:13px!important;padding:1px 8px!important}
html body #main .pl-tab.k-analytics{--k:#C2412B;--kb:#E0573F}
.hx-needs,.hx-side-card{padding:0!important;overflow:hidden;border:1px solid #1E211A!important}
.hx-needs>.hx-h,.hx-side-card>.hx-h{background:#1E211A;color:#F4F6EE;margin:0;padding:10px 16px;align-items:center;border-bottom:3px solid #DAFF01}
.hx-needs>.hx-h h2,.hx-side-card>.hx-h h2{color:#F4F6EE;font-family:var(--font-d);text-transform:uppercase;letter-spacing:.03em;font-size:20px}
.hx-needs>.hx-h .hx-n{background:#DAFF01;color:#1E211A}
.hx-needs>.hx-h .hx-key,.hx-side-card>.hx-h .hx-sub{color:#C9CEBF}
.hx-needs>.hx-list,.hx-needs>.hx-clear,.hx-needs>.hx-more{margin-left:16px;margin-right:16px}
.hx-needs>.hx-more{margin-bottom:8px}
.hx-side-card>.hx-ag,.hx-side-card>.hx-clear,.hx-side-card>.hx-sub,.hx-side-card>.hx-btns{margin-left:16px;margin-right:16px}
.hx-side-card>.hx-ag{margin-top:8px}.hx-side-card>.hx-btns{margin-bottom:14px}
.hx-needs .hx-row{padding:6px 4px;gap:10px}
.hx-needs .hx-row.is-bad{box-shadow:inset 3px 0 0 #D93A25}.hx-needs .hx-row.is-warn{box-shadow:inset 3px 0 0 #F0A21A}
.hx-needs .hx-who{font-size:14px}.hx-needs .hx-why{font-size:13px}
.hx-needs .hx-act{padding:5px 10px!important;min-height:0!important;font-size:12px!important}
.hx-min{margin-left:auto;background:none;border:1px solid #5E6356;color:#F4F6EE;border-radius:6px;padding:3px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.hx-min:hover{border-color:#DAFF01;color:#DAFF01}
.hx-needs.is-min>.hx-h{border-bottom:0}
html[data-theme="dark"] .hx-needs,html[data-theme="dark"] .hx-side-card{border-color:#3A3F33!important}
html[data-theme="dark"] .hx-needs>.hx-h,html[data-theme="dark"] .hx-side-card>.hx-h{background:#0F110C}
@media (max-width:640px){ html body #main .hx-tiles{grid-template-columns:repeat(2,minmax(0,1fr))} html body #main .hx-tiles .pl-tab-t{font-size:17px!important} .hx-needs>.hx-h .hx-key{display:none} }
html body #main .hx-needs>.hx-h h2,html body #main .hx-side-card>.hx-h h2{color:#F4F6EE!important;-webkit-text-fill-color:#F4F6EE}
html body #main .hx-needs .hx-row.is-bad,html body #main .hx-needs .hx-row.is-warn{box-shadow:none;border-left:3px solid transparent}
html body #main .hx-needs .hx-row.is-bad{border-left-color:#D93A25}html body #main .hx-needs .hx-row.is-warn{border-left-color:#F0A21A}
html body #main .hx-needs .hx-row{padding-left:8px}
html body #main .hx-needs>.hx-h .hx-n{background:#DAFF01!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A}
html body #main .hx-tiles{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
html body #main .hx-tiles .pl-tab{min-width:0;overflow:hidden}
html body #main .hx-tiles .pl-tab-t{font-size:18px!important;white-space:normal!important;line-height:1.1;overflow-wrap:anywhere}
html body #main .hx-tiles .pl-tab-s{white-space:normal!important}
/* v360: coach command centre */
html body #main .hx-tiles{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important}
html body #main .hx-tiles .pl-tab.on{outline:2px solid #1E211A;outline-offset:-2px;background:#F4FFC2}
html body #main .pl-tab.k-needs.on{--kb:#DAFF01}
html[data-theme="dark"] body #main .hx-tiles .pl-tab.on{outline-color:#DAFF01;background:#2A2F22}
.cc-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 16px!important}
.cc-k{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#1E211A;color:#F4F6EE;border:0;border-radius:12px;padding:12px 14px 12px;cursor:pointer;font:inherit;border-top:5px solid #DAFF01;min-width:0}
.cc-k:hover{background:#2A2F22}
.cc-k-l{font-family:var(--font-m,monospace);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#C9CEBF}
.cc-k-v{font-family:var(--font-d);font-size:40px;font-weight:700;line-height:1;color:#fff}
.cc-k-s{font-size:12px;color:#A3A896;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.cc-k.k-today{border-top-color:#DAFF01}.cc-k.k-training{border-top-color:#2F6BFF}.cc-k.k-quiet{border-top-color:#8B6CFF}
.cc-k.k-analytics{border-top-color:#E0573F}.cc-k.k-diary{border-top-color:#22B07D}.cc-k.k-needs{border-top-color:#E0573F}
.cc-k.is-bad .cc-k-v{color:#FF7A63}.cc-k.is-warn .cc-k-v{color:#F5B83D}
.cc-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;align-items:start}
.cc-week{grid-column:1/-1}.cc-week>.section{margin:0!important}
.cc-needs,.cc-teams{grid-column:1}.cc-cl-col,.cc-feed{grid-column:2}
.cc-cl-col{grid-row:2/span 1}.cc-feed{grid-row:3}
.cc-grid>div>.section{margin:0!important}
.cc-feed .d-feed-top,.cc-feed #dSpace>*{margin:0 0 12px!important}
.cc-pad{margin:10px 16px!important}
.cc-search{padding:10px 16px 4px}
.cc-search input{width:100%;padding:8px 12px;border-radius:8px;border:1px solid var(--line,#D5D8CE);font:inherit;font-size:14px;background:var(--surface,#fff);color:inherit}
.cc-cls{list-style:none;margin:4px 0 10px;padding:0 8px}
.cc-cls li[hidden]{display:none}
.cc-cl{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:6px 8px;border-radius:8px;font:inherit;color:inherit;cursor:pointer;text-align:left}
.cc-cl:hover{background:rgba(218,255,1,.15)}
.cc-av{flex:none;width:32px;height:32px;border-radius:50%;background:#1E211A;color:#DAFF01;display:grid;place-items:center;font-family:var(--font-d);font-weight:700;font-size:14px}
.cc-cn{flex:1;min-width:0;font-weight:700;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-tag{flex:none;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;white-space:nowrap}
.cc-tag.is-next{background:#EEFFA0;color:#3F4A00}.cc-tag.is-quiet{background:#FDE7C2;color:#7A4A00}
a.hx-min{text-decoration:none;display:inline-block}
.hx-teams{padding:0!important;overflow:hidden;border:1px solid #1E211A!important}
.hx-teams>.hx-h,.cc-clients>.hx-h{background:#1E211A;color:#F4F6EE;margin:0;padding:10px 16px;align-items:center;border-bottom:3px solid #DAFF01}
html body #main .hx-teams>.hx-h h2{color:#F4F6EE!important;-webkit-text-fill-color:#F4F6EE;font-size:20px;font-family:var(--font-d);text-transform:uppercase;letter-spacing:.03em}
html body #main .hx-teams>.hx-h .hx-n,html body #main .hx-side-card>.hx-h .hx-n{background:#DAFF01!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A}
.hx-teams>.hx-h .hx-sub{color:#C9CEBF}
.hx-tm-head,.hx-tm-row{display:grid;grid-template-columns:minmax(0,1.6fr) 64px minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.hx-tm-head{padding:8px 20px 4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#5E6356)}
.hx-tm{list-style:none;margin:0;padding:0 8px 8px}
.hx-tm-row{width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line,#E2E4DC);padding:9px 8px;font:inherit;color:inherit;cursor:pointer;border-left:4px solid #DAFF01}
.hx-tm-row:hover{background:rgba(218,255,1,.12)}
.hx-tm-row.k-team{border-left-color:#2F6BFF}.hx-tm-row.k-school{border-left-color:#8B6CFF}.hx-tm-row.k-small{border-left-color:#19B8D6}
.hx-tm-n{display:flex;flex-direction:column;min-width:0}
.hx-tm-n b{font-family:var(--font-d);font-size:18px;text-transform:uppercase;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-tm-n small{font-size:12px;color:var(--muted,#5E6356)}
.hx-tm-v{font-family:var(--font-d);font-size:26px;font-weight:700;line-height:1}
.hx-tm-c{display:flex;align-items:center;gap:8px;font-size:13px}
.hx-tm-bar{flex:1;height:8px;border-radius:4px;background:#E2E4DC;overflow:hidden;min-width:30px}
.hx-tm-bar i{display:block;height:100%;background:#22B07D}
.hx-tm-bar.is-low i{background:#F0A21A}
html[data-theme="dark"] .hx-teams{border-color:#3A3F33!important}
html[data-theme="dark"] .hx-teams>.hx-h{background:#0F110C}
html[data-theme="dark"] .hx-tm-bar{background:#3A3F33}
html[data-theme="dark"] .cc-tag.is-next{background:#3F4A00;color:#EEFFA0}html[data-theme="dark"] .cc-tag.is-quiet{background:#5A3A00;color:#FDE7C2}
@media (max-width:1180px){ .cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:900px){
  .cc-grid{grid-template-columns:minmax(0,1fr)}
  .cc-needs,.cc-teams,.cc-cl-col,.cc-feed{grid-column:1;grid-row:auto}
}
@media (max-width:640px){
  .cc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cc-k-v{font-size:32px}
  .hx-tm-head{display:none}
  .hx-tm-row{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .hx-tm-c{grid-column:1/-1}
}
.cc-l,.cc-r{display:flex;flex-direction:column;gap:16px;min-width:0}
.cc-l>.section,.cc-r>.section{margin:0!important}
@media (max-width:900px){ .cc-l,.cc-r{grid-column:1} }
@media (max-width:640px){
  html body #main .hx-tiles{display:flex!important;overflow-x:auto;gap:8px;scroll-snap-type:x proximity;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  html body #main .hx-tiles .pl-tab{flex:0 0 auto;min-width:118px;min-height:58px;padding:8px 10px!important;scroll-snap-align:start}
  html body #main .hx-tiles .pl-tab-t{font-size:16px!important;white-space:nowrap!important}
  html body #main .hx-tiles .pl-tab-s{display:none}
  .cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .cc-k{padding:8px 8px;border-top-width:4px;border-radius:10px}
  .cc-k-l{font-size:9px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .cc-k-v{font-size:26px}
  .cc-k-s{display:none}
}
@media (max-width:640px){ html body #main .hx-tiles{max-width:calc(100vw - 28px);width:auto;min-width:0} }
@media (max-width:640px){ html body #main .pl-tabs.hx-tiles{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none} }
/* =========================================================================
   v361 (26 Oct) Home in the ORIGINAL dashboard look. Rob: "the look needs to
   look like the dashboard original ... more rugged ... more S&C focused".
   White cards, 5px coloured tops, condensed uppercase titles, solid tag
   chips, mono labels, big numbers. No dark header bars.
   Layout: tabs > numbers > week > Needs you | Activity > Teams | Clients.
   ========================================================================= */
html body #main .hx-tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;margin:0 0 18px!important}
html body #main .hx-tiles .pl-tab{min-height:84px;padding:14px 16px!important;border-radius:14px!important;border-top-width:6px!important}
html body #main .hx-tiles .pl-tab-t{font-size:24px!important;letter-spacing:.02em}
html body #main .hx-tiles .pl-tab-s{font-size:11px!important;letter-spacing:.12em!important}
html body #main .hx-tiles .pl-tab.on{background:#F4FFC2!important;border:2px solid #1E211A!important;border-top:6px solid var(--kb,#DAFF01)!important;color:#1E211A!important;outline:0}
html body #main .hx-tiles .pl-tab.on .pl-tab-t{color:#1E211A!important}
html body #main .hx-tiles .pl-tab.on .pl-tab-s{color:#1E211A!important}
html body #main .pl-tab.k-needs{--kb:#E0573F}
/* numbers row: white rugged cards, not dark tiles */
.cc-kpis{gap:12px!important;margin:0 0 18px!important}
html body #main .cc-k{background:#fff;color:#1E211A;border:1px solid var(--r-line,#DADDD2);border-top:6px solid #DAFF01;border-radius:14px;padding:14px 16px;gap:4px}
html body #main .cc-k:hover{background:#fff;box-shadow:0 6px 18px rgba(20,22,15,.10)}
html body #main .cc-k-l{font-family:var(--font-d);font-size:17px;font-weight:700;letter-spacing:.03em;color:#1E211A}
html body #main .cc-k-v{font-size:46px;color:#1E211A}
html body #main .cc-k-s{font-family:var(--font-m);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#6B7062}
html body #main .cc-k.is-bad .cc-k-v{color:#C2412B}html body #main .cc-k.is-warn .cc-k-v{color:#C27A00}
html body #main .cc-k.k-needs,html body #main .cc-k.k-analytics{border-top-color:#E0573F}
html body #main .cc-k.k-training{border-top-color:#2F6BFF}html body #main .cc-k.k-quiet{border-top-color:#8B6CFF}html body #main .cc-k.k-diary{border-top-color:#22B07D}
.cx-week{margin:0 0 22px}.cx-week>.section{margin:0!important}
/* section headings like "NEEDS YOU TODAY" */
html body #main .cx-sec{margin:0 0 24px!important}
html body #main .cx-sec>h3{font-family:var(--font-d);font-size:38px!important;font-weight:700;text-transform:uppercase;letter-spacing:.01em;line-height:1!important;margin:0 0 14px!important;color:#1E211A}
.cx-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.cx-row>.section,.cx-row>div>.section{margin:0!important}
.cx-feedhost{margin:0!important;min-width:0}
/* the cards */
html body #main .card.cx{--k:#5F7000;background:#fff;border:1px solid var(--r-line,#DADDD2)!important;border-top:6px solid var(--k)!important;border-radius:14px!important;padding:0 0 6px!important;overflow:hidden;box-shadow:none}
html body #main .card.cx.k-needs{--k:#C2412B}html body #main .card.cx.k-feed{--k:#2F5FD0}
html body #main .card.cx.k-groups{--k:#6A45D6}html body #main .card.cx.k-clients{--k:#5F7000}
.cx-top{display:flex;align-items:center;gap:8px;padding:14px 18px 0}
.cx-chip{display:inline-block;background:var(--k);color:#fff;font-family:var(--font-d);font-weight:700;font-size:15px;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px;border-radius:6px;line-height:1.2}
.card.cx.k-clients .cx-chip{background:#1E211A;color:#DAFF01}
.cx-stat{margin-left:auto;font-family:var(--font-d);font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px;border-radius:999px;background:#EEF0E8;color:#4A4E43}
.cx-stat.is-bad{background:#FBE3DD;color:#9E2F1C}.cx-stat.is-warn{background:#FDEFD2;color:#7A4A00}
html body #main .card.cx>.hx-h{background:none!important;border:0!important;margin:0!important;padding:8px 18px 2px!important;color:#1E211A;align-items:center}
html body #main .card.cx>.hx-h h2{font-family:var(--font-d)!important;font-size:30px!important;font-weight:700;text-transform:uppercase;letter-spacing:.01em;line-height:1.05;color:#1E211A!important;-webkit-text-fill-color:#1E211A}
html body #main .card.cx>.hx-h .hx-n{background:#1E211A!important;color:#DAFF01!important;-webkit-text-fill-color:#DAFF01;font-size:13px;vertical-align:6px}
html body #main .card.cx>.hx-h .hx-key,html body #main .card.cx>.hx-h .hx-sub{color:#6B7062!important;font-size:12px}
html body #main .card.cx .hx-min{border:1px solid #1E211A;color:#1E211A;background:#fff}
html body #main .card.cx .hx-min:hover{background:#1E211A;color:#DAFF01;border-color:#1E211A}
.cx-s{margin:2px 18px 8px;font-size:14px;font-weight:600;color:#4A4E43}
.cx-chips{padding:0 18px 6px;display:flex;flex-wrap:wrap;gap:6px}
.cx-pad{margin:8px 18px!important}
html body #main .card.cx.hx-needs>.hx-list,html body #main .card.cx.hx-needs>.hx-clear,html body #main .card.cx.hx-needs>.hx-more{margin-left:18px;margin-right:18px}
html body #main .card.cx.hx-needs .hx-row{border-top:1px solid #ECEEE6}
html body #main .card.cx.hx-needs .hx-who{font-size:15px}
html body #main .card.cx.hx-teams .hx-tm-head{padding:10px 26px 4px}
html body #main .card.cx.hx-teams .hx-tm{padding:0 10px 6px}
html body #main .card.cx.cc-clients .cc-search{padding:10px 18px 4px}
html body #main .card.cx.cc-clients .cc-cls{padding:0 10px}
/* activity rows */
.eg-hl{list-style:none;margin:2px 0 4px;padding:0 10px}
.eg-hl>li{border-top:1px solid #ECEEE6}.eg-hl>li:first-child{border-top:0}
.eg-hr{display:grid;grid-template-columns:28px minmax(90px,150px) minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;background:none;border:0;border-left:3px solid transparent;padding:8px 8px;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:6px}
.eg-hr:hover{background:rgba(47,95,208,.06)}
.eg-hr.is-wait{border-left-color:#F0A21A}.eg-hr.is-flag{border-left-color:#D93A25}
.eg-hr b{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eg-hr .eg-what{font-size:13.5px;color:#3F433A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eg-hr .eg-what i{font-style:normal;color:#6B7062}
.eg-when{font-family:var(--font-m);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#6B7062;white-space:nowrap}
.eg-hl .eg-ic{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;font-family:var(--font-d);font-weight:700;font-size:14px;background:#E6ECFB;color:#2F5FD0;flex:none}
.eg-hl .k-comment .eg-ic,.eg-hl .eg-hr.k-comment .eg-ic{background:#FDEFD2;color:#7A4A00}
.eg-hl .k-checkin .eg-ic,.eg-hl .eg-hr.k-checkin .eg-ic{background:#DDF3EA;color:#0F7A52}
.eg-hl .k-link .eg-ic,.eg-hl .eg-hr.k-link .eg-ic{background:#1E211A;color:#DAFF01}
.eg-hl>li.is-open{background:#F6F8FD;border-radius:8px}
.eg-x{padding:2px 10px 10px 46px}
.eg-x ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.eg-x li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;align-items:start;background:#fff;border:1px solid #E2E5EE;border-radius:8px;padding:8px}
.eg-x li.is-flag{border-color:#F3B8AC}
.eg-xb{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13.5px}
.eg-xb em{font-style:normal;font-family:var(--font-m);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6B7062}
.eg-xl{color:#3F433A;white-space:normal;overflow-wrap:anywhere}
.eg-xgo{font-weight:700;font-size:12.5px;color:#1E211A;white-space:nowrap;text-decoration:underline}
.eg-xa{margin-top:8px}
.cx-space:empty{display:none}.cx-space>*{margin-top:0!important}
/* dark mode */
html[data-theme="dark"] body #main .card.cx,html[data-theme="dark"] body #main .cc-k{background:#181A14;border-color:#2B2F25!important}
html[data-theme="dark"] body #main .card.cx>.hx-h h2,html[data-theme="dark"] body #main .cx-sec>h3,html[data-theme="dark"] body #main .cc-k-l,html[data-theme="dark"] body #main .cc-k-v{color:#EDF0E4!important;-webkit-text-fill-color:#EDF0E4}
html[data-theme="dark"] body #main .card.cx>.hx-h .hx-n{background:#DAFF01!important;color:#14160F!important;-webkit-text-fill-color:#14160F}
html[data-theme="dark"] .cx-s,html[data-theme="dark"] .eg-hr .eg-what,html[data-theme="dark"] .eg-xl{color:#C9CEBF}
html[data-theme="dark"] .cx-stat{background:#2B2F25;color:#C9CEBF}
html[data-theme="dark"] .eg-hl>li,html[data-theme="dark"] body #main .card.cx.hx-needs .hx-row{border-color:#2B2F25}
html[data-theme="dark"] .eg-hl>li.is-open{background:#20231B}
html[data-theme="dark"] .eg-x li{background:#14160F;border-color:#2B2F25}
html[data-theme="dark"] .eg-xgo{color:#DAFF01}
html[data-theme="dark"] body #main .card.cx .hx-min{background:none;border-color:#5E6356;color:#EDF0E4}
html[data-theme="dark"] body #main .hx-tiles .pl-tab.on{background:#2A2F22!important;border-color:#DAFF01!important;color:#EDF0E4!important}
html[data-theme="dark"] body #main .hx-tiles .pl-tab.on .pl-tab-t,html[data-theme="dark"] body #main .hx-tiles .pl-tab.on .pl-tab-s{color:#EDF0E4!important}
@media (max-width:1000px){ .cx-row{grid-template-columns:minmax(0,1fr)} }
@media (max-width:640px){
  html body #main .hx-tiles .pl-tab{min-height:60px;padding:8px 12px!important;border-top-width:5px!important}
  html body #main .hx-tiles .pl-tab-t{font-size:18px!important}
  html body #main .cx-sec>h3{font-size:28px!important}
  html body #main .card.cx>.hx-h h2{font-size:24px!important}
  html body #main .cc-k{padding:8px 10px;border-top-width:5px}
  html body #main .cc-k-l{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  html body #main .cc-k-v{font-size:30px}
  .cx-top{padding:12px 14px 0}.cx-s{margin:2px 14px 8px}.cx-chips{padding:0 14px 6px}
  .eg-hr{grid-template-columns:26px minmax(0,1fr) auto;row-gap:2px}
  .eg-hr .eg-what{grid-column:2/-1;grid-row:2}
  .eg-x{padding:2px 6px 10px}
}
html body #main .pl-sec.cx-sec{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
html body #main .card.cx.hx-needs>.hx-h .hx-key{display:none}
html body #main .card.cx.hx-needs .hx-row{grid-template-columns:10px minmax(110px,160px) minmax(0,1fr) auto}
@media (min-width:1001px){ .cx-row{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)} }
html body #main .pl-sec.cx-sec>.cx-row{border:0!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
html[data-sec=dashboard] body #main > #dSpace.cx-space{order:0;margin:0 0 22px!important}
html body #main .cx-space .ms-band{background:#fff!important;border:1px solid var(--r-line,#DADDD2)!important;border-top:6px solid #F0A21A!important;border-radius:14px!important;margin:0 0 10px!important;padding:12px 18px!important}
html body #main .cx-space .ms-band>b{color:#1E211A!important;-webkit-text-fill-color:#1E211A;font-size:22px;letter-spacing:.02em}
html body #main .cx-space .ms-bc{color:#6B7062!important}html body #main .cx-space .ms-bc b{color:#C27A00!important}
html body #main .cx-space .ms-bandbtn{background:#1E211A!important;color:#DAFF01!important;border:0!important}
html[data-theme="dark"] body #main .cx-space .ms-band{background:#181A14!important;border-color:#2B2F25!important;border-top-color:#F0A21A!important}
html[data-theme="dark"] body #main .cx-space .ms-band>b{color:#EDF0E4!important;-webkit-text-fill-color:#EDF0E4}
/* v362: Performance cards, tabs on one line, tighter top of page. */
html body #main .card.cx.k-perf{--k:#C2412B}html body #main .card.cx.k-retest{--k:#C27A00}
.pf-list{list-style:none;margin:4px 0 6px;padding:0 10px}
.pf-list>li{border-top:1px solid #ECEEE6}.pf-list>li:first-child{border-top:0}
.pf-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:9px 8px;color:inherit;text-decoration:none;border-radius:6px}
.pf-row:hover{background:rgba(194,65,43,.05)}
.pf-rt{grid-template-columns:minmax(0,1fr) auto}
.pf-who{display:flex;flex-direction:column;min-width:0}
.pf-who b{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-who em{font-style:normal;font-family:var(--font-m);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#6B7062;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-v{font-size:12px;color:#6B7062;white-space:nowrap;text-align:right}
.pf-v b{font-family:var(--font-d);font-size:24px;font-weight:700;color:#1E211A;letter-spacing:.01em}
.pf-v em{display:block;font-style:normal;font-family:var(--font-m);font-size:10.5px;color:#4A4E43}
.pf-tag{font-family:var(--font-d);font-weight:700;font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;padding:3px 9px;border-radius:999px;white-space:nowrap;background:#EEF0E8;color:#4A4E43}
.pf-tag.is-up{background:#D9F2E4;color:#0F6B45}.pf-tag.is-down{background:#FBE3DD;color:#9E2F1C}.pf-tag.is-maybe{background:#FDEFD2;color:#7A4A00}
.pf-cov{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:baseline;padding:4px 18px 10px}
.pf-cov b{font-family:var(--font-d);font-size:40px;line-height:1;color:#1E211A}
.pf-cov span{font-size:13.5px;font-weight:600;color:#4A4E43}
.pf-cov i{grid-column:1/-1;height:8px;border-radius:99px;background:linear-gradient(90deg,#22B07D var(--p),#E6E8E0 var(--p));margin-top:8px}
.pf-more{margin-top:0}
html[data-theme="dark"] .pf-list>li{border-color:#2B2F25}
html[data-theme="dark"] .pf-v b,html[data-theme="dark"] .pf-cov b{color:#EDF0E4}
html[data-theme="dark"] .pf-cov span,html[data-theme="dark"] .pf-v em{color:#C9CEBF}
html[data-theme="dark"] .pf-tag{background:#2B2F25;color:#C9CEBF}
html[data-theme="dark"] .pf-tag.is-up{background:#11382A;color:#7FE0B4}html[data-theme="dark"] .pf-tag.is-down{background:#3D1A14;color:#F3A595}html[data-theme="dark"] .pf-tag.is-maybe{background:#3A2C10;color:#F5C76B}
html[data-theme="dark"] .pf-cov i{background:linear-gradient(90deg,#22B07D var(--p),#2B2F25 var(--p))}
/* tabs: always one line on desktop, however many sections the account has */
@media (min-width:641px){
  html body #main .pl-tabs.hx-tiles{display:flex!important;flex-wrap:nowrap!important;gap:8px!important}
  html body #main .hx-tiles .pl-tab{flex:1 1 0;min-width:0;min-height:72px;padding:12px 12px!important}
  html body #main .hx-tiles .pl-tab-t{font-size:clamp(16px,1.45vw,23px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #main .hx-tiles .pl-tab-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px!important}
}
/* tighter top: smaller number cards */
html body #main .cc-k{padding:11px 14px}
html body #main .cc-k-v{font-size:40px}
html body #main .cx-sec>h3{margin-bottom:12px!important}
.pf-grp{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
.pf-grp .pf-ps{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
.pf-p{display:inline-flex;align-items:baseline;gap:4px;font-size:12px;color:#4A4E43;background:#EEF0E8;border-radius:8px;padding:4px 9px;border-left:4px solid #B8BCAE}
.pf-p em{font-style:normal;font-family:var(--font-m);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6B7062}
.pf-p b{font-family:var(--font-d);font-size:18px;font-weight:700;color:#1E211A}
.pf-p.is-up{border-left-color:#22B07D;background:#E5F6EC}.pf-p.is-down{border-left-color:#D93A25;background:#FBE8E3}.pf-p.is-maybe{border-left-color:#F0A21A;background:#FDF3DE}.pf-p.is-flat{border-left-color:#8A8F80}
.pf-key{font-size:11.5px!important;font-weight:500!important;color:#6B7062!important;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px!important}
.pf-d{display:inline-block;width:10px;height:10px;border-radius:3px;background:#B8BCAE;margin-right:-6px}
.pf-d.is-up{background:#22B07D}.pf-d.is-down{background:#D93A25}.pf-d.is-maybe{background:#F0A21A}.pf-d.is-flat{background:#8A8F80}
html[data-theme="dark"] .pf-p{background:#22251D;color:#C9CEBF}html[data-theme="dark"] .pf-p b{color:#EDF0E4}
html[data-theme="dark"] .pf-p.is-up{background:#12301F}html[data-theme="dark"] .pf-p.is-down{background:#341712}html[data-theme="dark"] .pf-p.is-maybe{background:#33280F}
.pf-ki{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.pf-ki .pf-d{margin-right:0}

/* ===== v362: Home = calendar, needs you, activity, clients/teams, analytics.
   Headings in the Programmes-page voice: condensed, uppercase, count chip. ===== */
html[data-sec=dashboard] body #main > .page-head.hx-head,html body #main > .page-head.hx-head{background:none!important;border:0!important;box-shadow:none!important;padding:6px 2px 18px!important;color:var(--ink,#15171C)!important;border-radius:0!important}
html body #main > .page-head.hx-head::before,html body #main > .page-head.hx-head::after{display:none!important}
html body #main > .page-head.hx-head .eyebrow{color:var(--muted,#5C6152)!important;font-family:var(--font-m)!important;font-size:12px!important;letter-spacing:.14em!important;text-transform:uppercase}
html body #main > .page-head.hx-head .hx-title{font-family:var(--font-d)!important;font-size:clamp(26px,3vw,38px)!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.01em!important;line-height:1.02!important;color:inherit!important}
html[data-theme=dark] body #main > .page-head.hx-head{color:#F2F4EC!important}
html[data-theme=dark] body #main > .page-head.hx-head .eyebrow{color:#A9AE9E!important}
html body #main > .page-head.hx-head .actions .hero-go{background:transparent!important;border:1.5px solid currentColor!important;color:inherit!important}
/* the "sessions came back" strip: one slim line, Activity carries the detail */
html body #main #dTrainAlert .intake-alert{padding:10px 14px!important;margin:0 0 14px!important;min-height:0!important}
html body #main #dTrainAlert .intake-alert-sub{display:none!important}
html body #main #dTrainAlert .intake-alert-title{margin:0!important;font-size:15px!important}

/* tabs: five, one row, never squashed */
html body #main .hm-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin:0 0 18px!important}
html body #main .hm-tabs .pl-tab{min-width:0!important}
html body #main .hm-tabs .pl-tab-t{font-size:clamp(17px,1.6vw,24px)!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
html body #main .hm-tabs .pl-tab-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #main .hm-tabs .k-more{--k:#F2F4EC}
@media (max-width:640px){
  html body #main .hm-tabs{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px!important;margin:0 -14px 14px!important;padding:0 14px 4px!important;scrollbar-width:none}
  html body #main .hm-tabs::-webkit-scrollbar{display:none}
  html body #main .hm-tabs .pl-tab{flex:0 0 auto!important;min-width:132px!important;scroll-snap-align:start}
  html body #main .hm-tabs .pl-tab-t{font-size:18px!important}
}

/* overview rows sit straight on the page: no box around a box */
html body #main .hm-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:0 0 18px!important;align-items:start}
html body #main .hm-row > *{margin:0!important;min-width:0}
html body #main .hm-ana > *{display:contents}
@media (max-width:900px){ html body #main .hm-row{grid-template-columns:1fr!important} }

/* card headers: title first and loud, the old chip line becomes a quiet subtitle */
html body #main .hm-row .card.cx,html body #main .hm-row .cx-feedhost > .card,html body #main .cx-week .card{display:flex!important;flex-direction:column}
html body #main .hm-row .card.cx > *,html body #main .hm-row .cx-feedhost .card > *{order:3}
html body #main .hm-row .card.cx > .hx-h,html body #main .hm-row .cx-feedhost .card > .hx-h{order:1}
html body #main .hm-row .card.cx > .cx-top,html body #main .hm-row .cx-feedhost .card > .cx-top{order:2;padding:0!important;margin:-4px 0 10px!important;min-height:0!important;background:none!important}
html body #main .hm-row .cx-chip{display:none!important}
html body #main .hm-row .cx-stat{background:none!important;border:0!important;padding:0!important;font-family:var(--font-m)!important;font-size:11.5px!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--muted,#5C6152)!important}
html body #main .hm-row .cx-stat.is-bad{color:#C7402B!important}
html[data-theme=dark] body #main .hm-row .cx-stat{color:#A9AE9E!important}
html[data-theme=dark] body #main .hm-row .cx-stat.is-bad{color:#FF7A63!important}
html body #main .hm-row .hx-h,html body #main .cx-week .wk-top{align-items:center!important}
html body #main .hm-row .hx-h h2,html body #main .cx-week .wk-h{font-family:var(--font-d)!important;font-size:clamp(24px,2.1vw,30px)!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.01em!important;line-height:1!important;display:flex;align-items:center;gap:10px;margin:0!important}
html body #main .hm-row .hx-h h2 .hx-n{font-family:var(--font-m)!important;font-size:13px!important;font-weight:700;background:var(--ink,#15171C)!important;color:#DAFF01!important;border-radius:6px!important;padding:3px 8px!important;line-height:1.2;min-width:0}
html[data-theme=dark] body #main .hm-row .hx-h h2 .hx-n{background:#DAFF01!important;color:#15171C!important}

/* More dashboards */
html body #main .hm-more{margin:0 0 18px}
html body #main .hm-sh h2{font-family:var(--font-d);font-size:clamp(26px,2.4vw,34px);font-weight:800;text-transform:uppercase;margin:0;display:flex;align-items:center;gap:10px}
html body #main .hm-sh p{margin:4px 0 14px;color:var(--muted,#5C6152)}
html body #main .hm-mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
html body #main .hm-mt{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:16px 16px 14px;border-radius:14px;background:var(--card,#fff);border:1px solid var(--line,#DADDD2);border-top:5px solid var(--k,#DAFF01);min-height:118px;transition:transform .12s,box-shadow .12s}
html body #main .hm-mt:hover,html body #main .hm-mt:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px -14px rgba(0,0,0,.35);outline:none}
html body #main .hm-mt:focus-visible{outline:3px solid #DAFF01;outline-offset:2px}
html body #main .hm-mt-t{font-family:var(--font-d);font-size:22px;font-weight:800;text-transform:uppercase;line-height:1}
html body #main .hm-mt-v{font-family:var(--font-d);font-size:34px;font-weight:800;line-height:1}
html body #main .hm-mt.is-bad .hm-mt-v{color:#C7402B}
html body #main .hm-mt-s{font-family:var(--font-m);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted,#5C6152)}
html[data-theme=dark] body #main .hm-mt{background:#1C1F18;border-color:#30342A;color:#F2F4EC}
html[data-theme=dark] body #main .hm-mt-s,html[data-theme=dark] body #main .hm-sh p{color:#A9AE9E}

/* phone: light-mode header buttons were near invisible (IMG_3853) */
@media (max-width:699px){
  html body #topbar .theme-btn,html body #topbar .lock-action,html body #topbar #lockApp,html body #topbar #navToggle,html body #topbar #themeToggle{color:#F2F4EC!important;border-color:rgba(242,244,236,.35)!important;background:rgba(255,255,255,.06)!important}
  html body #topbar .theme-btn svg,html body #topbar #lockApp svg,html body #topbar #navToggle svg,html body #topbar #themeToggle svg{stroke:#F2F4EC!important}
}

/* ===== v362 sidebar: grouped, readable, calm ===== */
@media (min-width:700px){
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top .nav-grp{display:block;font-family:var(--font-m);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:rgba(242,244,236,.42);padding:16px 14px 6px;pointer-events:none}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top .nav-grp:first-child{padding-top:4px}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav]{font-size:15px!important;font-weight:600!important;letter-spacing:0!important;color:rgba(242,244,236,.78)!important;background:transparent!important;box-shadow:none!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav] svg{stroke:rgba(242,244,236,.6)!important;opacity:1!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav]:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav].active,html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav][aria-current="page"]{background:rgba(218,255,1,.12)!important;color:#fff!important;border-left-color:#DAFF01!important}
  html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav].active svg,html:not(.x-n) body #appShell #topbar .appnav.appnav-top a[data-nav][aria-current="page"] svg{stroke:#DAFF01!important}
  html.side-mini:not(.x-n) body #appShell #topbar .appnav.appnav-top .nav-grp{font-size:0;padding:10px 0 4px;margin:0 14px;border-top:1px solid rgba(242,244,236,.12)}
  html.side-mini:not(.x-n) body #appShell #topbar .appnav.appnav-top .nav-grp:first-child{border-top:0}
  html:not(.x-n) body #topbar .theme-btn,html:not(.x-n) body #topbar #lockApp,html:not(.x-n) body #topbar #themeToggle,html:not(.x-n) body #topbar #navToggle{color:#F2F4EC!important;border-color:rgba(242,244,236,.28)!important;background:rgba(255,255,255,.05)!important;opacity:1!important}
  html:not(.x-n) body #topbar .theme-btn svg,html:not(.x-n) body #topbar #lockApp svg,html:not(.x-n) body #topbar #themeToggle svg{stroke:#F2F4EC!important}
  html body #sideMini{color:rgba(242,244,236,.8)!important;border-color:rgba(242,244,236,.22)!important}
}
html body #main .hm-row.cx-row{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
html body #main .hm-row .card.cx > .cx-top,html body #main .hm-row .cx-feedhost .card > .cx-top{justify-content:flex-start!important;overflow:visible!important;width:auto!important;position:static!important}
html body #main .hm-row .cx-stat{white-space:normal!important;max-width:none!important;margin:0!important}
html body #main .cx-week .wk-card .wk-top h2.wk-h,html[data-theme] body #main .cx-week .wk-card h2.wk-h{font-family:var(--font-d)!important;font-size:clamp(24px,2.1vw,30px)!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.01em!important}
html body #main .hm-row .card.cx > .cx-top,html body #main .hm-row .cx-feedhost .card > .cx-top{padding:0 18px!important;margin:-6px 0 10px!important}
/* v362b: Activity sits level with Needs you and scrolls inside. Rob: "it just
   needs to be levelled with the other tab and if I open it, I can scroll". */
@media (min-width:901px){
  html body #main .hm-row:has(#dActivity){align-items:stretch!important;min-height:380px}
  html body #main .hm-row .cx-feedhost:has(#dActivity){position:relative;min-height:380px}
  html body #main .hm-row .cx-feedhost > #dActivity{position:absolute!important;inset:0;overflow:hidden}
  html body #main .hm-row #dActivity > .eg-hl{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
@media (max-width:900px){
  html body #main .hm-row #dActivity > .eg-hl{max-height:440px;overflow-y:auto;overscroll-behavior:contain}
}
html body #main .hm-row #dActivity > .hx-more{flex:0 0 auto}
html body #main .hm-row #dActivity > *{flex-shrink:0}
html body #main .hm-row #dActivity > .eg-hl{flex-shrink:1}

/* ===== v363 Analytics board ===== */
html body #main .hm-full{grid-template-columns:1fr!important}
html body #main .k-analytics{--k:#4C8DFF}
html body #main .hm-anacard .hx-h{justify-content:space-between}
.ab-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:0 18px 14px}
.ab-t{display:flex;flex-direction:column;gap:4px;padding:12px 12px 10px;border-radius:12px;background:var(--surface-2,#F3F4EE);border:1px solid var(--line,#DADDD2);border-top:4px solid var(--kk,#15171C);min-width:0}
.ab-t.k-gym{--kk:#FF8A3D}.ab-t.k-cardio{--kk:#19B8D6}.ab-t.k-load{--kk:#8B6CFF}.ab-t.k-ready{--kk:#22B07D}.ab-t.k-lifts{--kk:#F5B82E}.ab-t.k-all{--kk:#DAFF01}
.ab-tl{font-family:var(--font-m);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#5C6152)}
.ab-tv{font-family:var(--font-d);font-size:32px;font-weight:800;line-height:1}
.ab-tv small{font-size:15px;margin-left:2px;font-weight:700}
.ab-ts{font-size:12px;color:var(--muted,#5C6152);line-height:1.3}
.ab-sp{width:100%;height:26px;display:block}
.ab-sp .ab-off{fill:rgba(21,23,28,.10)}
.ab-sp .ab-on{fill:#15171C}.ab-sp .ab-now{opacity:.55}
.ab-sp.is-gym .ab-on{fill:#FF8A3D}.ab-sp.is-cardio .ab-on{fill:#19B8D6}.ab-sp.is-load .ab-on{fill:#8B6CFF}.ab-sp.is-ready .ab-on{fill:#22B07D}
.ab-sp.ab-ln path{fill:none;stroke:#22B07D;stroke-width:2;vector-effect:non-scaling-stroke}
.ab-foot{display:flex;flex-wrap:wrap;gap:6px 18px;padding:0 18px 16px;font-size:13.5px}
.ab-foot a{text-decoration:none;font-weight:600;margin-right:10px}
.ab-up{color:#178A5F!important}.ab-dn{color:#C7402B!important}
.ab-board{margin:0 0 18px}
.ab-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0 0 14px}
.ab-head h2{font-family:var(--font-d);font-size:clamp(26px,2.4vw,34px);font-weight:800;text-transform:uppercase;margin:0;display:flex;gap:10px;align-items:center}
.ab-head p{margin:4px 0 0;color:var(--muted,#5C6152);max-width:640px}
.ab-ctl{display:flex;gap:8px;flex-wrap:wrap}
.ab-ctl select,.ab-q{min-height:40px;border-radius:10px;border:1px solid var(--line,#DADDD2);padding:0 12px;background:var(--card,#fff);color:inherit;font:inherit;font-size:14px}
.ab-board .ab-tiles{padding:0;margin:0 0 18px}
.ab-board .ab-t{background:var(--card,#fff)}
.ab-lh{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px}
.ab-lh h3,#main h3.ab-sec{font-family:var(--font-d);font-size:24px;font-weight:800;text-transform:uppercase;margin:0}
#main h3.ab-sec{margin:22px 0 10px}
.ab-q{width:min(280px,100%)}
.ab-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ab-row{display:grid;grid-template-columns:minmax(150px,1.3fr) repeat(4,minmax(90px,1fr)) minmax(130px,1.3fr) minmax(120px,1.1fr) 18px;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;background:var(--card,#fff);border:1px solid var(--line,#DADDD2);border-left:4px solid #4C8DFF;text-decoration:none;color:inherit}
.ab-row:hover,.ab-row:focus-visible{border-color:#15171C;border-left-color:#4C8DFF;outline:none;box-shadow:0 8px 20px -14px rgba(0,0,0,.4)}
.ab-c{display:flex;flex-direction:column;gap:3px;min-width:0}
.ab-c > b{font-family:var(--font-d);font-size:20px;font-weight:800;line-height:1}
.ab-c > b small{font-size:12px;margin-left:2px}
.ab-cl{font-family:var(--font-m);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#5C6152)}
.ab-nm b{font-size:16px}.ab-nm em,.ab-tx em{font-style:normal;font-size:12px;color:var(--muted,#5C6152)}
.ab-tx > span:not(.ab-cl){font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ab-tx .pf-p{font-style:normal;margin-right:4px}
.ab-go{font-size:18px;color:var(--muted,#5C6152)}
.ab-note{font-size:12.5px;color:var(--muted,#5C6152);margin:12px 0 0}
html[data-theme=dark] .ab-t,html[data-theme=dark] .ab-row,html[data-theme=dark] .ab-board .ab-t,html[data-theme=dark] .ab-ctl select,html[data-theme=dark] .ab-q{background:#1C1F18;border-color:#30342A;color:#F2F4EC}
html[data-theme=dark] .hm-anacard .ab-t{background:#23271E}
html[data-theme=dark] .ab-sp .ab-on{fill:#F2F4EC}html[data-theme=dark] .ab-sp .ab-off{fill:rgba(242,244,236,.12)}
html[data-theme=dark] .ab-tl,html[data-theme=dark] .ab-ts,html[data-theme=dark] .ab-cl,html[data-theme=dark] .ab-head p,html[data-theme=dark] .ab-note,html[data-theme=dark] .ab-nm em,html[data-theme=dark] .ab-tx em{color:#A9AE9E}
html[data-theme=dark] .ab-up{color:#4FD6A0!important}html[data-theme=dark] .ab-dn{color:#FF7A63!important}
@media (max-width:1180px){ .ab-tiles{grid-template-columns:repeat(3,minmax(0,1fr))} .ab-row{grid-template-columns:minmax(140px,1.2fr) repeat(4,minmax(70px,1fr)) 18px} .ab-row .ab-tx{display:none} }
@media (max-width:700px){
  .ab-tiles{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 12px}
  .ab-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .ab-row .ab-nm{grid-column:1/-1}
  .ab-row .ab-tx{display:flex;grid-column:span 2}
  .ab-go{display:none}
}
.ab-ctl select{width:auto!important;max-width:220px}
.ab-sum{font-family:var(--font-m);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#5C6152)}
html body #main .card.cx.k-analytics,html body #main .hm-anacard{--k:#4C8DFF!important;border-top-color:#4C8DFF!important}
#main .ab-board{margin-top:22px}

/* ============ v364: dark mode you can actually read (phone first) ============
   Rob, 27/10/26: on the iPhone in dark mode the client record "all blends into
   one" -- page, cards, header and tab bar were within a few shades of each
   other, inactive tabs were mid-grey, and buttons sat grey-on-grey. Rule here:
   every surface steps up clearly from the one behind it, every edge has a
   visible line, and anything you tap or read as a heading is near-white or volt. */
html[data-theme="dark"] body{--v4-page:#0B0C09;--v4-card:#1C1F17;--v4-raise:#262A1F;--v4-line:#3D4233;--v4-line2:#555B47;--v4-ink:#F2F4EA;--v4-ink2:#D9DCCF}
html[data-theme="dark"] body,html[data-theme="dark"] #appShell,html[data-theme="dark"] #main{background-color:var(--v4-page)!important}
/* cards and panels: a real step up plus a visible edge */
html[data-theme="dark"] #main .card,html[data-theme="dark"] #main .vital,html[data-theme="dark"] #main .smap,
html[data-theme="dark"] #main .hm-card,html[data-theme="dark"] #main .wk-card{background:var(--v4-card)!important;border:1px solid var(--v4-line)!important}
html[data-theme="dark"] #main .smap>summary b{color:var(--v4-ink)!important}
html[data-theme="dark"] #main .smap-sum{color:var(--v4-ink2)!important}
/* client header: lighter than the cards, with a clear outline */
html[data-theme="dark"] #main .ath-hero,html[data-theme="dark"] #main .lk-strip{background:var(--v4-raise)!important;border-color:var(--v4-line2)!important}
html[data-theme="dark"] #main .ath-hero{border:1px solid var(--v4-line2)!important;border-bottom:0!important}
html[data-theme="dark"] #main .lk-strip{border-left:1px solid var(--v4-line2)!important;border-right:1px solid var(--v4-line2)!important}
html[data-theme="dark"] #main .ath-hero .btn-ghost,html[data-theme="dark"] #main .ath-hero .actions .btn{background:transparent!important;color:var(--v4-ink)!important;border:1.5px solid #8A917A!important}
html[data-theme="dark"] #main .ath-chips span,html[data-theme="dark"] #main .ath-chips .chip{background:#353A2C!important;color:var(--v4-ink)!important;border:1px solid #4E5541!important}
html[data-theme="dark"] #main .lk-c:not(.lk-go):not(.lk-warn){background:#31362A!important;border:1px solid #4E5541!important;color:var(--v4-ink)!important}
html[data-theme="dark"] #main .lk-c span{color:#C4CAB4!important}
html[data-theme="dark"] #main .lk-arr,html[data-theme="dark"] #main #lkPick{background:#31362A!important;border:1px solid #6A7259!important;color:var(--v4-ink)!important}
html[data-theme="dark"] #main .lk-arr[disabled]{opacity:.35!important}
/* section tab bar: its own band, white tabs, volt + thick underline for the one you're on */
html[data-theme="dark"] #main .csec-row{background:#14160F!important;border:1px solid var(--v4-line2)!important;border-top:1px solid var(--v4-line2)!important}
html[data-theme="dark"] #main .csec .csec-b{color:#E8EBDD!important}
html[data-theme="dark"] #main .csec .csec-b.on,html[data-theme="dark"] #main .csec .csec-b[aria-current="page"]{color:#DAFF01!important;border-bottom:4px solid #DAFF01!important}
/* hint that the tab bar scrolls sideways */
html[data-theme="dark"] #main .csec::after{content:"";position:absolute;right:1px;top:1px;bottom:1px;width:28px;pointer-events:none;border-radius:0 0 16px 0;background:linear-gradient(90deg,rgba(20,22,15,0),#14160F)}
/* small labels (AGE, BODY WEIGHT...) and section intros */
html[data-theme="dark"] #main .vital-l,html[data-theme="dark"] #main .sec-d,html[data-theme="dark"] #main .muted{color:#C9CDBC!important}
html[data-theme="dark"] #main .sec-banner{border:1px solid var(--v4-line)!important}
html[data-theme="dark"] #main .sec-t,html[data-theme="dark"] #main .card-head h2,html[data-theme="dark"] #main .card>h2,html[data-theme="dark"] #main .card>h3{color:var(--v4-ink)!important}
/* bottom bar and back button */
html[data-theme="dark"] body .appnav-bot a:not(.active){color:#DADDD0!important}
html[data-theme="dark"] body .appnav-bot{border-top:1px solid var(--v4-line2)!important}
html[data-theme="dark"] .backbar a,html[data-theme="dark"] .back-bar a,html[data-theme="dark"] #main .bk-btn{border:1px solid var(--v4-line2)!important;color:var(--v4-ink)!important}
html[data-theme="dark"] body #main .ath-hero .ath-chips span{background:#353A2C!important}
html[data-theme="dark"] #main .eg-when,html[data-theme="dark"] #main .eg-hl i,html[data-theme="dark"] #main .dv-pill{color:#CDD1C0!important}
html[data-theme="dark"] body .appnav-bot button,html[data-theme="dark"] body .appnav-bot a{color:#DADDD0}
html[data-theme="dark"] body .appnav-bot .active{color:#DAFF01!important}
html[data-theme="dark"] body #appTabs #tabMore:not(.active){color:#DADDD0!important;opacity:1!important}

/* ============ v365: iPad overlaps + RIR / estimated 1RM in the session log ============ */
/* Sidebar: on an iPad the Collapse button was pinned over the last links
   (Settings / Coaches). The link list now scrolls on its own if it runs out of
   room and the button sits underneath it, never on top of it. */
@media (min-width:700px){
  html body .topbar .appnav-top{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
  html body .side-mini-btn{position:static!important;flex:none!important;margin:6px 14px 14px!important;width:auto!important;order:9}
}
/* Set rows get a fourth box: RIR */
html body .slog-setshead:has(.h-rir),html body .slog-set:has(.slog-rir){grid-template-columns:62px minmax(0,1fr) 14px minmax(0,1fr) minmax(54px,.6fr) minmax(64px,.7fr) 26px!important;max-width:780px}
.slog-setshead .h-rir{cursor:help}
html body .slog-set .slog-rir{font-size:15px}
@media (max-width:480px){
  html body .slog-setshead:has(.h-rir),html body .slog-set:has(.slog-rir){grid-template-columns:40px minmax(0,1fr) 8px minmax(0,1fr) 44px 52px 14px!important;gap:5px!important}
  html body .slog-setshead .h-e1c{font-size:10px!important;letter-spacing:.02em!important;line-height:1.1}
}
/* the live estimate under each lift */
.slog-e1rm:empty{display:none}
.slog-e1rm{margin:10px 0 2px;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--accent,#DAFF01) 10%,var(--surface,#fff));border:1px solid color-mix(in srgb,var(--accent,#DAFF01) 40%,transparent);font-size:14px;line-height:1.45;color:var(--text)}
.slog-e1rm b{font-weight:800}
.slog-e1rm .slog-e1warn,.slog-e1rm .slog-e1note{display:block;margin-top:4px}
.slog-e1warn{color:#B4441B;font-weight:700}
html[data-theme="dark"] .slog-e1warn{color:#FFB38A}
.slog-e1note{color:var(--muted);font-size:13px}
html[data-theme="dark"] .slog-e1rm{background:#22261A;border-color:#4E5A1F;color:#F2F4EA}
html[data-theme="dark"] .slog-e1note{color:#C9CDBC}
/* the Finish table */
.slog-mxt{display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;margin:6px 0 8px}
.slog-mxh,.slog-mxr{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,.9fr);gap:8px;padding:9px 12px;align-items:center;font-size:14px}
.slog-mxh{font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--surface-2,#F3F4EE)}
.slog-mxr+.slog-mxr,.slog-mxh+.slog-mxr{border-top:1px solid var(--border)}
.slog-mxr>span:first-child{font-weight:700}
.slog-mxnote{font-size:13px;margin:6px 0 0}
html[data-theme="dark"] .slog-mxh{background:#262A1F;color:#D9DCCF}
html[data-theme="dark"] .slog-mxt,html[data-theme="dark"] .slog-mxr+.slog-mxr,html[data-theme="dark"] .slog-mxh+.slog-mxr{border-color:#3D4233}
@media (max-width:640px){
  .slog-mxh{display:none}
  .slog-mxr{grid-template-columns:1fr 1fr;row-gap:2px}
  .slog-mxr>span:first-child{grid-column:1/-1}
  .slog-mxr>span:nth-child(3)::before{content:"Est. 1RM "}
  .slog-mxr>span:nth-child(4)::before{content:"% of 1RM on file: "}
  .slog-mxr>span:nth-child(5)::before{content:"first to last set: "}
  .slog-mxr>span::before{color:var(--muted);font-size:12px}
}
/* v366: estimated 1RM per set, its own column after RIR */
.slog-setshead .h-e1c{text-align:center;cursor:help}
.slog-e1c{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:44px;border-radius:10px;border:1px dashed var(--border);color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.05}
.slog-e1c:empty::before{content:"\2014";opacity:.5}
.slog-e1c b{font-size:17px;font-weight:800;color:var(--text)}
.slog-e1c small{font-size:11px;font-weight:700;color:var(--muted);margin-top:2px}
.slog-e1c.is-norir b{opacity:.7}
.slog-e1c.is-na i{font-style:normal;font-size:12px}
html[data-theme="dark"] .slog-e1c{border-color:#4E5541}
html[data-theme="dark"] .slog-e1c small{color:#C9CDBC}
@media (max-width:480px){.slog-e1c b{font-size:15px}}

/* ============ v366: Home calendar says what needs doing, not just who ============ */
/* Days size to what's in them; free days slimmer so busy days get the room */
@media (min-width:761px){
  html body #main .cx-week .cal-card .wk-grid{grid-template-columns:var(--wkcols,repeat(7,minmax(0,1fr)))!important;align-items:start!important}
}
html body #main .cx-week .cal-card .wk-day{min-height:0!important}
html body #main .cx-week .cal-card .wk-day.is-free{min-height:0!important}
html body #main .cx-week .cal-card .wk-day.is-free .wk-none{font-size:12px;color:#8A9099}
/* Today: a clear lime ring and label, not a big lime slab that out-shouts its sessions */
html body #main .cx-week .cal-card .wk-day.is-today{background:#fff!important;box-shadow:0 0 0 3px var(--accent,#DAFF01),0 6px 18px -8px rgba(20,23,28,.25)!important}
html body #main .cx-week .cal-card .wk-day.is-today .wk-dh span{color:#4D5A00!important;font-weight:800}
html body #main .cx-week .cal-card .wk-day.is-today .wk-dh b{color:#15171C!important}
html body #main .cx-week .cal-card .wk-day.is-today .wk-none{color:#8A9099!important}
html[data-theme="dark"] body #main .cx-week .cal-card .wk-day.is-today{background:#1C1F17!important}
html[data-theme="dark"] body #main .cx-week .cal-card .wk-day.is-today .wk-dh span{color:#DAFF01!important}
html[data-theme="dark"] body #main .cx-week .cal-card .wk-day.is-today .wk-dh b{color:#fff!important}
/* Session chips: status and flags in words */
html body #main .cal-card .wk-s{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;width:100%}
html body #main .cal-card .wk-s .wk-tgs{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
html body #main .cal-card .wk-tg{font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;line-height:1;padding:4px 6px;border-radius:5px;background:#ECEEF1;color:#3B414B}
html body #main .cal-card .wk-tg.is-ok{background:#DDF5EA;color:#0E6B47}
html body #main .cal-card .wk-tg.is-late{background:#FFE7D3;color:#9A3F06}
html body #main .cal-card .wk-tg.is-bad{background:#FDE0DC;color:#A3261B}
html body #main .cal-card .wk-tg.is-warn{background:#FFF1C9;color:#7A5300}
html body #main .cal-card .wk-tg.is-ty{background:#E6EAFF;color:#2A3FA8}
html body #main .cal-card .wk-s.is-late{background:#FFF8F2!important}
html[data-theme="dark"] body #main .cal-card .wk-tg{background:#3A3F47;color:#E6E8EC}
html[data-theme="dark"] body #main .cal-card .wk-tg.is-ok{background:#123D2C;color:#7BEBB8}
html[data-theme="dark"] body #main .cal-card .wk-tg.is-late{background:#4A2A12;color:#FFC08F}
html[data-theme="dark"] body #main .cal-card .wk-tg.is-bad{background:#4A1E1A;color:#FFB0A6}
html[data-theme="dark"] body #main .cal-card .wk-tg.is-warn{background:#43360F;color:#FFDB7A}
html[data-theme="dark"] body #main .cal-card .wk-tg.is-ty{background:#1F2A5A;color:#B8C6FF}
html[data-theme="dark"] body #main .cal-card .wk-s.is-late{background:#33281F!important}
/* Toolbar: one main button, the rest in a menu */
.wk-menu{position:relative}
.wk-menu>summary{list-style:none;cursor:pointer;min-width:40px;text-align:center;font-size:18px!important;line-height:1}
.wk-menu>summary::-webkit-details-marker{display:none}
.wk-menu-b{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:200px;background:#fff;border:1px solid #D9DCE1;border-radius:12px;box-shadow:0 14px 34px -12px rgba(20,23,28,.35);padding:6px;display:flex;flex-direction:column}
.wk-mi{display:block;text-align:left;font:inherit;font-size:14px;font-weight:700;color:#15171C;background:none;border:0;border-radius:8px;padding:10px 12px;cursor:pointer;text-decoration:none}
.wk-mi:hover{background:#F1F2F4}
html[data-theme="dark"] .wk-menu-b{background:#1C1F17;border-color:#555B47}
html[data-theme="dark"] .wk-mi{color:#F2F4EA}
html[data-theme="dark"] .wk-mi:hover{background:#2B2F25}
/* Home tabs: colour now means one thing -- lime is where you are */
html body #main .hm-tabs .pl-tab{--kb:#D5D8CF!important;border-top-color:#D5D8CF!important}
html body #main .hm-tabs .pl-tab.on,html body #main .hm-tabs .pl-tab[aria-selected="true"]{--kb:#DAFF01!important;border-top-color:#DAFF01!important}
html[data-theme="dark"] body #main .hm-tabs .pl-tab{--kb:#4E5541!important;border-top-color:#4E5541!important}
/* My Space when nothing is due: one quiet line */
.ms-hc-slim{display:flex!important;align-items:center;gap:12px;padding:12px 16px;margin:0 0 18px;border:1px solid var(--border,#E3E5EA);border-radius:12px;background:var(--surface,#fff);color:var(--text);text-decoration:none;font-size:14px}
.ms-hc-slim b{font-family:var(--font-d);font-size:16px;text-transform:uppercase;letter-spacing:.02em}
.ms-hc-slim span{color:var(--muted)}
.ms-hc-slim em{margin-left:auto;font-style:normal;font-weight:800;font-size:13px}
html[data-theme="dark"] .ms-hc-slim{background:#1C1F17;border-color:#3D4233}
html[data-theme="dark"] .ms-hc-slim span{color:#C9CDBC}
html body #main .wk-menu-b .wk-mi{background:none!important;border:0!important;margin:0!important;width:100%!important;box-shadow:none!important;min-height:0!important;text-transform:none!important;letter-spacing:0!important;justify-content:flex-start!important}
html body #main .wk-menu-b .wk-mi:hover{background:#F1F2F4!important}
html[data-theme="dark"] body #main .wk-menu-b .wk-mi:hover{background:#2B2F25!important}
html body #main .cx-week .cal-card .wk-menu-b .wk-mi,html[data-theme] body #main .cx-week .cal-card .wk-menu-b .wk-mi{background:transparent!important;border:0!important;box-shadow:none!important}
html body #main .cx-week .cal-card .wk-menu-b .wk-mi:hover{background:#F1F2F4!important}
html[data-theme="dark"] body #main .cx-week .cal-card .wk-menu-b .wk-mi:hover{background:#2B2F25!important}
html:not([data-theme="dark"]) body #appShell .wk-top .wk-menu-b button.wk-mi:not(.on){background:transparent!important;border:0!important}
html:not([data-theme="dark"]) body #appShell .wk-top .wk-menu-b button.wk-mi:hover{background:#F1F2F4!important}
html[data-theme="dark"] body #appShell .wk-top .wk-menu-b button.wk-mi{background:transparent!important;border:0!important}
/* v367 — iPad/iPhone: any typing box under 16px makes iOS zoom the page in on tap, and the app
   blocks pinching back out, so the screen gets stuck zoomed. Keep every box at 16px on touch screens. */
@media (hover:none) and (pointer:coarse){
  html body input:not([type=checkbox]):not([type=radio]):not([type=range]),html body select,html body textarea{font-size:16px!important}
  html body .slog-setshead select.slog-unit{font-size:16px!important}
}
/* v369 — Rob: "you can't make out the day or the date". The date line was 13px grey
   spaced-out capitals. Now the date is a plain, dark, readable line; the greeting stays small. */
html body #main .hx-head .eyebrow.hx-date{font-family:inherit!important;text-transform:none!important;letter-spacing:0!important;font-size:18px!important;line-height:1.3;color:var(--r-ink,#15171A)!important;margin-bottom:6px}
html body #main .hx-head .eyebrow.hx-date b{font-weight:800}
html body #main .hx-head .eyebrow.hx-date span{font-weight:600;color:#4A4F57}
html[data-theme="dark"] body #main .hx-head .eyebrow.hx-date{color:#F3F4EE!important}
html[data-theme="dark"] body #main .hx-head .eyebrow.hx-date span{color:#B9BDB2}
@media (max-width:480px){html body #main .hx-head .eyebrow.hx-date{font-size:16px!important}}

/* ===== v401: one menu at iPad width and up. The sidebar holds every page,
   so the menu button and its drop-down are gone there. ===== */
@media (min-width:700px){
  html body #topbar .navmore-wrap{display:none!important}
  html body #appShell #topbar .appnav.appnav-top .side-cm{padding:8px 6px 70px}
  html body #appShell #topbar .appnav.appnav-top .side-cm .navmore-toggle{display:flex;align-items:center;gap:10px;color:rgba(242,244,236,.78);font-size:13px;padding:8px;cursor:pointer}
  html body #appShell #topbar .appnav.appnav-top .side-cm .nt-text{display:flex;flex-direction:column;line-height:1.25}
  html body #appShell #topbar .appnav.appnav-top .side-cm .nt-text span{font-size:11.5px;color:rgba(242,244,236,.5)}
  html.side-mini body #appShell #topbar .appnav.appnav-top .side-cm .nt-text{display:none}
}
/* Forms page */
.fm-wrap{display:grid;gap:16px}
.fm-card .fm-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.fm-card .fm-h h3{margin:0}
.fm-seg{display:inline-flex;gap:6px;margin:12px 0 4px;flex-wrap:wrap}
.fm-seg button{border:1px solid var(--line);background:transparent;color:inherit;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;cursor:pointer;min-height:36px}
.fm-seg button.on{background:var(--accent);color:#111;border-color:var(--accent);font-weight:700}
.fm-list{list-style:none;margin:12px 0 0;padding:0}
.fm-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.fm-who{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.fm-who b{font-size:15px}
.fm-act{display:flex;gap:6px;flex-wrap:wrap}
.fm-new{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:12px}
.fm-links{margin:12px 0 0;padding-left:18px;line-height:1.9}
.fm-empty{margin-top:12px}
@media (max-width:520px){.fm-row{align-items:flex-start}.fm-act{width:100%}.fm-act .btn{flex:1 1 auto}}

/* v401 report More menu */
.rep-more{position:relative;display:inline-block}
.rep-more>summary{list-style:none;cursor:pointer}.rep-more>summary::-webkit-details-marker{display:none}
.rep-more>summary::after{content:' \25BE'}
.rep-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:260px;background:var(--surface,#fff);border:1px solid var(--border,#E2E4E8);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:6px;display:flex;flex-direction:column}
.rep-menu button{font:inherit;font-size:14px;text-align:left;background:none;border:0;border-radius:8px;padding:11px 12px;cursor:pointer;color:var(--text,#14160F)}
.rep-menu button:hover{background:var(--surface-2,#F3F4F6)}
@media (max-width:699px){.rep-menu{left:0;right:auto}}
.fm-seg button{white-space:nowrap}

/* v449 (Rob, 18/11): readability pass for the coach app. Headings, names,
   dates and labels readable at a glance. Light-theme colour fixes are scoped
   so dark mode keeps its own palette. */
/* soft.css turns every dark "-band" light; the text inside stayed lime/white */
html:not([data-theme="dark"]) body #appShell [class*="-band"]:not(.wk-top):not(.auto-band):not(.slog-on) > b,html:not([data-theme="dark"]) body #appShell .cp-band h3,html:not([data-theme="dark"]) body #appShell .cp-sec .cp-band h3,html:not([data-theme="dark"]) body #appShell .wz-band-c b{color:var(--soft-ink)!important}
html:not([data-theme="dark"]) body #appShell .cp-band .lib-cnt{background:#1C1C1E!important;color:#DAFF01!important}
html:not([data-theme="dark"]) body #appShell .slog-band:not(.slog-on){color:var(--soft-ink)!important}
html:not([data-theme="dark"]) body #appShell .auto-band.f{background:#D64545!important;color:#fff!important}
html:not([data-theme="dark"]) body #appShell .auto-band.p{background:#2E9E57!important;color:#fff!important}
html:not([data-theme="dark"]) body #appShell .slog-band.slog-on{background:var(--tc-d)!important;color:#fff!important}
html:not([data-theme="dark"]) body .bb-btn .bb-a{color:#15171C!important}
html:not(.x-n) body #appShell #topbar .appnav.appnav-top .nav-grp{color:rgba(242,244,236,.72)!important}
html body #appShell #topbar .appnav.appnav-top .side-cm .nt-text span{color:rgba(242,244,236,.75)!important}
html body .hc-date{color:#E2E4DC!important}
html body .hc-sub{color:#E2E4DC!important}
html:not([data-theme="dark"]) body .wk2-dw{color:#3A4049!important}
html:not([data-theme="dark"]) body .wk2-d.is-now .wk2-dw{color:#4A5A00!important}
html:not([data-theme="dark"]) body .wk2-d.is-free .wk2-dn,html:not([data-theme="dark"]) body .wk2-d.is-free .wk2-dw{opacity:.85!important}
html:not([data-theme="dark"]) body .foot-build #buildStamp,html:not([data-theme="dark"]) body .foot-btn,html:not([data-theme="dark"]) body footer .brand-text-name{color:#5C6270!important}
html:not([data-theme="dark"]) body .sh-regs em{color:#5C6270!important;font-size:10.5px!important}
html:not([data-theme="dark"]) body .sh-regs small{color:#5C6270!important}
/* v449b — coach readability follow-ups */
@media (max-width:999px){html:not([data-theme="dark"]) body .wk2-d.is-sel .wk2-dw,html:not([data-theme="dark"]) body .wk2-d.is-sel.is-now .wk2-dw{color:var(--accent)!important}}
html:not([data-theme="dark"]) body .foot .foot-mark{opacity:1!important}
html:not([data-theme="dark"]) body .vid-row.is-borrowed .vid-rb span{color:#8A5200!important}
html:not([data-theme="dark"]) body .pt-a b{color:#8A5200!important}

/* v451 (Rob, 18/11): coach Home "crisper, more like software".
   - Top tiles: compact charcoal tiles, thin colour strip on top, bold caps title,
     white sub line, the count in a thin lime ring; the open tile gets a lime ring.
   - Every Home section (Needs you, Activity, Clients, Teams, Analytics) gets the
     same charcoal header band under its colour strip, so they all read alike.
   - Needs you action buttons get a dark outline so they read as actions.
   - Activity filter chips: stronger outline, the count as a bold number pill.
   - Today band: orange "not logged" chip and orange strip swapped for lime. */
html:not([data-theme=dark]) body #main .hm-tabs{gap:10px!important}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab{background:#1E211A!important;color:#fff!important;border:0!important;border-top:3px solid var(--v451k,#DAFF01)!important;
  border-radius:12px!important;padding:10px 12px 11px!important;box-shadow:0 6px 16px -10px rgba(16,18,12,.55)!important;min-height:0!important;position:relative;justify-content:center!important}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.k-needs{--v451k:#DAFF01}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.k-clients{--v451k:#1FA37A}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.k-groups{--v451k:#8B5CF6}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.k-training{--v451k:#3B82F6}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.k-more{--v451k:#F59E0B}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab.on,html:not([data-theme=dark]) body #main .hm-tabs .pl-tab[aria-selected=true]{box-shadow:0 0 0 2px #DAFF01,0 8px 20px -10px rgba(16,18,12,.6)!important}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab-t{color:#fff!important;font-size:19px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.02em;align-items:center;width:100%;overflow:visible!important}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab-s{color:rgba(255,255,255,.82)!important;font-size:10.5px!important;font-weight:600!important;margin-top:2px}
html:not([data-theme=dark]) body #main .hm-tabs .pl-tab .lib-cnt{margin-left:auto!important;background:transparent!important;color:#fff!important;border:1.5px solid #DAFF01!important;
  min-width:30px;height:30px;padding:0 7px!important;border-radius:999px!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:15px!important;font-weight:800!important;line-height:1;box-sizing:border-box}

/* Section header band */
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .hx-h{background:#1E211A!important;padding:12px 18px 4px!important;margin:0!important;align-items:center}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .cx-top,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .cx-top{background:#1E211A!important;margin:0 0 12px!important;padding:0 18px 11px!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h h2,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .hx-h h2{color:#fff!important;font-size:24px!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h .hx-n{background:transparent!important;color:#fff!important;border:1.5px solid #DAFF01;border-radius:999px!important;min-width:26px;text-align:center;box-sizing:border-box}
html:not([data-theme=dark]) body #main .hm-row .cx-stat{color:rgba(255,255,255,.82)!important}
html:not([data-theme=dark]) body #main .hm-row .cx-stat.is-bad{color:#FF8A73!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-key,html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-sub,html:not([data-theme=dark]) body #main .hm-row .hx-h .muted,html:not([data-theme=dark]) body #main .hm-row .hx-h span:not(.hx-n):not(.hx-dot){color:rgba(255,255,255,.82)!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-min,html:not([data-theme=dark]) body #main .hm-row .hx-h .btn-ghost{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-min:hover,html:not([data-theme=dark]) body #main .hm-row .hx-h .btn-ghost:hover{border-color:#DAFF01!important;color:#DAFF01!important}

/* Needs you: actions look like actions */
html:not([data-theme=dark]) body #main .hx-list .hx-act{border:1.5px solid #14160F!important;font-weight:800!important;box-shadow:0 2px 0 #14160F}
html:not([data-theme=dark]) body #main .hx-list .hx-act.btn-ghost{background:#fff!important;color:#14160F!important}

/* Activity chips: clear outline, clear number */
html:not([data-theme=dark]) body #main .cx-chips .chip{background:#fff!important;color:#14160F!important;border:2px solid #1E211A!important;font-weight:700!important;gap:7px;padding:5px 6px 5px 12px!important}
html:not([data-theme=dark]) body #main .cx-chips .chip em{font-style:normal;font-weight:800;font-size:15px!important;background:#1E211A;color:#DAFF01!important;border-radius:999px;padding:1px 9px;min-width:14px;text-align:center}
html:not([data-theme=dark]) body #main .cx-chips .chip.on{background:#1E211A!important;color:#fff!important}
html:not([data-theme=dark]) body #main .cx-chips .chip.on em{background:#DAFF01;color:#14160F!important}

/* Today band: lime, not orange */
html:not([data-theme=dark]) body #main .card.wk-card.tone-warn{border-top-color:#DAFF01!important}
html:not([data-theme=dark]) body #main .hc-head .hc-st{background:transparent!important;color:var(--tone)!important;border:1.5px solid var(--tone)!important}
html:not([data-theme=dark]) body #main .hc-head .hc-st i{background:var(--tone)!important}
/* v451b: win over app.css nav.hm-tabs .pl-tab[class*="k-"] tints and the -webkit-text-fill-color on headings */
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"],html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"]:hover,html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{
  background:#1E211A!important;color:#fff!important;-webkit-text-fill-color:#fff;border:0!important;border-top:3px solid var(--v451k,#DAFF01)!important;outline:0!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"]:hover{background:#2A2E24!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{box-shadow:0 0 0 2px #DAFF01,0 8px 20px -10px rgba(16,18,12,.6)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] *{-webkit-text-fill-color:currentColor}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .lib-cnt{background:transparent!important;color:#fff!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-space{--v451k:#19B8D6}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-signups{--v451k:#F5B82E}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-signups.is-new .lib-cnt{background:#DAFF01!important;color:#14160F!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h h2,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .hx-h h2{-webkit-text-fill-color:#fff!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h h2 .hx-n{-webkit-text-fill-color:#fff!important;background:transparent!important;color:#fff!important;border:1.5px solid #DAFF01}
html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-t{color:#fff!important}
html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-s{color:rgba(255,255,255,.82)!important}
/* Today band: one brand colour (lime) instead of orange */
html:not([data-theme=dark]) body #main .hc-card.tone-warn{--tone:#DAFF01;--tone-ink:#14160F}
html:not([data-theme=dark]) body #main .hc-card .hc-head{background:#1E211A!important}

/* v451c (Rob, 18/11): "This week" calendar polish, desktop/iPad landscape.
   One framed board: a header row of days (today in charcoal and lime), thin
   dividers between days, today's column lightly tinted, tidy session blocks,
   the next session in charcoal, empty days as a dashed "Free" slot. */
@media (min-width:900px){
html:not([data-theme=dark]) body #main .wk-card .wk2{padding:2px 22px 22px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-days{gap:0!important;border:1px solid #E1E4DA;border-bottom:0;border-radius:12px 12px 0 0;overflow:hidden;background:#F6F7F2}
html:not([data-theme=dark]) body #main .wk-card .wk2-cols{gap:0!important;margin:0!important;border:1px solid #E1E4DA;border-radius:0 0 12px 12px;overflow:hidden;min-height:210px}
html:not([data-theme=dark]) body #main .wk-card .wk2-d{border:0!important;border-left:1px solid #E1E4DA!important;border-radius:0!important;background:transparent!important;padding:10px 12px 11px!important;box-shadow:none!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d:first-child{border-left:0!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dw{font-size:11.5px!important;letter-spacing:.1em;font-weight:800;color:#6B7080!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dn{font-size:24px!important;color:#1E211A!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dc{font-size:12px!important;font-weight:600;color:#4A4F57!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-free .wk2-dc{color:#9AA0A6!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-load{display:none!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now{background:#1E211A!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dw{color:#DAFF01!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dn{color:#fff!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dc{color:rgba(255,255,255,.82)!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-col{margin:0!important;border-radius:0!important;padding:10px 8px 12px!important;gap:7px!important;background:#fff!important;border-left:1px solid #E1E4DA;min-height:0!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-col:first-child{border-left:0}
html:not([data-theme=dark]) body #main .wk-card .wk2-col.is-wkend{background:#FAFAF7!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-col.is-now{background:#F9FFE0!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s{border:1px solid #E1E4DA!important;border-left:3px solid #1E211A!important;border-radius:8px!important;padding:7px 9px 8px!important;background:#fff!important;box-shadow:0 1px 0 rgba(16,18,12,.04)!important;outline:0!important;gap:1px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s:hover{border-color:#1E211A!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-late{border-left-color:#F5A524!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.has-bad{border-left-color:#D93A2B!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-done{border-left-color:#1FA37A!important;opacity:.8}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-ol{border-left-color:#19B8D6!important;background:#F4FBFD!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-t{font-family:var(--font-m)!important;font-size:11.5px!important;font-weight:700!important;color:#6B7080!important;letter-spacing:.03em}
html:not([data-theme=dark]) body #main .wk-card .wk2-n{font-size:13.5px!important;font-weight:800!important;color:#15171C!important;line-height:1.2}
html:not([data-theme=dark]) body #main .wk-card .wk2-m{margin-top:4px;justify-self:start;font-size:10.5px!important;font-weight:800!important;letter-spacing:.02em}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next{background:#1E211A!important;border-color:#1E211A!important;box-shadow:0 0 0 2px #DAFF01!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-t{color:#DAFF01!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-n{color:#fff!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next.has-bad{border-left:3px solid #FF6A5A!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-free{margin:0!important;border:1.5px dashed #D5D8CE;border-radius:8px;padding:16px 6px;text-align:center;font-size:12.5px!important;font-weight:600;color:#9AA0A6!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-cols{align-items:stretch!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-col{align-self:stretch!important;height:auto!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-flag{display:none!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m{background:rgba(255,106,90,.22)!important;color:#FFC2B9!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m.is-warn{background:rgba(245,165,36,.25)!important;color:#FFD58A!important}
}

/* v451d (Rob, 18/11 "calendar needs fixed"):
   1) iPad / narrow laptop: names and tags no longer cut off in the 7-day board.
   2) Month view matches the 7-day board: white day cells, neutral session blocks
      with the same left tone bar, past days quiet, today charcoal + lime. */
@media (min-width:900px){
html:not([data-theme=dark]) body #main .wk-card .wk2-cols>.wk2-col,html:not([data-theme=dark]) body #main .wk-card .wk2-days>.wk2-d{min-width:0!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s{grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-n{overflow-wrap:anywhere;white-space:normal!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-m{max-width:100%;white-space:normal!important;box-sizing:border-box}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next{box-shadow:inset 0 0 0 2px #DAFF01!important}
}
@media (min-width:900px) and (max-width:1199px){
html:not([data-theme=dark]) body #main .wk-card .wk2{padding:2px 14px 18px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d{padding:8px 8px 9px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dn{font-size:20px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dc{font-size:11px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-col{padding:8px 5px 10px!important;gap:5px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s{padding:6px 6px 7px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-n{font-size:12.5px!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-m{font-size:10px!important;padding:1px 5px!important}
}
/* Month view */
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-dow span{font-size:11.5px!important;font-weight:800;letter-spacing:.1em;color:#6B7080!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day{background:#fff!important;border:1px solid #E1E4DA!important;border-radius:10px!important;box-shadow:none!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day.is-past{background:#F7F8F4!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day.is-out{background:transparent!important;border-style:dashed!important;opacity:.6}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day.is-today{background:#1E211A!important;border:2px solid #DAFF01!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day.is-today .cal-dn{color:#DAFF01!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-dn{color:#1E211A!important;font-weight:800}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s{background:#fff!important;border:1px solid #E1E4DA!important;border-left:3px solid #1E211A!important;border-radius:7px!important;box-shadow:none!important;opacity:1!important;min-width:0}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s .wk-t{color:#6B7080!important;font-family:var(--font-m);font-weight:700}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s .wk-n{color:#15171C!important;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s.is-late{border-left-color:#F5A524!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s.is-done{border-left-color:#1FA37A!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s.is-ol{border-left-color:#19B8D6!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s.is-off{border-left-color:#C5C9CF!important;opacity:.6!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day .wk-s.is-off .wk-n{text-decoration:line-through}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-day.is-out .wk-s{opacity:.7!important}
html:not([data-theme=dark]) body #main .wk-card.is-month .cal-more{color:#4A4F57!important;font-weight:700}

/* v453 (Rob, 18/11): "the band at the top is a massive black band still".
   Today band goes light and slim: white strip, thin tone bar on the left,
   charcoal text at a normal size, buttons in a row on the right. Light mode only. */
html:not([data-theme=dark]) body #main .hc-card .hc-head,html:not([data-theme=dark]) body #appShell .hc-card .hc-head{background:#fff!important;color:#14160F!important;padding:12px 18px 12px 22px!important;gap:14px!important;border-bottom:1px solid #E3E5EA!important}
html:not([data-theme=dark]) body #main .hc-card .hc-head::before{width:5px}
html:not([data-theme=dark]) body #main .hc-card .hc-date{color:#5C6155!important;font-size:13px;margin:0 0 3px}
html:not([data-theme=dark]) body #main .hc-card .hc-date b{color:#14160F!important}
html:not([data-theme=dark]) body #main .hc-card .hc-h{font-size:24px!important;color:#14160F!important;-webkit-text-fill-color:#14160F;line-height:1.1}
html:not([data-theme=dark]) body #main .hc-card .hc-nw{color:#14160F!important;-webkit-text-fill-color:#14160F;background:#DAFF01;padding:0 6px;border-radius:4px}
html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-nw{background:#FF5A4E;color:#fff!important;-webkit-text-fill-color:#fff}
html:not([data-theme=dark]) body #main .hc-card.tone-idle .hc-nw{background:transparent}
html:not([data-theme=dark]) body #main .hc-card .hc-sub{color:#5C6155!important;font-size:13px;margin:3px 0 0}
html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-st{font-size:11px;padding:2px 9px 2px 8px;border-color:currentColor!important}
html:not([data-theme=dark]) body #main .hc-card.tone-ok .hc-head .hc-st,html:not([data-theme=dark]) body #main .hc-card.tone-warn .hc-head .hc-st{color:#4A5A00!important;background:#F4FFB8!important}
html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-head .hc-st{color:#C62D22!important;background:#FFF1EF!important}
html:not([data-theme=dark]) body #main .hc-card.tone-idle .hc-head .hc-st{color:#5C6155!important}
html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-st i{background:currentColor!important}
html:not([data-theme=dark]) body #main .hc-card .hc-needs{margin-top:7px;gap:5px}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li{background:#F2F3EE!important;color:#2A2E24!important;font-size:12px;padding:3px 9px 3px 20px}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li::before{left:8px}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li:not(.is-warn):not(.is-bad)::before{background:#8DA300}
html:not([data-theme=dark]) body #main .hc-card .hc-a{flex-direction:row!important;min-width:0;gap:8px}
html:not([data-theme=dark]) body #main .hc-card .hc-a .btn{min-height:38px!important;padding:0 16px}
html:not([data-theme=dark]) body #main .hc-card .hc-a .hc-ghost{color:#14160F!important;border:1.5px solid #1E211A!important;-webkit-text-fill-color:#14160F}
@media (max-width:999px){
  html:not([data-theme=dark]) body #main .hc-card .hc-head{padding:12px 14px 12px 18px!important;gap:10px!important}
  html:not([data-theme=dark]) body #main .hc-card .hc-h{font-size:21px!important}
}
@media (max-width:520px){
  html:not([data-theme=dark]) body #main .hc-card .hc-h{font-size:19px!important}
  html:not([data-theme=dark]) body #main .hc-card .hc-a .btn{flex:1}
}
/* v453: iPad portrait / narrow windows: the 7 Home tiles were squeezed into one
   row and the titles cut off ("OVERVI", "SIGN-U"). Two tidy rows of 4 instead. */
@media (min-width:521px) and (max-width:1099px){
  html:not([data-theme=dark]) body #main nav.hm-tabs.hx-tiles{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  html:not([data-theme=dark]) body #main nav.hm-tabs.hx-tiles .pl-tab{min-width:0!important}
  html:not([data-theme=dark]) body #main nav.hm-tabs.hx-tiles .pl-tab-t{font-size:16px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* v453: Sign-ups tile on/off pill (shows when nobody new) */
body #main nav.hm-tabs .pl-tab .fd-st{display:inline-block;vertical-align:middle;margin-left:6px;padding:1px 7px;border-radius:999px;font-family:var(--font-b,inherit);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;-webkit-text-fill-color:currentColor}
body #main nav.hm-tabs .pl-tab .fd-st.is-on{color:#DAFF01!important;border:1.5px solid #DAFF01}
body #main nav.hm-tabs .pl-tab .fd-st.is-off{color:#C9CDBC!important;border:1.5px solid #6B705F}
/* v453 (Rob, 18/11 "calendar looks no different"): phone + iPad upright get the
   same look as the desktop board. Day strip = one framed bar with dividers,
   today charcoal + lime, picked day lime underline, weekends off-white, no load
   bars (red dot kept: something to check that day). Next session charcoal +
   lime ring, same as desktop. */
@media (max-width:899px){
  html:not([data-theme=dark]) body #main .wk-card .wk2-days{--wk2-gap:0;gap:0!important;border:1px solid #E1E4DA;border-radius:12px;overflow:hidden;background:#fff}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d{border:0!important;border-right:1px solid #E1E4DA!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;position:relative}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d:last-child{border-right:0!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-wkend{background:#F7F8F3!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-load{display:none!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-sel:not(.is-now){box-shadow:inset 0 -3px 0 #8DA300!important;background:#F9FFE0!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-sel:not(.is-now) .wk2-dw{color:#4A5A00!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-sel:not(.is-now) .wk2-dn{color:#14160F!important;-webkit-text-fill-color:#14160F}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-sel:not(.is-now) .wk2-dc{color:#5C6155!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now{background:#1E211A!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dw{color:#DAFF01!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dn{color:#fff!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dc{color:rgba(255,255,255,.82)!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now.is-sel{box-shadow:inset 0 -3px 0 #DAFF01!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-flag{position:absolute;top:6px;right:6px;margin:0}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s{background:#fff!important;border:1px solid #E1E4DA!important;border-left:4px solid #1E211A!important;border-radius:10px!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.has-bad{border-left-color:#D93A2B!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-late{border-left-color:#F5A524!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-done{border-left-color:#22B07D!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-ol{border-left-color:#19B8D6!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next{background:#1E211A!important;border-color:#1E211A!important;box-shadow:0 0 0 2px #DAFF01!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next.has-bad{border-left:4px solid #FF6A5A!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-t{color:#DAFF01!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-n{color:#fff!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m{background:rgba(255,106,90,.22)!important;color:#FFC2B9!important}
  html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m.is-warn{background:rgba(245,165,36,.25)!important;color:#FFD58A!important}
}

/* v453b (Rob, 18/11): "the black is far too dark... harsh... extremely busy".
   Soft and calm: no solid black blocks on Home. Tiles, Today band and section
   headers get a very light tint of their own colour; the thin colour strip on
   top stays. Strong colour only where something needs attention. Light mode. */
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"],html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{background:color-mix(in srgb,var(--v451k,#DAFF01) 9%,#FFFFFF)!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A;box-shadow:0 1px 2px rgba(20,22,15,.06)!important;border:1px solid #E3E5DC!important;border-top:3px solid var(--v451k,#DAFF01)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"]:hover{background:color-mix(in srgb,var(--v451k,#DAFF01) 16%,#FFFFFF)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{background:color-mix(in srgb,var(--v451k,#DAFF01) 20%,#FFFFFF)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--v451k,#DAFF01) 80%,#1E211A),0 6px 16px -10px rgba(20,22,15,.35)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .pl-tab-t,html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-t{color:#1E211A!important;-webkit-text-fill-color:#1E211A}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .pl-tab-s,html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-s{color:#5C6155!important;-webkit-text-fill-color:#5C6155}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .lib-cnt{background:#fff!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A;border:1.5px solid color-mix(in srgb,var(--v451k,#DAFF01) 75%,#1E211A)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-signups.is-new .lib-cnt{background:#F5B82E!important;border-color:#F5B82E!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab .fd-st.is-on{color:#4A5A00!important;-webkit-text-fill-color:#4A5A00;border-color:#8DA300;background:#F4FFB8}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab .fd-st.is-off{color:#5C6155!important;-webkit-text-fill-color:#5C6155;border-color:#B9BDB0}
/* Today band: soft tint of its own colour (pale red when "check first") */
html:not([data-theme=dark]) body #main .hc-card .hc-head,html:not([data-theme=dark]) body #appShell .hc-card .hc-head{background:color-mix(in srgb,var(--tone) 9%,#FBFBF8)!important}
html:not([data-theme=dark]) body #main .hc-card .hc-nw{background:transparent!important;padding:0;color:#DAFF01!important;-webkit-text-fill-color:#DAFF01}
html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-nw{background:transparent!important;color:#FF8A80!important;-webkit-text-fill-color:#FF8A80}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li{background:rgba(255,255,255,.75)!important}
html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-head .hc-st{background:#fff!important}
/* Section headers (Needs you, Activity, Clients, Squads, Analytics): soft, not black */
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .hx-h,html:not([data-theme=dark]) body #main .hm-row .card.cx > .cx-top,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .cx-top,html:not([data-theme=dark]) body #main .hx-needs>.hx-h,html:not([data-theme=dark]) body #main .hx-side-card>.hx-h,html:not([data-theme=dark]) body #main .hx-teams>.hx-h,html:not([data-theme=dark]) body #main .cc-clients>.hx-h{background:#F6F7F2!important;color:#1E211A!important;border-bottom-color:transparent!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .cx-top,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .cx-top{border-bottom:1px solid #E3E5DC!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h h2,html:not([data-theme=dark]) body #main .hx-needs>.hx-h h2,html:not([data-theme=dark]) body #main .hx-side-card>.hx-h h2,html:not([data-theme=dark]) body #main .hx-teams>.hx-h h2,html:not([data-theme=dark]) body #main .cc-clients>.hx-h h2{color:#1E211A!important;-webkit-text-fill-color:#1E211A!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-n,html:not([data-theme=dark]) body #main .hm-row .hx-h h2 .hx-n,html:not([data-theme=dark]) body #main .hx-needs>.hx-h .hx-n,html:not([data-theme=dark]) body #main .hx-teams>.hx-h .hx-n,html:not([data-theme=dark]) body #main .hx-side-card>.hx-h .hx-n{background:#fff!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A!important;border:1.5px solid #B9BDB0!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-key,html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-sub,html:not([data-theme=dark]) body #main .hm-row .hx-h .muted,html:not([data-theme=dark]) body #main .hm-row .hx-h span:not(.hx-n):not(.hx-dot),html:not([data-theme=dark]) body #main .hx-needs>.hx-h .hx-key,html:not([data-theme=dark]) body #main .hx-side-card>.hx-h .hx-sub,html:not([data-theme=dark]) body #main .hx-teams>.hx-h .hx-sub,html:not([data-theme=dark]) body #main .hm-row .cx-top,html:not([data-theme=dark]) body #main .hm-row .cx-top *{color:#5C6155!important;-webkit-text-fill-color:#5C6155}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-min,html:not([data-theme=dark]) body #main .hm-row .hx-h .btn-ghost{background:#fff!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A;border:1px solid #B9BDB0!important}
html:not([data-theme=dark]) body #main .hm-row .hx-h .hx-min:hover,html:not([data-theme=dark]) body #main .hm-row .hx-h .btn-ghost:hover{border-color:#1E211A!important;color:#1E211A!important}
/* Calendar: today and next session soft lime, no black blocks; no red dots on the day strip */
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now{background:#EEF8C2!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dw{color:#4A5A00!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dn{color:#14160F!important;-webkit-text-fill-color:#14160F}
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-now .wk2-dc{color:#5C6155!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-flag{display:none!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next{background:#F7FCE0!important;border-color:#C9D96B!important;box-shadow:0 0 0 1.5px #A9C200!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-t{color:#4A5A00!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-n{color:#14160F!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m{background:#FDECEA!important;color:#C62D22!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next .wk2-m.is-warn{background:#FFF3DC!important;color:#8A5A00!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next.has-bad{border-left:4px solid #D93A2B!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h.hx-h h2,html:not([data-theme=dark]) body #main .hm-row .cx-feedhost .card > .hx-h.hx-h h2,html:not([data-theme=dark]) body #main .hm-row .card > .hx-h.hx-h h2,html:not([data-theme=dark]) body #main .hx-h.hx-h h2{color:#1E211A!important;-webkit-text-fill-color:#1E211A!important}
html:not([data-theme=dark]) body #main .hm-row .card.cx > .hx-h.hx-h h2 .hx-n,html:not([data-theme=dark]) body #main .hm-row .card > .hx-h.hx-h .hx-n,html:not([data-theme=dark]) body #main .hx-h.hx-h .hx-n{background:#fff!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A!important;border:1.5px solid #B9BDB0!important}

/* v453c (Rob, 18/11, final brief): calm like Teams/Outlook.
   Today band light grey fading lighter; tiles thinner, soft slate fading
   lighter across with white text and the colour strip on top; Analytics strip
   bold yellow; tags easier to read. Light mode only. */
html:not([data-theme=dark]) body #main .hc-card .hc-head,html:not([data-theme=dark]) body #appShell .hc-card .hc-head{background:linear-gradient(100deg,#DCDFD7 0%,#E9EBE5 45%,#F6F7F3 100%)!important}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li,html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-head .hc-st{background:#fff!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"],html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{background:linear-gradient(100deg,#3E443A 0%,#565C50 55%,#6A7062 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff;border:0!important;border-top:3px solid var(--v451k,#DAFF01)!important;box-shadow:0 1px 3px rgba(20,22,15,.12)!important;padding:7px 12px 8px!important;min-height:0!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"]:hover{background:linear-gradient(100deg,#474D42 0%,#60665A 55%,#868C7E 100%)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"].on{box-shadow:0 0 0 2px var(--v451k,#DAFF01),0 6px 14px -8px rgba(20,22,15,.45)!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .pl-tab-t,html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-t{color:#fff!important;-webkit-text-fill-color:#fff;font-size:16px!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .pl-tab-s,html:not([data-theme=dark]) body #main .hx-tiles .pl-tab.on .pl-tab-s{color:#fff!important;-webkit-text-fill-color:#fff;opacity:.92;font-size:10px!important;margin-top:1px}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab[class*="k-"] .lib-cnt{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff;border:1.5px solid var(--v451k,#DAFF01)!important;min-width:22px;height:22px;line-height:19px;font-size:12px!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-signups.is-new .lib-cnt{background:#F5B82E!important;color:#1E211A!important;-webkit-text-fill-color:#1E211A;border-color:#F5B82E!important}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab .fd-st.is-on{color:#DAFF01!important;-webkit-text-fill-color:#DAFF01;border-color:#DAFF01;background:transparent}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab .fd-st.is-off{color:#fff!important;-webkit-text-fill-color:#fff;border-color:rgba(255,255,255,.6);background:transparent}
html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-training,html:not([data-theme=dark]) body #main nav.hm-tabs .pl-tab.k-analytics{--v451k:#FFD60A}
/* tags: "Re-screen overdue", "5 sessions left", "Check first", "Not logged" */
html:not([data-theme=dark]) body #main .chip.red,html:not([data-theme=dark]) body #main .wk-card .wk2-m.is-bad{background:#FDE2DE!important;color:#A3221A!important;border:1px solid #F1B3AA!important;font-weight:800!important}
html:not([data-theme=dark]) body #main .chip.amber,html:not([data-theme=dark]) body #main .wk-card .wk2-m.is-warn{background:#FFEBC2!important;color:#6B4500!important;border:1px solid #EFC874!important;font-weight:800!important}
html:not([data-theme=dark]) body #main .card.cx.k-analytics,html:not([data-theme=dark]) body #main .hm-anacard{--k:#FFD60A!important;border-top-color:#FFD60A!important}
/* v453: Programmes tabs on phone: a long title ("Performance" + count) pushed its tile past the screen edge */
@media (max-width:520px){ body #main .pl-tabs > .pl-tab{min-width:0!important;overflow:hidden} body #main .pl-tabs > .pl-tab .pl-tab-t{min-width:0;overflow:hidden;text-overflow:ellipsis} }
/* v453d (Rob, 18/11): carry the Today band's grey through: top alert banner,
   a rounded box around "This week" + its numbers, and the next client's block. */
html:not([data-theme=dark]) body #main .intake-alert{background:linear-gradient(100deg,#DCDFD7 0%,#E9EBE5 45%,#F6F7F3 100%)!important;border-color:#D5D8CF!important}
html:not([data-theme=dark]) body #main .intake-alert .btn,html:not([data-theme=dark]) body #main .intake-alert .btn-ghost{background:#fff!important}
html:not([data-theme=dark]) body #main .wk-card .wk-top.hc-bar > div:first-child{background:linear-gradient(100deg,#DCDFD7 0%,#E9EBE5 45%,#F6F7F3 100%);border:1px solid #D5D8CF;border-radius:14px;padding:8px 18px 9px;display:inline-block}
html:not([data-theme=dark]) body #main .wk-card .wk-top.hc-bar .cal-stats{margin-bottom:0}
html:not([data-theme=dark]) body #main .wk-card .wk2-s.is-next{background:linear-gradient(100deg,#DCDFD7 0%,#E9EBE5 45%,#F6F7F3 100%)!important;border-color:#C9CCC2!important;box-shadow:0 0 0 1.5px #A9C200!important}
/* v456: Needs you minimise folds in place; it no longer stretches to Activity's height */
#main .hx-needs.is-min{align-self:start}
#main .hx-needs.is-min>.hx-list,#main .hx-needs.is-min>.hx-more,#main .hx-needs.is-min>.hx-clear{display:none!important}
#main .hx-needs:not(.is-min) .hx-key-min,#main .hx-needs.is-min .hx-key-full{display:none!important}
/* v456: Needs rows stack (name, then reason) when the card is narrow, e.g. iPad half-width */
#main .hx-needs{container-type:inline-size}
@container (max-width:560px){
  html body #main .card.cx.hx-needs .hx-row{grid-template-columns:10px minmax(0,1fr) auto;grid-template-areas:"d w a" "d y a";row-gap:2px;column-gap:10px}
  html body #main .card.cx.hx-needs .hx-row .hx-dot{grid-area:d;align-self:start;margin-top:6px}
  html body #main .card.cx.hx-needs .hx-who{grid-area:w}
  html body #main .card.cx.hx-needs .hx-why{grid-area:y}
  html body #main .card.cx.hx-needs .hx-act{grid-area:a}
}
/* v456: top Today band matches the slate tabs (Rob, 18 Nov) */
html:not([data-theme=dark]) body #main .hc-card .hc-head,html:not([data-theme=dark]) body #appShell .hc-card .hc-head{background:linear-gradient(100deg,#3E443A 0%,#565C50 55%,#6A7062 100%)!important;border-bottom:0!important}
html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-date,html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-date b,html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-h,html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-sub{color:#fff!important;-webkit-text-fill-color:#fff}
html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-sub,html:not([data-theme=dark]) body #main .hc-card .hc-head .hc-date{opacity:.92}
html:not([data-theme=dark]) body #main .hc-card.tone-ok .hc-head .hc-st,html:not([data-theme=dark]) body #main .hc-card.tone-warn .hc-head .hc-st,html:not([data-theme=dark]) body #main .hc-card.tone-idle .hc-head .hc-st{color:#DAFF01!important;-webkit-text-fill-color:#DAFF01;background:transparent!important;border-color:#DAFF01!important}
html:not([data-theme=dark]) body #main .hc-card.tone-bad .hc-head .hc-st{color:#fff!important;-webkit-text-fill-color:#fff;background:#C62D22!important;border-color:#C62D22!important}
html:not([data-theme=dark]) body #main .hc-card .hc-a .hc-ghost{color:#fff!important;-webkit-text-fill-color:#fff;border-color:#fff!important;background:transparent!important}
html:not([data-theme=dark]) body #main .hc-card .hc-needs li{color:#2A2E24!important;-webkit-text-fill-color:#2A2E24}
/* v456: phone tab row snaps with its side padding, so the first tab is never clipped */
body #main nav.hm-tabs{scroll-padding-inline:14px}

/* v458 readability: the client's name on the Home band is what a coach looks for, so it is volt. */
body #main .hc-card .hc-who,body #appShell .hc-card .hc-who{color:#DAFF01!important;-webkit-text-fill-color:#DAFF01}

/* ===================== v458 readability pass =====================
   Every rule here came from the automatic readability check (audit/read458.py):
   buttons, links, tabs, names and dates need 4.5:1, other text 3:1. */
/* Red count badge in the menu (Home 7): white on a deeper red. */
html body #appShell .nav-ct{background:#C2361F!important;color:#fff!important}
/* Red status pills ("Not started", "None yet"): white on a deeper red. */
html body #main .pill.r{background:#C62D22!important;color:#fff!important}
/* Programme / training cards: kind label on its colour. */
html body #main li.pl-row.plc.k-mobility{--k:#0B7F93!important;--kt:#fff!important}
html body #main li.pl-row.plc.k-sport{--k:#C2501A!important;--kt:#fff!important}
html body #main li.pl-row.plc.k-attended{--k:#5F6457!important;--kt:#fff!important}
html[data-theme="dark"] body #main li.pl-row.plc.k-mobility{--k:#2EB5C9!important;--kt:#06232A!important}
/* Money / monthly tiles on a dark card: the "now" red figure. */
html body #main .mo-k.k-now.hot b{color:#fff!important;background:#C62D22;border-radius:6px;padding:0 6px}
html body #main .mo-k small em.up{color:#1E7A43}
html[data-theme="dark"] body #main .mo-k small em.up{color:#5FD08D}
/* Screen history on dark cards. */
html body #main .sh-score .sh-dl.is-first{color:inherit!important}
html body #main th .muted{color:inherit!important;opacity:.85}
/* Testing: "reference" hint inside a fold header. */
html body #main summary em.muted{color:#5C6270!important}
/* Squad log session buttons: the small line under the name. */
html body #main .sqst-sb small{color:#4A4F57!important}
html[data-theme="dark"] body #main .sqst-sb small{color:#C9CED6!important}
/* Danger links. */
html:not([data-theme="dark"]) body #main p a[style*="color"], html:not([data-theme="dark"]) body #main a.danger{color:#B3261E!important}
/* Protocol page: club name on the dark header. */
html body #main .page-head .proto-mark .brand-text-name{color:#fff!important}
/* Today: "nothing logged" on the dark quick-check chip. */
html[data-theme="dark"] body #main .eg-qc em,html body #main .eg-qc em{color:#FF8A80!important}
html:not([data-theme="dark"]) body #main .eg-qc:not([class*="dark"]) em{color:#B3261E!important}
/* Calendar: "Free" and "Nothing booked" were pale grey. Dates and days a coach scans for. */
html:not([data-theme=dark]) body #main .wk-card .wk2-d.is-free .wk2-dc{color:#5C6155!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-free{color:#5C6155!important}
html body #main .dw-afree{color:inherit!important}
html:not([data-theme=dark]) body #main .wk-card .wk2-d .wk2-dn,html:not([data-theme=dark]) body #main .wk-card .wk2-d b{color:#14160F}
html[data-theme="dark"] body #main li.pl-row.plc.k-performance{--kt:#1A0E05!important}
html body #main .chip.mr-screenjump b{color:#7A4200!important}
html[data-theme="dark"] body #main .chip.mr-screenjump b{color:#FFB35C!important}
/* Programme view: block tabs, session labels, amber flags. */
html body #main .lx-block span{color:#E3E7EC!important}
html body #main .lx-block.on span,html body #main .lx-block[aria-selected="true"] span{color:inherit!important}
html:not([data-theme="dark"]) body #main .lx-s .lx-sn{color:#3F444C!important}
html body #main .pb2-flag.is-amber{color:#1A1300!important}

/* ===================== v459: client names in a grey oval =====================
   Rob, 18 Nov: names blended into the white cards. Every client name on the
   Home panels, the roster cards, the Clients page and the squad screen now sits
   in a slate-grey oval with volt text (same pairing as the Home band and the
   "next step" buttons). Volt on #454B41 is about 8:1. */
html body #main .dp-person .dp-pn b,
html body #main .dp-prog span b,
html body #main .lc-nm b{
  display:inline-block;align-self:flex-start;max-width:100%;box-sizing:border-box;
  background:#454B41!important;color:#DAFF01!important;-webkit-text-fill-color:#DAFF01;
  border-radius:999px;padding:3px 11px 4px;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
html body #main .lc-nm b{font-size:19px;padding:4px 13px 5px}
html body #main .dp-person .dp-pn small,
html body #main .dp-prog span small,
html body #main .lc-nm small{margin-top:4px;padding-left:2px}
html[data-theme=dark] body #main .dp-person .dp-pn b,
html[data-theme=dark] body #main .dp-prog span b,
html[data-theme=dark] body #main .lc-nm b{background:#3C4238!important;box-shadow:inset 0 0 0 1px #565D50}
/* v459: the status tag drops under the name so the name gets the full width of the card and is not cut short. */
html body #main .dp-person{flex-wrap:wrap;row-gap:6px}
html body #main .dp-person .dp-pn{flex:1 1 calc(100% - 44px)}
html body #main .dp-person .dp-tag{margin-left:44px}
/* v459: food diary on the client's Nutrition tab - today's total is the headline. */
html body #main .cf-inline-body .cf-today{font-size:16px;margin:2px 0 8px;line-height:1.5}
html body #main .cf-inline-body .cf-today b{font-family:var(--font-d);font-size:24px;font-weight:700}
html body #main .cf-gap{display:inline-block;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700;margin-left:6px;vertical-align:2px;background:#454B41;color:#DAFF01}
html body #main .cf-gap.hi{background:#C2501A;color:#fff}
html body #main .cf-gap.lo{background:#454B41;color:#fff}

/* v468: iPad client header. Portrait iPad used 711 of 1180px for the header
   and hid 7 of the 11 client tabs off to the right. Tablet widths only
   (700-1199px); the computer and phone layouts are unchanged. */
@media (min-width:700px) and (max-width:1199px){
  html body #appShell #main > .ath-hero{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;padding:12px 16px 10px!important;min-height:0!important}
  html body #appShell #main > .ath-hero .ath-id{flex:1 1 auto!important;min-width:0!important;gap:12px!important;align-items:center!important}
  html body #appShell #main > .ath-hero .ath-av{width:42px!important;height:42px!important;flex:0 0 42px!important;font-size:15px!important}
  html body #appShell #main > .ath-hero .eyebrow{display:none!important}
  html body #appShell #main > .ath-hero h1{font-size:22px!important;line-height:1.15!important;margin:0!important}
  html body #appShell #main > .ath-hero .ath-chips{margin:4px 0 0!important;gap:5px!important;flex-wrap:wrap}
  html body #appShell #main > .ath-hero .ath-chips span{font-size:12px!important;padding:2px 9px!important}
  html body #appShell #main > .ath-hero > .actions{flex:0 0 auto!important;position:static!important;margin:0!important;width:auto!important;display:flex!important;gap:6px!important;flex-wrap:nowrap!important}
  html body #appShell #main > .ath-hero > .actions .btn{min-height:32px!important;height:32px!important;padding:0 12px!important;font-size:13px!important}
  /* switcher on one short line at the top, tiles wrap underneath */
  html body #appShell #main > .ath-hero + .lk-strip{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:8px 16px 10px!important}
  html body #appShell #main > .ath-hero + .lk-strip .lk-sw{order:0!important;margin:0!important;width:100%!important;flex:none!important}
  html body #appShell #main > .ath-hero + .lk-strip .lk-sw select{flex:1 1 auto!important;max-width:none!important;height:36px!important;padding:4px 10px!important}
  html body #appShell #main > .ath-hero + .lk-strip .lk-row{order:1!important;flex:none!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px!important}
  html body #appShell #main > .ath-hero + .lk-strip .lk-c{flex:0 1 auto!important;min-width:0!important;max-width:240px!important;padding:5px 10px!important;min-height:0!important}
  html body #appShell #main > .ath-hero + .lk-strip .lk-c span{font-size:10.5px!important}
  /* every client tab in view: the row wraps instead of scrolling sideways */
  html body #appShell #main .csec-row{flex-wrap:wrap!important;overflow:visible!important;gap:4px!important;padding:6px!important}
  html body #appShell #main .csec-b{min-height:36px!important;padding:6px 12px!important;font-size:14px!important}
  html body #appShell #main .csec::after{display:none!important}
  /* section banner under the tabs: one line, not a block */
  html body #appShell #main .sec-wrap > .sec-banner{padding:10px 14px!important;min-height:0!important}
  html body #appShell #main .sec-wrap > .sec-banner .sec-d{display:none!important}
}
/* v468: a coach's text name (no logo uploaded) fits the slim rail instead of spilling out of it */
@media (min-width:700px){
  html.side-mini body #appShell #topbar .brand{max-width:100%!important;overflow:hidden!important;justify-content:center!important}
  html.side-mini body #appShell #topbar .brand .brand-text-mark{font-size:11px!important;white-space:normal!important;text-align:center!important;max-width:60px!important;overflow-wrap:anywhere}
}
