/* ============================================================
   CONTABILIDAD DOMÉSTICA — tema móvil
   Variables: --color-principal, --color-secundario
   ============================================================ */

:root {
    --cd-teal: var(--color-principal, #0f766e);
    --cd-teal-dark: var(--color-principal-secundario, #115e59);
    --cd-gold: var(--color-secundario, #f59e0b);
    --cd-bg: #f4f7f7;
    --cd-surface: #ffffff;
    --cd-text: #134e4a;
    --cd-muted: #5b6b6a;
    --cd-border: rgba(15, 118, 110, 0.12);
    --cd-radius: 18px;
    --cd-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.08);
    --cd-touch: 44px;
    --cd-font: "Segoe UI", system-ui, sans-serif;
}

html {
    overflow-x: hidden;
}

body.cd-app {
    background: var(--cd-bg);
    color: var(--cd-text);
    font-family: var(--cd-font);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.cd-app main {
    flex: 1 1 auto;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 16px 24px;
    box-sizing: border-box;
}

body.cd-app .flash-messages { margin: 0; }

body.cd-app.cd-app--mod main {
    max-width: none;
    padding: 0;
}

body.cd-app .cd-navbar {
    background: var(--cd-teal) !important;
    padding: 8px 12px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-left: calc(12px + env(safe-area-inset-left, 0px));
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
}

body.cd-app .cd-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
}

body.cd-app .cd-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    min-width: 0;
    text-decoration: none;
}

body.cd-app .cd-brand-text {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.05rem;
    line-height: 1.15;
    max-width: min(62vw, 240px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

body.cd-app .cd-nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

body.cd-app .cd-nav-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

body.cd-app .cd-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.cd-app .cd-hero,
body.cd-app .cd-dash-hero {
    margin: 0;
}

body.cd-app .cd-hero__kicker,
body.cd-app .cd-dash-hero__kicker {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cd-teal);
    margin: 0 0 4px;
}

body.cd-app .cd-dash-hero__switch {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--cd-teal);
    text-decoration: none;
    white-space: nowrap;
}

body.cd-app .cd-hero h1,
body.cd-app .cd-dash-hero h1 {
    font-size: clamp(1.55rem, 5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

body.cd-app .cd-dash-hero--home {
    text-align: center;
    margin: 0;
}
body.cd-app .cd-dash-hero--home h1 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}
body.cd-app .cd-dash-hero--home h1 a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
}
body.cd-app .cd-dash-hero--home h1 a i {
    font-size: 0.7rem;
    opacity: 0.65;
}
body.cd-app .cd-dash-hero--home .cd-dash-hero__sub {
    margin-top: 4px;
}

body.cd-app .cd-hero__lead,
body.cd-app .cd-dash-hero__sub {
    color: var(--cd-muted);
    margin: 6px 0 0;
}

body.cd-app .cd-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.cd-app .cd-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    body.cd-app .cd-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.cd-app.cd-app--usuario .cd-home-grid,
    body.cd-app.cd-app--mod .cd-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

body.cd-app .cd-card {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    box-shadow: var(--cd-shadow);
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.cd-app .cd-card > i {
    color: var(--cd-teal);
    font-size: 1.2rem;
}

body.cd-app .cd-card h2 {
    font-size: 1.05rem;
    margin: 0 0 6px;
}

body.cd-app .cd-card p {
    margin: 0;
    color: var(--cd-muted);
    font-size: 0.95rem;
}

body.cd-app .cd-card--muted {
    opacity: 0.92;
}

body.cd-app .contenedor_principal {
    margin: 0 auto 24px;
    width: 100%;
    max-width: 640px;
    padding: 18px 16px;
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius);
    box-shadow: var(--cd-shadow);
    box-sizing: border-box;
}

body.cd-app.cd-app--mod .body_contenido .contenedor_principal {
    max-width: 100%;
}

body.cd-app .cd-bottom-nav {
    display: none;
}

body.cd-app .cd-footer-wrap {
    width: 100%;
    margin-top: auto;
}
body.cd-app .cd-footer {
    background: var(--cd-teal);
    color: rgba(255, 255, 255, 0.86);
    padding: 24px 16px 32px;
    text-align: center;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

body.cd-app .cd-footer a {
    color: #fde68a;
}

body.cd-app .cd-footer p,
body.cd-app .cd-footer-copy,
body.cd-app .cd-footer-meta {
    margin: 8px 0 0;
    font-size: 0.85rem;
}
body.cd-app .cd-footer-meta {
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
    white-space: nowrap;
}
body.cd-app .cd-footer-meta span {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

@media (max-width: 991.98px) {
    body.cd-app:not(.cd-app--mod) {
        padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px));
    }
    body.cd-app:not(.cd-app--mod) main {
        padding-bottom: 16px;
    }
    body.cd-app.cd-kb:not(.cd-app--mod) {
        padding-bottom: 16px;
    }
    body.cd-app.cd-kb .cd-bottom-nav {
        display: none !important;
    }

    body.cd-app:not(.cd-app--mod) .cd-footer-wrap {
        display: none;
    }

    body.cd-app:not(.cd-app--mod) .cd-nav-tools,
    body.cd-app:not(.cd-app--mod) .navbar-toggler {
        display: none !important;
    }
    body.cd-app:not(.cd-app--mod) #cdNavbarNav {
        display: none !important;
    }

    body.cd-app .cd-bottom-nav {
        display: flex;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(18px) saturate(1.4);
        backdrop-filter: blur(18px) saturate(1.4);
        border: 1px solid rgba(15, 118, 110, 0.14);
        border-radius: 28px;
        padding: 6px 4px 8px;
        justify-content: space-around;
        align-items: flex-end;
        overflow: visible;
        box-shadow:
            0 14px 36px rgba(15, 23, 42, 0.14),
            0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

    body.cd-app .cd-bottom-nav__item {
        flex: 1 1 0;
        min-width: 0;
        min-height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        padding: 6px 2px 2px;
        color: var(--cd-muted);
        text-decoration: none;
        font-weight: 600;
        -webkit-tap-highlight-color: transparent;
        border-radius: 18px;
    }

    body.cd-app .cd-bottom-nav__ico {
        width: 38px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 1.12rem;
        line-height: 1;
        transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

    body.cd-app .cd-bottom-nav__lbl {
        font-size: 0.62rem;
        line-height: 1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: -0.02em;
    }

    body.cd-app .cd-bottom-nav__item.is-active {
        color: var(--cd-teal);
    }

    body.cd-app .cd-bottom-nav__item.is-active:not(.cd-bottom-nav__item--plus) .cd-bottom-nav__ico {
        background: color-mix(in srgb, var(--cd-teal) 16%, #fff);
        color: var(--cd-teal);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--cd-teal) 18%, transparent);
    }

    body.cd-app .cd-bottom-nav__item:active .cd-bottom-nav__ico {
        transform: scale(0.92);
    }

    body.cd-app .cd-bottom-nav__item--plus {
        top: 0;
        min-height: 56px;
        padding-top: 0;
    }

    body.cd-app .cd-bottom-nav__item--plus .cd-bottom-nav__ico,
    body.cd-app .cd-bottom-nav__item--plus.is-active .cd-bottom-nav__ico {
        width: 52px;
        height: 52px;
        margin-top: -22px;
        border-radius: 50%;
        background: linear-gradient(165deg, var(--cd-teal) 0%, var(--cd-teal-dark) 100%);
        color: #fff;
        font-size: 1.35rem;
        line-height: 1;
        box-shadow:
            0 10px 22px color-mix(in srgb, var(--cd-teal) 42%, transparent),
            0 0 0 3px #fff,
            0 0 0 5px color-mix(in srgb, var(--cd-gold) 70%, #fff);
        transform: none;
    }
    body.cd-app .cd-bottom-nav__item--plus .cd-bottom-nav__ico i {
        color: #fff;
        font-size: inherit;
        line-height: 1;
        width: auto;
        height: auto;
    }

    body.cd-app .cd-bottom-nav__item--plus .cd-bottom-nav__lbl {
        color: var(--cd-muted);
    }

    body.cd-app .cd-bottom-nav__item--plus.is-active .cd-bottom-nav__ico {
        background: linear-gradient(165deg, var(--cd-teal-dark) 0%, var(--cd-teal) 100%);
        color: #fff;
        transform: none;
    }

    body.cd-app .cd-bottom-nav__item--plus.is-active .cd-bottom-nav__lbl {
        color: var(--cd-teal);
    }
}

/* ---- App screens ---- */
body.cd-app .cd-page,
body.cd-app .cd-dash {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
body.cd-app .cd-muted { color: var(--cd-muted); font-size: 0.92rem; }
body.cd-app .cd-empty {
    color: var(--cd-muted);
    padding: 18px 16px;
    background: #fff;
    border: 1px dashed var(--cd-border);
    border-radius: 18px;
    text-align: center;
}
body.cd-app .cd-link {
    color: var(--cd-teal);
    font-weight: 600;
    font-size: 0.9rem;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

body.cd-app .cd-freeze {
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #155e75;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.9rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

body.cd-app .cd-period-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.cd-app .cd-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}
body.cd-app .cd-period__label {
    font-weight: 700;
    text-transform: capitalize;
    font-size: 1.05rem;
}
body.cd-app .cd-period__arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--cd-border);
    color: var(--cd-text);
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-period-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}
body.cd-app .cd-period-hint {
    margin: 0;
    font-size: 0.8rem;
    color: var(--cd-muted);
}
body.cd-app .cd-period-hint a {
    color: var(--cd-teal);
    font-weight: 600;
    text-decoration: none;
}
body.cd-app .cd-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--cd-border);
    color: var(--cd-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
body.cd-app .cd-chip.is-on {
    background: var(--cd-teal);
    border-color: var(--cd-teal);
    color: #fff;
}
body.cd-app .cd-balance-card {
    background: linear-gradient(160deg, #0f766e 0%, #115e59 100%);
    color: #fff;
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
body.cd-app .cd-balance-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
}
body.cd-app .cd-balance-card__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.8;
    flex-shrink: 0;
}
body.cd-app .cd-balance-card__panel {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    min-width: 0;
    text-align: right;
}
body.cd-app .cd-balance-card__panel a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}
body.cd-app .cd-balance-card__panel span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.cd-app .cd-balance-card__panel i {
    font-size: 0.65rem;
    opacity: 0.75;
    flex-shrink: 0;
}
body.cd-app .cd-balance-card__num {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
body.cd-app .cd-balance-card__num.is-neg { color: #fecaca; }
body.cd-app .cd-balance-card__label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 12px;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.85;
}
body.cd-app .cd-balance-card__now {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
}
body.cd-app .cd-balance-card__now i { opacity: 0.9; }
body.cd-app .cd-balance-card__now strong {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 800;
}
body.cd-app .cd-balance-card__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
body.cd-app .cd-balance-card__in,
body.cd-app .cd-balance-card__out {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 12px;
    padding: 8px 10px;
    min-width: 0;
}
body.cd-app .cd-balance-card__in { background: rgba(167, 243, 208, 0.22); }
body.cd-app .cd-balance-card__out { background: rgba(254, 202, 202, 0.22); }
body.cd-app .cd-balance-card__in i { color: #a7f3d0; }
body.cd-app .cd-balance-card__out i { color: #fecaca; }
body.cd-app .cd-balance-card__in em,
body.cd-app .cd-balance-card__out em {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.9;
}
body.cd-app .cd-balance-card__in strong,
body.cd-app .cd-balance-card__out strong {
    font-size: 0.98rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}
body.cd-app .cd-balance-card .is-in,
body.cd-app .cd-balance-card .is-out { color: inherit; }
body.cd-app .cd-balance-card__who {
    margin: 10px 0 0;
}
body.cd-app .cd-balance-card__who label { display: block; }
body.cd-app .cd-balance-card__who select {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0 12px;
}
body.cd-app .cd-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.cd-app .cd-who-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.cd-app .cd-who-hit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cd-border);
    color: inherit;
    text-decoration: none;
    min-width: 0;
}
body.cd-app .cd-who-list li:last-child .cd-who-hit { border-bottom: 0; padding-bottom: 0; }
body.cd-app .cd-who-list li:first-child .cd-who-hit { padding-top: 0; }
body.cd-app .cd-who-hit span { min-width: 0; }
body.cd-app .cd-who-hit small {
    display: block;
    color: var(--cd-muted);
    font-size: 0.82rem;
}
body.cd-app .cd-who-hit em {
    font-style: normal;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
body.cd-app .cd-who-hit.is-on {
    color: var(--cd-teal);
}
body.cd-app .cd-reparto {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.cd-app .cd-reparto__p {
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 8px;
    align-items: center;
}
body.cd-app .cd-reparto:not(.is-split) .cd-reparto__p {
    grid-template-columns: 1fr;
}
body.cd-app .cd-reparto:not(.is-split) .cd-reparto__partes {
    display: none;
}
body.cd-app .cd-reparto__p .cd-check { margin: 0; }
body.cd-app .cd-reparto__partes {
    width: 100%;
    min-height: 44px;
    text-align: center;
    border: 1px solid var(--cd-border);
    border-radius: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: #fff;
}

body.cd-app .cd-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.cd-app .cd-bars__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.92rem;
}
body.cd-app .cd-bars__head span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.cd-app .cd-bars__head strong { font-size: 0.9rem; }
body.cd-app .cd-bar {
    display: block;
    height: 8px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 6px;
}
body.cd-app .cd-bar__total {
    display: block;
    position: relative;
    height: 100%;
    border-radius: 99px;
    overflow: hidden;
}
body.cd-app .cd-bar__fut {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}
body.cd-app .cd-bar__paid {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}
body.cd-app .cd-bars__pend {
    display: block;
    margin-top: 4px;
    color: var(--cd-muted);
    font-size: 0.75rem;
}
body.cd-app .cd-bars__hit {
    display: block;
    text-decoration: none;
    color: inherit;
    margin: 0 -6px;
    padding: 6px;
    border-radius: 12px;
}
body.cd-app .cd-bars__hit:active,
body.cd-app .cd-bars__hit:hover {
    background: #f8fafc;
}
body.cd-app .cd-bars__head strong i {
    margin-left: 4px;
    font-size: 0.7rem;
    color: var(--cd-muted);
    vertical-align: middle;
}
body.cd-app .cd-back { margin: 0 0 8px; }
body.cd-app .cd-desglose-total {
    margin: 4px 0 0;
    font-size: 1.55rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-mov.is-pend {
    background: #fff7ed;
    border-color: #fdba74;
    border-left: 4px solid #ea580c;
}
body.cd-app .cd-mov.is-est {
    background: #fffbeb;
    border-color: #f59e0b;
    border-left: 4px solid #d97706;
}
body.cd-app .cd-mov__tag {
    display: inline-block;
    margin-right: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
    background: #ffedd5;
    color: #c2410c;
}
body.cd-app .cd-mov.is-est .cd-mov__tag {
    background: #fef3c7;
    color: #b45309;
}
body.cd-app .cd-mov-grupo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.cd-app .cd-mov-grupo__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin: 4px 0 0;
}
body.cd-app .cd-mov-grupo__head h2 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.cd-app .cd-mov-grupo__head strong {
    font-variant-numeric: tabular-nums;
    font-size: 0.92rem;
}
body.cd-app .cd-mov-grupo--previsto .cd-mov-grupo__head {
    color: #c2410c;
}
body.cd-app .cd-mov-grupo--pagado .cd-mov-grupo__head {
    color: #047857;
}
body.cd-app .cd-mov-grupo--pagado .cd-mov {
    border-left: 4px solid #059669;
}
body.cd-app .cd-estim {
    color: #b45309;
    font-weight: 700;
}

body.cd-app .cd-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
body.cd-app .cd-quick--3 .cd-quick__btn:last-child {
    grid-column: 1 / -1;
}
body.cd-app .cd-quick__btn {
    min-height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--cd-border);
    color: var(--cd-text);
}
body.cd-app .cd-quick__btn.is-out { color: #b91c1c; }
body.cd-app .cd-quick__btn.is-in { color: #0f766e; }
body.cd-app .cd-quick__btn.is-credit { color: var(--cd-teal); }
body.cd-app .cd-quick__btn--wide {
    width: 100%;
    color: var(--cd-teal);
}

body.cd-app .is-in { color: #0f766e; }
body.cd-app .is-out { color: #dc2626; }

body.cd-app .cd-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-block { margin: 0; }
body.cd-app .cd-block__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}
body.cd-app .cd-block__head h2,
body.cd-app .cd-card h2 {
    font-size: 1.02rem;
    margin: 0;
    flex: 1;
    min-width: 0;
}
body.cd-app .cd-block__head a { font-size: 0.88rem; color: var(--cd-teal); text-decoration: none; font-weight: 600; }
body.cd-app .cd-block__head .cd-hint {
    display: inline;
    margin: 0;
    font-size: 0.75rem;
}
body.cd-app .cd-card__foot {
    margin: 0;
    padding-top: 4px;
}

body.cd-app .cd-mov-list { display: flex; flex-direction: column; gap: 10px; }
body.cd-app .cd-mov {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    min-height: 76px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-mov__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--cd-teal);
    font-size: 1.05rem;
}
body.cd-app .cd-mov__body { min-width: 0; }
body.cd-app .cd-mov__body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.cd-app .cd-mov__body small {
    display: block;
    color: var(--cd-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}
body.cd-app .cd-mov__imp {
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
}
body.cd-app .cd-mov--static {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 0;
}
body.cd-app .cd-mov__main {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}
body.cd-app .cd-mov__meta {
    display: block;
    color: var(--cd-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}
body.cd-app .cd-mov__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--cd-border);
}
body.cd-app .cd-mov__actions form { margin: 0; }
body.cd-app .cd-mov__actions button {
    background: none;
    border: 0;
    color: var(--cd-teal);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0;
    cursor: pointer;
}
body.cd-app .cd-mov.is-off { opacity: 0.55; }

body.cd-app .cd-fijo-bloque {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-fijo-bloque h2,
body.cd-app .cd-apartado-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0 0;
    font-size: 1.05rem;
}
body.cd-app .cd-apartado {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cd-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
body.cd-app .cd-apartado > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
body.cd-app .cd-apartado i { color: var(--cd-teal); font-size: 0.95rem; }
body.cd-app .cd-apartado__sum {
    margin-left: auto;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-transform: none;
    color: #0f172a;
    font-weight: 800;
}
body.cd-app .cd-apartado .cd-apartado__sum { font-size: 0.82rem; }
body.cd-app .cd-apartado__sum.is-in { color: #047857; }
body.cd-app .cd-fijo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    padding: 14px 16px;
    min-width: 0;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-fijo.is-off { opacity: 0.55; }
body.cd-app .cd-fijo--sin-cuenta {
    border-color: #fdba74;
}
body.cd-app .cd-aviso {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 0.88rem;
    font-weight: 600;
}
body.cd-app .cd-fijo__aviso {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.82rem;
    font-weight: 700;
}
body.cd-app .cd-fijo__aviso a {
    color: #9a3412;
    text-decoration: underline;
    margin-left: auto;
}
body.cd-app a.cd-fijo__top {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
body.cd-app a.cd-fijo__top:active {
    opacity: 0.82;
}
body.cd-app .cd-fijo__top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}
body.cd-app .cd-fijo__body {
    min-width: 0;
}
body.cd-app .cd-fijo__body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.cd-app .cd-fijo .cd-mov__imp {
    padding-top: 2px;
    font-size: 0.9rem;
}
body.cd-app .cd-fijo__cred {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 0;
}
body.cd-app .cd-fijo__cred .cd-progress { margin-top: 0; }
body.cd-app .cd-fijo__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 0;
}
body.cd-app .cd-fijo__stats > div {
    min-width: 0;
}
body.cd-app .cd-fijo__stats dt {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cd-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
body.cd-app .cd-fijo__stats dd {
    margin: 2px 0 0;
    font-size: 0.88rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
body.cd-app .cd-fijo__fin {
    margin: 0;
    font-size: 0.78rem;
    color: var(--cd-muted);
}
body.cd-app .cd-fijo .cd-mov__actions {
    padding-top: 0;
    border-top: 0;
}
body.cd-app .cd-form__row {
    display: flex;
    gap: 10px;
    align-items: center;
}
body.cd-app .cd-form__row .cd-btn { width: auto; }
body.cd-app .cd-sum-list__acts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
body.cd-app .cd-sum-list__acts form { margin: 0; }

body.cd-app .cd-cuenta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-cuenta-card {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-cuenta-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
body.cd-app .cd-cuenta-card__head small {
    display: block;
    color: var(--cd-muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 2px;
}
body.cd-app .cd-cuenta-card__pend {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: var(--cd-muted);
}
body.cd-app .cd-cuenta-need {
    align-items: center;
    position: relative;
}
body.cd-app .cd-cuenta-need__who {
    min-width: 0;
    flex: 1;
}
body.cd-app .cd-cuenta-need__who strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
body.cd-app .cd-cuenta-need__info {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--cd-teal);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
body.cd-app .cd-sheet {
    border: 0;
    border-radius: 20px;
    padding: 0;
    width: min(400px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: min(80vh, 640px);
    margin: auto;
    color: var(--cd-text);
    background: #fff;
    box-sizing: border-box;
    overflow: auto;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
}
body.cd-app .cd-sheet *,
body.cd-app .cd-sheet *::before,
body.cd-app .cd-sheet *::after {
    box-sizing: border-box;
}
body.cd-app .cd-sheet:not([open]) {
    display: none;
}
body.cd-app .cd-sheet::backdrop {
    background: rgba(15, 23, 42, 0.45);
}
body.cd-app .cd-sheet__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 4px;
}
body.cd-app .cd-sheet__kicker {
    margin: 0 0 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-sheet__head h3 {
    margin: 0;
    padding-right: 8px;
    font-size: 1.15rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
body.cd-app .cd-sheet__close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f4;
    color: var(--cd-text);
    cursor: pointer;
}
body.cd-app .cd-sheet__body {
    padding: 12px 20px 20px;
    min-width: 0;
}
body.cd-app .cd-sheet__sum {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
}
body.cd-app .cd-sheet__sum span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    background: #f4f7f7;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-sheet__sum strong {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cd-text);
    overflow-wrap: anywhere;
}
body.cd-app .cd-sheet__hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8faf9;
    font-size: 0.82rem;
    color: var(--cd-muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.cd-app .cd-sheet__body > .cd-empty {
    margin: 12px 0 0;
}
body.cd-app .cd-sheet__list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    min-width: 0;
}
body.cd-app .cd-sheet .cd-sheet__list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--cd-border);
    border-bottom: 0;
    min-width: 0;
}
body.cd-app .cd-sheet .cd-sheet__list span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}
body.cd-app .cd-sheet .cd-sheet__list small {
    color: var(--cd-muted);
    font-size: 0.75rem;
}
body.cd-app .cd-sheet .cd-sheet__list b,
body.cd-app .cd-sheet .cd-sheet__list .cd-link {
    flex: 0 0 auto;
    max-width: 42%;
    text-align: right;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
body.cd-app .cd-cuenta-need__nums {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    text-align: right;
}
body.cd-app .cd-cuenta-need__nums > span {
    display: flex;
    flex-direction: column;
    min-width: 4.6rem;
}
body.cd-app .cd-cuenta-need__nums em {
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--cd-muted);
}
body.cd-app .cd-cuenta-need__nums strong {
    font-size: 0.92rem;
    font-weight: 800;
}
body.cd-app .cd-cuenta-card .cd-sum-list {
    margin-top: 8px;
}
body.cd-app .cd-cuenta-card .cd-mov__actions button[aria-label] {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.cd-app .cd-cuenta-card .cd-mov__actions {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--cd-border);
}
body.cd-app .cd-sum-list__acts button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

body.cd-app .cd-sum-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.cd-app .cd-sum-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cd-border);
    font-size: 0.95rem;
}
body.cd-app .cd-sum-list li:first-child { padding-top: 0; }
body.cd-app .cd-sum-list li:last-child { border-bottom: 0; padding-bottom: 0; }
body.cd-app .cd-sum-list small { color: var(--cd-muted); }
body.cd-app .cd-sum-name { display: block; font-size: 0.95rem; }
body.cd-app .cd-sum-list--pad {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    list-style: none;
}
body.cd-app .cd-sum-list--pad li {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    padding: 14px 16px;
    min-height: 64px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-sum-list form { margin: 0; }

body.cd-app [hidden] { display: none !important; }
body.cd-app .cd-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.cd-app .cd-form--inline { background: #fff; border: 1px solid var(--cd-border); border-radius: 18px; padding: 16px; box-shadow: var(--cd-shadow); }
body.cd-app .cd-form--danger { margin: 8px 0 0; }
body.cd-app .cd-form__sec {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.cd-app .cd-form__sec + .cd-form__sec {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--cd-border);
}
body.cd-app .cd-form .cd-form__h,
body.cd-app .cd-card .cd-form__h {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-form,
body.cd-app .cd-form__sec,
body.cd-app .cd-card,
body.cd-app .cd-page,
body.cd-app .cd-dash {
    min-width: 0;
    max-width: 100%;
}
body.cd-app .cd-field {
    display: block;
    width: 100%;
    margin: 0;
    min-width: 0;
    max-width: 100%;
}
body.cd-app .cd-field > span:first-child {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--cd-muted);
}
body.cd-app .cd-field input,
body.cd-app .cd-field select,
body.cd-app .cd-filters input,
body.cd-app .cd-filters select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--cd-border);
    padding: 10px 14px;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.cd-app .cd-field input[type="date"],
body.cd-app .cd-field input[type="month"],
body.cd-app .cd-field input[type="time"],
body.cd-app .cd-field input[type="datetime-local"],
body.cd-app .cd-field input[type="week"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 8px;
}
body.cd-app .cd-field input[type="date"]::-webkit-datetime-edit,
body.cd-app .cd-field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    min-width: 0;
    padding: 0;
}
body.cd-app .cd-field input::placeholder {
    color: #94a3b8;
}
body.cd-app .cd-field input:focus,
body.cd-app .cd-field select:focus,
body.cd-app .cd-filters input:focus,
body.cd-app .cd-filters select:focus {
    outline: 0;
    border-color: var(--cd-teal);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd-teal) 22%, transparent);
}
body.cd-app .cd-field--amount > span:first-child {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
body.cd-app .cd-field--amount input {
    min-height: 58px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-check {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.92rem;
    min-height: 52px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
body.cd-app .cd-check input {
    margin: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--cd-teal);
}
body.cd-app .cd-check span { min-width: 0; }
body.cd-app .cd-check em {
    font-style: normal;
    color: var(--cd-muted);
    font-weight: 500;
}
body.cd-app .cd-check:has(input:checked) {
    border-color: color-mix(in srgb, var(--cd-teal) 40%, var(--cd-border));
    background: color-mix(in srgb, var(--cd-teal) 8%, #fff);
}
body.cd-app .cd-form__row--fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
}
body.cd-app .cd-form__row--fields > * { min-width: 0; }
body.cd-app .cd-form__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
body.cd-app .cd-form__actions .cd-btn--primary { width: 100%; }

body.cd-app .cd-btn {
    min-height: 48px;
    border-radius: 16px;
    border: 0;
    font-weight: 800;
    font-size: 1rem;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
body.cd-app .cd-btn--primary {
    background: linear-gradient(165deg, var(--cd-teal) 0%, var(--cd-teal-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--cd-teal) 32%, transparent);
}
body.cd-app .cd-btn--ghost { background: transparent; color: var(--cd-muted); }
body.cd-app .cd-btn--danger { background: #fef2f2; color: #b91c1c; }
body.cd-app .cd-btn--tiny { min-height: 48px; padding: 8px 12px; font-size: 0.9rem; background: var(--cd-teal); color: #fff; }
body.cd-app .cd-btn--compact {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 10px;
    background: var(--cd-teal);
    color: #fff;
    white-space: nowrap;
}
body.cd-app .cd-form > .cd-btn--primary,
body.cd-app .cd-card > form > .cd-btn--primary,
body.cd-app .cd-card > .cd-btn--primary,
body.cd-app .cd-form__actions > .cd-btn--primary {
    width: 100%;
}
body.cd-app .cd-btn--full { width: 100%; }
body.cd-app .cd-cta-stack { display: flex; flex-direction: column; gap: 10px; }

body.cd-app .cd-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 520px) {
    body.cd-app .cd-filters { grid-template-columns: 1fr 140px auto; }
}

body.cd-app .cd-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    font-weight: 800;
    font-size: 0.82rem;
}
body.cd-app .cd-mini-stats > span {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: var(--cd-shadow);
}

body.cd-app .cd-add {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.cd-app .cd-add__now {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
body.cd-app .cd-add__tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 148px;
    padding: 18px 16px 16px;
    border-radius: 22px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
body.cd-app .cd-add__tile.is-out {
    background: linear-gradient(160deg, #f87171 0%, #dc2626 100%);
}
body.cd-app .cd-add__tile.is-in {
    background: linear-gradient(160deg, #2dd4bf 0%, #0f766e 100%);
}
body.cd-app .cd-add__tile .cd-add__ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 1.15rem;
}
body.cd-app .cd-add__tile strong {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
body.cd-app .cd-add__tile small {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    line-height: 1.3;
}
body.cd-app .cd-add__sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 8px;
    color: var(--cd-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.cd-app .cd-add__sep::before,
body.cd-app .cd-add__sep::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--cd-border);
}
body.cd-app .cd-add__repeat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-add__row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--cd-border);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-add__row .cd-add__ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: var(--cd-teal);
    font-size: 1.05rem;
}
body.cd-app .cd-add__row.is-credit .cd-add__ico {
    background: #eef2ff;
    color: #4338ca;
}
body.cd-app .cd-add__txt {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
body.cd-app .cd-add__txt strong {
    font-size: 1.05rem;
    font-weight: 800;
}
body.cd-app .cd-add__txt small {
    color: var(--cd-muted);
    font-size: 0.82rem;
    line-height: 1.3;
}
body.cd-app .cd-add__row > .fa-chevron-right {
    color: #94a3b8;
    font-size: 0.85rem;
}
body.cd-app .cd-add__tile.is-panel {
    background: linear-gradient(160deg, #fbbf24 0%, #d97706 100%);
}
body.cd-app .cd-add__tile--sm {
    min-height: 118px;
    padding: 14px 14px 12px;
    gap: 8px;
}
body.cd-app .cd-add__tile--sm .cd-add__ico {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 1rem;
}
body.cd-app .cd-add__tile--sm strong {
    font-size: 1.05rem;
}
body.cd-app .cd-add__tile--sm small {
    font-size: 0.75rem;
}
body.cd-app .cd-add__row.is-wa .cd-add__ico {
    background: #ecfdf5;
    color: #16a34a;
}
body.cd-app .cd-add__row.is-danger .cd-add__ico {
    background: #fef2f2;
    color: #b91c1c;
}

body.cd-app .cd-more {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    overflow: hidden;
}
body.cd-app .cd-more a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    min-height: 52px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--cd-border);
    font-weight: 600;
}
body.cd-app .cd-more a:last-child { border-bottom: 0; }
body.cd-app .cd-more i { color: var(--cd-teal); width: 20px; text-align: center; }
body.cd-app .cd-more .fa-whatsapp,
body.cd-app .nav-link .fa-whatsapp {
    color: #25D366;
}

body.cd-app .cd-code {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    font-weight: 800;
    margin: 8px 0;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-chart-card canvas { max-width: 100%; }

body.cd-app .cd-ritmo {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
body.cd-app .cd-ritmo--2 { grid-template-columns: 1fr 1fr; }
body.cd-app .cd-card > .cd-ritmo {
    margin-top: 4px;
}
body.cd-app .cd-ritmo li {
    background: #f8fafc;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 12px 8px 10px;
    text-align: center;
    box-shadow: none;
}
body.cd-app .cd-ritmo strong {
    display: block;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-ritmo span {
    display: block;
    margin-top: 4px;
    color: var(--cd-muted);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
}
body.cd-app .cd-delta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    text-align: center;
}
body.cd-app .cd-delta span {
    display: block;
    color: var(--cd-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
body.cd-app .cd-delta strong {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-delta small {
    display: block;
    margin-top: 2px;
    color: var(--cd-muted);
    font-size: 0.7rem;
    font-weight: 600;
}
body.cd-app .cd-meses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.cd-app .cd-meses li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}
body.cd-app .cd-meses__lab {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--cd-muted);
}
body.cd-app .cd-meses__bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
body.cd-app .cd-meses__in,
body.cd-app .cd-meses__out {
    display: block;
    height: 6px;
    border-radius: 99px;
    min-width: 0;
}
body.cd-app .cd-meses__in { background: #0f766e; }
body.cd-app .cd-meses__out { background: #dc2626; }
body.cd-app .cd-meses li strong {
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (min-width: 992px) {
    body.cd-app:not(.cd-app--mod) main { padding-bottom: 32px; }
}

body.cd-app .cd-dash-hero__kicker a {
    color: inherit;
    text-decoration: none;
}

body.cd-app .cd-panel-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-panel-card {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-left: 5px solid var(--panel-c, var(--cd-teal));
    border-radius: 18px;
    padding: 14px 16px;
    min-height: 76px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-panel-card.is-current {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
body.cd-app .cd-panel-card__emoji {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--panel-c, var(--cd-teal)) 16%, #fff);
    font-size: 1.35rem;
}
body.cd-app .cd-panel-card__body { min-width: 0; }
body.cd-app .cd-panel-card__body strong {
    display: block;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.cd-app .cd-panel-card__body small,
body.cd-app .cd-panel-card__body em {
    display: block;
    color: var(--cd-muted);
    font-size: 0.8rem;
    font-style: normal;
}
body.cd-app .cd-panel-card form { margin: 0; }

body.cd-app .cd-pick {
    border: 0;
    padding: 0;
    margin: 0 0 4px;
}
body.cd-app .cd-pick legend {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cd-muted);
    margin-bottom: 8px;
}
body.cd-app .cd-pick__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
body.cd-app .cd-pick__row--one {
    flex-wrap: nowrap;
}
body.cd-app .cd-pick__color span,
body.cd-app .cd-pick__icon span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    font-size: 1.2rem;
    box-sizing: border-box;
}
body.cd-app .cd-pick__icon span { background: #fff; }
body.cd-app .cd-pick__color > input[type="radio"],
body.cd-app .cd-pick__icon > input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
body.cd-app .cd-pick__color,
body.cd-app .cd-pick__icon {
    position: relative;
    margin: 0;
}
body.cd-app .cd-pick__color input:checked + span,
body.cd-app .cd-pick__icon input:checked + span {
    border-color: #134e4a;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}
body.cd-app .cd-pick__color span { border-radius: 50%; }
body.cd-app .cd-pick__custom {
    display: inline-flex;
    overflow: visible;
}
body.cd-app .cd-pick__plus-face {
    border-style: dashed !important;
    background: #fff;
    color: var(--cd-teal);
    font-size: 0.95rem;
    pointer-events: none;
}
body.cd-app .cd-pick__custom.is-on .cd-pick__plus-face {
    border-style: solid !important;
    color: #fff;
}
body.cd-app .cd-pick__icon.cd-pick__custom.is-on .cd-pick__plus-face {
    color: inherit;
    background: #fff;
}
body.cd-app .cd-pick__hit {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    pointer-events: auto !important;
}
body.cd-app input[type="color"].cd-pick__hit {
    opacity: 0.02;
}
body.cd-app input[type="text"].cd-pick__hit {
    opacity: 1;
    color: transparent;
    caret-color: transparent;
    background: transparent;
}
body.cd-app .cd-ciclo {
    margin: 0;
    padding: 12px;
    border: 1px solid var(--cd-border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
}
body.cd-app .cd-ciclo legend {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cd-muted);
    padding: 0 4px;
}
body.cd-app .cd-ciclo .cd-check {
    background: #f8fafc;
}
body.cd-app .cd-ciclo__extra {
    padding: 4px 2px 2px 6px;
}

body.cd-app .cd-progress {
    display: block;
    height: 6px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 8px;
    width: 100%;
    max-width: none;
}
body.cd-app .cd-progress > span {
    display: block;
    height: 100%;
    background: var(--cd-teal);
}
body.cd-app .cd-credito-txt {
    display: block;
    color: var(--cd-muted);
    font-size: 0.8rem;
    font-weight: 500;
}
body.cd-app .cd-credito-box {
    background: #f8fafc;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.cd-app .cd-credito-box .cd-field { width: 100%; display: block; }
body.cd-app .cd-cuotas-box {
    background: #f8fafc;
    border: 1px solid var(--cd-border);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.cd-app #cdCuotasList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-reset: cuota;
}
body.cd-app .cd-cuota-row {
    display: grid;
    grid-template-columns: 22px 1fr 1fr auto;
    gap: 8px;
    align-items: end;
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 10px 10px 10px 8px;
    min-width: 0;
}
body.cd-app .cd-cuota-row > * { min-width: 0; }
@media (max-width: 520px) {
    body.cd-app .cd-cuota-row {
        grid-template-columns: 22px minmax(0, 1fr) 44px;
    }
    body.cd-app .cd-cuota-row .cd-field {
        grid-column: 2;
    }
    body.cd-app .cd-cuota-del {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        height: auto;
        min-height: 48px;
    }
}
body.cd-app .cd-cuota-row::before {
    counter-increment: cuota;
    content: counter(cuota);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cd-muted);
}
body.cd-app .cd-cuota-del {
    width: 44px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
body.cd-app .cd-card .cd-cuotas-total,
body.cd-app .cd-cuotas-total {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--cd-text);
}
body.cd-app .cd-cuotas-box .cd-btn { align-self: flex-start; min-height: 40px; }
body.cd-app .cd-dia-regla {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    background: #f8fafc;
}
body.cd-app .cd-dia-regla__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-dia-regla__modos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
body.cd-app .cd-dia-regla__modos .cd-check {
    margin: 0;
    min-height: 56px;
    justify-content: flex-start;
}
body.cd-app .cd-dia-regla__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}
body.cd-app .cd-hint {
    display: block;
    margin: 6px 0 0;
    color: var(--cd-muted);
    font-size: 0.8rem;
    font-weight: 400;
}
body.cd-app .cd-credito-li { align-items: flex-start; }
body.cd-app .cd-credito-li > span { min-width: 0; flex: 1; }
body.cd-app .cd-credito-li > span > strong { display: block; }
body.cd-app .cd-invite-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
body.cd-app .cd-invite-row input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--cd-border);
    padding: 10px 12px;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box;
}
body.cd-app .cd-invite-row .cd-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
}
body.cd-app .cd-splash {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cd-teal, #0f766e);
    color: #fff;
    transition: opacity 0.35s ease;
}
body.cd-app .cd-splash.is-out {
    opacity: 0;
    pointer-events: none;
}
body.cd-app .cd-splash__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 24px;
}
body.cd-app .cd-splash img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
body.cd-app .cd-splash p {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.cd-app .cd-install-link { display: none !important; }
@media (max-width: 1199.98px) {
    body.cd-app .cd-more a.cd-install-link,
    body.cd-app .cd-add__row.cd-install-link,
    body.cd-app .cd-hero__cta .cd-install-link,
    body.cd-app .cd-land-hero__cta .cd-install-link {
        display: flex !important;
    }
    body.cd-app .cd-hero__cta a.cd-install-link,
    body.cd-app .cd-land-hero__cta a.cd-install-link {
        display: inline-flex !important;
        align-items: center;
    }
}
@media (display-mode: standalone) {
    body.cd-app .cd-install-link { display: none !important; }
}

body.cd-app .pwa-install-slot p {
    margin: 0 0 12px;
    color: var(--cd-muted);
}

body.cd-app .cd-card > .cd-muted { margin: 0; }
body.cd-app .cd-card > form { margin: 0; }
body.cd-app .cd-empty { margin: 0; }
body.cd-app .cd-card > .cd-empty {
    background: transparent;
    border: 0;
    padding: 8px 0;
}

/* ---------- Landing pública ---------- */
body.cd-app.cd-app--landing main {
    max-width: none;
    width: 100%;
    padding: 0;
}
body.cd-app.cd-app--landing .cd-landing {
    display: flex;
    flex-direction: column;
    gap: 0;
}
body.cd-app.cd-app--landing .flash-messages {
    margin: 12px 16px 0;
}

body.cd-app .cd-land-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

body.cd-app .cd-land-hero {
    background: linear-gradient(165deg, #0f766e 0%, #0f766e 48%, #115e59 100%);
    color: #fff;
    padding: 28px 0 40px;
}
body.cd-app .cd-land-hero__grid {
    display: grid;
    gap: 28px;
    align-items: center;
}
body.cd-app .cd-land-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 6.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}
body.cd-app .cd-land-hero__lead {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 36rem;
}
body.cd-app .cd-land-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
body.cd-app .cd-land-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
}
body.cd-app .cd-land-btn--gold {
    background: var(--cd-gold, #f59e0b);
    border-color: var(--cd-gold, #f59e0b);
    color: #134e4a;
}
body.cd-app .cd-land-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}
body.cd-app .cd-land-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
body.cd-app .cd-land-pills li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

body.cd-app .cd-land-phone {
    background: #f4f7f7;
    color: var(--cd-text);
    border-radius: 28px;
    padding: 16px 14px 14px;
    box-shadow: 0 24px 50px rgba(7, 40, 38, 0.28);
    max-width: 320px;
    margin: 0 auto;
}
body.cd-app .cd-land-phone__notch {
    width: 88px;
    height: 8px;
    border-radius: 999px;
    background: #d9e5e3;
    margin: 0 auto 12px;
}
body.cd-app .cd-land-phone__card {
    background: linear-gradient(160deg, #0f766e, #115e59);
    color: #fff;
    border-radius: 16px;
    padding: 12px 14px 14px;
    margin-bottom: 10px;
}
body.cd-app .cd-land-phone__card header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 700;
}
body.cd-app .cd-land-phone__card header b {
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.78rem;
    opacity: 1;
}
body.cd-app .cd-land-phone__num {
    margin: 6px 0 0;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
body.cd-app .cd-land-phone__queda {
    margin: 2px 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}
body.cd-app .cd-land-phone__queda i { margin-right: 4px; }
body.cd-app .cd-land-phone__ahora {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}
body.cd-app .cd-land-phone__ahora strong { margin-left: auto; }
body.cd-app .cd-land-phone__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
body.cd-app .cd-land-phone__split span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(167, 243, 208, 0.18);
    font-size: 0.72rem;
}
body.cd-app .cd-land-phone__split span:last-child {
    background: rgba(254, 202, 202, 0.18);
}
body.cd-app .cd-land-phone__split em {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
    font-weight: 700;
}
body.cd-app .cd-land-phone__split strong { font-size: 0.92rem; }
body.cd-app .cd-land-phone__sec {
    margin: 8px 0 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-land-phone__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 8px 2px 4px;
    font-size: 0.88rem;
    font-weight: 600;
}
body.cd-app .cd-land-phone__row small {
    display: block;
    font-weight: 400;
    color: var(--cd-muted);
    font-size: 0.75rem;
}
body.cd-app .cd-land-phone__row b {
    color: #dc2626;
    font-variant-numeric: tabular-nums;
}
body.cd-app .cd-land-phone__row.is-muted b,
body.cd-app .cd-land-phone__row.is-muted {
    color: var(--cd-text);
    font-weight: 600;
}

body.cd-app .cd-land-section {
    padding: 48px 0;
}
body.cd-app .cd-land-section--alt {
    background: #fff;
}
body.cd-app .cd-land-head {
    max-width: 42rem;
    margin: 0 0 24px;
}
body.cd-app .cd-land-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cd-teal);
}
body.cd-app .cd-land-head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
body.cd-app .cd-land-head p {
    margin: 10px 0 0;
    color: var(--cd-muted);
}

body.cd-app .cd-land-truths {
    display: grid;
    gap: 12px;
}
body.cd-app .cd-land-truths article {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-land-truths i {
    color: var(--cd-teal);
    font-size: 1.15rem;
}
body.cd-app .cd-land-truths h3 {
    margin: 10px 0 6px;
    font-size: 1.05rem;
}
body.cd-app .cd-land-truths p {
    margin: 0;
    color: var(--cd-muted);
    font-size: 0.95rem;
}

body.cd-app .cd-land-feats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
body.cd-app .cd-land-feat {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-land-section--alt .cd-land-feat {
    background: var(--cd-bg);
}
body.cd-app .cd-land-feat i {
    color: var(--cd-teal);
    font-size: 1.15rem;
}
body.cd-app .cd-land-feat h3 {
    margin: 10px 0 6px;
    font-size: 1.05rem;
}
body.cd-app .cd-land-feat p {
    margin: 0;
    color: var(--cd-muted);
    font-size: 0.95rem;
}

body.cd-app .cd-land-also {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
body.cd-app .cd-land-also li {
    background: var(--cd-bg);
    border: 1px solid var(--cd-border);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cd-text);
}
body.cd-app .cd-land-section--alt .cd-land-also li {
    background: #fff;
}

body.cd-app .cd-land-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
body.cd-app .cd-land-steps li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 4px 14px;
    align-items: start;
}
body.cd-app .cd-land-steps span {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--cd-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
body.cd-app .cd-land-steps h3 {
    margin: 4px 0 0;
    font-size: 1.05rem;
}
body.cd-app .cd-land-steps p {
    margin: 4px 0 0;
    color: var(--cd-muted);
}

body.cd-app .cd-land-cta {
    background: linear-gradient(165deg, #0f766e, #115e59);
    color: #fff;
    padding: 48px 0 56px;
    text-align: center;
}
body.cd-app .cd-land-cta h2 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2rem);
    letter-spacing: -0.02em;
}
body.cd-app .cd-land-cta p {
    margin: 12px auto 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
}
body.cd-app .cd-land-cta .cd-land-hero__cta {
    justify-content: center;
}

@media (max-width: 639.98px) {
    body.cd-app .cd-land-hero {
        padding: 20px 0 28px;
    }
    body.cd-app .cd-land-hero__lead {
        font-size: 0.98rem;
    }
    body.cd-app .cd-land-phone__num {
        font-size: 1.5rem;
    }
}

@media (min-width: 640px) {
    body.cd-app .cd-land-feats,
    body.cd-app .cd-land-truths {
        grid-template-columns: repeat(2, 1fr);
    }
    body.cd-app .cd-land-truths article:last-child {
        grid-column: 1 / -1;
    }
    body.cd-app .cd-land-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    body.cd-app .cd-land-steps li {
        grid-template-columns: 1fr;
        text-align: left;
    }
    body.cd-app .cd-land-steps span { grid-row: auto; }
}
@media (min-width: 900px) {
    body.cd-app .cd-land-hero {
        padding: 52px 0 60px;
    }
    body.cd-app .cd-land-hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 40px;
    }
    body.cd-app .cd-land-feats,
    body.cd-app .cd-land-truths {
        grid-template-columns: repeat(3, 1fr);
    }
    body.cd-app .cd-land-truths article:last-child {
        grid-column: auto;
    }
    body.cd-app .cd-land-section {
        padding: 64px 0;
    }
    body.cd-app .cd-land-phone {
        margin-left: auto;
        margin-right: 0;
    }
}

/* ============================================================
   Onboarding (primer uso)
   ============================================================ */
body.cd-app.cd-onboarding {
    padding-bottom: 0 !important;
    background:
        radial-gradient(120% 70% at 0% -10%, color-mix(in srgb, var(--cd-teal) 28%, #fff), transparent 62%),
        radial-gradient(80% 50% at 110% 8%, color-mix(in srgb, var(--cd-gold) 22%, transparent), transparent 58%),
        linear-gradient(180deg, #eef6f5 0%, var(--cd-bg) 42%);
}
body.cd-app.cd-onboarding .cd-bottom-nav,
body.cd-app.cd-onboarding .cd-footer-wrap,
body.cd-app.cd-onboarding .cd-nav-tools,
body.cd-app.cd-onboarding .navbar-toggler,
body.cd-app.cd-onboarding #cdNavbarNav {
    display: none !important;
}
body.cd-app.cd-onboarding .cd-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid var(--cd-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.cd-app.cd-onboarding .cd-navbar .navbar-brand,
body.cd-app.cd-onboarding .cd-brand-text {
    color: var(--cd-text) !important;
    text-shadow: none;
}
body.cd-app.cd-onboarding .cd-nav-logo {
    background: #fff;
    box-shadow: 0 0 0 1px var(--cd-border);
}
body.cd-app.cd-onboarding main {
    padding-top: 12px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    max-width: 440px;
}
body.cd-app .cd-onb {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: calc(100dvh - 96px);
}
body.cd-app .cd-onb__progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-onb__step {
    margin: 0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cd-muted);
}
body.cd-app .cd-onb__dots {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.cd-app .cd-onb__dots li {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--cd-teal) 14%, #fff);
}
body.cd-app .cd-onb__dots li.is-on {
    background: var(--cd-teal);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd-teal) 16%, transparent);
}
body.cd-app .cd-onb__dots li.is-done {
    background: var(--cd-gold);
}
body.cd-app .cd-onb__hero,
body.cd-app .cd-onb__head {
    text-align: left;
}
body.cd-app .cd-onb__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 5px 10px 5px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cd-teal) 10%, #fff);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--cd-teal);
    text-transform: none;
}
body.cd-app .cd-onb__kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--cd-gold);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd-gold) 28%, transparent);
}
body.cd-app .cd-onb h1 {
    margin: 0 0 12px;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--cd-text);
}
body.cd-app .cd-onb__lead {
    margin: 0;
    color: var(--cd-muted);
    font-size: 1.08rem;
    line-height: 1.45;
    max-width: 34ch;
}
body.cd-app .cd-onb__ideas,
body.cd-app .cd-onb__map {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.cd-app .cd-onb__ideas li,
body.cd-app .cd-onb__map article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--cd-border);
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-onb__ideas strong,
body.cd-app .cd-onb__map strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}
body.cd-app .cd-onb__ideas small,
body.cd-app .cd-onb__map small {
    display: block;
    color: var(--cd-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}
body.cd-app .cd-onb__cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.cd-app .cd-onb__cta .cd-btn--primary,
body.cd-app .cd-onb .cd-btn--primary {
    width: 100%;
    min-height: 54px;
    font-size: 1.05rem;
    border-radius: 16px;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--cd-teal) 28%, transparent);
}
body.cd-app .cd-onb .cd-btn--ghost {
    width: 100%;
    min-height: 48px;
}
body.cd-app .cd-onb__card {
    background: #fff;
    border: 1px solid var(--cd-border);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-onb__ico {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cd-teal) 12%, #fff);
    color: var(--cd-teal);
    font-size: 1.08rem;
}
body.cd-app .cd-onb__ico.is-plus {
    background: linear-gradient(165deg, var(--cd-teal) 0%, var(--cd-teal-dark) 100%);
    color: #fff;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cd-gold);
}
body.cd-app .cd-onb__choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 2px solid var(--cd-border);
    cursor: pointer;
    box-shadow: var(--cd-shadow);
}
body.cd-app .cd-onb__choice:has(input:checked) {
    border-color: var(--cd-teal);
    background: color-mix(in srgb, var(--cd-teal) 7%, #fff);
}
body.cd-app .cd-onb__choice input {
    margin-top: 4px;
    accent-color: var(--cd-teal);
}
body.cd-app .cd-onb__choice strong {
    display: block;
    font-weight: 800;
}
body.cd-app .cd-onb__choice small {
    color: var(--cd-muted);
    font-size: 0.86rem;
}
body.cd-app .cd-onb__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    background: #25d366;
    color: #fff !important;
    font-weight: 750;
    text-decoration: none;
}
body.cd-app .cd-onb__next {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
body.cd-app .cd-onb__go {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 80px;
    padding: 16px;
    border: 1px solid var(--cd-border);
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-align: left;
    box-shadow: var(--cd-shadow);
    cursor: pointer;
}
body.cd-app .cd-onb__go strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}
body.cd-app .cd-onb__go small {
    color: var(--cd-muted);
    font-size: 0.86rem;
}

