/* TaiYoga app · estilos (mesmas cores e fontes do quiz, pensado para celular) */
:root {
  --bg: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #17201F;
  --muted: #5B6866;
  --line: #E1E7E4;
  --jade: #2F7D6D;
  --jade-dark: #1E5C50;
  --jade-50: #E6F2EE;
  --amber: #F6B73C;
  --amber-dark: #E3A21F;
  --amber-50: #FFF5DE;
  --coral: #D9573F;
  --coral-50: #FCEBE6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 32, 31, .05), 0 6px 18px rgba(23, 32, 31, .06);
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tabs: 64px;
  --safe: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body { min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--jade); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 2px; }
h1 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 0; letter-spacing: -.2px; }
h2, h3 { margin: 0; }
.ico { display: inline-flex; width: 26px; height: 26px; flex: none; }
.ico svg { width: 100%; height: 100%; }
.ico--sm { width: 20px; height: 20px; }
.ico.ok { color: var(--jade); }
.ico.gold { color: var(--amber-dark); }

.app { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(var(--tabs) + 32px + var(--safe)); overflow-x: clip; }
body[data-view="entrar"] .app, body[data-view="bienvenida"] .app { padding-bottom: 32px; }
body[data-view="sesion"] .app { padding-top: 0; padding-bottom: calc(96px + var(--safe)); }
body[data-view="play"] .app { max-width: none; padding: 0; }

