/* Estilos de los módulos: pestañas, Hoy, pagos y guía de bienvenida. */
/* ---------- pestañas de abajo ---------- */
.tabbar { flex: none; display: flex; background: var(--card); border-top: 1px solid var(--line); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); }
.tab { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; border-radius: 12px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tab .tabic { font-size: 21px; line-height: 1; filter: grayscale(1); opacity: .7; }
.tab.on { color: var(--brand); font-weight: 600; }
.tab.on .tabic { filter: none; opacity: 1; }
.tabbadge { position: absolute; top: 2px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
#app:has(.tabbar) .fabnew { bottom: calc(76px + env(safe-area-inset-bottom)); }
#app:has(.tabbar) .list { padding-bottom: 90px; }

/* ---------- Hoy ---------- */
.today .hello { padding: 16px 16px 0; }
.today .hello h2 { margin: 0; font-size: 21px; font-weight: 700; }
.today .hello p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; text-transform: capitalize; }
button.tile { text-align: left; }
button.tile:active { filter: brightness(.96); }
.today .pick { border-radius: 10px; }

/* ---------- pagos ---------- */
.o-reg { background: #0E9F6E; }
.segbar { padding: 10px 12px 0; background: var(--bg); }
.paylist { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 12px; }
.card .paylist { padding: 0; }
.paycard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.payhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.payhead b { font-size: 17px; }
.stchip { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 10px; }
.st-pend { background: #FFF5D6; color: #8A5A00; }
.st-ok { background: #DDF6E4; color: #146C34; }
.st-no { background: #FDE2E2; color: #A12A2A; }
.proofthumb { display: block; padding: 0; border-radius: 12px; overflow: hidden; align-self: center; max-width: 100%; }
.proofthumb img { display: block; max-width: 100%; max-height: 220px; object-fit: contain; }
.proofthumb.sm { align-self: flex-start; margin-top: 4px; }
.proofthumb.sm img { max-height: 120px; }
.mrow .grow { flex: 1; }

/* ---------- guía de bienvenida ---------- */
.guide { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; padding: calc(12px + env(safe-area-inset-top)) 0 calc(18px + env(safe-area-inset-bottom)); }
.gskip { align-self: flex-end; margin-right: 16px; padding: 8px 12px; color: var(--muted); font-weight: 500; }
.gview { flex: 1; overflow: hidden; }
.gtrack { display: flex; height: 100%; transition: transform .3s ease; touch-action: pan-y; }
.gslide { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 28px; gap: 14px; }
.gart { width: 150px; height: 150px; border-radius: 44px; display: grid; place-items: center; font-size: 72px; box-shadow: 0 14px 34px rgba(5, 15, 63, .18); }
.g0 { background: linear-gradient(140deg, #4260E6, #050F3F); }
.g1 { background: linear-gradient(140deg, #1FA855, #0B5E3A); }
.g2 { background: linear-gradient(140deg, #E8A317, #B4580E); }
.gslide h2 { margin: 10px 0 0; font-size: 24px; font-weight: 700; color: var(--noche); }
.gslide p { margin: 0; max-width: 340px; color: var(--muted); font-size: 15.5px; }
.gdots { display: flex; justify-content: center; gap: 8px; padding: 14px 0; }
.gdots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .2s; }
.gdots span.on { width: 22px; background: var(--brand); }
.gbtns { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
