/* Gestafit · app oficial
   Marca: Verde #1F4D3A (base) + Lavanda #CDB8FF (par) + Lima #D4FF3D (destaque). Fontes: Unbounded + Plus Jakarta Sans. */
/* Nomes das variáveis: plum = cor base (verde) · lilac = par claro · lime = cor de destaque.
   d1-d3 = textos claros sobre a base · glow = brilho do cartão da semana · page = fundo no computador. */
:root {
  --plum: #1F4D3A; --plum2: #2E6850; --plum3: #163A2B;
  --lilac: #CDB8FF; --lilac2: #E2D5FF; --lilac3: #F0E9FF;
  --lime: #D4FF3D; --lime2: #BEEA1B; --lime3: #E5FF82;
  --bg: #F8F5FF; --card: #FFFFFF; --ink: #163A2B; --ink2: #5D6E69; --ink3: #9DAAA6; --line: #E9E0F9;
  --d1: #EAF4EE; --d2: #CFE3D8; --d3: #8FB5A3; --glow1: #3E8C6A; --glow2: #2B6B50; --page: #E7DCFF;
  --plum-rgb: 31 77 58; --deep-rgb: 22 58 43; --lilac-rgb: 205 184 255; --lime-rgb: 212 255 61;
  --disp: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --sh: 0 16px 34px -20px rgb(var(--plum-rgb) / .38);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--page); -webkit-text-size-adjust: 100%; }
body { font: 500 15.5px/1.45 var(--body); color: var(--ink); background: var(--page); min-height: 100dvh; overscroll-behavior-y: none; }
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--bg); position: relative; overflow: hidden; }
#view { padding: calc(var(--st) + 20px) 18px calc(132px + var(--sb)); }
#view.v-ob { padding: 0; }
#view.v-session, #view.v-profile, #view.v-breath { padding-bottom: calc(40px + var(--sb)); }
#view > * { animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }
#view > *:nth-child(2) { animation-delay: .04s; } #view > *:nth-child(3) { animation-delay: .08s; }
#view > *:nth-child(4) { animation-delay: .12s; } #view > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- peças ---------- */
.dora { display: inline-block; overflow: hidden; flex: none; line-height: 0; }
.dora svg { display: block; width: 100%; height: 100%; }
.stk { display: inline-block; background: var(--lime); color: var(--plum); font: 700 10.5px var(--disp); letter-spacing: .05em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; transform: rotate(-3deg); white-space: nowrap; }
.stk.dark { background: var(--plum); color: var(--lime); }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border-radius: 20px; background: var(--lime); color: var(--plum); font: 700 14.5px var(--disp); letter-spacing: -.01em; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .35; pointer-events: none; }
#view > .btn[disabled] { animation-name: none; } /* a animação "rise" (fill both) prendia a opacidade em 1 e o botão parecia ativo */
.btn.dark { background: var(--plum); color: #fff; }
.btn.soft { background: var(--lilac3); color: var(--plum); }
.btn.line { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); color: #fff; }
.btn.sm { height: 42px; width: auto; padding: 0 16px; border-radius: 14px; font-size: 12px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.top .hi small { display: block; font-size: 13px; color: var(--ink2); }
.top .hi b { font: 700 23px/1.1 var(--disp); letter-spacing: -.035em; }
.top .me { width: 46px; height: 46px; border-radius: 16px; background: var(--plum); color: var(--lime); font: 700 16px var(--disp); display: grid; place-items: center; }
.pg h1 { font: 800 31px/1 var(--disp); letter-spacing: -.045em; }
.pg p { color: var(--ink2); font-size: 14px; margin-top: 8px; }
.pg { margin-bottom: 18px; }
.backb { width: 44px; height: 44px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh); margin-bottom: 18px; }
.sec { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 2px 12px; }
.sec h2 { font: 700 16.5px var(--disp); letter-spacing: -.03em; }
.sec button { font: 600 13px var(--body); color: var(--ink2); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--lilac3); border-radius: 18px; padding: 12px 14px; font-size: 13.5px; margin-top: 12px; }
.note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.scroll { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font: 600 13px var(--body); color: var(--ink2); white-space: nowrap; }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--lilac3); border-radius: 16px; padding: 4px; gap: 4px; }
.seg button { height: 40px; border-radius: 12px; font: 600 13.5px var(--body); color: var(--ink2); }
.seg button.on { background: var(--plum); color: #fff; }
.strips { display: flex; gap: 4px; height: 170px; }
.strips img { flex: 1; min-width: 0; height: 100%; object-fit: cover; border-radius: 14px; background: var(--lilac2); }
.strips img:first-child { flex: 2.3; border-radius: 20px 14px 14px 20px; }
.strips img:last-child { border-radius: 14px 20px 20px 14px; }
.strips img:only-child { border-radius: 20px; }

/* ---------- dock ---------- */
.dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--sb)); width: min(448px, calc(100% - 28px)); height: 68px; background: var(--plum); border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr 80px 1fr 1fr; align-items: center; box-shadow: 0 20px 40px -14px rgb(var(--plum-rgb) / .6); z-index: 20; }
.dock button { display: grid; justify-items: center; gap: 3px; color: var(--d3); font: 600 10.5px var(--body); height: 100%; align-content: center; }
.dock button.on { color: var(--lime); }
.dock .dbtn { width: 64px; height: 64px; border-radius: 23px; background: var(--lime); margin: -30px auto 0; box-shadow: 0 0 0 6px var(--bg), 0 14px 22px -8px rgb(var(--plum-rgb) / .5); position: relative; display: grid; place-items: center; }
.dock .dbtn:active { transform: scale(.95); }
.dock .dbtn.new::after { content: ""; position: absolute; top: -3px; right: -3px; width: 15px; height: 15px; border-radius: 50%; background: var(--plum); border: 3px solid var(--lime); }

