:root {
  --bg: #07090f;
  --bg2: #0d111b;
  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --txt: #eef2f8;
  --txt-2: #a3adbf;
  --txt-3: #6b7588;
  --verde: #34d399;
  --verde-2: #10b981;
  --rojo: #fb7185;
  --ambar: #fbbf24;
  --violeta: #a78bfa;
  --azul: #60a5fa;
  --cian: #22d3ee;
  --grad: linear-gradient(135deg, #34d399 0%, #22d3ee 55%, #818cf8 100%);
  --r: 20px;
  --r-s: 14px;
  --sombra: 0 10px 40px -12px rgba(0, 0, 0, 0.7);
  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 10% -10%, rgba(52, 211, 153, 0.13), transparent 60%),
    radial-gradient(50vmax 50vmax at 110% 10%, rgba(129, 140, 248, 0.13), transparent 60%),
    radial-gradient(50vmax 50vmax at 50% 120%, rgba(34, 211, 238, 0.08), transparent 60%);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
.oculto { display: none !important; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pos { color: var(--verde); }
.neg { color: var(--rojo); }
.amb { color: var(--ambar); }
.vio { color: var(--violeta); }
.muted { color: var(--txt-2); }
.tiny { font-size: 12px; color: var(--txt-3); }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100%; }
.side { display: none; }
.main { flex: 1; min-width: 0; padding: calc(var(--safe-t) + 8px) 16px calc(var(--nav-h) + var(--safe-b) + 28px); max-width: 1180px; margin: 0 auto; width: 100%; }

.top { display: flex; align-items: center; gap: 12px; padding: 10px 2px 16px; }
.top h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; flex: 1; }
.top .saludo { font-size: 13px; color: var(--txt-2); font-weight: 400; display: block; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); transition: .2s; font-size: 18px; flex-shrink: 0;
}
.icon-btn:hover { background: var(--card-2); border-color: var(--line-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }

.sync {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--txt-2); white-space: nowrap;
}
.sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--txt-3); }
.sync[data-e="ok"] i { background: var(--verde); box-shadow: 0 0 10px var(--verde); }
.sync[data-e="sync"] i { background: var(--cian); animation: pulso 1s infinite; }
.sync[data-e="pendiente"] i, .sync[data-e="offline"] i { background: var(--ambar); }
.sync[data-e="error"] i, .sync[data-e="sinsesion"] i { background: var(--rojo); }
@keyframes pulso { 50% { opacity: .3; } }

/* Bottom nav */
.nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--safe-b)); z-index: 40;
  width: min(520px, calc(100% - 20px)); height: var(--nav-h);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(14, 18, 28, 0.78); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--sombra);
}
.nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--txt-3); transition: .2s; padding: 6px 0; }
.nav a svg { width: 22px; height: 22px; }
.nav a.on { color: var(--txt); }
.nav a.on svg { color: var(--verde); filter: drop-shadow(0 0 8px rgba(52, 211, 153, .6)); }
.fab {
  justify-self: center; width: 58px; height: 58px; border-radius: 20px; margin-top: -26px;
  background: var(--grad); color: #04130d; display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(52, 211, 153, .6), inset 0 1px 0 rgba(255, 255, 255, .4); transition: .2s;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: translateY(-2px) rotate(90deg); }
.fab:active { transform: scale(.92); }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sec { margin-top: 22px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.sec-h h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sec-h a, .link { font-size: 13px; color: var(--verde); font-weight: 500; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.vista { animation: entrar .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 22px; border-radius: 26px;
  background: linear-gradient(145deg, rgba(52, 211, 153, .16), rgba(34, 211, 238, .06) 45%, rgba(129, 140, 248, .14));
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero::after {
  content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, .35), transparent 70%); filter: blur(10px);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; color: var(--txt-2); font-size: 14px; position: relative; z-index: 1; }
.hero-monto { font-size: clamp(34px, 9vw, 46px); font-weight: 700; letter-spacing: -0.035em; margin: 4px 0 18px; position: relative; z-index: 1; line-height: 1.1; }
.hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; position: relative; z-index: 1; }
.hero-grid > div { background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 10px 12px; }
.hero-grid small { display: block; font-size: 11.5px; color: var(--txt-2); }
.hero-grid b { font-size: 16px; font-weight: 600; }

.stat { padding: 14px; }
.stat small { font-size: 12px; color: var(--txt-2); display: flex; align-items: center; gap: 6px; }
.stat b { display: block; font-size: 18px; font-weight: 650; margin-top: 4px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; text-align: center; font-size: 12px; color: var(--txt-2); transition: .2s; }
.tile span { font-size: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--card-2); }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }

