/* ============================================================
   MiVaro — Estilos (paleta CashSpot)
   Sin frameworks, sin dependencias externas. Mobile-first.
   ============================================================ */

:root {
    --bg: #0A0A0A;
    --bg-soft: #121212;
    --surface: #171717;
    --surface-2: #1E1E1E;
    --border: #2A2A2A;
    --text: #FFFFFF;
    --text-muted: #9A9A9A;
    --accent: #FF8A00;
    --accent-strong: #F67D05;
    --accent-soft: rgba(255, 138, 0, 0.14);
    --radius: 14px;
    --radius-lg: 22px;
    --maxw: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow { max-width: 760px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #000;
    padding: 10px 16px;
    z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.brand-word b { color: var(--accent); font-weight: 800; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    font-size: 15px;
}

.site-nav a { color: var(--text-muted); transition: color .15s; }
.site-nav a:hover { color: var(--text); }

.site-nav .nav-login { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

.lang-toggle {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
}
.lang-toggle:hover { color: var(--text); border-color: var(--text-muted); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-burger span {
    width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: .2s;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #0A0A0A;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent), #FFA033); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-muted); }

.btn-lg { padding: 15px 28px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 64px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(255, 138, 0, 0.3);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 auto 20px;
    max-width: 820px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 17px;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .15s, border-color .15s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent-strong); }

.feature-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Precio ---------- */
.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    text-align: center;
}

.pricing-trial {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.pricing-amount { display: block; margin-bottom: 22px; }

.pricing-amount .price {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pricing-amount .period { color: var(--text-muted); font-size: 16px; }

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    text-align: left;
}
.pricing-list li {
    padding: 9px 0 9px 28px;
    position: relative;
    color: var(--text-muted);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: 0; }
.pricing-list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 17px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
}

.faq-item summary {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: var(--accent);
    transition: transform .2s;
    margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- CTA final ---------- */
.cta-section { text-align: center; }

/* ---------- Cards genericas ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand .brand { font-size: 22px; }
.footer-tagline { color: var(--text-muted); max-width: 260px; font-size: 14px; margin-top: 10px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { margin: 0 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.footer-col a { color: var(--text-muted); font-size: 15px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .site-nav {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px 18px;
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
    .site-nav a:last-child { border-bottom: 0; }

    .nav-burger { display: flex; }

    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 52px 0 48px; }
    .section { padding: 48px 0; }
    .hero-cta .btn { width: 100%; }
}

/* ============================================================
   Auth (registro / login / recuperar / restablecer)
   ============================================================ */
.auth-section { padding-top: 40px; }

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
}

.auth-card h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; }
.auth-subtitle { color: var(--text-muted); margin: 0 0 24px; }
.auth-alt { margin: 20px 0 0; color: var(--text-muted); font-size: 14px; }
.auth-alt a { color: var(--accent); }

.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.field input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font);
}
.field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Alertas */
.alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 18px;
    font-size: 14px;
    text-align: left;
    list-style: none;
}
.alert a { color: var(--accent); word-break: break-all; }
.alert-error { background: rgba(220, 53, 69, 0.12); border: 1px solid rgba(220, 53, 69, 0.4); color: #FF8A8A; }
.alert-error li { margin: 3px 0; }
.alert-success { background: rgba(40, 167, 69, 0.12); border: 1px solid rgba(40, 167, 69, 0.4); color: #7FE29B; }

.flash-container { padding-top: 18px; }

/* ============================================================
   App (dashboard)
   ============================================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.app-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.app-header-actions { display: flex; align-items: center; gap: 14px; }
.app-user { color: var(--text-muted); font-size: 14px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-logout { color: var(--text-muted); font-size: 14px; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.app-logout:hover { color: var(--text); }
.logout-form { display: inline; margin: 0; }

.app-main { padding: 24px 0 90px; }

.app-title { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 16px; }

.dash-trial {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(255, 138, 0, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}
.dash-trial.ended { background: rgba(220, 53, 69, 0.12); border-color: rgba(220, 53, 69, 0.4); color: #FF8A8A; }

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.stat-value { display: block; font-size: 24px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.placeholder { color: var(--text-muted); }

.dash-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 138, 0, 0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.dash-banner p { margin: 0; color: var(--accent); font-weight: 600; }
.dash-banner.ok { background: rgba(40, 167, 69, 0.12); border-color: rgba(40, 167, 69, 0.4); }
.dash-banner.ok p { color: #7FE29B; }
.dash-banner.warn { background: rgba(220, 53, 69, 0.12); border-color: rgba(220, 53, 69, 0.4); }
.dash-banner.warn p { color: #FF8A8A; }

.dash-banner-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-banner-actions form { margin: 0; }

.btn-danger-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(220, 53, 69, 0.5);
    background: transparent;
    color: #FF8A8A;
    cursor: pointer;
    font-family: var(--font);
}
.btn-danger-outline:hover { background: rgba(220, 53, 69, 0.12); }

@media (max-width: 520px) {
    .dash-banner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Formularios generales (operacion)
   ============================================================ */
.field select, .field textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font);
}
.field textarea { resize: vertical; }
.field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-card { padding: 24px; text-align: left; }

/* ---------- Cabecera de pagina ---------- */
.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 9px; }

.section-mini-title {
    font-size: 16px;
    margin: 26px 0 12px;
    letter-spacing: -0.01em;
}

