/* FitDan — estilos do app */
:root {
  --brand: #f05a1a; --brand-2: #ff8a3d; --brand-soft: #fff0e8;
  --walk: #16a34a; --walk-soft: #e3f6ea;
  --water: #1f8fe5; --water-2: #0ea5e9; --water-soft: #e3f1fc;
  --gym: #7c4dde; --gym-soft: #efe9fc;
  --bg: #f3f5f8; --surface: #ffffff; --surface-2: #f5f7fa; --line: #e3e8ef;
  --text: #0e1621; --text-2: #3e4c5c; --muted: #6a7889;
  --pos: #148a45; --neg: #d63c3c; --warn: #c27c0e;
  --pos-soft: #e3f6ea; --neg-soft: #fde9e9; --warn-soft: #fcf2df;
  --grid: #e8ecf2;
  --shadow: 0 1px 2px rgba(14, 22, 33, .05), 0 4px 18px rgba(14, 22, 33, .06);
  --shadow-lg: 0 24px 60px rgba(14, 22, 33, .25);
  --r: 18px; --r-sm: 12px; --side: 244px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Sora', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #ff6b2c; --brand-2: #ff9a4d; --brand-soft: #3a1d10;
    --walk: #22c55e; --walk-soft: #0f2c1b; --water: #38a8f5; --water-2: #38bdf8; --water-soft: #0e2638; --gym: #9b7bf0; --gym-soft: #241b3d;
    --bg: #0b0f14; --surface: #141b23; --surface-2: #1b242f; --line: #25303d;
    --text: #eef3f8; --text-2: #c2ccd8; --muted: #8b98a9;
    --pos: #34d27a; --neg: #ff6b6b; --warn: #f5b041; --pos-soft: #0f2c1b; --neg-soft: #3a171b; --warn-soft: #382a10;
    --grid: #1f2833; --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 22px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #ff6b2c; --brand-2: #ff9a4d; --brand-soft: #3a1d10;
  --walk: #22c55e; --walk-soft: #0f2c1b; --water: #38a8f5; --water-2: #38bdf8; --water-soft: #0e2638; --gym: #9b7bf0; --gym-soft: #241b3d;
  --bg: #0b0f14; --surface: #141b23; --surface-2: #1b242f; --line: #25303d;
  --text: #eef3f8; --text-2: #c2ccd8; --muted: #8b98a9;
  --pos: #34d27a; --neg: #ff6b6b; --warn: #f5b041; --pos-soft: #0f2c1b; --neg-soft: #3a171b; --warn-soft: #382a10;
  --grid: #1f2833; --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 22px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-h); margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 20px; } h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
h3 svg.i { width: 18px; height: 18px; color: var(--muted); }
a { color: var(--brand); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; flex: none; stroke-width: 2; vertical-align: middle; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.grow { flex: 1; min-width: 0; } .row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .center { text-align: center; } .center-row { justify-content: center; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mb { margin-bottom: 16px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.big { font: 800 28px/1.1 var(--font-h); letter-spacing: -.02em; }
.big small { font-size: 15px; color: var(--muted); font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow svg.i { width: 16px; height: 16px; }
.sec-t { margin: 26px 0 12px; font-size: 17px; }

/* ---------------------------------------------------------- layout */
.app { display: flex; min-height: 100vh; }
.side { width: var(--side); flex: none; background: var(--surface); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 18px 12px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font: 800 21px var(--font-h); color: var(--text); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--text-2); font-weight: 500; margin-bottom: 2px; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.on { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.nav .sep { height: 1px; background: var(--line); margin: 10px 8px; font-size: 0; }
.nav .sep:not(:empty) { height: auto; background: none; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 4px 4px; font-weight: 600; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 12px 24px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-height: 62px; }
.top h1 { font-size: 20px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content { padding: 6px 24px 48px; max-width: 1160px; width: 100%; margin: 0 auto; }
.bottom { display: none; }
.live { display: flex; align-items: center; gap: 10px; margin: 0 24px 8px; padding: 10px 14px; border-radius: 14px; background: var(--walk); color: #fff; font-size: 14px; animation: pulse 2s infinite; }
.live.gym { background: var(--gym); }
.live span { flex: 1; }
@keyframes pulse { 50% { opacity: .82; } }

@media (max-width: 900px) {
  .side { display: none; }
  .hide-m { display: none !important; }
  .top { padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .content { padding: 4px 14px calc(100px + env(safe-area-inset-bottom)); }
  .live { margin: 0 14px 8px; }
  .bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom a, .bottom button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; font-weight: 600; }
  .bottom a.on { color: var(--brand); }
  .bottom .fab { width: 56px; height: 56px; border-radius: 20px; margin: -26px auto 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 45%, transparent); }
  .bottom .fab svg { width: 28px; height: 28px; }
  .app.focus .bottom { display: none; }
  .app.focus .content { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------- componentes */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.cols .card { margin-bottom: 16px; }
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; gap: 0; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 13px; border: 1px solid transparent; background: var(--brand); color: #fff; font-weight: 650; cursor: pointer; white-space: nowrap; transition: transform .08s, filter .15s; text-decoration: none; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn svg.i { width: 18px; height: 18px; }
.btn.sec { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { background: var(--neg); }
.danger-t, .danger-t b { color: var(--neg) !important; }
.btn.walk { background: var(--walk); } .btn.water { background: var(--water); } .btn.gym { background: var(--gym); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.big { padding: 15px 22px; font-size: 16px; border-radius: 16px; }
.btn.block { display: flex; width: 100%; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; position: relative; flex: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.icon-btn.sm { width: 32px; height: 32px; } .icon-btn.sm svg.i { width: 17px; height: 17px; }
.icon-btn.big { width: 56px; height: 56px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.icon-btn .dot { position: absolute; top: 4px; right: 3px; background: var(--neg); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.link { background: none; border: 0; padding: 0; color: var(--text); font-weight: 600; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.tag svg.i { width: 14px; height: 14px; }
.tag.brand { background: var(--brand); color: #fff; border-color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); color: var(--c, var(--brand)); }
.chip svg.i { width: 15px; height: 15px; }
.chip.fire { --c: var(--warn); }
.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar span { display: block; height: 100%; border-radius: 99px; transition: width .5s; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); margin-bottom: 16px; }
.note svg.i { color: var(--brand); width: 18px; height: 18px; margin-top: 1px; }
.note.warn { background: var(--warn-soft); border-color: transparent; } .note.warn svg.i { color: var(--warn); }
.empty { text-align: center; padding: 30px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.empty > svg.i { width: 40px; height: 40px; color: var(--line); stroke-width: 1.6; }
.empty b { color: var(--text); font-size: 16px; }
.loading { display: grid; place-items: center; padding: 60px 0; }
.spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.pi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, currentColor 13%, transparent); flex: none; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.ico svg.i { width: 20px; height: 20px; }
.ico.lg { width: 52px; height: 52px; border-radius: 15px; } .ico.lg svg.i { width: 26px; height: 26px; }

/* listas */
.list { display: flex; flex-direction: column; }
.lrow, .act { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; width: 100%; color: var(--text); cursor: pointer; }
.list > :last-child { border-bottom: 0; }
.lrow small, .act small { display: block; }
.lrow:hover, .act:hover { background: var(--surface-2); border-radius: 10px; }
.act b { font-weight: 600; }
.feel-s { font-size: 20px; }
.sep-t { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 12px 4px 4px; }
.day-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--muted); margin: 18px 4px 8px; }
.card.list { padding: 6px 12px; }
.notif.unread b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; }

/* formulários */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label, label.form { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 15px; font-weight: 500; outline: none; transition: border .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
select.inline { width: auto; display: inline-block; padding: 4px 8px; margin: 0 2px; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.suffix { position: relative; } .suffix input { padding-right: 42px; } .suffix span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: 13px; }
.search { margin-bottom: 12px; }
.switch { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; flex-wrap: wrap; font-weight: 500 !important; color: var(--text) !important; font-size: 14px !important; }
.switch input { display: none; }
.switch > span { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch > span::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + span { background: var(--walk); }
.switch input:checked + span::after { transform: translateX(18px); }
.lrow.switch > span { order: 3; }
.seg { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); padding: 4px; border-radius: 14px; }
.seg button, .seg label { flex: 1; text-align: center; padding: 8px 10px; border-radius: 10px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
[data-pose] label { text-transform: capitalize; }
.seg input { display: none; }
.seg button.on, .seg label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg.scroll { overflow-x: auto; scrollbar-width: none; }
.seg.scroll button { flex: none; }
.feel { display: flex; gap: 6px; }
.feel button { flex: 1; font-size: 26px; padding: 6px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; filter: grayscale(1); opacity: .6; transition: all .15s; }
.feel button.on { filter: none; opacity: 1; border-color: var(--brand); background: var(--brand-soft); transform: scale(1.06); }

/* modal, menu, toast */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(5, 9, 14, .55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; backdrop-filter: blur(3px); }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: 22px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: up .2s; }
.modal.wide { max-width: 680px; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.modal-h { display: flex; align-items: center; gap: 10px; padding: 16px 16px 8px 20px; }
.modal-h h2 { flex: 1; font-size: 18px; }
.modal-b { padding: 8px 20px 18px; overflow-y: auto; }
.modal-f { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 20px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 600px) {
  .overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom); }
  .modal-f .btn { flex: 1; }
}
.menu { position: fixed; z-index: 120; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 9px; cursor: pointer; text-align: left; color: var(--text); font-size: 14px; }
.menu button:hover { background: var(--surface-2); }
.menu button.danger { color: var(--neg); }
.toasts { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: #17202b; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; animation: up .2s; pointer-events: auto; }
.toast.ok { background: #15803d; } .toast.err { background: #c53030; } .toast.warn { background: #a16207; }
.toast button { background: none; border: 0; color: #fff; font-weight: 700; text-decoration: underline; cursor: pointer; }
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: var(--warn); color: #fff; text-align: center; font-size: 13px; padding: 5px; padding-top: max(5px, env(safe-area-inset-top)); }

/* anel */
.ring { position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; display: block; }
.ring-bg { fill: none; stroke: var(--surface-2); }
.ring-fg { fill: none; transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); }
.ring-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 800 16px var(--font-h); line-height: 1; text-align: center; }
.ring-t span { font-size: .55em; }
.ring-t small { font: 600 10px var(--font); color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------------------------------------------------------- Hoje */
.hero { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, var(--surface)), var(--surface) 55%); border: 1px solid var(--line); border-radius: 24px; padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.hero h2 { font-size: 22px; margin-top: 2px; }
.hero-l { flex: 1; min-width: 0; }
.hero-r .ring-t { font-size: 34px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 16px; }
.pillar { display: flex; align-items: center; gap: 10px; color: var(--text); }
.pillar .pi { width: 36px; height: 36px; }
.pillar b { font-size: 13.5px; }
@media (max-width: 640px) {
  .hero { flex-direction: column-reverse; align-items: stretch; padding: 18px; }
  .hero-r { display: flex; flex-direction: column; align-items: center; }
  .pillars { grid-template-columns: 1fr; gap: 10px; }
}
.plan-card { position: relative; overflow: hidden; }
.plan-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.plan-card.walk::before { background: var(--walk); } .plan-card.workout::before { background: var(--brand); }
.plan-card p { margin: 6px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xchip { border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); }
.xchip small { color: var(--muted); font-weight: 500; margin-left: 3px; }
.xchip:hover { border-color: var(--brand); }
.done-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--pos); font-weight: 700; font-size: 14px; }
.strip { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; margin: 6px 0; }
.strip span { min-width: 2px; opacity: .9; transition: opacity .2s; }
.strip .z-leve, .dot-z.z-leve { background: var(--walk); } .strip .z-moderado, .dot-z.z-moderado { background: var(--brand); } .strip .z-forte, .dot-z.z-forte { background: var(--neg); }
.strip span.done { opacity: .3; } .strip span.cur { outline: 2px solid var(--text); outline-offset: -2px; }
.dot-z { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin: 0 4px 0 8px; vertical-align: middle; }
.water-row { display: flex; gap: 16px; align-items: center; margin-top: 10px; }
.glass { width: 70px; height: 92px; border: 3px solid var(--water); border-top: 0; border-radius: 0 0 18px 18px; position: relative; overflow: hidden; flex: none; display: grid; place-items: center; }
.glass span { position: relative; font-weight: 800; font-size: 14px; z-index: 1; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, var(--water-2), var(--water)); opacity: .6; transition: height .6s; }
.habits { display: flex; flex-direction: column; gap: 6px; }
.habit { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); transition: all .15s; }
.habit input { display: none; }
.habit b { font-size: 14px; font-weight: 600; } .habit small { display: block; color: var(--muted); font-size: 12px; }
.hb { width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: transparent; transition: all .15s; }
.hb svg.i { width: 16px; height: 16px; stroke-width: 3; }
.habit.on { background: var(--gym-soft); border-color: transparent; }
.habit.on .hb { background: var(--gym); border-color: var(--gym); color: #fff; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; border-radius: 12px; color: var(--text); }
.wd small { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.wd.cur { background: var(--surface-2); outline: 1px solid var(--line); }
.wd-ring { width: 38px; height: 38px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); border: 2px dashed var(--line); border-radius: 50%; }
.wd-ic { display: flex; gap: 2px; } .wd-ic i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.tip { background: linear-gradient(135deg, var(--warn-soft), var(--surface) 70%); }
.nut-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.nut-row b { display: block; font: 800 19px var(--font-h); } .nut-row small { color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------- plano */
.hero-plan { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 60%); }
.weeks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.weeks span { height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.weeks span.done.f1 { background: var(--walk); color: #fff; border-color: transparent; } .weeks span.done.f2 { background: var(--brand); color: #fff; border-color: transparent; } .weeks span.done.f3 { background: var(--gym); color: #fff; border-color: transparent; }
.weeks span.cur { outline: 2px solid var(--brand); color: var(--text); }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phase { border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 10px 12px; text-align: left; cursor: pointer; color: var(--text); border-top: 3px solid var(--c); }
.phase b { display: block; font-size: 13.5px; } .phase small { color: var(--muted); font-size: 12px; }
.phase.on { background: color-mix(in srgb, var(--c) 14%, var(--surface)); }
@media (max-width: 600px) { .phases { grid-template-columns: 1fr; } .weeks span { height: 26px; font-size: 11px; } }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.gday { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 14px; cursor: pointer; color: var(--text); display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: transform .1s, border .15s; }
.gday:hover { border-color: var(--brand); transform: translateY(-1px); }
.gday.today { border: 2px solid var(--brand); }
.gline { display: flex; gap: 10px; align-items: flex-start; }
.gline > svg.i { width: 18px; height: 18px; margin-top: 2px; }
.gline.walk > svg.i { color: var(--walk); } .gline.work > svg.i { color: var(--brand); }
.gline b { display: block; font-size: 13.5px; } .gline small { color: var(--muted); font-size: 12px; }
.checks { padding: 0; margin: 10px 0 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.checks li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-2); }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 6px; background: var(--walk-soft); color: var(--walk); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.checks.no li::before { content: '✕'; background: var(--neg-soft); color: var(--neg); }
.segs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.segs li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.seg-n { min-width: 38px; height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 12.5px; }
.segs .dot-z { margin-left: 0; }
.exlist { padding-left: 22px; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.exlist li { padding-left: 4px; } .exlist li span { float: right; }
.steps { padding-left: 22px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 14.5px; }
.steps.compact { font-size: 13px; gap: 3px; text-align: left; margin: 14px auto; max-width: 440px; }

/* ---------------------------------------------------------- treinos */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.wcard { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; color: var(--text); cursor: pointer; text-align: left; box-shadow: var(--shadow); }
.wcard.col-card { flex-direction: column; align-items: stretch; gap: 4px; }
.wcard.col-card b { display: flex; align-items: center; gap: 6px; font-size: 14px; } .wcard.col-card b svg.i { width: 17px; height: 17px; color: var(--walk); }
.wcard:hover { border-color: var(--brand); }
.wcard.today { border: 2px solid var(--brand); }
.wcard b { display: block; } .wcard small { color: var(--muted); font-size: 12.5px; }
.wcode { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font: 800 20px var(--font-h); flex: none; }
.exgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 16px; }

/* player (treino guiado e resumo) */
.player { max-width: 560px; margin: 0 auto; text-align: center; }
.player.intro, .player.done { padding-top: 6px; }
.player.intro .exlist, .player.done .form { text-align: left; }
.player h2 { font-size: 24px; margin: 8px 0 4px; }
.ptop { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pbody { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ex-name { font-size: 28px !important; }
.count { font: 800 76px/1 var(--font-h); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 14px 0 6px; }
.player.rest .count { color: var(--water); }
.pbar { width: 100%; max-width: 360px; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.pbar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s linear; }
.player.rest .pbar span { background: var(--water); }
.target { display: flex; align-items: center; gap: 22px; }
.target .count { margin: 10px 0 0; }
.nextup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nextup b { font-size: 18px; }
.water-mini { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.trophy { width: 84px; height: 84px; border-radius: 28px; margin: 6px auto 4px; display: grid; place-items: center; background: linear-gradient(135deg, var(--warn), var(--brand)); color: #fff; box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 35%, transparent); }
.trophy.walk { background: linear-gradient(135deg, var(--walk), var(--water)); }
.trophy svg.i { width: 42px; height: 42px; }
.stats3, .stats4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; text-align: center; }
.stats4 { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); text-align: left; }
.stats3 > div, .stats4 > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.stats3 b, .stats4 b { display: block; font: 800 20px var(--font-h); font-variant-numeric: tabular-nums; }
.stats3 small, .stats4 small { color: var(--muted); font-size: 12px; }
.stats3.card { padding: 10px; }

/* academia */
.hero-gym { background: linear-gradient(135deg, var(--gym-soft), var(--surface) 65%); }
.gymbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gymbar b { font: 800 26px var(--font-h); display: block; } .gymbar small { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.gtitle { flex: 1; font-weight: 700 !important; }
.restbox { position: sticky; top: 70px; z-index: 20; display: flex; align-items: center; gap: 10px; background: var(--water); color: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 12px; font-weight: 600; }
.restbox b { font: 800 20px var(--font-h); flex: 1; }
.gitem { padding: 14px; }
.sets { margin: 10px 0 6px; }
.sh, .srow { display: grid; grid-template-columns: 38px 1fr 1fr 44px; gap: 8px; align-items: center; }
.sh { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; padding: 0 0 4px; }
.srow { padding: 4px 0; }
.srow input { padding: 9px 10px !important; text-align: center; font-weight: 700 !important; }
.sn { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.chk { width: 42px; height: 40px; border-radius: 12px; border: 2px solid var(--line); background: none; color: transparent; cursor: pointer; display: grid; place-items: center; }
.chk svg.i { stroke-width: 3; }
.srow.done .chk { background: var(--walk); border-color: var(--walk); color: #fff; }
.srow.done input { background: var(--walk-soft) !important; }

/* caminhada */
.walk-hero { background: linear-gradient(135deg, var(--walk-soft), var(--surface) 60%); }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mode { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: left; cursor: pointer; }
.mode svg.i { color: var(--walk); width: 24px; height: 24px; margin-bottom: 4px; }
.mode b { font-size: 14px; } .mode small { color: var(--muted); font-size: 12px; }
.mode:hover { border-color: var(--walk); }
@media (max-width: 700px) { .modes { grid-template-columns: 1fr 1fr; } }
.map { height: 260px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); position: relative; z-index: 0; }
.map.big { height: 38vh; min-height: 220px; }
.map-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; padding: 20px; text-align: center; }
.gps-st { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 13px; font-weight: 600; color: var(--muted); margin: 8px 0; }
.gps-st.ok { color: var(--pos); } .gps-st.mid { color: var(--warn); } .gps-st.bad { color: var(--neg); }
.gps-st svg.i { width: 16px; height: 16px; }
.machine { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--walk-soft), var(--water-soft)); }
.machine svg.i { width: 46px; height: 46px; color: var(--walk); }
.machine b { font: 800 20px var(--font-h); } .machine small { color: var(--text-2); max-width: 360px; }
.track-setup { max-width: 640px; margin: 0 auto; }
.track { max-width: 640px; margin: 0 auto; }
.tpanel { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.tclock { text-align: center; }
.tclock b { font: 800 68px/1 var(--font-h); letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: block; }
.tclock small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.track.paused .tclock b { color: var(--warn); animation: pulse 1.2s infinite; }
.tstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; text-align: center; }
.tstats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; }
.tstats b { display: block; font: 800 22px var(--font-h); font-variant-numeric: tabular-nums; }
.tstats small { color: var(--muted); font-size: 11.5px; }
.segnow { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.sz { border-radius: 16px; padding: 12px 14px; color: #fff; display: flex; flex-direction: column; text-align: left; }
.sz.z-leve { background: var(--walk); } .sz.z-moderado { background: var(--brand); } .sz.z-forte { background: var(--neg); }
.sz b { font: 800 20px var(--font-h); } .sz span { font-size: 14px; opacity: .95; }
.sz .zlab { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; opacity: .85; }
.sleft { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.sleft b { font: 800 26px var(--font-h); font-variant-numeric: tabular-nums; } .sleft small { font-size: 11px; color: var(--muted); }
.snext { grid-column: 1 / -1; font-size: 13px; color: var(--text-2); text-align: left; padding: 0 4px; }
.tbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.splits { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.splits span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; text-align: center; }
.splits small { display: block; color: var(--muted); font-size: 11px; } .splits b { font-variant-numeric: tabular-nums; }
.act-head h2 { font-size: 20px; }
.feel-b { font-size: 32px; }

/* água */
.bottle { width: 150px; height: 220px; margin: 0 auto; border: 4px solid var(--water); border-radius: 30px 30px 40px 40px; position: relative; overflow: hidden; display: grid; place-items: center; }
.bottle::before { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 60px; height: 14px; background: var(--water); border-radius: 0 0 8px 8px; }
.bottle .bt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.bottle .bt b { font: 800 30px var(--font-h); } .bottle .bt small { color: var(--text-2); font-weight: 600; }
.wbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.wbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--water-soft); color: var(--text); cursor: pointer; transition: transform .08s; }
.wbtn:active { transform: scale(.95); }
.wbtn svg.i { color: var(--water); width: 24px; height: 24px; } .wbtn b { font-size: 14px; } .wbtn small { color: var(--muted); font-size: 11.5px; }

/* corpo e progresso */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kpi small { color: var(--muted); font-size: 12px; font-weight: 600; } .kpi b { font: 800 22px var(--font-h); margin: 2px 0; } .kpi span { font-size: 12.5px; font-weight: 600; }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr 1fr; } }
.chart { width: 100%; height: auto; display: block; margin: 8px 0; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .goal { stroke: var(--walk); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .goal-t { fill: var(--walk); font-weight: 700; }
.chart-empty { padding: 30px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ph { margin: 0; cursor: pointer; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.compare { display: flex; flex-direction: column; gap: 14px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: center; }
.cmp figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; position: relative; }
.cmp img { width: 100%; height: 100%; object-fit: cover; }
.cmp figcaption { position: absolute; bottom: 6px; left: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 8px; }
.cmp small { grid-column: 1 / -1; text-transform: capitalize; color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 8px 4px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl.swaps td:nth-child(2) { color: var(--brand); font-weight: 800; width: 24px; text-align: center; }
.tbl.swaps td:first-child { color: var(--muted); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.totals > div { display: flex; flex-direction: column; align-items: flex-start; background: var(--surface-2); border-radius: 14px; padding: 10px; }
.totals svg.i { color: var(--brand); width: 18px; height: 18px; } .totals b { font: 800 17px var(--font-h); margin-top: 4px; } .totals small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 500px) { .totals { grid-template-columns: 1fr 1fr; } }
.badge-link { display: flex; align-items: center; gap: 12px; color: var(--text); }
.badge-link > svg.i:first-child { color: var(--warn); width: 28px; height: 28px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.cal .ch { text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.cd { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text); background: color-mix(in srgb, var(--walk) calc(var(--s) * 60%), var(--surface-2)); font-size: 13px; }
.cd.fut { opacity: .4; pointer-events: none; } .cd.tod { outline: 2px solid var(--brand); }
.cd span { display: flex; gap: 2px; height: 5px; } .cd i { width: 5px; height: 5px; border-radius: 50%; }
.cd i.w { background: var(--walk); filter: brightness(.7); } .cd i.t { background: var(--brand); } .cd i.a { background: var(--water); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .55; filter: grayscale(1); }
.badge.on { opacity: 1; filter: none; border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); box-shadow: var(--shadow); }
.bi { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--warn), var(--brand)); color: #fff; margin-bottom: 4px; }
.bi svg.i { width: 26px; height: 26px; }
.badge b { font-size: 14px; } .badge small { color: var(--muted); font-size: 12px; } .badge em { font-style: normal; color: var(--pos); font-size: 12px; font-weight: 700; }

/* alimentação */
.nut-hero { background: linear-gradient(135deg, var(--walk-soft), var(--surface) 60%); }
.macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.macros > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.macros b { font: 800 19px var(--font-h); display: block; color: var(--c); } .macros small { color: var(--muted); font-size: 12px; display: block; margin-bottom: 6px; }
@media (max-width: 600px) { .macros { grid-template-columns: 1fr 1fr; } }
.meals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 12px; }
.meal { display: flex; gap: 12px; }
.meal .pi { color: var(--brand); }

/* mais */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 3px; color: var(--text); box-shadow: var(--shadow); }
.mitem .pi { margin-bottom: 6px; } .mitem b { font-size: 14.5px; } .mitem small { color: var(--muted); font-size: 12px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; }
.q svg.i { width: 24px; height: 24px; margin-bottom: 4px; color: var(--muted); }
.q.walk svg.i { color: var(--walk); } .q.water svg.i { color: var(--water); } .q.brand svg.i { color: var(--brand); } .q.gym svg.i { color: var(--gym); }
.q b { font-size: 14px; } .q span { font-size: 12px; color: var(--muted); }
.push-st { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.push-st.ativo { background: var(--pos-soft); color: var(--pos); } .push-st.negado { background: var(--neg-soft); color: var(--neg); }
.onb { max-width: 620px; margin: 0 auto; }

/* acesso */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: radial-gradient(circle at 20% 10%, #ff8a3d55, transparent 50%), radial-gradient(circle at 80% 90%, #22c55e44, transparent 50%), #0b0f14; color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.auth-art h1 { font-size: 46px; letter-spacing: -.03em; margin: 14px 0 8px; }
.auth-art p { color: #c2ccd8; max-width: 420px; font-size: 16px; }
.auth-art ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; color: #e7edf4; }
.auth-art li { display: flex; align-items: center; gap: 10px; } .auth-art li svg.i { color: #ff8a3d; }
.auth-logo { width: 72px; height: 72px; border-radius: 20px; }
.auth-card { margin: auto; width: min(420px, 92vw); padding: 30px 0; }
.auth-card h2 { font-size: 26px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
@media (max-width: 800px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { padding: 36px 24px 26px; padding-top: max(36px, env(safe-area-inset-top)); }
  .auth-art h1 { font-size: 34px; } .auth-art ul { display: none; }
  .auth-card { padding: 26px 0 40px; }
}

/* Leaflet no tema escuro */
:root[data-theme="dark"] .leaflet-tile-pane { filter: brightness(.75) contrast(1.1) saturate(.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaflet-tile-pane { filter: brightness(.75) contrast(1.1) saturate(.8); } }
.leaflet-container { font: inherit; background: var(--surface-2); }
