/* TPT Coach app in Mark's own brand: the white "newspaper" pages of transcendingpersonaltraining.com.
   White paper, #17171a ink, TPT red #ED1C24, pink hairlines #f0d9db, thick black section rules,
   Bebas Neue headlines with a red word, red Lora italic subheads, Courier receipts.
   No card boxes: sections are separated by rules. Compact so most screens fit one view. */
@font-face{font-family:"Bebas Neue";src:url(fonts/bebas-neue-latin-400.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url(fonts/bricolage-grotesque-latin.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Lora";src:url(fonts/lora-latin-400-italic.woff2) format("woff2");font-style:italic;font-display:swap}

:root{
  --ink:#17171a; --paper:#ffffff; --soft:#fbf5f5; --track:#f3e6e7; --line:#f0d9db; --rule:#17171a;
  --red:#ED1C24; --red-d:#c4141b; --ok:#12873e; --okbg:#3ddc84; --bar:#0b0b0b;
  /* older names used by the screens */
  --gold:#ED1C24; --gold-hi:#c4141b; --bone:#17171a; --panel:#fff; --panel2:#fbf5f5; --panel3:#f3e6e7;
  --dock:60px; --side:236px;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--paper);color:var(--ink)}
body{font:600 14.5px/1.4 "Bricolage Grotesque",system-ui,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--red-d)}
img{max-width:100%;display:block}
h1,h2,h3{font-family:"Bebas Neue",Impact,sans-serif;font-weight:400;letter-spacing:.03em;margin:0;line-height:1;color:var(--ink)}
h1{font-size:32px} h2{font-size:21px} h3{font-size:18px}
h1 em,h2 em,h3 em{font-style:normal;color:var(--red)}
.accent,.sub{font-family:"Lora",Georgia,serif;font-style:italic;font-weight:400;color:var(--red);letter-spacing:0;text-transform:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Black bars (his site header) ---------- */
.shell{min-height:100vh}
.shell>div{min-width:0}
.side{display:none}
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;background:var(--bar);color:#fff;border-bottom:3px solid var(--red)}
.top .seal{width:32px;height:32px;border-radius:50%;object-fit:cover}
.brand{display:flex;flex-direction:column;line-height:1}
.brand b{font-family:"Bebas Neue";font-weight:400;font-size:21px;letter-spacing:.06em;color:#fff}
.brand span{font-size:10.5px;color:#ff5a5f;letter-spacing:.16em;text-transform:uppercase}
.top .grow{flex:1}
.top .iconbtn{background:#1b1b1b;border-color:#333;color:#fff}
.main{overflow-x:clip;padding:12px 14px calc(var(--dock) + 24px + env(safe-area-inset-bottom));max-width:1180px;margin:0 auto}
.dock{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:40;display:flex;justify-content:space-around;align-items:center;height:var(--dock);background:var(--bar);border-radius:18px;padding:0 4px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.dock a,.side nav a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;color:#fff;font-size:10.5px;letter-spacing:.04em;padding:6px;border-radius:12px;min-width:52px;position:relative}
.dock a svg{width:21px;height:21px}
.dock a.on{color:#ff5a5f}
.dock a.on::after{content:"";position:absolute;bottom:2px;width:16px;height:3px;border-radius:2px;background:var(--red)}
.badge{position:absolute;top:1px;right:8px;background:var(--red);color:#fff;font-size:10px;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px;font-weight:700}
.role-switch{display:flex;background:#1b1b1b;border:1px solid #333;border-radius:999px;padding:3px}
.role-switch button{border:0;background:none;padding:5px 10px;border-radius:999px;font-size:12px;cursor:pointer;color:#fff}
.role-switch button.on{background:var(--red);color:#fff}
@media (min-width:900px){
  .shell{display:grid;grid-template-columns:var(--side) 1fr}
  .side{display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;padding:16px 12px;background:var(--bar);color:#fff}
  .side .brandrow{display:flex;align-items:center;gap:10px;padding:0 6px 12px;border-bottom:3px solid var(--red);margin-bottom:8px}
  .side .brandrow img{width:40px;height:40px;border-radius:50%;object-fit:cover}
  .side nav{display:flex;flex-direction:column;gap:1px}
  .side nav a{flex-direction:row;font-size:14.5px;gap:12px;padding:9px 12px;min-width:0;justify-content:flex-start}
  .side nav a svg{width:19px;height:19px}
  .side nav a.on{background:#1d1d1d;color:#ff5a5f}
  .side nav a .badge{position:static;margin-left:auto}
  .side .foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}
  .side .gold{color:#ff5a5f}
  .dock{display:none}
  .top .seal,.top .brand{display:none}
  .top{border-bottom:1px solid #222;padding:8px 24px}
  .main{padding:18px 26px 40px}
}

/* ---------- Sections (no boxes): thick black rule + heading ---------- */
.box{position:relative;background:none;border:0;border-top:2px solid var(--rule);border-radius:0;padding:8px 0 2px;margin:0}
.box.flat{border-top:2px solid var(--rule)}
.box h2,.box h3{margin-bottom:6px}
.box-head{display:flex;align-items:center;gap:8px;margin-bottom:4px;min-height:30px}
.box-head h2,.box-head h3{margin:0;flex:1}
.grid{display:grid;gap:14px 28px}
.grid>*{min-width:0}
.g2,.g3{grid-template-columns:1fr}
.stack{display:flex;flex-direction:column;gap:14px}
@media (min-width:700px){.g2{grid-template-columns:1fr 1fr}.g3{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1100px){.g-main{grid-template-columns:1.5fr 1fr}}
/* Stat row like his "$0 FEES · 45 MIN · 5★" */
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px;border-top:2px solid var(--rule)}
@media (min-width:700px){.kpis{grid-template-columns:repeat(4,1fr)}}
.kpis .box{border-top:0;padding:8px 0 6px}
.kpi .n{font-family:"Bebas Neue";font-size:34px;line-height:1;color:var(--ink)}
.kpi .l{font-size:10.5px;text-transform:uppercase;letter-spacing:.14em;color:var(--red-d);margin-top:2px}
.kpi .s{font-size:12px}
.kpi.alert .n{color:var(--red)}
a.kpi{color:inherit}
.row{display:flex;align-items:center;gap:8px}
.row.wrap{flex-wrap:wrap}
.between{justify-content:space-between}
.grow{flex:1;min-width:0}
.mt{margin-top:10px}.mt2{margin-top:18px}
.small{font-size:12.5px}
.tiny{font-size:11px;letter-spacing:.03em}
.bone{color:var(--ink)}
.gold{color:var(--red-d)}
.redt{color:var(--red-d)}
.okt{color:var(--ok)}
.upper{text-transform:uppercase;letter-spacing:.12em}
.ellip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-head{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:2px 0 10px}
.page-head .grow{min-width:min(100%,200px)}
.page-head .grow p{margin:3px 0 0}
.page-head .in{max-width:100%}
.hello{font-size:10.5px;color:var(--red-d);text-transform:uppercase;letter-spacing:.2em;margin-bottom:3px}
.sample{display:inline-block;font-size:10px;border:1px dashed var(--red);color:var(--red-d);padding:2px 7px;border-radius:999px;letter-spacing:.1em;text-transform:uppercase}
.top .sample{color:#ff5a5f}

/* ---------- Lists ---------- */
.list{display:flex;flex-direction:column}
.item{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit;background:none;border-left:0;border-right:0;border-bottom:0;width:100%;text-align:left;cursor:pointer}
.item:first-child{border-top:0}
.item.wrap{flex-wrap:wrap}
.item > svg{width:18px;height:18px;flex:none}
button.item:hover,a.item:hover{background:var(--soft)}
.item .meta{font-size:12px}
.av{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:700;font-size:12.5px;color:#fff;background:var(--ink);overflow:hidden}
.av img{width:100%;height:100%;object-fit:cover}
.av.sm{width:28px;height:28px;font-size:11px}
.av.lg{width:54px;height:54px;font-size:19px}
.pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--line);background:#fff;white-space:nowrap;letter-spacing:.02em;color:var(--ink)}
.pill.ok{border-color:#b9e6c9;color:var(--ok)}
.pill.warn{border-color:var(--line);color:var(--red-d)}
.pill.bad{border-color:#f5b5b8;background:#fff1f2;color:var(--red-d)}
.pill.gold{background:var(--red);color:#fff;border-color:var(--red)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--okbg);flex:none}
.dot.warn{background:var(--ink)}.dot.bad{background:var(--red)}
.bar{height:6px;background:var(--track);border-radius:4px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--red);border-radius:4px}
.bar.red i{background:var(--ink)}
.empty{padding:12px;text-align:center;border:1px dashed var(--line);border-radius:10px}

/* ---------- Buttons + forms ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;padding:9px 14px;font-weight:700;cursor:pointer;text-decoration:none;background:var(--red);color:#fff;font-size:14px;min-height:40px;white-space:nowrap}
.btn:hover{background:var(--red-d);box-shadow:0 10px 24px rgba(237,28,36,.3)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.ghost:hover{border-color:var(--ink);box-shadow:none}
.btn.red{background:var(--red);color:#fff}
.btn.sm{padding:5px 10px;min-height:32px;font-size:12.5px;border-radius:7px}
.btn.block{width:100%}
.btn svg{width:16px;height:16px}
.iconbtn{border:1px solid var(--line);background:#fff;width:36px;height:36px;border-radius:9px;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.iconbtn svg{width:17px;height:17px}
.iconbtn[disabled]{opacity:.35;cursor:default}
label.f{display:flex;flex-direction:column;gap:4px;font-size:12.5px;letter-spacing:.02em}
.in,select.in,textarea.in{width:100%;background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 10px;color:var(--ink);font-weight:600;min-height:40px}
textarea.in{min-height:72px;resize:vertical}
.in::placeholder{color:var(--ink);opacity:.5;font-weight:600}
.in:focus{outline:2px solid var(--red);outline-offset:1px;border-color:transparent}
.check{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.check input{width:19px;height:19px;accent-color:var(--red);flex:none;margin-top:1px}
.scale{display:flex;gap:5px}
.scale button{flex:1;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 0;cursor:pointer;color:var(--ink);font-weight:700}
.scale button.on{background:var(--red);color:#fff;border-color:var(--red)}
.tabs{display:flex;gap:6px;overflow-x:auto;padding:0 4px 6px 0;margin-bottom:8px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button,.tabs a{border:1px solid var(--line);background:#fff;padding:6px 12px;border-radius:999px;cursor:pointer;white-space:nowrap;color:var(--ink);text-decoration:none;font-size:13px}
.tabs .on{border-color:var(--ink);box-shadow:3px 3px 0 var(--red)}
.search{position:relative}
.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:17px;height:17px}
.search .in{padding-left:36px}

/* ---------- Week / calendar ---------- */
.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.day{background:#fff;border:1px solid var(--line);border-radius:9px;padding:5px 2px;text-align:center;cursor:pointer;color:var(--ink)}
.day .d{font-size:10px;letter-spacing:.08em}
.day .n{font-family:"Bebas Neue";font-size:21px;line-height:1}
.day .dots{display:flex;justify-content:center;gap:3px;height:6px;margin-top:3px}
.day .dots i{width:6px;height:6px;border-radius:50%;background:var(--ink)}
.day .dots i.done{background:var(--okbg)}
.day .dots i.sess{background:var(--red)}
.day.on{border-color:var(--ink);box-shadow:3px 3px 0 var(--red)}
.day.today .n{color:var(--red)}
.cal-wrap{overflow-x:auto}
.cal{display:grid;grid-template-columns:48px repeat(7,minmax(110px,1fr));min-width:820px}
.cal .h{padding:6px;text-align:center;font-size:12px;border-bottom:2px solid var(--ink);position:sticky;top:0;background:#fff}
.cal .t{font-size:10.5px;padding:3px;border-top:1px solid var(--line);height:44px}
.cal .c{border-top:1px solid var(--line);border-left:1px solid var(--line);height:44px;position:relative}
.ev{position:absolute;left:2px;right:2px;top:2px;bottom:2px;border-radius:6px;padding:3px 5px;font-size:11px;line-height:1.15;background:#fff1f2;border:1px solid var(--red);overflow:hidden;cursor:pointer;color:var(--ink);text-align:left}
.ev.free{background:#fff;border:1px dashed var(--ink)}

/* ---------- Workout ---------- */
.ex{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line)}
.ex:first-child{border-top:0}
.thumb{width:48px;height:48px;border-radius:9px;flex:none;border:0;background:radial-gradient(circle,var(--red) 0 13px,transparent 14px),var(--ink);display:grid;place-items:center;cursor:pointer;color:#fff}
.thumb svg{width:16px;height:16px;color:#fff}
.sets{display:grid;grid-template-columns:30px 1fr 1fr 40px;gap:5px;align-items:center;margin-top:6px}
.sets .hd{font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.sets .in{min-height:36px;padding:5px;text-align:center}
.tick{width:36px;height:36px;border-radius:9px;border:1px solid var(--line);background:#fff;cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.tick.on{background:var(--okbg);border-color:var(--okbg);color:var(--ink)}
.tick svg{width:17px;height:17px}
.hero-card{border-top:3px solid var(--rule);padding:8px 0}
.hero-card h2{font-size:26px}
.videobox{background:var(--ink);color:#fff;border-radius:12px;display:grid;place-items:center}
.videobox .small,.videobox .tiny{color:#fff}
.timer{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--dock) + 20px + env(safe-area-inset-bottom));z-index:45;background:var(--ink);color:#fff;border:2px solid var(--red);border-radius:999px;padding:6px 6px 6px 16px;display:flex;align-items:center;gap:10px}
.timer b{font-family:"Bebas Neue";font-size:24px;color:#fff;min-width:52px}
@media (min-width:900px){.timer{bottom:20px}}

/* ---------- Today checklist ---------- */
.todo{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);width:100%;background:none;border-left:0;border-right:0;border-bottom:0;color:var(--ink);text-align:left;cursor:pointer;text-decoration:none}
.todo.first{border-top:0}
.ring{width:24px;height:24px;border-radius:50%;border:2px solid var(--ink);flex:none;display:grid;place-items:center;color:var(--ink)}
.ring svg{width:14px;height:14px}
.todo.done .ring{background:var(--okbg);border-color:var(--okbg)}
.todo.done .tt{text-decoration:line-through;text-decoration-color:rgba(23,23,26,.5)}
.todo .tag{font-size:11.5px;color:var(--red-d);display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.todo .tag svg{width:12px;height:12px}
.macros{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;padding:0 0 8px 34px}
.macro{display:grid;grid-template-columns:1fr auto;gap:2px 8px;font-size:11.5px}
.macro .bar{grid-column:1/-1;height:5px}
.feed{display:flex;flex-direction:column}
.fi{display:flex;gap:10px;align-items:center;padding:6px 0;border-top:1px solid var(--line)}
.medal{width:30px;height:34px;flex:none;display:grid;place-items:center;font-family:"Bebas Neue";font-size:18px;color:#fff;background:var(--red);clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)}
.medal.w{background:var(--ink);color:#fff}
.fday{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--red-d);padding-top:6px}
.fday:first-child{padding-top:0}
.score{display:flex;flex-direction:column;gap:4px}
.sc-row{display:grid;grid-template-columns:72px repeat(7,1fr);gap:4px;align-items:center}
.sc-l{font-size:11.5px}
.sc-d{text-align:center;font-size:10.5px;letter-spacing:.06em}
.sc{font-style:normal;height:22px;border-radius:50%;max-width:22px;width:100%;justify-self:center;display:grid;place-items:center;background:var(--track);font-size:11px;font-weight:800}
.sc.ok{background:var(--okbg);color:var(--ink)}.sc.bad{background:var(--red);color:#fff}.sc.part{background:var(--ink);color:#fff}
.ss{border:1px solid var(--red);border-radius:10px;padding:2px 8px 4px;margin:6px 0;background:#fff8f8}
.ss-h{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--red-d);padding-top:6px}
.chips{display:flex;flex-wrap:wrap;gap:5px}

/* ---------- Chat ---------- */
.chat{display:flex;flex-direction:column;height:calc(100dvh - 190px);min-height:360px}
.tabs + .chat{height:calc(100dvh - 240px)}
.msgs{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:6px 2px 8px}
.msg{max-width:80%;padding:7px 11px;border-radius:13px;background:var(--soft);border:1px solid var(--line);align-self:flex-start;white-space:pre-wrap;word-wrap:break-word}
.msg.me{align-self:flex-end;background:var(--red);color:#fff;border-color:var(--red)}
.msg .ts{display:block;font-size:10px;margin-top:2px;opacity:.8}
.composer{display:flex;gap:6px;padding-top:8px;border-top:1px solid var(--line)}
.notice{font-size:11.5px;border:1px dashed var(--line);border-radius:9px;padding:6px 9px;margin-bottom:6px}
.threads{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:900px){.threads{grid-template-columns:300px 1fr}.chat{height:calc(100vh - 150px)}}

/* ---------- Chart, photos ---------- */
.chart svg{width:100%;height:auto;display:block}
.chart .ax{stroke:var(--line)}
.chart text{fill:var(--ink);font-size:11px;font-weight:600}
.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.photos .ph{aspect-ratio:3/4;border-radius:9px;border:1px solid var(--line);background:var(--soft);display:flex;align-items:flex-end;padding:5px;font-size:11px;overflow:hidden;position:relative}
.photos .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photos .ph span{position:relative;background:#fff;padding:1px 6px;border-radius:5px}

/* ---------- Receipt (his pricing page) ---------- */
.receipt .item{font-family:"Courier New",Courier,monospace;border-top:2px dashed #cfc9ba;letter-spacing:.02em}
.receipt .item:first-child{border-top:0}

/* ---------- Sheet + toast ---------- */
.sheet-bg{position:fixed;inset:0;background:rgba(23,23,26,.45);z-index:60;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:#fff;border-top:3px solid var(--ink);border-radius:16px 16px 0 0;width:100%;max-height:90vh;overflow-y:auto;padding:14px 14px calc(14px + env(safe-area-inset-bottom))}
.sheet .grab{width:40px;height:4px;border-radius:3px;background:var(--line);margin:-4px auto 10px}
@media (min-width:700px){.sheet-bg{align-items:center}.sheet{border:1px solid var(--ink);border-radius:13px;box-shadow:6px 6px 0 var(--red);max-width:540px;padding:18px}.sheet .grab{display:none}}
#toast{position:fixed;left:50%;top:14px;transform:translateX(-50%) translateY(-140%);z-index:80;background:var(--ink);color:#fff;border-left:4px solid var(--red);border-radius:8px;padding:9px 14px;transition:transform .25s;max-width:90vw}
#toast.show{transform:translateX(-50%) translateY(0)}

/* ---------- Login ---------- */
.login{min-height:100vh;display:grid;place-items:center;padding:20px 16px}
.login .card{max-width:420px;width:100%;text-align:center}
.login .seal{width:96px;height:96px;border-radius:50%;margin:0 auto 10px;object-fit:cover;background:var(--bar);border:3px solid var(--red)}
.login h1{font-size:46px}
.login .tag{font-size:13px;letter-spacing:.24em;margin:4px 0 16px;padding-bottom:12px;border-bottom:2px solid var(--ink)}
.door{display:flex;align-items:center;gap:12px;text-align:left;width:100%;margin-top:8px;cursor:pointer;color:var(--ink)}
.box.door{border:1px solid var(--line);border-radius:13px;padding:10px 12px;background:#fff}
.box.door:hover{border-color:var(--ink);box-shadow:4px 4px 0 var(--red)}
.door svg{width:24px;height:24px;color:var(--red);flex:none}

/* ---------- Builders + tables ---------- */
.wk-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:5px;min-width:720px}
.slot{min-height:66px;border:1px dashed var(--line);border-radius:9px;padding:5px;font-size:12px;cursor:pointer;background:#fff;color:var(--ink);text-align:left;display:flex;flex-direction:column;gap:3px}
.slot.fill{border:1px solid var(--ink);box-shadow:3px 3px 0 var(--red)}
.slot.rest{border-style:solid}
.steps{display:flex;gap:5px;margin-bottom:12px}
.steps i{flex:1;height:4px;border-radius:3px;background:var(--track)}
.steps i.on{background:var(--red)}
.table{width:100%;border-collapse:collapse;font-size:13.5px}
.table th{text-align:left;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;padding:6px 5px;border-bottom:2px solid var(--ink)}
.table td{padding:6px 5px;border-bottom:1px solid var(--line)}
.scroll-x{overflow-x:auto}
.hide-sm{display:none}
@media (min-width:700px){.hide-sm{display:initial}.hide-lg{display:none}}
.eyebrow{font-size:10.5px;letter-spacing:.22em;text-transform:uppercase}
.label-pill{display:inline-block;background:var(--ink);color:#fff;border-radius:6px;padding:4px 9px;font-size:10px;letter-spacing:.16em;text-transform:uppercase}

/* ---------- Trainerize-style cards (sheets) ---------- */
.sh-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;margin-bottom:12px;border-bottom:2px solid var(--ink)}
.sh-date{font-family:"Bebas Neue";font-size:20px;letter-spacing:.04em}
.sh-hero{text-align:center;padding:10px 0 6px}
.sh-hero h2{font-size:26px;margin-top:10px}
.sh-ring{width:64px;height:64px;border-radius:50%;border:3px solid var(--ink);display:inline-grid;place-items:center;color:var(--ink)}
.sh-ring svg{width:26px;height:26px}
.sh-ring.c{border-color:var(--okbg)}.sh-ring.w{border-color:var(--ink)}
.sh-ring.done{background:var(--okbg);border-color:var(--okbg)}
.wtitle .sh-ring{width:34px;height:34px;border-width:2px;flex:none}
.wtitle .sh-ring svg{width:16px;height:16px}
.sh-status{font-size:12.5px;margin-top:2px}
.sh-form{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 0 4px;border-top:1px solid var(--line);margin-top:12px}
.hms{display:flex;align-items:center;gap:5px}
.hms .in{width:58px;text-align:center;min-height:38px;padding:5px}
.hms b{font-weight:600}
.hbars{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;height:120px;align-items:end;margin:6px 0}
.hb{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px;font-size:10px}
.hb i{width:100%;background:var(--red);border-radius:3px 3px 0 0;min-height:2px}
.wtitle{display:flex;align-items:center;gap:10px}
.wmeta{font-size:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.wrow{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--line);font-size:13.5px}
.thumb.sm{width:34px;height:34px;background:radial-gradient(circle,var(--red) 0 9px,transparent 10px),var(--ink)}
.thumb.sm svg{width:11px;height:11px}
.sx{padding:10px 0;border-top:1px solid var(--line)}
.setrow{display:grid;grid-template-columns:50px 64px 14px 64px auto;align-items:center;gap:6px;margin-top:6px;font-size:13px}
.setrow .in{min-height:34px;padding:4px;text-align:center}
.setrow b{text-align:center;font-weight:600}
.linkbtn{background:none;border:0;color:var(--red-d);font-weight:700;padding:8px 0 0;cursor:pointer}
.mt-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:700px){.mt-grid{grid-template-columns:1fr 1fr}}
.mt-grid h3{margin-bottom:6px}
.donut{width:104px;height:104px;flex:none}
.key{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.todo.split{cursor:default;padding:0}
.ringbtn{background:none;border:0;padding:8px 0;cursor:pointer}
.todo-open{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;padding:8px 0;cursor:pointer;text-align:left;color:var(--ink)}
.tbtn{font-family:"Bebas Neue";font-size:18px}
label.iconbtn{position:relative;cursor:pointer}
@media (min-width:700px){.sheet{max-width:620px}}

/* ---------- Logo (his site header) + glowing red separator (Marcos's styling) ---------- */
.brand b{text-transform:uppercase}
.brand b i,.logo-band b i{font-style:normal;color:var(--red)}
.top .seal,.side .brandrow img{border-radius:0;object-fit:contain;width:auto;height:38px}
.top{border-bottom:2px solid var(--red);box-shadow:0 2px 0 rgba(237,28,36,.35),0 4px 18px rgba(237,28,36,.55)}
@media (min-width:900px){.top{border-bottom:2px solid var(--red)}}
.side .brandrow{border-bottom:2px solid var(--red);box-shadow:0 2px 0 rgba(237,28,36,.35),0 6px 18px -6px rgba(237,28,36,.7)}
.logo-band{display:inline-flex;align-items:center;gap:10px;background:var(--bar);color:#fff;border-radius:12px;padding:10px 16px;border-bottom:2px solid var(--red);box-shadow:0 4px 18px rgba(237,28,36,.45)}
.logo-band img{height:54px;width:auto}
.logo-band b{font-family:"Bebas Neue";font-weight:400;font-size:26px;letter-spacing:.06em;text-transform:uppercase}
.logo-band.sm{padding:6px 8px}.logo-band.sm img{height:40px}
.login .logo-band{margin-bottom:14px}
.login h1{font-size:40px}

.top .brand .short{display:none}
.top .brand b{white-space:nowrap}
@media (max-width:430px){.top.coach .brand .long{display:none}.top.coach .brand .short{display:inline}}
.brand b span{font-size:inherit;color:#fff;letter-spacing:inherit;text-transform:inherit}

/* ---------- Progress, settings ---------- */
.sched{max-height:330px;overflow-y:auto}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.seg button{border:0;background:#fff;padding:5px 12px;cursor:pointer;color:var(--ink);font-weight:700;font-size:12.5px}
.seg button.on{background:var(--ink);color:#fff}
.top .bell{position:relative}
.top .bell .badge{top:-5px;right:-5px}
tr[data-act]:hover td{background:var(--soft)}
@media (max-width:699px){.chart-first>:last-child{order:-1}}

/* ---------- 1st Phorm-style upgrades ---------- */
.pollopt{position:relative;display:flex;justify-content:space-between;width:100%;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;margin-top:6px;cursor:pointer;overflow:hidden;color:var(--ink);font-weight:700}
.pollopt.on{border-color:var(--ink)}
.pfill{position:absolute;inset:0 auto 0 0;background:#fff1f2}
.ptxt{position:relative}
.reply{font-size:13px;padding:6px 10px;background:var(--soft);border-radius:8px;margin-top:6px}
