/* ---------- Shell: sidebar (desktop) + bottom nav (mobile) ---------- */
#app { min-height: 100dvh; position: relative; }
.shell { min-height: 100dvh; }
.sidebar { display: none; }
.content { min-width: 0; }
.screen { width: 100%; overflow-x: clip; max-width: 760px; margin: 0 auto; padding: calc(var(--safe-t) + 20px) var(--pad) calc(var(--tab-h) + var(--safe-b) + 36px); animation: rise .6s var(--eon-ease) both; }
.focus { width: 100%; max-width: 640px; margin: 0 auto; }
.screen.no-tabs { padding-bottom: calc(var(--safe-b) + 36px); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.stack-lg > * { min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  .sidebar { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100dvh; padding: 26px 14px 20px; background: rgba(5, 8, 18, .85); border-right: 1px solid rgba(255, 255, 255, .06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .screen { max-width: 1040px; padding: 40px 48px 64px; }
  .tabbar { display: none !important; }
  .toast { bottom: 28px !important; }
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: var(--eon-glow); object-fit: cover; }
.brand-mark svg { width: 18px; height: 18px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--eon-text-secondary); font-weight: 500; font-size: 14px; transition: color var(--eon-transition-fast), background var(--eon-transition-fast); }
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { color: var(--eon-text); background: rgba(255, 255, 255, .04); }
.nav-item[aria-current="page"] { color: var(--eon-text); background: var(--eon-gradient-soft); box-shadow: inset 0 0 0 1px rgba(120, 150, 255, .16); }
.nav-item[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--eon-gradient); box-shadow: 0 0 14px rgba(95, 225, 255, .7); }
.nav-item[aria-current="page"] svg { color: var(--eon-cyan); filter: drop-shadow(0 0 6px rgba(95, 225, 255, .55)); }
.sidebar .spacer { flex: 1; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--eon-glass-2); border: 1px solid var(--eon-border); font-size: 13px; }
.user-chip b { display: block; font-weight: 600; } .user-chip span { color: var(--eon-text-muted); font-size: 11px; }

.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 10px); width: min(calc(100% - 20px), 480px); height: 62px; padding: 0 6px; background: rgba(13, 20, 34, .82); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--eon-border); border-radius: 22px; box-shadow: var(--eon-shadow); display: grid; grid-template-columns: repeat(5, 1fr); z-index: 20; }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--eon-text-muted); font-size: 10.5px; font-weight: 600; border-radius: 16px; transition: color var(--eon-transition-fast); }
.tab svg { width: 22px; height: 22px; transition: transform var(--eon-transition-normal); }
.tab[aria-current="page"] { color: var(--eon-text); }
.tab[aria-current="page"] svg { transform: translateY(-1px); color: var(--eon-cyan); filter: drop-shadow(0 0 8px rgba(95, 225, 255, .6)); }
.tab[aria-current="page"]::after { content: ""; position: absolute; bottom: 4px; width: 18px; height: 3px; border-radius: 3px; background: var(--eon-gradient); box-shadow: 0 0 10px rgba(95, 225, 255, .7); }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; min-height: 44px; }
.topbar h2 { flex: 1; min-width: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--eon-glass-2); border: 1px solid var(--eon-border); display: grid; place-items: center; flex: none; backdrop-filter: blur(10px); transition: transform var(--eon-transition-fast), border-color var(--eon-transition-fast), background var(--eon-transition-fast); }
.icon-btn:hover { border-color: var(--eon-border-active); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 16px; font-weight: 600; font-size: 16px; letter-spacing: .01em; width: 100%; text-align: center; transition: transform var(--eon-transition-fast), filter var(--eon-transition-normal), box-shadow var(--eon-transition-normal), opacity var(--eon-transition-normal), border-color var(--eon-transition-fast); }
.btn:active { transform: scale(.975); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--eon-gradient); color: #050812; font-weight: 650; box-shadow: var(--eon-glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { filter: brightness(1.08) saturate(1.05); box-shadow: 0 10px 38px rgba(90, 120, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-secondary { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--eon-text); backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: var(--eon-border-active); background: rgba(255, 255, 255, .07); }
.btn-ghost { background: transparent; color: var(--eon-text-secondary); min-height: 46px; font-weight: 500; }
.btn-ghost:hover { color: var(--eon-text); }
.btn-danger { background: rgba(255, 107, 115, .1); color: var(--eon-red); border: 1px solid rgba(255, 107, 115, .28); }
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 16px; border-radius: 14px; width: auto; }
.btn-xl { min-height: 64px; font-size: 17px; border-radius: 20px; }
.btn[disabled] { opacity: .38; pointer-events: none; filter: saturate(.5); }
.btn.is-launching { animation: launch .45s var(--eon-ease) forwards; }
@keyframes launch { 0% { transform: scale(1); } 40% { transform: scale(1.04); box-shadow: 0 0 0 0 rgba(95, 225, 255, .5), 0 12px 50px rgba(95, 225, 255, .55); } 100% { transform: scale(1.02); box-shadow: 0 0 0 26px rgba(95, 225, 255, 0), 0 12px 60px rgba(123, 97, 255, .5); } }