/* ---------- hoje ---------- */
.hero { background: var(--plum); color: #fff; border-radius: 34px; padding: 22px 22px 20px; position: relative; overflow: hidden; width: 100%; text-align: left; display: block; }
.hero::before { content: ""; position: absolute; right: -90px; top: -110px; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--glow1) 0, var(--glow2) 45%, transparent 70%); }
.hero > * { position: relative; }
.hero-in { display: flex; justify-content: space-between; align-items: center; }
.hero-in + .hero-in { align-items: flex-end; }
.hero .lbl { font: 700 11px var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--lilac); }
.hero .num { font: 800 116px/.84 var(--disp); letter-spacing: -.07em; color: var(--lime); margin: 12px 0 0 -5px; }
.hero .left { font: 600 13px var(--body); color: var(--d2); padding-bottom: 4px; }
.ruler { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-top: 20px; }
.ruler i { flex: 1; height: 9px; border-radius: 3px; background: rgb(var(--lilac-rgb) / .22); }
.ruler i.f { background: var(--lilac); }
.ruler i.c { background: var(--lime); height: 26px; }
.ruler-l { display: flex; gap: 3px; margin-top: 7px; font: 600 10px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--d3); }
.ruler-l span.on { color: #fff; }
.hero .size { margin-top: 14px; font-size: 13.5px; color: var(--d2); text-wrap: balance; }
/* fruta do tamanho do bebê: centro a 81,6% da largura, base a 176 px do topo (59,4% do cartão de 296,6 px; em px porque a altura muda quando o texto do tamanho quebra em duas linhas); entrada (.3s) + anel lima; depois balança, sobe e desliza em loop */
.hero .fruta { position: absolute; left: 81.6%; top: 176px; width: var(--fs, 60px); height: var(--fs, 60px); margin: calc(var(--fs, 60px) * -1) 0 0 calc(var(--fs, 60px) / -2); pointer-events: none; }
.fruta .fr-a, .fruta .fr-b, .fruta .fr-c { display: block; width: 100%; height: 100%; }
.fruta .fr-c { transform-origin: 50% 100%; }
.fruta img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); -webkit-user-drag: none; user-select: none; }
.fruta .fr-ring { position: absolute; inset: 0; border: 4px solid var(--lime); border-radius: 50%; opacity: 0; }
.fruta .fr-a { animation: fr-slide 3s cubic-bezier(.37, 0, .63, 1) infinite; }
.fruta .fr-b { animation: fr-bob 2.1s cubic-bezier(.37, 0, .63, 1) infinite; }
.fruta .fr-c { animation: fr-sway 2.6s cubic-bezier(.37, 0, .63, 1) infinite; }
.fruta.enter img { animation: fr-pop .3s cubic-bezier(.34, 1.56, .64, 1) both; }
.fruta.enter .fr-ring { animation: fr-ring .5s ease-out both; }
@keyframes fr-pop { from { transform: scale(0) rotate(-14deg); } to { transform: scale(1) rotate(0); } }
@keyframes fr-ring { from { transform: scale(.7); opacity: .8; } to { transform: scale(1.75); opacity: 0; } }
@keyframes fr-sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(5deg); } 75% { transform: rotate(-5deg); } }
@keyframes fr-bob { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-2.5px); } 75% { transform: translateY(2.5px); } }
@keyframes fr-slide { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(2px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .fruta .fr-a, .fruta .fr-b, .fruta .fr-c, .fruta.enter img, .fruta.enter .fr-ring { animation: none; } }
.today { background: var(--card); border-radius: 32px; padding: 10px; box-shadow: var(--sh); }
.today .inf { padding: 14px 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.today h3 { font: 700 18px/1.15 var(--disp); letter-spacing: -.035em; }
.today .inf p { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.today.soft { background: var(--lilac3); box-shadow: none; padding: 20px; }
.today.soft h3 { margin-top: 14px; } .today.soft p { color: var(--ink2); margin: 8px 0 16px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.tile { background: var(--lilac3); border-radius: 24px; padding: 14px 12px; text-align: left; display: grid; gap: 14px; align-content: space-between; min-height: 112px; }
.tile .ic { width: 38px; height: 38px; border-radius: 13px; background: #fff; display: grid; place-items: center; }

/* Água: gota enche conforme o contador; Como estou: emoji do humor do dia */
.tile .drop { --lvl: 0; width: 22px; height: 22px; display: block; overflow: visible; }
.tile .drop-fill { fill: var(--plum); clip-path: inset(calc((1 - var(--lvl)) * 100%) 0 0 0); transition: clip-path .45s ease; }
.tile .drop-outline { fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .mood-ic { font-size: 22px; line-height: 1; display: grid; place-items: center; }
.tile b { font: 700 13.5px/1.2 var(--body); display: block; } .tile small { font-size: 12px; color: var(--ink2); }
.dnote { margin-top: 12px; background: var(--lime); border-radius: 28px; padding: 16px; display: grid; grid-template-columns: 50px 1fr; gap: 14px; }
.dnote .who { font: 700 9.5px var(--disp); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.dnote p { font: 600 16px/1.35 var(--body); margin-top: 5px; }
.dnote .btn { margin-top: 12px; }

/* ---------- semanas ---------- */
.wk { flex: none; width: 54px; height: 70px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; align-content: center; gap: 3px; }
.wk b { font: 700 18px/1 var(--disp); letter-spacing: -.04em; }
.wk small { font: 700 8.5px var(--body); color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; }
.wk.pre b { color: var(--ink3); }
.wk.on { background: var(--plum); border-color: var(--plum); color: #fff; } .wk.on small { color: var(--lilac); } .wk.on b { color: #fff; }
.wk.me { background: var(--lime); border-color: var(--lime); color: var(--plum); } .wk.me small { color: var(--plum); } .wk.me b { color: var(--plum); }
.wk.me.on { border-color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.wkhead { margin: 20px 2px 0; display: flex; justify-content: space-between; align-items: flex-end; }
.wkhead h2 { font: 800 34px/1 var(--disp); letter-spacing: -.05em; }
.wkhead p { color: var(--ink2); font-size: 13.5px; margin-top: 8px; }
.sess { flex: none; width: 236px; background: #fff; border-radius: 28px; padding: 8px; box-shadow: var(--sh); text-align: left; position: relative; }
.sess .strips { height: 122px; }
.sess h3 { font: 700 15px var(--disp); margin: 12px 8px 3px; letter-spacing: -.03em; }
.sess p { margin: 0 8px 8px; font-size: 12.5px; color: var(--ink2); }
.sess .ok { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.sess.light { background: var(--plum); color: #fff; box-shadow: none; } .sess.light p { color: var(--lilac); }
.sessrow { padding-bottom: 22px; }
.grp { margin-top: 20px; }
.grp h4 { font: 700 10.5px var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin: 0 2px 9px; }
.exrow { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 22px; padding: 8px; margin-bottom: 8px; cursor: pointer; }
.exrow img { width: 58px; height: 58px; border-radius: 15px; object-fit: cover; background: var(--lilac2); }
.exrow b { font-size: 14.5px; font-weight: 700; display: block; line-height: 1.25; } .exrow small { font-size: 12px; color: var(--ink2); }
.exrow.lock { opacity: .55; cursor: default; } .exrow.lock .heart { color: var(--ink2); }
.heart { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--ink3); }
.heart.on { color: var(--plum); } .heart.on svg { fill: var(--lime); }

/* ---------- aula ---------- */
.shead h1 { font: 800 30px/1.02 var(--disp); letter-spacing: -.045em; margin-top: 10px; }
.shead p { color: var(--ink2); margin: 8px 0 16px; font-size: 14px; }
.item { display: grid; grid-template-columns: 26px 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1.5px solid var(--line); }
.item:last-of-type { border: 0; }
.item .n { font: 700 12px var(--disp); color: var(--ink3); }
.item img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.item b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; } .item small { font-size: 12px; color: var(--ink2); }
.item .d { font: 700 12px var(--disp); color: var(--ink2); }
.stick { position: sticky; bottom: calc(14px + var(--sb)); margin-top: 20px; box-shadow: 0 16px 30px -12px rgb(var(--plum-rgb) / .45); }

/* ---------- player ---------- */
#player { position: fixed; inset: 0; z-index: 50; background: var(--plum3); color: #fff; display: flex; justify-content: center; transition: background .3s; }
#player.fin { background: var(--lime); color: var(--plum); }
.pl { width: min(480px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: calc(var(--st) + 14px) 18px calc(18px + var(--sb)); }
.pl .bar { display: flex; gap: 12px; align-items: center; }
.pl .segs { flex: 1; display: flex; gap: 4px; }
.pl .segs i { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; }
.pl .segs i.d { background: var(--lime); }
.pl .segs i b { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 1s linear; }
.pl .x { width: 40px; height: 40px; border-radius: 14px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.pl .media { margin-top: 16px; border-radius: 32px; overflow: hidden; height: min(42dvh, calc(100vw - 36px), 444px); aspect-ratio: 1 / 1; align-self: center; position: relative; flex: none; background: #000; }
.pl .media img, .pl .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl .media img { animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08); } }
.pl .media .stk { position: absolute; left: 14px; top: 14px; }
.pl .media .nv { position: absolute; left: 12px; right: 12px; bottom: 12px; font: 600 11px var(--body); color: #fff; background: rgb(var(--deep-rgb) / .62); padding: 7px 10px; border-radius: 10px; text-align: center; }
.pl h1 { font: 700 21px/1.15 var(--disp); letter-spacing: -.035em; margin-top: 16px; }
.pl .cue { color: var(--d2); font-size: 14.5px; margin-top: 8px; line-height: 1.45; }
.pl .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pl .meta span { font: 600 12px var(--body); padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--d1); }
.pl .time { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; }
.clock { font: 800 62px/.9 var(--disp); letter-spacing: -.02em; color: var(--lime); white-space: nowrap; }
.clock i { display: inline-block; width: .74em; text-align: center; font-style: normal; } .clock u { text-decoration: none; opacity: .6; }
.pl .nxt { text-align: right; font-size: 11.5px; color: var(--lilac); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.pl .nxt b { display: block; color: #fff; font-size: 13.5px; max-width: 150px; text-transform: none; letter-spacing: 0; margin-top: 3px; line-height: 1.25; }
.pl .ctl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 16px; }
.pl .ctl button { width: 58px; height: 58px; border-radius: 20px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; justify-self: center; }
.pl .ctl .pp { width: 96px; height: 68px; border-radius: 26px; background: var(--lime); color: var(--plum); }
.pl .ctl button:active { transform: scale(.94); }
.fin-in { width: min(480px, 100%); min-height: 100dvh; display: flex; flex-direction: column; padding: calc(var(--st) + 26px) 22px calc(22px + var(--sb)); position: relative; overflow: hidden; }
.fin-in h1 { font: 800 78px/.88 var(--disp); letter-spacing: -.07em; margin-top: auto; }
.fin-in > p { font: 600 17px/1.4 var(--body); margin: 14px 0 26px; max-width: 300px; }
.fin-in .q { font: 700 11px var(--disp); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.fbs { display: flex; gap: 8px; flex-wrap: wrap; }
.fbs button { height: 44px; padding: 0 16px; border-radius: 14px; background: rgb(var(--plum-rgb) / .1); font: 700 13.5px var(--body); }
.fbs button.on { background: var(--plum); color: var(--lime); }
.fin-in .msg2 { font-size: 13.5px; font-weight: 600; margin-top: 12px; min-height: 40px; }
.fin-in .btn { margin-top: 14px; }
.fin-in > :not(.px) { position: relative; z-index: 1; }
.px { position: absolute; top: -24px; z-index: 0; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(260deg); } }

/* ---------- comunidade ---------- */
.compose { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 22px; padding: 10px 14px 10px 10px; box-shadow: var(--sh); width: 100%; text-align: left; color: var(--ink3); font-weight: 500; margin: 14px 0 6px; }
.compose .plus { margin-left: auto; width: 40px; height: 40px; border-radius: 14px; background: var(--lime); color: var(--plum); display: grid; place-items: center; flex: none; }
.av { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font: 700 14px var(--disp); background: var(--lilac2); color: var(--plum); flex: none; }
.av.a1 { background: var(--plum); color: var(--lime); } .av.a2 { background: var(--lime); } .av.a3 { background: var(--lilac); }
.post { background: var(--card); border-radius: 28px; padding: 16px; box-shadow: var(--sh); margin-top: 12px; }
.post .hd { display: flex; gap: 10px; align-items: center; }
.post .nm { font-weight: 700; font-size: 14.5px; line-height: 1.2; } .post .mt { font-size: 12px; color: var(--ink2); }
.post .mn { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink3); }
.post > p { margin-top: 12px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.post .ph { margin-top: 12px; border-radius: 20px; overflow: hidden; } .post .ph img { width: 100%; }
.post .ft { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 13px; background: var(--lilac3); font: 700 13px var(--body); color: var(--plum); }
.pill svg { width: 18px; height: 18px; }
.pill.on { background: var(--plum); color: var(--lime); } .pill.on svg { fill: var(--lime); }
.tag { font: 700 9.5px var(--disp); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 9px; background: var(--lilac3); color: var(--ink2); margin-left: auto; }
.empty { text-align: center; color: var(--ink2); padding: 44px 20px; font-size: 14.5px; }
.demo { text-align: center; font-size: 12px; color: var(--ink3); margin-top: 20px; }
.rep { display: flex; gap: 10px; margin-top: 14px; } .rep .bub { background: #fff; border-radius: 6px 18px 18px 18px; padding: 10px 14px; font-size: 14.5px; }
.rep .bub b { display: block; font-size: 12.5px; }

/* ---------- folha (sheet) ---------- */
#sheet { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; justify-items: center; }
.scrim { position: absolute; inset: 0; background: rgb(var(--deep-rgb) / .55); animation: fade .2s both; }
.sheet { position: relative; width: min(480px, 100%); max-height: 92dvh; background: var(--bg); border-radius: 34px 34px 0 0; padding: 10px 18px calc(20px + var(--sb)); overflow: auto; animation: up .34s cubic-bezier(.2, .8, .2, 1) both; }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--lilac); margin: 4px auto 16px; }
.sheet h2 { font: 700 21px/1.1 var(--disp); letter-spacing: -.035em; }
.sheet .sub { color: var(--ink2); font-size: 13.5px; margin-top: 6px; }
.sheet textarea { width: 100%; min-height: 120px; border: 1.5px solid var(--line); background: #fff; border-radius: 20px; padding: 14px 16px; outline: none; resize: none; margin-top: 14px; }
.sheet textarea:focus { border-color: var(--plum); }
.sheet .lab { font: 700 10.5px var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 16px 2px 8px; }
.sheet .prev { margin-top: 12px; border-radius: 20px; overflow: hidden; max-height: 220px; } .sheet .prev img { width: 100%; }
.sheet .acts { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 16px; }
.exsheet .im { border-radius: 26px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 44dvh; margin: 0 auto 16px; } .exsheet .im img { width: 100%; height: 100%; object-fit: cover; }
.exsheet .cue { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.menu button { display: flex; width: 100%; height: 56px; align-items: center; gap: 12px; font-weight: 700; border-bottom: 1.5px solid var(--line); } .menu button:last-child { border: 0; }
.chat { display: flex; flex-direction: column; height: 86dvh; padding-bottom: 0; overflow: hidden; }
.chat .hd { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1.5px solid var(--line); }
.chat .hd b { font: 700 18px var(--disp); letter-spacing: -.03em; display: block; } .chat .hd small { color: var(--ink2); font-size: 12.5px; }
.chat .hd .x { margin-left: auto; width: 40px; height: 40px; border-radius: 14px; background: var(--lilac3); display: grid; place-items: center; }
.msgs { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 22px; font-size: 15px; line-height: 1.42; animation: rise .25s both; }
.msg.d { background: #fff; border-bottom-left-radius: 7px; align-self: flex-start; }
.msg.u { background: var(--plum); color: #fff; border-bottom-right-radius: 7px; align-self: flex-end; }
.msg.ty i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink3); margin: 4px 2px; animation: bop 1s infinite; }
.msg.ty i:nth-child(2) { animation-delay: .15s; } .msg.ty i:nth-child(3) { animation-delay: .3s; }
@keyframes bop { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.cbar { display: flex; gap: 8px; padding: 10px 0 calc(14px + var(--sb)); }
.cbar input { flex: 1; min-width: 0; height: 54px; border-radius: 19px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; outline: none; }
.cbar input:focus { border-color: var(--plum); }
.cbar button { width: 54px; height: 54px; border-radius: 19px; background: var(--lime); color: var(--plum); display: grid; place-items: center; flex: none; }

/* ---------- diário ---------- */
.stat { background: var(--plum); color: #fff; border-radius: 32px; padding: 20px 20px 16px; }
.stat .lbl { font: 700 10.5px var(--disp); letter-spacing: .18em; text-transform: uppercase; color: var(--lilac); }
.stat .big { font: 800 66px/.9 var(--disp); letter-spacing: -.06em; color: var(--lime); margin-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.stat .big small { font: 600 14px/1 var(--body); color: var(--d2); letter-spacing: 0; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 96px; margin-top: 18px; }
.bars div { display: grid; grid-template-rows: 1fr auto; gap: 8px; justify-items: center; }
.bars u { display: flex; align-items: flex-end; width: 100%; justify-content: center; border-bottom: 1.5px solid rgb(var(--lilac-rgb) / .25); text-decoration: none; }
.bars i { width: 14px; border-radius: 4px 4px 0 0; background: var(--lime); min-height: 0; }
.bars i.z { height: 3px !important; background: rgb(var(--lilac-rgb) / .35); }
.bars small { font: 700 10.5px var(--body); color: var(--d3); } .bars .t small { color: #fff; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini { background: #fff; border-radius: 26px; padding: 16px; box-shadow: var(--sh); }
.mini b { font: 800 32px/1 var(--disp); letter-spacing: -.05em; display: block; } .mini span { font-size: 12.5px; color: var(--ink2); display: block; margin-top: 6px; }
.boxc { background: #fff; border-radius: 28px; padding: 16px; box-shadow: var(--sh); }
.boxc .rw { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; } .boxc .rw b { font-weight: 700; } .boxc .rw span { font-size: 13px; color: var(--ink2); }
.drops { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.drops button { height: 48px; border-radius: 14px; background: var(--lilac3); color: var(--lilac); display: grid; place-items: center; }
.drops button svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.drops button.on { background: var(--plum); color: var(--lime); }
.moods { display: flex; gap: 8px; flex-wrap: wrap; }
.moods button { height: 42px; padding: 0 14px; border-radius: 14px; background: var(--lilac3); font: 700 13.5px var(--body); }
.moods button.on { background: var(--plum); color: #fff; }
.notein { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.notein input { height: 48px; border-radius: 16px; border: 1.5px solid var(--line); padding: 0 14px; outline: none; min-width: 0; background: var(--bg); } .notein input:focus { border-color: var(--plum); }
.belly { padding-bottom: 14px; }
.bf { flex: none; width: 112px; height: 154px; border-radius: 56px 56px 24px 24px; background: var(--lilac3); overflow: hidden; position: relative; display: grid; place-items: center; color: var(--ink2); }
.bf img { width: 100%; height: 100%; object-fit: cover; }
.bf span { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font: 700 9.5px var(--disp); letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--plum); padding: 5px 9px; border-radius: 9px; white-space: nowrap; }
.bf.add { background: none; border: 2px dashed var(--plum); color: var(--plum); }
.bf.add span { background: var(--lime); }
.linkc { display: flex; align-items: center; gap: 14px; background: var(--lilac3); border-radius: 26px; padding: 16px; width: 100%; text-align: left; margin-top: 10px; }
.linkc .ic { width: 46px; height: 46px; border-radius: 16px; background: #fff; display: grid; place-items: center; flex: none; }
.linkc b { display: block; font-weight: 700; } .linkc small { color: var(--ink2); font-size: 12.5px; } .linkc > svg { margin-left: auto; }

/* ---------- respiração ---------- */
.breath { min-height: calc(100dvh - 120px); display: flex; flex-direction: column; }
.breath .mid { flex: 1; display: grid; place-items: center; min-height: 340px; }
.orb { width: 236px; height: 236px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--lilac) 62%); display: grid; place-items: center; transform: scale(.62); box-shadow: 0 0 0 16px rgb(var(--lime-rgb) / .55), 0 0 0 38px rgb(var(--lilac-rgb) / .3); transition: transform 4s ease-in-out; }
.orb.in { transform: scale(1); transition-duration: 4s; } .orb.out { transform: scale(.62); transition-duration: 6s; }
.orb span { font: 700 19px var(--disp); letter-spacing: -.03em; color: var(--plum); }

/* ---------- abertura e perfil ---------- */
.ob { min-height: 100dvh; height: 100dvh; display: flex; flex-direction: column; padding: calc(var(--st) + 12px) 22px calc(16px + var(--sb)); }
.ob.dark { background: var(--plum); color: #fff; }
.logo { font: 800 21px var(--disp); letter-spacing: -.05em; } .logo span { color: var(--lime); } .ob:not(.dark) .logo span { color: var(--ink2); }
.obtop { display: flex; justify-content: space-between; align-items: center; }
.langs { display: flex; gap: 4px; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 3px; }
.langs button { height: 30px; padding: 0 10px; border-radius: 9px; font: 700 11px var(--disp); color: var(--lilac); }
.langs button.on { background: var(--lime); color: var(--plum); }
.caps { display: flex; gap: 10px; align-items: flex-end; justify-content: center; margin: clamp(8px, 2dvh, 26px) 0 clamp(10px, 2.4dvh, 30px); position: relative; flex: none; height: clamp(140px, 32dvh, 380px); }
.caps img { width: 31%; object-fit: cover; border-radius: 999px; background: var(--plum2); }
.caps img:nth-child(1) { height: 78%; } .caps img:nth-child(2) { height: 100%; } .caps img:nth-child(3) { height: 68%; align-self: flex-start; margin-top: 6%; }
.caps .stk { position: absolute; left: -4px; bottom: 9%; font-size: 10.5px; padding: 9px 13px; transform: rotate(-6deg); }
.caps .dora { position: absolute; right: 2%; bottom: -6px; transform: rotate(8deg); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .5); }
.ob.dark h1 { margin-top: auto; }
.ob h1 { font: 800 clamp(26px, 6.2dvh, 45px)/1.02 var(--disp); letter-spacing: -.06em; }
.ob h1 em { font-style: normal; color: var(--lime); }
.ob.dark > p { color: var(--d2); margin: clamp(8px, 1.6dvh, 14px) 0 clamp(12px, 2.4dvh, 24px); font-size: clamp(13px, 2.15dvh, 15px); }
.ob.dark > .btn { flex: none; height: clamp(50px, 8dvh, 58px); }
.dots { display: flex; gap: 6px; margin: 22px 0 34px; } .dots i { flex: 1; height: 5px; border-radius: 5px; background: var(--lilac2); } .dots i.on { background: var(--plum); }
.ob .q { font: 800 32px/1.04 var(--disp); letter-spacing: -.05em; }
.ob .hint { color: var(--ink2); font-size: 13.5px; margin-top: 10px; }
.ob .grow { flex: 1; }
.ob .nav { display: grid; grid-template-columns: 58px 1fr; gap: 10px; margin-top: 22px; }
.ob .nav .b { height: 58px; border-radius: 20px; background: var(--lilac3); display: grid; place-items: center; }
.bigin { width: 100%; border: 0; border-bottom: 3px solid var(--plum); background: none; font: 700 30px var(--disp); padding: 12px 0; outline: none; letter-spacing: -.04em; margin-top: 26px; border-radius: 0; }
.bigin::placeholder { color: var(--ink3); }
.stepper { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; margin-top: 22px; }
.stepper button { width: 64px; height: 64px; border-radius: 22px; background: var(--lilac3); display: grid; place-items: center; }
.stepper .n { text-align: center; font: 800 100px/1 var(--disp); letter-spacing: -.07em; }
input[type=range] { width: 100%; accent-color: var(--plum); margin-top: 18px; height: 28px; }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font: 700 10.5px var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.field input { height: 56px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; font-weight: 600; outline: none; width: 100%; }
.field input:focus { border-color: var(--plum); }
.calc { margin-top: 16px; }
.rowset { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border-radius: 22px; padding: 14px 16px; margin-top: 10px; width: 100%; text-align: left; }
.rowset b { font-weight: 700; display: block; } .rowset small { color: var(--ink2); font-size: 12.5px; display: block; margin-top: 2px; }
.rowset .wkn { font: 800 22px var(--disp); letter-spacing: -.04em; min-width: 40px; text-align: center; }
.rowset .mini-step { display: flex; align-items: center; gap: 6px; } .rowset .mini-step button { width: 40px; height: 40px; border-radius: 13px; background: var(--lilac3); display: grid; place-items: center; }
.sw { width: 54px; height: 32px; border-radius: 99px; background: var(--lilac2); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s; }
.sw.on { background: var(--plum); } .sw.on::after { transform: translateX(22px); background: var(--lime); }
.safe { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.safe li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14px; line-height: 1.42; }
.safe li i { width: 26px; height: 26px; border-radius: 9px; background: var(--lime); display: grid; place-items: center; } .safe li i svg { width: 15px; height: 15px; }
.about { font-size: 12.5px; color: var(--ink2); margin: 22px 4px 0; line-height: 1.5; }
.danger { color: #B3261E; font-weight: 700; margin-top: 18px; height: 48px; width: 100%; }

#toast { position: fixed; left: 50%; bottom: calc(104px + var(--sb)); transform: translate(-50%, 16px); background: var(--plum); color: #fff; padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: 14px; opacity: 0; transition: .25s; z-index: 70; pointer-events: none; max-width: 86%; text-align: center; box-shadow: 0 14px 30px -10px rgb(var(--plum-rgb) / .6); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 520px) {
  body { padding: 22px 0; }
  #app { border-radius: 40px; min-height: calc(100dvh - 44px); box-shadow: 0 40px 80px -40px rgb(var(--plum-rgb) / .5); }
  .ob { min-height: calc(100dvh - 44px); }
  #app:has(.ob.dark) {
    height: calc(100dvh - 44px);
    min-height: calc(100dvh - 44px);
    max-height: calc(100dvh - 44px);
  }
  #app:has(.ob.dark) #view.v-ob { height: 100%; }
  .ob.dark { min-height: 100%; height: 100%; overflow: hidden; }
  .ob.dark .caps { height: clamp(140px, 28dvh, 300px); }
}
@media (min-width: 520px) and (max-height: 700px) {
  body:has(.ob.dark) { padding: 12px 0; }
  #app:has(.ob.dark) {
    height: calc(100dvh - 24px);
    min-height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
  #app:has(.ob.dark) #view.v-ob { height: 100%; }
  .ob.dark .caps { height: clamp(120px, 26dvh, 220px); margin: 8px 0 10px; }
  .ob.dark h1 { font-size: clamp(24px, 5.4dvh, 34px); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