/* ---------- barra de abas ---------- */
.tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2px; padding: 6px 6px calc(6px + var(--safe)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.tabs[hidden] { display: none; }
.tabs a { flex: 1; max-width: 112px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; color: #8A9694; font-size: 12px; font-weight: 700; text-decoration: none; border-radius: 12px; }
.tabs a.on { color: var(--jade); }
.tabs a.on .ico { color: var(--jade); }

/* ---------- peças comuns ---------- */
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.kicker { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.kicker--coral { color: var(--coral); }
.h2 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 28px 0 12px; }
.sub { color: var(--muted); margin: 8px 0 18px; }
.sub.left { margin-top: -6px; }
.label { margin: 18px 0 8px; font-weight: 800; font-size: 15px; }
.small { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.center { text-align: center; }
.note { margin: 26px 4px 0; font-size: 13px; color: var(--muted); text-align: center; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 0 0 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.card.row { padding: 10px 16px; }
.row__ico { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.iconbtn { width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
.iconbtn--glass { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); box-shadow: none; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.bar b { font-size: 17px; text-align: center; flex: 1; }
.bar__sp { width: 44px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 56px; margin: 14px 0 0; padding: 12px 20px; border: 0; border-radius: 16px; background: var(--amber); color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--amber-dark); transition: transform .08s ease; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--amber-dark); }
.btn:disabled { background: #EAE3D3; color: #8F8A7E; box-shadow: none; cursor: default; }
.btn--ghost { background: var(--surface); color: var(--jade-dark); border: 2px solid var(--jade); box-shadow: none; min-height: 52px; font-size: 16px; }
.btn--ghost:active { box-shadow: none; }
.link { display: block; margin: 14px auto 0; padding: 8px; border: 0; background: none; color: var(--jade-dark); font-weight: 700; text-decoration: underline; }
.links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.links .link { margin: 6px 0 0; }
.field { width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); font: inherit; font-size: 18px; color: var(--ink); }
.field:focus { outline: none; border-color: var(--jade); }
.field--code { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: 10px; }
.field--time { width: auto; min-height: 44px; padding: 6px 12px; font-size: 17px; }
.msg { min-height: 20px; margin: 10px 0 0; color: var(--coral); font-size: 15px; }
.msg code, .devnote code { font-size: 13px; }
.devnote { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--amber-50); font-weight: 700; }

.switch { position: relative; flex: none; width: 52px; height: 30px; border: 0; border-radius: 99px; background: #CBD4D1; transition: background .2s ease; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.switch.on { background: var(--jade); }
.switch.on::after { transform: translateX(22px); }
.seg { display: flex; gap: 4px; padding: 4px; margin: 0 0 4px; border-radius: 14px; background: #E7ECEA; }
.seg button { flex: 1; min-height: 42px; border: 0; border-radius: 11px; background: none; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.daychips { display: flex; justify-content: space-between; gap: 6px; }
.daychip { width: 40px; height: 40px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); font-weight: 800; color: var(--muted); }
.daychip.on { border-color: var(--jade); background: var(--jade); color: #fff; }
.daychips--wide { margin: 4px 0 14px; overflow-x: auto; }
.daychips--wide .daychip { flex: 1; width: auto; min-width: 0; height: 38px; padding: 0; border-radius: 99px; font-size: 14px; }
.sched .label { margin-top: 0; }
.sched .row { margin-top: 10px; }

.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--tabs) + 22px + var(--safe)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; box-shadow: var(--shadow); animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } }
.sheet { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(23, 32, 31, .45); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet__box { position: relative; width: 100%; max-width: 560px; max-height: 88dvh; overflow-y: auto; padding: 22px 18px calc(22px + var(--safe)); border-radius: 24px 24px 0 0; background: var(--surface); animation: up .25s ease; }
@keyframes up { from { transform: translateY(30px); } }
.sheet__box h2 { font-family: var(--font-head); font-size: 23px; margin: 4px 44px 8px 0; }
.sheet__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #EEF2F0; display: grid; place-items: center; }
.sheet__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin: 30px 0 12px; }
.cues { margin: 10px 0 0; padding-left: 20px; color: var(--ink); }
.cues li { margin: 6px 0; }
.steps { padding-left: 22px; }
.steps li { margin: 10px 0; }
.unit { display: flex; align-items: center; gap: 10px; }
.unit span { font-weight: 800; color: var(--muted); }

/* ---------- entrar e boas-vindas ---------- */
.login, .onb { min-height: calc(100dvh - 60px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.login__logo { width: 76px; height: 76px; margin: 0 auto 18px; }
.login__logo svg { width: 100%; height: 100%; }
.form { text-align: left; }
.onb { justify-content: flex-start; padding-top: 12px; text-align: left; }
.onb h1 { margin-top: 18px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 28px; height: 5px; border-radius: 9px; background: var(--line); }
.dots i.on { background: var(--jade); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.chip { min-height: 48px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 99px; background: var(--surface); font-weight: 700; }
.chip.on { border-color: var(--jade); background: var(--jade-50); color: var(--jade-dark); }

/* ---------- mi plan ---------- */
.goal { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.goal__row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.goal__row span { flex: 1; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goal__row b { white-space: nowrap; }
.goal__bar { display: flex; gap: 5px; margin-top: 10px; }
.goal__bar i { flex: 1; height: 7px; border-radius: 9px; background: var(--line); }
.goal__bar i.on { background: var(--jade); }
.rail { display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.scard { position: relative; flex: 0 0 82%; height: 380px; overflow: hidden; border-radius: 24px; background: var(--jade-dark); color: #fff; scroll-snap-align: center; cursor: pointer; box-shadow: var(--shadow); }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(10, 30, 26, .82)); }
.scard__in { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px; text-align: center; }
.scard__k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; opacity: .9; }
.scard h3 { font-family: var(--font-head); font-size: 26px; line-height: 1.15; margin: 4px 0; }
.scard__m { margin: 0 0 14px; opacity: .92; }
.scard__go, .scard__lock { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 99px; font-weight: 800; }
.scard__go { background: var(--amber); color: var(--ink); }
.scard--done .scard__go { background: rgba(255, 255, 255, .92); color: var(--jade-dark); }
.scard__lock { border: 2px solid rgba(255, 255, 255, .8); font-size: .88rem; line-height: 1.25; padding: 6px 16px; text-align: center; }
.scard--locked img { filter: grayscale(.5) brightness(.8); }
.done-all { text-align: center; }
.done-all h3 { font-family: var(--font-head); font-size: 21px; margin-bottom: 6px; }
.banner { position: relative; display: block; width: 100%; height: 150px; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--jade-dark); text-align: left; color: #fff; box-shadow: var(--shadow); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 26, .85), rgba(10, 30, 26, .15)); }
.banner__in { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px; }
.banner__in small { font-size: 11px; font-weight: 800; letter-spacing: .7px; color: var(--amber); }
.banner__in b { font-family: var(--font-head); font-size: 23px; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mini { padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mini b { display: block; padding: 8px 10px 10px; font-size: 14px; line-height: 1.2; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 14px 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.tile b { display: block; font-family: var(--font-head); font-size: 26px; color: var(--jade-dark); }
.tile span { display: block; font-size: 13px; line-height: 1.25; color: var(--muted); }
.install { display: flex; align-items: center; gap: 12px; width: 100%; margin: 18px 0 0; padding: 14px 16px; border: 2px dashed #BCD9CF; border-radius: var(--radius); background: var(--jade-50); text-align: left; color: var(--jade-dark); }
.install > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.install small { color: var(--muted); }

/* ---------- agenda ---------- */
.weeks { display: flex; flex-direction: column; gap: 8px; }
.wk { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.wk__h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 10px 16px; border: 0; background: none; text-align: left; }
.wk__h small { color: var(--muted); }
.wk__h.on b { color: var(--jade-dark); }
.wk__dots { flex: 1; display: flex; justify-content: flex-end; gap: 4px; }
.wk__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.wk__dots i.on { background: var(--jade); }
.wk__list { border-top: 1px solid var(--line); }
.wk__s { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; text-align: left; color: var(--muted); }
.wk__s span { display: flex; flex-direction: column; }
.wk__s b { color: var(--ink); font-weight: 700; }

/* ---------- sessão ---------- */
.hero { position: relative; margin: 0 -16px; height: 300px; background: var(--jade-50); }
.hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero--sm { height: 190px; margin: 0 -16px 12px; }
.hero__bar { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.hero__bar .iconbtn { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); box-shadow: none; }
.sheetbody { position: relative; margin: -28px -16px 0; padding: 22px 16px 0; border-radius: 26px 26px 0 0; background: var(--bg); text-align: center; }
.sheetbody .card.row { text-align: left; }
.facts { display: flex; justify-content: center; margin: 16px 0 18px; }
.facts span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 14px; }
.facts span + span { border-left: 1px solid var(--line); }
.facts b { font-size: 20px; color: var(--ink); }
.sheetbody .h2 { text-align: left; }
.exlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.exlist button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 12px 8px 8px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.exlist img { width: 84px; height: 62px; flex: none; object-fit: cover; border-radius: 12px; }
.exlist span { flex: 1; display: flex; flex-direction: column; }
.exlist small { color: var(--muted); }
.sticky { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(14px + var(--safe)); background: linear-gradient(180deg, rgba(244, 246, 245, 0), var(--bg) 30%); }
.sticky .btn { max-width: 528px; margin: 0 auto; }

/* ---------- player ---------- */
.player { position: fixed; z-index: 40; inset: 0; display: flex; flex-direction: column; background: var(--surface); }
.pl__stagearea { position: relative; flex: 1 1 auto; min-height: 0; background: #E9EFEC; overflow: hidden; }
.pl__media, .pl__media img, .pl__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl__top { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 14px; right: 14px; display: flex; justify-content: space-between; }
.pl__skip { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 99px; background: #fff; color: var(--coral); font-weight: 800; box-shadow: var(--shadow); }
.pl__panel { flex: none; padding: 0 18px calc(14px + var(--safe)); text-align: center; }
.pl__segs { display: flex; gap: 4px; margin: 0 -18px 12px; }
.pl__segs i { flex: 1; height: 5px; background: var(--line); }
.pl__segs b { display: block; height: 100%; width: 0; background: var(--coral); transition: width .2s linear; }
.pl__stage { margin: 0; color: var(--coral); font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.pl__name { margin: 2px 0 4px; font-family: var(--font-head); font-size: 24px; line-height: 1.2; }
.pl__cues { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 15px; min-height: 44px; }
.pl__cues li { margin: 2px 0; }
.pl__row { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 6px 0 4px; }
.pl__count { color: var(--muted); font-weight: 800; }
.pl__time { font-size: 54px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.is-paused .pl__time { opacity: .4; }
.pl__ctls { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 8px auto 8px; padding: 6px 18px; max-width: 360px; border-radius: 99px; background: #F0F3F2; }
.pl__ctl { width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; }
.pl__ctl--main { width: 64px; height: 64px; background: var(--amber); }
.pl__ctl .ico { width: 26px; height: 26px; }
.pl__chair { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border: 2px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 15px; font-weight: 700; color: var(--muted); }
.pl__chair.on { border-color: var(--jade); background: var(--jade-50); color: var(--jade-dark); }
.pl__chair[hidden] { display: none; }
@media (min-width: 900px) {
  .player { flex-direction: row; }
  .pl__panel { width: 420px; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
  .pl__segs { margin: 0 0 18px; }
}

/* ---------- fim ---------- */
.fin { padding-top: 30px; text-align: center; }
.fin__ok { width: 92px; height: 92px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--jade); color: #fff; }
.fin__ok .ico { width: 48px; height: 48px; }
.fin .tiles { margin-top: 18px; }
.fin__msg { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0; font-weight: 700; }
.nextcard { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.nextcard small { color: var(--muted); font-weight: 800; letter-spacing: .5px; font-size: 12px; }

/* ---------- clases e retos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gcard { display: flex; flex-direction: column; padding: 0 0 12px; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.gcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
.gcard b, .gcard small { padding: 0 12px; }
.gcard small { color: var(--muted); }
.lrow { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 12px 8px 8px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-align: left; text-decoration: none; }
.lrow img { width: 84px; height: 62px; flex: none; object-fit: cover; border-radius: 12px; }
.lrow > span:not(.ico):not(.daynum) { flex: 1; display: flex; flex-direction: column; }
.lrow small { color: var(--muted); }
.lrow--plain { padding: 14px 16px; }
.daynum { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--jade-50); font-weight: 800; color: var(--jade-dark); }
.rcard { position: relative; display: block; width: 100%; min-height: 230px; overflow: hidden; padding: 0; border: 0; border-radius: 24px; background: var(--jade-dark); color: #fff; text-align: left; box-shadow: var(--shadow); margin-bottom: 14px; }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 26, .1), rgba(10, 30, 26, .85)); }
.rcard__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 230px; padding: 18px; }
.rcard__in small { font-size: 12px; font-weight: 800; letter-spacing: .6px; }
.rcard__in > small:first-child { color: var(--amber); }
.rcard__in b { font-family: var(--font-head); font-size: 26px; }
.rcard .btn { margin-top: 8px; }
.bar21 { display: block; height: 8px; margin: 8px 0 2px; border-radius: 9px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.bar21 i { display: block; height: 100%; background: var(--amber); }
.r21 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; }
.r21__d { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); font-weight: 800; color: var(--muted); }
.r21__d.on { border-color: var(--jade); background: var(--jade); color: #fff; }
.r21__d.now { border-color: var(--amber); color: var(--ink); }

/* ---------- alimentação ---------- */
.meal { padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.meal small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--jade); }
.check { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.check input { width: 22px; height: 22px; accent-color: var(--jade); }
.check input:checked + span { text-decoration: line-through; color: var(--muted); }
.rule { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.rule__n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--jade-50); font-weight: 800; color: var(--jade-dark); }
.rule > span:last-child { display: flex; flex-direction: column; }
.rule small { color: var(--muted); font-size: 15px; }

/* ---------- yo ---------- */
.me { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.me__av { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--jade); color: #fff; font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.me > span:last-child { display: flex; flex-direction: column; }
.me small { color: var(--muted); }
.cal { padding: 12px 14px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.cal__h { display: flex; align-items: center; justify-content: space-between; }
.cal__h .iconbtn { box-shadow: none; background: #EEF2F0; width: 38px; height: 38px; }
.cal__w, .cal__g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.cal__w { margin: 10px 0 4px; font-size: 13px; font-weight: 800; color: var(--muted); }
.cal__g i { display: grid; place-items: center; aspect-ratio: 1; margin: 2px; border-radius: 50%; font-style: normal; font-size: 15px; }
.cal__g i.on { background: var(--jade); color: #fff; font-weight: 800; }
.cal__g i.today { outline: 2px solid var(--amber); }
.weight__row { display: flex; align-items: center; justify-content: space-between; }
.weight__row > span:first-child { display: flex; flex-direction: column; }
.weight__row small { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--muted); }
.weight__row b { font-family: var(--font-head); font-size: 28px; }
.weight__diff { padding: 6px 12px; border-radius: 99px; background: var(--coral-50); color: var(--coral); font-weight: 800; }
.weight__diff.ok { background: var(--jade-50); color: var(--jade-dark); }
.spark { height: 50px; margin: 10px 0 0; color: var(--jade); }
.spark svg { width: 100%; height: 100%; }

/* ---------- impressão do reto ---------- */
.print-only { display: none; }
@media print {
  body { background: #fff; }
  .app > *:not(.print-only), .tabs, .toast, .sheet { display: none !important; }
  .print-only { display: block; }
  .print-only h1 { font-size: 22px; margin-bottom: 12px; }
  .print-list { margin: 0; padding-left: 26px; }
  .print-list li { margin: 0 0 10px; font-size: 15px; }
  .print-list .box { display: inline-block; width: 16px; height: 16px; margin-right: 10px; border: 2px solid #17201F; border-radius: 3px; vertical-align: -3px; }
}