/* ---------- Cards (superfícies de vidro) ---------- */
.card { position: relative; background: var(--eon-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--eon-radius-lg); padding: 20px; box-shadow: var(--eon-shadow); }
.card.flat { box-shadow: none; background: rgba(13, 20, 34, .5); }
.card.accent { background: radial-gradient(120% 140% at 85% -10%, rgba(95, 125, 255, .22), transparent 55%), radial-gradient(90% 120% at 0% 110%, rgba(155, 92, 255, .14), transparent 60%), rgba(17, 26, 43, .8); border-color: var(--eon-border-active); }
.card.tap { cursor: pointer; transition: transform var(--eon-transition-normal), border-color var(--eon-transition-normal), box-shadow var(--eon-transition-normal); }
.card.tap:hover { transform: translateY(-2px); border-color: var(--eon-border-active); box-shadow: 0 26px 70px rgba(0, 0, 0, .45); }
.card.tap:active { transform: scale(.985); }
.card-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eon-text-muted); margin-bottom: 12px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--eon-radius-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--eon-border); font-size: 14px; color: var(--eon-text-secondary); }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--eon-cyan); margin-top: 1px; }
.notice.warn { background: rgba(233, 181, 74, .08); border-color: rgba(233, 181, 74, .3); }
.notice.warn svg { color: var(--eon-amber); }
.notice.bad { background: rgba(255, 107, 115, .08); border-color: rgba(255, 107, 115, .28); color: var(--eon-text); }
.notice.bad svg { color: var(--eon-red); }
.coach { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--eon-radius-md); background: var(--eon-gradient-soft); border: 1px solid rgba(120, 150, 255, .2); font-size: 15px; }
.coach svg { width: 24px; height: 24px; flex: none; color: var(--eon-cyan); filter: drop-shadow(0 0 6px rgba(95, 225, 255, .5)); }

