/* ==========================================================================
   TeleNutri · protótipo navegável
   Verde-floresta + creme; dourado só para o Plano Black. Uma ação principal
   por tela, fotos grandes, travas de plano visíveis em vez de escondidas.
   ========================================================================== */
:root {
  --green: #1E5B3E; --green2: #2E7D55; --green3: #3F9A6B; --greenD: #143F2B; --greenT: #E7F1EA; --greenL: #CFE3D6;
  --cream: #F7F3EA; --cream2: #EFE8D8; --paper: #FFFFFF; --line: #E7E0CF; --line2: #D8CFB9;
  --ink: #17241C; --muted: #5E6B62; --soft: #8A958D;
  --gold: #C99A2E; --goldL: #E9C46A; --goldT: #FBF2DC; --black: #111410; --black2: #1C201B;
  --prata: #7E8B94; --prataT: #EEF1F3;
  --coral: #D9644E; --coralT: #FBEAE5; --blue: #3B7DD8; --blueT: #E8F0FB; --amber: #E3A21A;
  --f: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --fd: 'Fraunces', Georgia, serif;
  --fs: 'Caveat', cursive;
  --r: 18px; --r2: 24px; --safe-b: env(safe-area-inset-bottom, 0px); --tab-h: 70px;
  --shadow: 0 1px 2px rgba(23,36,28,.05), 0 8px 24px -12px rgba(23,36,28,.18);
  --bg: var(--cream); --card: var(--paper); --txt: var(--ink); --mut: var(--muted); --brd: var(--line);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #E9E3D3; color: var(--ink); font-family: var(--f); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--green2); text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--green3); outline-offset: 2px; border-radius: 8px; }

/* ---------- palco / moldura ---------- */
html, body { height: 100%; }
.stage { height: 100%; display: flex; justify-content: center; }
.app { position: relative; width: 100%; height: 100%; display: flex; overflow: hidden; background: var(--bg); color: var(--txt); }
body.phone-mode .stage { align-items: center; padding: 20px 24px 72px; }
body.phone-mode .app { width: 400px; height: min(860px, calc(100dvh - 92px)); border-radius: 46px; border: 11px solid #121512; box-shadow: 0 50px 90px -40px rgba(20,63,43,.6), 0 0 0 1px #2a2f2a; }
body.phone-mode .app::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #121512; z-index: 60; }
body.phone-mode .app .scroll > :first-child { padding-top: 34px; }
body.phone-mode .app .topbar { padding-top: 40px; }
body.phone-mode .app .topbar + .scroll > :first-child { padding-top: 8px; }

.view { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; position: relative; }
.view.enter .scroll > * { animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
/* Altura real da tabbar: tudo que fica acima dela (barras de ação, composer, toast) usa esta variável. */
.app { --tabbar-h: calc(var(--tab-h) + var(--safe-b)); }
body.phone-mode .app { --tabbar-h: calc(var(--tab-h) + 10px); }
.has-tabs .scroll { padding-bottom: calc(var(--tabbar-h) + 16px); }
.app[data-layout="desktop"] .has-tabs .scroll { padding-bottom: 24px; }
/* Barra de ação fixa no rodapé da tela (fora da área que rola, nunca cobre o conteúdo). */
.footbar { flex: none; z-index: 6; padding: 12px 18px calc(12px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--brd); box-shadow: 0 -8px 20px -16px rgba(23,36,28,.35); }
.footbar > div { max-width: 680px; margin: 0 auto; }
body.phone-mode .footbar { padding-bottom: 20px; }
.app[data-layout="mobile"] .has-tabs .footbar { margin-bottom: var(--tabbar-h); padding-bottom: 12px; }
.with-foot.has-tabs .scroll { padding-bottom: 20px; }
.wrap { padding: 18px 18px 28px; }
.app[data-layout="desktop"] .wrap { padding: 28px 40px 48px; max-width: 1120px; margin: 0 auto; width: 100%; }

/* ---------- tipografia ---------- */
.h1 { font-family: var(--fd); font-weight: 700; font-size: 28px; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--fd); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.h3 { font-weight: 800; font-size: 16px; line-height: 1.3; margin: 0; }
.h4 { font-weight: 700; font-size: 14px; margin: 0; }
.p { margin: 0; color: var(--mut); }
.sm { font-size: 13px; } .xs { font-size: 12px; } .muted { color: var(--mut); } .soft { color: var(--soft); }
.over { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--mut); }
.script { font-family: var(--fs); font-weight: 700; color: var(--gold); font-size: 1.25em; line-height: .9; }
.b { font-weight: 800; } .num { font-variant-numeric: tabular-nums; }
.app[data-layout="desktop"] .h1 { font-size: 34px; }
.app[data-layout="desktop"] .h2 { font-size: 26px; }

/* ---------- layout utilitário ---------- */
.row { display: flex; align-items: center; gap: 10px; } .row.top { align-items: flex-start; } .row.between { justify-content: space-between; } .row.wrapx { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 12px); }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mt4{margin-top:4px}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt20{margin-top:20px}.mt24{margin-top:24px}.mt32{margin-top:32px}
.center { text-align: center; }
.app[data-layout="desktop"] .d-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.app[data-layout="desktop"] .d-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.app[data-layout="desktop"] .d-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.app[data-layout="desktop"] .m-only { display: none !important; }
.app[data-layout="mobile"] .d-only { display: none !important; }
.app[data-layout="mobile"] .m-mt { margin-top: 20px; }
.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 26px 0 12px; }
.sectionhead .h3 { font-size: 17px; }
.sectionhead button { color: var(--green2); font-weight: 700; font-size: 13px; }

