/* Tela Hoje v3 — tudo escopado em body.today-v3 (as outras telas não mudam). Paleta e medidas em variáveis. */
body.today-v3{
  --t3-bg:#F6F4EE;--t3-surface:#FFFFFF;--t3-green:#153C30;--t3-green-2:#1d4d3e;--t3-soft:#E7F0E5;--t3-lime:#B7E25A;
  --t3-text:#172C25;--t3-muted:#66716C;--t3-water:#258AC0;--t3-orange:#E88936;--t3-line:#E4E2DA;--t3-red:#D9604B;
  --t3-r:20px;--t3-r-sm:14px;--t3-shadow:0 1px 2px rgba(23,44,37,.05),0 6px 18px rgba(23,44,37,.05);
  --t3-serif:'Playfair Display',Georgia,'Times New Roman',serif;--t3-sans:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--t3-bg)!important;color:var(--t3-text);font-family:var(--t3-sans);
}
body.today-v3 .app-shell{background:var(--t3-bg)!important;padding-bottom:calc(var(--t3-nav,68px) + 96px + env(safe-area-inset-bottom))}
/* oculta os blocos antigos (continuam no DOM: outros módulos atualizam seus números) */
body.today-v3 #mainView>.date-strip,body.today-v3 #mainView>.command-card,body.today-v3 #mainView>.summary-card,body.today-v3 #mainView>.week-card,
body.today-v3 #mainView>#dayMsg,body.today-v3 #mainView>.section-block,body.today-v3 #mainView>#waterCard,body.today-v3 #mainView>#homeMedals{display:none!important}
body.today-v3 #t3Stash{display:none!important}
#t3{display:flex;flex-direction:column;gap:14px;min-width:0}
#t3 *{box-sizing:border-box;min-width:0}
#t3 button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
#t3 h1,#t3 h2{margin:0;font-family:var(--t3-serif);font-weight:800;color:var(--t3-text);letter-spacing:-.01em}
#t3 .t3i{flex:none;display:block}
#t3 .muted{color:var(--t3-muted)}