/* ---------- Chips / tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 40px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); border: 1px solid var(--eon-border); font-weight: 500; font-size: 14px; transition: all var(--eon-transition-fast); }
.chip:hover { border-color: var(--eon-border-active); }
.chip[aria-pressed="true"], .chip.on { background: var(--eon-gradient-soft); border-color: var(--eon-border-active); color: var(--eon-text); box-shadow: inset 0 0 0 1px rgba(95, 225, 255, .25); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .05); color: var(--eon-text-secondary); border: 1px solid var(--eon-border); }
.tag.ok { color: var(--eon-cyan); } .tag.warn { color: var(--eon-amber); } .tag.hard { color: var(--eon-orange); } .tag.bad { color: var(--eon-red); } .tag.acc { color: var(--eon-cyan); background: rgba(95, 225, 255, .08); border-color: rgba(95, 225, 255, .25); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta .pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--eon-border); border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--eon-text-secondary); }
.meta .pill svg { width: 15px; height: 15px; color: var(--eon-cyan); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .label { font-size: 11px; font-weight: 600; color: var(--eon-text-muted); letter-spacing: .12em; text-transform: uppercase; }
.input { width: 100%; min-height: 56px; border-radius: var(--eon-radius-md); border: 1px solid var(--eon-border); background: rgba(13, 20, 34, .7); padding: 0 16px; font-size: 17px; font-weight: 500; transition: border-color var(--eon-transition-fast), box-shadow var(--eon-transition-fast); }
.input::placeholder { color: var(--eon-text-muted); }
.input:focus { outline: none; border-color: var(--eon-border-active); box-shadow: 0 0 0 4px rgba(92, 140, 255, .12); }
.input-wrap { position: relative; }
.input-wrap .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--eon-text-muted); font-weight: 500; pointer-events: none; }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; text-align: left; min-height: 64px; padding: 12px 16px; border-radius: var(--eon-radius-md); background: rgba(13, 20, 34, .6); border: 1px solid var(--eon-border); font-weight: 550; font-size: 16px; width: 100%; transition: all var(--eon-transition-normal); }
.choice small { display: block; font-weight: 400; color: var(--eon-text-secondary); font-size: 13px; margin-top: 2px; }
.choice .emoji { font-size: 22px; width: 32px; text-align: center; flex: none; }
.choice:hover { border-color: var(--eon-border-active); }
.choice[aria-pressed="true"] { border-color: var(--eon-border-active); background: var(--eon-gradient-soft); box-shadow: 0 0 0 1px rgba(95, 225, 255, .18), var(--eon-glow); }
.choice:active { transform: scale(.985); }
.choice .check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); flex: none; display: grid; place-items: center; transition: all var(--eon-transition-normal); }
.choice[aria-pressed="true"] .check { background: var(--eon-gradient); border-color: transparent; color: #050812; box-shadow: 0 0 14px rgba(95, 225, 255, .5); }
.choice .check svg { width: 14px; height: 14px; opacity: 0; }
.choice[aria-pressed="true"] .check svg { opacity: 1; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: rgba(13, 20, 34, .7); padding: 4px; border-radius: var(--eon-radius-md); border: 1px solid var(--eon-border); }
.seg button { min-height: 46px; border-radius: 14px; font-weight: 550; font-size: 14px; color: var(--eon-text-secondary); transition: all var(--eon-transition-normal); }
.seg button[aria-pressed="true"] { background: var(--eon-gradient-soft); color: var(--eon-text); box-shadow: inset 0 0 0 1px rgba(120, 150, 255, .25); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-btn { aspect-ratio: 1; border-radius: 14px; background: rgba(13, 20, 34, .7); border: 1px solid var(--eon-border); font-weight: 600; font-size: 12px; display: grid; place-items: center; color: var(--eon-text-secondary); transition: all var(--eon-transition-normal); }
.day-btn[aria-pressed="true"] { background: var(--eon-gradient); color: #050812; border-color: transparent; box-shadow: var(--eon-glow); }

/* Stepper (carga / reps) */
.stepper { display: grid; grid-template-columns: 62px 1fr 62px; align-items: center; gap: 10px; }
.stepper button { height: 62px; border-radius: var(--eon-radius-md); background: rgba(255, 255, 255, .05); border: 1px solid var(--eon-border); font-size: 28px; font-weight: 400; transition: transform var(--eon-transition-fast), background var(--eon-transition-fast); }
.stepper button:active { transform: scale(.92); background: var(--accent-soft); }
.stepper .val { text-align: center; }
.stepper .val input { width: 100%; text-align: center; background: transparent; border: 0; font-size: 44px; font-weight: 600; letter-spacing: -.03em; padding: 0; min-width: 0; font-variant-numeric: tabular-nums; }
.stepper .val input:focus { outline: none; }
.stepper .val .u { font-size: 12px; color: var(--eon-text-muted); font-weight: 500; margin-top: -4px; letter-spacing: .06em; text-transform: uppercase; }