/* Barras de progreso */
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bar.rojo > i { background: linear-gradient(90deg, #fb7185, #f472b6); }
.bar.vio > i { background: linear-gradient(90deg, #a78bfa, #818cf8); }
.bar.amb > i { background: linear-gradient(90deg, #fbbf24, #fb923c); }
.bar.sm { height: 5px; }

/* Lista */
.lista { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .15s; border-radius: 12px; }
.item:last-child { border-bottom: 0; }
.item:hover { background: rgba(255, 255, 255, .03); }
.ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.item .txt { flex: 1; min-width: 0; }
.item .txt b { display: block; font-weight: 550; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .txt small { font-size: 12px; color: var(--txt-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.item .monto { font-weight: 600; white-space: nowrap; text-align: right; }
.item .monto small { display: block; font-size: 11px; color: var(--txt-3); font-weight: 400; }
.tag { font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--card-2); color: var(--txt-2); }
.tag.h { background: rgba(251, 191, 36, .14); color: var(--ambar); }
.tag.f { background: rgba(96, 165, 250, .14); color: var(--azul); }
.tag.d { background: rgba(251, 113, 133, .14); color: var(--rojo); }
.tag.m { background: rgba(167, 139, 250, .14); color: var(--violeta); }
.tag.ok { background: rgba(52, 211, 153, .14); color: var(--verde); }
.dia-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--txt-3); padding: 16px 4px 4px; text-transform: capitalize; }

/* Objetivo cards */
.obj { padding: 16px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: .2s; }
.obj:hover { border-color: var(--line-2); transform: translateY(-2px); }
.obj-h { display: flex; gap: 12px; align-items: center; }
.obj-h .txt { flex: 1; min-width: 0; }
.obj-h b { font-size: 15.5px; font-weight: 600; }
.obj-h small { display: block; font-size: 12px; color: var(--txt-3); }
.fila { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--txt-2); }
.fila b { color: var(--txt); font-weight: 600; }
.meta-box { background: rgba(0, 0, 0, .2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--txt-2); display: flex; flex-direction: column; gap: 6px; }
.acciones { display: flex; gap: 8px; }
.ring { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 650; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 14px;
  background: var(--card-2); border: 1px solid var(--line-2); font-weight: 550; font-size: 14px; transition: .2s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .11); }
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--grad); color: #04130d; border: 0; box-shadow: 0 8px 24px -8px rgba(52, 211, 153, .55); font-weight: 650; }
.btn.peligro { background: rgba(251, 113, 133, .12); color: var(--rojo); border-color: rgba(251, 113, 133, .25); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 11px; }
.btn.blk { width: 100%; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* Segmented / chips */
.seg { display: flex; gap: 4px; padding: 4px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; color: var(--txt-2); font-weight: 500; white-space: nowrap; transition: .2s; }
.seg button.on { background: var(--card-2); color: var(--txt); box-shadow: inset 0 0 0 1px var(--line-2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--txt-2); white-space: nowrap; transition: .2s; }
.chip.on { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: var(--verde); }

.mes-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mes-nav b { font-size: 16px; font-weight: 600; text-transform: capitalize; }

/* Formularios */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label, .lbl { font-size: 12.5px; color: var(--txt-2); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); outline: none; transition: .2s; font-size: 15px;
}
.input:focus { border-color: var(--verde); box-shadow: 0 0 0 4px rgba(52, 211, 153, .12); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3adbf' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.input option { background: #141925; }
.monto-in { text-align: center; padding: 8px 0 14px; }
.monto-in .input { font-size: 40px; font-weight: 700; text-align: center; background: none; border: 0; box-shadow: none; padding: 4px; letter-spacing: -0.03em; }
.monto-in .input::placeholder { color: var(--txt-3); }
.monto-in small { color: var(--txt-3); font-size: 12px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cat-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 11.5px; color: var(--txt-2); transition: .15s; }
.cat-btn span { font-size: 22px; }
.cat-btn.on { border-color: var(--c, var(--verde)); background: color-mix(in srgb, var(--c, #34d399) 16%, transparent); color: var(--txt); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .2); margin-bottom: 14px; cursor: pointer; }
.switch.neutro { background: var(--card); border-color: var(--line); }
.switch b { font-size: 14px; font-weight: 550; }
.switch small { display: block; font-size: 12px; color: var(--txt-3); }
.tgl { position: relative; width: 46px; height: 28px; flex-shrink: 0; }
.tgl input { opacity: 0; width: 0; height: 0; position: absolute; }
.tgl i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, .12); transition: .2s; }
.tgl i::after { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.tgl input:checked + i { background: var(--ambar); }
.switch.neutro .tgl input:checked + i { background: var(--verde); }
.tgl input:checked + i::after { transform: translateX(18px); }

/* Sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(2, 4, 8, .6); backdrop-filter: blur(4px); opacity: 0; transition: .25s; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #151a27, #0e121c); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 28px 28px 0 0; padding: 10px 20px calc(20px + var(--safe-b)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .9, .25, 1);
}
.sheet::before { content: ''; display: block; width: 42px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .18); margin: 0 auto 14px; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet h3 { font-size: 19px; font-weight: 650; margin-bottom: 14px; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet .pie { display: flex; gap: 10px; margin-top: 8px; position: sticky; bottom: calc(-20px - var(--safe-b)); padding: 12px 0 4px; background: linear-gradient(180deg, transparent, #0e121c 30%); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 24px); transform: translate(-50%, 20px); z-index: 200;
  background: #1b2232; border: 1px solid var(--line-2); padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: var(--sombra);
  opacity: 0; transition: .3s; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { color: var(--verde); font-weight: 600; }

/* Vacío */
.vacio { text-align: center; padding: 30px 16px; color: var(--txt-2); }
.vacio .e { font-size: 42px; margin-bottom: 8px; display: block; }
.vacio p { font-size: 14px; margin-bottom: 14px; }

/* Charts */
.donut-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.donut { position: relative; width: 150px; height: 150px; flex-shrink: 0; margin: 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .c b { font-size: 16px; }
.donut .c small { font-size: 11px; color: var(--txt-3); }
.leyenda { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 8px; }
.leyenda div { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.leyenda span:nth-child(2) { flex: 1; color: var(--txt-2); }
.barras { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.barras .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.barras .par { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.barras .par i { width: 40%; max-width: 18px; border-radius: 6px 6px 3px 3px; min-height: 3px; transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.barras .par i:first-child { background: linear-gradient(180deg, #34d399, #0d9488); }
.barras .par i:last-child { background: linear-gradient(180deg, #fb7185, #be185d); }
.barras small { font-size: 11px; color: var(--txt-3); text-transform: capitalize; }
.desglose { display: flex; flex-direction: column; gap: 12px; }
.desglose .fila { font-size: 14px; }
.consejo { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; }
.consejo span { font-size: 20px; line-height: 1; }
.consejo.mal { border-color: rgba(251, 113, 133, .25); background: rgba(251, 113, 133, .06); }
.consejo.bien { border-color: rgba(52, 211, 153, .25); background: rgba(52, 211, 153, .06); }
.plan-total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; text-align: center; }
.auth-card img { width: 84px; height: 84px; border-radius: 24px; box-shadow: 0 20px 50px -10px rgba(52, 211, 153, .5); margin-bottom: 18px; }
.auth-card h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.auth-card h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-card > p { color: var(--txt-2); margin: 6px 0 24px; }
.auth-card .card { text-align: left; padding: 22px; }
.feat { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 20px 0 0; font-size: 12.5px; color: var(--txt-3); }
.err { color: var(--rojo); font-size: 13px; margin: -4px 0 10px; min-height: 1px; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--txt-3); font-size: 12px; margin: 16px 0; }
.sep::before, .sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.banner { display: flex; gap: 12px; align-items: center; padding: 14px; margin-top: 14px; border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .07); }
.banner .txt { flex: 1; font-size: 13.5px; }

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .nav { display: none; }
  .side {
    display: flex; flex-direction: column; gap: 4px; width: 250px; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
    padding: 24px 16px; border-right: 1px solid var(--line); background: rgba(10, 13, 20, .6); backdrop-filter: blur(20px);
  }
  .side .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; padding: 0 10px 22px; }
  .side .logo img { width: 36px; height: 36px; border-radius: 11px; }
  .side a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--txt-2); font-size: 14.5px; transition: .2s; }
  .side a svg { width: 20px; height: 20px; }
  .side a:hover { background: var(--card); color: var(--txt); }
  .side a.on { background: var(--card-2); color: var(--txt); box-shadow: inset 0 0 0 1px var(--line); }
  .side a.on svg { color: var(--verde); }
  .side .btn.pri { margin: 0 0 18px; }
  .side .pie-side { margin-top: auto; }
  .main { padding: 26px 34px 40px; }
  .top h1 { font-size: 28px; }
  .dash { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; }
  .dash .sec:first-child { margin-top: 0; }
  .cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 28px; border-bottom: 1px solid var(--line-2); transform: translateY(30px) scale(.97); opacity: 0; transition: .25s; }
  .sheet::before { display: none; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .toast { bottom: 30px; }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
}
