/* Projeto Shape Mulheres — visual claro: branco com detalhes em roxo, degradê roxo→rosa nos destaques,
   emojis 3D (img/emo, via js/emo.js) e fotos (img/fotos). Os nomes das variáveis antigas (--neon etc.) ficaram
   porque o app.js usa algumas direto no HTML. */
:root {
  --bg: #fbfaff; --bg2: #f4f0fd; --card: #ffffff; --card2: #f5f1fe; --bd: #ebe4f8;
  --tx: #24143f; --mu: #6f6688; --neon: #7c3aed; --neon2: #a855f7; --neon-suave: #f1eafe; --rosa: #ec4899;
  --verde: #22c55e; --verde-suave: #e8f9ee; --sobre-neon: #ffffff;
  --aviso: #b45309; --aviso-suave: #fff4e0; --erro: #e11d48; --erro-suave: #ffe8ee;
  --raio: 20px;
  --sombra: 0 1px 2px rgba(48, 20, 98, .05), 0 8px 24px rgba(76, 29, 149, .07);
  --sombra-neon: 0 10px 24px rgba(124, 58, 237, .28);
  --grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #ec4899 100%);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; color: var(--tx); font: 16px/1.45 Outfit, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(900px 380px at 50% -140px, #ece2ff 0%, rgba(236, 226, 255, 0) 72%) no-repeat, var(--bg); min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
a { color: var(--neon); }
.app { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: 0 16px calc(100px + env(safe-area-inset-bottom)); position: relative; }
.app.sem-abas { padding-bottom: 32px; }

/* emojis 3D */
.emo { width: 1.2em; height: 1.2em; vertical-align: -0.24em; object-fit: contain; display: inline-block; }

/* topo */
.topo { display: flex; align-items: center; gap: 10px; padding: 14px 0 10px; position: sticky; top: 0; z-index: 5;
  background: rgba(251, 250, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.topo img { width: 34px; height: 34px; border-radius: 9px; }
.topo .marca { font-weight: 800; letter-spacing: .04em; font-size: 15px; color: var(--tx); }
.topo .marca b { color: var(--neon); }
.topo .direita { margin-left: auto; color: var(--mu); font-size: 14px; font-weight: 600; }
.voltar { background: var(--card); border: 1px solid var(--bd); border-radius: 12px; width: 38px; height: 38px; font-size: 24px; line-height: 1; padding: 0 0 3px; color: var(--neon); box-shadow: var(--sombra); }

h1 { font-size: 28px; line-height: 1.15; margin: 8px 0 6px; letter-spacing: -.01em; font-weight: 800; }
h2 { font-size: 19px; margin: 24px 0 10px; font-weight: 800; }
h3 { font-size: 16px; margin: 0 0 4px; }
.sub { color: var(--mu); margin: 0 0 14px; }
.neon { color: var(--neon); }

/* botões */
.btn { display: block; width: 100%; border: 0; border-radius: 16px; padding: 15px 18px; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; }
.btn-neon { background: linear-gradient(90deg, var(--neon), var(--neon2)); color: #fff; box-shadow: var(--sombra-neon); }
.btn-neon:active { transform: scale(.99); }
.btn-neon:disabled { opacity: .4; box-shadow: none; }
.btn-linha { background: var(--card); border: 1.5px solid #ddd0f7; color: var(--neon); }
.btn-perigo { background: var(--card); border: 1.5px solid #f6b9c8; color: var(--erro); }
.btn + .btn { margin-top: 10px; }
.rodape-fixo { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(251, 250, 255, 0), var(--bg) 30%); }

/* cartões */
.card { background: var(--card); border: 1px solid var(--bd); border-radius: var(--raio); padding: 16px; margin-bottom: 12px; box-shadow: var(--sombra); }
.card.destaque { border-color: #ddd0f7; background: linear-gradient(160deg, #f4edff, #fff 60%); }
/* destaque vivo: degradê roxo→rosa com texto branco */
.card.vivo { background: var(--grad); color: #fff; border: 0; box-shadow: 0 16px 34px rgba(124, 58, 237, .28); position: relative; overflow: hidden; }
.card.vivo::after { content: ''; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .13); pointer-events: none; }
.card.vivo > * { position: relative; z-index: 1; }
.card.vivo h3 { color: #fff; font-size: 18px; }
.card.vivo .sub, .card.vivo small { color: rgba(255, 255, 255, .88) !important; }
.card.vivo .chip.neon { background: rgba(255, 255, 255, .22); color: #fff; }
.card.vivo .progresso { background: rgba(255, 255, 255, .28); }
.card.vivo .progresso div { background: #fff; box-shadow: none; }
.card.vivo .ck { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.card.vivo .ck.ok { background: #fff; border-color: #fff; color: var(--neon); }
.card.vivo .btn-neon { background: #fff; color: var(--neon); box-shadow: 0 8px 18px rgba(36, 20, 63, .16); }
.card.vivo .btn-linha { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .65); color: #fff; }
/* cartão com foto de fundo: style="--foto:url('img/fotos/…')" */
.card.foto { position: relative; overflow: hidden; color: #fff; border: 0; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  background: #3b1d70 var(--foto, none) center / cover no-repeat; box-shadow: 0 16px 34px rgba(36, 20, 63, .22); }
.card.foto::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 20, 63, 0) 18%, rgba(36, 20, 63, .82) 100%); }
.card.foto > * { position: relative; }
.card.foto h3 { color: #fff; font-size: 21px; margin-top: 6px; }
.card.foto small { color: rgba(255, 255, 255, .9) !important; }
.card.foto .chip.neon { background: rgba(255, 255, 255, .24); color: #fff; backdrop-filter: blur(6px); }
.card.foto .btn-neon { background: #fff; color: var(--neon); box-shadow: none; }
.card.foto .btn-linha { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); color: #fff; }
/* faixa de foto no topo de um cartão ou de uma tela */
.faixa-foto { height: 120px; margin: -16px -16px 14px; border-radius: var(--raio) var(--raio) 0 0; background: var(--card2) var(--foto, none) center / cover no-repeat; }
.banner { height: 150px; border-radius: var(--raio); margin: 6px 0 14px; background: var(--card2) var(--foto, none) center / cover no-repeat; box-shadow: var(--sombra); position: relative; overflow: hidden; }
.banner .rotulo { position: absolute; left: 14px; bottom: 12px; z-index: 1; background: rgba(255, 255, 255, .94); color: var(--neon); font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 99px; box-shadow: 0 4px 12px rgba(76, 29, 149, .12); }
/* sem foto: degradê com emojis 3D (a "ilustra" e a "colagem") */
.banner.sem-foto { background: linear-gradient(135deg, #f1e7ff 0%, #ffe3f1 100%); }
.colagem { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-evenly; padding: 0 8px 22px; }
.colagem span { display: inline-block; font-size: 52px; line-height: 1; }
.colagem span .emo { width: 62px; height: 62px; vertical-align: middle; filter: drop-shadow(0 10px 14px rgba(76, 29, 149, .2)); }
.colagem span:nth-child(odd) { transform: translateY(-8px) rotate(-8deg); }
.colagem span:nth-child(even) { transform: translateY(10px) rotate(7deg); }
.hero-foto.sem-foto .colagem { padding-bottom: 0; flex-wrap: wrap; align-content: center; gap: 4px 0; }
.hero-foto.sem-foto .colagem span { width: 33%; text-align: center; }
.hero-foto.sem-foto .colagem span .emo { width: 74px; height: 74px; filter: drop-shadow(0 12px 18px rgba(36, 20, 63, .3)); }
.card.foto.sem-foto { background: var(--grad); }
.card.foto.sem-foto::before { background: linear-gradient(180deg, rgba(36, 20, 63, 0) 45%, rgba(36, 20, 63, .22)); }
.card.foto > .ilustra { position: absolute; right: -4px; top: 4px; line-height: 1; transform: rotate(-6deg); pointer-events: none; font-size: 96px; }
.ilustra .emo { width: 124px; height: 124px; filter: drop-shadow(0 14px 20px rgba(36, 20, 63, .35)); }
.card.foto.sem-foto h3, .card.foto.sem-foto > div:first-of-type { max-width: calc(100% - 110px); }
.ico-grande { width: 54px; height: 54px; border-radius: 16px; background: var(--verde-suave); display: grid; place-items: center; flex: none; font-size: 30px; }
.ico-grande .emo { width: 36px; height: 36px; vertical-align: middle; }
.linha { display: flex; align-items: center; gap: 12px; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 99px; background: var(--card2); color: var(--mu); font-size: 12.5px; font-weight: 700; }
.chip.neon { background: var(--neon-suave); color: var(--neon); }
.chip.aviso { background: var(--aviso-suave); color: var(--aviso); }
.nota { background: var(--card2); border-radius: 14px; padding: 11px 13px; font-size: 14px; color: #4b3d6b; margin: 8px 0; }
.nota.aviso { background: var(--aviso-suave); color: var(--aviso); }
.nota.erro { background: var(--erro-suave); color: var(--erro); }
.grade2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grade3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--card); border: 1px solid var(--bd); border-radius: 16px; padding: 12px; box-shadow: var(--sombra); }
.kpi small { color: var(--mu); font-size: 12px; display: block; }
.kpi b { font-size: 20px; font-variant-numeric: tabular-nums; color: var(--tx); }

/* boas-vindas */
.hero { text-align: center; padding: 18px 0 6px; }
.hero img { width: min(40vw, 150px); filter: drop-shadow(0 10px 24px rgba(124, 58, 237, .3)); }
.hero h1 { font-size: 32px; margin-top: 10px; }
.hero-foto { position: relative; height: 250px; border-radius: 26px; margin: 12px 0 0; overflow: hidden; background: var(--grad); box-shadow: 0 18px 36px rgba(76, 29, 149, .22); }
.hero-foto .img { position: absolute; inset: 0; background: var(--foto, none) center / cover no-repeat; }
.hero-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 20, 63, 0) 45%, rgba(36, 20, 63, .55)); }
.hero-foto .selo { position: absolute; left: 14px; top: 14px; z-index: 1; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .94); border-radius: 99px; padding: 6px 12px 6px 6px; font-weight: 800; font-size: 13px; color: var(--tx); }
.hero-foto .selo img { width: 28px; height: 28px; filter: none; }
.lista-check { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; text-align: left; }
.lista-check li { position: relative; padding: 12px 14px 12px 56px; background: var(--card); border: 1px solid var(--bd); border-radius: 16px; box-shadow: var(--sombra); min-height: 52px; display: flex; align-items: center; }
.lista-check li::before { content: '✓'; color: #fff; background: var(--grad); width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); }
.lista-check li .emo { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; }
.lista-check li:has(.emo)::before { display: none; }
.aviso-saude { font-size: 12.5px; color: var(--mu); text-align: center; margin: 14px 0 0; }

/* avaliação */
.progresso { height: 7px; background: var(--card2); border-radius: 99px; overflow: hidden; margin: 4px 0 18px; }
.progresso div { height: 100%; background: linear-gradient(90deg, var(--neon), var(--rosa)); border-radius: 99px; transition: width .3s; }
.bloco-nome { color: var(--neon); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pergunta { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 6px 0 6px; }
.opcoes { display: grid; gap: 10px; margin-top: 16px; }
.opcoes.cols { grid-template-columns: repeat(var(--cols, 2), 1fr); }
.opcao { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1.5px solid var(--bd); border-radius: 16px; padding: 14px; text-align: left; min-height: 58px; box-shadow: var(--sombra); }
.opcoes.cols .opcao { justify-content: center; text-align: center; font-weight: 700; font-size: 18px; }
.opcao .e { font-size: 24px; width: 34px; text-align: center; flex: none; }
.opcao .e .emo { width: 32px; height: 32px; vertical-align: middle; }
.opcao small { display: block; color: var(--mu); font-size: 13px; font-weight: 400; }
.opcao.sel { border-color: var(--neon); background: var(--neon-suave); box-shadow: inset 0 0 0 1px var(--neon), var(--sombra); }
.campo { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--bd); border-radius: 16px; padding: 6px 16px; margin-top: 18px; box-shadow: var(--sombra); }
.campo:focus-within { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.campo input { flex: 1; background: none; border: 0; color: var(--tx); font-size: 28px; font-weight: 700; padding: 10px 0; outline: none; min-width: 0; }
.campo input::placeholder { color: #b9b0cc; }
.campo span { color: var(--mu); font-weight: 600; }
.erro-campo { color: var(--erro); font-size: 14px; margin: 8px 0 0; min-height: 20px; }
.pular { background: none; border: 0; color: var(--mu); text-decoration: underline; margin: 10px auto 0; display: block; }

/* gerando */
.gerando { min-height: 80dvh; display: grid; place-items: center; text-align: center; }
.gerando img { width: 130px; animation: pulsar 1.2s ease-in-out infinite; filter: drop-shadow(0 12px 26px rgba(124, 58, 237, .35)); }
.gerando .num { font-size: 44px; font-weight: 800; color: var(--neon); font-variant-numeric: tabular-nums; }
@keyframes pulsar { 50% { transform: scale(1.06); } }

/* semana */
.dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 6px 0 16px; }
.dia { background: var(--card); border: 1px solid var(--bd); border-radius: 14px; padding: 8px 0; text-align: center; font-size: 12px; color: var(--mu); box-shadow: var(--sombra); }
.dia b { display: block; font-size: 16px; color: var(--tx); margin-top: 2px; }
.dia.treino b { color: var(--neon); }
.dia.hoje { border-color: var(--neon); background: var(--neon-suave); }
.sessao { display: flex; gap: 12px; align-items: center; width: 100%; background: var(--card); border: 1px solid var(--bd); border-radius: 18px; padding: 12px; text-align: left; margin-bottom: 10px; box-shadow: var(--sombra); }
.sessao .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--neon-suave); display: grid; place-items: center; font-size: 24px; flex: none; }
.sessao .ico .emo { width: 32px; height: 32px; vertical-align: middle; }
.sessao .ico.foto { width: 60px; height: 60px; background: var(--card2) var(--foto, none) center / cover no-repeat; }
.sessao.descanso .ico { background: var(--verde-suave); }
.sessao small { color: var(--mu); display: block; }
.sessao b { color: var(--tx); }
.sessao .seta { margin-left: auto; color: var(--neon); font-size: 22px; font-weight: 700; }
a.sessao { color: var(--tx); text-decoration: none; }

/* treino */
.bloco h3 { color: var(--neon); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 20px 0 8px; }
.ex { background: var(--card); border: 1px solid var(--bd); border-radius: 18px; margin-bottom: 10px; overflow: hidden; box-shadow: var(--sombra); }
.ex-cab { display: flex; gap: 12px; align-items: center; padding: 10px 12px; width: 100%; background: none; border: 0; text-align: left; }
.ex-mini { width: 72px; height: 54px; border-radius: 12px; object-fit: cover; flex: none; background: var(--card2); display: grid; place-items: center; font-size: 26px; }
.ex-mini .emo { width: 34px; height: 34px; }
.ex-cab .marcar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d9cdf3; flex: none; display: grid; place-items: center; font-weight: 800; color: transparent; margin-left: auto; }
.ex.feito .marcar { background: var(--verde); border-color: var(--verde); color: #fff; }
.ex.feito .ex-nome { text-decoration: line-through; color: var(--mu); }
.ex-nome { font-weight: 700; }
.ex-cab small { color: var(--mu); display: block; font-size: 13px; }
.ex-corpo { padding: 0 14px 14px; display: none; }
.ex.aberto .ex-corpo { display: block; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1d1233; margin-bottom: 10px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .capa { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #1d1233 center/cover no-repeat; display: grid; place-items: center; }
.video .capa span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--neon); display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); padding-left: 4px; }
.sem-video { border-radius: 14px; background: var(--card2); padding: 14px; color: var(--mu); font-size: 14px; margin-bottom: 10px; }
.receita { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.receita div { background: var(--card2); border-radius: 12px; padding: 8px; font-size: 13px; font-weight: 600; }
.receita small { display: block; color: var(--mu); font-size: 11px; font-weight: 400; }
.cues { margin: 8px 0 0; padding-left: 18px; color: #4b3d6b; font-size: 14px; }

/* comida */
.refeicao .cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.refeicao .cab small { color: var(--mu); }
.alimento { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--bd); }
.alimento:first-of-type { border-top: 0; }
.alimento .e { font-size: 22px; width: 32px; text-align: center; flex: none; }
.alimento .e .emo { width: 28px; height: 28px; vertical-align: middle; }
.alimento .q { margin-left: auto; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--neon); }
.trocas { font-size: 13px; color: var(--mu); padding: 0 0 6px 42px; }
.abas-mini { display: flex; gap: 6px; background: var(--card2); padding: 4px; border-radius: 14px; margin-bottom: 12px; }
.abas-mini button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 11px; color: var(--mu); font-weight: 700; }
.abas-mini button.ativo { background: var(--card); color: var(--neon); box-shadow: 0 2px 8px rgba(76, 29, 149, .12); }
.compras li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--bd); align-items: center; }
.compras { list-style: none; padding: 0; margin: 0; }
.compras input { width: 20px; height: 20px; accent-color: var(--neon); }
.compras .q { margin-left: auto; color: var(--mu); font-size: 14px; text-align: right; }

/* check-in */
.copos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.copo { width: 34px; height: 40px; border-radius: 6px 6px 10px 10px; border: 2px solid #cfe3fb; background: #f5faff; }
.copo.cheio { background: linear-gradient(#f5faff 20%, #60a5fa 20%); border-color: #60a5fa; }
.feedback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.feedback button { background: var(--card); border: 1.5px solid var(--bd); border-radius: 14px; padding: 12px 6px; font-weight: 600; }
.feedback button.sel { border-color: var(--neon); background: var(--neon-suave); color: var(--neon); }

/* abas */
.abas { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--bd); box-shadow: 0 -6px 24px rgba(76, 29, 149, .07); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); z-index: 10; }
.abas nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.abas a { display: grid; justify-items: center; gap: 2px; color: var(--mu); text-decoration: none; font-size: 12px; font-weight: 700; padding: 5px 0; border-radius: 14px; }
.abas a i { font-style: normal; font-size: 22px; line-height: 1; }
.abas a i .emo { width: 28px; height: 28px; vertical-align: middle; transition: transform .2s; }
.abas a.ativo { color: var(--neon); background: var(--neon-suave); }
.abas a.ativo i .emo { transform: translateY(-1px) scale(1.08); }

/* progresso */
.grafico { width: 100%; height: auto; display: block; }
.grafico text { fill: var(--mu); font-size: 10px; font-family: Outfit, sans-serif; }
.g-grade { stroke: var(--bd); stroke-width: 1; }
.g-ponto { fill: rgba(124, 58, 237, .28); }
.g-linha { fill: none; stroke: var(--neon); stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 3px 5px rgba(124, 58, 237, .3)); }
.g-meta { stroke: #f59e0b; stroke-width: 1.5; stroke-dasharray: 5 5; }
.grafico .g-meta-t { fill: #d97706; }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--mu); margin-top: 6px; }
.legenda i { display: inline-block; vertical-align: middle; margin-right: 5px; }
.l-ponto { width: 6px; height: 6px; border-radius: 50%; background: rgba(124, 58, 237, .28); }
.l-linha { width: 14px; height: 3px; background: var(--neon); border-radius: 2px; }
.l-meta { width: 14px; border-top: 2px dashed #f59e0b; }
.grade2 > *, .grade3 > * { min-width: 0; }
.campo input { width: 100%; }
.campo.mini { margin-top: 0; padding: 2px 12px; box-shadow: none; }
.campo.mini input { font-size: 18px; padding: 8px 0; }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th { text-align: left; color: var(--mu); font-weight: 600; font-size: 12px; padding: 6px 4px; }
.tabela td { padding: 7px 4px; border-top: 1px solid var(--bd); font-variant-numeric: tabular-nums; }
.fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-slot { display: grid; gap: 4px; justify-items: center; cursor: pointer; }
.foto-img { width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; border: 1.5px dashed #d9cdf3; background: var(--card2) center/cover no-repeat; display: grid; place-items: center; font-size: 26px; color: var(--mu); }
.foto-slot small { color: var(--mu); }
.foto-cmp { margin: 0; }
.foto-cmp img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }

/* Projeto 20 dias, atalhos, receitas, IA e jejum */
.check-dia { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.check-dia li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ck { width: 28px; height: 28px; border-radius: 9px; border: 2px solid #d9cdf3; background: var(--card); color: #fff; font-weight: 900; flex: none; display: grid; place-items: center; }
.ck.ok { background: var(--verde); border-color: var(--verde); }
.ck:disabled { cursor: default; }
.acoes-rapidas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 8px; }
.acoes-rapidas button { background: var(--card); border: 1px solid var(--bd); border-radius: 18px; padding: 12px 4px 10px; font-size: 12.5px; font-weight: 700; color: var(--tx); display: grid; justify-items: center; gap: 6px; box-shadow: var(--sombra); }
.acoes-rapidas i { font-style: normal; font-size: 26px; width: 48px; height: 48px; border-radius: 16px; background: var(--neon-suave); display: grid; place-items: center; }
.acoes-rapidas i .emo { width: 34px; height: 34px; vertical-align: middle; }
.acoes-rapidas:has(button:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.grade-dias { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0 16px; }
.dia20 { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: var(--card); border: 1px solid var(--bd); color: var(--mu); box-shadow: var(--sombra); }
.dia20.feito { background: var(--grad); color: #fff; border-color: transparent; }
.dia20.hoje { border: 2px solid var(--neon); color: var(--neon); background: var(--neon-suave); }
.dia20.perdido { background: var(--card2); box-shadow: none; }
.dia20.futuro { opacity: .55; box-shadow: none; }
.licao summary { cursor: pointer; padding: 2px 0; }
.licao p { margin: 8px 0 0; color: #4b3d6b; }
.chips-filtro { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 8px; scrollbar-width: none; }
.chips-filtro::-webkit-scrollbar { display: none; }
.chips-filtro button { flex: none; border: 1px solid var(--bd); background: var(--card); color: var(--mu); border-radius: 99px; padding: 7px 13px; font-size: 13px; font-weight: 700; box-shadow: var(--sombra); }
.chips-filtro button.ativo { background: linear-gradient(90deg, var(--neon), var(--neon2)); color: #fff; border-color: transparent; }
.lista-ing { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.lista-prep { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.chat-ia { display: flex; flex-direction: column; gap: 8px; min-height: 40vh; max-height: 58vh; overflow-y: auto; padding: 4px 0 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; white-space: pre-wrap; font-size: 15px; line-height: 1.45; }
.msg.ia { background: var(--card); border: 1px solid var(--bd); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: var(--sombra); }
.msg.eu { background: linear-gradient(135deg, var(--neon), var(--neon2)); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg.digitando { color: var(--mu); font-style: italic; }
.chat-entrada { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); background: var(--bg); padding: 8px 0; }
.chat-entrada textarea { width: 100%; resize: none; background: var(--card); color: var(--tx); border: 1.5px solid var(--bd); border-radius: 16px; padding: 10px 12px; font: inherit; }
.chat-entrada .btn { width: auto; padding: 12px 16px; }
.timer { text-align: center; }
.relogio { font-size: 52px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 10px 0; letter-spacing: .02em; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--tx); color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; z-index: 50; max-width: calc(100vw - 32px); text-align: center; box-shadow: 0 10px 26px rgba(36, 20, 63, .3); }

/* exames */
.mini-t { display: block; color: var(--mu); font-size: 12.5px; margin: 10px 0 4px; }
.sel, .txt { width: 100%; background: var(--card); color: var(--tx); border: 1.5px solid var(--bd); border-radius: 12px; padding: 11px 12px; font: inherit; }
.txt { margin-top: 8px; }
.x { background: none; border: 0; color: var(--mu); font-size: 24px; padding: 0 4px; }
.arq { padding: 8px 0; border-top: 1px solid var(--bd); width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; }
.arq:first-child { border-top: 0; }
.arq-nome { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf { width: 100%; height: 70vh; border-radius: 12px; background: #fff; border: 1px solid var(--bd); }
.g-banda { fill: rgba(34, 197, 94, .10); stroke: rgba(34, 197, 94, .45); stroke-dasharray: 4 4; }
.g-ponto-forte { fill: var(--neon); }
.l-banda { width: 14px; height: 10px; background: rgba(34, 197, 94, .16); border: 1px dashed rgba(34, 197, 94, .55); }
.tabela a { color: var(--neon); }
.foto-cmp figcaption { color: var(--mu); font-size: 12px; text-align: center; margin-top: 4px; }

/* Eu: cartão do perfil */
.perfil .avatar { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; font-size: 40px; }
.perfil .avatar .emo { width: 48px; height: 48px; vertical-align: middle; }
.perfil h3 { font-size: 22px; margin: 2px 0; }