/* RIR / dificuldade */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border-radius: var(--eon-radius-md); background: rgba(13, 20, 34, .6); border: 1px solid var(--eon-border); font-weight: 600; font-size: 16px; text-align: left; width: 100%; transition: all var(--eon-transition-normal); }
.opt .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--eon-text-muted)); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--eon-text-muted)) 20%, transparent), 0 0 14px var(--c, transparent); }
.opt small { display: block; font-weight: 400; color: var(--eon-text-secondary); font-size: 13px; }
.opt[aria-pressed="true"] { border-color: color-mix(in srgb, var(--c, var(--eon-cyan)) 60%, transparent); background: color-mix(in srgb, var(--c, var(--eon-cyan)) 12%, rgba(13, 20, 34, .8)); box-shadow: 0 0 24px color-mix(in srgb, var(--c, var(--eon-cyan)) 18%, transparent); }
.rirrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rirrow .opt { flex-direction: column; justify-content: center; text-align: center; min-height: 64px; padding: 8px 4px; gap: 2px; font-size: 20px; --c: var(--eon-blue); }
.rirrow .opt small { font-size: 10.5px; }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Progress ---------- */
.bar { height: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--eon-gradient); box-shadow: 0 0 12px rgba(95, 225, 255, .55); transition: width .8s var(--eon-ease); }
.dots { display: flex; gap: 8px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .12); transition: all var(--eon-transition-normal); }
.dots i.done { background: var(--eon-gradient); border-color: transparent; box-shadow: 0 0 10px rgba(95, 225, 255, .6); }
.dots i.cur { border-color: var(--eon-cyan); box-shadow: 0 0 0 4px rgba(95, 225, 255, .14); }

/* ---------- Mídia do exercício ---------- */
.hero { position: relative; border-radius: var(--eon-radius-lg); overflow: hidden; background: var(--eon-bg-2); border: 1px solid var(--eon-border); aspect-ratio: 16 / 9; box-shadow: var(--eon-shadow); }
.hero > img, .hero > div > svg, .hero > video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 8, 18, .55) 0%, transparent 28%, transparent 60%, rgba(5, 8, 18, .75) 100%); }
.hero .ph-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(5, 8, 18, .6); color: var(--eon-text-secondary); font-size: 10.5px; font-weight: 500; padding: 5px 10px; border-radius: var(--r-pill); backdrop-filter: blur(8px); border: 1px solid var(--eon-border); }
.hero .find { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 14px 16px; color: var(--eon-text); font-weight: 600; font-size: 13px; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.hero .find::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--eon-cyan); box-shadow: 0 0 10px var(--eon-cyan); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.thumb { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; flex: none; background: var(--eon-bg-2); border: 1px solid var(--eon-border); }
.thumb > svg, .thumb > img { width: 100%; height: 100%; object-fit: cover; }

/* Cartão de exercício: foto grande + número + prescrição + dica */
.ex-card { position: relative; border-radius: var(--eon-radius-lg); overflow: hidden; background: var(--eon-glass); border: 1px solid rgba(255, 255, 255, .07); box-shadow: var(--eon-shadow); text-align: left; width: 100%; display: block; transition: transform var(--eon-transition-normal), border-color var(--eon-transition-normal), box-shadow var(--eon-transition-normal); }
button.ex-card:hover, a.ex-card:hover { transform: translateY(-2px); border-color: var(--eon-border-active); box-shadow: 0 26px 70px rgba(0, 0, 0, .5); }
.ex-card .hero { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.ex-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.ex-index { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--eon-cyan); }
.ex-card h3 { font-size: 21px; letter-spacing: -.02em; }
.ex-rx { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.ex-rx b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ex-rx span { color: var(--eon-text-secondary); font-size: 14px; }
.ex-tip { display: flex; gap: 8px; align-items: flex-start; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--eon-border); font-size: 13px; color: var(--eon-text-secondary); }
.ex-tip b { color: var(--eon-cyan); font-weight: 600; white-space: nowrap; }