.muted { color: var(--text-muted); }

/* ---------- Listas ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: border-color .15s;
}
a.list-item:hover { border-color: var(--accent-strong); }
.list-item.no-link { cursor: default; }

.list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-title { font-weight: 700; font-size: 15px; }
.list-sub { color: var(--text-muted); font-size: 13px; }
.list-chev { color: var(--text-muted); font-size: 22px; }
.item-price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- Badges de estado ---------- */
.status-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status-paid { background: rgba(40, 167, 69, 0.14); color: #7FE29B; }
.status-partial { background: var(--accent-soft); color: var(--accent); }
.status-pending { background: rgba(220, 53, 69, 0.14); color: #FF8A8A; }

.status-pendiente { background: var(--accent-soft); color: var(--accent); }
.status-pedido { background: rgba(0, 122, 255, 0.14); color: #7AB8FF; }
.status-recibido { background: rgba(40, 167, 69, 0.14); color: #7FE29B; }
.status-parcial { background: rgba(255, 193, 7, 0.14); color: #FFD34D; }
.status-agotado { background: rgba(220, 53, 69, 0.14); color: #FF8A8A; }
.status-cancelado { background: rgba(154, 154, 154, 0.16); color: #9A9A9A; }

.list-icon { width: 28px; text-align: center; font-size: 18px; color: var(--accent); flex: none; }

.item-price.neg { color: #FF8A8A; }

.month-form { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 20px; }
.month-form .field { flex: 1; }
.month-form .btn { margin-bottom: 0; }

.period-filter { margin-bottom: 20px; }
.period-row { display: flex; gap: 10px; align-items: flex-end; }
.period-row .field { flex: 1; margin: 0; }
.period-presets { display: flex; gap: 16px; margin-top: 12px; }
.period-presets a { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- Constructor de venta ---------- */
.item-builder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 16px;
}

.item-add-row {
    display: grid;
    grid-template-columns: 1fr 64px 84px 40px;
    gap: 8px;
    align-items: center;
}
.item-add-row select, .item-add-row input {
    width: 100%;
    padding: 11px 10px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
}
.item-add-row select:focus, .item-add-row input:focus { outline: none; border-color: var(--accent); }

#items-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 10px 12px;
}
.item-name { flex: 1; font-size: 14px; font-weight: 600; }
.item-remove {
    border: 0;
    background: none;
    color: #FF8A8A;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.sale-total { text-align: right; margin-top: 14px; font-size: 18px; }

/* ---------- Compartir estado de cuenta ---------- */
.share-card { padding: 20px; text-align: left; }
.share-label { margin: 0 0 8px; font-weight: 600; }
.share-row { display: flex; gap: 8px; }
.share-row input {
    flex: 1;
    padding: 11px 12px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Estado de cuenta publico ---------- */
body.statement { background: var(--bg); }
.statement-main { padding: 32px 16px; }
.statement-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.statement-brand { font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.statement-brand b { color: var(--accent); }
.statement-card h1 { margin: 0 0 4px; font-size: 24px; }
.statement-client { color: var(--text-muted); margin: 0 0 20px; }
.statement-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    margin-bottom: 22px;
}
.statement-balance .stat-value { font-size: 26px; color: var(--text); }
.statement-balance.owed .stat-value { color: var(--accent); }
.statement-balance.ok .stat-value { color: #7FE29B; }
.statement-card section { margin-bottom: 22px; }
.statement-card h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 10px; }
.statement-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.statement-table th, .statement-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--border); }
.statement-table th { color: var(--text-muted); font-weight: 600; }
.statement-table td:last-child { text-align: right; }
.statement-powered { color: var(--text-muted); font-size: 12px; text-align: center; margin-top: 8px; }

@media (max-width: 480px) {
    .item-add-row { grid-template-columns: 1fr 56px 72px 36px; }
}

/* Menu inferior (app) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--border);
    z-index: 200;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
}
.bottom-nav-item.active { color: var(--accent); }
.bottom-nav-item:hover { color: var(--text); }

.bn-icon { font-size: 20px; line-height: 1; }

.bottom-nav-sell {
    color: var(--accent);
}

.bottom-nav-sell .bn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-top: -18px;
    border: 3px solid var(--bg);
}

@media (max-width: 480px) {
    .dash-stats { grid-template-columns: 1fr; }
    .app-user { display: none; }
}

/* ---------- Atajos (dashboard) ---------- */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: border-color .15s, color .15s;
}
.quick-item:hover { border-color: var(--accent-strong); color: var(--accent); }
.quick-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

/* ---------- Adeudos con acciones ---------- */
.debt-item { flex-direction: column; align-items: stretch; gap: 0; }
.debt-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: inherit;
    text-decoration: none;
}
.debt-main:hover .list-title { color: var(--accent); }
.debt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Boton WhatsApp ---------- */
.btn-wa {
    background: #1FA855;
    color: #FFFFFF;
}
.btn-wa:hover { background: #188C47; color: #FFFFFF; }

/* ---------- Perfil del negocio ---------- */
.app-user { text-decoration: none; }
.app-user:hover { color: var(--text); }
.field-hint { margin: 4px 0 0; font-size: 12px; }
.plan-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.form-card input[readonly] { color: var(--text-muted); background: var(--bg-soft); }

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .share-row { flex-wrap: wrap; }
    .share-row input { flex: 1 1 100%; }
}