/* cabeçalho */
body.today-v3 .topbar{background:var(--t3-bg)!important;border:0!important;box-shadow:none!important;padding:10px 16px 6px!important}
body.today-v3 .brand-logo{height:46px;width:auto}
body.today-v3 .header-actions{gap:12px;align-items:center}
body.today-v3 .streak-chip.t3chip{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:999px;background:#FDEBDD;border:1px solid #F4D5BD;color:#C2631B;font-weight:700;font-size:15px}
body.today-v3 .streak-chip.t3chip.zero{opacity:1}
body.today-v3 .streak-chip .t3flame{display:grid;color:#F08A2C}body.today-v3 .streak-chip .t3flame svg{fill:#F59A3D}
body.today-v3 .streak-chip strong{font-size:16px;color:#C2631B}
body.today-v3 .notify-btn{position:relative;width:44px;height:44px;border-radius:50%;background:transparent;border:0;color:var(--t3-text);display:grid;place-items:center}
body.today-v3 #alertsBadge{position:absolute;top:2px;right:2px;min-width:20px;height:20px;border-radius:10px;background:var(--t3-green);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center;padding:0 5px;border:2px solid var(--t3-bg)}
body.today-v3 .profile-btn{width:44px;height:44px;border-radius:50%;overflow:hidden;padding:0;border:2px solid #fff;box-shadow:var(--t3-shadow)}

/* stories */
body.today-v3 .story-bar{display:flex;align-items:center;gap:14px;padding:6px 16px 8px;margin:0;overflow-x:auto}
body.today-v3 .story-bar .st{width:auto;flex:none}
body.today-v3 .story-bar .st.me{flex-direction:row;gap:12px;text-align:left;align-items:center;padding-right:6px}
body.today-v3 .story-bar .st-ring{width:68px;height:68px}
body.today-v3 .story-bar .st.me i{right:auto;left:46px;top:44px;width:24px;height:24px;background:var(--t3-green);border:2px solid var(--t3-bg)}
body.today-v3 .story-bar .st-lbl{display:flex;flex-direction:column;gap:2px;text-align:left;max-width:none;overflow:visible}
body.today-v3 .story-bar .st-lbl b{font-size:17px;font-weight:700;color:var(--t3-text)}
body.today-v3 .story-bar .st-lbl small{font-size:14px;color:var(--t3-muted);font-weight:500}
body.today-v3 .story-bar .st:not(.me) span{font-size:12px}

/* saudação e calendário */
.t3-greet{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:2px 2px 0}
.t3-greet h1{font-size:clamp(28px,8.4vw,36px);line-height:1.08}
.t3-date{margin:4px 0 0;font-size:17px;color:var(--t3-text);font-weight:500}
.t3-today-link{margin-top:6px;background:none;border:0;padding:6px 0;color:var(--t3-green);font-weight:700;font-size:14px;text-decoration:underline}
.t3-sun{color:#F2A93B;flex:none;margin-top:4px}.t3-sun circle{fill:#F8C14A}
.t3-cal{display:flex;align-items:center;gap:6px;padding-top:10px;border-top:1px solid var(--t3-line)}
.t3-arrow{flex:none;width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--t3-line);color:var(--t3-text);display:grid;place-items:center;padding:0}
.t3-days{flex:1;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.t3-day{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;padding:0;color:var(--t3-text);min-height:48px}
.t3-day small{font-size:11px;font-weight:600;color:var(--t3-muted);letter-spacing:.02em}
.t3-day b{width:min(40px,100%);aspect-ratio:1;border-radius:14px;background:#fff;border:1px solid var(--t3-line);display:grid;place-items:center;font-size:16px;font-weight:600}
.t3-day i{width:5px;height:5px;border-radius:50%;background:transparent}
.t3-day.today b{border:2px solid var(--t3-green)}
.t3-day.done i{background:var(--t3-green);opacity:.55}
.t3-day.sel b{background:var(--t3-green);border-color:var(--t3-green);color:#fff}
.t3-day.sel i{background:#fff;opacity:0}
.t3-day.sel.today i{background:var(--t3-green);opacity:1}
.t3-day:focus-visible,.t3-arrow:focus-visible,#t3 button:focus-visible{outline:3px solid var(--t3-water);outline-offset:2px}

/* registro principal */
.t3-cmd{background:linear-gradient(160deg,var(--t3-green) 0%,var(--t3-green-2) 100%);color:#fff;border-radius:var(--t3-r);padding:18px 16px 16px;box-shadow:var(--t3-shadow);overflow:hidden}
.t3-cmd-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
#t3 .t3-cmd h2{color:#fff;font-size:clamp(22px,6.4vw,27px);line-height:1.12}
.t3-cmd p{margin:8px 0 0;color:#d6e6dc;font-size:15px}
.t3-cmd-art{width:92px;height:92px;object-fit:contain;flex:none;margin:-6px -2px -8px 0}
.t3-cmd-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.t3-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:14px;border:0;background:#F3F7EF;color:var(--t3-green);font-weight:800;font-size:17px;box-shadow:0 1px 0 rgba(0,0,0,.15)}
.t3-btn:active{transform:scale(.98)}

/* cartões */
.t3-card{background:var(--t3-surface);border:1px solid var(--t3-line);border-radius:var(--t3-r);padding:16px;box-shadow:var(--t3-shadow)}
.t3-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.t3-h h2{font-size:22px}
.t3-link{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:8px 0;color:var(--t3-green);font-weight:700;font-size:15px}
.t3-bar{display:block;height:7px;border-radius:99px;background:#ECEBE4;overflow:hidden;width:100%}
.t3-bar em{display:block;height:100%;border-radius:99px;background:var(--t3-green);transition:width .4s ease}
.t3-bar.over em{background:var(--t3-orange)}
.t3-bar.w em{background:var(--t3-water)}.t3-bar.p em{background:#D8553F}.t3-bar.c em{background:#E0A526}.t3-bar.f em{background:#E26A4A}.t3-bar.b em{background:#4E9A63}

/* resumo */
.t3-kcal{display:grid;grid-template-columns:auto 1fr;gap:14px;margin-top:6px;align-items:stretch}
.t3-kcal-main b{display:block;font-family:'Bricolage Grotesque',var(--t3-sans);font-weight:800;letter-spacing:-.02em;font-size:clamp(44px,13vw,58px);line-height:1;color:var(--t3-green)}
.t3-kcal-main span{font-size:17px;color:var(--t3-text)}
.t3-kcal-side{text-align:left;font-size:16px;display:flex;flex-direction:column;justify-content:space-between;padding:2px 0 2px 10px}
.t3-kcal-side p{margin:0}.t3-kcal-side b{font-size:19px}
.t3-kcal-bar{display:flex;align-items:center;gap:10px;margin-top:6px}
.t3-kcal-bar>span{font-weight:700;font-size:15px;min-width:38px;text-align:right}
.t3-over{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:#FDF1E4;color:#8a4a12;font-size:14px;line-height:1.35}
.t3-nuts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--t3-line);margin-top:12px}
.t3-nut{display:flex;gap:10px;padding:14px 8px 12px 0;align-items:flex-start}
.t3-nut:nth-child(even){padding-left:14px;padding-right:0;border-left:1px solid var(--t3-line)}
.t3-nut:nth-child(n+3){border-top:1px solid var(--t3-line)}
.t3-nut-ic{flex:none;display:grid;place-items:center;width:30px;height:30px;color:var(--t3-text)}
.t3-nut.p .t3-nut-ic{color:#D8553F}.t3-nut.c .t3-nut-ic{color:#E0A526}.t3-nut.f .t3-nut-ic{color:#E26A4A}.t3-nut.b .t3-nut-ic{color:#4E9A63}
.t3-nut small{display:block;font-size:14px;color:var(--t3-muted)}
.t3-nut b{display:block;font-size:19px;font-weight:700;line-height:1.2}.t3-nut b em{font-style:normal;font-weight:500;font-size:15px;color:var(--t3-muted)}
.t3-nut>div{flex:1}
.t3-nut-row{display:flex;align-items:center;gap:8px;margin-top:6px}.t3-nut-row span{font-size:13px;color:var(--t3-muted);min-width:34px;text-align:right}
.t3-water-row{display:grid;grid-template-columns:30px auto 1fr auto auto;align-items:center;gap:10px;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--t3-line);padding:14px 0 2px;color:var(--t3-text)}
.t3-water-row .t3-nut-ic{color:var(--t3-water)}
.t3-water-row small{display:block;font-size:14px;color:var(--t3-muted)}.t3-water-row b{font-size:18px}.t3-water-row b em{font-style:normal;font-weight:500;font-size:15px;color:var(--t3-muted)}
.t3-pct{font-size:13px;color:var(--t3-muted)}
.t3-adopt:empty{display:none}.t3-adopt{margin-top:12px}
.t3-adopt .sv2-ex{display:block;border-top:1px solid var(--t3-line);padding-top:12px;font-size:14px}
.t3-adopt .sv2-ex img{display:none}

/* semana */
.t3-week .t3-big-pct{font-family:'Bricolage Grotesque',var(--t3-sans);font-size:30px;font-weight:800}
.t3-week .t3-bar.wk{height:9px;margin:8px 0 14px}
.t3-wdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.t3-wd{display:flex;flex-direction:column;align-items:center;gap:6px}
.t3-wd small{font-size:12px;font-weight:600;color:var(--t3-text)}
.t3-wd b{width:min(40px,100%);aspect-ratio:1;border-radius:14px;display:grid;place-items:center;font-size:16px;font-weight:600;color:var(--t3-text)}
.t3-wd i{width:5px;height:5px;border-radius:50%;background:transparent}
.t3-wd.done b{background:var(--t3-soft);color:var(--t3-green);border-radius:50%}
.t3-wd.sel b{background:var(--t3-green);color:#fff;border-radius:14px}
.t3-wd.sel.today i{background:var(--t3-green)}
.t3-wfoot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 0;margin-top:14px;padding-top:12px;border-top:1px solid var(--t3-line);font-size:clamp(11.5px,3.08vw,14.5px)}
.t3-wf{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-width:auto!important}.t3-wf>span{min-width:auto!important;white-space:nowrap}
.t3-wf:first-child{color:var(--t3-green);padding-right:8px;margin-right:8px;border-right:1px solid var(--t3-line)}.t3-wf:first-child b{color:var(--t3-text)}.t3-wf:first-child span{color:var(--t3-text)}.t3-wf:last-child{color:var(--t3-orange)}
.t3-goal-link{display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;min-height:52px;padding:10px 14px;border-radius:14px;background:var(--t3-soft);border:0;color:var(--t3-green);font-weight:800;font-size:16px;text-align:left}
.t3-goal-link span{flex:1}

/* mensagem do dia */
.t3-msg{display:flex;align-items:center;gap:12px;background:var(--t3-surface);border:1px solid var(--t3-line);border-radius:var(--t3-r);padding:12px 8px 12px 14px;box-shadow:var(--t3-shadow)}
.t3-msg-ic{flex:none;width:44px;height:44px;border-radius:50%;background:var(--t3-soft);color:var(--t3-green);display:grid;place-items:center}
.t3-msg div{flex:1}.t3-msg b{font-size:16px}.t3-msg p{margin:2px 0 0;font-size:15px;color:var(--t3-muted);line-height:1.35}
.t3-msg-x{flex:none;width:44px;height:44px;border-radius:50%;background:none;border:0;color:var(--t3-water);display:grid;place-items:center}
#t3Ctx:empty,#t3Micro:empty{display:none}
#t3Ctx,#t3Micro{display:flex;flex-direction:column;gap:14px}

/* refeições */
.t3-meals .t3-h{margin-bottom:8px}
.t3-timeline{position:relative;background:var(--t3-surface);border:1px solid var(--t3-line);border-radius:var(--t3-r);box-shadow:var(--t3-shadow);overflow:hidden}
.t3-timeline::before{content:"";position:absolute;left:14px;top:34px;bottom:34px;width:1px;background:#CBD6CD}
.t3-meal{position:relative;display:grid;grid-template-columns:50px 1fr 24px;gap:10px;align-items:center;width:100%;text-align:left;background:none;border:0;padding:14px 12px 14px 22px;color:var(--t3-text)}
.t3-meal+.t3-meal::before{content:"";position:absolute;top:0;left:34px;right:12px;border-top:1px solid var(--t3-line)}
.t3-dot{position:absolute;left:11px;top:50%;width:7px;height:7px;margin-top:-3px;border-radius:50%;background:#9DB0A4;border:1px solid var(--t3-surface)}
.t3-meal.logged .t3-dot{background:var(--t3-green)}
.t3-meal-ic{width:50px;height:50px;border-radius:50%;background:var(--t3-soft);color:var(--t3-green);display:grid;place-items:center;align-self:start}
.t3-meal-body{display:flex;flex-direction:column;gap:3px}
.t3-meal-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px}
.t3-meal-top b{font-size:17px;font-weight:700}
.t3-pill{flex:none;font-size:12px;font-weight:600;color:var(--t3-muted);background:#F0EFE9;border-radius:999px;padding:4px 10px;white-space:nowrap}
.t3-pill.ok{background:var(--t3-soft);color:var(--t3-green)}
.t3-meal-st{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--t3-muted)}.t3-meal-st.ok{color:var(--t3-green);font-weight:600}
.t3-meal-names{font-size:15px;color:var(--t3-text);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t3-meal-chev{color:var(--t3-green);justify-self:end}

/* hidratação */
.t3-water h2{font-size:26px}
.t3-wmain{display:flex;align-items:center;gap:14px;margin-top:8px}
.t3-bottle{flex:none}.bt-body{fill:#F3F8FB;stroke:#1d5f86;stroke-width:2}.bt-cap{fill:#1f7fb3}.bt-fill{fill:#8fd0ee;opacity:.95}.bt-wave{fill:#60b6e0}.bt-leaf{stroke:#2f8a4f;opacity:.9}.bt-shine{stroke:#fff;stroke-width:3;opacity:.7;stroke-linecap:round}
.t3-winfo{flex:1}.t3-wbig b{font-family:'Bricolage Grotesque',var(--t3-sans);font-size:clamp(38px,11vw,50px);font-weight:800;line-height:1}
.t3-winfo p{margin:4px 0 0;font-size:17px;color:var(--t3-text)}.t3-winfo p b{font-size:20px}
.t3-wart{width:84px;height:84px;object-fit:contain;flex:none}
.t3-pace{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#FDF1E4;color:#7b4a1a;font-size:15px}
.t3-pace svg{color:var(--t3-orange)}.t3-pace .late{font-weight:800}.t3-pace .ok{font-weight:800;color:#2f6f4a}
.t3-wquick,#t3Water .wc-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0 0}
#t3Water .wc-quick button{min-height:52px;border-radius:12px;background:#EAF4FA;border:1.5px solid var(--t3-water);color:var(--t3-water);font-weight:800;font-size:16px;line-height:1.1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 2px;flex:none}
#t3Water .wc-quick button small{font-size:13px;font-weight:600;display:block}
#t3Water .wc-quick .wc-other{background:#fff;border-style:dashed;font-size:15px}
#t3Water .wc-safe,#t3Water .wc-extra,#t3Water .wc-log,#t3Water .wc-editor{margin-top:12px;font-size:14px}
#t3Water .wc-editor{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#t3Water .wc-log{display:flex;flex-wrap:wrap;gap:6px}
.t3-voice{display:flex;align-items:center;gap:10px;margin:14px 0 0;color:var(--t3-muted);font-size:15px}.t3-voice svg{color:var(--t3-water)}
#t3 #t3WExtra:empty{display:none}

/* atividade */
.t3-actv .t3-h{margin-bottom:8px}.t3-actv h2{font-size:26px}
.t3-add{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:14px;background:var(--t3-soft);border:1px solid #cfe0cf;color:var(--t3-green);font-weight:800;font-size:16px}
.t3-acts{padding:8px}
.t3-act{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:none;border:0;padding:12px 8px;color:var(--t3-text)}
.t3-act+.t3-act{border-top:1px solid var(--t3-line)}
.t3-act-ic{flex:none;width:58px;height:58px;border-radius:50%;background:var(--t3-soft);color:var(--t3-green);display:grid;place-items:center}
.t3-act div{flex:1}.t3-act b{display:block;font-size:17px}.t3-act small{display:block;font-size:15px;color:var(--t3-muted);margin-top:2px}.t3-act-est{display:block;font-size:13px;color:var(--t3-muted);margin-top:2px}
.t3-act.empty{border-radius:14px}.t3-act.empty>svg:last-child{color:var(--t3-green)}
.t3-act-x{flex:none;width:44px;height:44px;border-radius:50%;background:none;border:0;color:var(--t3-muted);display:grid;place-items:center}

/* barra contextual fixa */
.t3-bar-fixed{position:fixed;left:12px;right:12px;bottom:calc(var(--t3-nav,68px) + 10px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:8px;background:var(--t3-green);color:#fff;border-radius:18px;padding:8px;box-shadow:0 8px 24px rgba(21,60,48,.35);opacity:0;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease;max-width:560px;margin:0 auto}
.t3-bar-fixed[hidden]{display:none}
.t3-bar-fixed.on{opacity:1;transform:none}
.t3-bar-mic{flex:none;width:46px;height:46px;border-radius:50%;background:var(--t3-lime);color:var(--t3-green);border:0;display:grid;place-items:center}
.t3-bar-txt{flex:1;font-weight:700;font-size:15px;line-height:1.15}
.t3-bar-type{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:12px;background:transparent;border:1.5px solid rgba(255,255,255,.7);color:#fff;font-weight:700;font-size:15px}
.t3-bar-fixed button:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* menu inferior */
body.today-v3 .bottom-nav{padding-bottom:env(safe-area-inset-bottom);background:#fff!important;border-top:1px solid var(--t3-line)!important}
body.today-v3 .nav-item{color:#8a948f!important}body.today-v3 .nav-item.active{color:var(--t3-green)!important}body.today-v3 .nav-item.active small{font-weight:800!important}

@media (max-width:340px){
  .t3-cmd-art{width:72px;height:72px}.t3-btn{font-size:15px;gap:6px}
  .t3-wquick,#t3Water .wc-quick{grid-template-columns:repeat(3,1fr)}
  .t3-nut b{font-size:17px}.t3-wart{display:none}.t3-h h2,.t3-actv h2,.t3-water h2{font-size:21px}.t3-bar-txt{font-size:14px}.t3-bar-type span{display:none}
  .t3-meal{grid-template-columns:44px 1fr 18px}.t3-meal-ic{width:44px;height:44px}
}
@media (prefers-reduced-motion:reduce){.t3-bar-fixed,.t3-bar em{transition:none}}

/* ===== Calibração fina contra a imagem aprovada (referência: coluna de 480 px = aparelho de ~430 px CSS) ===== */
body.today-v3 .topbar{position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(100%,520px);z-index:50;padding:calc(8px + env(safe-area-inset-top)) 13px 6px!important;height:auto;min-height:76px;background:var(--t3-bg)!important}
body.today-v3 .app-shell{padding-top:calc(76px + env(safe-area-inset-top))}
body.today-v3 #mainView{padding-left:13px!important;padding-right:13px!important}
#t3{gap:13px}
body.today-v3 .story-bar{padding:2px 13px 4px;margin:0 -13px;gap:12px}
body.today-v3 .story-bar .st-ring{width:79px;height:79px}
body.today-v3 .story-bar .st.me i{left:54px;top:54px;width:25px;height:25px;font-size:17px}
body.today-v3 .story-bar .st-lbl b{font-size:15px}body.today-v3 .story-bar .st-lbl small{font-size:12.5px}
.t3-greet h1{font-size:clamp(28px,9.5vw,42px);line-height:1.05}
.t3-date{font-size:clamp(14px,3.65vw,16px);margin-top:6px}
.t3-sun svg{width:40px;height:40px}
.t3-cal{padding-top:12px;gap:5px}
.t3-arrow{width:30px;height:30px}.t3-arrow svg{width:16px;height:16px}
.t3-day{min-height:0;gap:4px}.t3-day small{font-size:10.5px}.t3-day b{width:min(41px,100%);aspect-ratio:auto;height:41px;border-radius:13px;font-size:15px}
/* cartão de registro */
.t3-cmd{position:relative;padding:16px 14px 14px;border-radius:18px;min-height:0}
.t3-cmd-top{display:block;padding-right:0}
#t3 .t3-cmd h2{font-size:clamp(20px,6.2vw,27px);line-height:1.1;white-space:nowrap}
.t3-cmd p{font-size:13.8px;margin:6px 0 0}
.t3-cmd-art{position:absolute;right:6px;top:4px;width:clamp(84px,25vw,108px);height:auto;margin:0}
.t3-cmd-btns{gap:11px;margin-top:12px}.t3-btn{min-height:46px;font-size:16px;border-radius:12px;gap:9px}.t3-btn svg{width:21px;height:21px}
/* resumo */
.t3-card{padding:14px;border-radius:18px}
#t3 .t3-sum .t3-h h2{font-size:20.5px}.t3-link{font-size:13.5px;padding:4px 0}
.t3-kcal{margin-top:4px;gap:10px}
.t3-kcal-main b{font-size:clamp(44px,13.3vw,60px);color:#10281f}.t3-kcal-main span{font-size:14.5px}
.t3-kcal-side{font-size:14.5px;padding:4px 0 0 6px}.t3-kcal-side b{font-size:17px}
.t3-kcal-bar>span{font-size:13px;min-width:34px}.t3-bar{height:6px}
.t3-nuts{margin-top:10px}
.t3-nut{padding:10px 6px 8px 0;gap:8px}.t3-nut:nth-child(even){padding-left:12px}
.t3-nut-ic{width:28px;height:28px}.t3-nut-ic svg{width:24px;height:24px}
.t3-nut small{font-size:11.5px}.t3-nut b{font-size:14.5px}.t3-nut b em{font-size:12px}.t3-nut-row span{font-size:11px;min-width:28px}.t3-nut-row{margin-top:4px}
.t3-water-row{padding:8px 0 0;gap:8px;grid-template-columns:28px auto 1fr auto auto}
.t3-water-row small{font-size:11.5px}.t3-water-row b{font-size:14.5px}.t3-water-row b em{font-size:12px}.t3-pct{font-size:11px}
/* semana */
#t3 .t3-week .t3-h h2{font-size:clamp(24px,7.2vw,31px)}.t3-week .t3-big-pct{font-size:clamp(26px,7.4vw,32px)}
.t3-week .t3-bar.wk{height:8px;margin:6px 0 12px}
.t3-wd small{font-size:10.5px}.t3-wd b{width:min(45px,100%);height:45px;aspect-ratio:auto;font-size:15px}
.t3-wd.done b{width:min(38px,100%);height:38px;margin:3.5px 0}
.t3-goal-link{min-height:46px;font-size:14.5px;padding:8px 12px;margin-top:12px;border:1px solid #cfe0cf}
/* mensagem */
.t3-msg{padding:9px 6px 9px 12px;gap:11px;border-radius:16px}.t3-msg-ic{width:46px;height:46px}.t3-msg b{font-size:14.5px}.t3-msg p{font-size:12.8px;line-height:1.3}
/* refeições */
#t3 .t3-meals .t3-h h2{font-size:clamp(21px,5.8vw,25px)}
.t3-meal{grid-template-columns:48px 1fr 20px;padding:11px 10px 11px 20px;gap:10px}
.t3-meal-ic{width:48px;height:48px}.t3-meal-ic svg{width:23px;height:23px}
.t3-meal-top b{font-size:14.8px}.t3-pill{font-size:10.8px;padding:3px 9px}
.t3-meal-st{font-size:12px}.t3-meal-names{font-size:12.4px;-webkit-line-clamp:1}
.t3-meal-chev svg{width:16px;height:16px}
/* hidratação */
#t3 .t3-water h2{font-size:clamp(24px,6.9vw,30px)}
.t3-bottle{width:clamp(52px,14vw,62px);height:auto}
.t3-wbig b{font-size:clamp(44px,12.8vw,55px);color:#10281f}.t3-winfo p{font-size:clamp(16px,4.6vw,20px)}.t3-winfo p b{font-size:clamp(17px,4.8vw,21px)}
.t3-wart{width:clamp(84px,26vw,116px);height:auto}
.t3-pace{font-size:13px;padding:11px 12px;gap:10px;margin-top:12px}.t3-pace svg{width:20px;height:20px}
#t3 .t3-water .wc-quick button{min-height:58px;font-size:17px}#t3 .t3-water .wc-quick button small{font-size:12.5px}
.t3-voice{font-size:13px}
/* atividade */
#t3 .t3-actv h2{font-size:clamp(21px,6vw,26px)}
.t3-add{min-height:40px;font-size:14.5px;padding:0 14px;border-radius:12px}
.t3-act-ic{width:62px;height:62px}.t3-act b{font-size:15.5px}.t3-act small{font-size:13px}
/* barra fixa */
.t3-bar-fixed{left:50%;right:auto;width:min(calc(100% - 26px),494px);transform:translate(-50%,12px);margin:0}
.t3-bar-fixed.on{transform:translate(-50%,0)}
.t3-bar-mic{background:#B6E36A}
.t3-cmd{padding:18px 14px 16px}
.t3-sum{padding-top:12px}.t3-sum .t3-h{margin-bottom:-4px}.t3-kcal-main b{line-height:.95}
.t3-water-row{padding-top:6px}
.t3-wd b{height:42px}.t3-wd.done b{height:36px;margin:3px 0}.t3-week .t3-bar.wk{margin:6px 0 10px}.t3-wfoot{margin-top:10px;padding-top:10px}
.t3-msg{padding:7px 6px 7px 12px}
.t3-meal{padding:13px 10px 13px 20px}
.t3-bottle{width:clamp(56px,15.8vw,68px)}
.t3-wmain{margin-top:12px}
.t3-greet h1{font-weight:900}
.t3-cmd-art{top:-2px;right:8px;width:clamp(76px,22vw,96px)}
@media (max-width:370px){
  body.today-v3 .brand-logo{height:36px}
  body.today-v3 .header-actions{gap:4px}
  body.today-v3 .streak-chip.t3chip{height:34px;padding:0 9px;font-size:13px;gap:4px}body.today-v3 .streak-chip strong{font-size:14px}
  body.today-v3 .notify-btn,body.today-v3 .profile-btn{width:38px;height:38px}
}

/* ===== Ícones e cores idênticos à imagem aprovada ===== */
body.today-v3{--t3-sub:#4D5A74;--t3-navy:#1F3047;--t3-blue-txt:#0652B4;--t3-chev:#214F9F}
.t3-date{color:#1A2938}
.t3-day small,.t3-wd small{color:#1F3047;font-weight:600}
.t3-day b{background:#fff;border:1px solid #ECE8E0;color:#2D3A4D;border-radius:50%/ 50%;border-radius:14px}
.t3-day.sel b{background:linear-gradient(160deg,#0B6A46,#04422A);color:#fff;border-color:#04422A}
.t3-arrow{border:1px solid #E2DED5;background:#fff}
.t3-sun{color:#FDBC28}.t3-sun circle{fill:#FDBC28}
.t3-meal-st{color:var(--t3-sub)}.t3-meal-st.ok{color:#0B5A3B}
.t3-meal-names{color:var(--t3-sub)}
.t3-meal-chev,.t3-act.empty>svg:last-child{color:var(--t3-chev)}
.t3-meal-ic{background:radial-gradient(circle at 50% 40%,#EAF7E8,#DDF0DB);color:#14513B}
.t3-nut small,.t3-water-row small{color:var(--t3-sub)}.t3-nut b em,.t3-water-row b em,.t3-kcal-side .muted{color:var(--t3-sub)}
.t3-nut-row span,.t3-pct,.t3-kcal-bar>span{color:#030711}
.t3-kcal-side p{color:#1F2D45}
.t3-wfoot .t3-wf>span{color:var(--t3-sub)}.t3-wf:first-child span b{color:#0B3C2B}.t3-wf:last-child>span{color:var(--t3-sub)}
.t3-wf{color:inherit!important}
.t3-msg p{color:var(--t3-sub)}.t3-msg-ic{background:#E7F5E5}
.t3-goal-link{background:#E1EEE1;color:#0B3C2B}
.t3-link{color:#0B3C2B}
#t3 .t3-cmd h2{color:#fff}.t3-cmd p{color:#E4EFE8}
.t3-cmd{background:linear-gradient(150deg,#0C4A34 0%,#054430 55%,#063F2D 100%)}
.t3-btn{background:#EFFBEA;color:#0C4A33}
/* mascote do cartão: termina logo acima dos botões */
.t3-cmd-art{top:10px;right:12px;width:clamp(70px,20vw,86px)}
.t3-cmd-btns{margin-top:22px}
/* hidratação */
.bt-body{fill:#F3FAFB;stroke:#08412B;stroke-width:2.600}.bt-cap{fill:#BAE4C2;stroke:#08412B;stroke-width:2.400}.bt-fill{fill:#A8DDF3;opacity:1}.bt-wave{fill:#86CDE9}
.bt-leafshape{fill:#7ACB66;stroke:#2F8F4A;stroke-width:1.300}.bt-vein{stroke:#1D6B3C;stroke-width:2;fill:none;stroke-linecap:round}
.t3-winfo{border-left:1px solid #DAD8D2;padding-left:14px}
.t3-winfo p{color:var(--t3-sub)}.t3-winfo p b{color:#10281F}
.t3-pace{background:#FBF0E2;color:#3F4B63}.t3-pace .late{color:#FA300A;font-weight:800}.t3-pace .ok{color:#1F7A4E}
#t3 .t3-water .wc-quick button{background:#EDF6FC;border:1px solid #8EC9F0;color:var(--t3-blue-txt)}
#t3 .t3-water .wc-quick .wc-other{background:#fff;border:1.5px dashed #6FB7EA}
.t3-voice{color:var(--t3-sub)}
.t3-add{background:#E6F3E4;border:1px solid #C8E3C6;color:#0D5A3B;font-weight:500}
.t3-act small{color:var(--t3-sub)}
.t3-act-ic{background:radial-gradient(circle at 50% 40%,#EAF7E8,#DDF0DB)}
/* barra fixa */
.t3-bar-fixed{background:linear-gradient(160deg,#0B4A34,#043B27)}
.t3-bar-txt{font-weight:500}
.t3-bar-sep{flex:none;width:1px;align-self:stretch;margin:8px 2px;background:rgba(255,255,255,.35)}
.t3-bar-type{border-color:rgba(255,255,255,.75);font-weight:600}
/* menu inferior */
body.today-v3 .nav-item,.bottom-nav .nav-item{color:#3C4761!important}

/* história */
body.today-v3 .story-bar .st.me .st-ring{background:#F5C8A8;padding:2.5px}
body.today-v3 .story-bar .st.me i{background:#0B4A34;border:2.5px solid #fff;font-size:18px;font-weight:600}
body.today-v3 .story-bar .st-lbl small{color:#6B7488}
/* cabeçalho: sino */
body.today-v3 .notify-btn{color:#081B1E}body.today-v3 .notify-btn svg{width:26px;height:26px}
body.today-v3 #alertsBadge{background:#0B4A34}
@media (max-width:370px){body.today-v3 .notify-btn svg{width:24px;height:24px}}
/* topo grande (fonte aumentada): cabeçalho quebra em vez de vazar */
html.big-text body.today-v3 .topbar{flex-wrap:wrap;gap:4px}
html.big-text body.today-v3 .header-actions{flex-wrap:nowrap;margin-left:auto}

/* ícones da folha aprovada */
.t3m{display:block;flex:none;background:currentColor;color:#0F3B2E;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.t3p{display:block;flex:none;object-fit:contain}
.t3-nut-ic,.t3-meal-ic,.t3-act-ic,.t3-msg-ic,.t3-arrow,.t3-bar-mic,.t3-msg-x{display:grid;place-items:center}
.t3-bar-mic .t3m{color:#05382A}
.t3-cmd-art{top:6px;right:10px;width:clamp(76px,21.5vw,92px)}

/* o que foi bebido hoje */
.t3-drinks{margin-top:12px;padding-top:12px;border-top:1px solid var(--t3-line)}
.t3-drinks>b{display:block;font-size:13px;color:var(--t3-sub);font-weight:600;margin-bottom:8px}
.t3-drinks-row{display:flex;flex-wrap:wrap;gap:6px}
.t3-drink{display:inline-flex;align-items:center;gap:6px;padding:4px 4px 4px 10px;border-radius:999px;background:#EDF6FC;color:#0652B4;font-size:13px;font-weight:700}
.t3-drink i{font-style:normal;font-weight:500;color:var(--t3-sub)}
.t3-drink button{width:28px;height:28px;border-radius:50%;border:0;background:rgba(6,82,180,.1);color:#0652B4;font-size:16px;line-height:1;padding:0}
.t3-drink:last-child:not(:has(button)){padding-right:10px}
.t3-drinks-empty{margin:12px 0 0;font-size:13px;color:var(--t3-sub)}

/* espaço para a barra flutuante não cobrir o fim da página */
body.has-t3bar .app-shell{padding-bottom:calc(var(--t3-nav,68px) + 96px + env(safe-area-inset-bottom))}

/* medalhas voltam para a tela Hoje (logo abaixo da semana) */
body.today-v2 #homeMedals{display:block!important}

/* menu inferior e ícones novos na tela antiga */
.bottom-nav .t3m{color:inherit}
.bottom-nav .nav-item>span{position:relative;display:grid;place-items:center}
.bottom-nav .nav-item svg[data-solid]{display:none;position:absolute;inset:0;margin:auto}
.bottom-nav .nav-item[data-view="today"].active svg[data-solid]{display:block}
.bottom-nav .nav-item[data-view="today"].active .t3m{visibility:hidden}
svg[data-solid] path{fill:currentColor;stroke:currentColor}
.date-arrow .t3m,.tt-x .t3p,.tt-ico .t3m,.activity-icon .t3m,.meal-chevron .t3m{margin:auto}
.notify-btn .t3m{color:#1F2420}
.streak-flame{display:grid}
