@font-face{font-family:'Figtree';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/figtree-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/figtree-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'League Spartan';font-style:normal;font-weight:700 800;font-display:swap;src:url(fonts/league-spartan-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'League Spartan';font-style:normal;font-weight:700 800;font-display:swap;src:url(fonts/league-spartan-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Identidade Edson Andrade · personal trainer
   Cores tiradas da logomarca: preto puro, coral da barra e branco-gelo das letras.
   --brand-coral (#EE5846) só sobre preto ou em elementos grandes; botões e textos coral no modo claro usam --accent (#B3331F: 6,2:1 com branco, 4,9:1 sobre o branco-gelo).
   Modo claro: superfície no branco-gelo da logo (#E9E5E1), cartões em branco quente (#FAF8F5).
   Tipos: League Spartan (títulos, eco do logotipo geométrico) + Figtree (texto).
   Layout: faixa preta fixa no topo com a logo centralizada em todas as telas; conteúdo claro abaixo. */
:root{
  --brand-black:#000000; --brand-coral:#EE5846; --brand-bone:#E9E5E1;
  --bg:#E9E5E1; --card:#FAF8F5; --ink:#161616; --muted:#5A544E; --line:#D9D2CA; --soft:#E9E4DE;
  --accent:#B3331F; --accent-ink:#FFFFFF; --accent-soft:#F5DED8; --stage:#DCD6CF;
  --ok:#22744A; --ok-soft:#DCEFE3; --warn:#8F5A00; --warn-soft:#FAEBC9; --stop:#A3221A; --stop-soft:#F8DAD6;
  --display:'League Spartan','Futura','Avenir Next',system-ui,sans-serif; --sans:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 3px 8px rgba(0,0,0,.04);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#000000; --card:#141414; --ink:#EFECE9; --muted:#A8A39E; --line:#2A2A2A; --soft:#1E1E1E;
  --accent:#EE5846; --accent-ink:#000000; --accent-soft:#2C1410; --stage:#000000;
  --ok:#6CCB92; --ok-soft:#14281D; --warn:#E8B34F; --warn-soft:#2E2410; --stop:#F08A7E; --stop-soft:#341815;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 3px 8px rgba(0,0,0,.3); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#000000; --card:#141414; --ink:#EFECE9; --muted:#A8A39E; --line:#2A2A2A; --soft:#1E1E1E;
  --accent:#EE5846; --accent-ink:#000000; --accent-soft:#2C1410; --stage:#000000;
  --ok:#6CCB92; --ok-soft:#14281D; --warn:#E8B34F; --warn-soft:#2E2410; --stop:#F08A7E; --stop-soft:#341815;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 3px 8px rgba(0,0,0,.3); color-scheme:dark}

[hidden]{display:none!important}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{margin:0;padding:0;
  background:var(--stage);color:var(--ink);font:400 16px/1.5 var(--sans);overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.app{height:100%;max-width:430px;margin:0 auto;display:flex;flex-direction:column;background:var(--bg);position:relative}
@media (min-width:600px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line);box-shadow:var(--shadow)}}

header.top{flex:none;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;padding:8px 12px;min-height:60px;background:var(--brand-black);color:var(--brand-bone);padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
header.top .logo{justify-self:center;height:38px;width:auto;display:block}
header.top .iconbtn{background:transparent;border-color:#2E2E2E;color:var(--brand-bone)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--brand-black);z-index:10}
h1.ptitle{margin:6px 0 0;font:700 24px/1.1 var(--display);letter-spacing:-.02em;text-wrap:balance}
.iconbtn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--card);display:grid;place-items:center;flex:none;padding:0}
.iconbtn svg{width:22px;height:22px}
main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px max(14px,env(safe-area-inset-right,0px)) 24px max(14px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px}
main>*{flex:none}
nav.tabs{flex:none;display:grid;grid-template-columns:repeat(4,1fr);margin:6px max(8px,env(safe-area-inset-right,0px)) 10px max(8px,env(safe-area-inset-left,0px));padding:6px;background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
nav.tabs button{background:none;border:0;border-radius:16px;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;font-weight:600;color:var(--muted);padding:4px 0}
nav.tabs button svg{width:22px;height:22px}
nav.tabs button[aria-current="page"]{color:var(--accent);background:var(--accent-soft)}

.banner{background:var(--ink);color:var(--bg);font-size:12px;font-weight:600;padding:6px 14px;text-align:center;flex:none}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0}
.card.flat{box-shadow:none}
.card.hero{background:var(--brand-black);color:var(--brand-bone);border-color:#262626}
.card.hero .muted{color:inherit;opacity:.75}
h2{margin:0;font:700 20px/1.15 var(--display);letter-spacing:-.015em;text-wrap:balance}
h3{margin:0;font-size:16px;font-weight:600}
p{margin:0}
.muted{color:var(--muted);font-size:14px}
.small{font-size:14px}
.eyebrow{font-size:14px;font-weight:600;color:var(--muted)}
.row{display:flex;align-items:center;gap:10px;min-width:0}
.row.wrap{flex-wrap:wrap}
.grow{flex:1;min-width:0}
.spread{justify-content:space-between}
.btn{border:0;border-radius:14px;min-height:50px;padding:12px 18px;font-weight:600;background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;text-align:center}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.soft{background:var(--accent-soft);color:var(--accent)}
.btn.dark{background:var(--ink);color:var(--bg)}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn.sm{min-height:44px;padding:8px 14px;font-size:14px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;background:var(--soft);color:var(--muted);white-space:nowrap}
.pill.ok{background:var(--ok-soft);color:var(--ok)} .pill.warn{background:var(--warn-soft);color:var(--warn)}
.pill.stop{background:var(--stop-soft);color:var(--stop)} .pill.acc{background:var(--accent-soft);color:var(--accent)}
.list{display:flex;flex-direction:column}
.item{display:flex;align-items:center;gap:12px;padding:13px 2px;border-top:1px solid var(--line);background:none;border-left:0;border-right:0;border-bottom:0;text-align:left;width:100%;min-height:56px}
.list>.item:first-child{border-top:0}
.item .t{font-weight:600;line-height:1.3}
.item .chev{width:18px;height:18px;color:var(--muted);flex:none}
.num{width:30px;height:30px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-weight:600;font-size:14px;flex:none;font-variant-numeric:tabular-nums}
.num.done{background:var(--ok-soft);color:var(--ok)}

.sema{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sema button{border:2px solid var(--line);background:var(--card);border-radius:16px;min-height:92px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;line-height:1.2}
.face{width:42px;height:42px;flex:none;transition:transform .2s}
.face .face-bg{fill:var(--face)}
.face .face-ft{color:#1B1B1B;fill:#1B1B1B}
.face.g{--face:#3DAA6A} .face.y{--face:#F2B632} .face.r{--face:#E2483A}
.sema button[aria-pressed="true"] .face{transform:scale(1.12)}
@media (prefers-reduced-motion:reduce){.face{transition:none}}
.sema button[aria-pressed="true"]{border-color:var(--ink);background:var(--soft)}
.callout{border-radius:14px;padding:12px 14px;font-size:14px;display:flex;flex-direction:column;gap:4px}
.callout.g{background:var(--ok-soft);color:var(--ok)} .callout.y{background:var(--warn-soft);color:var(--warn)} .callout.r{background:var(--stop-soft);color:var(--stop)}
.callout.n{background:var(--soft);color:var(--ink)}
.callout strong{font-weight:600}
.week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.day{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 0;border-radius:12px;font-size:12px;font-weight:600;color:var(--muted);min-width:0}
.day b{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}
.day i{width:8px;height:8px;border-radius:50%;background:transparent;border:1.5px solid var(--line);display:block}
.day.plan i{border-color:var(--accent)} .day.done i{background:var(--ok);border-color:var(--ok)}
.day.today{background:var(--accent-soft);color:var(--accent)}
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--soft);border-radius:14px;padding:4px;gap:4px}
.seg button{border:0;background:none;border-radius:10px;min-height:44px;font-weight:600;font-size:14px;color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--card);color:var(--ink);outline:1px solid var(--line);outline-offset:-1px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{border:1px solid var(--line);background:var(--card);border-radius:99px;min-height:40px;padding:6px 14px;font-weight:600;font-size:14px;white-space:nowrap;flex:none}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
input[type=text],input[type=search],textarea,select{width:100%;border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:12px;min-height:48px;font-size:16px}
textarea{min-height:88px;resize:vertical;line-height:1.45}
label.chk{display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:16px;line-height:1.4}
input[type=checkbox]{width:24px;height:24px;flex:none;accent-color:var(--accent);margin:0}
.video{aspect-ratio:16/9;max-width:100%;border-radius:16px;background:repeating-linear-gradient(135deg,var(--soft) 0 12px,var(--bg) 12px 24px);border:1px dashed var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:12px;color:var(--muted);font-size:14px;font-weight:600}
.video svg{width:34px;height:34px}
video{width:100%;max-width:100%;border-radius:16px;background:#000;display:block}
.review{border:1.5px dashed var(--accent);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.review .eyebrow{color:var(--accent)}
.bar{height:8px;border-radius:99px;background:var(--soft);overflow:hidden}
.bar i{display:block;height:100%;background:var(--ok);border-radius:99px}
.stat{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat div{background:var(--soft);border-radius:14px;padding:12px 8px;text-align:center}
.stat b{display:block;font:600 24px/1 var(--sans);font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--muted);font-weight:600}
.quizq{font:700 30px/1.15 var(--display);text-wrap:balance;margin:0}
.opt{border:2px solid var(--line);background:var(--card);border-radius:16px;min-height:56px;padding:12px 16px;text-align:left;font-weight:600;width:100%}
.opt[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}
.avatar{width:84px;height:84px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font:600 32px var(--sans);flex:none}
.toast{position:absolute;left:16px;right:16px;bottom:92px;background:var(--ink);color:var(--bg);padding:12px 16px;border-radius:14px;font-size:14px;font-weight:600;text-align:center;z-index:5;box-shadow:var(--shadow)}
.toast[hidden]{display:none}
ul.clean{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.ex-sets{font-variant-numeric:tabular-nums;font-size:14px;color:var(--muted)}

.update{position:absolute;left:12px;right:12px;bottom:88px;z-index:6;display:flex;align-items:center;gap:10px;background:var(--ink);color:var(--bg);border-radius:16px;padding:10px 10px 10px 16px;box-shadow:var(--shadow);font-size:14px;font-weight:600}
.update .btn{min-height:40px;padding:6px 14px;font-size:14px}
.offline{background:var(--warn-soft);color:var(--warn);font-size:12px;font-weight:600;padding:6px 14px;text-align:center;flex:none}

/* Revisão de layout: perfil, obstetra, fichas objetivas */
button.card{text-align:left;width:100%;color:inherit;font:inherit}
.stack{display:flex;flex-direction:column;gap:10px}
.btnrow{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.btn svg{width:18px;height:18px}
.avatar.sm{width:44px;height:44px;font-size:20px}
.profile{gap:12px}
.obst{border-color:var(--ink);border-width:1.5px}
.obst h3{overflow-wrap:anywhere}
.obico{width:44px;height:44px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex:none}
.obico svg{width:22px;height:22px}
.facts{margin:0;display:flex;flex-direction:column}
.facts>div{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-top:1px solid var(--line)}
.facts>div:first-child{border-top:0;padding-top:0}
.facts dt{font-size:12px;font-weight:600;color:var(--muted)}
.facts dd{margin:0;font-weight:600}
.presc{flex-direction:row;align-items:flex-end;gap:16px}
.presc b{display:block;font:600 24px/1.15 var(--sans);font-variant-numeric:tabular-nums}
.signs{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-weight:400}
.signs li::marker{color:var(--stop);font-weight:600}
details.card>summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:28px}
details.card>summary::-webkit-details-marker{display:none}
details.card>summary::after{content:"+";font-size:22px;font-weight:400;color:var(--muted)}
details.card[open]>summary::after{content:"–"}
.card.sel{border-color:var(--accent);border-width:2px}
label.eyebrow{margin-top:4px}
.chev{width:18px;height:18px;color:var(--muted);flex:none}
/* Entrada (login e cadastro) */
.auth{display:flex;flex-direction:column;gap:22px;padding:28px 4px 8px;min-height:100%}
.brand{display:flex;align-items:center;gap:12px}
.brand .mark{width:52px;height:52px;flex:none;border-radius:14px;box-shadow:var(--shadow)}
.brand b{display:block;font-size:16px}
.brand span{font-size:12px;color:var(--muted)}
.auth-h{font-size:38px;line-height:1.05;margin-bottom:6px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600}
.field input{background:var(--card)}
.field input:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
input[type=email],input[type=password]{width:100%;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:12px;min-height:52px;font-size:16px}
.pw{position:relative}
.pw input{padding-right:52px}
.eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:none;color:var(--muted);display:grid;place-items:center;border-radius:10px}
.eye svg{width:20px;height:20px}
.eye[aria-pressed="true"]{color:var(--accent)}
.link{background:none;border:0;color:var(--accent);font-weight:600;min-height:44px;align-self:center;padding:8px}
.auth-alt{display:flex;flex-direction:column;gap:10px;align-items:stretch;text-align:center;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
/* Display Cards (21st.dev · Codehagen), adaptado: pilha inclinada das trilhas */
.dc{display:grid;grid-template-areas:"stack";padding:34px 0 64px;margin-inline:-2px}
.dc-card{grid-area:stack;position:relative;width:calc(100% - 52px);height:140px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;text-align:left;
  padding:14px 16px;border-radius:16px;border:2px solid var(--line);background:color-mix(in srgb,var(--card) 88%,transparent);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  color:var(--ink);transform:skewY(-6deg);transition:transform .6s cubic-bezier(.2,.8,.2,1),filter .6s,border-color .6s,box-shadow .6s;box-shadow:var(--shadow);overflow:hidden}
.dc-card.pos0{transform:skewY(-6deg) translate(0,0);filter:grayscale(1);opacity:.85}
.dc-card.pos1{transform:skewY(-6deg) translate(24px,40px);filter:grayscale(1);opacity:.92}
.dc-card.pos2{transform:skewY(-6deg) translate(48px,80px);border-color:var(--accent);z-index:2;box-shadow:0 14px 34px rgba(201,64,45,.18)}
.dc-card.pos0:active{transform:skewY(-6deg) translate(0,-10px)}
.dc-card.pos1:active{transform:skewY(-6deg) translate(24px,30px)}
.dc-top{display:flex;align-items:center;gap:8px;min-width:0}
.dc-top b{font:700 24px/1 var(--display);white-space:nowrap}
.dc-top em{font-style:normal;font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:3px 8px;border-radius:99px;margin-left:auto;white-space:nowrap}
.dc-ico{width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;flex:none}
.dc-ico svg{width:15px;height:15px}
.dc-mid{font-size:16px;font-weight:600;line-height:1.3}
.dc-foot{font-size:14px;color:var(--muted)}
.dc-card.pos2 .dc-top b{color:var(--accent)}
@media (prefers-reduced-motion:reduce){.dc-card{transition:none}}

/* Stacked Card Carousel (21st.dev · shadcnspace), adaptado: aulas em leque arrastável */
.cc-wrap{display:flex;flex-direction:column;gap:6px;overflow:hidden;margin-inline:-14px;padding-inline:14px}
.cc{position:relative;height:280px;display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;outline-offset:-4px}
.cc:active{cursor:grabbing}
.cc-card{position:absolute;width:184px;height:240px;border-radius:20px;overflow:hidden;padding:16px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;
  box-shadow:0 18px 40px rgba(40,20,10,.22);will-change:transform}
.cc-card::before{content:"";position:absolute;inset:0;background:#000;opacity:var(--dim,0);pointer-events:none}
.cc-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.05) 60%,transparent);pointer-events:none}
.cc-card>*{position:relative;z-index:1}
.cc-card.tone0{background:radial-gradient(120% 90% at 20% 10%,#F27460,#EE5846 45%,#A82E1D)}
.cc-card.tone1{background:radial-gradient(120% 90% at 80% 0%,#2A2A2A,#0E0E0E 60%,#000)}
.cc-card.tone2{background:radial-gradient(120% 90% at 20% 0%,#5A5652,#2B2928 60%,#121212)}
.cc-badge{align-self:flex-end;background:rgba(255,255,255,.95);color:#1B1614;font-size:12px;font-weight:600;padding:3px 9px;border-radius:99px}
.cc-num{font:700 64px/1 var(--display);opacity:.9}
.cc-txt{display:flex;flex-direction:column;gap:2px;opacity:var(--txt,1)}
.cc-txt b{font-size:16px;line-height:1.2}
.cc-txt small{font-size:12px;opacity:.75}
.cc-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cc-dots{display:flex;gap:6px}
.cc-dots i{width:6px;height:6px;border-radius:99px;background:var(--line);transition:width .3s,background .3s}
.cc-dots i.on{width:18px;background:var(--accent)}

/* Entrada: tela toda preta em qualquer tema, logo e nome do personal no centro */
.app.auth-mode{--bg:#000000;--card:#111111;--ink:#EFECE9;--muted:#A8A39E;--line:#2A2A2A;--soft:#1C1C1C;
  --accent:#EE5846;--accent-ink:#000000;--accent-soft:#2C1410;--stop:#F08A7E;--stop-soft:#341815;color-scheme:dark;background:#000;color:var(--ink)}
.app.auth-mode main{background:#000}
.auth{padding-top:0}
.auth-hero{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:44px 8px 10px}
.auth-hero img{width:min(88%,340px);height:auto}
.auth-hero p{margin:0;font:600 15px/1.3 var(--sans);color:#A8A39E;letter-spacing:.02em}
.auth-mode .auth-h{text-align:center}
.auth-mode .auth-h+p{text-align:center}
.auth-mode .field input{background:#111;border-color:#2E2E2E;color:#EFECE9}
.auth-mode .field input::placeholder{color:#6F6A66}
.auth-mode .field input:focus{border-color:#EE5846;box-shadow:0 0 0 3px rgba(238,88,70,.22)}

/* Seu treinador: foto inteira ao fundo, informações "aparecendo" sobre a parte de baixo */
.coach{position:relative;margin:-8px -14px 0;display:flex;flex-direction:column}
.coach-photo{display:block;width:100%;height:auto;max-width:100%;
  -webkit-mask-image:linear-gradient(to bottom,#000 55%,rgba(0,0,0,.35) 78%,transparent 96%);mask-image:linear-gradient(to bottom,#000 55%,rgba(0,0,0,.35) 78%,transparent 96%)}
.coach-info{position:relative;margin-top:-34%;padding:0 20px 8px;display:flex;flex-direction:column;gap:6px;z-index:1}
.coach-name{margin:0;font:800 42px/0.95 var(--display);letter-spacing:-.02em;text-transform:uppercase;color:var(--ink)}
.coach-role{margin:0;font-weight:600;color:var(--accent)}
.coach-ig{margin:0;color:var(--muted);font-size:14px}
.coach-bio{margin:6px 0 0;font-size:16px;line-height:1.5;max-width:60ch}

/* Vidro embaçado: imagem do tema por baixo, desfocada como um espelho; texto sempre legível por cima */
.glass{position:relative;overflow:hidden;isolation:isolate;color:#fff;border-color:rgba(255,255,255,.16);background:#111}
.glass::before{content:"";position:absolute;inset:-24px;z-index:-2;background:var(--img) center/cover no-repeat;filter:blur(7px) saturate(1.2);transform:scale(1.06)}
.glass::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,.04) 38%,rgba(255,255,255,0) 60%),linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,.66));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.08)}
.glass .muted,.glass .eyebrow{color:rgba(255,255,255,.82)!important;opacity:1!important}
.glass .pill{background:rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(4px)}
.glass .pill.ok{background:rgba(108,203,146,.28);color:#E8FFF0}
.glass .seg{background:rgba(255,255,255,.14)}
.glass .seg button{color:rgba(255,255,255,.85)}
.glass .seg button[aria-pressed="true"]{background:#fff;color:#111}
.dc-card.glass{color:#fff;border-color:rgba(255,255,255,.18);background:#111}
.dc-card.glass .dc-foot{color:rgba(255,255,255,.8)}
.dc-card.glass.pos2{border-color:var(--brand-coral)}
.dc-card.glass.pos2 .dc-top b{color:#fff}
.dc-card.glass .dc-top em{background:var(--brand-coral);color:#000}
.brandcard{background:var(--brand-black);border-radius:18px;padding:22px;display:grid;place-items:center}
.brandcard img{width:min(80%,280px);height:auto}
.avatar{font-family:var(--sans);font-weight:600}
.otp{font-size:24px;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
/* Foto da gestante */
img.avatar{object-fit:cover;background:var(--soft);border:2px solid var(--card);box-shadow:0 0 0 2px var(--accent)}
.avatar.lg{width:96px;height:96px;font-size:40px}
.photo-pick{display:flex;align-items:center;gap:16px}
.photo-pick .stack{flex:1;min-width:0}
/* Tamanho do bebê: ilustração em cartão claro em qualquer tema */
.baby{flex-direction:row;align-items:center;gap:14px;background:#EFEBE7;border-color:#E2DCD6;color:#161616}
.baby .muted,.baby .eyebrow{color:#5F5B57}
.baby-img{width:112px;height:112px;flex:none;border-radius:16px;object-fit:cover;mix-blend-mode:multiply}
.baby-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.baby-txt h3{font:700 20px/1.15 var(--display);letter-spacing:-.01em}
.baby-nums{margin:2px 0 0;display:flex;gap:16px;flex-wrap:wrap}
.baby-nums dt{font-size:12px;color:#5F5B57}
.baby-nums dd{margin:0;font-weight:600;font-size:14px}
.baby-line{margin-top:2px;color:var(--accent);font-weight:600}
.baby-fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:4px;flex:none}
.baby-fig figcaption{font-size:12px;font-weight:600;color:#5F5B57}
/* Perfil em vidro com a foto */
.glass .btn.ghost{color:#fff;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.1)}
.glass .baby-line{color:#FFD9D2}
.glass .chev{color:rgba(255,255,255,.8)}
.glass img.avatar{border-color:rgba(255,255,255,.9)}
button.card.glass{color:#fff}

/* ---------- Primeira experiência (apresentação + quiz + resultado) ----------
   Tela preta imersiva, uma pergunta por vez. Destaque único: a barra de peso que acende anilhas. */
.ob{display:flex;flex-direction:column;gap:18px;min-height:100%;color:#EFECE9}
.ob-kicker{margin:0;color:var(--brand-coral);font-weight:600;font-size:15px}
.ob-title{margin:0;font:800 34px/1.04 var(--display);letter-spacing:-.025em;color:#F4F1EE;text-wrap:balance}
.ob-lead{margin:6px 0 0;color:#B5B0AB;font-size:16px;line-height:1.5;max-width:42ch}
.ob-cta{margin-top:auto;min-height:56px;font-size:17px}
.ob-skip{color:#A8A39E}
.ob-enter{animation:obIn .38s cubic-bezier(.2,.8,.2,1) both}
.ob-enter[data-dir="b"]{animation-name:obBack}
@keyframes obIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes obBack{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}

/* Apresentação com a foto do Edson */
.ob-intro{margin:-8px -14px 0;gap:0;position:relative}
.ob-intro-photo{display:block;width:100%;height:auto;max-height:52vh;object-fit:cover;object-position:top;
  -webkit-mask-image:linear-gradient(to bottom,#000 50%,transparent 98%);mask-image:linear-gradient(to bottom,#000 50%,transparent 98%)}
.ob-intro-txt{position:relative;margin-top:-64px;padding:0 20px 8px;display:flex;flex-direction:column;gap:10px;flex:1}
.ob-intro .ob-title{font-size:40px}
.ob-steps{list-style:none;margin:8px 0 6px;padding:0;display:flex;flex-direction:column;gap:12px}
.ob-steps li{display:grid;grid-template-columns:8px 1fr;column-gap:12px;align-items:center}
.ob-steps li::before{content:"";grid-row:span 2;width:8px;height:34px;border-radius:3px;background:var(--brand-coral)}
.ob-steps b{font-weight:600;color:#F4F1EE}
.ob-steps span{color:#A8A39E;font-size:14px}

/* Topo das perguntas: voltar, barra de peso, contagem */
.ob-top{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin-top:4px}
.ob-top .iconbtn{background:transparent;border-color:#2E2E2E;color:#EFECE9}
.ob-bar{justify-self:center;width:150px;height:44px}
.ob-bar-rod{fill:#3A3A3A}
.ob-plate{fill:#1E1E1E;stroke:#3F3F3F;stroke-width:1;transition:fill .35s,filter .35s}
.ob-plate.on{fill:var(--brand-coral);stroke:var(--brand-coral);filter:drop-shadow(0 0 6px rgba(238,88,70,.55))}
.ob-count{justify-self:end;color:#8E8984;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.ob-q .ob-body{margin-top:22px}

/* Nome */
.ob input.ob-input{width:100%;background:transparent;border:0;border-bottom:2px solid #3A3A3A;border-radius:0;padding:10px 2px;color:#F4F1EE;
  font:700 30px/1.2 var(--display);letter-spacing:-.01em;min-height:56px}
.ob input.ob-input::placeholder{color:#55504C}
.ob input.ob-input:focus{outline:none;border-bottom-color:var(--brand-coral)}

/* Semanas: número grande + régua */
.ob-week{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:20px}
.ob-week-num{display:flex;align-items:baseline;gap:10px}
.ob-week-num b{font:800 104px/0.9 var(--display);letter-spacing:-.04em;color:#F4F1EE;font-variant-numeric:tabular-nums}
.ob-week-num span{font-size:18px;color:#A8A39E;font-weight:600}
.ob-week-meta{display:flex;flex-direction:column;gap:2px;font-size:15px;color:#C9C4BF}
.ob-tri{color:var(--brand-coral);font-weight:600}
.ob-range{-webkit-appearance:none;appearance:none;width:100%;height:44px;background:transparent;margin:0}
.ob-range::-webkit-slider-runnable-track{height:8px;border-radius:99px;background:linear-gradient(to right,var(--brand-coral) var(--p,40%),#2A2A2A var(--p,40%))}
.ob-range::-moz-range-track{height:8px;border-radius:99px;background:linear-gradient(to right,var(--brand-coral) var(--p,40%),#2A2A2A var(--p,40%))}
.ob-range::-webkit-slider-thumb{-webkit-appearance:none;width:32px;height:32px;margin-top:-12px;border-radius:50%;background:#F4F1EE;border:4px solid var(--brand-coral);box-shadow:0 4px 14px rgba(0,0,0,.5)}
.ob-range::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#F4F1EE;border:4px solid var(--brand-coral)}
.ob-range:focus-visible{outline:2px solid var(--brand-coral);outline-offset:4px;border-radius:99px}
.ob-range-scale{display:flex;justify-content:space-between;color:#6F6A66;font-size:12px;font-variant-numeric:tabular-nums;padding:0 4px}

/* Opções com imagem (experiência) */
.ob-opts{display:flex;flex-direction:column;gap:10px}
.ob-opt{min-height:92px;border-radius:18px;border:2px solid rgba(255,255,255,.12);display:flex;align-items:flex-end;padding:16px;text-align:left;font-size:19px;transition:border-color .2s,transform .2s}
.ob-opt b{font-family:var(--display);font-weight:700;letter-spacing:-.01em}
.ob-opt[aria-pressed="true"],.ob-li[aria-pressed="true"],.ob-day[aria-pressed="true"],.ob-face[aria-pressed="true"]{border-color:var(--brand-coral);box-shadow:0 0 0 3px rgba(238,88,70,.25)}
.ob-opt:active,.ob-li:active,.ob-day:active,.ob-face:active{transform:scale(.98)}

/* Disposição: rostos */
.ob-faces{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ob-face{background:#111;border:2px solid #2A2A2A;border-radius:18px;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#EFECE9;font-size:16px;transition:border-color .2s,transform .2s}
.ob-face .face{width:56px;height:56px}
.face.n{--face:#9ACB5E}

/* Dias por semana */
.ob-days{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ob-day{background:#111;border:2px solid #2A2A2A;border-radius:18px;padding:18px 12px 14px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#EFECE9;transition:border-color .2s,transform .2s}
.ob-day b{font:800 64px/1 var(--display);letter-spacing:-.03em}
.ob-day>span{color:#A8A39E;font-size:14px;font-weight:600}
.ob-wk{display:flex;gap:3px;margin-top:10px;font-style:normal}
.ob-wk em{font-style:normal;width:18px;height:22px;border-radius:5px;display:grid;place-items:center;font-size:11px;font-weight:600;background:#1E1E1E;color:#6F6A66}
.ob-wk em.on{background:var(--brand-coral);color:#000}

/* Liberação: lista */
.ob-list{display:flex;flex-direction:column;gap:10px}
.ob-li{background:#111;border:2px solid #2A2A2A;border-radius:16px;min-height:64px;padding:14px 18px;text-align:left;color:#EFECE9;font-size:17px;font-weight:600;transition:border-color .2s,transform .2s}

/* Montando a trilha */
.ob-calc{align-items:center;justify-content:center;text-align:center;gap:14px;padding-bottom:12vh}
.ob-calc .ob-bar{width:220px;height:66px}
.ob-calc .ob-plate.on{animation:obPulse 1.2s ease-in-out infinite}
.ob-calc .ob-plate.on:nth-of-type(2n){animation-delay:.2s}
@keyframes obPulse{50%{opacity:.45}}

/* Resultado */
.ob-result{gap:14px}
.ob-track{font-size:56px;line-height:.95;color:var(--brand-coral)}
.ob-plan{margin:0;display:flex;flex-direction:column;border-top:1px solid #262626}
.ob-plan>div{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:12px 2px;border-bottom:1px solid #262626}
.ob-plan dt{color:#8E8984;font-size:13px;font-weight:600}
.ob-plan dd{margin:0;color:#EFECE9;font-weight:600}
@media (prefers-reduced-motion:reduce){.ob-enter,.ob-calc .ob-plate.on{animation:none}.ob-plate,.ob-opt,.ob-li,.ob-day,.ob-face{transition:none}}

/* ---------- Agenda: semana clicável ---------- */
button.day{border:0;background:none;font:inherit;cursor:pointer;min-height:56px}
button.day:active{transform:scale(.95)}
.day.missed i{border-color:var(--warn);border-style:dashed}
.wk-nav{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:6px;text-align:center;font-size:14px;font-weight:600;color:var(--muted)}
.iconbtn.sm{width:36px;height:36px}
.iconbtn.sm svg{width:18px;height:18px}
.done-today{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#BFF0D2}
.done-today svg{width:16px;height:16px}
.chk-big{width:30px;height:30px;color:#9FE6BC}
.facts.on-glass dt{color:rgba(255,255,255,.7)}
.facts.on-glass>div{border-top-color:rgba(255,255,255,.18)}

/* ---------- Check-in de treino concluído ----------
   Momento único de animação: as anilhas acendem uma a uma, o check é desenhado e o título sobe. */
.celebrate{position:absolute;inset:0;z-index:20;background:#000;color:#EFECE9;display:flex;align-items:center;justify-content:center;
  padding:max(20px,env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
  overflow-y:auto;animation:celBg .3s ease both}
.cel-in{width:100%;max-width:380px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.celebrate .ob-bar{width:200px;height:60px}
.celebrate .ob-plate.on{animation:celPlate .35s ease both}
.celebrate .ob-plate:nth-of-type(4){animation-delay:.05s}.celebrate .ob-plate:nth-of-type(5){animation-delay:.15s}
.celebrate .ob-plate:nth-of-type(3){animation-delay:.25s}.celebrate .ob-plate:nth-of-type(6){animation-delay:.35s}
.celebrate .ob-plate:nth-of-type(2){animation-delay:.45s}.celebrate .ob-plate:nth-of-type(7){animation-delay:.55s}
.cel-check{width:92px;height:92px;margin:4px 0 2px}
.cel-check circle{fill:none;stroke:var(--brand-coral);stroke-width:4;stroke-dasharray:277;stroke-dashoffset:277;animation:celDraw .6s .55s cubic-bezier(.6,0,.2,1) forwards}
.cel-check path{fill:none;stroke:#F4F1EE;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:70;stroke-dashoffset:70;animation:celDraw .4s 1.05s cubic-bezier(.6,0,.2,1) forwards}
.cel-kicker{margin:0;color:var(--brand-coral);font-weight:600;font-size:14px}
.cel-title{margin:0;font:800 38px/1 var(--display);letter-spacing:-.025em;color:#F4F1EE;animation:celUp .45s 1.1s both}
.cel-when{margin:0;color:#A8A39E;font-size:15px}
.cel-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;margin-top:8px;animation:celUp .45s 1.25s both}
.cel-stats div{background:#111;border:1px solid #262626;border-radius:16px;padding:12px 6px;display:flex;flex-direction:column;gap:2px}
.cel-stats b{font:800 30px/1 var(--display);color:#F4F1EE;font-variant-numeric:tabular-nums}
.cel-stats small{font-size:16px;color:#8E8984}
.cel-stats span{font-size:12px;color:#A8A39E;font-weight:600}
.cel-q{margin:10px 0 0;font-weight:600;font-size:15px}
.cel-effort{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}
.cel-effort button{min-height:48px;border-radius:14px;border:2px solid #2A2A2A;background:#111;color:#EFECE9;font-weight:600;font-size:14px}
.cel-effort button[aria-pressed="true"]{border-color:var(--brand-coral);background:rgba(238,88,70,.14)}
.cel-next{width:100%;margin-top:8px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,rgba(238,88,70,.22),rgba(238,88,70,.06));border:1px solid rgba(238,88,70,.4);display:flex;flex-direction:column;gap:2px;text-align:left}
.cel-next span{font-size:13px;color:#F2B3A9;font-weight:600}
.cel-next b{font:700 20px/1.2 var(--display);color:#F4F1EE}
.cel-ok{width:100%;margin-top:6px;min-height:54px;background:var(--brand-coral);color:#000}
@keyframes celBg{from{opacity:0}to{opacity:1}}
@keyframes celPlate{from{fill:#1E1E1E;stroke:#3F3F3F;filter:none}to{}}
@keyframes celDraw{to{stroke-dashoffset:0}}
@keyframes celUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.celebrate,.celebrate *{animation:none!important}.cel-check circle,.cel-check path{stroke-dashoffset:0}}

/* Perfil: treinador e opções compactas que abrem na tela */
.coach-card .eyebrow{color:rgba(255,255,255,.8)}
.coach-card.glass::before{background-position:center 18%;filter:blur(6px) saturate(1.1) brightness(.8)}
.coach-mini{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:center 15%;border:2px solid var(--brand-coral);flex:none}
.acc-group{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.acc+.acc{border-top:1px solid var(--line)}
.acc-head{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:62px;background:none;border:0;text-align:left;color:inherit}
.acc-head .t{font-weight:600}
.acc-ico{width:24px;height:36px;color:var(--ink);display:grid;place-items:center;flex:none}
.acc-ico svg{width:18px;height:18px}
.acc-chev{color:var(--muted);transition:transform .25s}
.acc-chev svg{width:18px;height:18px;display:block}
.acc.open .acc-chev{transform:rotate(90deg)}
.acc.open .acc-head{background:var(--soft)}
.acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.2,.8,.2,1)}
.acc.open .acc-body{grid-template-rows:1fr}
.acc-in{overflow:hidden;min-height:0;display:flex;flex-direction:column;gap:10px;padding:0 14px}
.acc.open .acc-in{padding:4px 14px 16px}
.acc-in .card{border:0;padding:0;background:none;box-shadow:none}
.acc-in .card h3{display:none}
@media (prefers-reduced-motion:reduce){.acc-body,.acc-chev{transition:none}}
.acc:not(.open) .acc-in{visibility:hidden;transition:visibility 0s .28s}

/* Check-in vermelho e ações de ajuda (Segurança, Hoje, Treino) */
.red-alert{display:flex;flex-direction:column;gap:12px;padding:18px 16px;border-radius:18px;background:var(--card);border:2px solid #B3261E;box-shadow:0 10px 28px rgba(179,38,30,.14)}
.red-alert:focus{outline:none}
.red-alert:focus-visible{outline:3px solid #B3261E;outline-offset:3px}
.red-alert h2{color:#B3261E;font-size:24px}
.red-alert>p{margin:0;font-size:16px;line-height:1.5}
.help-actions{display:flex;flex-direction:column;gap:8px}
.help-actions .btn{justify-content:flex-start;text-align:left;min-height:62px;padding:10px 14px;gap:12px;border-radius:14px}
.help-actions .btn svg{width:22px;height:22px;flex:none}
.help-actions .btn span{display:flex;flex-direction:column;line-height:1.3;font-size:16px;min-width:0}
.help-actions .btn small{font-weight:400;font-size:14px;overflow-wrap:anywhere}
.help-192{background:#B3261E;color:#fff}
.red-signs summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.red-signs .signs{margin-top:4px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .red-alert h2{color:#F08A7E}}
:root[data-theme="dark"] .red-alert h2{color:#F08A7E}

/* ---------- Hoje: saudação compacta, check-in primeiro ---------- */
.today-top{display:flex;flex-direction:column;gap:10px}
.hello{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 10px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.hello-me{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;padding:4px 0;text-align:left;color:inherit;min-height:48px}
.hello-me span{display:flex;flex-direction:column;min-width:0}
.hello-me b{font:600 16px/1.2 var(--sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hello-me small{font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hello.glass .hello-me small{color:rgba(255,255,255,.85)}
.hello-ob{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:72px;min-height:56px;border-radius:14px;background:var(--accent);color:var(--accent-ink);border:0;text-decoration:none;font-size:12px;font-weight:600;padding:6px 10px}
.hello-ob svg{width:20px;height:20px}
.hello-ob.add{background:var(--soft);color:var(--ink);border:1.5px dashed var(--muted)}
.hello.glass .hello-ob.add{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.6)}
.ci .ci-h{font:700 20px/1.2 var(--display);letter-spacing:-.01em}
.sema.compact button{min-height:76px;padding:8px 4px;gap:4px;font-size:14px}
.sema.compact .face{width:34px;height:34px}

/* Esforço em palavras no exercício */
.presc-eff{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:2px}
.presc-eff small{font-size:12px;color:var(--muted);line-height:1.3}
.is-off{opacity:.7;cursor:default}

/* Vídeo ainda não gravado: uma linha discreta */
.video-soon{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;border-radius:12px;background:var(--soft);color:var(--muted);font-size:14px;font-weight:600}
.video-soon svg{width:18px;height:18px}

/* Barra fixa do exercício: séries, descanso e próximo, ao alcance do polegar */
.setbar{position:sticky;bottom:-24px;z-index:3;margin:4px -14px -24px;padding:12px 14px 36px;background:var(--card);border-top:1px solid var(--line);box-shadow:0 -3px 8px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:10px;border-radius:20px 20px 0 0}
.setbar-row{display:flex;align-items:center;gap:12px}
.set-dots{display:flex;gap:5px;flex:none}
.set-dots i{width:10px;height:28px;border-radius:3px;background:var(--soft);border:1px solid var(--line)}
.set-dots i.on{background:var(--accent);border-color:var(--accent)}
.set-label{flex:1;min-width:0;display:flex;flex-direction:column;font:600 16px/1.25 var(--sans);font-variant-numeric:tabular-nums}
.set-label small{font:400 14px/1.3 var(--sans);color:var(--muted);font-variant-numeric:tabular-nums}
.set-do{flex:none;min-height:52px;padding-inline:18px}
.setbar-nav{display:grid;grid-template-columns:auto 1fr;gap:8px}
.setbar-nav .btn{min-height:48px}
.set-next{justify-content:space-between;overflow:hidden}
.set-next svg{flex:none}

/* ---------- Polish ---------- */
/* Aba ativa e links coral sobre fundo claro: tom mais fechado para passar de 4,5:1 */
nav.tabs button[aria-current="page"]{color:#A8301F}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) nav.tabs button[aria-current="page"]{color:var(--accent)}}
:root[data-theme="dark"] nav.tabs button[aria-current="page"]{color:var(--accent)}
/* Placeholders legíveis na tela preta de entrada */
.auth-mode .field input::placeholder{color:#9A958F}
/* Telefone com o mesmo estilo dos outros campos */
input[type=tel]{width:100%;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:12px;min-height:52px;font-size:16px;color:var(--ink)}
.auth-mode .field input[type=tel]{background:#111;border-color:#2E2E2E;color:#EFECE9}
/* Quiz de disposição: rostos neutros (verde, amarelo e vermelho ficam só para o check-in de segurança) */
.ob-face .face .face-bg{fill:#2A2A2A}
.ob-face .face .face-ft{color:#E9E5E1;fill:#E9E5E1}
.ob-face[aria-pressed="true"] .face .face-bg{fill:var(--brand-coral)}
.ob-face[aria-pressed="true"] .face .face-ft{color:#000;fill:#000}
/* Sem palavra sozinha na última linha */
p,dd,li,.callout span{text-wrap:pretty}
/* Superfícies do navegador na cor da marca */
::selection{background:rgba(238,88,70,.28)}
input,textarea{caret-color:var(--accent)}
main{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
/* Semana: letras maiores e marcador mais visível */
.day{font-size:12px}
.day i{width:9px;height:9px}
.help-link{background:none;border:0;color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-align:left;min-height:44px;padding:4px 2px}
.ci .red-alert{margin-top:2px;box-shadow:none}
.ci-note summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center;color:var(--accent)}
.ci-note[open] summary{margin-bottom:6px}
textarea::placeholder,input::placeholder{color:var(--muted)}
.finish-why{display:flex;flex-direction:column;gap:8px;margin:0;padding:12px 14px;border-radius:14px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.45}
.finish-why p{margin:0}
.presc.paused b{color:#B3261E}
.presc.paused small{display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.4}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .presc.paused b{color:#F08A7E}}
:root[data-theme="dark"] .presc.paused b{color:#F08A7E}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ci-done{gap:10px}
.ci-sum{display:flex;align-items:center;gap:12px}
.ci-sum .face{width:40px;height:40px;flex:none}
.ci-sum .ci-h{font:600 16px/1.25 var(--sans)}
.ci-sum p{margin:2px 0 0}

/* Treino em fases */
.phases{padding:6px 16px 4px;gap:0}
.phase+.phase{border-top:1px solid var(--line);margin-top:4px;padding-top:6px}
.phase-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0 2px}
.phase-h h3{font:600 16px/1.25 var(--sans)}
.phase .list>.item:first-child{border-top:0}
.num.phase-dot{background:transparent;border:2px solid var(--line);width:14px;height:14px;margin:0 8px}
h2.h3{font:600 16px/1.3 var(--sans);letter-spacing:0}
/* Descanso em destaque na barra do exercício */
.set-label.resting small{order:-1}
.rest-big{font:600 32px/1 var(--sans);color:var(--accent);font-variant-numeric:tabular-nums}

/* Colorize: semana com marcadores distintos e avatar centrado */
.day.done i{width:16px;height:16px;border:0;background:var(--ok);color:#fff;display:grid;place-items:center;border-radius:50%}
.day.done i svg{width:11px;height:11px;stroke-width:3}
.day.plan i{width:10px;height:10px;border-width:2px}
.day.missed i{width:10px;height:10px}
.avatar{line-height:1}
span.avatar{padding-top:.24em;line-height:1}
span.avatar.sm{padding-top:.62em}
.hello{background:var(--card)}
h1.ptitle{font-size:24px}

/* Tipografia: Figtree em 400/600, números tabulares onde o valor muda */
b,strong{font-weight:600}
.day,.pill,.hello-me,.ci-sum,.week-n{font-variant-numeric:tabular-nums}
h2.hero-t{font-size:28px}

/* Área do treinador */
.st-row{gap:8px;text-align:left}
.st-row h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-row .face{width:32px;height:32px}
.st-row .grow{min-width:0}
.cdots{display:flex;gap:4px}
.cdot{flex:1;height:28px;border-radius:8px;background:var(--soft);border:1px solid var(--line)}
.cdot.g{background:#3DAA6A;border-color:#3DAA6A}.cdot.y{background:#F2B632;border-color:#F2B632}.cdot.r{background:#E2483A;border-color:#E2483A}
.cdots-l{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.stat b small{font-size:14px;color:var(--muted);font-weight:400}
.coach-msg .coach-mini{width:40px;height:40px}
.cm-text{margin:0;white-space:pre-line;overflow-wrap:anywhere}
input[type=search]{-webkit-appearance:none;appearance:none}

/* Documentos legais e consentimento */
.legal-s{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.legal-s p{margin:0;max-width:65ch}
.legal-s ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;max-width:65ch}
mark.ph{background:var(--warn-soft);color:var(--warn);border-radius:6px;padding:0 4px}
.legal-links{margin:0;text-align:center;color:var(--muted)}
.legal-links .link{min-height:40px;padding:6px 4px;font-size:14px}
.link.inline{display:inline;min-height:0;padding:0;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