/* ---------- cartões ---------- */
.card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 16px; } .pad2 { padding: 20px; }
.card.flat { box-shadow: none; }
.card.green { background: var(--green); color: #fff; border-color: var(--green); }
.card.green .p, .card.green .muted { color: #D6E8DC; }
.card.green .card .p, .card.green .card .muted { color: var(--muted); }
.card.green .card .over { color: var(--muted); }
.card.tint { background: var(--greenT); border-color: var(--greenL); box-shadow: none; }
.card.goldc { background: var(--goldT); border-color: #EBD9A6; box-shadow: none; }
button.card { text-align: left; width: 100%; transition: transform .15s; }
button.card:active { transform: scale(.985); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 16px; background: var(--green); color: #fff; font-weight: 800; font-size: 15px; transition: background .15s, transform .1s; text-align: center; }
.btn:hover { background: var(--greenD); }
.btn:active { transform: scale(.98); }
.btn.block { display: flex; width: 100%; }
.btn.gold { background: linear-gradient(180deg, var(--goldL), var(--gold)); color: #1b1608; }
.btn.gold:hover { background: var(--gold); }
.btn.light { background: var(--card); color: var(--green); border: 1.5px solid var(--line2); }
.btn.light:hover { background: var(--greenT); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--greenT); }
.btn.sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.btn.white { background: #fff; color: var(--green); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.iconbtn { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--txt); flex: none; }
.iconbtn:hover { background: rgba(23,36,28,.06); }
.iconbtn.solid { background: var(--card); border: 1px solid var(--brd); }
.link { color: var(--green2); font-weight: 700; }

/* ---------- topbar ---------- */
.topbar { display: flex; align-items: center; gap: 6px; padding: 12px 12px 6px; min-height: 60px; background: var(--bg); z-index: 5; flex: none; }
.topbar .title { flex: 1; font-weight: 800; font-size: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sp { width: 42px; flex: none; }
.app[data-layout="desktop"] .topbar { padding: 16px 28px 4px; }
.app[data-layout="desktop"] .topbar .title { text-align: left; font-family: var(--fd); font-size: 22px; }

/* ---------- chips / segmented ---------- */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--cream2); }
.seg button { flex: 1; min-height: 38px; padding: 0 10px; border-radius: 11px; font-weight: 700; font-size: 13px; color: var(--mut); white-space: nowrap; }
.seg button.on { background: var(--card); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card); font-weight: 700; font-size: 13px; color: var(--mut); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--greenT); color: var(--green); white-space: nowrap; }
.badge.gold { background: var(--goldT); color: #8A6512; }
.badge.prata { background: var(--prataT); color: #4E5A62; }
.badge.coral { background: var(--coralT); color: #A9412E; }
.badge.dark { background: var(--black); color: var(--goldL); }
.badge.white { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }

/* ---------- listas ---------- */
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; text-align: left; border-bottom: 1px solid var(--brd); }
.item:last-child { border-bottom: 0; }
button.item:hover { background: rgba(23,36,28,.025); }
.ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--greenT); color: var(--green); flex: none; }
.ico.gold { background: var(--goldT); color: #A07614; } .ico.coral { background: var(--coralT); color: var(--coral); } .ico.blue { background: var(--blueT); color: var(--blue); } .ico.prata { background: var(--prataT); color: var(--prata); }
.ico.sm { width: 32px; height: 32px; border-radius: 10px; }
.chev { color: var(--soft); flex: none; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checks li svg { flex: none; margin-top: 1px; color: var(--green2); }

/* ---------- formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: 13px; color: var(--mut); }
.input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--card); font-size: 15px; outline: none; transition: border .15s; }
.input:focus { border-color: var(--green2); box-shadow: 0 0 0 4px rgba(46,125,85,.12); }
.input.err { border-color: var(--coral); }
textarea.input { padding: 12px 14px; min-height: 90px; resize: vertical; }
.unit { position: relative; } .unit .input { padding-right: 46px; text-align: right; font-weight: 700; }
.unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--soft); font-size: 13px; font-weight: 700; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--brd); }
.mrow:last-child { border-bottom: 0; }
.mrow label { flex: 1; font-weight: 700; }
.mrow .unit { width: 130px; }
.mrow .delta { width: 54px; text-align: right; font-size: 12px; font-weight: 800; }
.err-msg { color: var(--coral); font-size: 12px; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line2); border-radius: 16px; background: var(--card); width: 100%; text-align: left; transition: border .15s, background .15s; }
.opt.on { border-color: var(--green2); background: var(--greenT); }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); flex: none; display: grid; place-items: center; }
.opt.on .radio { border-color: var(--green2); background: var(--green2); box-shadow: inset 0 0 0 4px var(--greenT); }

/* ---------- navegação ---------- */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: flex-start; height: var(--tabbar-h); padding: 6px 8px calc(6px + var(--safe-b)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 700; color: var(--soft); position: relative; }
.tabbar button .pill { width: 54px; height: 30px; border-radius: 999px; display: grid; place-items: center; transition: background .2s; }
.tabbar button.on { color: var(--green); }
.tabbar button.on .pill { background: var(--greenT); }
.tabbar .dot { position: absolute; top: 2px; left: calc(50% + 10px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
body.phone-mode .tabbar { padding-bottom: 14px; }
.app[data-layout="desktop"] .tabbar { display: none; }
.side { display: none; }
.app[data-layout="desktop"] .side { display: flex; flex-direction: column; gap: 2px; width: 260px; flex: none; background: var(--green); color: #fff; padding: 24px 14px 18px; overflow-y: auto; }
.side .brand { padding: 4px 12px 22px; }
.side .navbtn { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; font-weight: 700; color: #CFE3D6; width: 100%; text-align: left; }
.side .navbtn:hover { background: rgba(255,255,255,.07); color: #fff; }
.side .navbtn.on { background: #fff; color: var(--green); }
.side .navbtn .dot { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.side .sep { height: 1px; background: rgba(255,255,255,.12); margin: 12px 8px; }
.side .lbl { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8FB9A0; padding: 4px 14px; }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.08); }

/* ---------- marca ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--green); }
.logo .mk { width: 1.4em; height: 1.4em; flex: none; }
.logo b { font-weight: 800; color: var(--green3); }
.logo.w { color: #fff; } .logo.w b { color: var(--goldL); }

/* ---------- avatar ---------- */
.av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--cream2); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.av.lg { width: 64px; height: 64px; } .av.xl { width: 92px; height: 92px; } .av.sm { width: 34px; height: 34px; }
.online { position: relative; display: inline-block; }
.online::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3BB273; border: 2px solid #fff; }

/* ---------- hero / mídia ---------- */
.hero { position: relative; border-radius: var(--r2); overflow: hidden; color: #fff; background: var(--green) center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,63,43,0) 30%, rgba(20,63,43,.85) 100%); }
.hero > * { position: relative; z-index: 1; }
.thumb { border-radius: 14px; object-fit: cover; background: var(--cream2); flex: none; }
.ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--cream2); }
.lockover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(17,20,16,.55); color: #fff; font-weight: 800; font-size: 12px; text-align: center; padding: 10px; backdrop-filter: blur(2px); }

/* ---------- entrada ---------- */
.welcome { min-height: 100%; display: flex; flex-direction: column; }
.welcome .bg { position: relative; flex: 1; min-height: 430px; background: var(--green) center 20%/cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 22px; color: #fff; }
.welcome .bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,63,43,.15) 0%, rgba(20,63,43,0) 30%, rgba(20,63,43,.92) 88%); }
.welcome .bg > * { position: relative; }
.welcome .bot { padding: 18px 22px 26px; background: var(--bg); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 18px; }
.perks div { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #E6F1EA; }
.perks svg { color: var(--goldL); flex: none; }
.auth { display: flex; min-height: 100%; flex-direction: column; }
.auth .side-img { display: none; }
.app[data-layout="desktop"] .auth, .app[data-layout="desktop"] .welcome { flex-direction: row; }
.app[data-layout="desktop"] .auth .side-img, .app[data-layout="desktop"] .welcome .bg { display: flex; flex: 1.15; min-height: 100%; }
.app[data-layout="desktop"] .welcome .bot, .app[data-layout="desktop"] .auth .formside { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 64px; max-width: 560px; }
.auth .side-img { position: relative; background: var(--green) center/cover no-repeat; flex-direction: column; justify-content: flex-end; padding: 48px; color: #fff; }
.auth .side-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,63,43,0) 40%, rgba(20,63,43,.9)); }
.auth .side-img > * { position: relative; }
.auth .formside { padding: 22px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 12px; font-weight: 700; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.scale button { min-height: 46px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--card); font-weight: 800; font-size: 16px; color: var(--mut); }
.scale button.on { background: var(--green); border-color: var(--green); color: #fff; }
.fcat.has2 { border-color: var(--green3); background: var(--greenT); }
.goals { display: grid; gap: 12px; }
.app[data-layout="desktop"] .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goalcard { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: var(--r2); overflow: hidden; background: var(--card); border: 2px solid var(--line); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.goalcard img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.goalcard .gc-tx { padding: 14px 16px 16px; }
.goalcard .radio { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.9); border: 2px solid var(--line2); }
.goalcard.on { border-color: var(--green2); box-shadow: 0 0 0 4px rgba(46,125,85,.15), var(--shadow); }
.goalcard.on .radio { background: var(--green2); border-color: #fff; box-shadow: inset 0 0 0 4px var(--green2), 0 0 0 2px var(--green2); }
.goalcard:active { transform: scale(.99); }
.chips.wrapx { flex-wrap: wrap; overflow: visible; }
.chip.no { background: var(--coralT); border-color: #EFC2B8; color: #A9412E; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.chip.add { border-style: dashed; color: var(--green2); }
.chip .x { margin-left: 2px; opacity: .7; }
.otherbox { display: flex; gap: 8px; width: 100%; margin-top: 2px; }
.otherbox .input { min-height: 42px; font-size: 14px; }
.otherbox .btn { flex: none; }
.chip.fav {background: var(--greenT); border-color: var(--green3); color: var(--green); }
.fcat { background: var(--card); border: 1px solid var(--brd); border-radius: 16px; overflow: hidden; }
.fcat.has { border-color: #EFC2B8; }
.fhead { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; }
.fhead .chev { transition: transform .2s; }
.fbody { padding: 0 14px 14px; animation: rise .2s both; }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line2); }
.steps i.on { background: var(--green2); }

/* ---------- planos ---------- */
.plans { display: grid; gap: 14px; }
.app[data-layout="desktop"] .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { position: relative; border-radius: var(--r2); overflow: hidden; background: var(--card); border: 1.5px solid var(--brd); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan .cover { position: relative; height: 170px; background: center 18%/cover no-repeat; }
.plan .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.plan .cover .nm { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; }
.plan .cover .nm .over { color: rgba(255,255,255,.85); }
.plan .cover .nm .h2 { color: #fff; }
.plan .cover .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.plan .body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan .price { display: flex; align-items: baseline; gap: 4px; }
.plan .price .v { font-family: var(--fd); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { color: var(--mut); font-weight: 700; }
.plan.prata { border-color: #C9D2D8; }
.plan.prata.feat { border-color: var(--prata); box-shadow: 0 0 0 3px rgba(126,139,148,.18), var(--shadow); }
.plan.black { background: var(--black); border-color: #3a3424; color: #F3EEDF; }
.plan.black .muted, .plan.black .p, .plan.black .price small { color: #B9B29E; }
.plan.black .price .v { color: var(--goldL); }
.plan.black .checks li svg { color: var(--goldL); }
.plan.current { outline: 3px solid var(--green3); outline-offset: 2px; }
.save { color: var(--green2); font-size: 12px; font-weight: 800; }
.plan.black .save { color: var(--goldL); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp th, .cmp td { padding: 10px 8px; border-bottom: 1px solid var(--brd); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.cmp .y { color: var(--green2); } .cmp .n { color: var(--line2); }

/* tema escuro do Plano Black */
.app[data-theme="black"] { --bg: var(--black); --card: var(--black2); --txt: #F3EEDF; --mut: #B9B29E; --brd: #2E2B22; }
.app[data-theme="black"] .topbar { background: var(--black); }
.app[data-theme="black"] .hero::after { background: linear-gradient(180deg, rgba(17,20,16,0) 30%, rgba(17,20,16,.92) 100%); }
.app[data-theme="black"] .iconbtn { color: #F3EEDF; }
.app[data-theme="black"] .iconbtn:hover { background: rgba(255,255,255,.08); }
.app[data-theme="black"] .checks li svg { color: var(--goldL); }
.app[data-theme="black"] .seg { background: #262419; }
.app[data-theme="black"] .seg button.on { background: var(--goldL); color: #1b1608; }
.app[data-theme="black"] .card { box-shadow: none; }
.app[data-theme="black"] .ico { background: rgba(233,196,106,.12); color: var(--goldL); }

/* ---------- início ---------- */
.greet { display: flex; align-items: center; gap: 12px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.ring circle { transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--brd); }
.kpi .v { font-family: var(--fd); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.kpi .l { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-top: 2px; }
.kpi .t { font-size: 12px; font-weight: 800; margin-top: 4px; }
.up { color: var(--green2); } .down { color: var(--coral); }
.water { display: flex; gap: 6px; }
.water button { flex: 1; height: 38px; border-radius: 10px; border: 1.5px dashed var(--line2); color: var(--line2); display: grid; place-items: center; }
.water button.on { border: 0; background: var(--blueT); color: var(--blue); }
.shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.shortcuts button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.shortcuts .ico { width: 54px; height: 54px; border-radius: 18px; }
.app[data-layout="desktop"] .shortcuts { grid-template-columns: repeat(8, minmax(0, 1fr)); }
/* Avaliação física em destaque no Início (antes da primeira avaliação). */
.evalhero { overflow: hidden; border: 1.5px solid #EBD9A6; }
.evalhero .eh-top { padding: 18px 18px 14px; background: linear-gradient(160deg, var(--goldT), var(--paper) 75%); }
.evalhero .list { border-top: 1px solid var(--brd); }
.consultmini { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; }
.consultmini .ico { margin-bottom: 4px; }
.consultmini .link { margin-top: 6px; display: inline-flex; align-items: center; gap: 2px; }
.stepdot {width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; color: #fff; }
.stepdot.ok { background: var(--green2); border-color: var(--green2); }
/* Plano de hoje bloqueado: apagado e sem alimentos. */
.dimplan { position: relative; overflow: hidden; min-height: 230px; }
.dimplan .dp-ghost { opacity: .35; filter: saturate(.4); pointer-events: none; user-select: none; }
.dimplan .dp-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(20,63,43,.35); }
.sk { height: 10px; border-radius: 6px; background: rgba(255,255,255,.35); }
.card .sk { background: rgba(23,36,28,.12); }
.dimplan .card .sk { background: rgba(255,255,255,.35); }
.skimg { width: 76px; height: 76px; border-radius: 16px; background: rgba(255,255,255,.25); flex: none; }
.nextmeal { display: flex; gap: 12px; align-items: center; }
.nextmeal img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }

/* ---------- dieta ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 14px; font-size: 11px; font-weight: 700; color: var(--mut); }
.days button b { font-size: 16px; color: var(--txt); }
.days button.on { background: var(--green); color: #D6E8DC; }
.days button.on b { color: #fff; }
.days button.has::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green3); margin-top: 2px; }
.days button.on.has::after { background: var(--goldL); }
.meal { display: flex; gap: 12px; padding: 12px; align-items: center; }
.meal img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.meal .done { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; flex: none; }
.meal .done.on { background: var(--green2); border-color: var(--green2); color: #fff; }
.macro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.macro div { padding: 10px 4px; border-radius: 14px; background: var(--cream2); }
.macro b { display: block; font-size: 17px; }
.macro span { font-size: 11px; color: var(--mut); font-weight: 700; }
.bigimg { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r2); }
.ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.ol li { counter-increment: s; display: flex; gap: 10px; }
.ol li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--greenT); color: var(--green); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal .dw { font-size: 11px; font-weight: 800; color: var(--soft); padding: 4px 0; }
.cal button { aspect-ratio: 1; border-radius: 12px; font-weight: 700; font-size: 14px; position: relative; }
.cal button:hover { background: var(--greenT); }
.cal button.on { background: var(--green); color: #fff; }
.cal button.has::after { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--green3); }
.cal button.on.has::after { background: var(--goldL); }
.cal button.out { color: var(--line2); pointer-events: none; }
.cal button.past { color: var(--soft); }

/* ---------- avaliação ---------- */
.mgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app[data-layout="desktop"] .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mcard { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--brd); text-align: left; }
.mcard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mcard .tx { padding: 10px 12px 12px; }
.mcard .n { position: absolute; top: 10px; left: 10px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: var(--shadow); }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 3/4; border-radius: 16px; border: 2px dashed var(--line2); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--mut); font-weight: 700; font-size: 12px; overflow: hidden; cursor: pointer; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.has { border-style: solid; border-color: var(--green2); }
.photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo .ok { position: absolute; top: 6px; right: 6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--green2); color: #fff; display: grid; place-items: center; }
.compbar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; }
.compbar i { display: block; height: 100%; }
.legend { display: flex; flex-direction: column; gap: 8px; }
.legend div { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.imc { position: relative; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #7FB6E8 0 18%, #5DBB84 18% 45%, #F2C14E 45% 70%, #EE8A5B 70% 100%); }
.imc i { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); box-shadow: 0 0 0 2px #fff; }
.imc-l { display: flex; justify-content: space-between; font-size: 10px; color: var(--soft); font-weight: 700; margin-top: 6px; }

/* ---------- evolução ---------- */
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .ax { font-size: 11px; fill: var(--soft); font-weight: 700; font-family: var(--f); }
.chart .area { fill: url(#cg); }
.chart .ln { fill: none; stroke: var(--green2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.1s .1s cubic-bezier(.4,0,.2,1) forwards; }
.chart .pt { fill: #fff; stroke: var(--green2); stroke-width: 3; }
.chart .lb { font-size: 12px; font-weight: 800; fill: var(--txt); font-family: var(--f); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--mut); text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--brd); }
.tbl td { text-align: right; padding: 11px 6px; border-bottom: 1px solid var(--brd); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl tr:last-child td { border-bottom: 0; font-weight: 800; }

/* ---------- chat ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 10px; }
.bub { max-width: 80%; padding: 10px 13px 6px; border-radius: 18px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; animation: rise .25s both; }
.bub small { display: block; text-align: right; font-size: 10px; color: var(--soft); margin-top: 2px; }
.bub.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 6px; }
.bub.me small { color: #B8D6C3; }
.bub.nutri { align-self: flex-start; background: var(--card); border: 1px solid var(--brd); border-bottom-left-radius: 6px; }
.daytag { align-self: center; font-size: 11px; font-weight: 800; color: var(--soft); background: var(--cream2); padding: 3px 10px; border-radius: 999px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.composer { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(10px + var(--safe-b)); border-top: 1px solid var(--brd); background: var(--card); }
.composer .input { min-height: 46px; border-radius: 23px; }
.composer .send { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.quick button { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--greenT); color: var(--green); font-size: 12px; font-weight: 700; }
.chatview .scroll { padding-bottom: 0 !important; }
.app[data-layout="mobile"] .chatview.has-tabs .composer { margin-bottom: var(--tabbar-h); }
.app[data-layout="desktop"] .chat { max-width: 820px; margin: 0 auto; width: 100%; }

/* ---------- treino ---------- */
.wk { display: flex; gap: 12px; align-items: center; padding: 10px; }
.wk .pic { position: relative; width: 108px; height: 80px; border-radius: 14px; overflow: hidden; flex: none; }
.wk .pic img { width: 100%; height: 100%; object-fit: cover; }
.wk .pic .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.15); }
.player { position: relative; border-radius: var(--r2); overflow: hidden; background: #000; aspect-ratio: 16/10; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.player .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 40%, rgba(0,0,0,.65)); }
.player .big { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); display: grid; place-items: center; align-self: center; }
.player .timer { font-family: var(--fd); font-size: 36px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pbar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--goldL); transition: width .3s linear; }
.stepl { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--brd); }
.stepl:last-child { border-bottom: 0; }
.stepl .st { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--mut); flex: none; }
.stepl.on { background: var(--greenT); }
.stepl.on .st { border-color: var(--green2); color: var(--green2); }
.stepl.ok .st { background: var(--green2); border-color: var(--green2); color: #fff; }

/* ---------- glp-1 / consultas ---------- */
.phase { display: flex; gap: 12px; }
.phase .rail { display: flex; flex-direction: column; align-items: center; }
.phase .rail i { width: 2px; flex: 1; background: var(--line2); margin: 6px 0; }
.phase:last-child .rail i { display: none; }
.ccard { border-radius: var(--r2); overflow: hidden; }
.ccard .ph { aspect-ratio: 16/8; }
.ccard .cc-body { padding: 18px 18px 20px; }
.app[data-layout="desktop"] .d-grid3 { align-items: stretch; }
.glphero { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background-position: center; }
.glphero::after { background: linear-gradient(180deg, rgba(20,63,43,.15) 0%, rgba(20,63,43,.88) 75%); }
.stepnum { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
/* Grade de dias para agendamento: todos visíveis, sem rolagem lateral. */
.daygrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.daygrid button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--card); font-size: 11px; font-weight: 700; color: var(--mut); text-transform: capitalize; }
.daygrid button b { font-size: 18px; color: var(--txt); line-height: 1.2; }
.daygrid button.on { background: var(--green); border-color: var(--green); color: #D6E8DC; }
.daygrid button.on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots button { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--card); font-weight: 700; }
.slots button.on { background: var(--green); border-color: var(--green); color: #fff; }
.slots button[disabled] { opacity: .35; text-decoration: line-through; }

/* ---------- sheet / toast / modal ---------- */
.sheet-bg { position: absolute; inset: 0; z-index: 40; background: rgba(17,20,16,.45); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s both; }
.sheet { width: 100%; max-height: 88%; overflow-y: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 18px calc(22px + var(--safe-b)); animation: up .3s cubic-bezier(.2,.8,.2,1) both; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line2); margin: 0 auto 12px; }
.app[data-layout="desktop"] .sheet-bg { align-items: center; }
.app[data-layout="desktop"] .sheet { max-width: 520px; border-radius: 26px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.toast { position: absolute; left: 50%; bottom: calc(var(--tabbar-h) + 84px); transform: translateX(-50%); z-index: 70; max-width: 88%; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); animation: up .25s both; display: flex; align-items: center; gap: 8px; }
.toast svg { color: var(--goldL); flex: none; }
.success { text-align: center; padding: 40px 10px 10px; }
.success .seal { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; background: var(--greenT); color: var(--green2); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 65; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.6s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); opacity: .3; } }

/* ---------- travas de plano ---------- */
.locked { position: relative; }
.lockcard { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: linear-gradient(135deg, var(--black), #2a2617); color: #F3EEDF; }
.lockcard .ico { background: rgba(233,196,106,.15); color: var(--goldL); }
.lockcard .p { color: #B9B29E; }
.tag-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: #8A6512; background: var(--goldT); padding: 2px 8px; border-radius: 999px; }

/* Itens só do protótipo: somem na versão final (html.prod). */
html.prod .dev-only { display: none !important; }

/* ---------- instalação do app (PWA) ---------- */
.install-gate { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--green); color: #fff; font-family: var(--f); overflow-y: auto; animation: fade .25s both; }
.install-gate .ig-top { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(32px + env(safe-area-inset-top, 0px)) 28px 12px; }
.install-gate .ig-icon { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); }
.install-gate h1 { font-family: var(--fd); font-size: 30px; line-height: 1.1; margin: 22px 0 8px; }
.install-gate p { color: #D6E8DC; margin: 0; max-width: 340px; }
.install-gate .ig-perks { display: grid; gap: 10px; margin-top: 22px; text-align: left; font-size: 14px; font-weight: 700; color: #E6F1EA; }
.install-gate .ig-perks div { display: flex; gap: 10px; align-items: center; }
.install-gate .ig-perks svg { color: var(--goldL); flex: none; }
.install-gate .ig-bot { padding: 16px 22px calc(22px + env(safe-area-inset-bottom, 0px)); background: rgba(0,0,0,.12); }
.install-gate .ig-steps { display: grid; gap: 10px; margin-bottom: 14px; }
.install-gate .ig-steps div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 14px; }
.install-gate .ig-steps b.n { width: 26px; height: 26px; border-radius: 50%; background: var(--goldL); color: #1b1608; display: grid; place-items: center; flex: none; font-size: 13px; }
.install-gate .ig-later { display: block; width: 100%; margin-top: 10px; padding: 10px; color: #CFE3D6; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- seletor de demonstração ---------- */
.devtoggle { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -10px rgba(20,63,43,.45); font-family: var(--f); }
.devtoggle button { min-height: 38px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.devtoggle button.on { background: var(--green); color: #fff; }
.devtoggle button.pl { color: var(--ink); background: var(--cream2); }
.devtoggle button.pl.black { background: var(--black); color: var(--goldL); }
.devtoggle button.pl.prata { background: var(--prataT); color: #4E5A62; }
.devtoggle button.pl.simples { background: var(--greenT); color: var(--green); }
.devhint { position: fixed; left: 16px; bottom: 16px; z-index: 100; max-width: 300px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -10px rgba(20,63,43,.45); font-size: 12px; color: var(--muted); }
.devhint b { color: var(--ink); }
@media (max-width: 899px) {
  .devtoggle { right: 0; left: auto; top: 42%; bottom: auto; padding: 3px; }
  .devtoggle.mini { border-radius: 999px 0 0 999px; opacity: .85; }
  .devtoggle.mini button { padding: 0 10px 0 12px; min-height: 40px; }
  .devtoggle.open { right: 8px; box-shadow: 0 10px 30px -6px rgba(20,63,43,.5); }
  .devtoggle button { min-height: 30px; padding: 0 9px; font-size: 11px; }
  .devtoggle .lbl-d { display: none; }
  .devhint { display: none; }
}
@media (min-width: 900px) and (max-height: 700px) { .devhint { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .chart .ln { stroke-dashoffset: 0; } }
