:root {
  --red: #c62d2d; --red-d: #a82222; --red-l: #e0463a; --gold: #ffd76a; --gold-d: #5a1010;
  --ink: #2b1a17; --cream: #fff6ef; --muted: #6f5550; --line: #f1e3df;
  --ok: #1f6b47; --okbg: #dff1e4; --warnbg: #fff1c7; --warn: #6b4a07; --errbg: #fde2df;
  --r: 20px; --tap: 60px;
  --ff-t: "Fraunces", Georgia, serif; --ff: "Atkinson Hyperlegible", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); color: #fff; background: #7d1717; line-height: 1.4; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--ff-t); font-weight: 800; margin: 0; line-height: 1.05; letter-spacing: -.01em; }
a { color: inherit; }
img { max-width: 100%; }

/* ---------- Moldura (no PC fica como um celular no centro) ---------- */
.screen { position: relative; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--red);
  display: flex; flex-direction: column; overflow-x: hidden; padding-top: env(safe-area-inset-top); }
@media (min-width: 560px) {
  body { background: radial-gradient(circle at 20% 20%, #9c2121 0 2px, transparent 3px) 0 0/80px 80px, radial-gradient(circle at 70% 60%, #9c2121 0 2px, transparent 3px) 0 0/110px 110px, #7d1717; }
  .screen { box-shadow: 0 0 60px rgba(0,0,0,.35); }
}
.deco { position: absolute; border-radius: 50%; background: var(--red-l); pointer-events: none; z-index: 0; }
.deco.a { width: 260px; height: 260px; right: -110px; top: -90px; }
.deco.b { width: 150px; height: 150px; left: -70px; top: 300px; background: var(--red-d); }
.body { position: relative; z-index: 1; flex: 1; min-width: 0; width: 100%; padding: 20px 18px 24px; display: flex; flex-direction: column; }
.actions:empty { display: none; }
.actions { position: sticky; bottom: 0; z-index: 2; padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(198,45,45,0), var(--red) 28%); display: grid; gap: 10px; }

/* ---------- Botões ---------- */
.cta { width: 100%; min-height: 64px; border: 0; border-radius: 18px; background: var(--gold); color: var(--gold-d);
  font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 0 #d9a93a; transition: transform .08s, box-shadow .08s; padding: 0 18px; }
.cta:active { transform: translateY(3px); box-shadow: 0 3px 0 #d9a93a; }
.cta.white { background: #fff; color: var(--red); box-shadow: 0 6px 0 #e9c9c3; }
.cta.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; min-height: 56px; }
.cta.danger { background: #fff; color: var(--red); box-shadow: none; border: 2px solid #fff; }
.cta:disabled { opacity: .5; }
.link { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; min-height: 48px; padding: 8px; }
.back { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 0; color: #fff;
  border-radius: 999px; min-height: 48px; padding: 0 18px 0 12px; font-weight: 700; }

/* ---------- Topo de tela interna ---------- */
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.top h2 { font-size: 1.6rem; }
.top .back { padding: 0; width: 48px; justify-content: center; font-size: 1.3rem; flex: none; }

/* ---------- Início ---------- */
.tag { align-self: flex-start; background: #fff; color: var(--red); font-weight: 800; border-radius: 999px; padding: 8px 16px; }
.hero-title { font-size: 3.1rem; margin: 22px 0 0; }
.hero-title span { color: var(--gold); }
.tree { font-size: 6.5rem; text-align: center; margin: 4px 0; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); line-height: 1.1; }
.chips3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips3 div { background: rgba(0,0,0,.16); border-radius: 16px; padding: 10px 6px; text-align: center; font-size: .82rem; }
.chips3 b { display: block; font-family: var(--ff-t); font-size: 1.6rem; color: #fff; }
.hi { font-size: 2rem; }
.sub { opacity: .92; font-size: 1.05rem; margin-top: 4px; }
.mine { background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px; margin-top: 16px; display: flex; gap: 14px; align-items: center; border: 0; text-align: left; width: 100%; }
.mine .e { font-size: 2.4rem; }
.mine b { display: block; color: var(--red); font-size: 1.2rem; }
.mine small { color: var(--muted); }
.mine .go { margin-left: auto; color: var(--red); font-weight: 800; text-decoration: underline; }
.alert { background: var(--gold); color: var(--gold-d); border-radius: 16px; padding: 14px 16px; font-weight: 700; margin-top: 10px;
  display: flex; gap: 10px; align-items: center; border: 0; width: 100%; text-align: left; min-height: 56px; }
.alert .arrow { margin-left: auto; font-size: 1.3rem; }
.alert.soft { background: rgba(255,255,255,.16); color: #fff; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tile { background: rgba(255,255,255,.15); border: 0; color: #fff; border-radius: var(--r); padding: 16px 14px; text-align: left; min-height: 112px;
  display: flex; flex-direction: column; justify-content: space-between; font-weight: 800; font-size: 1.05rem; }
.tile .e { font-size: 2rem; }
.tile small { display: block; font-weight: 400; opacity: .9; font-size: .85rem; }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 76px; }
.roles { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.role { border: 2px solid rgba(255,255,255,.6); background: transparent; color: #fff; border-radius: 999px; min-height: 44px; padding: 0 16px; font-weight: 700; }
.role.on { background: #fff; color: var(--red); border-color: #fff; }

/* ---------- Passo a passo ---------- */
.progress { display: flex; gap: 6px; margin: 4px 0 6px; }
.progress i { flex: 1; height: 7px; border-radius: 9px; background: rgba(255,255,255,.28); }
.progress i.on { background: var(--gold); }
.stepinfo { font-size: .85rem; opacity: .85; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.q { font-size: 2rem; margin-bottom: 18px; }
.help { opacity: .92; margin: 10px 2px 0; }
.err { background: #fff; color: var(--red); border-radius: 14px; padding: 12px 14px; font-weight: 700; margin-top: 12px; }
.field { width: 100%; min-height: 66px; border: 3px solid transparent; border-radius: 18px; padding: 0 18px; font-size: 1.3rem; background: #fff; color: var(--ink); }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,215,106,.35); }
.field::placeholder { color: #b49b96; }
.opts { display: grid; gap: 12px; }
.opt { background: #fff; color: var(--red); border: 3px solid #fff; border-radius: 18px; min-height: 72px; padding: 12px 18px; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; gap: 14px; text-align: left; position: relative; }
.opt .e { font-size: 1.9rem; }
.opt small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.opt.sel { background: var(--gold); color: var(--gold-d); border-color: var(--gold); }
.opt.sel::after { content: "✓"; margin-left: auto; font-size: 1.4rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-opt { background: #fff; color: var(--ink); border: 3px solid #fff; border-radius: 18px; min-height: 104px; padding: 10px 8px; text-align: center;
  font-weight: 800; font-size: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; }
.card-opt .e { font-size: 2rem; line-height: 1; }
.card-opt small { font-weight: 400; font-size: .78rem; color: var(--muted); }
.card-opt.need { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.card-opt.need small { color: var(--red); font-weight: 800; }
.card-opt.sel { background: var(--gold); border-color: var(--gold); color: var(--gold-d); }
.card-opt.sel::after { content: "✓"; position: absolute; top: 6px; right: 10px; font-size: 1.1rem; }
.card-opt.taken { background: rgba(255,255,255,.22); border-color: transparent; color: #fff; }
.card-opt.taken small { color: #fff; opacity: .95; }
.card-opt.other { background: transparent; border: 3px dashed #fff; color: #fff; }
.card-opt.other small { color: #fff; }
.warn { background: var(--gold); color: var(--gold-d); border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { background: #fff; color: var(--red); border: 0; border-radius: 999px; min-height: 48px; padding: 0 16px; font-weight: 800; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 16px 0; }
.stepper button { width: 76px; height: 76px; border-radius: 50%; border: 0; background: #fff; color: var(--red); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stepper button:disabled { opacity: .35; }
.stepper output { min-width: 110px; text-align: center; font-family: var(--ff-t); font-size: 3.4rem; font-weight: 800; }
.stepper-label { text-align: center; font-size: 1.15rem; font-weight: 700; }
.toggle { background: #fff; color: var(--ink); border: 3px solid #fff; border-radius: 20px; padding: 16px; text-align: left; width: 100%; display: block; }
.toggle + .toggle { margin-top: 12px; }
.toggle h3 { font-size: 1.35rem; color: var(--red); display: flex; align-items: center; gap: 10px; }
.toggle h3::after { content: ""; margin-left: auto; width: 34px; height: 34px; border-radius: 10px; border: 3px solid #d9c4bf; flex: none; }
.toggle.sel { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.toggle.sel h3::after { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; display: grid; place-items: center; font-family: var(--ff); font-size: 1.2rem; }
.toggle .rule { display: inline-block; background: var(--warnbg); color: var(--warn); border-radius: 10px; padding: 4px 10px; font-weight: 800; margin: 8px 0 6px; }
.toggle p { margin: 0; color: var(--muted); font-size: .95rem; }
.toggle:disabled { opacity: .6; }
.names { display: grid; gap: 10px; }
.namerow { display: flex; gap: 8px; }
.namerow .field { min-height: 60px; font-size: 1.15rem; }
.namerow button { flex: none; width: 60px; border: 0; border-radius: 16px; background: rgba(255,255,255,.2); color: #fff; font-size: 1.3rem; }
.review { background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; }
.review div { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.review div:last-child { border: 0; }
.review span { color: var(--muted); font-size: .85rem; display: block; }
.review b { font-size: 1.05rem; }
.review button { margin-left: auto; flex: none; background: none; border: 0; color: var(--red); font-weight: 800; text-decoration: underline; min-height: 44px; padding: 0 6px; }

/* ---------- Cartões e listas ---------- */
.card { background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px; }
.card + .card, .card + .cat, .cat + .cat { margin-top: 12px; }
.card h3 { font-size: 1.25rem; color: var(--red); margin-bottom: 8px; }
.muted { color: var(--muted); }
.cat { background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; }
.cat h3 { font-size: 1.15rem; color: var(--red); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cat h3 .n { margin-left: auto; background: var(--red); color: #fff; border-radius: 99px; padding: 0 10px; font-family: var(--ff); font-size: .85rem; line-height: 1.6; }
.cat.need { background: var(--gold); }
.cat.need h3 { color: var(--gold-d); }
.cat.need h3 .n { background: var(--gold-d); }
.cat .it { padding: 6px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.cat .it:first-of-type { border-top: 0; }
.cat .it small { color: var(--muted); }
.you { background: var(--gold); color: var(--gold-d); border-radius: 6px; padding: 0 6px; font-size: .72rem; font-weight: 800; margin-left: 4px; vertical-align: 2px; }
.cat .pill { background: var(--gold-d); color: #fff; margin-top: 4px; }
.filters { display: flex; gap: 8px; margin-bottom: 12px; }
.filters button { flex: 1; min-height: 48px; border-radius: 999px; border: 2px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-weight: 700; }
.filters button.on { background: #fff; color: var(--red); border-color: #fff; }
.people { background: #fff; color: var(--ink); border-radius: var(--r); padding: 4px 14px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border: 0; }
.av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.av.gomes { background: var(--ok); } .av.sales { background: var(--red); } .av.ambas { background: linear-gradient(135deg, var(--ok) 50%, var(--red) 50%); }
.person .nm { font-weight: 800; }
.person small { color: var(--muted); display: block; }
.person .qt { margin-left: auto; flex: none; background: var(--cream); border-radius: 99px; padding: 4px 10px; font-weight: 800; font-size: .85rem; }
.big-money { text-align: center; margin: 4px 0 18px; }
.big-money b { display: block; font-family: var(--ff-t); font-size: 3.4rem; line-height: 1; }
.big-money small { opacity: .9; }
.status { display: inline-block; border-radius: 99px; padding: 4px 12px; font-weight: 800; font-size: .85rem; }
.st-falta, .st-recusado { background: var(--errbg); color: var(--red); }
.st-enviado { background: var(--warnbg); color: var(--warn); }
.st-aprovado { background: var(--okbg); color: var(--ok); }
.pix { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 14px; padding: 12px; margin: 10px 0; }
.pix code { flex: 1; word-break: break-all; font-size: 1rem; font-family: var(--ff); font-weight: 700; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; border-radius: 16px; border: 0; background: var(--red); color: #fff; font-weight: 800; font-size: 1.05rem; margin-top: 10px; text-decoration: none; }
.btn.o { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn.sm { min-height: 48px; width: auto; padding: 0 16px; margin: 0; font-size: .95rem; }
.btn.ok { background: var(--ok); }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--cream); flex: none; border: 1px solid var(--line); }

/* ---------- Amigo secreto ---------- */
.countdown { display: flex; gap: 8px; justify-content: center; margin: 14px 0; }
.countdown div { background: rgba(0,0,0,.18); border-radius: 16px; width: 76px; padding: 10px 4px; text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.countdown b { display: block; font-family: var(--ff-t); font-size: 2.1rem; text-transform: none; letter-spacing: 0; }
.namechips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.namechips span { background: rgba(255,255,255,.18); border-radius: 99px; padding: 4px 12px; font-size: .9rem; }
.gift-btn { width: 100%; border: 0; background: #fff; color: var(--red); border-radius: var(--r); padding: 18px; display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.15rem; text-align: left; }
.gift-btn + .gift-btn { margin-top: 10px; }
.gift-btn .e { font-size: 2.4rem; }
.gift-btn small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.gift { font-size: 8rem; text-align: center; margin: 30px 0 10px; border: 0; background: none; width: 100%; line-height: 1; filter: drop-shadow(0 14px 24px rgba(0,0,0,.3)); }
.gift.shake { animation: shake .5s ease-in-out 2; }
@keyframes shake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-8deg) scale(1.05); } 75% { transform: rotate(8deg) scale(1.05); } }
.reveal { background: #fff; color: var(--ink); border-radius: 24px; padding: 24px 18px; text-align: center; animation: pop .45s cubic-bezier(.2,1.6,.4,1); }
.reveal b { display: block; font-family: var(--ff-t); font-size: 2.6rem; color: var(--red); margin: 6px 0; line-height: 1.05; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.2s linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- Gestão ---------- */
.screen.adm { background: #2b1a17; }
.screen.adm .actions { background: linear-gradient(to bottom, rgba(43,26,23,0), #2b1a17 28%); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.kpis div { background: rgba(255,255,255,.08); border-radius: 16px; padding: 12px; text-align: center; font-size: .82rem; }
.kpis b { display: block; font-family: var(--ff-t); font-size: 1.7rem; color: var(--gold); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.tabs button { flex: 1 0 auto; min-height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; padding: 0 14px; }
.tabs button.on { background: var(--gold); color: var(--ink); }
.row { display: flex; align-items: center; gap: 10px; }
.row .grow { flex: 1; min-width: 0; }
.row + .row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.icon-btn { flex: none; width: 52px; height: 52px; border-radius: 14px; border: 0; font-size: 1.3rem; font-weight: 800; }
.icon-btn.yes { background: var(--ok); color: #fff; }
.icon-btn.no { background: var(--errbg); color: var(--red); }
.check { flex: none; min-width: 120px; min-height: 52px; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 800; }
.check.on { background: var(--ok); color: #fff; border-color: var(--ok); }
.lbl { display: block; font-weight: 700; font-size: .9rem; margin: 14px 0 6px; color: var(--gold); }
.screen.adm .field { min-height: 58px; font-size: 1.1rem; }
.switch { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px; margin-top: 12px; border: 0; color: #fff; width: 100%; text-align: left; min-height: 60px; }
.switch i { width: 52px; height: 30px; border-radius: 99px; background: #6f5550; position: relative; flex: none; }
.switch i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch.on i { background: var(--ok); }
.switch.on i::after { left: 26px; }
.pin { letter-spacing: .6em; text-align: center; font-size: 2rem !important; }

/* ---------- Diálogos e avisos ---------- */
.toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 16px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal .sheet { background: #fff; color: var(--ink); width: 100%; max-width: 480px; border-radius: 26px 26px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
.modal h3 { font-size: 1.4rem; color: var(--red); margin-bottom: 8px; }
.modal p { margin: 0 0 14px; color: var(--muted); }
.modal .btn + .btn { margin-top: 8px; }
.modal img.full { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; }
.loading { flex: 1; display: grid; place-items: center; font-size: 3rem; }
.demo-fab { position: fixed; right: 8px; top: 50%; opacity: .8; writing-mode: vertical-rl; padding: 12px 6px !important; z-index: 45; border: 0; border-radius: 99px; background: #111; color: #fff; padding: 10px 14px; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* vários itens */
.card-opt.mine { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); color: #fff; }
.card-opt.mine small { color: #fff; font-weight: 800; }
.review.bag .e { font-size: 1.8rem; color: inherit; flex: none; }
.tip { background: var(--gold); color: var(--gold-d); border-radius: 14px; padding: 12px 14px; margin-top: 14px; font-weight: 700; }
.actions .cta + .cta { margin-top: 10px; }

/* Núcleo: quem vai com a pessoa */
.crew { display: grid; gap: 10px; }
.mate { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border: 3px solid #fff; border-radius: 18px; padding: 10px 12px; width: 100%; text-align: left; }
.mate .av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; font-size: 1.1rem; }
.mate.kid .av { background: var(--warnbg); font-size: 1.5rem; }
.mate .grow { min-width: 0; }
.mate input:not([type]) { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.15rem; font-weight: 700; color: var(--ink); padding: 4px 0; border-bottom: 2px dashed transparent; }
.mate input:not([type]):focus { outline: 0; border-bottom-color: var(--gold); }
.mate small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mate b { font-size: 1.15rem; }
.mate .rm { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--line); color: var(--muted); font-size: 1.1rem; }
.kidchk { flex: none; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--muted); background: var(--cream); border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.kidchk input { width: 22px; height: 22px; accent-color: var(--ok); }
.kidchk:has(input:checked) { background: var(--warnbg); color: var(--warn); }
.addmate { margin-top: 14px; background: rgba(255,255,255,.14); border: 2px dashed rgba(255,255,255,.55); border-radius: 20px; padding: 12px; display: grid; gap: 10px; }
.addmate .field { min-height: 58px; font-size: 1.15rem; }
.addmate .row { display: flex; gap: 10px; align-items: stretch; }
.addmate .kidchk.big { background: #fff; font-size: 1rem; padding: 0 14px; }
.addmate .btn { flex: 1; min-height: 52px; }
.mate.pick .tick { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 3px solid #d9c4bf; }
.mate.pick.sel { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.mate.pick.sel .tick { background: var(--ok); border-color: var(--ok); }
.mate.pick.sel .tick::after { content: "✓"; color: #fff; display: grid; place-items: center; height: 100%; font-weight: 800; }
.person .names-l { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.addmate .btn { margin: 0; background: var(--ok); }
.kidchk.mini { display: inline-flex; padding: 4px 10px 4px 6px; margin-top: 2px; font-size: .85rem; }
.kidchk.mini input { width: 20px; height: 20px; }

/* Painel da anfitriã (#/casa) */
.hostbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hostbar .badge { background: var(--gold); color: var(--gold-d); font-weight: 800; border-radius: 999px; padding: 6px 14px; }
.hostbar small { opacity: .85; }
.kpi4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.kpi4 div { background: rgba(0,0,0,.16); border-radius: 16px; padding: 12px 8px; text-align: center; font-size: .85rem; }
.kpi4 b { display: block; font-family: var(--ff-t); font-size: 1.9rem; color: #fff; }
.kpi4 .big { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1rem; text-align: left; }
.kpi4 .big b { font-size: 2.6rem; color: var(--gold); }
.sec { font-family: var(--ff-t); font-size: 1.3rem; margin: 22px 0 10px; }
.menu .row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu .row:last-child { border: 0; }
.menu .e { font-size: 1.6rem; line-height: 1; flex: none; width: 34px; text-align: center; }
.menu .grow { flex: 1; min-width: 0; }
.menu b { display: block; }
.menu small { color: var(--muted); }
.menu .n { flex: none; background: var(--cream); border-radius: 99px; padding: 4px 10px; font-weight: 800; font-size: .85rem; }
.menu .row.falta { background: var(--warnbg); margin: 0 -16px; padding: 12px 16px; }
.menu .row.falta .n { background: var(--gold); color: var(--gold-d); }
.casa { display: grid; gap: 8px; }
.casa > div { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.15); border-radius: 16px; padding: 12px 14px; }
.casa .e { font-size: 1.6rem; }
.casa small { display: block; opacity: .9; }
.kid { background: var(--warnbg); color: var(--warn); border-radius: 8px; padding: 0 6px; font-weight: 700; white-space: nowrap; }
.nao { margin-top: 18px; font-size: .9rem; opacity: .85; text-align: center; }
.person .grow { flex: 1; min-width: 0; }
.wa { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #25d366; display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; margin-left: 6px; }
.btn.wa-send { background: #25d366; color: #0b3d20; }
.hostbar .badge { white-space: nowrap; }
.pairs { display: grid; gap: 6px; margin: 10px 0; max-height: 55vh; overflow: auto; }
.pairs div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.pairs span { color: var(--muted); font-size: .9rem; }
.pairs small { width: 100%; color: var(--warn); font-size: .8rem; }

/* Relatório (#/relatorio): página clara, boa para ler, imprimir e salvar em PDF */
.screen.report { background: #f6efe9; color: var(--ink); }
.screen.report .deco { display: none; }
.screen.report .top h2, .screen.report .top .back { color: var(--ink); }
.screen.report .actions { background: linear-gradient(to bottom, rgba(246,239,233,0), #f6efe9 28%); }
.screen.report .cta.ghost { color: var(--red); border-color: var(--red); }
.rel { background: #fff; border-radius: 16px; padding: 16px 14px; font-size: .92rem; }
.rel header h1 { font-family: var(--ff-t); font-size: 1.25rem; color: var(--red); margin: 0 0 4px; }
.rel header p { margin: 0; }
.rel .nota { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.rel section { margin-top: 18px; break-inside: avoid-page; }
.rel h2 { font-size: 1rem; margin: 0 0 6px; border-bottom: 2px solid var(--line); padding-bottom: 4px; }
.rel .alerta { color: var(--red); }
.rel table { width: 100%; border-collapse: collapse; }
.rel th { text-align: left; font-size: .75rem; text-transform: uppercase; color: var(--muted); padding: 4px 4px; }
.rel td { padding: 6px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.rel td small { color: var(--muted); }
.rel td.n { text-align: right; white-space: nowrap; }
.rel td.tel { white-space: nowrap; }
.rel tr.falta td { background: var(--warnbg); color: var(--warn); font-weight: 700; }
.rel .vazio { color: var(--muted); text-align: center; }
.rel .resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rel .resumo div { background: var(--cream); border-radius: 10px; padding: 8px 4px; text-align: center; font-size: .75rem; }
.rel .resumo b { display: block; font-size: 1.15rem; }
@media print {
  @page { margin: 12mm; }
  body, .screen.report { background: #fff !important; }
  .noprint, .actions, .demo-fab, .deco { display: none !important; }
  .screen { max-width: none; min-height: 0; }
  .screen .body { padding: 0; }
  .rel { padding: 0; border-radius: 0; font-size: 10.5pt; }
}