/* ---------- Lists ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--eon-glass); border: 1px solid var(--eon-border); border-radius: var(--eon-radius-md); text-align: left; width: 100%; transition: transform var(--eon-transition-normal), border-color var(--eon-transition-normal); }
.item:hover { border-color: var(--eon-border-active); transform: translateY(-1px); }
.item:active { transform: scale(.985); }
.item .t { font-weight: 600; }
.item .s { font-size: 13px; color: var(--eon-text-secondary); }
.num-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--eon-cyan); display: grid; place-items: center; font-weight: 600; flex: none; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 14px; font-size: 16px; line-height: 1.4; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--eon-gradient-soft); border: 1px solid rgba(120, 150, 255, .3); color: var(--eon-cyan); display: grid; place-items: center; font-weight: 600; font-size: 13px; margin-top: 1px; }
.steps.avoid li::before { content: "✕"; background: rgba(255, 107, 115, .1); border-color: rgba(255, 107, 115, .3); color: var(--eon-red); font-size: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--eon-text-muted); font-weight: 500; } .kv dd { margin: 0; font-weight: 500; }

/* ---------- Sheet / overlay ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(2, 4, 10, .66); z-index: 50; animation: fadeIn .25s both; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 560px); max-height: 92dvh; background: rgba(10, 16, 28, .94); border: 1px solid var(--eon-border); border-bottom: 0; border-radius: 28px 28px 0 0; z-index: 51; display: flex; flex-direction: column; animation: sheetUp .42s var(--eon-ease) both; box-shadow: 0 -20px 80px rgba(0, 0, 0, .5), 0 -1px 0 rgba(120, 150, 255, .2); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
@media (min-width: 900px) { .sheet { bottom: 50%; border-radius: 28px; border-bottom: 1px solid var(--eon-border); max-height: 86dvh; animation: modalIn .42s var(--eon-ease) both; transform: translate(-50%, 50%); } }
.sheet .grab { width: 40px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .14); margin: 10px auto 4px; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 8px 20px 12px; flex: none; }
.sheet-head h2 { flex: 1; }
.sheet-body { overflow-y: auto; padding: 4px 20px calc(var(--safe-b) + 26px); -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 18px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translate(-50%, 50px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes modalIn { from { transform: translate(-50%, 46%) scale(.96); opacity: 0; } to { transform: translate(-50%, 50%) scale(1); opacity: 1; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + var(--safe-b) + 28px); background: rgba(17, 26, 43, .92); color: var(--eon-text); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 550; font-size: 14px; z-index: 80; box-shadow: var(--eon-shadow), 0 0 0 1px rgba(120, 150, 255, .25); backdrop-filter: blur(16px); animation: rise .4s var(--eon-ease) both; max-width: 90vw; text-align: center; }

/* ---------- Gráficos ---------- */
.chart { width: 100%; }
.chart text { fill: var(--eon-text-muted); font-size: 10.5px; font-weight: 500; font-family: var(--font); }
.chart .gridline { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.chart .ln { fill: none; stroke: url(#gradLine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(95, 225, 255, .55)); }
.chart .area { fill: url(#gradArea); }
.chart .pt { fill: var(--eon-bg); stroke: var(--eon-cyan); stroke-width: 2; }
.chart .barr { fill: url(#gradBar); filter: drop-shadow(0 0 8px rgba(95, 225, 255, .35)); }
.chart .barr.dim { fill: url(#gradBarDim); filter: none; }
.empty { text-align: center; padding: 28px 16px; color: var(--eon-text-secondary); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.empty b { color: var(--eon-text); font-weight: 600; }


/* tabbar com 6 itens */
.tabbar { grid-template-columns: repeat(6, 1fr); }
.tab { font-size: 10px; }
.tab svg { width: 21px; height: 21px; }
