/*
 * Llantas Protect · Customer Design System v1
 * Fase 8.2.1 · Paleta actualizada en 8.3.1
 *
 * Esta hoja centraliza la identidad visual del portal cliente sin acoplarla
 * todavía a una pantalla específica. Las fases 8.2.x/8.3/8.4 consumirán estos
 * tokens y componentes progresivamente.
 */

:root {
    --lp-forest: #010736;
    --lp-teal: #22396F;
    --lp-mint: #ABD2FA;
    --lp-cream: #FCF1D0;
    --lp-white: #FFFFFF;

    --lp-text: #010736;
    --lp-text-soft: #344A7A;
    --lp-text-muted: #64749A;
    --lp-border: rgba(34, 57, 111, .20);
    --lp-border-strong: rgba(34, 57, 111, .32);
    --lp-surface: rgba(255, 255, 255, .90);
    --lp-surface-glass: rgba(255, 255, 255, .70);
    --lp-surface-soft: rgba(252, 241, 208, .52);

    --lp-success: #24785B;
    --lp-warning: #A66515;
    --lp-danger: #B42318;
    --lp-info: #365A9B;

    --lp-radius-xs: 10px;
    --lp-radius-sm: 14px;
    --lp-radius-md: 18px;
    --lp-radius-lg: 24px;
    --lp-radius-xl: 32px;
    --lp-radius-pill: 999px;

    --lp-shadow-xs: 0 8px 22px rgba(1, 7, 54, .06);
    --lp-shadow-sm: 0 14px 34px rgba(1, 7, 54, .08);
    --lp-shadow-md: 0 24px 70px rgba(1, 7, 54, .11);
    --lp-shadow-glow: 0 20px 70px rgba(171, 210, 250, .24);

    --lp-blur: 18px;
    --lp-content: 1180px;
    --lp-transition: 180ms cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #f6f8ff;
    color: var(--lp-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.lp-customer-app {
    /* Compatibilidad visual progresiva con las vistas legacy. */
    --bg: #f6f8ff;
    --card: var(--lp-white);
    --text: var(--lp-text);
    --muted: var(--lp-text-muted);
    --border: var(--lp-border);
    --primary: var(--lp-teal);
    --primary-dark: var(--lp-forest);
    --success: var(--lp-success);
    --warning: var(--lp-warning);
    --danger: var(--lp-danger);

    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--lp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 11% 10%, rgba(171, 210, 250, .34), transparent 28rem),
        radial-gradient(circle at 88% 18%, rgba(252, 241, 208, .86), transparent 31rem),
        linear-gradient(155deg, #f9fbff 0%, #f3f7ff 46%, #fffaf1 100%) !important;
    overflow-x: hidden;
}

body.lp-customer-app::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    opacity: .32;
    background-image:
        linear-gradient(rgba(34, 57, 111, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 57, 111, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 75%);
}

.lp-page-root {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
}

.lp-ambient {
    position: fixed;
    z-index: -2;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(72px);
    opacity: .18;
    pointer-events: none;
}

.lp-ambient--one {
    top: -150px;
    right: -90px;
    background: var(--lp-mint);
}

.lp-ambient--two {
    bottom: -190px;
    left: -130px;
    background: var(--lp-cream);
}

.lp-skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-forest);
    color: var(--lp-white);
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--lp-transition);
}

.lp-skip-link:focus {
    transform: translateY(0);
}

::selection {
    background: rgba(171, 210, 250, .55);
    color: var(--lp-forest);
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

body.lp-customer-app a {
    text-underline-offset: 3px;
}

body.lp-customer-app :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid rgba(34, 57, 111, .34);
    outline-offset: 3px;
}

body.lp-customer-app input,
body.lp-customer-app select,
body.lp-customer-app textarea {
    accent-color: var(--lp-teal);
}

body.lp-customer-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.lp-customer-app select,
body.lp-customer-app textarea {
    background-color: rgba(255, 255, 255, .92);
    border-color: var(--lp-border-strong);
    color: var(--lp-text);
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition);
}

body.lp-customer-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
body.lp-customer-app select:focus,
body.lp-customer-app textarea:focus {
    border-color: var(--lp-teal);
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .20);
}

body.lp-customer-app button,
body.lp-customer-app .portal-action,
body.lp-customer-app .button,
body.lp-customer-app .button-primary {
    transition: transform var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition), border-color var(--lp-transition);
}

/* Legacy portal CTAs normalized by the customer design system. */
body.lp-customer-app a.portal-action,
body.lp-customer-app a.portal-action:link,
body.lp-customer-app a.portal-action:visited {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: var(--lp-radius-sm);
    background: linear-gradient(145deg, var(--lp-teal), #182E66);
    color: var(--lp-white) !important;
    font: inherit;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 9px 22px rgba(34, 57, 111, .16);
}

body.lp-customer-app a.portal-action:hover {
    background: linear-gradient(145deg, #182E66, var(--lp-forest));
    color: var(--lp-white) !important;
    text-decoration: none !important;
    box-shadow: 0 12px 27px rgba(1, 7, 54, .18);
}

body.lp-customer-app a.portal-action--support,
body.lp-customer-app a.portal-action--support:link,
body.lp-customer-app a.portal-action--support:visited {
    border-color: rgba(34, 57, 111, .24);
    background: rgba(255, 244, 225, .78);
    color: var(--lp-forest) !important;
    box-shadow: none;
}

body.lp-customer-app a.portal-action--support:hover {
    border-color: rgba(34, 57, 111, .42);
    background: rgba(171, 210, 250, .22);
    color: var(--lp-forest) !important;
    box-shadow: none;
}

@media (hover: hover) {
    body.lp-customer-app button:not(:disabled):hover,
    body.lp-customer-app .portal-action:hover,
    body.lp-customer-app .button:hover,
    body.lp-customer-app .button-primary:hover {
        transform: translateY(-1px);
    }
}

/* Layout primitives */
.lp-shell {
    width: min(var(--lp-content), calc(100% - 36px));
    margin-inline: auto;
    padding-block: clamp(24px, 4vw, 52px);
}

.lp-stack {
    display: grid;
    gap: 18px;
}

.lp-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.lp-surface,
.lp-card {
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-sm);
}

.lp-glass,
.lp-card--glass {
    background: var(--lp-surface-glass);
    -webkit-backdrop-filter: blur(var(--lp-blur)) saturate(125%);
    backdrop-filter: blur(var(--lp-blur)) saturate(125%);
    border-color: rgba(255, 255, 255, .72);
    box-shadow: var(--lp-shadow-glow);
}

.lp-card {
    padding: 22px;
}

.lp-card--sm {
    padding: 16px;
    border-radius: var(--lp-radius-md);
}

.lp-card--lg {
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--lp-radius-xl);
}

/* Brand */
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--lp-forest);
    text-decoration: none;
}

.lp-brand__mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 42px;
    flex: 0 0 auto;
}

.lp-brand__mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lp-brand__copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.lp-brand__copy strong {
    font-size: 1rem;
    letter-spacing: -.02em;
}

.lp-brand__copy small {
    color: var(--lp-text-muted);
    font-size: .74rem;
    white-space: nowrap;
}

.lp-brand--compact .lp-brand__mark {
    width: 46px;
    height: 34px;
}

.lp-brand--compact .lp-brand__copy small {
    display: none;
}

.lp-brand--auth {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.lp-brand--auth .lp-brand__mark {
    width: clamp(168px, 44vw, 220px);
    height: clamp(92px, 24vw, 120px);
}

/* Buttons */
.lp-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--lp-radius-sm);
    padding: 11px 17px;
    background: linear-gradient(145deg, var(--lp-teal), #182E66);
    color: var(--lp-white);
    font: inherit;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(34, 57, 111, .17);
    transition: transform var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition);
}

.lp-button:hover {
    background: linear-gradient(145deg, #182E66, var(--lp-forest));
    box-shadow: 0 13px 30px rgba(1, 7, 54, .18);
}

.lp-button--secondary {
    background: var(--lp-forest);
    color: var(--lp-white);
}

.lp-button--ghost {
    border-color: var(--lp-border-strong);
    background: rgba(255, 255, 255, .72);
    color: var(--lp-forest);
    box-shadow: none;
}

.lp-button--ghost:hover {
    background: var(--lp-white);
}

.lp-button--danger {
    background: var(--lp-danger);
}

.lp-button:disabled,
.lp-button[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Badges */
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: var(--lp-radius-pill);
    background: rgba(34, 57, 111, .10);
    color: var(--lp-forest);
    font-size: .75rem;
    font-weight: 850;
}

.lp-badge--success { background: rgba(36, 120, 91, .12); color: #176348; }
.lp-badge--warning { background: rgba(166, 101, 21, .12); color: #88500d; }
.lp-badge--danger  { background: rgba(180, 35, 24, .10); color: #982018; }
.lp-badge--info    { background: rgba(34, 57, 111, .11); color: #22396F; }

/* Alerts */
.lp-alert {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: var(--lp-radius-md);
    padding: 14px 16px;
    background: rgba(239, 248, 250, .88);
    color: #22396F;
    line-height: 1.55;
}

.lp-alert__title { color: inherit; }
.lp-alert__content > :first-child { margin-top: 0; }
.lp-alert__content > :last-child { margin-bottom: 0; }
.lp-alert--success { background: rgba(236, 253, 245, .88); border-color: rgba(36,120,91,.18); color: #176348; }
.lp-alert--warning { background: rgba(255, 250, 235, .92); border-color: rgba(166,101,21,.20); color: #7c4b0e; }
.lp-alert--danger  { background: rgba(254, 242, 242, .92); border-color: rgba(180,35,24,.18); color: #982018; }

/* Empty states */
.lp-empty-state {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 30px;
    text-align: center;
    border: 1px dashed var(--lp-border-strong);
    border-radius: var(--lp-radius-lg);
    background: rgba(255,255,255,.52);
}

.lp-empty-state__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(171,210,250,.46), rgba(34,57,111,.15));
    color: var(--lp-forest);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .05em;
}

.lp-empty-state h3,
.lp-empty-state p { margin: 0; }
.lp-empty-state p { max-width: 52ch; color: var(--lp-text-muted); line-height: 1.55; }
.lp-empty-state__actions { margin-top: 8px; }

/* Transitional skin for existing customer pages. */
body.lp-customer-app :where(.portal-header, .summary-card, .panel, .empty-card, .protection-card, .login-card, .header-card, .card, .stat, .ticket-card) {
    border-color: var(--lp-border);
}

body.lp-customer-app :where(.portal-header, .summary-card, .panel, .empty-card, .login-card, .header, .card, .stat, .ticket-card) {
    box-shadow: var(--lp-shadow-xs);
}

body.lp-customer-app :where(.eyebrow, .code) {
    color: var(--lp-teal);
}

body.lp-customer-app :where(.ghost-button, .logout-button) {
    background: var(--lp-forest);
}

/* El encabezado principal del portal se mantiene en una superficie estable.
   En Chromium/Brave, backdrop-filter sobre una tarjeta grande que queda fuera
   del viewport puede provocar un repintado tardío al redimensionar la ventana. */
body.lp-customer-app .portal-header {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    body.lp-customer-app .login-card {
        background: rgba(255, 255, 255, .82);
        -webkit-backdrop-filter: blur(14px) saturate(120%);
        backdrop-filter: blur(14px) saturate(120%);
    }
}

@media (max-width: 720px) {
    .lp-shell {
        width: min(100% - 24px, var(--lp-content));
        padding-block: 18px 34px;
    }

    .lp-card {
        border-radius: var(--lp-radius-md);
        padding: 18px;
    }

    .lp-brand__mark {
        width: 50px;
        height: 36px;
    }

    .lp-brand__copy small {
        font-size: .7rem;
    }

    .lp-ambient {
        opacity: .12;
    }
}

@media (max-width: 420px) {
    .lp-brand__copy small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ------------------------------------------------------------
 * Fase 8.2.2 · Header y navegación global del cliente
 * ------------------------------------------------------------ */
.lp-customer-header-wrap {
    position: sticky;
    top: 0;
    z-index: 120;
    width: 100%;
    padding: 12px 16px 0;
    pointer-events: none;
}

.lp-customer-header {
    width: min(var(--lp-content), 100%);
    min-height: 70px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 9px 10px 9px 17px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    pointer-events: auto;
    box-shadow: 0 15px 46px rgba(1, 7, 54, .10);
}

.lp-customer-header__brand,
.lp-customer-header__actions,
.lp-customer-header__nav {
    min-width: 0;
}

.lp-header-brand {
    display: inline-flex;
    max-width: 162px;
}

.lp-header-brand .lp-brand__mark {
    width: 152px;
    height: 50px;
}

.lp-customer-header__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.lp-header-nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: var(--lp-radius-pill);
    color: var(--lp-text-soft);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: color var(--lp-transition), background var(--lp-transition), box-shadow var(--lp-transition), transform var(--lp-transition);
}

.lp-header-nav-link:hover {
    color: var(--lp-forest);
    background: rgba(171, 210, 250, .16);
}

.lp-header-nav-link.is-active {
    color: var(--lp-white);
    background: var(--lp-forest);
    box-shadow: 0 8px 20px rgba(1, 7, 54, .16);
}

.lp-customer-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lp-header-notification-anchor:empty {
    display: none;
}

.lp-account-menu {
    position: relative;
}

.lp-account-menu > summary {
    list-style: none;
}

.lp-account-menu > summary::-webkit-details-marker {
    display: none;
}

.lp-account-menu__trigger {
    min-height: 50px;
    max-width: 280px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 6px 9px 6px 7px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 17px;
    background: rgba(255, 255, 255, .60);
    color: var(--lp-forest);
    cursor: pointer;
    user-select: none;
    transition: background var(--lp-transition), border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-account-menu__trigger:hover,
.lp-account-menu[open] .lp-account-menu__trigger {
    background: rgba(255, 255, 255, .92);
    border-color: var(--lp-border-strong);
    box-shadow: var(--lp-shadow-xs);
}

.lp-account-menu__avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--lp-forest), var(--lp-teal));
    color: var(--lp-white);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(1, 7, 54, .15);
}

.lp-account-menu__identity {
    min-width: 0;
    display: grid;
    gap: 1px;
    text-align: left;
}

.lp-account-menu__identity strong,
.lp-account-menu__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-account-menu__identity strong {
    font-size: .84rem;
    font-weight: 900;
}

.lp-account-menu__identity small {
    color: var(--lp-text-muted);
    font-size: .7rem;
}

.lp-account-menu__chevron {
    color: var(--lp-text-muted);
    transition: transform var(--lp-transition);
}

.lp-account-menu[open] .lp-account-menu__chevron {
    transform: rotate(180deg);
}

.lp-account-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(330px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(1, 7, 54, .17);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    backdrop-filter: blur(20px) saturate(125%);
}

.lp-account-menu__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 17px;
    border-bottom: 1px solid var(--lp-border);
    background: linear-gradient(145deg, rgba(171, 210, 250, .13), rgba(255, 244, 225, .24));
}

.lp-account-menu__avatar--large {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: .86rem;
}

.lp-account-menu__profile > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.lp-account-menu__profile strong,
.lp-account-menu__profile span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-account-menu__profile strong {
    font-size: .93rem;
}

.lp-account-menu__profile span {
    color: var(--lp-text-muted);
    font-size: .76rem;
}

.lp-account-menu__verification {
    width: max-content;
    margin-top: 4px;
    color: var(--lp-warning);
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-account-menu__verification.is-verified {
    color: var(--lp-success);
}

.lp-account-menu__links {
    display: grid;
    gap: 4px;
    padding: 9px;
}

.lp-account-menu__link {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--lp-text-soft);
    text-decoration: none;
    transition: background var(--lp-transition), color var(--lp-transition);
}

.lp-account-menu__link:hover,
.lp-account-menu__link.is-active {
    background: rgba(171, 210, 250, .15);
    color: var(--lp-forest);
}

.lp-account-menu__link svg {
    color: var(--lp-teal);
}

.lp-account-menu__link span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.lp-account-menu__link strong {
    font-size: .84rem;
}

.lp-account-menu__link small {
    color: var(--lp-text-muted);
    font-size: .7rem;
    line-height: 1.3;
}

.lp-account-menu__logout-form {
    padding: 9px;
    border-top: 1px solid var(--lp-border);
}

.lp-account-menu__logout {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent !important;
    color: var(--lp-danger) !important;
    font: inherit;
    font-size: .84rem;
    font-weight: 850;
    box-shadow: none !important;
    cursor: pointer;
}

.lp-account-menu__logout:hover {
    background: rgba(180, 35, 24, .07) !important;
    transform: none !important;
}

@media (max-width: 760px) {
    .lp-customer-header-wrap {
        padding: 8px 10px 0;
    }

    .lp-customer-header {
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 7px 8px 7px 13px;
        border-radius: 19px;
    }

    .lp-customer-header__nav {
        display: none;
    }

    .lp-header-brand {
        max-width: 126px;
    }

    .lp-header-brand .lp-brand__mark {
        width: 122px;
        height: 46px;
    }

    .lp-account-menu__trigger {
        min-height: 48px;
        grid-template-columns: auto auto;
        gap: 7px;
        padding: 5px 8px 5px 5px;
        border-radius: 16px;
    }

    .lp-account-menu__identity {
        display: none;
    }

    .lp-account-menu__avatar {
        width: 38px;
        height: 38px;
    }

    .lp-account-menu__panel {
        position: fixed;
        top: 78px;
        right: 10px;
        width: min(340px, calc(100vw - 20px));
        max-height: calc(100dvh - 94px);
        overflow-y: auto;
    }
}

@media (max-width: 380px) {
    .lp-header-brand .lp-brand__mark {
        width: 108px;
        height: 42px;
    }

    .lp-account-menu__chevron {
        display: none;
    }
}

/* =========================================================
   Fase 8.2.3 · Floating navigation móvil
   Inspirada en la referencia de navegación inferior del PDF.
   En escritorio permanece el header; en móvil esta barra se
   convierte en el acceso rápido a las áreas operativas.
   ========================================================= */

.lp-floating-nav-wrap {
    display: none;
}

.lp-portal-anchor {
    scroll-margin-top: 104px;
}

@media (max-width: 760px) {
    .lp-customer-app--authenticated .lp-page-root {
        padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    }

    .lp-floating-nav-wrap {
        position: fixed;
        z-index: 90;
        left: 50%;
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
        display: flex;
        width: min(430px, calc(100% - 16px));
        transform: translateX(-50%);
        pointer-events: none;
    }

    .lp-floating-nav {
        width: 100%;
        min-height: 66px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3px;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, .82);
        border-radius: 22px;
        background: rgba(255, 255, 255, .88);
        box-shadow:
            0 18px 48px rgba(1, 7, 54, .18),
            0 3px 12px rgba(1, 7, 54, .08);
        -webkit-backdrop-filter: blur(20px) saturate(135%);
        backdrop-filter: blur(20px) saturate(135%);
        pointer-events: auto;
    }

    .lp-floating-nav__item,
    .lp-floating-nav__item:link,
    .lp-floating-nav__item:visited {
        min-width: 43px;
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        flex: 0 1 auto;
        padding: 0 11px;
        border-radius: 17px;
        color: var(--lp-text-soft) !important;
        text-decoration: none !important;
        white-space: nowrap;
        transition:
            color var(--lp-transition),
            background var(--lp-transition),
            box-shadow var(--lp-transition),
            transform var(--lp-transition),
            max-width var(--lp-transition);
    }

    .lp-floating-nav__item svg {
        flex: 0 0 auto;
    }

    .lp-floating-nav__item > span {
        display: none;
        max-width: 0;
        overflow: hidden;
        opacity: 0;
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: -.01em;
    }

    .lp-floating-nav__item.is-active,
    .lp-floating-nav__item.is-active:link,
    .lp-floating-nav__item.is-active:visited {
        max-width: 126px;
        padding-inline: 14px;
        background: linear-gradient(145deg, var(--lp-forest), #111A4D);
        color: var(--lp-white) !important;
        box-shadow: 0 10px 24px rgba(1, 7, 54, .24);
    }

    .lp-floating-nav__item.is-active > span {
        display: inline;
        max-width: 88px;
        opacity: 1;
    }

    .lp-floating-nav__item:not(.is-active):hover {
        background: rgba(171, 210, 250, .18);
        color: var(--lp-forest) !important;
    }

    .lp-floating-nav__item:active {
        transform: scale(.97);
    }
}

@media (max-width: 365px) {
    .lp-floating-nav-wrap {
        width: calc(100% - 10px);
    }

    .lp-floating-nav {
        gap: 1px;
        padding: 6px 5px;
        border-radius: 20px;
    }

    .lp-floating-nav__item,
    .lp-floating-nav__item:link,
    .lp-floating-nav__item:visited {
        min-width: 41px;
        padding-inline: 8px;
    }

    .lp-floating-nav__item.is-active,
    .lp-floating-nav__item.is-active:link,
    .lp-floating-nav__item.is-active:visited {
        max-width: 104px;
        padding-inline: 11px;
    }

    .lp-floating-nav__item.is-active > span {
        max-width: 67px;
        font-size: .68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-floating-nav__item {
        transition: none !important;
    }
}

/* =========================================================
   Fase 8.2.4 · Componentes y estados visuales comunes
   Capa de compatibilidad para que las superficies legacy
   compartan botones, formularios, feedback, badges y vacíos
   sin rediseñar todavía cada pantalla de manera individual.
   ========================================================= */

:root {
    --lp-space-1: 6px;
    --lp-space-2: 10px;
    --lp-space-3: 14px;
    --lp-space-4: 18px;
    --lp-space-5: 24px;
    --lp-space-6: 32px;
}

/* Componentes reutilizables */
.lp-button--sm {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 12px;
    font-size: .82rem;
}

.lp-button--lg {
    min-height: 50px;
    padding: 13px 20px;
    font-size: .98rem;
}

.lp-button--block {
    width: 100%;
}

.lp-button:link,
.lp-button:visited {
    color: var(--lp-white);
    text-decoration: none;
}

.lp-button--ghost:link,
.lp-button--ghost:visited {
    color: var(--lp-forest);
}

.lp-button--danger:link,
.lp-button--danger:visited {
    color: var(--lp-white);
}

.lp-badge__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    opacity: .72;
}

.lp-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.lp-field__label {
    color: var(--lp-text-soft);
    font-size: .82rem;
    font-weight: 850;
}

.lp-field__required {
    color: var(--lp-danger);
}

.lp-field__control {
    min-width: 0;
}

.lp-field__control > :where(input, select, textarea) {
    width: 100%;
}

.lp-field__hint,
.lp-field__error {
    margin: 0;
    font-size: .76rem;
    line-height: 1.45;
}

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

.lp-field__error {
    color: var(--lp-danger);
    font-weight: 750;
}

.lp-portal-feedback {
    margin: 22px 0;
}

.lp-portal-feedback .lp-alert__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-portal-feedback .lp-alert__content p {
    margin: 0;
}

.lp-portal-empty {
    margin-block: 20px;
}

/* Jerarquía de texto compartida */
body.lp-customer-app :where(.eyebrow, .code, .ticket-code) {
    color: var(--lp-teal);
}

body.lp-customer-app :where(.muted, .subtitle, .card-copy, .help, .secure-note, .contact-note) {
    color: var(--lp-text-muted);
}

body.lp-customer-app :where(.eyebrow, .code, .ticket-code) {
    font-weight: 900;
    letter-spacing: .07em;
}

/* Superficies compartidas. La estructura particular de cada pantalla se
   conserva; solamente se armonizan material, borde, radio y profundidad. */
body.lp-customer-app :where(
    .portal-header,
    .header,
    .claim-header,
    .payout-header,
    .legal-update-header,
    .card,
    .panel,
    .summary-card,
    .claim-card,
    .payout-card,
    .table-card,
    .stat,
    .ticket-card,
    .status-box
) {
    border-color: var(--lp-border);
    background-color: rgba(255, 255, 255, .91);
    box-shadow: var(--lp-shadow-xs);
}

body.lp-customer-app :where(.card, .panel, .summary-card, .claim-card, .payout-card, .table-card, .stat, .ticket-card) {
    border-radius: var(--lp-radius-lg);
}

/* Botones legacy -> mismo lenguaje visual. */
body.lp-customer-app :where(
    a.button,
    button.button,
    .btn:not(.danger),
    .button-primary,
    .btn-primary,
    .primary-button,
    .pay-button,
    .legal-update-submit
),
body.lp-customer-app :where(
    a.button:link,
    a.button:visited,
    .button-primary:link,
    .button-primary:visited,
    .btn-primary:link,
    .btn-primary:visited,
    .primary-button:link,
    .primary-button:visited,
    .legal-update-submit:link,
    .legal-update-submit:visited
) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: var(--lp-radius-sm);
    background: linear-gradient(145deg, var(--lp-teal), #182E66);
    color: var(--lp-white) !important;
    font: inherit;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(34, 57, 111, .16);
    cursor: pointer;
}

body.lp-customer-app :where(
    a.button:hover,
    button.button:hover,
    .btn:not(.danger):hover,
    .button-primary:hover,
    .btn-primary:hover,
    .primary-button:hover,
    .pay-button:hover,
    .legal-update-submit:hover
) {
    background: linear-gradient(145deg, #182E66, var(--lp-forest));
    color: var(--lp-white) !important;
    text-decoration: none !important;
}

body.lp-customer-app :where(
    a.button-secondary,
    .button-secondary,
    a.back-link,
    .back-link,
    a.back,
    .back,
    a.ghost-button,
    .ghost-button,
    a.secondary-link,
    .secondary-link
),
body.lp-customer-app :where(
    a.button-secondary:link,
    a.button-secondary:visited,
    a.back-link:link,
    a.back-link:visited,
    a.back:link,
    a.back:visited,
    a.ghost-button:link,
    a.ghost-button:visited,
    a.secondary-link:link,
    a.secondary-link:visited
) {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--lp-border-strong);
    border-radius: var(--lp-radius-sm);
    background: rgba(255, 255, 255, .76);
    color: var(--lp-forest) !important;
    font: inherit;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none;
    cursor: pointer;
}

body.lp-customer-app :where(
    .button-secondary:hover,
    .back-link:hover,
    .back:hover,
    .ghost-button:hover,
    .secondary-link:hover
) {
    border-color: rgba(34, 57, 111, .42);
    background: rgba(171, 210, 250, .17);
    color: var(--lp-forest) !important;
    text-decoration: none !important;
}

body.lp-customer-app :where(.btn.danger, button.danger) {
    border: 1px solid rgba(180, 35, 24, .20);
    background: rgba(254, 242, 242, .94);
    color: var(--lp-danger) !important;
    box-shadow: none;
}

body.lp-customer-app :where(.btn.danger, button.danger):hover {
    border-color: rgba(180, 35, 24, .32);
    background: rgba(180, 35, 24, .08);
    color: #8f1c15 !important;
}

body.lp-customer-app :where(.btn.small, .button.small) {
    min-height: 36px;
    padding: 8px 11px;
    font-size: .78rem;
}

body.lp-customer-app :where(.pay-button, button.button, .btn, .legal-update-submit):disabled,
body.lp-customer-app :where(.pay-button, button.button, .btn, .legal-update-submit)[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Formularios */
body.lp-customer-app :where(.field, .form > label) {
    color: var(--lp-text-soft);
}

body.lp-customer-app :where(.field > label, .form > label, .lp-field__label) {
    font-size: .82rem;
    font-weight: 850;
}

body.lp-customer-app input[type="file"] {
    border: 1px dashed var(--lp-border-strong);
    border-radius: var(--lp-radius-sm);
    background: rgba(255, 255, 255, .68);
    padding: 11px;
}

body.lp-customer-app :where(.error-text, .field-error) {
    color: var(--lp-danger);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.4;
}

/* Feedback */
body.lp-customer-app :where(.notice, .alert-box, .sandbox, .recurring-box) {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    background: rgba(255, 255, 255, .72);
    color: var(--lp-text-soft);
    line-height: 1.55;
}

body.lp-customer-app :where(.notice.success, .notice.ok, .success-box, .status-paid) {
    border-color: rgba(36, 120, 91, .20);
    background: rgba(236, 253, 245, .90);
    color: #176348;
}

body.lp-customer-app :where(.notice.warning, .alert-warning) {
    border-color: rgba(166, 101, 21, .22);
    background: rgba(255, 250, 235, .93);
    color: #7c4b0e;
}

body.lp-customer-app :where(.notice.error, .alert-danger, .legal-update-error) {
    border-color: rgba(180, 35, 24, .20);
    background: rgba(254, 242, 242, .94);
    color: #982018;
}

body.lp-customer-app :where(.notice.info, .alert-info, .sandbox, .recurring-box) {
    border-color: rgba(34, 57, 111, .22);
    background: rgba(171, 210, 250, .13);
    color: var(--lp-forest);
}

/* Estados, badges y pills */
body.lp-customer-app :where(.badge, .pill, .status-badge, .version-badge, .photo-badge) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 5px 10px;
    border: 0;
    border-radius: var(--lp-radius-pill);
    background: rgba(34, 57, 111, .10);
    color: var(--lp-forest);
    font-size: .74rem;
    font-weight: 850;
    line-height: 1.2;
}

body.lp-customer-app :where(
    .badge.activa,
    .badge.payment-pagado,
    .badge.claim-pagada,
    .badge.claim-cerrada,
    .pill.current,
    .status-badge.activa,
    .status-resolved,
    .status-closed
) {
    background: rgba(36, 120, 91, .12);
    color: #176348;
}

body.lp-customer-app :where(
    .badge.validacion_pendiente,
    .badge.payment-pendiente,
    .badge.claim-pago_pendiente,
    .status-waiting_information,
    .priority-high,
    .pill.new
) {
    background: rgba(166, 101, 21, .12);
    color: #88500d;
}

body.lp-customer-app :where(
    .badge.rechazada,
    .badge.payment-fallido,
    .badge.claim-rechazada,
    .status-cancelled,
    .priority-urgent
) {
    background: rgba(180, 35, 24, .10);
    color: #982018;
}

body.lp-customer-app :where(.priority-normal, .status-open, .status-in_review) {
    background: rgba(34, 57, 111, .11);
    color: #22396F;
}

body.lp-customer-app .priority-low {
    background: rgba(113, 131, 126, .11);
    color: var(--lp-text-soft);
}

/* Vacíos */
body.lp-customer-app :where(.empty, .empty-card, .legal-update-empty) {
    border: 1px dashed var(--lp-border-strong);
    border-radius: var(--lp-radius-md);
    background: rgba(255, 255, 255, .54);
    color: var(--lp-text-muted);
    line-height: 1.55;
}

body.lp-customer-app .empty {
    padding: 16px;
}

@media (max-width: 620px) {
    .lp-portal-feedback .lp-alert__content {
        align-items: stretch;
    }

    .lp-portal-feedback .lp-button {
        width: 100%;
    }

    body.lp-customer-app :where(.button, .button-secondary, .btn, .back-link, .back, .ghost-button, .pay-button) {
        min-height: 44px;
    }
}

/* =========================================================
   Fase 8.2.5 · QA visual base y limpieza de compatibilidad
   Esta capa se carga después de los estilos legacy de cada
   pantalla y corrige problemas transversales antes del
   rediseño integral de 8.3 / 8.4.
   ========================================================= */

/* Evita que contenido real (correos, folios, URLs o nombres largos)
   rompa grids/flex y provoque scroll horizontal en móvil. */
body.lp-customer-app :where(
    .portal-container,
    .payment-shell,
    .support-shell,
    .security-shell,
    .membership-shell,
    .claim-shell,
    .layout,
    .grid,
    .row,
    .panel,
    .card,
    .protection-card,
    .ticket-card,
    .summary-card
) {
    min-width: 0;
}

body.lp-customer-app :where(
    p,
    li,
    dd,
    td,
    th,
    small,
    strong,
    .subtitle,
    .muted,
    .card-copy,
    .lp-account-menu__profile,
    .lp-account-menu__link
) {
    overflow-wrap: anywhere;
}

body.lp-customer-app :where(img, video, canvas) {
    max-width: 100%;
    height: auto;
}

body.lp-customer-app :where(pre, code) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.lp-customer-app pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Las tarjetas con tablas ya existentes conservan su estructura de escritorio,
   pero el desplazamiento queda contenido dentro de la superficie. */
body.lp-customer-app :where(.table-card, .table-wrap, .table-responsive) {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

body.lp-customer-app :where(.table-card, .table-wrap, .table-responsive) table {
    margin: 0;
}

/* El header sticky no debe ocultar destinos internos al navegar por anclas. */
body.lp-customer-app .lp-page-root :where(.lp-portal-anchor, [data-lp-anchor]) {
    scroll-margin-top: 108px;
}

/* Limpieza de estilos inline operativos del portal. El centro de notificaciones
   se deja fuera porque desaparecerá del cuerpo del portal en Fase 8.3. */
.lp-portal-action-block {
    margin-top: 16px;
}

.lp-portal-action-block--soft {
    padding: 16px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    background: rgba(255, 255, 255, .58);
}

.lp-portal-action-title {
    margin-top: 0 !important;
}

.lp-portal-badges {
    margin: 10px 0 14px;
}

.lp-portal-support-action {
    margin-top: 12px;
}

/* El diseño compartido manda sobre los azules/grises legacy cuando ambas capas
   definen el mismo elemento. Se preservan dimensiones y layouts de cada vista. */
body.lp-customer-app :where(.file-link, .legal-link, .text-link) {
    color: var(--lp-teal);
}

body.lp-customer-app :where(.file-link, .legal-link, .text-link):visited {
    color: var(--lp-teal);
}

body.lp-customer-app :where(.file-link, .legal-link, .text-link):hover {
    color: var(--lp-forest);
}

body.lp-customer-app :where(.details-grid, .summary-box, .info-box) {
    border-color: var(--lp-border);
    background-color: rgba(255, 255, 255, .55);
}

/* QA móvil: evita el zoom automático de iOS en formularios y mantiene targets
   cómodos sin convertir enlaces de texto editorial en botones. */
@media (max-width: 760px) {
    body.lp-customer-app :where(
        input:not([type="checkbox"]):not([type="radio"]),
        select,
        textarea
    ) {
        font-size: 16px;
    }

    body.lp-customer-app :where(
        button,
        input[type="button"],
        input[type="submit"],
        .lp-button,
        .portal-action,
        .button,
        .button-primary,
        .button-secondary,
        .back-link,
        .ghost-button,
        .btn
    ) {
        min-height: 44px;
    }

    body.lp-customer-app :where(.topbar, .panel-title, .protection-top, .next-action) {
        min-width: 0;
    }

    body.lp-customer-app .lp-page-root :where(.lp-portal-anchor, [data-lp-anchor]) {
        scroll-margin-top: 94px;
    }
}

/* =========================================================
   Fase 8.3.1 · Arquitectura nueva del portal/dashboard
   El portal deja de abrir con una tarjeta genérica y pasa a
   tener una jerarquía clara: bienvenida, resumen navegable y
   contenido operativo. Notificaciones siguen accesibles al
   final hasta que 8.3.2 las lleve a la campana del header.
   ========================================================= */

.lp-dashboard-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: center;
    overflow: hidden;
    margin-bottom: 18px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(171, 210, 250, .24);
    border-radius: clamp(24px, 4vw, 34px);
    background:
        radial-gradient(circle at 86% 14%, rgba(171, 210, 250, .22), transparent 30%),
        linear-gradient(135deg, var(--lp-forest) 0%, #14285E 56%, var(--lp-teal) 100%);
    color: var(--lp-white);
    box-shadow: 0 24px 58px rgba(1, 7, 54, .16);
}

.lp-dashboard-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    right: -115px;
    bottom: -145px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, .035),
        0 0 0 78px rgba(255, 255, 255, .02);
}

.lp-dashboard-hero__content {
    min-width: 0;
}

.lp-dashboard-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--lp-mint);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lp-dashboard-hero__eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.lp-dashboard-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--lp-white);
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.lp-dashboard-hero__content > p {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(.98rem, 2vw, 1.08rem);
    line-height: 1.65;
}

.lp-dashboard-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.lp-button--light,
a.lp-button--light:visited {
    border-color: var(--lp-white) !important;
    background: var(--lp-white) !important;
    color: var(--lp-forest) !important;
}

.lp-button--light:hover {
    border-color: var(--lp-cream) !important;
    background: var(--lp-cream) !important;
    color: var(--lp-forest) !important;
}

.lp-button--ghost-light,
a.lp-button--ghost-light:visited {
    border-color: rgba(255, 255, 255, .30) !important;
    background: rgba(255, 255, 255, .08) !important;
    color: var(--lp-white) !important;
}

.lp-button--ghost-light:hover {
    border-color: rgba(255, 255, 255, .48) !important;
    background: rgba(255, 255, 255, .14) !important;
    color: var(--lp-white) !important;
}

.lp-dashboard-hero__visual {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 230px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background: rgba(255, 255, 255, .075);
    text-align: center;
}

.lp-dashboard-hero__shield {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 34px;
    background: rgba(171, 210, 250, .12);
    color: var(--lp-mint);
    transform: rotate(-3deg);
}

.lp-dashboard-hero__visual strong {
    color: var(--lp-white);
    font-size: 1.02rem;
}

.lp-dashboard-hero__visual > span {
    max-width: 230px;
    margin-top: 7px;
    color: rgba(255, 255, 255, .64);
    font-size: .86rem;
    line-height: 1.5;
}

.lp-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 24px;
}

.lp-dashboard-metric,
a.lp-dashboard-metric:visited {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--lp-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    color: var(--lp-forest);
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(1, 7, 54, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lp-dashboard-metric:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 57, 111, .34);
    background: var(--lp-white);
    box-shadow: 0 18px 42px rgba(1, 7, 54, .09);
}

.lp-dashboard-metric__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(171, 210, 250, .18);
    color: var(--lp-teal);
}

.lp-dashboard-metric--payments .lp-dashboard-metric__icon {
    background: rgba(255, 244, 225, .88);
    color: #8d641f;
}

.lp-dashboard-metric--claims .lp-dashboard-metric__icon {
    background: rgba(34, 57, 111, .10);
    color: var(--lp-forest);
}

.lp-dashboard-metric__copy {
    display: grid;
    min-width: 0;
}

.lp-dashboard-metric__copy small {
    color: var(--lp-text-muted);
    font-size: .76rem;
    font-weight: 780;
    letter-spacing: .02em;
}

.lp-dashboard-metric__copy strong {
    margin-top: 2px;
    color: var(--lp-forest);
    font-size: 1.7rem;
    line-height: 1;
}

.lp-dashboard-metric__copy > span {
    margin-top: 5px;
    color: var(--lp-text-soft);
    font-size: .78rem;
}

.lp-dashboard-metric__arrow {
    color: var(--lp-teal);
    font-size: 1.25rem;
    transition: transform .18s ease;
}

.lp-dashboard-metric:hover .lp-dashboard-metric__arrow {
    transform: translateX(3px);
}

/* El contenido operativo del dashboard gana una jerarquía más limpia sin
   alterar todavía la lógica detallada de cada protección. */
body.lp-customer-app .portal-container > .panel {
    margin-top: 18px;
    padding: clamp(20px, 3vw, 30px);
    border-color: rgba(34, 57, 111, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 46px rgba(1, 7, 54, .055);
}

body.lp-customer-app .portal-container > .panel .panel-title {
    margin-bottom: 22px;
}

body.lp-customer-app .portal-container > .panel .panel-title h2 {
    color: var(--lp-forest);
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
    letter-spacing: -.025em;
}

body.lp-customer-app .portal-container > .panel .panel-title p {
    max-width: 640px;
    color: var(--lp-text-muted);
}

body.lp-customer-app .protection-card {
    border-color: rgba(34, 57, 111, .15);
    border-radius: 22px;
    background: var(--lp-white);
    box-shadow: 0 10px 28px rgba(1, 7, 54, .045);
}

body.lp-customer-app .protection-card .code {
    color: var(--lp-teal);
    letter-spacing: .035em;
}

body.lp-customer-app .details-grid {
    border-color: rgba(34, 57, 111, .12);
    background: linear-gradient(180deg, rgba(171, 210, 250, .07), rgba(255, 255, 255, .70));
}

@media (max-width: 900px) {
    .lp-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .lp-dashboard-hero__visual {
        display: none;
    }

    .lp-dashboard-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .lp-dashboard-hero {
        padding: 26px 20px;
        border-radius: 26px;
    }

    .lp-dashboard-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.1rem);
    }

    .lp-dashboard-hero__actions,
    .lp-dashboard-hero__actions .lp-button {
        width: 100%;
    }

    .lp-dashboard-metric {
        padding: 15px;
        border-radius: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .lp-dashboard-metric,
    .lp-dashboard-metric__arrow {
        transition: none;
    }
}

/* =========================================================
   Fase 8.3.2 · Campana global + contador de no leídas
   El panel completo llegará en 8.3.3; mientras tanto la
   campana conserva acceso al centro transitorio del portal.
   ========================================================= */
.lp-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lp-notification-bell {
    position: relative;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    color: var(--lp-forest);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(1, 7, 54, .06);
    transition: transform var(--lp-transition), background var(--lp-transition), border-color var(--lp-transition), box-shadow var(--lp-transition), color var(--lp-transition);
}

.lp-notification-bell:hover,
.lp-notification-bell:focus-visible {
    color: var(--lp-teal);
    background: var(--lp-white);
    border-color: rgba(34, 57, 111, .34);
    box-shadow: 0 12px 28px rgba(1, 7, 54, .11);
    transform: translateY(-1px);
}

.lp-notification-bell:focus-visible {
    outline: 3px solid rgba(171, 210, 250, .72);
    outline-offset: 2px;
}

.lp-notification-bell.has-unread {
    background: linear-gradient(145deg, rgba(171, 210, 250, .26), rgba(255, 255, 255, .96));
    border-color: rgba(34, 57, 111, .30);
}

.lp-notification-bell__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid var(--lp-white);
    border-radius: var(--lp-radius-pill);
    background: var(--lp-teal);
    color: var(--lp-white);
    font-size: .65rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    box-shadow: 0 5px 14px rgba(1, 7, 54, .20);
}


@media (max-width: 760px) {
    .lp-customer-header__actions {
        gap: 6px;
    }

    .lp-notification-bell {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .lp-notification-bell__badge {
        top: -4px;
        right: -4px;
    }
}

@media (max-width: 380px) {
    .lp-notification-bell {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   Fase 8.3.3 · Panel / drawer real de notificaciones
   La lista sale definitivamente del flujo del dashboard.
   Desktop: popover anclado a la campana.
   Mobile: drawer inferior con backdrop y safe-area.
   ========================================================= */
.lp-notification-center {
    position: relative;
    flex: 0 0 auto;
}

.lp-notification-bell.is-open {
    color: var(--lp-white);
    background: var(--lp-forest);
    border-color: var(--lp-forest);
    box-shadow: 0 14px 32px rgba(1, 7, 54, .18);
}

.lp-notification-center__backdrop {
    position: fixed;
    inset: 0;
    z-index: 121;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

/* El backdrop es un <button> por accesibilidad/cierre. Blindamos sus estados
   para que las reglas globales de hover de botones no tiñan toda la página. */
.lp-notification-center__backdrop:hover,
.lp-notification-center__backdrop:focus,
.lp-notification-center__backdrop:focus-visible,
.lp-notification-center__backdrop:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    transform: none;
}

.lp-notification-center__panel {
    position: absolute;
    z-index: 122;
    top: calc(100% + 12px);
    right: 0;
    width: min(430px, calc(100vw - 32px));
    max-height: min(640px, calc(100vh - 118px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: 26px;
    background: rgba(255, 255, 255, .985);
    color: var(--lp-text);
    box-shadow: 0 28px 80px rgba(1, 7, 54, .22);
}

.lp-notification-center__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--lp-border);
    background:
        radial-gradient(circle at 8% 0%, rgba(171, 210, 250, .32), transparent 15rem),
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(252, 241, 208, .34));
}

.lp-notification-center__heading {
    min-width: 0;
}

.lp-notification-center__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--lp-teal);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-notification-center__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-notification-center__title-row h2 {
    margin: 0;
    color: var(--lp-forest);
    font-size: 1.22rem;
    line-height: 1.15;
}

.lp-notification-center__count {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: var(--lp-radius-pill);
    background: rgba(171, 210, 250, .42);
    color: var(--lp-teal);
    font-size: .68rem;
    font-weight: 900;
}

.lp-notification-center__heading p {
    margin: 6px 0 0;
    max-width: 320px;
    color: var(--lp-text-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.lp-notification-center__close {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--lp-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    color: var(--lp-forest);
    cursor: pointer;
    transition: background var(--lp-transition), border-color var(--lp-transition), transform var(--lp-transition);
}

.lp-notification-center__close:hover,
.lp-notification-center__close:focus-visible {
    background: var(--lp-white);
    border-color: var(--lp-border-strong);
    transform: translateY(-1px);
}

.lp-notification-center__toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    border-bottom: 1px solid var(--lp-border);
    background: rgba(246, 248, 255, .88);
}

.lp-notification-center__toolbar button {
    min-height: 34px;
    padding: 7px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--lp-teal);
    font: inherit;
    font-size: .76rem;
    font-weight: 850;
    cursor: pointer;
}

.lp-notification-center__toolbar button:hover,
.lp-notification-center__toolbar button:focus-visible {
    background: rgba(171, 210, 250, .26);
}

.lp-notification-center__content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.lp-notification-center__list {
    display: grid;
    gap: 0;
}

.lp-notification-card {
    position: relative;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(34, 57, 111, .11);
    background: var(--lp-white);
}

.lp-notification-card:last-child {
    border-bottom: 0;
}

.lp-notification-card.is-unread {
    background: linear-gradient(90deg, rgba(171, 210, 250, .17), rgba(255, 255, 255, .98) 48%);
}

.lp-notification-card__indicator {
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 50%;
    background: rgba(100, 116, 154, .34);
}

.lp-notification-card.is-unread .lp-notification-card__indicator {
    background: var(--lp-teal);
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .28);
}

.lp-notification-card.is-high .lp-notification-card__indicator {
    background: var(--lp-warning);
}

.lp-notification-card.is-critical .lp-notification-card__indicator {
    background: var(--lp-danger);
}

.lp-notification-card__[x-cloak] {
    display: none !important;
}

body {
    min-width: 0;
}

.lp-notification-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.lp-notification-card__title-row strong {
    min-width: 0;
    color: var(--lp-forest);
    font-size: .88rem;
    line-height: 1.35;
}

.lp-notification-card__new {
    flex: 0 0 auto;
    color: var(--lp-teal);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-notification-card__body p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: .79rem;
    line-height: 1.48;
}

.lp-notification-card__body small {
    display: block;
    margin-top: 7px;
    color: var(--lp-text-soft);
    font-size: .69rem;
}

.lp-notification-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.lp-notification-card__actions :is(a, button) {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border: 1px solid var(--lp-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, .88);
    color: var(--lp-teal);
    font: inherit;
    font-size: .72rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.lp-notification-card__actions :is(a, button):hover,
.lp-notification-card__actions :is(a, button):focus-visible {
    border-color: var(--lp-border-strong);
    background: rgba(171, 210, 250, .20);
    color: var(--lp-forest);
}

.lp-notification-center__loading {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 32px 24px;
    text-align: center;
}

.lp-notification-center__loading-spinner {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
    border: 3px solid rgba(171, 210, 250, .45);
    border-top-color: var(--lp-teal);
    border-radius: 50%;
    animation: lp-notification-spin .7s linear infinite;
}

.lp-notification-center__loading strong {
    color: var(--lp-forest);
    font-size: .92rem;
}

.lp-notification-center__loading p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .78rem;
}

@keyframes lp-notification-spin {
    to { transform: rotate(360deg); }
}

.lp-notification-center__empty {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 32px 24px;
    text-align: center;
}

.lp-notification-center__empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    border-radius: 18px;
    background: rgba(171, 210, 250, .26);
    color: var(--lp-teal);
}

.lp-notification-center__empty strong {
    color: var(--lp-forest);
    font-size: .94rem;
}

.lp-notification-center__empty p {
    max-width: 280px;
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.lp-notification-center__footer {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--lp-border);
    background: rgba(246, 248, 255, .92);
    color: var(--lp-text-muted);
    font-size: .68rem;
    text-align: center;
}

@media (max-width: 760px) {
    .lp-notification-center__backdrop,
    .lp-notification-center__backdrop:hover,
    .lp-notification-center__backdrop:focus,
    .lp-notification-center__backdrop:focus-visible,
    .lp-notification-center__backdrop:active {
        background: rgba(1, 7, 54, .24);
        box-shadow: none;
        transform: none;
    }

    .lp-notification-center__panel {
        position: fixed;
        z-index: 122;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        left: 10px;
        top: auto;
        width: auto;
        max-width: none;
        max-height: min(78dvh, 720px);
        border-radius: 28px;
        box-shadow: 0 28px 90px rgba(1, 7, 54, .30);
    }

    .lp-notification-center__header {
        padding: 18px 17px 14px;
    }

    .lp-notification-center__heading p {
        max-width: 260px;
    }

    .lp-notification-card {
        padding: 14px 15px;
    }

    .lp-notification-card__actions :is(a, button) {
        min-height: 38px;
    }
}

@media (max-width: 420px) {
    .lp-notification-center__panel {
        right: 0;
        bottom: 0;
        left: 0;
        top: auto;
        max-height: 82dvh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 28px 28px 0 0;
    }

    .lp-notification-center__title-row {
        align-items: flex-start;
    }

    .lp-notification-center__count {
        min-height: 23px;
        font-size: .64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-notification-center__close,
    .lp-notification-bell {
        transition: none;
    }

    .lp-notification-center__loading-spinner {
        animation: none;
    }
}

/* ========================================================================== 
   Fase 8.3.4 · Acciones contextuales seguras de notificaciones
   ========================================================================== */
.lp-notification-card__actions .lp-notification-card__primary-action {
    gap: 5px;
    border-color: rgba(34, 57, 111, .22);
    background: rgba(171, 210, 250, .28);
    color: var(--lp-forest);
}

.lp-notification-card__actions .lp-notification-card__primary-action:hover,
.lp-notification-card__actions .lp-notification-card__primary-action:focus-visible {
    border-color: rgba(34, 57, 111, .38);
    background: rgba(171, 210, 250, .48);
    color: var(--lp-forest);
}

.lp-notification-card__actions .lp-notification-card__primary-action svg {
    flex: 0 0 auto;
    transition: transform var(--lp-transition-fast);
}

.lp-notification-card__actions .lp-notification-card__primary-action:hover svg,
.lp-notification-card__actions .lp-notification-card__primary-action:focus-visible svg {
    transform: translateX(2px);
}

.lp-notification-card__actions button[disabled] {
    cursor: wait;
    opacity: .62;
    transform: none;
}

/* ========================================================================== 
   Fase 8.3.5 · QA responsive, accesibilidad y cierre del centro de actividad
   ========================================================================== */
.lp-notification-center [x-cloak] {
    display: none !important;
}

.lp-notification-center__panel {
    max-height: min(640px, calc(100vh - 118px));
    max-height: min(640px, calc(100dvh - 118px));
}

.lp-notification-center__content {
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 57, 111, .34) transparent;
}

.lp-notification-center__heading,
.lp-notification-card__body,
.lp-notification-card__title-row strong,
.lp-notification-card__body p {
    overflow-wrap: anywhere;
}

.lp-notification-center__close {
    width: 44px;
    height: 44px;
}

.lp-notification-center__toolbar button {
    min-height: 40px;
}

.lp-notification-card__actions :is(a, button) {
    min-height: 38px;
}

.lp-notification-center__close:focus-visible,
.lp-notification-center__toolbar button:focus-visible,
.lp-notification-card__actions :is(a, button):focus-visible {
    outline: 3px solid rgba(171, 210, 250, .78);
    outline-offset: 2px;
}

.lp-notification-center__toolbar button[disabled],
.lp-notification-card__actions button[disabled] {
    cursor: wait;
    opacity: .62;
    transform: none;
}

@media (max-width: 760px) {
    html.lp-notification-open,
    html.lp-notification-open body {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .lp-notification-center__panel {
        max-height: min(78vh, 720px);
        max-height: min(78dvh, 720px);
    }

    .lp-notification-center__content {
        touch-action: pan-y;
    }

    .lp-notification-center__close,
    .lp-notification-center__toolbar button,
    .lp-notification-card__actions :is(a, button) {
        min-height: 44px;
    }
}

@media (max-width: 760px) and (max-height: 560px) {
    .lp-notification-center__panel {
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
        left: 8px;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 22px;
    }

    .lp-notification-center__header {
        padding: 13px 15px 11px;
    }

    .lp-notification-center__heading p {
        display: none;
    }

    .lp-notification-center__toolbar {
        padding: 7px 12px;
    }
}

@media (max-width: 360px) {
    .lp-notification-card__actions :is(a, button) {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-notification-card__actions .lp-notification-card__primary-action svg {
        transition: none;
    }

    .lp-notification-card__actions .lp-notification-card__primary-action:hover svg,
    .lp-notification-card__actions .lp-notification-card__primary-action:focus-visible svg {
        transform: none;
    }
}

@media (forced-colors: active) {
    .lp-notification-bell,
    .lp-notification-center__panel,
    .lp-notification-center__close,
    .lp-notification-card__actions :is(a, button) {
        border: 1px solid CanvasText;
    }

    .lp-notification-card__indicator,
    .lp-notification-bell__badge {
        forced-color-adjust: none;
    }
}

/* ========================================================================== 
   Fase 8.4.1 · Protecciones + detalle de protección
   ========================================================================== */
.lp-protections-overview {
    overflow: hidden;
}

.lp-protections-overview__heading {
    align-items: flex-end;
}

.lp-protection-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-protection-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92)),
        var(--lp-white);
    box-shadow: 0 14px 34px rgba(1, 7, 54, .055);
    transition: transform var(--lp-transition), border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-protection-card:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 57, 111, .28);
    box-shadow: 0 22px 46px rgba(1, 7, 54, .09);
}

.lp-protection-card__top {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.lp-protection-card__identity {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 13px;
}

.lp-protection-card__identity > div {
    min-width: 0;
}

.lp-protection-card__icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .50), rgba(252, 241, 208, .52));
    color: var(--lp-forest);
}

.lp-protection-card__code {
    display: block;
    margin-bottom: 5px;
    color: var(--lp-teal);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lp-protection-card h3 {
    margin: 0;
    color: var(--lp-forest);
    font-size: clamp(1.06rem, 2vw, 1.22rem);
    letter-spacing: -.025em;
}

.lp-protection-card__identity p {
    margin: 6px 0 0;
    color: var(--lp-text-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.lp-protection-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 17px;
    background: rgba(34, 57, 111, .10);
}

.lp-protection-card__facts > div {
    min-width: 0;
    padding: 13px 14px;
    background: rgba(255, 255, 255, .96);
}

.lp-protection-card__facts span,
.lp-protection-card__facts strong {
    display: block;
}

.lp-protection-card__facts span {
    margin-bottom: 4px;
    color: var(--lp-text-muted);
    font-size: .7rem;
    font-weight: 780;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.lp-protection-card__facts strong {
    color: var(--lp-forest);
    font-size: .91rem;
    overflow-wrap: anywhere;
}

.lp-protection-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: auto;
}

.lp-protection-card__support,
.lp-protection-card__support:visited {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    color: #22396f !important;
    font-size: .82rem;
    font-weight: 820;
    text-decoration: none;
}

.lp-protection-card__support:hover {
    color: #010736 !important;
    text-decoration: underline;
}

.lp-protection-page {
    min-height: 100vh;
    padding: 30px 18px 72px;
}

.lp-protection-page__container {
    width: min(var(--lp-content), 100%);
    margin: 0 auto;
}

.lp-protection-back,
.lp-protection-back:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--lp-teal) !important;
    font-size: .87rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-protection-back:hover {
    color: var(--lp-forest) !important;
}

.lp-protection-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
    gap: 24px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(171, 210, 250, .20);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 10%, rgba(171, 210, 250, .22), transparent 17rem),
        radial-gradient(circle at 6% 100%, rgba(252, 241, 208, .14), transparent 18rem),
        linear-gradient(135deg, #010736 0%, #16265F 58%, #22396F 100%);
    color: var(--lp-white);
    box-shadow: 0 26px 70px rgba(1, 7, 54, .18);
}

.lp-protection-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -78px;
    bottom: -108px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, .035),
        0 0 0 70px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.lp-protection-hero__main,
.lp-protection-hero__status {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.lp-protection-hero__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.lp-protection-hero__code {
    color: var(--lp-mint);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-protection-hero h1 {
    margin: 0;
    max-width: 720px;
    color: var(--lp-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.lp-protection-hero__main > p {
    max-width: 660px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(.96rem, 2vw, 1.08rem);
    line-height: 1.6;
}

.lp-protection-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.lp-protection-hero__status {
    align-self: stretch;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
}

.lp-protection-hero__status > span,
.lp-protection-hero__status > strong {
    display: block;
}

.lp-protection-hero__status > span {
    color: var(--lp-mint);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-protection-hero__status > strong {
    margin-top: 8px;
    color: var(--lp-white);
    font-size: 1.15rem;
}

.lp-protection-hero__status p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
    line-height: 1.55;
}

.lp-protection-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.lp-protection-stat,
.lp-protection-section,
.lp-protection-side-card {
    border: 1px solid rgba(34, 57, 111, .15);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(1, 7, 54, .055);
}

.lp-protection-stat {
    min-width: 0;
    padding: 17px 18px;
    border-radius: 18px;
}

.lp-protection-stat span,
.lp-protection-stat strong,
.lp-protection-stat small {
    display: block;
}

.lp-protection-stat span {
    color: var(--lp-text-muted);
    font-size: .69rem;
    font-weight: 820;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.lp-protection-stat strong {
    margin-top: 7px;
    color: var(--lp-forest);
    font-size: clamp(1rem, 2vw, 1.22rem);
    overflow-wrap: anywhere;
}

.lp-protection-stat small {
    margin-top: 3px;
    color: var(--lp-text-muted);
    font-size: .75rem;
}

.lp-protection-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.lp-protection-layout__main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lp-protection-layout__aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.lp-protection-section,
.lp-protection-side-card {
    min-width: 0;
    border-radius: 24px;
}

.lp-protection-section {
    padding: clamp(20px, 3vw, 27px);
}

.lp-protection-side-card {
    padding: 20px;
}

.lp-protection-section__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.lp-protection-section__heading h2,
.lp-protection-side-card h2 {
    margin: 4px 0 0;
    color: var(--lp-forest);
    font-size: clamp(1.12rem, 2.4vw, 1.42rem);
    letter-spacing: -.03em;
}

.lp-protection-section__eyebrow {
    color: var(--lp-teal);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-protection-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.lp-protection-data-grid > div,
.lp-protection-side-data > div {
    min-width: 0;
}

.lp-protection-data-grid > div {
    padding: 14px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 15px;
    background: rgba(171, 210, 250, .09);
}

.lp-protection-data-grid dt,
.lp-protection-side-data dt {
    color: var(--lp-text-muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.lp-protection-data-grid dd,
.lp-protection-side-data dd {
    margin: 5px 0 0;
    color: var(--lp-forest);
    font-weight: 820;
    overflow-wrap: anywhere;
}

.lp-protection-tires {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.lp-protection-tire {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
}

.lp-protection-tire__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(171, 210, 250, .25);
    color: var(--lp-teal);
}

.lp-protection-tire > div {
    min-width: 0;
}

.lp-protection-tire strong,
.lp-protection-tire span:not(.lp-badge):not(.lp-protection-tire__icon) {
    display: block;
}

.lp-protection-tire strong {
    color: var(--lp-forest);
    font-size: .88rem;
}

.lp-protection-tire > div > span {
    margin-top: 2px;
    color: var(--lp-text-muted);
    font-size: .76rem;
}

.lp-protection-inline-empty {
    margin-top: 16px;
    padding: 16px;
    border: 1px dashed rgba(34, 57, 111, .20);
    border-radius: 16px;
    background: rgba(252, 241, 208, .28);
}

.lp-protection-inline-empty strong {
    color: var(--lp-forest);
}

.lp-protection-inline-empty p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.lp-protection-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.lp-protection-coverage-grid > div {
    min-width: 0;
    padding: 13px;
    border-radius: 14px;
    background: rgba(171, 210, 250, .13);
}

.lp-protection-coverage-grid span,
.lp-protection-coverage-grid strong {
    display: block;
}

.lp-protection-coverage-grid span {
    color: var(--lp-text-muted);
    font-size: .68rem;
    font-weight: 790;
    text-transform: uppercase;
}

.lp-protection-coverage-grid strong {
    margin-top: 5px;
    color: var(--lp-forest);
    font-size: 1rem;
}

.lp-protection-message {
    margin-top: 14px;
    padding: 15px 16px;
    border: 1px solid rgba(54, 90, 155, .18);
    border-radius: 16px;
    background: rgba(171, 210, 250, .15);
}

.lp-protection-message.is-success {
    border-color: rgba(36, 120, 91, .22);
    background: rgba(36, 120, 91, .07);
}

.lp-protection-message strong {
    color: var(--lp-forest);
}

.lp-protection-message p {
    margin: 5px 0 0;
    color: var(--lp-text-soft);
    font-size: .86rem;
    line-height: 1.55;
}

.lp-protection-message small {
    display: block;
    margin-top: 7px;
    color: var(--lp-text-muted);
}

.lp-protection-history {
    display: grid;
    gap: 8px;
}

.lp-protection-history__item,
.lp-protection-history__item:visited {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 20px;
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 11px 13px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 15px;
    color: var(--lp-forest) !important;
    text-decoration: none;
    transition: border-color var(--lp-transition), background var(--lp-transition), transform var(--lp-transition);
}

.lp-protection-history__item:hover {
    transform: translateX(2px);
    border-color: rgba(34, 57, 111, .28);
    background: rgba(171, 210, 250, .10);
}

.lp-protection-history__item strong,
.lp-protection-history__item small {
    display: block;
}

.lp-protection-history__item small {
    margin-top: 2px;
    color: var(--lp-text-muted);
}

.lp-protection-history__status {
    color: var(--lp-teal);
    font-size: .78rem;
    font-weight: 820;
}

.lp-protection-side-card h2 {
    margin-bottom: 15px;
}

.lp-protection-side-actions {
    display: grid;
    gap: 9px;
}

.lp-protection-side-data {
    display: grid;
    gap: 0;
    margin: 0;
}

.lp-protection-side-data > div {
    padding: 11px 0;
    border-top: 1px solid rgba(34, 57, 111, .10);
}

.lp-protection-side-data > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.lp-protection-side-card--compact {
    background: linear-gradient(145deg, rgba(171, 210, 250, .16), rgba(252, 241, 208, .30));
}

.lp-protection-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 11px;
}

.lp-protection-mini-stats span {
    min-width: 0;
    padding: 10px 7px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--lp-text-muted);
    font-size: .67rem;
    text-align: center;
}

.lp-protection-mini-stats strong {
    display: block;
    margin-bottom: 2px;
    color: var(--lp-forest);
    font-size: 1rem;
}

@media (max-width: 980px) {
    .lp-protection-cards {
        grid-template-columns: 1fr;
    }

    .lp-protection-hero {
        grid-template-columns: 1fr;
    }

    .lp-protection-hero__status {
        max-width: 680px;
    }

    .lp-protection-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-protection-layout {
        grid-template-columns: 1fr;
    }

    .lp-protection-layout__aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-protection-side-card--compact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .lp-protection-page {
        padding: 18px 13px 48px;
    }

    .lp-protections-overview__heading,
    .lp-protection-section__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-protections-overview__heading .lp-button,
    .lp-protection-section__heading .lp-button {
        width: 100%;
    }

    .lp-protection-card {
        padding: 17px;
        border-radius: 21px;
    }

    .lp-protection-card__top {
        flex-direction: column;
    }

    .lp-protection-card__facts,
    .lp-protection-data-grid,
    .lp-protection-coverage-grid,
    .lp-protection-layout__aside {
        grid-template-columns: 1fr;
    }

    .lp-protection-card__footer .lp-button,
    .lp-protection-card__support {
        width: 100%;
    }

    .lp-protection-hero {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .lp-protection-hero__actions .lp-button {
        width: 100%;
    }

    .lp-protection-overview {
        grid-template-columns: 1fr 1fr;
    }

    .lp-protection-tire {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .lp-protection-tire > .lp-badge {
        grid-column: 2;
        justify-self: start;
    }

    .lp-protection-side-card--compact {
        grid-column: auto;
    }
}

@media (max-width: 440px) {
    .lp-protection-overview {
        grid-template-columns: 1fr;
    }

    .lp-protection-card__identity {
        gap: 10px;
    }

    .lp-protection-card__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .lp-protection-history__item {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .lp-protection-history__status {
        grid-column: 1;
        grid-row: 2;
    }

    .lp-protection-history__item > span:last-child {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .lp-protection-mini-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-protection-card,
    .lp-protection-history__item {
        transition: none;
    }

    .lp-protection-card:hover,
    .lp-protection-history__item:hover {
        transform: none;
    }
}

/* ========================================================================== */
/* Fase 8.4.2 · Experiencia de pagos                                           */
/* ========================================================================== */

.lp-payment-page {
    padding: clamp(24px, 4vw, 48px) 0 clamp(76px, 8vw, 112px);
}

.lp-payment-shell {
    width: min(var(--lp-content), calc(100% - 36px));
    margin-inline: auto;
}

.lp-payment-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--lp-text-muted);
    font-size: .84rem;
    font-weight: 750;
}

.lp-payment-breadcrumb a,
.lp-payment-breadcrumb a:visited {
    color: var(--lp-teal);
    text-decoration: none;
}

.lp-payment-breadcrumb a:hover {
    color: var(--lp-forest);
    text-decoration: underline;
}

.lp-payment-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(171, 210, 250, .28);
    border-radius: var(--lp-radius-xl);
    color: var(--lp-white);
    background:
        radial-gradient(circle at 82% 18%, rgba(171, 210, 250, .22), transparent 18rem),
        linear-gradient(135deg, #010736 0%, #14285f 60%, #22396f 100%);
    box-shadow: 0 26px 70px rgba(1, 7, 54, .16);
}

.lp-payment-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    right: -110px;
    bottom: -170px;
    border-radius: 50%;
    border: 44px solid rgba(252, 241, 208, .08);
}

.lp-payment-hero__copy {
    min-width: 0;
    max-width: 720px;
}

.lp-payment-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lp-payment-hero__meta > span:first-child {
    color: var(--lp-mint);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-payment-hero .lp-badge {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    color: var(--lp-white);
}

.lp-payment-hero .lp-badge--success { background: rgba(36, 120, 91, .30); }
.lp-payment-hero .lp-badge--warning { background: rgba(166, 101, 21, .34); }
.lp-payment-hero .lp-badge--danger { background: rgba(180, 35, 24, .32); }
.lp-payment-hero .lp-badge--info { background: rgba(171, 210, 250, .20); }

.lp-payment-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.2rem, 5.7vw, 4.7rem);
    line-height: .96;
    letter-spacing: -.065em;
}

.lp-payment-hero__copy > p {
    max-width: 670px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(.96rem, 1.8vw, 1.08rem);
    line-height: 1.7;
}

.lp-payment-hero__amount {
    min-width: 230px;
    padding-left: clamp(22px, 4vw, 42px);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.lp-payment-hero__amount span,
.lp-payment-hero__amount small,
.lp-payment-hero__amount strong {
    display: block;
}

.lp-payment-hero__amount span {
    color: rgba(255, 255, 255, .62);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-payment-hero__amount strong {
    margin-top: 6px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.lp-payment-hero__amount small {
    margin-top: 7px;
    color: var(--lp-mint);
    font-weight: 850;
}

.lp-payment-overview {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: -20px 22px 0;
}

.lp-payment-stat {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--lp-shadow-xs);
}

.lp-payment-stat span,
.lp-payment-stat strong,
.lp-payment-stat small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.lp-payment-stat span {
    color: var(--lp-text-muted);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-payment-stat strong {
    margin-top: 7px;
    font-size: .98rem;
    line-height: 1.3;
}

.lp-payment-stat small {
    margin-top: 4px;
    color: var(--lp-text-muted);
    font-size: .76rem;
    line-height: 1.4;
}

.lp-payment-feedback {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.lp-payment-feedback:empty {
    display: none;
}

.lp-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}

.lp-payment-layout__main,
.lp-payment-layout__aside {
    min-width: 0;
}

.lp-payment-layout__aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 96px;
}

.lp-payment-card,
.lp-payment-side-card {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--lp-shadow-sm);
}

.lp-payment-card {
    padding: clamp(22px, 4vw, 34px);
}

.lp-payment-side-card {
    padding: 22px;
}

.lp-payment-section__heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.lp-payment-section__eyebrow {
    display: block;
    color: var(--lp-teal);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lp-payment-section__heading h2,
.lp-payment-side-card h2,
.lp-payment-complete h2 {
    margin: 6px 0 0;
    color: var(--lp-forest);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: -.035em;
}

.lp-payment-section__copy {
    margin: 14px 0 24px;
    color: var(--lp-text-muted);
    line-height: 1.65;
}

.lp-payment-security-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: var(--lp-radius-pill);
    background: rgba(171, 210, 250, .20);
    color: var(--lp-teal);
    font-size: .73rem;
    font-weight: 850;
}

.lp-payment-card-error {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(180, 35, 24, .25);
    border-radius: var(--lp-radius-sm);
    background: rgba(180, 35, 24, .07);
    color: var(--lp-danger);
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.5;
}

.lp-payment-card-error[hidden] {
    display: none;
}

.lp-payment-form,
.lp-payment-form__grid {
    display: grid;
    gap: 16px;
}

.lp-payment-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-payment-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.lp-payment-field--full {
    grid-column: 1 / -1;
}

.lp-payment-field label {
    color: var(--lp-forest);
    font-size: .82rem;
    font-weight: 850;
}

.lp-payment-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--lp-border-strong);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-white);
    color: var(--lp-text);
    font: inherit;
}

.lp-payment-field input:disabled {
    background: rgba(171, 210, 250, .10);
    color: var(--lp-text-muted);
    cursor: not-allowed;
}

.lp-payment-input-wrap {
    position: relative;
}

.lp-payment-input-wrap > span {
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    color: var(--lp-text-muted);
    pointer-events: none;
}

.lp-payment-input-wrap input {
    padding-left: 42px;
}

.lp-payment-input-wrap--brands input {
    padding-left: 13px;
    padding-right: 108px;
}

.lp-payment-input-brands {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.lp-payment-input-brands img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .lp-payment-input-wrap--brands input {
        padding-right: 84px;
    }

    .lp-payment-input-brands {
        right: 8px;
        gap: 4px;
    }

    .lp-payment-input-brands img {
        width: 32px;
        height: 32px;
    }
}

.lp-payment-recurring {
    padding: 17px;
    border: 1px solid rgba(171, 210, 250, .78);
    border-radius: var(--lp-radius-md);
    background: rgba(171, 210, 250, .14);
}

.lp-payment-recurring label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--lp-text);
    cursor: pointer;
    line-height: 1.55;
}

.lp-payment-recurring label > input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.lp-payment-recurring label span,
.lp-payment-recurring label strong {
    display: block;
}

.lp-payment-recurring label strong {
    margin-bottom: 3px;
    color: var(--lp-forest);
}

.lp-payment-recurring p {
    margin: 10px 0 0 31px;
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.55;
}

.lp-payment-submit {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2px;
    padding: 13px 17px;
    border: 0;
    border-radius: var(--lp-radius-md);
    background: linear-gradient(135deg, var(--lp-teal), var(--lp-forest));
    color: var(--lp-white);
    font: inherit;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(1, 7, 54, .16);
}

.lp-payment-submit span,
.lp-payment-submit strong {
    line-height: 1.2;
}

.lp-payment-submit span {
    font-size: .9rem;
    font-weight: 800;
}

.lp-payment-submit strong {
    font-size: 1rem;
}

.lp-payment-submit:not(:disabled):hover {
    background: linear-gradient(135deg, #182e66, #010736);
    transform: translateY(-1px);
}

.lp-payment-submit:disabled {
    opacity: .52;
    cursor: not-allowed;
    box-shadow: none;
}

.lp-payment-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--lp-text-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.lp-payment-secure-note svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--lp-teal);
}

.lp-payment-secure-note p {
    margin: 0;
}

.lp-payment-summary {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
}

.lp-payment-summary > div {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34, 57, 111, .10);
}

.lp-payment-summary dt {
    color: var(--lp-text-muted);
    font-size: .78rem;
    font-weight: 750;
}

.lp-payment-summary dd {
    margin: 0;
    color: var(--lp-forest);
    font-size: .84rem;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
}

.lp-payment-total {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--lp-radius-md);
    background: linear-gradient(145deg, rgba(1, 7, 54, .98), rgba(34, 57, 111, .96));
    color: var(--lp-white);
}

.lp-payment-total span,
.lp-payment-total strong,
.lp-payment-total small {
    display: block;
}

.lp-payment-total span {
    color: rgba(255, 255, 255, .64);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-payment-total strong {
    margin-top: 5px;
    font-size: 1.75rem;
    letter-spacing: -.04em;
}

.lp-payment-total small {
    margin-top: 2px;
    color: var(--lp-mint);
    font-weight: 800;
}

.lp-payment-side-link,
.lp-payment-side-link:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 2px 0;
    color: var(--lp-teal);
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-payment-side-link:hover {
    color: var(--lp-forest);
}

.lp-payment-side-card--support {
    display: grid;
    gap: 12px;
    background: linear-gradient(145deg, rgba(252, 241, 208, .62), rgba(255, 255, 255, .96));
}

.lp-payment-side-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(171, 210, 250, .26);
    color: var(--lp-teal);
}

.lp-payment-side-card--support strong {
    color: var(--lp-forest);
}

.lp-payment-side-card--support p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.lp-payment-complete {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lp-payment-complete__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: rgba(36, 120, 91, .10);
    color: var(--lp-success);
}

.lp-payment-complete p {
    margin: 11px 0 0;
    color: var(--lp-text-muted);
    line-height: 1.65;
}

.lp-payment-complete__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 960px) {
    .lp-payment-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-payment-layout {
        grid-template-columns: 1fr;
    }

    .lp-payment-layout__aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .lp-payment-page {
        padding-top: 18px;
    }

    .lp-payment-shell {
        width: min(100% - 24px, var(--lp-content));
    }

    .lp-payment-hero {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 24px 20px 28px;
        border-radius: 26px;
    }

    .lp-payment-hero__amount {
        min-width: 0;
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .lp-payment-overview {
        grid-template-columns: 1fr 1fr;
        margin: 12px 0 0;
    }

    .lp-payment-layout__aside {
        grid-template-columns: 1fr;
    }

    .lp-payment-section__heading {
        display: grid;
    }

    .lp-payment-security-chip {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .lp-payment-overview,
    .lp-payment-form__grid {
        grid-template-columns: 1fr;
    }

    .lp-payment-field--full {
        grid-column: auto;
    }

    .lp-payment-stat {
        padding: 15px 16px;
    }

    .lp-payment-card,
    .lp-payment-side-card {
        border-radius: 20px;
    }

    .lp-payment-card {
        padding: 20px 16px;
    }

    .lp-payment-submit {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .lp-payment-complete {
        display: grid;
    }

    .lp-payment-complete__actions {
        display: grid;
    }

    .lp-payment-complete__actions .lp-button {
        width: 100%;
    }

    .lp-payment-recurring p {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-payment-submit {
        transition: none !important;
    }
}

/* Fase 8.4.2 · FIX 01 — Avisos financieros del pago
   Mejora visual limitada al bloque de feedback de la pantalla de pago.
   Cualquier alerta futura dentro de .lp-payment-feedback hereda esta jerarquía. */
.lp-payment-feedback .lp-alert {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon content";
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(171, 210, 250, .18));
    color: #22396F;
    box-shadow: 0 12px 30px rgba(1, 7, 54, .07);
}

.lp-payment-feedback .lp-alert::before {
    content: "i";
    grid-area: icon;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(171, 210, 250, .72);
    color: #010736;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(34, 57, 111, .08);
}

.lp-payment-feedback .lp-alert__title {
    grid-area: title;
    color: #010736;
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.lp-payment-feedback .lp-alert__content {
    grid-area: content;
    min-width: 0;
    color: #4A5E8E;
    font-size: .86rem;
    line-height: 1.55;
}

.lp-payment-feedback .lp-alert--warning {
    border-color: rgba(194, 143, 35, .22);
    background: linear-gradient(135deg, rgba(252, 241, 208, .96), rgba(255, 255, 255, .98));
    color: #010736;
}

.lp-payment-feedback .lp-alert--warning::before {
    content: "!";
    background: #010736;
    color: #FCF1D0;
    box-shadow: 0 8px 18px rgba(1, 7, 54, .13);
}

.lp-payment-feedback .lp-alert--warning .lp-alert__content {
    color: #5D5570;
}

.lp-payment-feedback .lp-alert--success {
    border-color: rgba(36, 120, 91, .18);
    background: linear-gradient(135deg, rgba(236, 253, 245, .96), rgba(255, 255, 255, .98));
}

.lp-payment-feedback .lp-alert--success::before {
    content: "✓";
    background: #176348;
    color: #FFFFFF;
}

.lp-payment-feedback .lp-alert--danger {
    border-color: rgba(180, 35, 24, .16);
    background: linear-gradient(135deg, rgba(254, 242, 242, .97), rgba(255, 255, 255, .98));
}

.lp-payment-feedback .lp-alert--danger::before {
    content: "×";
    background: #982018;
    color: #FFFFFF;
    font-size: 1.25rem;
}

.lp-payment-feedback .lp-alert--danger .lp-alert__content {
    color: #7A3530;
}

@media (max-width: 560px) {
    .lp-payment-feedback .lp-alert {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .lp-payment-feedback .lp-alert::before {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
}

/* Fase 8.4.3 · Reclamaciones + evidencias
   Unifica reclamación, evidencia inicial y datos de reembolso dentro del
   sistema visual del cliente. Mantiene la lógica Livewire existente y evita
   estilos inline/aislados para que los estados responsive sean predecibles. */
.claim-shell,
.evidence-shell,
.payout-shell {
    width: 100%;
    color: var(--lp-text);
}

.claim-container,
.evidence-container,
.payout-container {
    width: min(var(--lp-content), calc(100% - 36px));
    margin: 0 auto;
    padding: 26px 0 56px;
}

.claim-container,
.evidence-container,
.payout-container,
.tire-evidence-wrapper {
    display: grid;
    gap: 18px;
}

.claim-header,
.evidence-header,
.payout-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 26px;
    padding: 30px 32px;
    border: 1px solid rgba(171, 210, 250, .24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 5%, rgba(171, 210, 250, .24), transparent 19rem),
        linear-gradient(135deg, #010736 0%, #14245b 58%, #22396f 100%);
    color: #fff;
    box-shadow: 0 24px 56px rgba(1, 7, 54, .16);
}

.claim-header::after,
.evidence-header::after,
.payout-header::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -92px;
    bottom: -138px;
    border-radius: 50%;
    border: 1px solid rgba(171, 210, 250, .18);
    pointer-events: none;
}

.claim-header > *,
.evidence-header > *,
.payout-header > * {
    position: relative;
    z-index: 1;
}

.claim-shell .eyebrow,
.evidence-shell .eyebrow,
.payout-shell .eyebrow {
    display: inline-flex;
    margin: 0 0 8px;
    color: #abd2fa;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.claim-header h1,
.evidence-header h1,
.payout-header h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.claim-header p,
.evidence-header p,
.payout-header p {
    max-width: 760px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: .96rem;
    line-height: 1.65;
}

.claim-hero-status {
    display: inline-flex;
    width: fit-content;
    margin: 11px 0 0;
    padding: 7px 11px;
    border: 1px solid rgba(171, 210, 250, .28);
    border-radius: 999px;
    background: rgba(171, 210, 250, .12);
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    text-transform: capitalize;
}

.claim-shell .back-link,
.evidence-shell .back-link,
.payout-shell .back-link,
.claim-shell .secondary-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform var(--lp-transition), background var(--lp-transition), border-color var(--lp-transition);
}

.claim-shell .back-link:hover,
.claim-shell .back-link:visited,
.evidence-shell .back-link:hover,
.evidence-shell .back-link:visited,
.payout-shell .back-link:hover,
.payout-shell .back-link:visited {
    color: #fff;
}

.claim-shell .back-link:hover,
.evidence-shell .back-link:hover,
.payout-shell .back-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .34);
}

.claim-support-row,
.payout-support-row {
    display: flex;
    justify-content: flex-end;
}

.claim-support-row .secondary-button,
.payout-support-row .back-link {
    border-color: rgba(34, 57, 111, .16);
    background: rgba(255, 255, 255, .90);
    color: var(--lp-teal);
    box-shadow: var(--lp-shadow-xs);
}

.claim-support-row .secondary-button:hover,
.claim-support-row .secondary-button:visited,
.payout-support-row .back-link:hover,
.payout-support-row .back-link:visited {
    color: var(--lp-teal);
}

.claim-shell .summary-card,
.evidence-shell .summary-card,
.payout-shell .summary-card,
.claim-shell .claim-card,
.evidence-shell .evidence-card,
.evidence-shell .example-card,
.payout-shell .payout-card {
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--lp-shadow-sm);
}

.claim-shell .summary-card,
.payout-shell .summary-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.claim-shell .summary-card > div,
.payout-shell .summary-card > div,
.evidence-shell .summary-grid > div {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .14), rgba(255, 255, 255, .94));
}

.claim-shell .summary-card span,
.payout-shell .summary-card span,
.evidence-shell .summary-grid span,
.claim-shell .readonly-value span {
    display: block;
    color: var(--lp-text-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.claim-shell .summary-card strong,
.payout-shell .summary-card strong,
.evidence-shell .summary-grid strong,
.claim-shell .readonly-value strong {
    display: block;
    margin-top: 5px;
    color: var(--lp-forest);
    font-size: .92rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.claim-card,
.payout-card {
    padding: 28px;
}

.claim-shell .section-title,
.payout-shell .section-title {
    margin: 30px 0 16px;
}

.claim-shell .section-title:first-child,
.payout-shell .section-title:first-child {
    margin-top: 0;
}

.claim-shell .section-title h2,
.payout-shell .section-title h2,
.evidence-shell .example-card h2 {
    margin: 0;
    color: var(--lp-forest);
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    letter-spacing: -.025em;
}

.claim-shell .section-title p,
.payout-shell .section-title p,
.evidence-shell .example-card p,
.evidence-shell .evidence-card p {
    margin: 7px 0 0;
    color: var(--lp-text-muted);
    line-height: 1.62;
}

.claim-shell .grid,
.payout-shell .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.claim-shell .field,
.payout-shell .field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.claim-shell .field.full {
    grid-column: 1 / -1;
}

.claim-description-field {
    margin-top: 22px;
}

.claim-shell label,
.payout-shell label,
.evidence-shell label {
    color: var(--lp-forest);
    font-size: .82rem;
    font-weight: 850;
}

.claim-shell input:not([type="checkbox"]),
.claim-shell select,
.claim-shell textarea,
.payout-shell input,
.evidence-shell input[type="file"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: 14px;
    background: #fff;
    color: var(--lp-text);
}

.claim-shell input[type="file"],
.evidence-shell input[type="file"] {
    padding: 12px;
    border-style: dashed;
    background: rgba(171, 210, 250, .10);
}

.claim-shell textarea {
    min-height: 132px;
    resize: vertical;
}

.claim-shell .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.claim-tire-option,
.claim-shell .checkbox-grid .readonly-value {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 16px;
    background: rgba(171, 210, 250, .09);
}

.claim-tire-option {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
    transition: border-color var(--lp-transition), transform var(--lp-transition), background var(--lp-transition);
}

.claim-tire-option:hover:not(.is-disabled) {
    transform: translateY(-1px);
    border-color: rgba(34, 57, 111, .30);
    background: rgba(171, 210, 250, .16);
}

.claim-tire-option.is-disabled {
    opacity: .58;
    cursor: not-allowed;
}

.claim-tire-option input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.claim-tire-option__meta,
.claim-tire-option__message {
    display: inline-block;
    margin-top: 4px;
    color: var(--lp-text-muted);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.45;
}

.claim-tire-option__message {
    color: var(--lp-warning);
}

.claim-tire-option__message.is-available {
    color: var(--lp-success);
}

.claim-shell .readonly-value {
    min-height: 46px;
    padding: 13px 14px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 14px;
    background: rgba(171, 210, 250, .08);
}

.claim-shell .map-preview {
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 18px;
    background: #fff;
}

.claim-map-frame {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.claim-shell .status-box,
.claim-shell .admin-note,
.claim-shell .success-box,
.claim-shell .blocked-box,
.evidence-shell .status-box,
.evidence-shell .success-box,
.evidence-shell .blocked-box,
.evidence-shell .locked-note,
.evidence-shell .rejected-note,
.payout-shell .success-box,
.payout-shell .notice {
    padding: 15px 17px;
    border-radius: 17px;
    border: 1px solid rgba(34, 57, 111, .14);
    background: rgba(255, 255, 255, .92);
    line-height: 1.55;
}

.claim-shell .status-box,
.evidence-shell .status-box {
    border-color: rgba(54, 90, 155, .18);
    background: linear-gradient(135deg, rgba(171, 210, 250, .24), rgba(255, 255, 255, .94));
    color: #22396f;
}

.claim-shell .admin-note,
.claim-shell .blocked-box,
.evidence-shell .blocked-box,
.evidence-shell .rejected-note,
.payout-hold-notice {
    border-color: rgba(166, 101, 21, .20) !important;
    background: linear-gradient(135deg, rgba(252, 241, 208, .88), rgba(255, 255, 255, .96)) !important;
    color: #6d4b18 !important;
}

.claim-shell .success-box,
.evidence-shell .success-box,
.payout-shell .success-box {
    border-color: rgba(36, 120, 91, .18);
    background: linear-gradient(135deg, rgba(232, 247, 240, .92), rgba(255, 255, 255, .96));
    color: #176348;
}

.claim-shell small,
.payout-shell small,
.evidence-shell small {
    color: var(--lp-danger);
    font-size: .76rem;
    font-weight: 800;
}

.tire-evidence-card {
    padding: 18px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .09), rgba(255, 255, 255, .96));
}

.tire-evidence-card > h3 {
    margin: 0 0 14px;
    color: var(--lp-forest);
    font-size: 1rem;
}

.evidence-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.evidence-type-card,
.general-evidence-card {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 11px;
    padding: 15px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 18px;
    background: #fff;
}

.general-evidence-card {
    margin-top: 12px;
    background: linear-gradient(145deg, rgba(252, 241, 208, .36), rgba(255, 255, 255, .96));
}

.evidence-type-card h4,
.general-evidence-card h3 {
    margin: 0;
    color: var(--lp-forest);
}

.evidence-type-card p,
.general-evidence-card p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .82rem;
    line-height: 1.55;
}

.example-box,
.existing-photo,
.evidence-shell .photo-preview {
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 15px;
    background: rgba(171, 210, 250, .07);
}

.example-box img,
.existing-photo img,
.evidence-shell .photo-preview img {
    width: 100%;
    height: 176px;
    display: block;
    object-fit: cover;
}

.example-placeholder {
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 16px;
    color: var(--lp-text-muted);
    text-align: center;
    font-size: .8rem;
    font-weight: 800;
}

.existing-photo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.photo-meta {
    padding: 10px;
}

.photo-badge,
.evidence-shell .badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 900;
}

.photo-approved {
    background: rgba(36, 120, 91, .11);
    color: #176348;
}

.photo-rejected {
    background: rgba(180, 35, 24, .10);
    color: #982018;
}

.photo-pending {
    background: rgba(166, 101, 21, .12);
    color: #7b5418;
}

.claim-shell .actions,
.payout-shell .actions,
.evidence-shell .actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
}

.claim-shell .primary-button,
.payout-shell button[type="submit"],
.evidence-shell .primary-button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #22396f, #010736);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(1, 7, 54, .14);
    transition: transform var(--lp-transition), box-shadow var(--lp-transition);
}

.claim-shell .primary-button:hover,
.payout-shell button[type="submit"]:hover,
.evidence-shell .primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(1, 7, 54, .18);
}

/* Evidencia inicial de la protección */
.evidence-shell .summary-card {
    padding: 16px;
}

.evidence-shell .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.evidence-shell .example-card {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 18px;
    background: linear-gradient(140deg, rgba(171, 210, 250, .20), rgba(255, 255, 255, .96));
}

.evidence-shell .example-card img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.evidence-shell .positions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.evidence-shell .evidence-card {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 13px;
    padding: 19px;
}

.evidence-shell .evidence-card h3 {
    margin: 0;
    color: var(--lp-forest);
}

/* Medidas omitidas al cotizar: grupo obligatorio previo a las fotografías. */
.evidence-shell .lp-evidence-tire-sizes {
    min-width: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 12px;
    padding: 19px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--lp-shadow-sm);
}

.evidence-shell .lp-evidence-tire-sizes legend {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--lp-forest);
    font-size: 1.05rem;
    font-weight: 850;
}

.evidence-shell .lp-evidence-tire-sizes > p {
    margin: 0;
    color: var(--lp-text-soft);
    font-size: .86rem;
    line-height: 1.5;
}

.evidence-shell .lp-evidence-tire-sizes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.evidence-shell .lp-evidence-tire-sizes .lp-field__control > input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid rgba(34, 57, 111, .22);
    border-radius: 13px;
    background: #FFFFFF;
    color: var(--lp-text);
    font-size: .9rem;
}

.evidence-shell .lp-evidence-tire-sizes .lp-field__control > input:focus-visible {
    outline: none;
    border-color: var(--lp-teal);
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .3);
}

@media (max-width: 760px) {
    .evidence-shell .lp-evidence-tire-sizes__grid {
        grid-template-columns: 1fr;
    }
}

.evidence-shell .photo-preview {
    display: grid;
    gap: 10px;
    padding-bottom: 12px;
}

.evidence-shell .photo-preview .badge,
.evidence-shell .photo-preview .rejected-note {
    margin-inline: 12px;
}

.evidence-shell .locked-note {
    color: var(--lp-text-soft);
    background: rgba(171, 210, 250, .08);
}

.evidence-actions {
    margin-top: 22px !important;
}

/* Reembolso */
.payout-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.payout-hero-amount {
    min-width: 155px;
    padding: 13px 16px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.payout-hero-amount span,
.payout-hero-amount small {
    display: block;
    color: rgba(255, 255, 255, .66);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.payout-hero-amount strong {
    display: block;
    margin: 3px 0 1px;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -.04em;
}

.payout-shell .summary-card.single {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payout-hold-notice {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .evidence-type-grid {
        grid-template-columns: 1fr;
    }

    .claim-shell .summary-card,
    .evidence-shell .summary-grid,
    .payout-shell .summary-card,
    .payout-shell .summary-card.single {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payout-header {
        grid-template-columns: 1fr auto;
    }

    .payout-hero-amount {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
        padding: 15px 0 0;
    }
}

@media (max-width: 760px) {
    .claim-container,
    .evidence-container,
    .payout-container {
        width: min(100% - 24px, 1160px);
        padding-top: 18px;
    }

    .claim-header,
    .evidence-header,
    .payout-header {
        display: grid;
        grid-template-columns: 1fr;
        padding: 24px 20px 26px;
        border-radius: 26px;
    }

    .claim-shell .back-link,
    .evidence-shell .back-link,
    .payout-shell .back-link {
        justify-self: start;
    }

    .claim-support-row,
    .payout-support-row {
        justify-content: stretch;
    }

    .claim-support-row .secondary-button,
    .payout-support-row .back-link {
        width: 100%;
    }

    .claim-shell .summary-card,
    .evidence-shell .summary-grid,
    .payout-shell .summary-card,
    .payout-shell .summary-card.single,
    .claim-shell .grid,
    .payout-shell .grid,
    .claim-shell .checkbox-grid,
    .evidence-shell .positions-grid,
    .evidence-shell .example-card,
    .existing-photo-list {
        grid-template-columns: 1fr;
    }

    .claim-card,
    .payout-card {
        padding: 21px 17px;
        border-radius: 21px;
    }

    .tire-evidence-card,
    .evidence-shell .evidence-card {
        padding: 15px;
        border-radius: 19px;
    }

    .example-box img,
    .existing-photo img,
    .evidence-shell .photo-preview img {
        height: 210px;
    }

    .claim-shell .actions,
    .payout-shell .actions,
    .evidence-shell .actions {
        display: grid;
    }

    .claim-shell .primary-button,
    .payout-shell button[type="submit"],
    .evidence-shell .primary-button {
        width: 100%;
    }

    .payout-hero-amount {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .claim-header h1,
    .evidence-header h1,
    .payout-header h1 {
        font-size: 2rem;
    }

    .claim-map-frame {
        height: 230px;
    }

    .example-box img,
    .existing-photo img,
    .evidence-shell .photo-preview img {
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .claim-tire-option,
    .claim-shell .back-link,
    .evidence-shell .back-link,
    .payout-shell .back-link,
    .claim-shell .primary-button,
    .payout-shell button[type="submit"],
    .evidence-shell .primary-button {
        transition: none !important;
    }
}

/* Fase 8.4.3 · FIX 01 — Alertas premium de reclamaciones
   Toda alerta contextual de esta superficie pasa por .lp-claim-feedback para
   conservar jerarquía, iconografía, contraste y responsive consistentes. */
.lp-claim-feedback {
    display: grid;
    gap: 12px;
}

.lp-claim-feedback:empty {
    display: none;
}

.lp-claim-feedback .lp-alert {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon content";
    column-gap: 14px;
    row-gap: 5px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(171, 210, 250, .18));
    color: #22396F;
    box-shadow: 0 12px 30px rgba(1, 7, 54, .07);
}

.lp-claim-feedback .lp-alert::before {
    content: "i";
    grid-area: icon;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(171, 210, 250, .72);
    color: #010736;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(34, 57, 111, .08);
}

.lp-claim-feedback .lp-alert__title {
    grid-area: title;
    color: #010736;
    font-size: .95rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.lp-claim-feedback .lp-alert__content {
    grid-area: content;
    min-width: 0;
    color: #4A5E8E;
    font-size: .86rem;
    line-height: 1.6;
}

.lp-claim-feedback .lp-alert--warning {
    border-color: rgba(194, 143, 35, .22);
    background: linear-gradient(135deg, rgba(252, 241, 208, .96), rgba(255, 255, 255, .98));
}

.lp-claim-feedback .lp-alert--warning::before {
    content: "!";
    background: #010736;
    color: #FCF1D0;
    box-shadow: 0 8px 18px rgba(1, 7, 54, .13);
}

.lp-claim-feedback .lp-alert--warning .lp-alert__content {
    color: #5D5570;
}

.lp-claim-feedback .lp-alert--danger {
    border-color: rgba(180, 35, 24, .16);
    background: linear-gradient(135deg, rgba(254, 242, 242, .97), rgba(255, 255, 255, .98));
}

.lp-claim-feedback .lp-alert--danger::before {
    content: "!";
    background: #982018;
    color: #FFFFFF;
    font-size: 1.1rem;
}

.lp-claim-feedback .lp-alert--danger .lp-alert__content {
    color: #7A3530;
}

/* QA21: resaltar indicaciones accionables solo mientras falta información. */
.lp-claim-feedback .lp-claim-admin-instructions.lp-alert--danger {
    border-color: rgba(180, 35, 24, .34);
}

.lp-claim-feedback .lp-claim-admin-instructions.lp-alert--danger .lp-alert__title {
    color: #982018;
}

.lp-claim-feedback .lp-alert--success {
    border-color: rgba(36, 120, 91, .18);
    background: linear-gradient(135deg, rgba(236, 253, 245, .96), rgba(255, 255, 255, .98));
}

.lp-claim-feedback .lp-alert--success::before {
    content: "✓";
    background: #176348;
    color: #FFFFFF;
}

.lp-claim-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
}

.lp-claim-status-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 13px;
    background: rgba(255, 255, 255, .66);
}

.lp-claim-status-grid span {
    display: block;
    color: #63749B;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-claim-status-grid strong {
    display: block;
    margin-top: 4px;
    color: #010736;
    font-size: .82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.lp-claim-status-grid__risk.is-warning {
    border-color: rgba(194, 143, 35, .22);
    background: rgba(252, 241, 208, .72);
}

.lp-claim-status-grid__risk.is-critical {
    border-color: rgba(180, 35, 24, .18);
    background: rgba(254, 242, 242, .90);
}

.lp-claim-status-grid__risk.is-critical strong {
    color: #982018;
}

.lp-claim-alert-list {
    margin: 2px 0 0;
    padding-left: 1.15rem;
}

.lp-claim-alert-list li + li {
    margin-top: 4px;
}

.lp-claim-alert-detail {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 16%, transparent);
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .lp-claim-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .lp-claim-feedback .lp-alert {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .lp-claim-feedback .lp-alert::before {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
}

@media (max-width: 430px) {
    .lp-claim-status-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Phase 8.4.4 — Customer security & account experience
   ================================================================ */
.lp-security-page {
    padding: clamp(24px, 4vw, 48px) 18px calc(96px + env(safe-area-inset-bottom));
}

.lp-security-page__container {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.lp-security-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-bottom: 14px;
    color: var(--lp-primary);
    font-weight: 800;
    text-decoration: none;
}

.lp-security-back:hover,
.lp-security-back:focus-visible,
.lp-security-back:visited {
    color: var(--lp-primary);
}

.lp-security-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(22px, 4vw, 48px);
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(171, 210, 250, .24);
    border-radius: 32px;
    background:
        radial-gradient(circle at 88% 14%, rgba(171, 210, 250, .20), transparent 30%),
        linear-gradient(135deg, #010736 0%, #13265b 54%, #22396f 100%);
    box-shadow: 0 26px 70px rgba(1, 7, 54, .20);
    color: #fff;
}

.lp-security-hero__main {
    min-width: 0;
}

.lp-security-hero__eyebrow,
.lp-security-card__eyebrow {
    display: block;
    color: #abd2fa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.lp-security-hero h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.lp-security-hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.7;
}

.lp-security-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.lp-security-hero__badges .lp-badge {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.lp-security-hero__badges .lp-badge__dot {
    background: #abd2fa;
}

.lp-security-hero__shield {
    display: grid;
    width: clamp(112px, 14vw, 162px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 34px;
    background: rgba(255, 255, 255, .08);
    color: #abd2fa;
}

.lp-security-hero__shield svg {
    width: 62%;
    height: 62%;
}

.lp-security-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}

.lp-security-overview__item {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 36px rgba(1, 7, 54, .06);
}

.lp-security-overview__item span,
.lp-security-overview__item small {
    display: block;
    color: var(--lp-text-muted);
}

.lp-security-overview__item span {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-security-overview__item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #010736;
    font-size: 17px;
    line-height: 1.35;
}

.lp-security-overview__item small {
    margin-top: 5px;
    font-size: 12px;
}

.lp-security-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lp-security-card {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 46px rgba(1, 7, 54, .07);
}

.lp-security-card--wide {
    grid-column: 1 / -1;
}

.lp-security-card--google {
    grid-column: 1 / -1;
}

.lp-security-card__heading,
.lp-security-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-security-section-heading {
    justify-content: space-between;
    align-items: flex-start;
}

.lp-security-card__icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(171, 210, 250, .75);
    border-radius: 15px;
    background: rgba(171, 210, 250, .22);
    color: #22396f;
}

.lp-security-card__icon svg {
    width: 22px;
    height: 22px;
}
.lp-security-card__icon--google {
    border-color: rgba(34, 57, 111, .10);
    background: #fff;
    color: initial;
    box-shadow: 0 8px 18px rgba(1, 7, 54, .06);
}

.lp-security-card__icon--google svg {
    width: 23px;
    height: 23px;
}


.lp-security-card__eyebrow {
    color: #22396f;
}

.lp-security-card h2 {
    margin: 3px 0 0;
    color: #010736;
    font-size: clamp(21px, 2.4vw, 27px);
    line-height: 1.15;
}

.lp-security-card__copy {
    margin: 16px 0 0;
    color: var(--lp-text-muted);
    line-height: 1.65;
}

.lp-security-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.lp-security-form .lp-field__control > :where(input, select, textarea) {
    min-height: 48px;
    border-color: rgba(34, 57, 111, .20);
    background: #fff;
}

.lp-security-form .lp-field__control > :where(input, select, textarea):focus {
    border-color: #22396f;
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .35);
}

.lp-security-current-email {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 17px;
    background: rgba(252, 241, 208, .34);
}

.lp-security-current-email > span {
    grid-column: 1;
    color: var(--lp-text-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.lp-security-current-email > strong {
    grid-column: 1;
    overflow-wrap: anywhere;
    color: #010736;
}

.lp-security-current-email > .lp-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.lp-security-google-action {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 18px;
    background: rgba(171, 210, 250, .13);
}

.lp-security-google-unlink {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 18px;
    background: rgba(252, 241, 208, .18);
}

.lp-security-google-unlink strong { color: #010736; }
.lp-security-google-unlink p { margin: 7px 0 0; color: var(--lp-text-muted); line-height: 1.55; font-size: 13px; }
.lp-security-google-unlink__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; margin-top: 16px; }
.lp-security-google-unlink__form .lp-field { min-width: 0; }
.lp-security-google-unlink__form .lp-field__control > input { min-height: 46px; }
@media (max-width: 700px) {
    .lp-security-google-unlink__form { grid-template-columns: 1fr; }
    .lp-security-google-unlink__form .lp-button { width: 100%; }
}

.lp-security-google-action strong {
    color: #010736;
}

.lp-security-google-action p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    line-height: 1.5;
}

.lp-security-accordion {
    margin-top: 14px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 18px;
    background: rgba(171, 210, 250, .08);
    overflow: hidden;
}

.lp-security-accordion > summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    position: relative;
}

.lp-security-accordion > summary::-webkit-details-marker {
    display: none;
}

.lp-security-accordion > summary span {
    color: #010736;
    font-weight: 850;
}

.lp-security-accordion > summary small {
    color: var(--lp-text-muted);
    line-height: 1.5;
}

.lp-security-accordion > summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 15px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #22396f;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(34,57,111,.12);
    font-size: 18px;
    font-weight: 800;
}

.lp-security-accordion[open] > summary::after {
    content: "−";
}

.lp-security-accordion__body {
    padding: 0 14px 14px;
}
.lp-security-feedback {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.lp-security-feedback--global {
    margin: 18px 0 0;
}

.lp-security-feedback .lp-alert {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    margin: 0;
    padding: 15px 17px 15px 15px;
    overflow: hidden;
    border-width: 1px;
    border-left-width: 4px;
    border-radius: 17px;
    box-shadow: 0 12px 28px rgba(1, 7, 54, .06);
}

.lp-security-feedback .lp-alert::before {
    content: 'i';
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 13px;
    background: rgba(171, 210, 250, .34);
    color: #22396f;
    font-size: 17px;
    font-weight: 950;
}

.lp-security-feedback .lp-alert--success::before {
    content: '✓';
    background: rgba(22, 101, 52, .10);
    color: #166534;
}

.lp-security-feedback .lp-alert--warning::before {
    content: '!';
    background: rgba(154, 52, 18, .10);
    color: #9a3412;
}

.lp-security-feedback .lp-alert--danger::before {
    content: '!';
    background: rgba(153, 27, 27, .10);
    color: #991b1b;
}

.lp-security-feedback .lp-alert__title,
.lp-security-feedback .lp-alert__content {
    grid-column: 2;
}

.lp-security-feedback .lp-alert__title {
    margin-bottom: 3px;
    color: inherit;
}

.lp-security-feedback .lp-alert__content {
    line-height: 1.55;
}

.lp-security-feedback .lp-alert__content p {
    margin: 0;
}

.lp-security-feedback .lp-alert__content p + p {
    margin-top: 4px;
}

.lp-security-section-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 12px;
    color: var(--lp-text-muted);
}

.lp-security-section-meta > span {
    color: #010736;
    font-weight: 850;
}

.lp-security-access-list {
    display: grid;
    gap: 12px;
}

.lp-security-access-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 17px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 19px;
    background: rgba(255, 255, 255, .92);
}

.lp-security-access-item.is-current {
    border-color: rgba(171, 210, 250, .85);
    background: rgba(171, 210, 250, .10);
}

.lp-security-access-item__icon,
.lp-security-device__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: rgba(171, 210, 250, .24);
    color: #22396f;
}

.lp-security-access-item__icon svg,
.lp-security-device__icon svg {
    width: 21px;
    height: 21px;
}

.lp-security-access-item__body {
    min-width: 0;
}

.lp-security-access-item__title-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.lp-security-access-item__title-row strong {
    color: #010736;
    overflow-wrap: anywhere;
}

.lp-security-access-item__badges,
.lp-security-device__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.lp-security-access-item__facts,
.lp-security-device__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 12px 0 0;
}

.lp-security-access-item__facts div,
.lp-security-device__facts div {
    min-width: 0;
}

.lp-security-access-item__facts dt,
.lp-security-device__facts dt {
    margin-bottom: 2px;
    color: var(--lp-text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-security-access-item__facts dd,
.lp-security-device__facts dd {
    margin: 0;
    color: #22396f;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lp-security-device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
}

.lp-security-device {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 20px;
    background: #fff;
}

.lp-security-device.is-current {
    border-color: rgba(171, 210, 250, .90);
    background: linear-gradient(145deg, rgba(171, 210, 250, .12), rgba(252, 241, 208, .18));
}

.lp-security-device__top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lp-security-device__top > div:last-child {
    min-width: 0;
}

.lp-security-device__top strong,
.lp-security-device__top span {
    display: block;
    overflow-wrap: anywhere;
}

.lp-security-device__top strong {
    color: #010736;
}

.lp-security-device__top span {
    margin-top: 2px;
    color: var(--lp-text-muted);
    font-size: 13px;
}

.lp-security-device__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 15px 0;
    padding: 13px;
    border-radius: 15px;
    background: rgba(34, 57, 111, .045);
}

.lp-security-device__current-note {
    margin: 15px 0 0;
    color: #22396f;
    font-size: 13px;
    font-weight: 750;
}

.lp-security-history-wrap {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 18px;
}

.lp-security-history {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.lp-security-history th,
.lp-security-history td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(34, 57, 111, .09);
    text-align: left;
    vertical-align: top;
}

.lp-security-history th {
    background: rgba(171, 210, 250, .10);
    color: #22396f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-security-history td {
    color: var(--lp-text-muted);
    font-size: 13px;
}

.lp-security-history td strong {
    display: inline-block;
    margin-right: 7px;
    color: #010736;
}

.lp-security-history tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 900px) {
    .lp-security-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-security-layout {
        grid-template-columns: 1fr;
    }

    .lp-security-card,
    .lp-security-card--google,
    .lp-security-card--wide {
        grid-column: 1;
    }

    .lp-security-device-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .lp-security-page {
        padding: 20px 14px calc(112px + env(safe-area-inset-bottom));
    }

    .lp-security-hero {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        border-radius: 26px;
    }

    .lp-security-hero__shield {
        display: none;
    }

    .lp-security-overview {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .lp-security-overview__item {
        padding: 16px;
    }

    .lp-security-overview__item strong {
        font-size: 15px;
    }

    .lp-security-card {
        padding: 21px 18px;
        border-radius: 22px;
    }

    .lp-security-section-heading,
    .lp-security-google-action {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-security-access-item {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .lp-security-access-item > .lp-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lp-security-device__facts {
        grid-template-columns: 1fr;
    }

    .lp-security-current-email {
        grid-template-columns: 1fr;
    }

    .lp-security-current-email > .lp-badge {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin-top: 6px;
    }

    .lp-security-history-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .lp-security-history,
    .lp-security-history tbody,
    .lp-security-history tr,
    .lp-security-history td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .lp-security-history thead {
        display: none;
    }

    .lp-security-history tbody {
        display: grid;
        gap: 11px;
    }

    .lp-security-history tr {
        padding: 15px;
        border: 1px solid rgba(34, 57, 111, .11);
        border-radius: 17px;
        background: #fff;
    }

    .lp-security-history td {
        display: grid;
        grid-template-columns: minmax(108px, .42fr) minmax(0, 1fr);
        gap: 8px;
        padding: 6px 0;
        border: 0;
    }

    .lp-security-history td::before {
        content: attr(data-label);
        color: #22396f;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .035em;
        text-transform: uppercase;
    }
}

@media (max-width: 420px) {
    .lp-security-overview {
        grid-template-columns: 1fr;
    }

    .lp-security-card__heading {
        align-items: flex-start;
    }

    .lp-security-access-item {
        grid-template-columns: 1fr;
    }

    .lp-security-access-item__icon {
        display: none;
    }

    .lp-security-access-item__title-row {
        flex-direction: column;
    }

    .lp-security-history td {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-security-page *,
    .lp-security-page *::before,
    .lp-security-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ============================================================
   FASE 8.4.5 · SOPORTE / TICKETS
   ============================================================ */
.lp-support-page {
    padding: 34px 18px 92px;
}

.lp-support-page__container {
    width: min(var(--lp-content), 100%);
    margin: 0 auto;
}

.lp-support-page__container--ticket {
    width: min(1120px, 100%);
}

.lp-support-hero,
.lp-support-ticket-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 14%, rgba(171, 210, 250, .25), transparent 18rem),
        linear-gradient(135deg, #010736 0%, #101f54 52%, #22396F 100%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(1, 7, 54, .18);
}

.lp-support-hero::after,
.lp-support-ticket-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -130px;
    border: 1px solid rgba(171, 210, 250, .26);
    border-radius: 50%;
    pointer-events: none;
}

.lp-support-hero {
    min-height: 300px;
    padding: clamp(30px, 5vw, 52px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, .34fr);
    align-items: center;
    gap: 34px;
}

.lp-support-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.lp-support-hero__eyebrow,
.lp-support-ticket-hero__eyebrow,
.lp-support-card__eyebrow,
.support-email-dialog__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-support-hero__eyebrow,
.lp-support-ticket-hero__eyebrow {
    color: var(--lp-mint);
    margin-bottom: 10px;
}

.lp-support-hero h1,
.lp-support-ticket-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.02;
    letter-spacing: -.05em;
    color: #fff;
}

.lp-support-hero p,
.lp-support-ticket-hero p {
    margin: 14px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
    font-size: 15px;
}

.lp-support-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.lp-support-hero__visual {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: clamp(130px, 17vw, 190px);
    aspect-ratio: 1;
    border-radius: 34px;
    display: grid;
    place-items: center;
    color: var(--lp-mint);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}

.lp-support-hero__visual svg {
    width: 76px;
    height: 76px;
    position: relative;
    z-index: 2;
}

.lp-support-hero__visual-ring {
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(171,210,250,.28);
    border-radius: 50%;
}

.lp-support-feedback {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.lp-support-feedback:empty {
    display: none;
}

.lp-support-feedback--inside {
    margin-top: 18px;
}

.lp-support-feedback .lp-alert {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    padding: 17px 18px 17px 62px;
    border-radius: 18px;
    box-shadow: var(--lp-shadow-xs);
}

.lp-support-feedback .lp-alert::before {
    content: "i";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 950;
    background: rgba(54,90,155,.12);
    color: var(--lp-info);
}

.lp-support-feedback .lp-alert--success::before {
    content: "✓";
    color: var(--lp-success);
    background: rgba(36,120,91,.12);
}

.lp-support-feedback .lp-alert--warning::before {
    content: "!";
    color: var(--lp-warning);
    background: rgba(166,101,21,.12);
}

.lp-support-feedback .lp-alert--danger::before {
    content: "×";
    color: var(--lp-danger);
    background: rgba(180,35,24,.10);
}

.lp-support-feedback .lp-alert__title {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.lp-support-feedback .lp-alert__content {
    font-size: 13px;
    line-height: 1.55;
}

.lp-support-feedback .lp-alert__content p {
    margin: 0;
}

.lp-support-alert-note {
    margin-top: 5px !important;
    opacity: .82;
    font-size: 12px;
}

.lp-support-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.lp-support-overview__item {
    min-width: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    box-shadow: var(--lp-shadow-xs);
}

.lp-support-overview__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--lp-teal);
    background: rgba(171,210,250,.34);
}

.lp-support-overview__icon svg {
    width: 21px;
    height: 21px;
}

.lp-support-overview__icon--waiting {
    color: #8c5b11;
    background: rgba(252,241,208,.9);
}

.lp-support-overview__icon--urgent {
    color: var(--lp-danger);
    background: rgba(254,242,242,.9);
}

.lp-support-overview__icon--resolved {
    color: var(--lp-success);
    background: rgba(236,253,245,.9);
}

.lp-support-overview__item > div {
    min-width: 0;
}

.lp-support-overview__item span,
.lp-support-overview__item small {
    display: block;
}

.lp-support-overview__item > div > span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
    color: var(--lp-text-muted);
}

.lp-support-overview__item strong {
    display: block;
    margin-top: 2px;
    color: var(--lp-forest);
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.04em;
}

.lp-support-overview__item small {
    margin-top: 5px;
    color: var(--lp-text-muted);
    font-size: 11px;
    line-height: 1.4;
}

.lp-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.lp-support-card {
    min-width: 0;
    padding: 24px;
    background: rgba(255,255,255,.91);
    border: 1px solid var(--lp-border);
    border-radius: 24px;
    box-shadow: var(--lp-shadow-sm);
}

.lp-support-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lp-support-card__heading--compact {
    margin-bottom: 15px;
}

.lp-support-card__heading > div {
    min-width: 0;
}

.lp-support-card__eyebrow {
    color: var(--lp-teal);
    margin-bottom: 6px;
}

.lp-support-card h2,
.lp-support-action-card h2 {
    margin: 0;
    color: var(--lp-forest);
    font-size: 22px;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.lp-support-card__heading p,
.lp-support-action-card__content > p {
    margin: 7px 0 0;
    color: var(--lp-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.lp-support-card__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--lp-teal);
    background: rgba(171,210,250,.3);
}

.lp-support-card__icon svg {
    width: 20px;
    height: 20px;
}

.lp-support-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.lp-support-form .lp-field__control > :where(input, select, textarea) {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--lp-border-strong);
    border-radius: 13px;
    color: var(--lp-text);
    background: #fff;
    font: inherit;
    outline: none;
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition);
}

.lp-support-form .lp-field__control textarea {
    min-height: 148px;
    resize: vertical;
    line-height: 1.55;
}

.lp-support-form .lp-field__control input[type="file"] {
    padding: 8px;
    background: rgba(249,251,255,.95);
}

.lp-support-form .lp-field__control > :where(input, select, textarea):focus {
    border-color: rgba(34,57,111,.72);
    box-shadow: 0 0 0 4px rgba(171,210,250,.30);
}

.lp-support-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 2px;
}

.lp-support-form__actions > span {
    color: var(--lp-text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.lp-support-ticket-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.lp-support-ticket {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: rgba(249,251,255,.86);
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    transition: transform var(--lp-transition), border-color var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition);
}

.lp-support-ticket:hover,
.lp-support-ticket:focus-visible,
.lp-support-ticket:visited {
    color: inherit;
}

.lp-support-ticket:hover,
.lp-support-ticket:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(34,57,111,.36);
    background: #fff;
    box-shadow: var(--lp-shadow-xs);
}

.lp-support-ticket__main {
    min-width: 0;
}

.lp-support-ticket__code {
    display: block;
    color: var(--lp-teal);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-support-ticket h3 {
    margin: 5px 0 0;
    color: var(--lp-forest);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.lp-support-ticket__meta {
    display: flex;
    gap: 6px 12px;
    flex-wrap: wrap;
    margin-top: 9px;
    color: var(--lp-text-muted);
    font-size: 11px;
    line-height: 1.4;
}

.lp-support-ticket__aside {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-support-ticket__badges {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.lp-support-ticket__arrow {
    color: var(--lp-teal);
    font-weight: 900;
    font-size: 18px;
}

.lp-support-status,
.lp-support-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: var(--lp-radius-pill);
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .015em;
}

.lp-support-status--open,
.lp-support-status--in_review {
    color: #234b85;
    background: rgba(171,210,250,.42);
}

.lp-support-status--waiting_information {
    color: #85520c;
    background: rgba(252,241,208,.92);
}

.lp-support-status--resolved,
.lp-support-status--closed {
    color: #176348;
    background: rgba(236,253,245,.94);
}

.lp-support-status--cancelled {
    color: #5b6478;
    background: rgba(241,245,249,.94);
}

.lp-support-priority--urgent {
    color: #a22218;
    background: rgba(254,242,242,.96);
}

.lp-support-priority--high {
    color: #9b4c0d;
    background: rgba(255,247,237,.96);
}

.lp-support-priority--normal {
    color: var(--lp-teal);
    background: rgba(171,210,250,.22);
}

.lp-support-priority--low {
    color: var(--lp-text-muted);
    background: rgba(248,250,252,.9);
    border: 1px solid var(--lp-border);
}

.lp-support-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lp-border);
}

.lp-support-pagination > :last-child {
    justify-self: end;
}

.lp-support-pagination > span,
.lp-support-pagination__disabled {
    color: var(--lp-text-muted);
    font-size: 12px;
    font-weight: 750;
}

.lp-support-card__footer-note {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid var(--lp-border);
    color: var(--lp-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.lp-support-empty {
    margin-top: 18px;
    padding: 22px;
    text-align: center;
    border: 1px dashed rgba(34,57,111,.28);
    border-radius: 18px;
    background: rgba(249,251,255,.72);
}

.lp-support-empty--compact {
    margin-top: 14px;
    padding: 16px;
    text-align: left;
}

.lp-support-empty__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--lp-teal);
    background: rgba(171,210,250,.26);
}

.lp-support-empty__icon svg {
    width: 22px;
    height: 22px;
}

.lp-support-empty strong {
    display: block;
    color: var(--lp-forest);
    font-size: 14px;
}

.lp-support-empty p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.lp-support-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--lp-border);
    color: var(--lp-teal);
    background: rgba(255,255,255,.74);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.lp-support-back:hover,
.lp-support-back:focus-visible,
.lp-support-back:visited {
    color: var(--lp-teal);
}

.lp-support-ticket-hero {
    padding: clamp(26px, 4vw, 42px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .34fr);
    gap: 28px;
    align-items: center;
}

.lp-support-ticket-hero__main,
.lp-support-ticket-hero__folio {
    position: relative;
    z-index: 1;
}

.lp-support-ticket-hero h1 {
    font-size: clamp(30px, 4vw, 44px);
    overflow-wrap: anywhere;
}

.lp-support-ticket-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lp-support-ticket-hero .lp-support-status,
.lp-support-ticket-hero .lp-support-priority {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 11px;
}

.lp-support-ticket-hero__folio {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}

.lp-support-ticket-hero__folio > span,
.lp-support-ticket-hero__folio > small {
    display: block;
}

.lp-support-ticket-hero__folio > span {
    color: var(--lp-mint);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.lp-support-ticket-hero__folio strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.lp-support-ticket-hero__folio small {
    margin-top: 7px;
    color: rgba(255,255,255,.68);
    line-height: 1.45;
}

.lp-support-action-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

.lp-support-action-card--warning {
    border-color: rgba(166,101,21,.22);
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(252,241,208,.44));
}

.lp-support-action-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--lp-warning);
    background: rgba(252,241,208,.9);
}

.lp-support-action-card__icon svg {
    width: 25px;
    height: 25px;
}

.lp-support-action-card__note {
    margin-top: 12px !important;
    color: var(--lp-text-muted) !important;
    font-size: 12px !important;
}

.lp-support-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.lp-support-ticket-layout__main,
.lp-support-ticket-layout__aside {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lp-support-ticket-copy {
    padding: 16px;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: rgba(249,251,255,.76);
    color: var(--lp-text-soft);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.65;
    font-size: 14px;
}

.lp-support-ticket-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.lp-support-ticket-facts > div {
    min-width: 0;
    padding: 13px;
    border-radius: 14px;
    background: rgba(171,210,250,.12);
    border: 1px solid rgba(171,210,250,.32);
}

.lp-support-ticket-facts span,
.lp-support-context-item span {
    display: block;
    color: var(--lp-text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-support-ticket-facts strong,
.lp-support-context-item strong {
    display: block;
    margin-top: 4px;
    color: var(--lp-forest);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.lp-support-timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin-top: 6px;
}

.lp-support-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 11px;
    padding: 0 0 20px;
}

.lp-support-timeline__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: rgba(34,57,111,.14);
}

.lp-support-timeline__dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--lp-teal);
    box-shadow: 0 0 0 2px rgba(34,57,111,.18);
}

.lp-support-timeline__item strong {
    display: block;
    color: var(--lp-forest);
    font-size: 13px;
    line-height: 1.5;
}

.lp-support-timeline__item small {
    display: block;
    margin-top: 4px;
    color: var(--lp-text-muted);
    font-size: 11px;
}

.lp-support-context-list,
.lp-support-attachment-list {
    display: grid;
    gap: 9px;
}

.lp-support-context-item,
.lp-support-attachment {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: 15px;
    background: rgba(249,251,255,.78);
}

.lp-support-context-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-support-context-item > div {
    min-width: 0;
}

.lp-support-context-item a,
.lp-support-attachment a {
    flex: 0 0 auto;
    color: var(--lp-teal);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.lp-support-context-item a:hover,
.lp-support-context-item a:focus-visible,
.lp-support-context-item a:visited,
.lp-support-attachment a:hover,
.lp-support-attachment a:focus-visible,
.lp-support-attachment a:visited {
    color: var(--lp-teal);
}

.lp-support-attachment {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.lp-support-attachment__icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--lp-teal);
    background: rgba(171,210,250,.24);
}

.lp-support-attachment__icon svg {
    width: 18px;
    height: 18px;
}

.lp-support-attachment__body {
    min-width: 0;
}

.lp-support-attachment__body strong {
    display: block;
    color: var(--lp-forest);
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.lp-support-attachment__body small {
    display: block;
    margin-top: 3px;
    color: var(--lp-text-muted);
    font-size: 10px;
}

.lp-support-channels {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--lp-border);
}

.lp-support-channels__heading > span {
    display: block;
    color: var(--lp-text-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.lp-support-channels__heading h3 {
    margin: 4px 0 0;
    color: var(--lp-forest);
    font-size: 15px;
}

.lp-support-channels__list {
    display: grid;
    gap: 9px;
    margin-top: 11px;
}

.lp-support-channel {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: 15px;
    background: rgba(249,251,255,.76);
}

.lp-support-channel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-support-channel__identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-support-channel__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--lp-teal);
    background: rgba(171,210,250,.25);
}

.lp-support-channel__icon svg {
    width: 18px;
    height: 18px;
}

.lp-support-channel__identity > div {
    min-width: 0;
}

.lp-support-channel__identity strong,
.lp-support-channel__identity span {
    display: block;
}

.lp-support-channel__identity strong {
    color: var(--lp-forest);
    font-size: 13px;
}

.lp-support-channel__identity span {
    margin-top: 2px;
    color: var(--lp-text-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.lp-support-channel__action {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 0;
    border-radius: 11px;
    background: var(--lp-forest);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.lp-support-channel__action:hover,
.lp-support-channel__action:focus-visible,
.lp-support-channel__action:visited {
    color: #fff;
    background: var(--lp-teal);
}

.lp-support-channel__notes {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding-left: 46px;
}

.lp-support-channel__notes p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: 10.5px;
    line-height: 1.45;
}

.support-email-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: min(760px, calc(100dvh - 40px));
    overflow: auto;
    border: 1px solid var(--lp-border);
    border-radius: 24px;
    padding: 22px;
    color: var(--lp-text);
    background: #fff;
    box-shadow: 0 28px 90px rgba(1,7,54,.30);
}

.support-email-dialog::backdrop {
    background: rgba(1,7,54,.48);
}

.support-email-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lp-border);
}

.support-email-dialog__header > div {
    min-width: 0;
}

.support-email-dialog__eyebrow {
    color: var(--lp-teal);
    margin-bottom: 5px;
}

.support-email-dialog__header strong {
    display: block;
    color: var(--lp-forest);
    font-size: 19px;
}

.support-email-dialog__header p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.support-email-dialog__close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(171,210,250,.26);
    color: var(--lp-forest);
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.support-email-dialog__field {
    margin-top: 15px;
}

.support-email-dialog__label {
    display: block;
    margin-bottom: 6px;
    color: var(--lp-text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.support-email-dialog__copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--lp-border);
    border-radius: 13px;
    background: rgba(249,251,255,.86);
}

.support-email-dialog__copy-row code,
.support-email-dialog__value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--lp-forest);
    font-size: 12px;
}

.support-email-dialog__copy-row button,
.support-email-dialog__secondary {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid var(--lp-border-strong);
    border-radius: 10px;
    padding: 7px 9px;
    background: #fff;
    color: var(--lp-teal);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.support-email-dialog__message {
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: 13px;
    background: rgba(249,251,255,.86);
    color: var(--lp-text-soft);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.55;
}

.support-email-dialog__message-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.support-email-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lp-border);
}

.support-email-dialog__primary {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px 11px;
    background: var(--lp-forest);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}

.support-email-dialog__primary:hover,
.support-email-dialog__primary:focus-visible,
.support-email-dialog__primary:visited {
    color: #fff;
}

.support-email-dialog__footnote {
    margin: 12px 0 0;
    color: var(--lp-text-muted);
    font-size: 10.5px;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .lp-support-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-support-layout,
    .lp-support-ticket-layout {
        grid-template-columns: 1fr;
    }

    .lp-support-card--tickets {
        order: 1;
    }

    .lp-support-card--form {
        order: 2;
    }
}

@media (max-width: 760px) {
    .lp-support-page {
        padding: 18px 12px 112px;
    }

    .lp-support-hero,
    .lp-support-ticket-hero {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .lp-support-hero {
        min-height: auto;
        padding: 28px 22px;
    }

    .lp-support-hero__visual {
        position: absolute;
        right: -34px;
        bottom: -38px;
        width: 145px;
        opacity: .2;
    }

    .lp-support-hero__content {
        padding-right: 12px;
    }

    .lp-support-ticket-hero {
        padding: 26px 22px;
    }

    .lp-support-ticket-hero__folio {
        max-width: 100%;
    }

    .lp-support-card {
        padding: 20px;
        border-radius: 20px;
    }

    .lp-support-ticket {
        grid-template-columns: 1fr;
    }

    .lp-support-ticket__aside {
        justify-content: space-between;
    }

    .lp-support-ticket__badges {
        display: flex;
        justify-items: initial;
        flex-wrap: wrap;
    }

    .lp-support-ticket-facts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .lp-support-overview {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .lp-support-overview__item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
    }

    .lp-support-overview__icon {
        width: 36px;
        height: 36px;
    }

    .lp-support-overview__item strong {
        font-size: 23px;
    }

    .lp-support-overview__item small {
        display: none;
    }

    .lp-support-card__heading {
        gap: 12px;
    }

    .lp-support-card__icon {
        width: 38px;
        height: 38px;
    }

    .lp-support-form__actions,
    .lp-support-form__actions .lp-button {
        width: 100%;
    }

    .lp-support-form__actions > span {
        width: 100%;
        text-align: center;
    }

    .lp-support-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .lp-support-pagination > span {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .lp-support-ticket-facts {
        grid-template-columns: 1fr;
    }

    .lp-support-action-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .lp-support-context-item,
    .lp-support-attachment {
        align-items: flex-start;
    }

    .lp-support-context-item {
        flex-direction: column;
    }

    .lp-support-attachment {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .lp-support-attachment > a {
        grid-column: 2;
    }

    .lp-support-channel__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-support-channel__action {
        width: 100%;
    }

    .lp-support-channel__notes {
        padding-left: 0;
    }

    .support-email-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 17px;
        border-radius: 20px;
    }

    .support-email-dialog__copy-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-email-dialog__copy-row button,
    .support-email-dialog__actions > *,
    .support-email-dialog__message-actions > * {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-support-ticket,
    .lp-support-channel__action {
        transition: none;
    }
}

/* ========================================================================== 
   FASE 8.4.6 · COTIZACIÓN + CONTINUIDAD DE CHECKOUT
   ========================================================================== */

.lp-checkout-body .lp-page-root {
    min-height: 100dvh;
}

.lp-checkout-page {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 72px;
}

.lp-checkout-public-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 34px rgba(1, 7, 54, .06);
}

.lp-checkout-public-header__brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(190px, 44vw);
}

.lp-checkout-public-header__brand .lp-brand__mark {
    width: clamp(116px, 15vw, 150px);
    max-width: 100%;
    height: 46px;
    overflow: hidden;
}

.lp-checkout-public-header__brand .lp-brand__mark img {
    max-width: 100%;
    max-height: 100%;
}

.lp-checkout-public-header__actions {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--lp-text-muted);
    font-size: .88rem;
    font-weight: 750;
}

.lp-checkout-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.lp-checkout-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr);
    align-items: end;
    gap: 28px;
    min-height: 310px;
    padding: 42px;
    border: 1px solid rgba(171, 210, 250, .34);
    border-radius: 34px;
    background:
        radial-gradient(circle at 86% 12%, rgba(171, 210, 250, .24), transparent 18rem),
        linear-gradient(135deg, #010736 0%, #172B63 55%, #22396F 100%);
    color: #FFFFFF;
    box-shadow: 0 26px 74px rgba(1, 7, 54, .18);
}

.lp-checkout-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 52px solid rgba(171, 210, 250, .08);
    pointer-events: none;
}

.lp-checkout-hero__copy,
.lp-checkout-hero__step-card {
    position: relative;
    z-index: 1;
}

.lp-checkout-eyebrow,
.lp-checkout-section-eyebrow,
.lp-checkout-plan__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .105em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lp-checkout-eyebrow {
    color: #ABD2FA;
}

.lp-checkout-hero h1 {
    max-width: 760px;
    margin: 12px 0 0;
    color: #FFFFFF;
    font-size: clamp(2.4rem, 5.7vw, 4.65rem);
    line-height: .97;
    letter-spacing: -.058em;
}

.lp-checkout-hero__copy > p {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.03rem;
    line-height: 1.7;
}

.lp-checkout-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.lp-checkout-hero__trust > span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 800;
}

.lp-checkout-hero__trust svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #ABD2FA;
}

.lp-checkout-hero__step-card {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .09);
}

.lp-checkout-hero__step-card span,
.lp-checkout-hero__step-card small {
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
    font-weight: 760;
}

.lp-checkout-hero__step-card strong {
    margin: 5px 0 3px;
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.lp-checkout-feedback {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.lp-checkout-feedback:empty,
.lp-checkout-login-feedback:empty {
    display: none;
}

.lp-checkout-feedback .lp-alert,
.lp-checkout-login-feedback .lp-alert {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(1, 7, 54, .06);
}

.lp-checkout-feedback .lp-alert::before,
.lp-checkout-login-feedback .lp-alert::before {
    content: "i";
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(54, 90, 155, .12);
    color: #365A9B;
    font-size: 1rem;
    font-weight: 950;
}

.lp-checkout-feedback .lp-alert--warning::before,
.lp-checkout-login-feedback .lp-alert--warning::before {
    content: "!";
    background: rgba(166, 101, 21, .12);
    color: #A66515;
}

.lp-checkout-feedback .lp-alert--danger::before,
.lp-checkout-login-feedback .lp-alert--danger::before {
    content: "×";
    background: rgba(180, 35, 24, .1);
    color: #B42318;
}

.lp-checkout-feedback .lp-alert__title,
.lp-checkout-login-feedback .lp-alert__title {
    grid-column: 2;
    margin: 0;
    font-size: .9rem;
    line-height: 1.3;
}

.lp-checkout-feedback .lp-alert__content,
.lp-checkout-login-feedback .lp-alert__content {
    grid-column: 2;
    font-size: .85rem;
    line-height: 1.5;
}

.lp-checkout-feedback .lp-alert__content p,
.lp-checkout-login-feedback .lp-alert__content p {
    margin: 2px 0 0;
}

.lp-checkout-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    padding: 16px 20px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 30px rgba(1, 7, 54, .05);
}

.lp-checkout-step {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--lp-text-muted);
}

.lp-checkout-step__number {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: 50%;
    background: #F7F9FF;
    color: #22396F;
    font-size: .82rem;
    font-weight: 900;
}

.lp-checkout-step__copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.lp-checkout-step__copy strong {
    overflow: hidden;
    color: #344A7A;
    font-size: .85rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-checkout-step__copy small {
    overflow: hidden;
    color: #7B89A9;
    font-size: .72rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-checkout-step__line {
    height: 1px;
    background: rgba(34, 57, 111, .18);
}

.lp-checkout-step.is-active .lp-checkout-step__number,
.lp-checkout-step.is-complete .lp-checkout-step__number {
    border-color: #22396F;
    background: #22396F;
    color: #FFFFFF;
    box-shadow: 0 7px 18px rgba(34, 57, 111, .2);
}

.lp-checkout-step.is-active .lp-checkout-step__copy strong,
.lp-checkout-step.is-complete .lp-checkout-step__copy strong {
    color: #010736;
}

.lp-checkout-panel {
    padding: 30px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 58px rgba(1, 7, 54, .08);
}

.lp-checkout-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.lp-checkout-section-eyebrow,
.lp-checkout-plan__eyebrow {
    color: #22396F;
}

.lp-checkout-panel__heading h2,
.lp-checkout-continuation-hero h1,
.lp-checkout-legal__heading h3,
.lp-checkout-legal__heading h2,
.lp-checkout-account-card__heading h3 {
    margin: 6px 0 0;
    color: #010736;
    letter-spacing: -.035em;
}

.lp-checkout-panel__heading h2 {
    max-width: 720px;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.08;
}

.lp-checkout-panel__heading p,
.lp-checkout-continuation-hero p,
.lp-checkout-legal__heading p,
.lp-checkout-account-card__heading p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--lp-text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.lp-checkout-panel__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(171, 210, 250, .36);
    color: #22396F;
}

.lp-checkout-panel__icon svg {
    width: 27px;
    height: 27px;
}

.lp-checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-checkout-field--wide {
    grid-column: 1 / -1;
}

/* Medidas del paso 1: ambas en un solo grupo, con omisión explícita. */
.lp-checkout-tire-sizes {
    min-width: 0;
    margin: 0;
    display: grid;
    gap: 14px;
    padding: 16px 17px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    transition: background-color var(--lp-transition), border-color var(--lp-transition);
}

.lp-checkout-tire-sizes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-checkout-tire-sizes .lp-field__control > input {
    transition: background-color var(--lp-transition), color var(--lp-transition), border-color var(--lp-transition), opacity var(--lp-transition);
}

.lp-checkout-tire-sizes.is-omitted {
    border-color: rgba(100, 116, 154, .22);
    background: rgba(100, 116, 154, .07);
}

.lp-checkout-tire-sizes.is-omitted .lp-field__label,
.lp-checkout-tire-sizes.is-omitted .lp-field__hint {
    color: #8A93A8;
}

.lp-checkout-panel .lp-checkout-tire-sizes .lp-field__control > input:disabled {
    border-color: rgba(100, 116, 154, .20);
    background: #EEF0F4;
    color: #8A93A8;
    cursor: not-allowed;
    opacity: .85;
}

.lp-checkout-tire-sizes__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #22396F;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
}

.lp-checkout-tire-sizes__toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    accent-color: #22396F;
    cursor: pointer;
}

.lp-checkout-tire-sizes__toggle input:focus-visible {
    outline: 3px solid rgba(34, 57, 111, .45);
    outline-offset: 2px;
}

.lp-checkout-tire-sizes__note {
    margin: -4px 0 0;
    color: #64749A;
    font-size: .76rem;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .lp-checkout-tire-sizes__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-tire-sizes,
    .lp-checkout-tire-sizes .lp-field__control > input {
        transition: none;
    }
}

.lp-checkout-panel .lp-field,
.lp-checkout-continuation-form .lp-field,
.lp-checkout-plan .lp-field {
    gap: 7px;
}

.lp-checkout-panel .lp-field__label,
.lp-checkout-continuation-form .lp-field__label,
.lp-checkout-plan .lp-field__label {
    color: #22396F;
    font-size: .79rem;
    font-weight: 850;
}

.lp-checkout-panel .lp-field__control > :where(input, select, textarea),
.lp-checkout-continuation-form .lp-field__control > :where(input, select, textarea),
.lp-checkout-plan .lp-field__control > :where(input, select, textarea) {
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid rgba(34, 57, 111, .22);
    border-radius: 13px;
    background: #FFFFFF;
    color: #010736;
    font-size: .9rem;
}

.lp-checkout-panel .lp-field__control > :where(input, select, textarea):focus,
.lp-checkout-continuation-form .lp-field__control > :where(input, select, textarea):focus,
.lp-checkout-plan .lp-field__control > :where(input, select, textarea):focus {
    border-color: #22396F;
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .3);
}

.lp-checkout-panel .lp-field__hint,
.lp-checkout-continuation-form .lp-field__hint {
    margin: 0;
    color: #7180A0;
    font-size: .75rem;
    line-height: 1.45;
}

.lp-checkout-panel .lp-field__error,
.lp-checkout-continuation-form .lp-field__error,
.lp-checkout-field-error {
    margin: 3px 0 0;
    color: #B42318;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.45;
}

.lp-checkout-derived-card {
    min-height: 95px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 14px;
    padding: 15px 17px;
    border: 1px solid rgba(171, 210, 250, .7);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(171, 210, 250, .24), rgba(252, 241, 208, .28));
}

.lp-checkout-derived-card > span {
    color: #344A7A;
    font-size: .76rem;
    font-weight: 800;
}

.lp-checkout-derived-card > strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: #010736;
    font-size: 2.3rem;
    letter-spacing: -.05em;
}

.lp-checkout-derived-card > small {
    margin-top: 3px;
    color: #64749A;
    font-size: .72rem;
}

.lp-checkout-inline-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 16px;
    background: #F8FAFF;
}

.lp-checkout-inline-note--soft {
    background: rgba(252, 241, 208, .32);
}

.lp-checkout-inline-note__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(171, 210, 250, .36);
    color: #22396F;
    font-weight: 900;
}

.lp-checkout-inline-note__icon svg {
    width: 20px;
    height: 20px;
}

.lp-checkout-inline-note strong {
    display: block;
    color: #010736;
    font-size: .84rem;
}

.lp-checkout-inline-note p {
    margin: 3px 0 0;
    color: #64749A;
    font-size: .78rem;
    line-height: 1.5;
}

.lp-checkout-actions,
.lp-checkout-final-actions,
.lp-checkout-final-actions__primary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-checkout-actions,
.lp-checkout-final-actions {
    justify-content: space-between;
    margin-top: 24px;
}

.lp-checkout-actions--end {
    justify-content: flex-end;
}

.lp-checkout-actions .lp-button svg,
.lp-checkout-final-actions .lp-button svg {
    width: 18px;
    height: 18px;
}

.lp-checkout-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.lp-checkout-summary > div,
.lp-checkout-order-summary > div {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 15px;
    background: #F9FAFF;
}

.lp-checkout-summary span,
.lp-checkout-order-summary span,
.lp-checkout-account-card__heading > div > span,
.lp-checkout-map-card__heading span,
.lp-checkout-legal__heading > span {
    display: block;
    color: #7180A0;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.lp-checkout-summary strong,
.lp-checkout-order-summary strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: #010736;
    font-size: .92rem;
    line-height: 1.35;
}

.lp-checkout-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-checkout-plan {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(171, 210, 250, .11) 0, rgba(255, 255, 255, 0) 118px),
        #FFFFFF;
    box-shadow: 0 14px 38px rgba(1, 7, 54, .07);
    transition: transform var(--lp-transition), border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-checkout-plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #ABD2FA, #22396F 68%, #FCF1D0);
}

@media (hover: hover) and (pointer: fine) {
    .lp-checkout-plan:hover {
        transform: translateY(-3px);
        border-color: rgba(34, 57, 111, .28);
        box-shadow: 0 22px 48px rgba(1, 7, 54, .10);
    }
}

.lp-checkout-plan__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.lp-checkout-plan__identity {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.lp-checkout-plan__index {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .42), rgba(252, 241, 208, .38));
    color: #22396F;
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.lp-checkout-plan h3 {
    margin: 5px 0 0;
    color: #010736;
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.lp-checkout-plan__headline {
    margin: 5px 0 0;
    color: #22396F;
    font-size: .79rem;
    font-weight: 820;
    line-height: 1.4;
}

.lp-checkout-plan__coverage {
    min-width: 138px;
    padding: 11px 12px;
    border: 1px solid rgba(171, 210, 250, .20);
    border-radius: 15px;
    background: linear-gradient(145deg, #010736, #22396F);
    text-align: right;
    box-shadow: 0 10px 24px rgba(1, 7, 54, .13);
}

.lp-checkout-plan__coverage span {
    display: block;
    color: rgba(255, 255, 255, .66);
    font-size: .75rem;
    font-weight: 820;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.lp-checkout-plan__coverage strong {
    display: block;
    margin-top: 4px;
    color: #FFFFFF;
    font-size: .88rem;
}

.lp-checkout-plan__description {
    margin: 0;
    color: #64749A;
    font-size: .83rem;
    line-height: 1.55;
}

.lp-checkout-plan__benefits {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-checkout-plan__benefits li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    color: #344A7A;
    font-size: .8rem;
    line-height: 1.45;
}

.lp-checkout-plan__benefits li > span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 50%;
    background: rgba(171, 210, 250, .30);
    color: #22396F;
    font-size: .7rem;
    font-weight: 950;
}

.lp-checkout-plan__sales-copy {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(252, 241, 208, .42);
    color: #6B5215;
}

.lp-checkout-plan__sales-copy > span {
    color: #A66515;
}

.lp-checkout-plan__sales-copy p {
    margin: 0;
    font-size: .76rem;
    font-weight: 760;
    line-height: 1.45;
}

.lp-checkout-plan__options {
    display: grid;
    gap: 11px;
    margin-top: auto;
}

.lp-checkout-price-option {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 18px;
    background: #FAFBFF;
}

.lp-checkout-price-option__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.lp-checkout-price-option__top > div > span {
    color: #64749A;
    font-size: .71rem;
    font-weight: 830;
}

.lp-checkout-price-option__top strong {
    display: block;
    margin-top: 2px;
    color: #010736;
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.lp-checkout-price-option__top strong small {
    color: #64749A;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: normal;
}

.lp-checkout-price-option__badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(34, 57, 111, .08);
    color: #22396F;
    font-size: .62rem;
    font-weight: 860;
}

.lp-checkout-price-option > p {
    margin: 0;
    color: #64749A;
    font-size: .75rem;
    line-height: 1.5;
}

.lp-checkout-order-summary {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, .7fr));
    gap: 10px;
    margin-bottom: 20px;
}

.lp-checkout-order-summary__lead {
    background: linear-gradient(135deg, rgba(171, 210, 250, .22), rgba(252, 241, 208, .25)) !important;
}

.lp-checkout-order-summary__lead > strong {
    font-size: 1.08rem;
}

.lp-checkout-order-summary__lead > small {
    display: block;
    margin-top: 2px;
    color: #64749A;
    font-size: .72rem;
}

.lp-checkout-account-card,
.lp-checkout-map-card,
.lp-checkout-legal {
    margin-top: 18px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 20px;
    background: #FAFBFF;
}

.lp-checkout-account-card {
    padding: 18px;
}

.lp-checkout-account-card__heading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.lp-checkout-account-card__heading > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(36, 120, 91, .1);
    color: #24785B;
    font-weight: 950;
}

.lp-checkout-account-card__heading h3 {
    font-size: 1.08rem;
}

.lp-checkout-summary--account {
    margin: 16px 0 0;
}

.lp-checkout-map-card {
    overflow: hidden;
}

.lp-checkout-map-card__heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
}

.lp-checkout-map-card__heading strong {
    display: block;
    margin-top: 3px;
    color: #010736;
    font-size: .9rem;
}

.lp-checkout-map-card__heading small {
    max-width: 340px;
    color: #7180A0;
    font-size: .72rem;
    line-height: 1.45;
    text-align: right;
}

.lp-checkout-map-card__frame {
    min-height: 220px;
    border-top: 1px solid rgba(34, 57, 111, .12);
    background: #F4F7FC;
}

.lp-checkout-map-card__frame iframe {
    display: block;
    border: 0;
}

.lp-checkout-legal {
    padding: 18px;
    background: linear-gradient(145deg, #FCF1D038, rgba(255, 255, 255, .95));
}

.lp-checkout-legal--compact {
    margin-top: 2px;
}

.lp-checkout-legal__heading {
    margin-bottom: 13px;
}

.lp-checkout-legal__heading h3,
.lp-checkout-legal__heading h2 {
    font-size: 1.05rem;
}

.lp-checkout-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .84);
    cursor: pointer;
}

.lp-checkout-consent + .lp-checkout-consent,
.lp-checkout-field-error + .lp-checkout-consent {
    margin-top: 9px;
}

.lp-checkout-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #22396F;
}

.lp-checkout-consent span {
    min-width: 0;
}

.lp-checkout-consent strong {
    display: block;
    color: #010736;
    font-size: .82rem;
}

.lp-checkout-consent small {
    display: block;
    margin-top: 3px;
    color: #64749A;
    font-size: .74rem;
    line-height: 1.5;
}

.lp-checkout-consent a {
    color: #22396F;
    font-weight: 850;
}

.lp-checkout-final-actions__primary {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.lp-checkout-continuity-note {
    margin: 14px 0 0;
    color: #64749A;
    font-size: .75rem;
    line-height: 1.5;
    text-align: right;
}

.lp-checkout-continuity-note strong {
    color: #22396F;
}

/* Continuación posterior a login / Google / perfil incompleto */
.lp-checkout-continuation-page {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 90px;
}

.lp-checkout-continuation-card {
    padding: 28px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 24px 68px rgba(1, 7, 54, .1);
}

.lp-checkout-continuation-card__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.lp-checkout-continuation-card__brand .lp-brand__mark {
    width: 176px;
    height: 66px;
}

.lp-checkout-continuation-hero {
    padding: 22px;
    border-radius: 21px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .2), rgba(252, 241, 208, .24));
}

.lp-checkout-continuation-hero h1 {
    font-size: clamp(1.7rem, 4.7vw, 2.45rem);
    line-height: 1.06;
}

.lp-checkout-continuation-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.lp-checkout-continuation-progress > span {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 13px;
    background: #FAFBFF;
    color: #7180A0;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.3;
}

.lp-checkout-continuation-progress b {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #EEF2FA;
    color: #22396F;
    font-size: .68rem;
}

.lp-checkout-continuation-progress .is-complete,
.lp-checkout-continuation-progress .is-active {
    color: #22396F;
}

.lp-checkout-continuation-progress .is-complete b,
.lp-checkout-continuation-progress .is-active b {
    background: #22396F;
    color: #FFFFFF;
}

.lp-checkout-continuation-form {
    display: grid;
    gap: 15px;
    margin-top: 18px;
}

.lp-checkout-continuation-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lp-checkout-readonly-input {
    background: #F4F6FB !important;
    color: #64749A !important;
    cursor: default;
}

.lp-checkout-google-identity {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    margin-top: 16px;
    padding: 13px 14px;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 16px;
    background: #FAFBFF;
}

.lp-checkout-google-identity__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(171, 210, 250, .34);
    color: #22396F;
    font-weight: 950;
}

.lp-checkout-google-identity > div > span {
    display: block;
    color: #7180A0;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lp-checkout-google-identity strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 2px;
    color: #010736;
    font-size: .84rem;
}

.lp-checkout-google-identity__status {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(36, 120, 91, .1);
    color: #24785B;
    font-size: .66rem;
    font-weight: 850;
}

.lp-checkout-continuation-card__legal-link {
    margin: 16px 0 0;
    text-align: center;
}

.lp-checkout-continuation-card__legal-link a {
    color: #22396F;
    font-size: .74rem;
    font-weight: 850;
}

/* El login participa en la continuidad del checkout: sus avisos usan la misma superficie. */
.lp-checkout-login-feedback {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

@media (max-width: 980px) {
    .lp-checkout-hero {
        grid-template-columns: minmax(0, 1fr) 200px;
        padding: 34px;
    }

    .lp-checkout-plans {
        grid-template-columns: 1fr;
    }

    .lp-checkout-order-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-checkout-order-summary__lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .lp-checkout-page {
        width: min(100% - 22px, 1180px);
        padding: 12px 0 112px;
    }

    .lp-checkout-public-header {
        min-height: 60px;
        gap: 10px;
        margin-bottom: 12px;
        padding: 8px 10px 8px 12px;
        border-radius: 18px;
    }

    .lp-checkout-public-header__brand {
        max-width: min(136px, 42vw);
    }

    .lp-checkout-public-header__brand .lp-brand__mark {
        width: min(122px, 100%);
        height: 40px;
    }

    .lp-checkout-public-header__actions > span {
        display: none;
    }

    .lp-checkout-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 30px 22px;
        border-radius: 26px;
    }

    .lp-checkout-hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.35rem);
    }

    .lp-checkout-hero__step-card {
        min-height: auto;
        padding: 16px;
    }

    .lp-checkout-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        padding: 10px;
        border-radius: 18px;
    }

    .lp-checkout-step {
        justify-content: center;
    }

    .lp-checkout-step__copy small,
    .lp-checkout-step__line {
        display: none;
    }

    .lp-checkout-step__copy strong {
        font-size: .72rem;
        white-space: normal;
    }

    .lp-checkout-step__number {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .lp-checkout-panel {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .lp-checkout-panel__heading {
        margin-bottom: 20px;
    }

    .lp-checkout-panel__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .lp-checkout-form-grid,
    .lp-checkout-summary,
    .lp-checkout-continuation-form__grid {
        grid-template-columns: 1fr;
    }

    .lp-checkout-summary--account {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-checkout-plan {
        padding: 18px;
        border-radius: 20px;
    }

    .lp-checkout-plan__header {
        flex-direction: column;
    }

    .lp-checkout-plan__coverage {
        width: 100%;
        text-align: left;
    }

    .lp-checkout-final-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .lp-checkout-final-actions__primary {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .lp-checkout-final-actions .lp-button,
    .lp-checkout-final-actions__primary .lp-button,
    .lp-checkout-actions--end .lp-button {
        width: 100%;
    }

    .lp-checkout-continuity-note {
        text-align: left;
    }

    .lp-checkout-map-card__heading {
        flex-direction: column;
    }

    .lp-checkout-map-card__heading small {
        max-width: none;
        text-align: left;
    }

    .lp-checkout-continuation-page {
        width: min(100% - 22px, 760px);
        padding: 18px 0 112px;
    }

    .lp-checkout-continuation-card {
        padding: 20px 16px;
        border-radius: 23px;
    }

    .lp-checkout-continuation-hero {
        padding: 18px;
        border-radius: 18px;
    }
}

@media (max-width: 560px) {
    .lp-checkout-hero__trust {
        display: grid;
    }

    .lp-checkout-hero__trust > span {
        justify-content: flex-start;
    }

    .lp-checkout-steps {
        align-items: start;
    }

    .lp-checkout-step {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .lp-checkout-panel__heading {
        gap: 14px;
    }

    .lp-checkout-panel__icon {
        display: none;
    }

    .lp-checkout-derived-card,
    .lp-checkout-inline-note {
        border-radius: 14px;
    }

    .lp-checkout-summary--account,
    .lp-checkout-order-summary {
        grid-template-columns: 1fr;
    }

    .lp-checkout-order-summary__lead {
        grid-column: auto;
    }

    .lp-checkout-price-option__top {
        flex-direction: column;
    }

    .lp-checkout-price-option__badge {
        align-self: flex-start;
    }

    .lp-checkout-continuation-progress {
        grid-template-columns: 1fr;
    }

    .lp-checkout-google-identity {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .lp-checkout-google-identity__status {
        grid-column: 2;
        justify-self: start;
    }

    .lp-checkout-feedback .lp-alert,
    .lp-checkout-login-feedback .lp-alert {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 12px 13px;
    }

    .lp-checkout-feedback .lp-alert::before,
    .lp-checkout-login-feedback .lp-alert::before {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-panel .lp-button,
    .lp-checkout-plan,
    .lp-checkout-consent {
        transition: none;
    }
}

/* FASE 8.4.6 · FIX 04 — nav invitado alineada + lectura anual/MSI sin redundancia */
.lp-checkout-public-header {
    min-height: 70px;
    padding: 9px 10px 9px 17px;
}

.lp-checkout-public-header__brand {
    min-width: 0;
    display: flex;
    align-items: center;
}

.lp-checkout-public-header__brand-link {
    display: inline-flex;
    max-width: 162px;
}

.lp-checkout-public-header__brand-link .lp-brand__mark {
    width: 152px;
    height: 50px;
}

.lp-checkout-public-header__actions {
    min-height: 50px;
}

.lp-checkout-public-header__login {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 17px;
    white-space: nowrap;
}

.lp-checkout-msi-price {
    display: inline-flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.lp-checkout-msi-price small {
    color: #52658E !important;
    font-size: .72rem !important;
    font-weight: 820 !important;
    line-height: 1.3;
    letter-spacing: 0 !important;
}

.lp-checkout-msi-estimate {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid rgba(171, 210, 250, .82);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(171, 210, 250, .17), #FFFFFF 72%);
}

.lp-checkout-msi-estimate > span {
    color: #52658E;
    font-size: .65rem;
    font-weight: 880;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-checkout-msi-estimate > strong {
    color: #010736;
    font-size: .82rem;
    line-height: 1.35;
}

.lp-checkout-msi-estimate > small {
    color: #7180A0;
    font-size: .69rem;
    line-height: 1.45;
}

.lp-checkout-order-summary__total > small {
    display: grid;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(34, 57, 111, .1);
}

.lp-checkout-order-summary__total > small > span {
    color: #7180A0;
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lp-checkout-order-summary__total > small > b {
    color: #22396F;
    font-size: .72rem;
    font-weight: 880;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .lp-checkout-public-header {
        min-height: 64px;
        padding: 7px 8px 7px 13px;
    }

    .lp-checkout-public-header__brand-link {
        max-width: 126px;
    }

    .lp-checkout-public-header__brand-link .lp-brand__mark {
        width: 122px;
        height: 46px;
    }

    .lp-checkout-public-header__actions {
        min-height: 48px;
    }

    .lp-checkout-public-header__login {
        min-height: 48px;
        padding: 5px 12px;
        border-radius: 16px;
    }
}

@media (max-width: 380px) {
    .lp-checkout-public-header__brand-link {
        max-width: 112px;
    }

    .lp-checkout-public-header__brand-link .lp-brand__mark {
        width: 108px;
        height: 42px;
    }

    .lp-checkout-public-header__login {
        min-height: 44px;
        padding-inline: 10px;
        font-size: .78rem;
    }
}

/* FASE 8.4.6 · FIX 05 — la cabecera invitada reutiliza 1:1 el shell autenticado.
   No define geometría propia: ancho, alto, logo y responsive vienen de
   .lp-customer-header / .lp-header-brand / .lp-account-menu__trigger. */
.lp-public-login-trigger {
    text-decoration: none;
}


/* FASE 8.4.6 · FIX 06 — mensaje pasivo de acceso en cabecera invitada. */
.lp-public-login-prompt {
    max-width: 230px;
    color: #64749A;
    font-size: .78rem;
    font-weight: 760;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 760px) {
    .lp-public-login-prompt {
        max-width: 104px;
        font-size: .67rem;
        line-height: 1.18;
    }
}

@media (max-width: 380px) {
    .lp-public-login-prompt {
        max-width: 82px;
        font-size: .61rem;
    }
}


/* ============================================================
   FASE 8.4.7.1 · SISTEMA VISUAL DE FORMULARIOS
   Base compartida para formularios del portal cliente.
   Los colores semánticos de éxito/advertencia/error conservan
   su significado aunque la interfaz use la paleta oficial.
   ============================================================ */

.lp-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lp-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.lp-form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-form-span-full {
    grid-column: 1 / -1;
}

.lp-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-field {
    gap: 8px;
}

.lp-field__label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #22396F;
    font-size: .8rem;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .01em;
}

.lp-field__required {
    color: var(--lp-danger);
    font-weight: 950;
}

.lp-field__control {
    position: relative;
}

.lp-card-brand-field > input,
.lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    select,
    textarea
) {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(34, 57, 111, .24);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: #010736;
    padding: 11px 13px;
    font: inherit;
    font-size: .91rem;
    line-height: 1.4;
    box-shadow: 0 6px 18px rgba(1, 7, 54, .035);
    transition:
        border-color var(--lp-transition),
        box-shadow var(--lp-transition),
        background-color var(--lp-transition),
        opacity var(--lp-transition);
}

.lp-field__control > textarea {
    min-height: 122px;
    resize: vertical;
}

.lp-field__control > select {
    cursor: pointer;
}

.lp-card-brand-field > input::placeholder,
.lp-field__control > :where(input, textarea)::placeholder {
    color: #8793AE;
    opacity: 1;
}

.lp-card-brand-field > input:hover:not(:disabled):not([readonly]),
.lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    select,
    textarea
):hover:not(:disabled):not([readonly]) {
    border-color: rgba(34, 57, 111, .38);
}

.lp-card-brand-field > input:focus,
.lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    select,
    textarea
):focus {
    border-color: #22396F;
    outline: none;
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .38), 0 10px 24px rgba(1, 7, 54, .06);
}

.lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea
):read-only {
    border-color: rgba(34, 57, 111, .14);
    background: #F4F7FC;
    color: #536486;
    cursor: default;
    box-shadow: none;
}

.lp-field__control > :where(input, select, textarea):disabled {
    border-color: rgba(34, 57, 111, .12);
    background: #EEF2F8;
    color: #7180A0;
    cursor: not-allowed;
    opacity: .78;
    box-shadow: none;
}

.lp-field__control > input[type="file"] {
    width: 100%;
    min-height: 50px;
    border: 1px dashed rgba(34, 57, 111, .30);
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    color: #536486;
    padding: 7px;
    font: inherit;
    font-size: .82rem;
    cursor: pointer;
    transition: border-color var(--lp-transition), background-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-field__control > input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    border: 0;
    border-radius: 10px;
    background: rgba(171, 210, 250, .32);
    color: #22396F;
    padding: 8px 11px;
    font: inherit;
    font-size: .78rem;
    font-weight: 850;
    cursor: pointer;
}

.lp-field__control > input[type="file"]:hover:not(:disabled) {
    border-color: rgba(34, 57, 111, .46);
    background: #FFFFFF;
}

.lp-field__control > input[type="file"]:focus-visible {
    border-color: #22396F;
    outline: none;
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .38);
}

.lp-field__meta {
    display: grid;
    gap: 4px;
}

.lp-field__hint,
.lp-field__error {
    margin: 0;
    font-size: .75rem;
    line-height: 1.45;
}

.lp-field__hint {
    color: #7180A0;
}

.lp-field__error {
    color: var(--lp-danger);
    font-weight: 780;
}

.lp-field--invalid .lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
) {
    border-color: rgba(180, 35, 24, .52);
}

.lp-field--invalid .lp-field__control > :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
):focus {
    border-color: var(--lp-danger);
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .11);
}

.lp-choice-field {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .84);
    transition: border-color var(--lp-transition), background-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-choice-field:focus-within {
    border-color: rgba(34, 57, 111, .46);
    box-shadow: 0 0 0 4px rgba(171, 210, 250, .28);
}

.lp-choice-field:has(input:checked) {
    border-color: rgba(34, 57, 111, .34);
    background: linear-gradient(145deg, rgba(171, 210, 250, .18), rgba(255, 255, 255, .96));
}

.lp-choice-field:has(input:disabled) {
    opacity: .62;
    cursor: not-allowed;
}

.lp-choice-field--invalid {
    border-color: rgba(180, 35, 24, .38);
    background: rgba(254, 242, 242, .52);
}

.lp-choice-field__control {
    display: grid;
    place-items: start center;
    padding-top: 1px;
}

.lp-choice-field__control > :where(input[type="checkbox"], input[type="radio"]) {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #22396F;
    cursor: pointer;
}

.lp-choice-field__control > :where(input[type="checkbox"], input[type="radio"]):disabled {
    cursor: not-allowed;
}

.lp-choice-field__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lp-choice-field__label {
    color: #010736;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.4;
    cursor: pointer;
}

.lp-choice-field__description,
.lp-choice-field__error {
    margin: 0;
    font-size: .74rem;
    line-height: 1.48;
}

.lp-choice-field__description {
    color: #7180A0;
}

.lp-choice-field__error {
    color: var(--lp-danger);
    font-weight: 780;
}

@media (max-width: 760px) {
    .lp-form-grid,
    .lp-form-grid--3 {
        grid-template-columns: 1fr;
    }

    .lp-form-actions {
        align-items: stretch;
    }

    .lp-form-actions > :where(.lp-button, button, a) {
        flex: 1 1 100%;
    }
}

/* ============================================================
   FASE 8.4.7.2A · FORMULARIOS DE ACCESO Y CREDENCIALES
   Login, registro, recuperación, nueva contraseña y verificación.
   ============================================================ */

.lp-auth-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 58px) 18px;
}

.lp-auth-card {
    width: min(520px, 100%);
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
        radial-gradient(circle at 100% 0%, rgba(171, 210, 250, .20), transparent 42%);
    box-shadow: 0 26px 80px rgba(1, 7, 54, .12);
    padding: clamp(24px, 4vw, 36px);
}

.lp-auth-card--wide {
    width: min(660px, 100%);
}

.lp-auth-header {
    display: grid;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(34, 57, 111, .10);
}

.lp-auth-header .lp-brand--auth {
    justify-self: start;
}

.lp-auth-heading {
    display: grid;
    gap: 8px;
}

.lp-auth-heading > :where(h1, p) {
    margin: 0;
}

.lp-auth-eyebrow {
    color: #22396F;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lp-auth-heading h1 {
    color: #010736;
    font-size: clamp(2rem, 5vw, 2.7rem);
    font-weight: 920;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.lp-auth-heading p {
    max-width: 58ch;
    color: #64749A;
    font-size: .94rem;
    line-height: 1.65;
}

.lp-auth-heading strong {
    color: #22396F;
}

.lp-auth-feedback {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.lp-auth-form {
    margin-top: 22px;
}

.lp-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-auth-options .lp-choice-field {
    flex: 1 1 190px;
    padding: 10px 12px;
}

.lp-auth-text-link,
.lp-auth-legal-link {
    color: #22396F;
    font-weight: 850;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: 3px;
}

.lp-auth-text-link {
    font-size: .82rem;
}

.lp-auth-legal-link {
    font-size: .76rem;
}

.lp-auth-text-link:hover,
.lp-auth-legal-link:hover {
    color: #010736;
    text-decoration: underline;
}

.lp-auth-text-link:focus-visible,
.lp-auth-legal-link:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(171, 210, 250, .72);
    outline-offset: 3px;
}

.lp-auth-divider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #8793AE;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-auth-divider::before,
.lp-auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(34, 57, 111, .14);
}

.lp-auth-google {
    border-color: rgba(34, 57, 111, .20);
    background: #FFFFFF;
    color: #010736;
    justify-content: center;
    gap: 12px;
    padding-inline: 18px;
    text-align: center;
}

.lp-auth-google:link,
.lp-auth-google:visited {
    color: #010736;
}

.lp-auth-google:hover {
    border-color: rgba(34, 57, 111, .34);
    background: rgba(171, 210, 250, .12);
    color: #010736;
}

.lp-auth-google:focus-visible {
    color: #010736;
}

.lp-auth-google__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.lp-auth-google__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.lp-auth-google__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-weight: 850;
}

.lp-auth-consents {
    display: grid;
    gap: 10px;
}

.lp-auth-consents .lp-choice-field__label {
    font-weight: 760;
}

.lp-auth-consents .lp-legal-link {
    font-weight: 880;
}

.lp-auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(34, 57, 111, .10);
}

.lp-auth-footer > p,
.lp-auth-footer__row > p {
    margin: 0;
    color: #7180A0;
    font-size: .8rem;
    line-height: 1.45;
}

.lp-auth-footer__actions,
.lp-auth-footer__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-auth-footer--stacked {
    display: grid;
    justify-items: stretch;
}

.lp-auth-footer--stacked .lp-auth-footer__row {
    justify-content: space-between;
}

.lp-auth-footer--centered {
    justify-content: center;
}

.lp-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

@media (max-width: 760px) {
    .lp-auth-shell {
        place-items: start center;
        padding: 20px 12px 34px;
    }

    .lp-auth-card,
    .lp-auth-card--wide {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .lp-auth-header {
        gap: 15px;
        padding-bottom: 18px;
    }

    .lp-auth-options,
    .lp-auth-footer,
    .lp-auth-footer__row,
    .lp-auth-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-auth-options .lp-choice-field {
        flex-basis: auto;
        width: 100%;
    }

    .lp-auth-footer__actions {
        justify-content: flex-start;
    }

    .lp-auth-actions > .lp-button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .lp-auth-card,
    .lp-auth-card--wide {
        padding-inline: 15px;
    }

    .lp-auth-heading h1 {
        font-size: 1.85rem;
    }
}

/* =========================================================
   FASE 8.4.7.2B · FORMULARIOS OPERATIVOS PENDIENTES
   Membresía · Actualización de llanta · Reaceptación legal
   ========================================================= */

/* Membresía ------------------------------------------------ */
.lp-membership-shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
    padding: 34px 0 72px;
}

.lp-membership-hero,
.lp-tire-update-hero,
.lp-legal-update-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.lp-membership-hero__copy,
.lp-tire-update-hero > div,
.lp-legal-update-hero > div {
    min-width: 0;
}

.lp-membership-eyebrow,
.lp-membership-section-kicker,
.lp-tire-update-eyebrow,
.lp-tire-update-section-kicker,
.lp-legal-update-eyebrow,
.lp-legal-update-card__kicker {
    display: inline-flex;
    color: var(--lp-teal);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .085em;
    line-height: 1.3;
    text-transform: uppercase;
}

.lp-membership-hero h1,
.lp-tire-update-hero h1,
.lp-legal-update-hero h1 {
    margin: 8px 0 9px;
    color: var(--lp-forest);
    font-size: clamp(2rem, 5vw, 3.35rem);
    letter-spacing: -.05em;
    line-height: .98;
}

.lp-membership-hero p,
.lp-tire-update-hero p,
.lp-legal-update-hero p {
    max-width: 68ch;
    margin: 0;
    color: var(--lp-text-muted);
    line-height: 1.65;
}

.lp-membership-feedback,
.lp-membership-alert-stack,
.lp-tire-update-feedback,
.lp-legal-update-feedback {
    display: grid;
    gap: 12px;
}

.lp-membership-feedback,
.lp-tire-update-feedback,
.lp-legal-update-feedback {
    margin-bottom: 20px;
}

.lp-membership-feedback:empty,
.lp-tire-update-feedback:empty,
.lp-legal-update-feedback:empty {
    display: none;
}

.lp-membership-feedback .lp-alert__content p,
.lp-membership-alert-stack .lp-alert__content p,
.lp-tire-update-feedback .lp-alert__content p,
.lp-legal-update-feedback .lp-alert__content p,
.lp-membership-card .lp-alert__content p,
.lp-tire-update-card .lp-alert__content p {
    margin: 0;
}

.lp-membership-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: 20px;
    align-items: start;
}

.lp-membership-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.lp-membership-card,
.lp-tire-update-card,
.lp-legal-update-card,
.lp-legal-update-blocked {
    min-width: 0;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--lp-shadow-sm);
}

.lp-membership-card,
.lp-tire-update-card,
.lp-legal-update-card {
    padding: 24px;
}

.lp-membership-card__header,
.lp-tire-update-card__header,
.lp-legal-update-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.lp-membership-card__header > div,
.lp-tire-update-card__header > div,
.lp-legal-update-card__header > div {
    min-width: 0;
}

.lp-membership-card__header h2,
.lp-tire-update-card__header h2,
.lp-legal-update-card__header h2,
.lp-legal-update-blocked h2 {
    margin: 5px 0 5px;
    color: var(--lp-forest);
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    letter-spacing: -.025em;
}

.lp-membership-card__header p,
.lp-tire-update-card__header p,
.lp-legal-update-card__header p,
.lp-legal-update-blocked p,
.lp-membership-copy {
    margin: 0;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

.lp-membership-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.lp-membership-summary-grid > div,
.lp-membership-overview-list > div,
.lp-tire-update-summary > div,
.lp-legal-update-meta > div {
    min-width: 0;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 16px;
    background: rgba(171, 210, 250, .08);
}

.lp-membership-summary-grid > div {
    padding: 14px 15px;
}

.lp-membership-summary-grid dt,
.lp-membership-overview-list dt,
.lp-legal-update-meta dt {
    color: var(--lp-text-muted);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-membership-summary-grid dd,
.lp-membership-overview-list dd,
.lp-legal-update-meta dd {
    margin: 5px 0 0;
    color: var(--lp-forest);
    font-size: .91rem;
    font-weight: 820;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.lp-membership-balance {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 15px 16px;
    border: 1px solid rgba(180, 35, 24, .18);
    border-radius: 16px;
    background: rgba(254, 242, 242, .80);
}

.lp-membership-balance span {
    color: #982018;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lp-membership-balance strong {
    color: #982018;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    letter-spacing: -.04em;
}

.lp-membership-card-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.lp-membership-card-grid {
    align-items: start;
}

.lp-form-span-2 {
    grid-column: 1 / -1;
}

.lp-membership-recurring-consent {
    margin-top: 2px;
}

.lp-membership-recurring-consent .lp-legal-link {
    font-weight: 850;
}

.lp-membership-card-error[hidden] {
    display: none !important;
}

.lp-membership-card-actions {
    align-items: center;
    justify-content: flex-start;
}

.lp-membership-card-actions p,
.lp-tire-update-actions p {
    max-width: 48ch;
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.lp-membership-inline-form,
.lp-membership-actions {
    margin-top: 16px;
}

.lp-membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-membership-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .80);
}

.lp-membership-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: .83rem;
}

.lp-membership-table th,
.lp-membership-table td {
    padding: 12px 13px;
    border-bottom: 1px solid rgba(34, 57, 111, .10);
    text-align: left;
    vertical-align: top;
}

.lp-membership-table th {
    color: var(--lp-text-muted);
    background: rgba(171, 210, 250, .09);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-membership-table tbody tr:last-child td {
    border-bottom: 0;
}

.lp-membership-table__empty {
    color: var(--lp-text-muted);
    text-align: center !important;
}

.lp-membership-overview {
    position: sticky;
    top: 100px;
}

.lp-membership-overview-list {
    display: grid;
    gap: 9px;
    margin: 0;
}

.lp-membership-overview-list > div {
    padding: 12px 13px;
}

.lp-membership-sandbox {
    margin-top: 14px;
}

/* Actualización de llanta ---------------------------------- */
.lp-tire-update-shell {
    width: min(1040px, calc(100% - 32px));
    margin-inline: auto;
    padding: 34px 0 72px;
}

.lp-tire-update-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.lp-tire-update-summary > div {
    padding: 14px;
}

.lp-tire-update-summary span {
    display: block;
    color: var(--lp-text-muted);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-tire-update-summary strong {
    display: block;
    margin-top: 5px;
    color: var(--lp-forest);
    font-size: .9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.lp-tire-update-context {
    margin-bottom: 18px;
}

.lp-tire-update-form {
    display: grid;
    gap: 20px;
}

.lp-tire-update-fields {
    align-items: start;
}

.lp-tire-update-evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lp-tire-update-evidence-card {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 18px;
    background: rgba(171, 210, 250, .06);
}

.lp-tire-update-evidence-card__heading h3 {
    margin: 0 0 4px;
    color: var(--lp-forest);
    font-size: 1rem;
}

.lp-tire-update-evidence-card__heading p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.lp-tire-update-example,
.lp-tire-update-photo {
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 16px;
    background: #fff;
}

.lp-tire-update-example img,
.lp-tire-update-photo img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
}

.lp-tire-update-example__placeholder {
    min-height: 170px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--lp-text-muted);
    font-size: .8rem;
    font-weight: 800;
    text-align: center;
}

.lp-tire-update-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lp-tire-update-photo-grid--feedback {
    margin-top: 12px;
}

.lp-tire-update-photo p {
    margin: 0;
    padding: 9px 10px;
    color: #982018;
    font-size: .72rem;
    font-weight: 780;
    line-height: 1.45;
}

.lp-tire-update-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 4px 2px 0;
}

.lp-tire-update-actions p {
    text-align: right;
}

/* Reaceptación legal --------------------------------------- */
.lp-legal-update-shell {
    width: 100%;
    padding: 34px 16px 72px;
}

.lp-legal-update-container {
    width: min(940px, 100%);
    margin-inline: auto;
}

.lp-legal-update {
    min-width: 0;
}

.lp-legal-update-list,
.lp-legal-update-form {
    display: grid;
    gap: 16px;
}

.lp-legal-update-card {
    box-shadow: var(--lp-shadow-xs);
}

.lp-legal-update-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 16px;
}

.lp-legal-update-meta > div {
    padding: 11px 12px;
}

.lp-legal-update-summary {
    padding: 15px 16px;
    border: 1px solid rgba(166, 101, 21, .19);
    border-radius: 16px;
    background: rgba(255, 250, 235, .82);
    color: #65400f;
    line-height: 1.58;
}

.lp-legal-update-summary > strong {
    display: block;
    color: #7c4b0e;
}

.lp-legal-update-summary ul {
    margin: 9px 0 0;
    padding-left: 20px;
}

.lp-legal-update-summary li + li {
    margin-top: 5px;
}

.lp-legal-update-summary__note {
    margin: 11px 0 0;
    color: #7d6039;
    font-size: .82rem;
}

.lp-legal-update-read-copy {
    margin: 16px 0 0;
    color: var(--lp-text-soft);
    line-height: 1.62;
}

.lp-legal-update-read-copy .lp-legal-link {
    font-weight: 860;
}

.lp-legal-update-confirm {
    margin-top: 16px;
    border-color: rgba(166, 101, 21, .22);
    background: rgba(255, 250, 235, .74);
}

.lp-legal-update-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.lp-legal-update-blocked {
    padding: 26px;
    text-align: center;
}

.lp-legal-update-blocked p {
    max-width: 58ch;
    margin: 0 auto 18px;
}

/* Responsive 8.4.7.2B ------------------------------------- */
@media (max-width: 900px) {
    .lp-membership-layout {
        grid-template-columns: 1fr;
    }

    .lp-membership-overview {
        position: static;
    }

    .lp-tire-update-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lp-membership-shell,
    .lp-tire-update-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 24px;
    }

    .lp-legal-update-shell {
        padding: 24px 12px 60px;
    }

    .lp-membership-hero,
    .lp-tire-update-hero,
    .lp-legal-update-hero,
    .lp-membership-card__header,
    .lp-tire-update-card__header,
    .lp-legal-update-card__header {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-membership-hero > .lp-button,
    .lp-tire-update-hero > .lp-button,
    .lp-legal-update-hero > .lp-button {
        width: 100%;
    }

    .lp-membership-card,
    .lp-tire-update-card,
    .lp-legal-update-card,
    .lp-legal-update-blocked {
        border-radius: 20px;
        padding: 19px;
    }

    .lp-membership-summary-grid,
    .lp-tire-update-summary,
    .lp-tire-update-evidence-grid,
    .lp-legal-update-meta {
        grid-template-columns: 1fr;
    }

    .lp-form-span-2 {
        grid-column: auto;
    }

    .lp-membership-balance,
    .lp-tire-update-actions,
    .lp-legal-update-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-tire-update-actions > .lp-button,
    .lp-legal-update-actions > .lp-button,
    .lp-membership-actions .lp-button,
    .lp-membership-inline-form .lp-button,
    .lp-membership-card-actions .lp-button {
        width: 100%;
    }

    .lp-tire-update-actions p {
        text-align: left;
    }
}

@media (max-width: 440px) {
    .lp-tire-update-photo-grid {
        grid-template-columns: 1fr;
    }

    .lp-membership-card,
    .lp-tire-update-card,
    .lp-legal-update-card {
        padding: 16px;
    }
}


/* =========================================================
   FASE 8.4.7.2B · FIX3 SUPERFICIES OPERATIVAS COMPLETAS
   Hero premium · Mis llantas · Historial de llanta
   ========================================================= */

.lp-membership-hero,
.lp-tire-update-hero,
.lp-tires-hero,
.lp-tire-history-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .72fr);
    gap: 24px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(171, 210, 250, .20);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 10%, rgba(171, 210, 250, .22), transparent 17rem),
        radial-gradient(circle at 6% 100%, rgba(252, 241, 208, .14), transparent 18rem),
        linear-gradient(135deg, #010736 0%, #16265F 58%, #22396F 100%);
    color: #FFFFFF;
    box-shadow: 0 26px 70px rgba(1, 7, 54, .18);
}

.lp-membership-hero::after,
.lp-tire-update-hero::after,
.lp-tires-hero::after,
.lp-tire-history-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -78px;
    bottom: -108px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, .035),
        0 0 0 70px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.lp-membership-hero__main,
.lp-membership-hero__status,
.lp-tire-update-hero__main,
.lp-tire-update-hero__status,
.lp-tires-hero__main,
.lp-tires-hero__status,
.lp-tire-history-hero__main,
.lp-tire-history-hero__status {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.lp-membership-hero__eyebrow-row,
.lp-tires-hero__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.lp-membership-eyebrow,
.lp-tire-update-eyebrow,
.lp-tires-hero__code,
.lp-tire-history-hero__code {
    color: #ABD2FA;
}

.lp-membership-hero__environment {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid rgba(252, 241, 208, .22);
    border-radius: 999px;
    background: rgba(252, 241, 208, .10);
    color: #FCF1D0;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-membership-hero h1,
.lp-tire-update-hero h1,
.lp-tires-hero h1,
.lp-tire-history-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.lp-membership-hero__main > p,
.lp-tire-update-hero__main > p,
.lp-tires-hero__main > p,
.lp-tire-history-hero__main > p {
    max-width: 680px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(.96rem, 2vw, 1.08rem);
    line-height: 1.6;
}

.lp-membership-hero__actions,
.lp-tire-update-hero__actions,
.lp-tires-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.lp-membership-hero__status,
.lp-tire-update-hero__status,
.lp-tires-hero__status,
.lp-tire-history-hero__status {
    align-self: stretch;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
}

.lp-membership-hero__status > span,
.lp-membership-hero__status > strong,
.lp-tire-update-hero__status > span,
.lp-tire-update-hero__status > strong,
.lp-tires-hero__status > span,
.lp-tires-hero__status > strong,
.lp-tire-history-hero__status > span,
.lp-tire-history-hero__status > strong {
    display: block;
}

.lp-membership-hero__status > span,
.lp-tire-update-hero__status > span,
.lp-tires-hero__status > span,
.lp-tire-history-hero__status > span {
    color: #ABD2FA;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-membership-hero__status > strong,
.lp-tire-update-hero__status > strong,
.lp-tires-hero__status > strong,
.lp-tire-history-hero__status > strong {
    margin-top: 8px;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.lp-membership-hero__status p,
.lp-tire-update-hero__status p,
.lp-tires-hero__status p,
.lp-tire-history-hero__status p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
    line-height: 1.55;
}

/* Mis llantas ------------------------------------------------ */
.lp-tires-page,
.lp-tire-history-page {
    min-height: 100vh;
    padding: 30px 18px 72px;
}

.lp-tires-page__container,
.lp-tire-history-page__container {
    width: min(var(--lp-content), 100%);
    margin: 0 auto;
}

.lp-tires-back,
.lp-tires-back:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--lp-teal) !important;
    font-size: .87rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-tires-back:hover {
    color: var(--lp-forest) !important;
}

.lp-tires-overview,
.lp-tire-history-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.lp-tires-stat {
    min-width: 0;
    padding: 16px 17px;
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(1, 7, 54, .055);
}

.lp-tires-stat span,
.lp-tire-card__metrics dt,
.lp-tire-history-dates dt,
.lp-tire-history-meta dt {
    display: block;
    color: var(--lp-text-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-tires-stat strong,
.lp-tire-card__metrics dd,
.lp-tire-history-dates dd,
.lp-tire-history-meta dd {
    display: block;
    margin: 5px 0 0;
    color: var(--lp-forest);
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.lp-tires-notice,
.lp-tires-feedback,
.lp-tire-history-notice {
    margin-top: 16px;
}

.lp-tires-notice .lp-alert__content p,
.lp-tires-feedback .lp-alert__content p,
.lp-tire-history-notice .lp-alert__content p,
.lp-tire-card__state .lp-alert__content p,
.lp-tire-history-observation .lp-alert__content p {
    margin: 0;
}

.lp-tires-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.lp-tire-card,
.lp-tire-history-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 24px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 16px 40px rgba(1, 7, 54, .07);
}

.lp-tire-card__header,
.lp-tire-history-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.lp-tire-card__header > div,
.lp-tire-history-card__header > div {
    min-width: 0;
}

.lp-tire-card__eyebrow {
    display: inline-flex;
    color: var(--lp-teal);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lp-tire-card__header h2,
.lp-tire-history-card__header h2 {
    margin: 6px 0 4px;
    color: var(--lp-forest);
    font-size: 1.35rem;
    letter-spacing: -.03em;
}

.lp-tire-card__header p,
.lp-tire-history-card__header p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.lp-tire-card__metrics,
.lp-tire-history-dates,
.lp-tire-history-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 0;
}

.lp-tire-history-dates,
.lp-tire-history-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-tire-card__metrics > div,
.lp-tire-history-dates > div,
.lp-tire-history-meta > div {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 15px;
    background: rgba(171, 210, 250, .07);
}

.lp-tire-card__state {
    margin-top: 14px;
}

.lp-tire-card__history,
.lp-tire-history-card__evidence {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid rgba(34, 57, 111, .10);
}

.lp-tire-card__section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-tire-card__section-heading span {
    display: block;
    color: var(--lp-text-muted);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-tire-card__section-heading h3 {
    margin: 3px 0 0;
    color: var(--lp-forest);
    font-size: 1rem;
}

.lp-tire-card__section-heading a,
.lp-tire-card__section-heading a:visited {
    color: var(--lp-teal);
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-tire-version-list {
    display: grid;
    gap: 8px;
}

.lp-tire-version-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .84);
}

.lp-tire-version-row > div {
    min-width: 0;
}

.lp-tire-version-row strong,
.lp-tire-version-row span {
    display: block;
}

.lp-tire-version-row strong {
    color: var(--lp-forest);
    font-size: .82rem;
}

.lp-tire-version-row > div > span {
    margin-top: 3px;
    color: var(--lp-text-muted);
    font-size: .72rem;
}

.lp-tire-version-badge,
.lp-tire-photo-badge {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .66rem !important;
    font-weight: 900;
    white-space: nowrap;
}

.lp-tire-version-badge.version-active,
.lp-tire-photo-badge.photo-approved {
    background: rgba(36, 120, 91, .12);
    color: #1F6A51;
}

.lp-tire-version-badge.version-warning,
.lp-tire-photo-badge.photo-pending {
    background: rgba(166, 101, 21, .12);
    color: #8A5513;
}

.lp-tire-version-badge.version-danger,
.lp-tire-photo-badge.photo-rejected {
    background: rgba(180, 35, 24, .11);
    color: #982018;
}

.lp-tire-version-badge.version-neutral {
    background: rgba(34, 57, 111, .09);
    color: var(--lp-text-muted);
}

.lp-tire-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.lp-tires-empty {
    grid-column: 1 / -1;
}

/* Historial de llanta -------------------------------------- */
.lp-tire-history-timeline {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.lp-tire-history-card__header h2 {
    font-size: 1.42rem;
}

.lp-tire-history-observation {
    margin-top: 15px;
}

.lp-tire-history-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lp-tire-history-photo {
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 18px;
    background: rgba(171, 210, 250, .05);
}

.lp-tire-history-photo img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    background: rgba(171, 210, 250, .08);
}

.lp-tire-history-photo__body {
    padding: 13px;
}

.lp-tire-history-photo__body > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lp-tire-history-photo__body h4 {
    margin: 0;
    color: var(--lp-forest);
    font-size: .9rem;
}

.lp-tire-history-photo__body p {
    margin: 9px 0 0;
    color: var(--lp-text-muted);
    font-size: .78rem;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .lp-membership-hero,
    .lp-tire-update-hero,
    .lp-tires-hero,
    .lp-tire-history-hero {
        grid-template-columns: 1fr;
    }

    .lp-membership-hero__status,
    .lp-tire-update-hero__status,
    .lp-tires-hero__status,
    .lp-tire-history-hero__status {
        max-width: none;
    }

    .lp-tires-overview,
    .lp-tire-history-overview,
    .lp-tire-history-dates,
    .lp-tire-history-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .lp-tires-page,
    .lp-tire-history-page {
        padding: 22px 12px 60px;
    }

    .lp-membership-hero,
    .lp-tire-update-hero,
    .lp-tires-hero,
    .lp-tire-history-hero {
        padding: 23px 20px;
        border-radius: 26px;
    }

    .lp-membership-hero__actions,
    .lp-tire-update-hero__actions,
    .lp-tires-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-membership-hero__actions .lp-button,
    .lp-tire-update-hero__actions .lp-button,
    .lp-tires-hero__actions .lp-button {
        width: 100%;
    }

    .lp-tires-overview,
    .lp-tire-history-overview,
    .lp-tires-grid,
    .lp-tire-card__metrics,
    .lp-tire-history-dates,
    .lp-tire-history-meta,
    .lp-tire-history-photo-grid {
        grid-template-columns: 1fr;
    }

    .lp-tire-card,
    .lp-tire-history-card {
        padding: 18px;
        border-radius: 20px;
    }

    .lp-tire-card__header,
    .lp-tire-history-card__header,
    .lp-tire-card__section-heading,
    .lp-tire-history-photo__body > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-tire-version-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-tire-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-tire-card__actions .lp-button {
        width: 100%;
    }

    .lp-tire-history-photo img {
        height: min(58vw, 280px);
    }
}

/* =========================================================
   FASE 8.4.7.2B · FIX6 REGLAS DE NAVEGACIÓN Y AVISOS
   Contexto minimalista · callouts destacados · densidad común
   ========================================================= */

/* Navegación contextual reutilizable ----------------------- */
.lp-context-nav {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 14px;
}

.lp-context-nav__back,
.lp-context-nav__back:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    color: var(--lp-teal) !important;
    font-size: .87rem;
    font-weight: 850;
    text-decoration: none;
}

.lp-context-nav__back:hover {
    color: var(--lp-forest) !important;
}

.lp-context-nav__back:focus-visible,
.lp-context-nav__trail a:focus-visible {
    border-radius: 8px;
    outline: 3px solid rgba(171, 210, 250, .72);
    outline-offset: 3px;
}

.lp-context-nav__arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform var(--lp-transition);
}

.lp-context-nav__back:hover .lp-context-nav__arrow {
    transform: translateX(-2px);
}

.lp-context-nav__trail {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--lp-text-muted);
    font-size: .76rem;
    font-weight: 760;
    line-height: 1.4;
}

.lp-context-nav__trail li {
    min-width: 0;
    display: inline-flex;
    align-items: center;
}

.lp-context-nav__trail li + li::before {
    content: "/";
    margin: 0 7px;
    color: rgba(34, 57, 111, .34);
    font-weight: 650;
}

.lp-context-nav__trail a,
.lp-context-nav__trail a:visited {
    color: var(--lp-teal) !important;
    text-decoration: none;
}

.lp-context-nav__trail a:hover {
    color: var(--lp-forest) !important;
    text-decoration: underline;
}

.lp-context-nav__trail [aria-current="page"] {
    color: var(--lp-forest);
    font-weight: 880;
}

/* Avisos/contexto destacados ------------------------------- */
.lp-alert--featured {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 3px;
    overflow: hidden;
    padding: 16px 18px;
    border-color: rgba(34, 57, 111, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(171, 210, 250, .13));
    box-shadow: 0 12px 30px rgba(1, 7, 54, .055);
}

.lp-alert--featured::before {
    content: "i";
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    align-self: start;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .54), rgba(34, 57, 111, .14));
    color: #22396F;
    font-size: .92rem;
    font-weight: 950;
    font-style: normal;
    box-shadow: inset 0 0 0 1px rgba(34, 57, 111, .08);
}

.lp-alert--featured .lp-alert__title,
.lp-alert--featured .lp-alert__content {
    grid-column: 2;
    min-width: 0;
}

.lp-alert--featured .lp-alert__title {
    align-self: end;
    color: var(--lp-forest);
    font-size: .91rem;
    font-weight: 900;
    line-height: 1.3;
}

.lp-alert--featured .lp-alert__content {
    color: var(--lp-text-muted);
    font-size: .83rem;
    line-height: 1.55;
}

.lp-alert--featured.lp-alert--success {
    border-color: rgba(36, 120, 91, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(236, 253, 245, .86));
}

.lp-alert--featured.lp-alert--success::before {
    content: "✓";
    background: rgba(36, 120, 91, .12);
    color: #176348;
}

.lp-alert--featured.lp-alert--warning {
    border-color: rgba(166, 101, 21, .20);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 250, 235, .94));
}

.lp-alert--featured.lp-alert--warning::before {
    content: "!";
    background: rgba(166, 101, 21, .12);
    color: #7c4b0e;
}

.lp-alert--featured.lp-alert--danger {
    border-color: rgba(180, 35, 24, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(254, 242, 242, .94));
}

.lp-alert--featured.lp-alert--danger::before {
    content: "!";
    background: rgba(180, 35, 24, .10);
    color: #982018;
}

/* Actualizar llanta: misma densidad visual que el portal --- */
.lp-tire-update-shell {
    width: min(var(--lp-content), calc(100% - 32px));
}

.lp-tire-update-summary {
    gap: 12px;
    margin: 18px 0;
}

.lp-tire-update-summary > div {
    min-height: 88px;
    display: grid;
    align-content: center;
    padding: 16px 17px;
    border-color: rgba(34, 57, 111, .14);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(1, 7, 54, .05);
}

.lp-tire-update-summary span {
    color: var(--lp-text-muted);
}

.lp-tire-update-summary strong {
    margin-top: 7px;
    font-size: .96rem;
}

.lp-tire-update-context {
    margin: 0 0 20px;
}

.lp-tire-update-card {
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(1, 7, 54, .07);
}

@media (max-width: 760px) {
    .lp-context-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        margin-bottom: 12px;
    }

    .lp-context-nav__trail {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 0 5px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .lp-context-nav__trail::-webkit-scrollbar {
        display: none;
    }

    .lp-alert--featured {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px;
    }

    .lp-alert--featured::before {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .lp-tire-update-card {
        padding: 20px;
    }
}


/* =========================================================
   FASE 8.4.7.2B · FIX7 NAVEGACIÓN CONTEXTUAL TRANSVERSAL
   Reclamaciones + soporte normal/contextual
   ========================================================= */
.claim-container > .lp-context-nav,
.lp-support-page__container > .lp-context-nav {
    margin-bottom: 14px;
}

.claim-header > div:first-child {
    min-width: 0;
    width: 100%;
}

@media (max-width: 760px) {
    .claim-container {
        width: min(var(--lp-content), calc(100% - 24px));
    }
}

/* =========================================================
   FASE 8.4.7.2B · FIX8 PORTAL PAGOS + RECLAMACIONES
   Tabla financiera con jerarquía · reclamaciones en tarjetas
   ========================================================= */
.lp-dashboard-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lp-dashboard-section-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--lp-teal);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lp-dashboard-section-summary {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.lp-dashboard-section-summary > span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 999px;
    background: rgba(171, 210, 250, .09);
    color: var(--lp-text-muted);
    font-size: .72rem;
    font-weight: 780;
    white-space: nowrap;
}

.lp-dashboard-section-summary strong {
    color: var(--lp-forest);
    font-size: .84rem;
}

/* Pagos ---------------------------------------------------- */
.lp-dashboard-payments-card {
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 30px rgba(1, 7, 54, .045);
}

.lp-dashboard-payments-card__intro {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(34, 57, 111, .10);
    background: linear-gradient(135deg, rgba(171, 210, 250, .13), rgba(252, 241, 208, .13));
}

.lp-dashboard-payments-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    background: #010736;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(1, 7, 54, .16);
}

.lp-dashboard-payments-card__intro > div {
    min-width: 0;
}

.lp-dashboard-payments-card__intro strong {
    display: block;
    color: var(--lp-forest);
    font-size: .94rem;
}

.lp-dashboard-payments-card__intro p {
    margin: 3px 0 0;
    color: var(--lp-text-muted);
    font-size: .78rem;
    line-height: 1.45;
}

/* Lista compacta de movimientos: una fila = un enlace al detalle del pago. */
.lp-dashboard-payment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-dashboard-payment-list [x-cloak] {
    display: none !important;
}

.lp-dashboard-payment-row {
    margin: 0;
}

.lp-dashboard-payment-row + .lp-dashboard-payment-row {
    border-top: 1px solid rgba(34, 57, 111, .09);
}

.lp-dashboard-payment-row .lp-dashboard-payment-link,
.lp-dashboard-payment-row .lp-dashboard-payment-link:visited {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 12px 17px;
    border-radius: 0;
    color: var(--lp-forest);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease;
}

.lp-dashboard-payment-row .lp-dashboard-payment-link:hover {
    background: rgba(171, 210, 250, .12);
    color: var(--lp-forest);
    text-decoration: none;
}

.lp-dashboard-payment-row .lp-dashboard-payment-link:focus {
    outline: none;
}

.lp-dashboard-payment-row .lp-dashboard-payment-link:focus-visible {
    background: rgba(171, 210, 250, .14);
    box-shadow: inset 0 0 0 3px #22396F;
}

.lp-dashboard-payment-row__main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.lp-dashboard-payment-row__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    min-width: 0;
}

.lp-dashboard-payment-id,
.lp-dashboard-payment-amount {
    color: var(--lp-forest);
}

.lp-dashboard-payment-id {
    font-size: .94rem;
    font-weight: 850;
    white-space: nowrap;
}

.lp-dashboard-payment-plan {
    min-width: 0;
    color: var(--lp-text-muted);
    font-size: .84rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.lp-dashboard-payment-row__status {
    display: flex;
    line-height: 1;
}

.lp-dashboard-payment-row__status .badge {
    white-space: nowrap;
}

.lp-dashboard-payment-amount {
    font-size: .98rem;
    font-weight: 850;
    text-align: right;
    white-space: nowrap;
}

.lp-dashboard-payment-row__chevron {
    flex: 0 0 auto;
    color: rgba(34, 57, 111, .55);
    transition: transform .18s ease, color .18s ease;
}

.lp-dashboard-payment-row .lp-dashboard-payment-link:hover .lp-dashboard-payment-row__chevron,
.lp-dashboard-payment-row .lp-dashboard-payment-link:focus-visible .lp-dashboard-payment-row__chevron {
    color: #22396F;
    transform: translateX(2px);
}

.lp-dashboard-payments-toggle-wrap {
    display: flex;
    justify-content: center;
    padding: 10px 17px 14px;
    border-top: 1px solid rgba(34, 57, 111, .09);
}

.lp-dashboard-payments-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: 999px;
    background: #FFFFFF;
    color: #22396F;
    font: inherit;
    font-size: .86rem;
    font-weight: 780;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.lp-dashboard-payments-toggle:hover {
    border-color: rgba(34, 57, 111, .32);
    background: rgba(171, 210, 250, .14);
}

.lp-dashboard-payments-toggle:focus-visible {
    outline: 3px solid #22396F;
    outline-offset: 2px;
}

.lp-dashboard-payments-toggle__chevron {
    transition: transform .22s ease;
}

.lp-dashboard-payments-toggle.is-expanded .lp-dashboard-payments-toggle__chevron {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .lp-dashboard-payment-row,
    .lp-dashboard-payment-row .lp-dashboard-payment-link,
    .lp-dashboard-payment-row__chevron,
    .lp-dashboard-payments-toggle,
    .lp-dashboard-payments-toggle__chevron {
        transition: none !important;
    }

    .lp-dashboard-payment-row .lp-dashboard-payment-link:hover .lp-dashboard-payment-row__chevron,
    .lp-dashboard-payment-row .lp-dashboard-payment-link:focus-visible .lp-dashboard-payment-row__chevron {
        transform: none;
    }
}

/* Móvil: el título usa toda la línea; debajo, estado a la izquierda e importe a la derecha. */
@media (max-width: 480px) {
    .lp-dashboard-payment-row .lp-dashboard-payment-link,
    .lp-dashboard-payment-row .lp-dashboard-payment-link:visited {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "title title chevron"
            "status amount chevron";
        row-gap: 7px;
        column-gap: 10px;
    }

    .lp-dashboard-payment-row__main {
        display: contents;
    }

    .lp-dashboard-payment-row__title {
        grid-area: title;
    }

    .lp-dashboard-payment-row__status {
        grid-area: status;
        align-self: center;
    }

    .lp-dashboard-payment-amount {
        grid-area: amount;
        align-self: center;
    }

    .lp-dashboard-payment-row__chevron {
        grid-area: chevron;
        align-self: center;
    }
}

@media (max-width: 360px) {
    .lp-dashboard-payment-row .lp-dashboard-payment-amount {
        font-size: .86rem;
    }
}

/* Reclamaciones -------------------------------------------- */
.lp-dashboard-claim-list {
    display: grid;
    gap: 16px;
}

.lp-dashboard-claim-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 36px rgba(1, 7, 54, .055);
}

.lp-dashboard-claim-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 21px 17px;
    border-bottom: 1px solid rgba(34, 57, 111, .09);
    background: linear-gradient(135deg, rgba(171, 210, 250, .11), rgba(255, 255, 255, .92));
}

.lp-dashboard-claim-card__identity {
    min-width: 0;
}

.lp-dashboard-claim-card__code {
    display: block;
    color: var(--lp-teal);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .065em;
}

.lp-dashboard-claim-card__identity h3 {
    margin: 5px 0 3px;
    color: var(--lp-forest);
    font-size: 1.22rem;
    letter-spacing: -.025em;
}

.lp-dashboard-claim-card__identity p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.lp-dashboard-claim-card__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 17px 21px 0;
}

.lp-dashboard-claim-card__metrics > div {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 15px;
    background: rgba(171, 210, 250, .06);
}

.lp-dashboard-claim-card__metrics dt {
    color: var(--lp-text-muted);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-dashboard-claim-card__metrics dd {
    margin: 5px 0 0;
    color: var(--lp-forest);
    font-size: .85rem;
    font-weight: 850;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.lp-dashboard-claim-card__note {
    margin: 14px 21px 0;
    padding: 14px 15px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-left: 4px solid #22396F;
    border-radius: 16px;
    background: rgba(252, 241, 208, .28);
}

.lp-dashboard-claim-card__note > span,
.lp-dashboard-claim-card__payout > span {
    display: block;
    color: var(--lp-text-muted);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.lp-dashboard-claim-card__note p {
    margin: 6px 0 0;
    color: var(--lp-forest);
    font-size: .84rem;
    font-weight: 680;
    line-height: 1.55;
    white-space: normal;
}

.lp-dashboard-claim-card__note .lp-dashboard-claim-card__note-empty {
    color: var(--lp-text-muted);
    font-weight: 650;
}

.lp-dashboard-claim-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 16px 21px 20px;
    border-top: 1px solid rgba(34, 57, 111, .09);
}

.lp-dashboard-claim-card__payout {
    min-width: 0;
}

.lp-dashboard-claim-card__payout strong,
.lp-dashboard-claim-card__payout small {
    display: block;
}

.lp-dashboard-claim-card__payout strong {
    margin-top: 5px;
    color: var(--lp-forest);
    font-size: .88rem;
}

.lp-dashboard-claim-card__payout small {
    margin-top: 3px;
    color: var(--lp-text-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.lp-dashboard-claim-card__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 900px) {
    .lp-dashboard-section-heading {
        flex-direction: column;
    }

    .lp-dashboard-section-summary {
        justify-content: flex-start;
    }

    .lp-dashboard-claim-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .lp-dashboard-section-summary {
        width: 100%;
    }

    .lp-dashboard-section-summary > span {
        flex: 1 1 auto;
        justify-content: center;
    }

    .lp-dashboard-payments-card {
        border-radius: 19px;
    }

    .lp-dashboard-payments-card__intro {
        padding: 14px;
    }

    .lp-dashboard-payment-row .lp-dashboard-payment-link,
    .lp-dashboard-payment-row .lp-dashboard-payment-link:visited {
        column-gap: 10px;
        padding: 12px 14px;
    }

    .lp-dashboard-payment-amount {
        font-size: .92rem;
    }

    .lp-dashboard-claim-card {
        border-radius: 20px;
    }

    .lp-dashboard-claim-card__header,
    .lp-dashboard-claim-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-dashboard-claim-card__metrics {
        grid-template-columns: 1fr;
        padding: 14px 16px 0;
    }

    .lp-dashboard-claim-card__header {
        padding: 17px 16px 15px;
    }

    .lp-dashboard-claim-card__note {
        margin: 13px 16px 0;
    }

    .lp-dashboard-claim-card__footer {
        padding: 15px 16px 18px;
    }

    .lp-dashboard-claim-card__actions,
    .lp-dashboard-claim-card__actions .lp-button {
        width: 100%;
    }
}

/* =========================================================
   FASE 8.4.7.2B · FIX9 RECLAMACIONES COMPACTAS EN PORTAL
   Expediente compacto · datos siempre visibles
   ========================================================= */
.lp-dashboard-claim-list {
    gap: 12px;
}

.lp-dashboard-claim-card__header {
    align-items: center;
    padding: 15px 17px 13px;
}

.lp-dashboard-claim-card__identity h3 {
    margin-top: 3px;
    font-size: 1.08rem;
}

.lp-dashboard-claim-card__compact-grid {
    display: grid;
    grid-template-columns: minmax(260px, .95fr) minmax(300px, 1.35fr) minmax(210px, .72fr);
    gap: 12px;
    align-items: stretch;
    padding: 12px 17px 16px;
}

.lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
}

.lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__metrics > div {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 10px;
    border-radius: 13px;
}

.lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__metrics dd {
    margin-top: 3px;
    font-size: .79rem;
}

.lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__note {
    min-width: 0;
    margin: 0;
    padding: 11px 13px;
    border-radius: 14px;
}

.lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__note p {
    margin-top: 5px;
    font-size: .79rem;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.lp-dashboard-claim-card__side {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 57, 111, .10);
    border-radius: 14px;
    background: rgba(171, 210, 250, .055);
}

.lp-dashboard-claim-card__side .lp-dashboard-claim-card__payout strong {
    margin-top: 4px;
    font-size: .82rem;
}

.lp-dashboard-claim-card__side .lp-dashboard-claim-card__payout small {
    margin-top: 2px;
    font-size: .69rem;
}

.lp-dashboard-claim-card__side .lp-dashboard-claim-card__actions {
    justify-content: flex-start;
}

.lp-dashboard-claim-card__side .lp-dashboard-claim-card__actions .lp-button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: .76rem;
}

@media (max-width: 1040px) {
    .lp-dashboard-claim-card__compact-grid {
        grid-template-columns: minmax(250px, .9fr) minmax(0, 1.35fr);
    }

    .lp-dashboard-claim-card__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 720px) {
    .lp-dashboard-claim-card__compact-grid {
        grid-template-columns: 1fr;
        padding: 12px 14px 15px;
    }

    .lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-dashboard-claim-card__side {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .lp-dashboard-claim-card__compact-grid .lp-dashboard-claim-card__metrics {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FASE 8.4.7.3 · ESTADOS, ERRORES Y CONFIRMACIONES
   403/404 · feedback operativo · banner legal
   ========================================================= */
.lp-error-page .lp-page-root {
    min-height: calc(100dvh - 96px);
    display: grid;
}

.lp-error-shell {
    width: min(var(--lp-content), calc(100% - 32px));
    margin: auto;
    padding: clamp(28px, 6vw, 72px) 0;
}

.lp-error-state {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 34px;
    background:
        radial-gradient(circle at 8% 10%, rgba(171, 210, 250, .22), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.99), rgba(239,246,255,.96));
    box-shadow: 0 28px 80px rgba(1, 7, 54, .12);
}

.lp-error-state::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -130px;
    border: 1px solid rgba(34, 57, 111, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(171, 210, 250, .055), 0 0 0 78px rgba(171, 210, 250, .035);
    pointer-events: none;
}

.lp-error-state__visual,
.lp-error-state__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.lp-error-state__visual {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border-radius: 28px;
    background: linear-gradient(145deg, #010736, #22396F);
    color: #FFFFFF;
    box-shadow: 0 22px 56px rgba(1, 7, 54, .22);
}

.lp-error-state__visual span {
    font-size: clamp(3.8rem, 11vw, 7rem);
    font-weight: 950;
    line-height: .9;
    letter-spacing: -.08em;
}

.lp-error-state__visual svg {
    width: 46px;
    height: 46px;
    color: #ABD2FA;
}

.lp-error-state__eyebrow {
    display: inline-flex;
    color: #22396F;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lp-error-state__copy h1 {
    max-width: 780px;
    margin: 10px 0 0;
    color: #010736;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.lp-error-state__copy > p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--lp-text-muted);
    font-size: clamp(.96rem, 2vw, 1.08rem);
    line-height: 1.7;
}

.lp-error-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.lp-legal-reacceptance-banner {
    width: min(var(--lp-content), calc(100% - 36px));
    margin: 24px auto 0;
}

.lp-legal-reacceptance-banner .lp-alert {
    box-shadow: 0 14px 34px rgba(1, 7, 54, .065);
}

.lp-legal-reacceptance-banner .lp-alert__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.lp-legal-reacceptance-banner .lp-alert__content p,
.lp-evidence-feedback .lp-alert__content p,
.lp-payout-feedback .lp-alert__content p,
.lp-claim-selection-feedback .lp-alert__content p {
    margin: 0;
}

.lp-payout-feedback .lp-alert__content {
    display: grid;
    gap: 7px;
}

.lp-evidence-feedback,
.lp-payout-feedback,
.lp-claim-selection-feedback {
    margin: 16px 0;
}

@media (max-width: 760px) {
    .lp-error-shell {
        width: min(100% - 24px, var(--lp-content));
        padding: 24px 0 58px;
    }

    .lp-error-state {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 26px;
    }

    .lp-error-state__visual {
        min-height: 178px;
        border-radius: 22px;
    }

    .lp-error-state__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-error-state__actions .lp-button {
        width: 100%;
    }

    .lp-legal-reacceptance-banner {
        width: min(100% - 24px, var(--lp-content));
        margin-top: 16px;
    }

    .lp-legal-reacceptance-banner .lp-alert__content {
        align-items: stretch;
        flex-direction: column;
    }
}

/* =========================================================
   FASE 8.4.7.3 · FIX5 CIERRE VISUAL EVIDENCIAS + REEMBOLSO
   Navegación contextual · avisos compactos compartidos
   ========================================================= */

.evidence-container > .lp-context-nav,
.payout-container > .lp-context-nav {
    margin-bottom: 14px;
}

.lp-alert--featured.lp-alert--compact {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 11px;
    padding: 12px 13px;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(1, 7, 54, .045);
}

.lp-alert--featured.lp-alert--compact::before {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: .78rem;
}

.lp-alert--featured.lp-alert--compact .lp-alert__title {
    font-size: .82rem;
}

.lp-alert--featured.lp-alert--compact .lp-alert__content {
    font-size: .78rem;
    line-height: 1.5;
}

.lp-alert--featured.lp-alert--compact .lp-alert__content p {
    margin: 0;
}

.lp-evidence-card-alert {
    margin-top: 12px;
}

.lp-evidence-card-alert + div {
    margin-top: 12px;
}

.lp-payout-data-notice {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .lp-alert--featured.lp-alert--compact {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 11px 12px;
    }

    .lp-alert--featured.lp-alert--compact::before {
        width: 32px;
        height: 32px;
    }
}


/* ==========================================================
   Fase 8.5.2 — Solicitud manual de factura por WhatsApp
   ========================================================== */
.lp-invoice-page {
    min-height: 100%;
    padding: 30px 0 54px;
}

.lp-invoice-shell {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
}

.lp-invoice-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(230px, .45fr);
    gap: 28px;
    align-items: center;
    margin-top: 18px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(171, 210, 250, .18);
    border-radius: 28px;
    background: linear-gradient(145deg, #010736 0%, #22396F 100%);
    box-shadow: 0 22px 50px rgba(1, 7, 54, .14);
    overflow: hidden;
}

.lp-invoice-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(171, 210, 250, .10);
    pointer-events: none;
}

.lp-invoice-hero__copy,
.lp-invoice-hero__payment {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.lp-invoice-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #22396F;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-invoice-hero .lp-invoice-eyebrow {
    color: #ABD2FA;
}

.lp-invoice-hero h1 {
    margin: 8px 0 0;
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.lp-invoice-hero__copy > p {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: .98rem;
    line-height: 1.68;
}

.lp-invoice-hero__payment {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    text-align: right;
}

.lp-invoice-hero__payment span,
.lp-invoice-hero__payment strong,
.lp-invoice-hero__payment p {
    display: block;
}

.lp-invoice-hero__payment span {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-invoice-hero__payment strong {
    margin-top: 7px;
    color: #FFFFFF;
    font-size: 1.35rem;
}

.lp-invoice-hero__payment p {
    margin: 4px 0 0;
    color: #ABD2FA;
    font-size: 1rem;
    font-weight: 850;
}

.lp-invoice-feedback {
    margin-top: 18px;
}

.lp-invoice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.lp-invoice-card,
.lp-invoice-summary {
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 38px rgba(1, 7, 54, .07);
}

.lp-invoice-card {
    padding: clamp(22px, 3vw, 32px);
}

.lp-invoice-card__heading h2,
.lp-invoice-summary__heading h2 {
    margin: 7px 0 0;
    color: #010736;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    line-height: 1.16;
    letter-spacing: -.025em;
}

.lp-invoice-card__heading p,
.lp-invoice-summary__heading p {
    margin: 9px 0 0;
    color: #7180A0;
    font-size: .88rem;
    line-height: 1.62;
}

.lp-invoice-mode-notice {
    margin-top: 20px;
}

.lp-invoice-form {
    margin-top: 24px;
}

.lp-invoice-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-invoice-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    padding: 15px 16px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 16px;
    background: #F8FAFD;
    color: #536486;
}

.lp-invoice-privacy-note > span {
    flex: 0 0 auto;
    color: #22396F;
}

.lp-invoice-privacy-note p {
    margin: 0;
    font-size: .79rem;
    line-height: 1.55;
}

.lp-invoice-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.lp-invoice-summary {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.lp-invoice-summary__list {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
}

.lp-invoice-summary__list > div {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34, 57, 111, .09);
}

.lp-invoice-summary__list dt {
    color: #7180A0;
    font-size: .76rem;
    font-weight: 760;
}

.lp-invoice-summary__list dd {
    margin: 0;
    color: #22396F;
    font-size: .82rem;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
}

.lp-invoice-summary__total {
    margin-top: 18px;
    padding: 17px;
    border-radius: 16px;
    background: linear-gradient(145deg, #010736, #22396F);
    color: #FFFFFF;
}

.lp-invoice-summary__total span,
.lp-invoice-summary__total strong {
    display: block;
}

.lp-invoice-summary__total span {
    color: rgba(255, 255, 255, .64);
    font-size: .7rem;
    font-weight: 820;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lp-invoice-summary__total strong {
    margin-top: 5px;
    color: #FFFFFF;
    font-size: 1.45rem;
    letter-spacing: -.025em;
}

.lp-dashboard-payment-link,
.lp-dashboard-payment-link:visited {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: #22396F;
    text-decoration: none;
    border-radius: 9px;
}

.lp-dashboard-payment-link:hover {
    color: #010736;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .lp-invoice-hero,
    .lp-invoice-layout {
        grid-template-columns: 1fr;
    }

    .lp-invoice-hero__payment {
        text-align: left;
    }

    .lp-invoice-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .lp-invoice-page {
        padding-top: 18px;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    .lp-invoice-shell {
        width: min(100% - 22px, 1180px);
    }

    .lp-invoice-hero {
        gap: 20px;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .lp-invoice-card,
    .lp-invoice-summary {
        border-radius: 18px;
    }

    .lp-invoice-card,
    .lp-invoice-summary {
        padding: 18px;
    }

    .lp-invoice-form__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .lp-invoice-form__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lp-invoice-form__actions .lp-button {
        width: 100%;
        justify-content: center;
    }

    .lp-invoice-summary__list > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .lp-invoice-summary__list dd {
        text-align: left;
    }
}

/* Fase 8.5.3 — Datos fiscales reutilizables + acceso desde membresía */
.lp-invoice-saved {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 20px;
    background: rgba(171, 210, 250, .16);
}

.lp-invoice-saved__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.lp-invoice-saved__heading h3 {
    margin: 4px 0 6px;
    color: #010736;
    font-size: 1.05rem;
}

.lp-invoice-saved__heading p {
    margin: 0;
    color: #22396F;
}

.lp-invoice-saved__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.lp-invoice-saved__grid > div {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid rgba(34, 57, 111, .10);
}

.lp-invoice-saved__grid dt {
    margin-bottom: 4px;
    color: #22396F;
    font-size: .78rem;
    font-weight: 700;
}

.lp-invoice-saved__grid dd {
    margin: 0;
    color: #010736;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lp-invoice-saved__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.lp-invoice-saved__actions form {
    margin: 0;
}

.lp-invoice-save-choice {
    margin-top: 20px;
}

.lp-invoice-save-choice .lp-choice-field {
    align-items: flex-start;
}

.lp-invoice-save-choice .lp-choice-field span {
    display: grid;
    gap: 3px;
}

.lp-invoice-save-choice .lp-choice-field small {
    color: #22396F;
    line-height: 1.45;
}

.lp-membership-payment-link {
    color: #22396F;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lp-membership-payment-link:hover,
.lp-membership-payment-link:focus-visible {
    color: #010736;
}

@media (max-width: 640px) {
    .lp-invoice-saved {
        padding: 16px;
        border-radius: 16px;
    }

    .lp-invoice-saved__heading,
    .lp-invoice-saved__actions {
        align-items: stretch;
    }

    .lp-invoice-saved__heading {
        flex-direction: column;
    }

    .lp-invoice-saved__grid {
        grid-template-columns: 1fr;
    }

    .lp-invoice-saved__actions {
        flex-direction: column;
    }

    .lp-invoice-saved__actions > *,
    .lp-invoice-saved__actions form,
    .lp-invoice-saved__actions .lp-button {
        width: 100%;
    }
}

/* Fase 8.6.2 — Footer global administrable */
.lp-global-footer {
    position: relative;
    z-index: 1;
    margin-top: 36px;
    background:
        radial-gradient(circle at 8% 12%, rgba(171, 210, 250, .15), transparent 20rem),
        linear-gradient(145deg, #010736 0%, #09164d 58%, #22396F 100%);
    color: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(171, 210, 250, .18);
}

.lp-global-footer__shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
    padding: 36px 0 24px;
}

.lp-global-footer__top {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 28px;
    align-items: start;
}

.lp-global-footer__brand,
.lp-global-footer__block {
    min-width: 0;
}

.lp-global-footer__logo {
    display: block;
    width: min(190px, 100%);
    height: auto;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .14));
}

.lp-global-footer__tagline {
    margin: 15px 0 0;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.lp-global-footer__description {
    max-width: 42rem;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: .91rem;
    line-height: 1.65;
}

.lp-global-footer__block h2 {
    margin: 3px 0 14px;
    color: #FFFFFF;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-global-footer__list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.lp-global-footer__list li,
.lp-global-footer__detail {
    min-width: 0;
}

.lp-global-footer__list span,
.lp-global-footer__detail > span,
.lp-global-footer__purpose span {
    display: block;
    margin-bottom: 3px;
    color: rgba(171, 210, 250, .76);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.lp-global-footer a,
.lp-global-footer a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.lp-global-footer__list a {
    display: inline-block;
    max-width: 100%;
    font-size: .9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lp-global-footer a:hover {
    color: #ABD2FA;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-global-footer__detail + .lp-global-footer__detail {
    margin-top: 18px;
}

.lp-global-footer__detail p {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: .9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.lp-global-footer__map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin-top: 7px;
    font-size: .86rem;
    font-weight: 800;
}

.lp-global-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-global-footer__socials a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid rgba(171, 210, 250, .20);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: .8rem;
    font-weight: 800;
    transition: background var(--lp-transition), border-color var(--lp-transition), transform var(--lp-transition);
}

.lp-global-footer__socials a:hover {
    border-color: rgba(171, 210, 250, .46);
    background: rgba(171, 210, 250, .12);
    text-decoration: none;
}

.lp-global-footer__purpose {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(171, 210, 250, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
}

.lp-global-footer__purpose p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    line-height: 1.6;
}

.lp-global-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(171, 210, 250, .14);
}

.lp-global-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
}

.lp-global-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
}

.lp-global-footer__legal a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 750;
}

@media (hover: hover) {
    .lp-global-footer__socials a:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 960px) {
    .lp-global-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-global-footer__brand {
        grid-column: 1 / -1;
    }

    .lp-global-footer__description {
        max-width: 48rem;
    }
}

@media (max-width: 640px) {
    .lp-global-footer {
        margin-top: 24px;
    }

    .lp-global-footer__shell {
        width: min(100% - 28px, 1180px);
        padding: 28px 0 calc(92px + env(safe-area-inset-bottom, 0px));
    }

    body.lp-customer-app:not(.lp-customer-app--authenticated) .lp-global-footer__shell {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .lp-global-footer__top,
    .lp-global-footer__purpose {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lp-global-footer__logo {
        width: 168px;
    }

    .lp-global-footer__socials a {
        min-height: 44px;
    }

    .lp-global-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-global-footer__legal {
        justify-content: flex-start;
    }

    .lp-global-footer__legal a {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .lp-global-footer,
    .lp-global-footer__socials a,
    .lp-global-footer__purpose {
        border-color: CanvasText;
    }
}

/* Fase 8.6.2 — Refinamiento institucional, CTA, iconos y Sobre nosotros */
.lp-global-footer__top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px 22px;
}

.lp-global-footer__brand {
    grid-column: span 4;
}

.lp-global-footer__block {
    grid-column: span 2;
}

.lp-global-footer__logo {
    width: min(225px, 100%);
}

.lp-global-footer__brand-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 20px;
}

.lp-global-footer__quote-cta,
.lp-global-footer__quote-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 7px 16px 7px 8px;
    border: 1px solid rgba(171, 210, 250, .42);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 57, 111, .86), rgba(1, 7, 54, .72));
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 8px 20px rgba(1, 7, 54, .16);
    font-size: .9rem;
    font-weight: 850;
    letter-spacing: .01em;
    transition: transform var(--lp-transition), border-color var(--lp-transition), background var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-global-footer__quote-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(171, 210, 250, .34);
    border-radius: 50%;
    background: rgba(171, 210, 250, .1);
    color: #ABD2FA;
    transition: transform var(--lp-transition), background var(--lp-transition), border-color var(--lp-transition);
}

.lp-global-footer__quote-icon svg {
    width: 23px;
    height: 23px;
}

.lp-global-footer__quote-label {
    line-height: 1.1;
}

.lp-global-footer__quote-cta:hover {
    color: #FFFFFF;
    border-color: rgba(171, 210, 250, .72);
    background: linear-gradient(135deg, rgba(34, 57, 111, .98), rgba(1, 7, 54, .88));
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 10px 24px rgba(1, 7, 54, .2);
}

.lp-global-footer__quote-cta:hover .lp-global-footer__quote-icon {
    transform: rotate(-5deg);
    border-color: rgba(171, 210, 250, .62);
    background: rgba(171, 210, 250, .16);
}

.lp-global-footer__quote-cta:focus-visible {
    outline: 3px solid rgba(171, 210, 250, .58);
    outline-offset: 3px;
}

.lp-global-footer__about-link,
.lp-global-footer__about-link:visited {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .84);
    font-size: .86rem;
    font-weight: 800;
}

.lp-global-footer__payment-copy {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    line-height: 1.5;
}

.lp-global-footer__payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.lp-global-footer__payment-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid rgba(171, 210, 250, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .88);
    font-size: .76rem;
    font-weight: 800;
}

.lp-global-footer__payment-method svg {
    flex: 0 0 auto;
    color: #ABD2FA;
}

.lp-global-footer__payment-brands {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.lp-global-footer__payment-brands img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .lp-global-footer__payment-brands {
        gap: 4px;
    }

    .lp-global-footer__payment-brands img {
        width: 36px;
        height: 36px;
    }
}

.lp-global-footer__payment-note {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    line-height: 1.4;
}

.lp-global-footer__socials {
    gap: 9px;
}

.lp-global-footer__social-link,
.lp-global-footer__social-link:visited {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(171, 210, 250, .24);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    color: #ABD2FA;
}

.lp-global-footer__social-link svg {
    width: 20px;
    height: 20px;
}

.lp-global-footer__social-link:hover {
    border-color: rgba(171, 210, 250, .62);
    background: rgba(171, 210, 250, .14);
    color: #FFFFFF;
    text-decoration: none;
}

.lp-about-page {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 38px 0 64px;
}

.lp-about-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .72fr);
    gap: 34px;
    align-items: center;
    padding: 46px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 18%, rgba(171, 210, 250, .48), transparent 19rem),
        linear-gradient(145deg, #FFFFFF 0%, #F7FAFF 58%, #EEF5FC 100%);
    box-shadow: 0 24px 70px rgba(1, 7, 54, .09);
}

.lp-about-hero::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(1, 7, 54, .045);
    pointer-events: none;
}

.lp-about-hero__content,
.lp-about-hero__trust {
    position: relative;
    z-index: 1;
}

.lp-about-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(171, 210, 250, .48);
    color: #22396F;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lp-about-hero h1 {
    max-width: 760px;
    margin: 15px 0 14px;
    color: #010736;
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.lp-about-hero__content > p {
    max-width: 760px;
    margin: 0;
    color: #4B587E;
    font-size: 1.05rem;
    line-height: 1.75;
}

.lp-about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.lp-about-primary-cta,
.lp-about-primary-cta:visited,
.lp-about-secondary-cta,
.lp-about-secondary-cta:visited {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 17px;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
}

.lp-about-primary-cta,
.lp-about-primary-cta:visited {
    background: #010736;
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(1, 7, 54, .17);
}

.lp-about-primary-cta:hover {
    color: #FFFFFF;
    background: #22396F;
    text-decoration: none;
}

.lp-about-secondary-cta,
.lp-about-secondary-cta:visited {
    border: 1px solid rgba(34, 57, 111, .18);
    background: rgba(255, 255, 255, .74);
    color: #22396F;
}

.lp-about-secondary-cta:hover {
    background: #FFFFFF;
    color: #010736;
    text-decoration: none;
}

.lp-about-hero__trust {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid rgba(171, 210, 250, .34);
    border-radius: 24px;
    background: linear-gradient(160deg, #010736 0%, #22396F 100%);
    box-shadow: 0 18px 45px rgba(1, 7, 54, .2);
}

.lp-about-hero__trust img {
    width: min(230px, 100%);
    height: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .16));
}

.lp-about-hero__trust span {
    color: #ABD2FA;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-about-hero__trust strong {
    margin-top: 8px;
    color: #FFFFFF;
    font-size: 1.12rem;
    line-height: 1.5;
}

.lp-about-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.lp-about-info-card {
    padding: 26px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 14px 36px rgba(1, 7, 54, .055);
}

.lp-about-info-card--notice {
    background: linear-gradient(160deg, #FCF1D0 0%, #FFF9E8 100%);
}

.lp-about-info-card__icon,
.lp-about-payment-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(171, 210, 250, .38);
    color: #22396F;
}

.lp-about-info-card__icon svg,
.lp-about-payment-card__icon svg {
    width: 23px;
    height: 23px;
}

.lp-about-info-card > span {
    display: block;
    margin-top: 18px;
    color: #5A6B96;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-about-info-card h2 {
    margin: 7px 0 9px;
    color: #010736;
    font-size: 1.18rem;
    line-height: 1.32;
}

.lp-about-info-card p,
.lp-about-section-heading p,
.lp-about-purpose p,
.lp-about-payment-card p,
.lp-about-final-cta p {
    color: #586584;
    line-height: 1.68;
}

.lp-about-info-card p {
    margin: 0;
    font-size: .92rem;
}

.lp-about-info-card a {
    display: inline-flex;
    margin-top: 15px;
    color: #22396F;
    font-size: .85rem;
    font-weight: 900;
    text-decoration: none;
}

.lp-about-info-card a:hover {
    color: #010736;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-about-purpose,
.lp-about-payments {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 36px rgba(1, 7, 54, .045);
}

.lp-about-section-heading {
    max-width: 760px;
}

.lp-about-section-heading h2 {
    margin: 12px 0 8px;
    color: #010736;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    letter-spacing: -.025em;
}

.lp-about-section-heading p {
    margin: 0;
    font-size: .95rem;
}

.lp-about-purpose__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.lp-about-purpose__grid article {
    padding: 22px;
    border-radius: 18px;
    background: #F6F9FE;
}

.lp-about-purpose__grid span {
    color: #22396F;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.lp-about-purpose__grid p {
    margin: 8px 0 0;
}

.lp-about-payments__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.lp-about-payment-card {
    padding: 20px;
    border: 1px solid rgba(34, 57, 111, .1);
    border-radius: 18px;
    background: linear-gradient(160deg, #FFFFFF 0%, #F7FAFF 100%);
}

.lp-about-payment-card h3 {
    margin: 14px 0 6px;
    color: #010736;
    font-size: 1rem;
}

.lp-about-payment-card p {
    margin: 0;
    font-size: .84rem;
}

.lp-about-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 24px;
    padding: 30px 34px;
    border-radius: 24px;
    background: linear-gradient(140deg, #010736 0%, #22396F 100%);
    box-shadow: 0 18px 48px rgba(1, 7, 54, .17);
}

.lp-about-final-cta h2 {
    margin: 10px 0 6px;
    color: #FFFFFF;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.lp-about-final-cta p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.lp-about-final-cta > a,
.lp-about-final-cta > a:visited {
    flex: 0 0 auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #ABD2FA;
    color: #010736;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
}

.lp-about-final-cta > a:hover {
    background: #FFFFFF;
    color: #010736;
    text-decoration: none;
}

@media (hover: hover) {
    .lp-global-footer__social-link:hover,
    .lp-about-info-card:hover,
    .lp-about-payment-card:hover {
        transform: translateY(-2px);
    }

    .lp-about-info-card,
    .lp-about-payment-card {
        transition: transform var(--lp-transition), box-shadow var(--lp-transition), border-color var(--lp-transition);
    }

    .lp-about-info-card:hover,
    .lp-about-payment-card:hover {
        border-color: rgba(171, 210, 250, .62);
        box-shadow: 0 18px 42px rgba(1, 7, 54, .075);
    }
}

@media (max-width: 1080px) {
    .lp-global-footer__brand {
        grid-column: span 6;
    }

    .lp-global-footer__block {
        grid-column: span 3;
    }

    .lp-about-payments__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .lp-global-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-global-footer__brand,
    .lp-global-footer__block {
        grid-column: auto;
    }

    .lp-global-footer__brand {
        grid-column: 1 / -1;
    }

    .lp-about-hero {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .lp-about-hero__trust {
        min-height: auto;
    }

    .lp-about-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-global-footer__logo {
        width: 190px;
    }

    .lp-global-footer__brand-actions,
    .lp-about-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-global-footer__quote-cta,
    .lp-global-footer__about-link,
    .lp-about-primary-cta,
    .lp-about-secondary-cta {
        width: 100%;
    }

    .lp-global-footer__about-link {
        justify-content: center;
    }

    .lp-global-footer__social-link,
    .lp-global-footer__social-link:visited {
        width: 46px;
        height: 46px;
        min-height: 46px;
    }

    .lp-about-page {
        width: min(100% - 28px, 1160px);
        padding: 24px 0 40px;
    }

    .lp-about-hero {
        padding: 24px;
        border-radius: 24px;
    }

    .lp-about-hero h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .lp-about-purpose,
    .lp-about-payments {
        padding: 22px;
        border-radius: 20px;
    }

    .lp-about-purpose__grid,
    .lp-about-payments__grid {
        grid-template-columns: 1fr;
    }

    .lp-about-final-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .lp-about-final-cta > a {
        width: 100%;
    }
}

@media (forced-colors: active) {
    .lp-global-footer__quote-cta,
    .lp-global-footer__social-link,
    .lp-global-footer__payment-method,
    .lp-about-hero,
    .lp-about-info-card,
    .lp-about-purpose,
    .lp-about-payments,
    .lp-about-payment-card,
    .lp-about-final-cta {
        border: 1px solid CanvasText;
    }
}

/* FASE 8.7A.3 · UX2 — comparación compacta + continuidad progresiva */
.lp-checkout-price-option__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lp-checkout-price-option__facts > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(34, 57, 111, .11);
    border-radius: 13px;
    background: #F9FAFF;
}

.lp-checkout-price-option__facts span {
    display: block;
    color: #7180A0;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.lp-checkout-price-option__facts strong {
    display: block;
    margin-top: 3px;
    color: #010736;
    font-size: .78rem;
    line-height: 1.35;
}

.lp-checkout-price-option__summary,
.lp-checkout-price-option__saving {
    margin: 0;
    color: #52658E;
    font-size: .75rem;
    line-height: 1.52;
}

.lp-checkout-price-option__saving {
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(252, 241, 208, .5);
    color: #22396F;
}

.lp-checkout-price-details {
    border-top: 1px solid rgba(34, 57, 111, .1);
    border-bottom: 1px solid rgba(34, 57, 111, .1);
}

.lp-checkout-price-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    color: #22396F;
    font-size: .8125rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.lp-checkout-price-details summary::-webkit-details-marker {
    display: none;
}

.lp-checkout-price-details summary svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    transition: transform var(--lp-transition);
}

.lp-checkout-price-details[open] summary svg {
    transform: rotate(180deg);
}

.lp-checkout-price-details > div {
    display: grid;
    gap: 8px;
    padding: 0 0 12px;
}

.lp-checkout-price-details p {
    margin: 0;
    color: #64749A;
    font-size: .8125rem;
    line-height: 1.5;
}

.lp-checkout-price-details a {
    color: #22396F;
    font-weight: 850;
}

.lp-checkout-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 7px 9px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 10px;
    background: #FFFFFF;
    color: #22396F;
    font: inherit;
    font-size: .69rem;
    font-weight: 900;
    cursor: pointer;
    transition: border-color var(--lp-transition), background var(--lp-transition), transform var(--lp-transition);
}

.lp-checkout-mode-switch:hover {
    border-color: rgba(34, 57, 111, .3);
    background: rgba(171, 210, 250, .16);
    transform: translateY(-1px);
}

.lp-checkout-mode-switch:disabled {
    opacity: .62;
    cursor: wait;
    transform: none;
}

.lp-checkout-mode-switch svg {
    width: 17px;
    height: 17px;
}

.lp-checkout-access-card,
.lp-checkout-registration-card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .11), #FFFFFF 52%, rgba(252, 241, 208, .14));
}

.lp-checkout-access-card {
    max-width: 680px;
    margin-inline: auto;
}

.lp-checkout-access-card__heading,
.lp-checkout-registration-card__heading {
    margin-bottom: 16px;
}

.lp-checkout-access-card__heading > span,
.lp-checkout-registration-card__heading > div > span,
.lp-checkout-email-confirmed > span {
    display: block;
    color: #7180A0;
    font-size: .65rem;
    font-weight: 880;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-checkout-access-card__heading h3,
.lp-checkout-registration-card__heading h3 {
    margin: 4px 0 0;
    color: #010736;
    font-size: 1.08rem;
    letter-spacing: -.025em;
}

.lp-checkout-access-card__heading p,
.lp-checkout-registration-card__heading p,
.lp-checkout-access-card__hint {
    margin: 5px 0 0;
    color: #64749A;
    font-size: .75rem;
    line-height: 1.5;
}

.lp-checkout-google-button__mark {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #FFFFFF;
    color: #22396F;
    font-size: .78rem;
    font-weight: 950;
}

.lp-checkout-access-card__hint {
    text-align: center;
}

.lp-checkout-access-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #8A96AF;
    font-size: .69rem;
    font-weight: 850;
    text-transform: uppercase;
}

.lp-checkout-access-divider::before,
.lp-checkout-access-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(34, 57, 111, .12);
}

.lp-checkout-email-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.lp-checkout-email-entry .lp-button {
    min-height: 48px;
}

.lp-checkout-registration-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lp-checkout-change-email {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 10px;
    background: #FFFFFF;
    color: #22396F;
    font: inherit;
    font-size: .69rem;
    font-weight: 900;
    cursor: pointer;
}

.lp-checkout-email-confirmed {
    margin-bottom: 15px;
    padding: 11px 12px;
    border: 1px solid rgba(171, 210, 250, .55);
    border-radius: 13px;
    background: rgba(171, 210, 250, .12);
}

.lp-checkout-email-confirmed strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 3px;
    color: #010736;
    font-size: .84rem;
}

@media (max-width: 760px) {
    .lp-checkout-access-card,
    .lp-checkout-registration-card {
        padding: 16px;
        border-radius: 17px;
    }

    .lp-checkout-email-entry {
        grid-template-columns: 1fr;
    }

    .lp-checkout-email-entry .lp-button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .lp-checkout-price-option__facts {
        grid-template-columns: 1fr;
    }

    .lp-checkout-registration-card__heading {
        flex-direction: column;
    }

    .lp-checkout-change-email {
        align-self: flex-start;
    }
}

@media (min-width: 981px) {
    .lp-checkout-order-summary {
        grid-template-columns: 1.6fr repeat(4, minmax(0, .68fr));
    }
}

/* FASE 8.7A.3 · UX3 — navegación, verificación y continuidad refinada */
.lp-checkout-context-nav {
    width: min(var(--lp-content), 100%);
    min-height: 42px;
    margin: -2px auto 18px;
    padding: 0;
}

.lp-checkout-context-nav__back {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.lp-checkout-context-nav__back:hover {
    background: transparent;
}

.lp-checkout-scroll-cue {
    position: fixed;
    z-index: 105;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    gap: 1px;
    width: 66px;
    min-height: 82px;
    padding: 7px 8px 6px;
    border: 1px solid rgba(34, 57, 111, .1);
    border-radius: 24px;
    background: rgba(255, 255, 255, .66);
    color: rgba(1, 7, 54, .74);
    box-shadow: 0 12px 34px rgba(1, 7, 54, .08);
    cursor: pointer;
    opacity: var(--lp-cue-opacity, 1);
    transition: opacity .65s ease, transform .65s ease;
}

.lp-checkout-scroll-cue.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
}

.lp-checkout-scroll-cue__desktop,
.lp-checkout-scroll-cue__mobile {
    display: grid;
    place-items: center;
}

.lp-checkout-scroll-cue__desktop svg,
.lp-checkout-scroll-cue__mobile svg {
    width: 34px;
    height: 48px;
    animation: lp-scroll-cue 1.6s ease-in-out infinite;
}

.lp-checkout-scroll-cue__mobile {
    display: none;
}

.lp-checkout-scroll-cue__label {
    margin-top: -3px;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

@keyframes lp-scroll-cue {
    0%, 100% { transform: translateY(0); opacity: .66; }
    50% { transform: translateY(5px); opacity: 1; }
}

.lp-checkout-google-button__mark,
.lp-checkout-google-identity__mark {
    background: #FFFFFF;
}

.lp-checkout-google-button__mark svg {
    width: 18px;
    height: 18px;
    display: block;
}

.lp-checkout-google-identity__mark svg {
    width: 21px;
    height: 21px;
    display: block;
}

.lp-checkout-continuation-page {
    width: min(var(--lp-content), calc(100% - 36px));
}

.lp-checkout-continuation-card {
    width: 100%;
}

.lp-verification-lock-shell {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.lp-verification-lock-card {
    width: min(100%, 560px);
}

.lp-verification-lock-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 18px 0 0;
    padding: 13px 14px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 14px;
    background: rgba(171, 210, 250, .13);
    color: #52658E;
}

.lp-verification-lock-note p {
    margin: 0;
    font-size: .78rem;
    line-height: 1.55;
}

.lp-auth-actions--verification {
    align-items: stretch;
}

.lp-verification-lock-logout {
    margin: 0;
}

.lp-verification-lock-logout .lp-button {
    width: 100%;
}

@media (max-width: 760px) {
    .lp-checkout-context-nav {
        min-height: 42px;
        padding: 0;
    }

    .lp-checkout-scroll-cue {
        bottom: 16px;
        width: 62px;
        min-height: 78px;
        border-radius: 22px;
    }

    .lp-checkout-scroll-cue__desktop {
        display: none;
    }

    .lp-checkout-scroll-cue__mobile {
        display: grid;
    }

    .lp-checkout-continuation-page {
        width: min(var(--lp-content), calc(100% - 22px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-scroll-cue__desktop svg,
    .lp-checkout-scroll-cue__mobile svg {
        animation: none;
    }
}

/* ========================================================================== */
/* Fase 8.7A.4 · Checkout financiero enfocado                                */
/* ========================================================================== */

.lp-payment-page--87a4 .lp-payment-hero--compact {
    align-items: center;
    gap: clamp(22px, 4vw, 48px);
    padding: clamp(24px, 4vw, 36px);
    border-radius: 26px;
}

.lp-payment-page--87a4 .lp-payment-hero--compact h1 {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1;
}

.lp-payment-page--87a4 .lp-payment-hero--compact .lp-payment-hero__copy > p {
    max-width: 720px;
    margin-top: 13px;
    font-size: .96rem;
    line-height: 1.58;
}

.lp-payment-page--87a4 .lp-payment-hero--compact .lp-payment-hero__amount {
    min-width: 210px;
}

.lp-payment-context-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.lp-payment-context-strip__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    color: var(--lp-text-muted);
    font-size: .77rem;
    line-height: 1.42;
    box-shadow: 0 8px 22px rgba(1, 7, 54, .05);
}

.lp-payment-context-strip__item strong {
    display: block;
    color: var(--lp-forest);
    font-size: .78rem;
}

.lp-payment-context-strip__item--sandbox {
    background: rgba(252, 241, 208, .66);
    border-color: rgba(196, 158, 67, .22);
}

.lp-payment-context-strip__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    background: rgba(171, 210, 250, .22);
    color: var(--lp-teal);
}

.lp-payment-context-strip__icon svg {
    width: 18px;
    height: 18px;
}

.lp-payment-layout--focused {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 345px);
    gap: 20px;
    margin-top: 20px;
}

.lp-payment-layout--focused .lp-payment-card {
    padding: clamp(22px, 3.5vw, 32px);
}

.lp-payment-mode-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 24px;
    padding: 17px 18px;
    border: 1px solid rgba(171, 210, 250, .68);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .13), rgba(255, 255, 255, .96));
}

.lp-payment-mode-card__eyebrow,
.lp-payment-mode-card strong,
.lp-payment-mode-card p {
    display: block;
}

.lp-payment-mode-card__eyebrow {
    color: var(--lp-teal);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lp-payment-mode-card strong {
    margin-top: 5px;
    color: var(--lp-forest);
    font-size: 1.16rem;
}

.lp-payment-mode-card p {
    margin: 5px 0 0;
    color: var(--lp-text-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.lp-payment-mode-card__status {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-forest);
    color: var(--lp-white);
    font-size: .7rem;
    font-weight: 900;
}

.lp-payment-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 14px;
}

.lp-payment-choice-card {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--lp-border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.lp-payment-choice-card:hover,
.lp-payment-choice-card:focus-within {
    border-color: rgba(34, 57, 111, .42);
    box-shadow: 0 12px 30px rgba(1, 7, 54, .08);
    transform: translateY(-1px);
}

.lp-payment-choice-card.is-selected {
    border-color: var(--lp-forest);
    background: linear-gradient(145deg, rgba(171, 210, 250, .18), rgba(255, 255, 255, .98));
    box-shadow: 0 12px 30px rgba(1, 7, 54, .09);
}

.lp-payment-choice-card.is-disabled {
    opacity: .48;
    cursor: not-allowed;
}

.lp-payment-choice-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lp-payment-choice-card__check {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-top: 1px;
    border: 2px solid rgba(34, 57, 111, .28);
    border-radius: 50%;
    background: var(--lp-white);
}

.lp-payment-choice-card.is-selected .lp-payment-choice-card__check {
    border: 6px solid var(--lp-forest);
}

.lp-payment-choice-card__copy {
    min-width: 0;
}

.lp-payment-choice-card__copy strong,
.lp-payment-choice-card__copy small,
.lp-payment-choice-card__copy b {
    display: block;
}

.lp-payment-choice-card__copy strong {
    color: var(--lp-forest);
    font-size: .94rem;
}

.lp-payment-choice-card__copy small {
    margin-top: 4px;
    color: var(--lp-text-muted);
    font-size: .76rem;
    line-height: 1.42;
}

.lp-payment-choice-card__copy b {
    margin-top: 10px;
    color: var(--lp-teal);
    font-size: .82rem;
}

.lp-payment-msi-panel {
    display: none;
    margin-bottom: 22px;
    padding: 17px;
    border: 1px solid rgba(34, 57, 111, .13);
    border-radius: 18px;
    background: rgba(246, 248, 255, .9);
}

.lp-payment-msi-panel.is-visible {
    display: block;
}

.lp-payment-msi-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lp-payment-msi-panel__heading strong {
    display: block;
    margin-top: 4px;
    color: var(--lp-forest);
}

.lp-payment-msi-panel__heading small {
    max-width: 280px;
    color: var(--lp-text-muted);
    font-size: .72rem;
    line-height: 1.45;
    text-align: right;
}

.lp-payment-msi-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}

.lp-payment-msi-option {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 11px 10px;
    border: 1px solid var(--lp-border);
    border-radius: 13px;
    background: var(--lp-white);
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.lp-payment-msi-option:hover,
.lp-payment-msi-option:focus-within {
    border-color: rgba(34, 57, 111, .40);
    transform: translateY(-1px);
}

.lp-payment-msi-option.is-selected {
    border-color: var(--lp-forest);
    background: rgba(171, 210, 250, .22);
}

.lp-payment-msi-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lp-payment-msi-option strong {
    color: var(--lp-forest);
    font-size: .82rem;
}

.lp-payment-msi-option small {
    color: var(--lp-text-muted);
    font-size: .68rem;
    line-height: 1.35;
}

.lp-payment-inline-note {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 13px;
    background: rgba(252, 241, 208, .62);
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.lp-payment-card-data-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 22px 0 16px;
    padding-top: 21px;
    border-top: 1px solid rgba(34, 57, 111, .10);
}

.lp-payment-card-data-heading h3 {
    margin: 4px 0 0;
    color: var(--lp-forest);
    font-size: 1.08rem;
}

.lp-payment-card-data-heading p {
    max-width: 370px;
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .75rem;
    line-height: 1.48;
    text-align: right;
}

.lp-payment-side-card--summary {
    overflow: hidden;
}

.lp-payment-side-card__finance-note {
    margin: 12px 0 0;
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(171, 210, 250, .14);
    color: var(--lp-text-muted);
    font-size: .74rem;
    line-height: 1.48;
}

.lp-payment-page--87a4 .lp-payment-feedback {
    margin-top: 16px;
}

.lp-payment-page--87a4 .lp-payment-layout__aside {
    top: 92px;
}

@media (max-width: 960px) {
    .lp-payment-context-strip {
        grid-template-columns: 1fr 1fr;
    }

    .lp-payment-layout--focused {
        grid-template-columns: 1fr;
    }

    .lp-payment-page--87a4 .lp-payment-layout__aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }
}

@media (max-width: 760px) {
    .lp-payment-page--87a4 .lp-payment-hero--compact {
        padding: 22px 18px 24px;
    }

    .lp-payment-context-strip,
    .lp-payment-choice {
        grid-template-columns: 1fr;
    }

    .lp-payment-msi-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-payment-msi-panel__heading,
    .lp-payment-card-data-heading {
        display: grid;
        gap: 8px;
    }

    .lp-payment-msi-panel__heading small,
    .lp-payment-card-data-heading p {
        max-width: none;
        text-align: left;
    }

    .lp-payment-page--87a4 .lp-payment-layout__aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .lp-payment-context-strip {
        gap: 8px;
    }

    .lp-payment-context-strip__item {
        padding: 10px 11px;
    }

    .lp-payment-mode-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-payment-msi-options {
        grid-template-columns: 1fr 1fr;
    }

    .lp-payment-choice-card,
    .lp-payment-msi-panel {
        border-radius: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-payment-choice-card,
    .lp-payment-msi-option {
        transition: none;
    }
}

/* 8.7A.10.9.1 · Seguimiento público de cancelación; misma paleta oficial. */
.lp-cancellation-progress { margin-block: 1.15rem; }
.lp-cancellation-progress__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; margin: 0; }
.lp-cancellation-progress__item { min-width: 0; padding: 1rem; border: 1px solid #abd2fa; border-radius: .9rem; background: #fff; }
.lp-cancellation-progress__item dt { color: #22396f; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.lp-cancellation-progress__item dd { margin: 0; font-weight: 700; color: #010736; overflow-wrap: anywhere; }
.lp-cancellation-progress__item p { color: #22396f; margin: .6rem 0 0; font-size: .92rem; line-height: 1.6; }
.lp-cancellation-progress__item--full { background: #fcf1d0; border-color: #abd2fa; }
.lp-cancellation-progress__note { color: #22396f; font-size: .85rem; line-height: 1.65; margin: 1rem 0 0; }
@media (min-width: 700px) {
    .lp-cancellation-progress__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-cancellation-progress__item--full { grid-column: 1 / -1; }
}

/* Fase 8.7A.10.9.4A · carga de evidencia local no enviada */
.lp-evidence-local-preview { margin: 12px 0; padding: 10px; border: 1px dashed #22396F; border-radius: 12px; }
.lp-evidence-local-preview img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 9px; }
.lp-evidence-local-preview .badge { display: inline-flex; margin: 8px 0; }
.lp-evidence-remove { display: block; border: 1px solid #22396F; border-radius: 8px; padding: 8px 12px; background: #FCF1D0; color: #010736; cursor: pointer; }
.lp-evidence-remove:focus-visible { outline: 3px solid #22396F; outline-offset: 3px; }
.lp-evidence-upload-status { color: #22396F; font-weight: 600; }


/* LLP 8.7A.10.9.4B — detalles secundarios, CTA y ayuda contextual ---------------- */
.lp-membership-disclosure {
    min-width: 0;
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 26px rgba(1, 7, 54, .045);
}
.lp-membership-disclosure__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 20px 23px;
    color: #010736;
    list-style: none;
    min-height: 72px;
}
.lp-membership-disclosure__summary::-webkit-details-marker { display: none; }
.lp-membership-disclosure__summary > span { display: grid; gap: 5px; min-width: 0; }
.lp-membership-disclosure__summary strong { font-size: 1rem; font-weight: 850; }
.lp-membership-disclosure__summary small { color: #22396f; line-height: 1.45; }
.lp-membership-disclosure__summary::after {
    content: '';
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-right: 2px solid #22396f;
    border-bottom: 2px solid #22396f;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.lp-membership-disclosure[open] > .lp-membership-disclosure__summary::after { transform: rotate(225deg); }
.lp-membership-disclosure > .lp-membership-card {
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(34, 57, 111, .12);
    border-radius: 0;
    box-shadow: none;
}
.lp-membership-disclosure__summary:hover { background: rgba(171, 210, 250, .10); }
.lp-membership-disclosure__summary:focus-visible {
    outline: 3px solid #22396f;
    outline-offset: -4px;
    border-radius: 16px;
}
.lp-payment-evidence-cta--pending.lp-button {
    background: #752849;
    border-color: #752849;
    color: #fff;
    box-shadow: 0 8px 22px rgba(117, 40, 73, .19);
    animation: lp-evidence-cta-glow 4s ease-in-out infinite;
}
.lp-payment-evidence-cta--pending.lp-button:hover,
.lp-payment-evidence-cta--pending.lp-button:focus-visible { background: #61203b; color: #fff; }
@keyframes lp-evidence-cta-glow {
    0%, 100% { box-shadow: 0 8px 22px rgba(117, 40, 73, .15); }
    50% { box-shadow: 0 9px 24px rgba(117, 40, 73, .30); transform: translateY(-1px); }
}
.lp-payment-card-networks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    color: #22396f;
    font-size: .72rem;
}
.lp-payment-card-networks > span:first-child { font-weight: 700; }
.lp-payment-card-network {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    background: #fff;
    border: 1px solid rgba(34, 57, 111, .18);
    border-radius: 7px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -.01em;
    color: #22396f;
}
.lp-payment-card-network--mastercard { font-style: normal; font-size: .68rem; }
.lp-payment-card-networks small { flex-basis: 100%; color: #53627d; line-height: 1.4; }
.lp-customer-help-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(34, 57, 111, .20);
    border-radius: 12px;
    background: #fcf1d0;
    color: #010736;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}
/* Los enlaces de Mis protecciones son texto + icono, sin pastilla crema.
   Los de llantas conservan su clase lp-customer-help-link y su estilo propio. */
.lp-protection-card__support:focus-visible {
    outline: 3px solid #22396f;
    outline-offset: 3px;
    border-radius: 5px;
}
.lp-protection-card__support svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}
.lp-customer-help-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.lp-customer-help-link:hover { background: #fff4d9; color: #010736; }
.lp-customer-help-link:focus-visible { outline: 3px solid #22396f; outline-offset: 2px; }
@media (max-width: 640px) {
    .lp-membership-disclosure__summary { padding: 17px; }
    .lp-membership-disclosure > .lp-membership-card { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-payment-evidence-cta--pending.lp-button { animation: none; }
    .lp-membership-disclosure__summary::after { transition: none; }
}

/* 8.7A.10.9.4B FIX3 · Ayuda discreta en cada llanta, sin pastilla crema. */
.lp-tire-card__actions .lp-tire-report-link,
.lp-tire-card__actions .lp-tire-report-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 3px;
    background: transparent;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    color: #22396f;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}
.lp-tire-card__actions .lp-tire-report-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.lp-tire-card__actions .lp-tire-report-link:hover { color: #010736; text-decoration: underline; background: transparent; }
.lp-tire-card__actions .lp-tire-report-link:focus-visible { outline: 3px solid #22396f; outline-offset: 2px; }
@media (max-width: 640px) {
    .lp-tire-card__actions .lp-tire-report-link { align-self: flex-start; }
}

/* QA16 FIX1A · Formulario de reclamación: icono, ayudas y contador accesible. */
.claim-header__visual {
    display: grid;
    place-items: center;
    flex: 0 0 124px;
    width: 124px;
    min-height: 124px;
    border-radius: 23px;
    border: 1px solid rgba(171, 210, 250, .25);
    background: rgba(171, 210, 250, .095);
    color: #abd2fa;
}
.claim-header__visual svg { max-width: 70%; height: auto; }
.claim-shell .claim-location-hint {
    display: block;
    margin-top: 7px;
    font-size: .78rem;
    line-height: 1.5;
    color: #51627e;
}
.claim-description-counter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 12px;
    margin-top: 7px;
    color: #4c5e7d;
    font-size: .78rem;
    font-weight: 650;
}
.claim-description-counter.is-short { color: #8a571d; }
.claim-description-counter strong { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
    .claim-header__visual {
        min-height: 68px;
        width: 68px;
        border-radius: 17px;
        justify-self: end;
    }
    .claim-header__visual svg { width: 43px; }
}

/* QA16 FIX1B — Estados de carga de evidencias en reclamaciones.
   Verde = archivo temporal listo para enviar; NO equivale a aprobación. */
.claim-shell .lp-claim-tire-evidence-heading,
.claim-shell .lp-claim-evidence-type-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.claim-shell .lp-claim-tire-evidence-heading h3 {
    margin: 0;
    color: #010736;
    font-size: 1rem;
}
.claim-shell .lp-claim-evidence-count {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(34, 57, 111, .16);
    background: rgba(171, 210, 250, .20);
    color: #010736;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}
.claim-shell .lp-claim-evidence-hint {
    margin: 9px 0 15px;
    color: #22396F;
    font-size: .78rem;
    line-height: 1.5;
}
.claim-shell .lp-claim-upload-card--ready {
    border-color: rgba(33, 128, 92, .45);
    background: #f3fbf7;
}
.claim-shell .lp-claim-upload-ready-label,
.claim-shell .lp-claim-upload-state {
    color: #165e42;
    font-weight: 700;
}
.claim-shell .lp-claim-upload-ready-label {
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(33, 128, 92, .23);
    background: #e6f5ed;
    font-size: .66rem;
    white-space: nowrap;
}
.claim-shell .lp-claim-upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 92px), 1fr));
    gap: 7px;
}
.claim-shell .lp-claim-upload-previews img {
    display: block;
    width: 100%;
    height: 142px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(33, 128, 92, .26);
    background: #fff;
}
.claim-shell .lp-claim-upload-state,
.claim-shell .lp-claim-upload-progress {
    margin: 0;
    font-size: .74rem;
    line-height: 1.5;
}
.claim-shell .lp-claim-upload-progress {
    color: #22396F;
    font-weight: 700;
}
@media (max-width: 480px) {
    .claim-shell .lp-claim-upload-previews img { height: 124px; }
    .claim-shell .lp-claim-evidence-count { white-space: normal; }
}


/* QA22 FIX1 — Identificación local de institución bancaria por CLABE. */
.payout-shell .lp-payout-bank-feedback {
    font-size: .76rem;
    line-height: 1.5;
    color: var(--lp-text-muted);
    overflow-wrap: anywhere;
}
.payout-shell .lp-payout-bank-feedback--ok { color: #17643c; }
.payout-shell .lp-payout-bank-feedback--error { color: #9b1c25; }
.payout-shell .lp-payout-bank-feedback--warn { color: #805000; }
.payout-shell input[readonly] {
    background: rgba(171, 210, 250, .12);
    cursor: default;
}


/* QA23 FIX1A — Resumen bancario protegido y edición explícita. */
.payout-shell .lp-payout-saved-account__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.payout-shell .lp-payout-saved-account__details > div {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid rgba(34, 57, 111, .14);
    background: rgba(171, 210, 250, .09);
}
.payout-shell .lp-payout-saved-account__details span {
    font-size: .76rem;
    font-weight: 800;
    color: #22396F;
}
.payout-shell .lp-payout-saved-account__details strong {
    font-weight: 800;
    font-size: .93rem;
    overflow-wrap: anywhere;
}
.payout-shell button.lp-payout-secondary-action {
    border: 1px solid rgba(34, 57, 111, .28);
    border-radius: 14px;
    padding: 12px 18px;
    min-height: 46px;
    color: #22396F;
    background: #fff;
    font-weight: 850;
    cursor: pointer;
}
.payout-shell button.lp-payout-secondary-action:hover {
    background: rgba(171, 210, 250, .16);
}
.payout-shell button[disabled] {
    opacity: .65;
    cursor: wait;
}
@media (max-width: 640px) {
    .payout-shell .lp-payout-saved-account__details {
        grid-template-columns: minmax(0, 1fr);
    }
    .payout-shell .actions {
        flex-wrap: wrap;
    }
    .payout-shell .actions button {
        width: 100%;
    }
}


/* QA30-C FIX1A — La tarjeta informativa del hero se vuelve aviso navegable,
   sin añadir otro banner. No cambia el estado de la membresía. */
.lp-dashboard-hero__visual--linked,
a.lp-dashboard-hero__visual--linked:visited {
    color: var(--lp-white);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.lp-dashboard-hero__visual--linked:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(252, 241, 208, .6);
}

.lp-dashboard-hero__visual--linked:focus-visible {
    outline: 3px solid #FCF1D0;
    outline-offset: 4px;
}

.lp-dashboard-hero__visual--attention {
    border-color: rgba(252, 241, 208, .56);
    background: linear-gradient(150deg, rgba(252, 241, 208, .14), rgba(171, 210, 250, .065));
}

.lp-dashboard-hero__visual--attention .lp-dashboard-hero__shield {
    width: 88px;
    height: 88px;
    margin-bottom: 12px;
    border-radius: 26px;
    color: #FCF1D0;
    background: rgba(252, 241, 208, .11);
}

.lp-dashboard-hero__visual--review .lp-dashboard-hero__shield {
    width: 88px;
    height: 88px;
    margin-bottom: 12px;
    border-radius: 26px;
}

.lp-dashboard-hero__visual--linked > span.lp-dashboard-hero__visual-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #FFFFFF;
    font-weight: 800;
    font-size: .79rem;
}

.lp-protection-card__tire-alerts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 2px 0 14px;
}

.lp-protection-card__tire-alert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    border: 1px solid rgba(34, 57, 111, .16);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .75rem;
    line-height: 1.35;
    font-weight: 800;
}

.lp-protection-card__tire-alert--attention {
    border-color: #e5ce94;
    background: #FCF1D0;
    color: #533e11;
}

.lp-protection-card__tire-alert--review {
    background: rgba(171, 210, 250, .25);
    color: #22396F;
}

.lp-protection-card__tire-link,
a.lp-protection-card__tire-link:visited {
    color: #22396F;
    font-weight: 820;
    font-size: .78rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-protection-card__tire-link:hover {
    color: #010736;
}

@media (max-width: 900px) {
    /* La tarjeta normal continúa oculta en móvil; un aviso real no se oculta. */
    .lp-dashboard-hero__visual--linked {
        display: grid;
        min-height: 190px;
        margin-top: 4px;
        padding: 18px;
    }

    .lp-dashboard-hero__visual--linked .lp-dashboard-hero__shield {
        width: 68px;
        height: 68px;
        margin-bottom: 8px;
        border-radius: 20px;
    }

    .lp-dashboard-hero__visual--linked .lp-dashboard-hero__shield svg {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-dashboard-hero__visual--linked {
        transition: none;
    }

    .lp-dashboard-hero__visual--linked:hover {
        transform: none;
    }
}

/* QA30-C FIX1B: consulta compacta del pago dentro del detalle de reclamación. */
.claim-shell .lp-claim-payment {
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(34, 57, 111, .15);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--lp-shadow-sm);
    min-width: 0;
}
.lp-claim-payment__heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.lp-claim-payment__eyebrow {
    color: #22396f;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.lp-claim-payment__heading h2 {
    margin: 5px 0 0;
    color: #010736;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    letter-spacing: -.025em;
}
.lp-claim-payment__heading p {
    max-width: 540px;
    margin: 7px 0 0;
    color: var(--lp-text-muted);
    line-height: 1.6;
    font-size: .88rem;
}
.lp-claim-payment__status {
    flex-shrink: 0;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 850;
}
.lp-claim-payment__status.is-paid { background: #eaf5ee; color: #236b43; }
.lp-claim-payment__status.is-pending { background: #fff5e2; color: #825a12; }
.lp-claim-payment__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.lp-claim-payment__facts > div {
    padding: 13px 14px;
    min-width: 0;
    border-radius: 13px;
    border: 1px solid rgba(34, 57, 111, .09);
    background: #f5f8ff;
}
.lp-claim-payment__facts span {
    display: block;
    color: #445b81;
    font-size: .71rem;
    font-weight: 750;
}
.lp-claim-payment__facts strong {
    display: block;
    margin-top: 4px;
    font-size: .91rem;
    font-weight: 800;
    color: #010736;
    overflow-wrap: anywhere;
}
.lp-claim-payment__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 19px;
}
.lp-claim-payment__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #010736;
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.lp-claim-payment__link:hover,
.lp-claim-payment__link:focus-visible { background: #22396f; color: #fff; }
.lp-claim-payment__link:focus-visible { outline: 3px solid #abd2fa; outline-offset: 3px; }
.lp-claim-payment__link--subtle { background: #edf3fc; color: #010736; }
.lp-claim-payment__link--subtle:hover,
.lp-claim-payment__link--subtle:focus-visible { background: #d9e9fd; color: #010736; }
.lp-claim-payment__note {
    margin: 18px 0 0;
    font-size: .86rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
}
@media (max-width: 760px) {
    .lp-claim-payment__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .lp-claim-payment__facts { grid-template-columns: minmax(0, 1fr); }
    .lp-claim-payment__actions { flex-direction: column; }
    .lp-claim-payment__link { width: 100%; }
}

/* ============================================================
   SERIE D.1.1 · GUÍA Y VISIBILIDAD DE CONTRASEÑA EN REGISTRO
   Solo presentación: las reglas de seguridad se aplican en PHP.
   ============================================================ */
.lp-field__control > .lp-auth-password-input {
    padding-inline-end: 54px;
}

.lp-auth-password-toggle {
    position: absolute;
    top: 7px;
    inset-inline-end: 7px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #22396F;
    cursor: pointer;
    transition: background-color var(--lp-transition), border-color var(--lp-transition);
}

.lp-auth-password-toggle svg {
    width: 19px;
    height: 19px;
}

.lp-auth-password-toggle:hover {
    background: rgba(171, 210, 250, .26);
    border-color: rgba(34, 57, 111, .16);
}

.lp-auth-password-toggle:focus-visible {
    outline: 2px solid #22396F;
    outline-offset: 2px;
}

.lp-auth-password-guide {
    display: grid;
    gap: 4px;
    padding: 10px 1px 0;
    color: #647493;
    font-size: .72rem;
    line-height: 1.5;
}

.lp-auth-password-guide__status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    color: #536486;
}

.lp-auth-password-guide__status.is-valid {
    color: #17684D;
}

@media (prefers-reduced-motion: reduce) {
    .lp-auth-password-toggle { transition: none; }
}

.lp-auth-password-toggle [x-cloak] {
    display: none !important;
}


/* ============================================================
   SERIE D.1.2 · REGISTRO: AMBOS CAMPOS DE CLAVE AL MISMO NIVEL
   La guía queda en una fila común, sin desplazar Confirmar clave.
   ============================================================ */
.lp-auth-password-grid {
    align-items: start;
    row-gap: 10px;
}
.lp-auth-password-grid > .lp-auth-password-guide {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 0;
}


/* Serie D.4.1 — una membresía por tarjeta, dos modalidades visibles y un único CTA. */
.lp-checkout-plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.lp-checkout-plan {
    gap: 16px;
}

.lp-checkout-plan__choice {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding: 17px 18px 18px;
    border: 1px solid rgba(34, 57, 111, .14);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(171, 210, 250, .09), #fff 58%);
}

.lp-checkout-plan__choice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lp-checkout-plan__choice-heading strong {
    color: #010736;
    font-size: .97rem;
}

.lp-checkout-plan__choice-heading p {
    margin: 4px 0 0;
    color: #52658E;
    font-size: .79rem;
    line-height: 1.5;
}

.lp-checkout-plan__duration {
    flex-shrink: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(171, 210, 250, .27);
    color: #22396F;
    font-size: .7rem;
    font-weight: 850;
}

/* Paso 2 · modalidades: dos tarjetas blancas y minimalistas. Ninguna lleva fondo
   de color; la seleccionada solo cambia su borde a azul. */
.lp-checkout-plan__choice .lp-checkout-plan__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.lp-checkout-plan__choice .lp-checkout-price-option {
    position: relative;
    align-content: start;
    gap: 12px;
    min-width: 0;
    padding: 18px 18px 6px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-checkout-plan__choice .lp-checkout-price-option:hover {
    border-color: rgba(34, 57, 111, .30);
}

.lp-checkout-plan__choice .lp-checkout-price-option.is-selected {
    border-color: #2E5AAC;
    background: #fff;
    box-shadow: 0 0 0 1px #2E5AAC, 0 8px 22px rgba(46, 90, 172, .10);
}

.lp-checkout-plan__choice .lp-checkout-price-option__select-copy {
    flex: 1 1 auto;
}

.lp-checkout-price-option__label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    min-height: 26px;
}

.lp-checkout-price-option__savings-badge {
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(46, 90, 172, .18);
    border-radius: 999px;
    background: #E7F0FD;
    color: #1F4E9C;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.lp-checkout-plan__choice .lp-checkout-price-option__price {
    margin-top: 6px;
    color: #010736;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.lp-checkout-plan__choice .lp-checkout-price-option__price small {
    color: #52658E;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: normal;
}

.lp-checkout-price-option__price-note,
.lp-checkout-price-option__total-note {
    color: #52658E;
    font-size: .75rem;
    line-height: 1.45;
}

.lp-checkout-plan__choice .lp-checkout-price-option__total {
    margin-top: 10px;
    color: #22396F;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: normal;
}

.lp-checkout-plan__choice .lp-checkout-price-option__meta {
    margin: 0;
    color: #52658E;
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.5;
}

.lp-checkout-price-option__meta-extra {
    display: block;
    margin-top: 3px;
    font-weight: 560;
}

.lp-checkout-plan__choice .lp-checkout-price-details {
    border-bottom: 0;
}

.lp-checkout-price-option__select {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    min-width: 0;
}

.lp-checkout-price-option__select input[type="radio"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 3px 0 0;
    accent-color: #22396F;
    cursor: pointer;
}

.lp-checkout-price-option__select-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lp-checkout-price-option__label {
    color: #22396F;
    font-size: .83rem;
    font-weight: 900;
}

.lp-checkout-price-option__select-copy > strong {
    color: #010736;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.lp-checkout-price-option__select-copy > strong small {
    color: #52658E;
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: normal;
}

.lp-checkout-price-option__hint {
    color: #52658E;
    font-size: .74rem;
    line-height: 1.48;
}

/* Ambas modalidades van siempre lado a lado (escritorio, tableta y móvil) y comparten
   filas (subgrid) para que importes, nota de membresía y «Ver cómo funciona» queden a
   la misma altura, abierto o cerrado. */
@supports (grid-template-rows: subgrid) {
    .lp-checkout-plan__choice .lp-checkout-price-option {
        grid-row: span 3;
        grid-template-rows: subgrid;
    }
    .lp-checkout-plan__choice .lp-checkout-price-details {
        grid-row: -2 / -1;
        align-self: start;
    }
}

.lp-checkout-plan__choice-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
    align-items: center;
    gap: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(34, 57, 111, .13);
}

.lp-checkout-plan__choice-help {
    margin: 0;
    color: #52658E;
    font-size: .78rem;
    line-height: 1.5;
}

.lp-checkout-plan__choice-footer .lp-button:disabled {
    opacity: .62;
    cursor: not-allowed;
    transform: none;
}

.lp-checkout-price-option__select:focus-within {
    outline: 2px solid #22396F;
    outline-offset: 3px;
    border-radius: 6px;
}

@media (max-width: 760px) {
    .lp-checkout-plan__choice .lp-checkout-plan__options {
        gap: 10px;
    }
    .lp-checkout-plan__choice-footer {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Teléfonos (≤560 px): una sola modalidad visible a todo el ancho, elegida con la
   pastilla «Mensual / Anual». La pastilla usa el mismo billingMode que los radios.
   Solo cambia el acomodo del bloque; el contenido de cada tarjeta es el de escritorio.
   De 561 px en adelante no aplica nada de este bloque: rigen las dos tarjetas. */
.lp-checkout-plan__mode-switch {
    display: none;
}

@media (max-width: 560px) {
    .lp-checkout-plan__choice {
        gap: 14px;
        padding: 16px 10px;
    }
    .lp-checkout-plan__choice-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 0 4px;
    }
    .lp-checkout-plan__mode-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        padding: 4px;
        border: 1px solid rgba(34, 57, 111, .14);
        border-radius: 999px;
        background: #EEF3FB;
    }
    .lp-checkout-plan__mode-switch-option {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0 4px;
        min-width: 0;
        min-height: 46px;
        padding: 7px 6px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #52658E;
        font: inherit;
        font-size: .9rem;
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
        transition: background-color var(--lp-transition), color var(--lp-transition), box-shadow var(--lp-transition);
    }
    .lp-checkout-plan__mode-switch-option.is-shown {
        background: #fff;
        color: #010736;
        box-shadow: 0 1px 3px rgba(1, 7, 54, .12), 0 0 0 1px rgba(34, 57, 111, .10);
    }
    .lp-checkout-plan__mode-switch-option.is-selected {
        color: #22396F;
        box-shadow: 0 0 0 2px #2E5AAC, 0 3px 10px rgba(46, 90, 172, .16);
    }
    .lp-checkout-plan__mode-switch-option:focus-visible {
        outline: 3px solid #22396F;
        outline-offset: 2px;
    }
    .lp-checkout-plan__mode-switch-saving {
        color: #2E5AAC;
        font-weight: 850;
        white-space: nowrap;
    }
    .lp-checkout-plan__choice .lp-checkout-plan__options {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .lp-checkout-plan__options[data-lp-shown-mode="mensual"] .lp-checkout-price-option--annual,
    .lp-checkout-plan__options[data-lp-shown-mode="anual"] .lp-checkout-price-option--monthly {
        display: none;
    }
    .lp-checkout-plan__choice .lp-checkout-price-option {
        gap: 12px;
        padding: 18px 14px 4px;
        border-radius: 14px;
    }
    /* El contenido de la tarjeta visible conserva los mismos estilos, orden e importes
       que en escritorio (equivalente mensual dominante y total anual debajo); aquí solo
       se evita que una palabra larga desborde el ancho del teléfono. */
    .lp-checkout-plan__choice .lp-checkout-price-option__select-copy,
    .lp-checkout-plan__choice .lp-checkout-price-details > div {
        overflow-wrap: break-word;
    }
}

/* Teléfonos de hasta 480 px: el ahorro de la pastilla baja a su propia línea. */
@media (max-width: 480px) {
    .lp-checkout-plan__mode-switch-option {
        font-size: .86rem;
    }
    .lp-checkout-plan__mode-switch-saving {
        flex-basis: 100%;
        font-size: .74rem;
    }
    .lp-checkout-plan__mode-switch-dot {
        display: none;
    }
}

@media (max-width: 340px) {
    .lp-checkout-plan__mode-switch-option {
        padding-inline: 4px;
    }
    .lp-checkout-plan__mode-switch-saving {
        font-size: .68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-plan__mode-switch-option {
        transition: none;
    }
}

@media (forced-colors: active) {
    .lp-checkout-plan__mode-switch-option.is-shown {
        border: 1px solid CanvasText;
    }
    .lp-checkout-plan__mode-switch-option.is-selected {
        border: 2px solid Highlight;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-plan__choice .lp-checkout-price-option {
        transition: none;
    }
}

.lp-checkout-plan__choice [x-cloak] {
    display: none !important;
}

.lp-checkout-price-option__annual-mode {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34, 57, 111, .08);
    color: #22396F;
    font-size: .75rem;
    font-weight: 850;
}


/* SERIE D.4.1 FIX2 — comparación anual destacada, sin cambiar las dos modalidades ni su selección. */
.lp-checkout-plan__sales-copy--verified {
    background: rgba(252, 241, 208, .60);
    color: #403B2F;
}

.lp-checkout-plan__sales-copy--verified p {
    font-weight: 560;
    line-height: 1.6;
}

.lp-checkout-plan__sales-copy--verified p strong {
    color: #22396F;
    font-weight: 850;
}

/* Las modalidades mensual y anual comparten estilo (tarjeta blanca); el anual ya no
   lleva fondo azul ni recuadro de ahorro: solo el distintivo «Ahorras X%». */
@media (forced-colors: active) {
    .lp-checkout-plan__choice .lp-checkout-price-option,
    .lp-checkout-price-option__savings-badge {
        border: 1px solid CanvasText;
    }
    .lp-checkout-plan__choice .lp-checkout-price-option.is-selected {
        border: 2px solid Highlight;
    }
}

/* D.5.1 — Acceso accesible al catálogo público imprimible. */
.lp-checkout-catalog-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.65rem;
    margin-top: .8rem;
    padding: .55rem .85rem;
    border: 1px solid #a8bde0;
    border-radius: .75rem;
    background: #fff;
    color: #22396f;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.lp-checkout-catalog-pdf-link svg { width: 1.15rem; height: 1.15rem; flex: none; }
.lp-checkout-catalog-pdf-link:hover { background: #eff6ff; border-color: #22396f; }
.lp-checkout-catalog-pdf-link:focus-visible { outline: 3px solid #22396f; outline-offset: 3px; }

/* ====================================================================
   Serie D.7.1 — Mi perfil. No altera la pantalla existente de Seguridad.
   ==================================================================== */
.lp-profile-page { padding: clamp(24px, 4vw, 48px) 18px calc(100px + env(safe-area-inset-bottom)); }
.lp-profile-page__container { width: min(1160px, 100%); margin-inline: auto; }
.lp-profile-hero {
    display: flex; align-items: center; gap: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(171,210,250,.25); border-radius: 30px;
    background: radial-gradient(circle at 92% 10%, rgba(171,210,250,.22), transparent 35%),
                linear-gradient(130deg, #010736, #13265b 60%, #22396f);
    color: #fff; padding: clamp(24px, 4vw, 42px); box-shadow: 0 22px 56px rgba(1,7,54,.16);
}
.lp-profile-hero__avatar {
    display: grid; place-items: center; flex: 0 0 auto;
    width: clamp(72px, 10vw, 104px); height: clamp(72px, 10vw, 104px);
    border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
    background: #22396f; color: #fff; font-size: clamp(24px, 4vw, 35px);
    font-weight: 800; letter-spacing: -.04em; box-shadow: 0 12px 22px rgba(1,7,54,.22);
}
.lp-profile-hero__info { min-width: 0; }
.lp-profile-hero__eyebrow, .lp-profile-card__eyebrow {
    display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 850;
}
.lp-profile-hero__eyebrow { color: #abd2fa; }
.lp-profile-hero h1 { margin: 6px 0 8px; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.12; color: #fff; }
.lp-profile-hero p { margin: 0; color: rgba(255,255,255,.84); line-height: 1.65; }
.lp-profile-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-profile-hero__badge {
    display: inline-flex; align-items: center; font-size: 12px; line-height: 1.5;
    border: 1px solid rgba(255,255,255,.20); border-radius: 50px;
    background: rgba(255,255,255,.09); color: #fff; padding: 5px 12px;
}
.lp-profile-notice { margin-top: 18px; }
.lp-profile-layout { display: grid; grid-template-columns: minmax(0,1.72fr) minmax(270px,1fr); gap: 20px; margin-top: 20px; align-items: start; }
.lp-profile-card { min-width: 0; border: 1px solid rgba(34,57,111,.17); border-radius: 24px; background: #fff; padding: clamp(22px, 3.1vw, 32px); box-shadow: 0 12px 36px rgba(1,7,54,.065); }
.lp-profile-card__eyebrow { color: #365a9b; }
.lp-profile-card h2 { font-size: clamp(19px, 2.5vw, 24px); color: #010736; line-height: 1.3; margin: 7px 0 10px; }
.lp-profile-card h3 { font-size: 16px; color: #010736; line-height: 1.25; margin: 7px 0 8px; }
.lp-profile-card__head > p, .lp-profile-card__subhead > p, .lp-profile-muted, .lp-profile-map__copy p {
    margin: 0; color: #64749a; font-size: 13px; line-height: 1.62;
}
.lp-profile-card__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}
.lp-profile-card__heading--compact { align-items: center; }
.lp-profile-card__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--lp-teal);
    background: rgba(171,210,250,.34);
}
.lp-profile-card__icon svg { width: 22px; height: 22px; }
.lp-profile-card__icon--location { color: #8c5b11; background: rgba(252,241,208,.92); }
.lp-profile-card__icon--security { color: var(--lp-success); background: rgba(236,253,245,.92); }
.lp-profile-card__icon--account { color: var(--lp-info); background: rgba(239,246,255,.95); }
.lp-profile-card__icon--billing { color: #8c5b11; background: rgba(252,241,208,.92); }
.lp-profile-card__icon--contact { color: var(--lp-teal); background: rgba(171,210,250,.3); }
.lp-profile-form { margin-top: 25px; display: grid; gap: 16px; }
.lp-profile-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-profile-form__subnote { margin: -10px 0 3px; font-size: 12px; color: #64749a; }
.lp-profile-form .lp-field__control > :is(input,select) {
    min-height: 48px; border-radius: 14px; border: 1px solid rgba(34,57,111,.24); background: rgba(248,250,255,.96);
    box-shadow: none;
}
.lp-profile-form .lp-field__control > :is(input,select):focus-visible {
    border-color: #22396f; box-shadow: 0 0 0 4px rgba(171,210,250,.24);
}
.lp-profile-form .lp-field__control > input.lp-profile-readonly { background: #f1f5fc; color: #455477; cursor: default; }
.lp-profile-map {
    margin-top: 6px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(34,57,111,.14);
    background: linear-gradient(180deg, rgba(246,249,255,.98) 0%, rgba(255,255,255,.98) 100%);
}
.lp-profile-map__copy { min-width: 0; }
.lp-profile-map__frame {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(34,57,111,.14);
    background: #edf3ff;
}
.lp-profile-map__frame iframe { display: block; border: 0; }
.lp-profile-card__subhead { border-top: 1px solid rgba(34,57,111,.15); margin-top: 4px; padding-top: 24px; }
.lp-profile-text-link { display: inline-flex; align-items: center; gap: 7px; color: #22396f; font-weight: 750; font-size: 13px; }
.lp-profile-text-link:focus-visible, .lp-profile-aside__link:focus-visible { outline: 3px solid #abd2fa; outline-offset: 4px; }
.lp-profile-actions { display: flex; justify-content: flex-end; padding-top: 12px; }
.lp-profile-aside { display: grid; gap: 16px; }
.lp-profile-aside__card { padding: 23px; }
.lp-profile-fact { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(34,57,111,.12); }
.lp-profile-fact span { font-size: 13px; color: #64749a; }
.lp-profile-fact strong { font-size: 13px; color: #010736; }
.lp-profile-fact + .lp-profile-muted { margin: 10px 0; }
.lp-profile-aside__link {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: #22396f; font-weight: 750; font-size: 13px;
}
@media (max-width: 1023px) {
    .lp-profile-layout { grid-template-columns: minmax(0,1fr); }
    .lp-profile-aside { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .lp-profile-hero { align-items: flex-start; border-radius: 23px; padding: 22px; }
    .lp-profile-hero__avatar { width: 60px; height: 60px; font-size: 22px; }
    .lp-profile-hero h1 { font-size: 29px; }
    .lp-profile-hero p { font-size: 13px; }
    .lp-profile-card { border-radius: 18px; }
    .lp-profile-form__grid, .lp-profile-aside { grid-template-columns: minmax(0,1fr); }
    .lp-profile-card__heading { gap: 12px; }
    .lp-profile-card__icon { width: 40px; height: 40px; border-radius: 13px; }
    .lp-profile-card__icon svg { width: 20px; height: 20px; }
    .lp-profile-map { padding: 14px; }
    .lp-profile-actions .lp-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-profile-page *, .lp-profile-page *::before, .lp-profile-page *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; }
}

/* D.8.5.2B.3B.2B.2B FIX3 · Verificación de identidad: UX en perfil.
 * No usar .lp-checkout-inline-note aquí: su cuadrícula reserva una columna
 * de 42px para iconos y comprime todos los controles del formulario. */
.lp-profile-identity-hint {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -2px 0 2px;
    color: #50658b;
    font-size: .79rem;
    line-height: 1.6;
}
.lp-profile-identity-hint svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    color: #22396f;
}
.lp-profile-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    min-width: 0;
    padding: clamp(15px, 2.5vw, 20px);
    border: 1px solid rgba(34,57,111,.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(171,210,250,.16), rgba(252,241,208,.30));
}
.lp-profile-identity__heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}
.lp-profile-identity__heading > div { flex: 1; min-width: 0; }
.lp-profile-identity__heading h3 {
    margin: 0 0 5px;
    color: #010736;
    font-size: 1rem;
    line-height: 1.4;
}
.lp-profile-identity__heading p {
    margin: 0;
    color: #50658b;
    font-size: .82rem;
    line-height: 1.6;
}
.lp-profile-identity__icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #22396f;
    background: rgba(171,210,250,.42);
    border-radius: 12px;
}
.lp-profile-identity__icon svg { width: 20px; height: 20px; }
.lp-profile-identity .lp-field { min-width: 0; }
.lp-profile-identity__google {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: fit-content;
    color: #22396f;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lp-profile-identity__google:focus-visible { outline: 3px solid #abd2fa; outline-offset: 4px; }
.lp-profile-identity__foot {
    margin: 0;
    color: #64749a;
    font-size: .77rem;
    line-height: 1.55;
}
.lp-profile-identity__feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 11px;
    background: #eff8f2;
    border: 1px solid #a6d4b4;
    color: #16542d;
    font-size: .82rem;
    line-height: 1.55;
}
.lp-profile-identity__feedback--error {
    background: #fff3f2;
    border-color: #e5a8a3;
    color: #842d2d;
}
@media (max-width: 767px) {
    .lp-profile-identity { padding: 15px; border-radius: 15px; }
    .lp-profile-identity__heading { gap: 9px; }
    .lp-profile-identity__icon { flex-basis: 34px; width: 34px; height: 34px; }
}

/* D.7.2.2 FIX1A · Primera contraseña: UX para cuentas con Google.
 * No altera los encabezados ni los degradados ya aprobados. */
.lp-security-password-setup {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(34,57,111,.15);
    border-radius: 18px;
    background: linear-gradient(150deg,rgba(171,210,250,.18),rgba(252,241,208,.16));
}
.lp-security-password-setup__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lp-security-password-setup__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(171,210,250,.38);
    color: #22396f;
}
.lp-security-password-setup__icon svg { width: 21px; height: 21px; }
.lp-security-password-setup__head strong {
    display: block;
    margin: 2px 0 4px;
    color: #010736;
    font-size: 14px;
}
.lp-security-password-setup__head p,
.lp-security-password-setup__hint {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: 12px;
    line-height: 1.6;
}
.lp-security-password-setup__logout .lp-button { width: 100%; justify-content: center; }
.lp-security-password-existing {
    margin-top: 14px;
    border: 1px solid rgba(34,57,111,.14);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.lp-security-password-existing > summary {
    cursor: pointer;
    list-style: none;
    padding: 15px 18px;
    color: #22396f;
    font-size: 13px;
    font-weight: 800;
}
.lp-security-password-existing > summary::-webkit-details-marker { display: none; }
.lp-security-password-existing > summary::after { content: ' +'; font-weight: 900; }
.lp-security-password-existing[open] > summary::after { content: ' −'; }
.lp-security-password-existing .lp-security-form { margin: 0; padding: 0 16px 18px; }
.lp-security-password-existing > summary:focus-visible { outline: 3px solid #abd2fa; outline-offset: -3px; }
@media (max-width: 700px) {
    .lp-security-password-setup { padding: 15px; }
    .lp-security-password-setup__head { align-items: flex-start; }
}

/* Serie D.8.2 — Privacidad y vista de consulta de cuenta (sin operaciones mutantes). */
.lp-security-privacy-entry {
    margin-top: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 26px;
    background: linear-gradient(128deg, #fff 0%, #f3f8ff 100%);
    box-shadow: 0 12px 36px rgba(1, 7, 54, .06);
}
.lp-security-privacy-entry__symbol {
    width: 64px; height: 64px; flex: 0 0 64px;
    display: grid; place-items: center; border-radius: 19px;
    color: #22396f; background: #e7f2ff;
}
.lp-security-privacy-entry__symbol svg {width: 36px; height: 36px}
.lp-security-privacy-entry__text {min-width: 230px; flex: 1 1 330px}
.lp-security-privacy-entry__text .lp-security-card__eyebrow {color: #22396f}
.lp-security-privacy-entry__text h2 {color: #010736; font-size: clamp(21px, 2.6vw, 26px); margin: 4px 0 8px}
.lp-security-privacy-entry__text p {color: #425277; margin: 0; line-height: 1.6}
.lp-security-privacy-entry__action,
.lp-privacy-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; padding: 11px 19px;
    background: #010736; color: white !important; border: 1px solid #010736;
    border-radius: 13px; font-size: 14px; font-weight: 800; text-align: center;
    text-decoration: none; transition: background .15s ease, transform .15s ease;
}
.lp-security-privacy-entry__action:hover,
.lp-privacy-action:hover {background: #22396f; transform: translateY(-1px)}
.lp-security-privacy-entry__action:focus-visible,
.lp-privacy-action:focus-visible,
.lp-privacy-link:focus-visible {outline: 3px solid #6e9ee6; outline-offset: 3px}
.lp-privacy-page {padding: clamp(24px, 4vw, 48px) 18px calc(96px + env(safe-area-inset-bottom))}
.lp-privacy-container {width: min(1160px,100%); margin: 0 auto}
.lp-privacy-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    padding: clamp(26px, 5vw, 52px); border-radius: 30px;
    border: 1px solid rgba(171,210,250,.25);
    background: radial-gradient(circle at 84% 10%,rgba(171,210,250,.2),transparent 36%),linear-gradient(130deg,#010736,#22396f);
    box-shadow: 0 24px 68px rgba(1,7,54,.17); color: #fff;
}
.lp-privacy-hero__body {min-width: 0; max-width: 760px}
.lp-privacy-eyebrow {display: block; color: #3768a4; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase}
.lp-privacy-hero .lp-privacy-eyebrow {color: #abd2fa}
.lp-privacy-hero h1 {color: #fff; margin: 8px 0 15px; font-size: clamp(31px, 4.5vw, 48px); line-height: 1.08}
.lp-privacy-hero p {margin: 0; line-height: 1.7; color: rgba(255,255,255,.85)}
.lp-privacy-hero__icon {flex: 0 0 112px; width:112px; height:112px; display:grid; place-items:center; border: 1px solid rgba(171,210,250,.25); border-radius: 26px; background: rgba(255,255,255,.08); color:#abd2fa}
.lp-privacy-hero__icon svg {width:70px; height:70px}
.lp-privacy-overview, .lp-privacy-panel {margin-top: 22px; padding: clamp(20px, 3vw, 30px); background:#fff; border: 1px solid rgba(34,57,111,.12); border-radius:24px; box-shadow: 0 15px 38px rgba(1,7,54,.05)}
.lp-privacy-section-heading {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-bottom:20px}
.lp-privacy-section-heading h2, .lp-privacy-panel h2 {color:#010736; font-size: clamp(21px, 2.5vw, 27px); margin:5px 0 0}
.lp-privacy-section-heading p, .lp-privacy-panel p {color:#425277; margin:8px 0 0; line-height:1.65}
.lp-privacy-hint {font-size:13px; color:#607092; line-height:1.55}
.lp-privacy-stats {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.lp-privacy-stats article {min-width:0; padding:18px; border:1px solid #e1e9f4; background:#f8fbff; border-radius:17px}
.lp-privacy-stats span,.lp-privacy-stats small {display:block; color:#536484}
.lp-privacy-stats span {font-size:13px; font-weight:750}
.lp-privacy-stats strong {display:block; margin:5px 0; color:#010736; font-size:31px; line-height:1.3}
.lp-privacy-stats small {font-size:12px; line-height:1.5}
.lp-privacy-overview__note {margin:15px 0 0}
.lp-privacy-membership-list {display:grid; gap:11px}
.lp-privacy-membership {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; padding:19px; border:1px solid #e3eaf3; background:#fafcff; border-radius:18px}
.lp-privacy-membership__main {flex:1 1 310px; min-width:0}
.lp-privacy-membership__code {color:#22396f; font-size:12px; font-weight:900; letter-spacing:.04em; overflow-wrap:anywhere}
.lp-privacy-membership h3 {color:#010736; margin:5px 0; font-size:19px}
.lp-privacy-membership p {color:#425277; margin:4px 0; font-size:14px; line-height:1.5}
.lp-privacy-membership__renewal {font-weight:700}
.lp-privacy-chip {display:inline-flex; margin:7px 7px 0 0; padding:5px 9px; border-radius: 20px; background:#e8f2ff; color:#22396f; font-size:12px; font-weight:750}
.lp-privacy-pagination {margin-top:20px}
.lp-privacy-link {color:#22396f; font-weight:800; text-decoration:underline; text-underline-offset:3px}
.lp-privacy-empty {background:#f5f9ff; border:1px dashed #b9cce4; padding:25px; border-radius:16px; color:#425277; line-height:1.6}
.lp-privacy-actions {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px}
.lp-privacy-actions .lp-privacy-panel {display:flex; flex-direction:column; align-items:flex-start; min-width:0}
.lp-privacy-actions .lp-privacy-panel > p:not(.lp-privacy-hint) {flex:1}
.lp-privacy-actions .lp-privacy-action {margin-top:20px}
.lp-privacy-actions .lp-privacy-hint {margin-top:15px}
.lp-privacy-action--secondary {background:#eaf3ff; color:#010736 !important; border-color:#c6d7ee}
.lp-privacy-action--secondary:hover {background:#d8e9ff}
.lp-privacy-disclaimer {color:#536484; line-height:1.65; font-size:13px; margin:22px 4px}
@media (max-width:850px) {
    .lp-privacy-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
    .lp-privacy-actions {grid-template-columns:1fr; gap:0}
}
@media (max-width:600px) {
    .lp-privacy-page {padding:20px 14px calc(112px + env(safe-area-inset-bottom))}
    .lp-privacy-hero {padding:28px 22px; border-radius:23px}
    .lp-privacy-hero__icon {display:none}
    .lp-privacy-stats {grid-template-columns:1fr 1fr; gap:9px}
    .lp-privacy-stats article {padding:14px}
    .lp-privacy-stats strong {font-size:26px}
    .lp-privacy-membership .lp-privacy-action,
    .lp-security-privacy-entry__action {width:100%}
    .lp-security-privacy-entry {gap:13px}
    .lp-security-privacy-entry__symbol {width:48px; height:48px; flex-basis:48px}
    .lp-security-privacy-entry__symbol svg {width:28px; height:28px}
}
@media (prefers-reduced-motion:reduce) {
    .lp-security-privacy-entry__action,.lp-privacy-action {transition:none}
    .lp-security-privacy-entry__action:hover,.lp-privacy-action:hover {transform:none}
}

/* D.8.3 · Diagnóstico independiente, no habilita cierre ni ejecuta acciones */
.lp-privacy-diagnosis__count {padding:9px 13px; border-radius:12px; background:#eaf3ff; color:#22396f; font-size:13px; font-weight:800}
.lp-privacy-diagnosis__list {display:grid; gap:10px}
.lp-privacy-diagnosis__item {border:1px solid #dce6f3; border-radius:15px; background:#f8fbff; overflow:hidden}
.lp-privacy-diagnosis__item summary {display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; cursor:pointer; color:#010736; list-style:none}
.lp-privacy-diagnosis__item summary::-webkit-details-marker {display:none}
.lp-privacy-diagnosis__item summary small {display:block; color:#536484; margin-top:3px; font-size:12px}
.lp-privacy-diagnosis__item summary:focus-visible {outline:3px solid #6e9ee6;outline-offset:-3px}
.lp-privacy-diagnosis__item[open] summary {border-bottom:1px solid #dce6f3}
.lp-privacy-diagnosis__item ul {list-style:none; margin:0; padding:15px 18px 0; display:grid; gap:12px}
.lp-privacy-diagnosis__item li {line-height:1.6; font-size:14px; color:#425277}
.lp-privacy-diagnosis__tag {display:inline-block; margin-right:6px; padding:2px 8px; background:#e3edf9; color:#22396f; font-size:12px; font-weight:800; border-radius:8px}
.lp-privacy-diagnosis__item > .lp-privacy-link {display:inline-block;margin:12px 18px 18px;font-size:13px}
.lp-privacy-diagnosis__footer {margin:16px 0 0}
@media(max-width:600px) {.lp-privacy-diagnosis__item summary {padding:14px}.lp-privacy-diagnosis__item ul {padding:14px 14px 0}}

/* D.8.4.1: recepción ARCO sin cancelación automática */
.lp-privacy-request-center > h3,.lp-privacy-contact-confirm h1 {font-size:clamp(19px,2.3vw,25px);color:#010736;margin:0 0 8px}
.lp-privacy-request-center > p,.lp-privacy-contact-confirm p {color:#425277;line-height:1.65;margin:0 0 14px}
.lp-privacy-request-form {display:grid;gap:10px;max-width:730px;margin-top:20px}
.lp-privacy-request-form > label {font-weight:800;font-size:14px;color:#22396f}
.lp-privacy-request-form select,.lp-privacy-request-form textarea {width:100%;border:1px solid #bacce6;border-radius:12px;padding:12px 14px;background:#f8fbff;color:#010736;font:inherit}
.lp-privacy-request-form select:focus-visible,.lp-privacy-request-form textarea:focus-visible,.lp-privacy-request-resend:focus-visible {outline:3px solid #6e9ee6;outline-offset:2px}
.lp-privacy-request-form .lp-privacy-action {justify-self:start;cursor:pointer}
.lp-privacy-request-check {display:flex;align-items:flex-start;gap:11px;line-height:1.5;cursor:pointer;padding:11px 0}
.lp-privacy-request-check input {margin-top:4px;accent-color:#22396f;flex:0 0 auto}
.lp-privacy-request-notice {padding:14px 17px;background:#eaf3ff;color:#010736!important;border-radius:12px;border:1px solid #bbd6fa}
.lp-privacy-request-error {padding:10px 14px;background:#fff5f4;color:#9a3030;border-radius:10px;font-size:13px}
.lp-privacy-request-history {margin-top:28px;border-top:1px solid #dce6f3;padding-top:20px}
.lp-privacy-request-history h3 {font-size:20px;color:#010736;margin:0 0 14px}
.lp-privacy-request-item {display:grid;gap:5px;padding:16px 18px;border:1px solid #dce6f3;border-radius:14px;background:#f8fbff;margin:10px 0;word-break:break-word}
.lp-privacy-request-item strong {color:#010736;font-size:14px}
.lp-privacy-request-item span {font-size:13px;color:#536484}
.lp-privacy-request-resend {justify-self:start;background:transparent;border:0;color:#22396f;font-weight:800;text-decoration:underline;cursor:pointer;font-size:13px;margin-top:5px;padding:9px 2px}
.lp-privacy-contact-confirm .lp-privacy-action {margin-top:14px;cursor:pointer}
@media (max-width:600px) {.lp-privacy-request-form .lp-privacy-action {width:100%}}

/* D.8.4.2: evidencia de credencial separada de cualquier resolución ARCO o baja comercial */
.lp-privacy-identity-step {margin-top:12px;padding:15px;border:1px solid #d8e5f5;border-radius:13px;background:#fff;display:grid;gap:9px}
.lp-privacy-identity-step > strong {font-size:14px;color:#010736}
.lp-privacy-identity-step p {color:#425277;font-size:13px;line-height:1.6;margin:0}
.lp-privacy-identity-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.lp-privacy-identity-form {display:grid;gap:10px;max-width:420px}
.lp-privacy-identity-form label {font-size:13px;font-weight:800;color:#22396f}
.lp-privacy-identity-form input {width:100%;border:1px solid #bacce6;border-radius:12px;padding:12px;background:#f8fbff;color:#010736;font:inherit}
.lp-privacy-identity-form input:focus-visible {outline:3px solid #6e9ee6;outline-offset:2px}
.lp-privacy-identity-form .lp-privacy-action {justify-self:start;cursor:pointer}
@media(max-width:600px){.lp-privacy-identity-form .lp-privacy-action{width:100%}}

/* D.8.4 FIX1 · Solicitudes plegables, expedientes individuales y lista paginada */
.lp-privacy-request-center {min-width:0}
.lp-privacy-request-intro {margin:0 0 18px!important;max-width:850px}
.lp-privacy-request-new {border:1px solid #dce6f3;border-radius:17px;background:#f8fbff;overflow:hidden}
.lp-privacy-request-new__header {padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.lp-privacy-request-new__header h3 {font-size:19px;color:#010736;margin:0 0 5px}
.lp-privacy-request-new__header p {color:#536484;margin:0;font-size:13px;line-height:1.55}
.lp-privacy-request-toggle {border:1px solid #ccd9ee;border-radius:12px;color:#010736;background:#fff;cursor:pointer;padding:11px 14px;font:inherit;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:16px;justify-content:space-between}
.lp-privacy-request-toggle:hover {background:#eaf3ff}
.lp-privacy-request-toggle > span {font-size:19px;line-height:1}
.lp-privacy-request-new #lp-privacy-create-body {border-top:1px solid #dce6f3;padding:6px 20px 22px;background:#fff}
.lp-privacy-request-form {margin-top:12px}
.lp-privacy-request-history {margin-top:24px;padding-top:0;border:0}
.lp-privacy-request-history__heading {display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.lp-privacy-request-history__heading h3 {margin:0 0 3px}
.lp-privacy-request-history__heading .lp-privacy-hint {margin:0}
.lp-privacy-request-filter {display:grid;gap:4px;min-width:185px}
.lp-privacy-request-filter label {color:#536484;font-size:12px;font-weight:800}
.lp-privacy-request-filter select {font:inherit;background:#fff;color:#010736;border:1px solid #cbd9ec;border-radius:10px;padding:10px 12px;font-size:13px;max-width:100%}
.lp-privacy-request-history__list {display:grid;gap:10px}
.lp-privacy-request-item {display:block;margin:0;padding:0;min-width:0;overflow:hidden}
.lp-privacy-request-item__toggle {font:inherit;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:0;text-align:left;cursor:pointer;background:transparent;padding:16px 18px;color:#010736}
.lp-privacy-request-item__toggle:hover {background:#eef5ff}
.lp-privacy-request-item__label {display:grid;gap:5px;min-width:0;flex:1}
.lp-privacy-request-item__label strong {color:#010736;font-size:14px}
.lp-privacy-request-item__label small {color:#536484;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.lp-privacy-request-item__end {display:inline-flex;gap:12px;align-items:center;flex-shrink:0}
.lp-privacy-request-state {font-size:12px!important;font-weight:800;border-radius:100px;padding:5px 10px;white-space:nowrap}
.lp-privacy-request-state--open {background:#e7f0ff;color:#22396f!important}
.lp-privacy-request-state--closed {background:#eaf3ef;color:#255944!important}
.lp-privacy-request-item__chevron {font-size:19px!important;font-weight:800;color:#22396f!important;line-height:1}
.lp-privacy-request-detail {border-top:1px solid #dce6f3;padding:17px 18px 19px;background:#fff;display:grid;gap:10px;min-width:0}
.lp-privacy-request-detail[hidden],#lp-privacy-create-body[hidden] {display:none!important}
.lp-privacy-request-progress {display:flex;flex-wrap:wrap;gap:8px 18px;color:#425277;font-size:13px;line-height:1.5}
.lp-privacy-request-progress strong {font-size:13px;color:#22396f}
.lp-privacy-request-detail .lp-privacy-identity-step {margin-top:0}
.lp-privacy-request-pages {margin-top:16px}
.lp-privacy-request-history__note {margin:14px 0 0}
.lp-privacy-request-toggle:focus-visible,.lp-privacy-request-item__toggle:focus-visible,.lp-privacy-request-filter select:focus-visible {outline:3px solid #6e9ee6;outline-offset:2px}
@media (max-width:600px) {
    .lp-privacy-request-new__header {padding:16px;gap:12px;align-items:stretch}
    .lp-privacy-request-new__header > div {width:100%}
    .lp-privacy-request-toggle {width:100%;justify-content:center}
    .lp-privacy-request-new #lp-privacy-create-body {padding:8px 15px 18px}
    .lp-privacy-request-history__heading {align-items:stretch}
    .lp-privacy-request-filter {width:100%}
    .lp-privacy-request-item__toggle {padding:14px;align-items:flex-start}
    .lp-privacy-request-item__end {display:grid;justify-items:end;gap:7px}
    .lp-privacy-request-detail {padding:14px}
    .lp-privacy-request-state {white-space:normal;text-align:center}
}

/* D.8.6.2 — control de cuenta: formulario accesible y distinto del ejercicio ARCO. */
.lp-account-closure__info { border-left: 3px solid #22396F; padding-left: 16px; margin-bottom: 18px; color: #425277; line-height: 1.65; }
.lp-account-closure__form { max-width: 680px; display: grid; gap: 12px; }
.lp-account-closure__form > label:not(.lp-account-closure__check) { font-weight: 750; color: #010736; }
.lp-account-closure__input { width: 100%; min-height: 46px; border: 1px solid #b7c4dd; border-radius: 12px; padding: 10px 13px; background: #fff; color: #010736; }
.lp-account-closure__check { display: flex; align-items: flex-start; gap: 10px; color: #22396F; line-height: 1.5; }
.lp-account-closure__check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.lp-account-closure__error { color: #9c2530; font-size: .88rem; margin: 0; }
.lp-account-closure__form .lp-privacy-action { justify-self: start; border: 0; cursor: pointer; }
.lp-account-closure__form .lp-privacy-action[disabled] { opacity: .65; cursor: wait; }

/* D.8.6.2 FIX1 — retroalimentación de identidad para solicitud de cierre. */
.lp-account-closure__hint { margin: -4px 0 4px; font-size: .87rem; line-height: 1.5; color: #425277; }
.lp-account-closure__input[aria-invalid="true"] { border-color: #a02b36; box-shadow: 0 0 0 2px rgba(160,43,54,.12); }
.lp-account-closure__alert { border-left: 3px solid #a02b36; border-radius: 8px; background: #fff4f4; color: #84202c; padding: 12px 14px; line-height: 1.5; font-size: .9rem; }

/* Fase A (06/NOV/2026): redes aceptadas Visa, Mastercard y Carnet.
   El campo de tarjeta muestra solo el logo de la red identificada. */
.lp-payment-input-wrap--brands input {
    padding-right: 62px;
}

.lp-card-brand-field {
    position: relative;
}

.lp-card-brand-field input {
    padding-right: 62px;
}

.lp-payment-input-brands:empty {
    display: none;
}

.lp-card-brand-message {
    margin: 6px 0 0;
    color: #a12a3c;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.4;
}

.lp-payment-card-network-logos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lp-payment-card-network-logos img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .lp-payment-input-wrap--brands input,
    .lp-card-brand-field input {
        padding-right: 50px;
    }

    .lp-card-brand-field .lp-payment-input-brands {
        right: 8px;
    }

    .lp-card-brand-field .lp-payment-input-brands img {
        width: 32px;
        height: 32px;
    }

    .lp-payment-card-network-logos img {
        width: 30px;
        height: 30px;
    }
}

/* Checkout anual · clasificación previa de la tarjeta (09/NOV/2026).
   Formas de pago debajo del código postal y antes de «Pagar ahora». Tarjetas
   blancas lado a lado en todos los anchos; borde gris fino y borde azul solo en
   la opción seleccionada. Nada se muestra hasta que Openpay clasifica la tarjeta. */
.lp-payment-annual-options {
    display: grid;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(34, 57, 111, .10);
}

.lp-payment-annual-options__heading h3 {
    margin: 4px 0 0;
    color: var(--lp-forest);
    font-size: 1.02rem;
}

.lp-payment-card-classification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 12px 14px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 12px;
    background: #fff;
}

.lp-payment-card-classification p {
    flex: 1 1 240px;
    margin: 0;
    color: var(--lp-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.lp-payment-card-classification[data-state="ready"] p {
    color: var(--lp-forest);
    font-weight: 700;
}

.lp-payment-card-classification[data-state="error"] {
    border-color: rgba(34, 57, 111, .32);
}

.lp-payment-card-classification__retry {
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #2E5AAC;
    border-radius: 999px;
    background: #fff;
    color: #2E5AAC;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.lp-payment-card-classification__retry[hidden],
.lp-payment-choice--annual[hidden],
.lp-payment-choice--annual .lp-payment-choice-card[hidden],
.lp-payment-annual-options .lp-payment-msi-panel[hidden],
.lp-payment-side-card__finance-note[hidden] {
    display: none !important;
}

.lp-payment-choice--annual {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0;
}

.lp-payment-choice--annual .lp-payment-choice-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(34, 57, 111, .16);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    transform: none;
}

.lp-payment-choice--annual .lp-payment-choice-card:hover,
.lp-payment-choice--annual .lp-payment-choice-card:focus-within {
    border-color: rgba(34, 57, 111, .30);
    box-shadow: none;
    transform: none;
}

.lp-payment-choice--annual .lp-payment-choice-card.is-selected {
    border-color: #2E5AAC;
    background: #fff;
    box-shadow: 0 0 0 1px #2E5AAC, 0 8px 22px rgba(46, 90, 172, .10);
}

.lp-payment-choice--annual .lp-payment-choice-card.is-selected .lp-payment-choice-card__check {
    border-color: #2E5AAC;
}

.lp-payment-annual-options .lp-payment-msi-panel {
    margin-bottom: 0;
    border-color: rgba(34, 57, 111, .16);
    background: #fff;
}

.lp-payment-annual-options .lp-payment-msi-option {
    border-color: rgba(34, 57, 111, .16);
}

.lp-payment-annual-options .lp-payment-msi-option.is-selected {
    border-color: #2E5AAC;
    background: #fff;
    box-shadow: 0 0 0 1px #2E5AAC;
}

@media (max-width: 560px) {
    .lp-payment-choice--annual {
        gap: 8px;
    }

    .lp-payment-choice--annual .lp-payment-choice-card {
        gap: 8px;
        padding: 12px 10px;
    }

    .lp-payment-choice--annual .lp-payment-choice-card__copy strong {
        font-size: .84rem;
    }

    .lp-payment-choice--annual .lp-payment-choice-card__copy small {
        font-size: .7rem;
    }

    .lp-payment-choice--annual .lp-payment-choice-card__copy b {
        margin-top: 6px;
        font-size: .76rem;
    }
}

/* =========================================================
   Checkout · estado «Procesando tu pago» (06/NOV/2026)
   Spinner en el botón y overlay con tarjeta central. Solo
   interfaz: el resultado del pago lo muestra el servidor.
   ========================================================= */
.lp-payment-submit.is-processing,
.lp-payment-submit.is-processing:disabled {
    opacity: .92;
    cursor: progress;
}

.lp-payment-submit__processing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lp-payment-submit .lp-payment-submit__spinner {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .32);
    border-top-color: var(--lp-white);
    border-radius: 50%;
    animation: lp-payment-spin .8s linear infinite;
}

body.lp-payment-processing-open {
    overflow: hidden;
}

.lp-payment-processing {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(1, 7, 54, .56);
    cursor: progress;
}

.lp-payment-processing[hidden] {
    display: none;
}

.lp-payment-processing__card {
    width: min(100%, 400px);
    padding: 30px 26px 26px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: var(--lp-white);
    color: var(--lp-text);
    text-align: center;
    box-shadow: var(--lp-shadow-md);
    cursor: default;
}

.lp-payment-processing__card:focus {
    outline: none;
}

.lp-payment-processing__card:focus-visible {
    outline: 3px solid var(--lp-mint);
    outline-offset: 3px;
}

.lp-payment-processing__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(171, 210, 250, .34);
    color: var(--lp-teal);
}

.lp-payment-processing__icon svg {
    width: 30px;
    height: 30px;
}

.lp-payment-processing__ring {
    position: absolute;
    inset: -5px;
    border: 3px solid rgba(34, 57, 111, .14);
    border-top-color: var(--lp-teal);
    border-radius: 50%;
    animation: lp-payment-spin 1s linear infinite;
}

.lp-payment-processing__card h2 {
    margin: 0 0 8px;
    color: var(--lp-forest);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.lp-payment-processing__card p {
    margin: 0;
    color: var(--lp-text-soft);
    font-size: .92rem;
    line-height: 1.5;
}

.lp-payment-processing__card .lp-payment-processing__warning {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-surface-soft);
    color: var(--lp-forest);
    font-size: .86rem;
    font-weight: 700;
}

@keyframes lp-payment-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .lp-payment-processing__card {
        padding: 24px 18px 20px;
    }

    .lp-payment-processing__icon {
        width: 58px;
        height: 58px;
    }

    .lp-payment-processing__card h2 {
        font-size: 1.12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-payment-submit .lp-payment-submit__spinner,
    .lp-payment-processing__ring {
        animation: none;
    }

    /* Sin giro: el anillo completo indica actividad sin movimiento. */
    .lp-payment-submit .lp-payment-submit__spinner {
        border-color: var(--lp-white);
        border-right-color: rgba(255, 255, 255, .32);
    }

    .lp-payment-processing__ring {
        border-color: rgba(34, 57, 111, .30);
        border-top-color: var(--lp-teal);
    }
}

/* PM.3 · Pago confirmado: acciones con icono, tarjeta del cargo y guía de eventos. */
.lp-payment-complete__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.lp-payment-complete__actions .lp-button {
    width: 100%;
    min-width: 0;
    text-align: center;
}
.lp-payment-action-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}
.lp-payment-guide-button.lp-button,
a.lp-payment-guide-button.lp-button:visited {
    background: #FFFFFF;
    border: 1px solid #22396f;
    color: #010736;
    box-shadow: none;
}
.lp-payment-guide-button.lp-button:hover {
    background: rgba(171, 210, 250, .18);
    color: #010736;
    box-shadow: 0 8px 20px rgba(34, 57, 111, .10);
}
.lp-payment-guide-button.lp-button:focus-visible {
    outline: 3px solid #22396f;
    outline-offset: 2px;
}
.lp-payment-complete .lp-payment-card-used {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 6px 0 0;
    color: #22396f;
    font-weight: 700;
    line-height: 1.45;
}
.lp-payment-card-used__digits {
    white-space: nowrap;
    letter-spacing: .03em;
}
.lp-payment-card-used__logo {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    object-fit: contain;
}
@media (max-width: 960px) {
    .lp-payment-complete__actions {
        grid-template-columns: 1fr;
    }
}

/* PM.3 · Descarga permanente de la guía en «Mis llantas». */
.lp-tires-hero__actions .lp-tires-guide-button .lp-payment-action-icon {
    width: 19px;
    height: 19px;
}


/* Resumen MSI confirmado: línea secundaria bajo el total anual. */
.lp-payment-total .lp-payment-total__msi {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* Sincronización entre pestañas: aviso breve antes de pedir la vista actualizada. */
.lp-payment-sync-notice {
    margin: 0 0 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(171, 210, 250, .18);
    color: var(--lp-text-muted);
    font-size: .86rem;
    font-weight: 600;
}

.lp-payment-sync-notice[hidden] {
    display: none;
}

/* ==========================================================================
   Pulido 10/NOV/2026 — Columna lateral «Resumen / Acciones» responsive.
   Escritorio sin cambios: cada layout conserva su regla original por encima
   de su propio punto de quiebre. Tablet (601 px hasta ese punto): la columna
   sigue a la derecha, más angosta y compacta; sticky solo si la pantalla
   tiene altura suficiente. Teléfono (≤600 px): la columna sube ARRIBA del
   contenido principal, compacta, en lugar de quedar al final.
   Layouts: pago, protección, membresía, factura, ticket de soporte y perfil.
   ========================================================================== */
.lp-membership-stack,
.lp-membership-overview,
.lp-invoice-card,
.lp-invoice-summary,
.lp-profile-aside {
    min-width: 0;
}

/* Tablet: dos columnas dentro del rango que antes se apilaba. */
@media (min-width: 601px) and (max-width: 960px) {
    .lp-payment-layout,
    .lp-payment-layout--focused {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
        gap: 14px;
    }
}

@media (min-width: 601px) and (max-width: 980px) {
    .lp-protection-layout,
    .lp-support-ticket-layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
        gap: 14px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .lp-membership-layout,
    .lp-invoice-layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
        gap: 14px;
    }
}

@media (min-width: 601px) and (max-width: 1023px) {
    .lp-profile-layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
        gap: 14px;
    }
}

/* Columna compacta (tablet y teléfono): una sola columna interna. */
@media (max-width: 1023px) {
    .lp-payment-layout__aside,
    .lp-payment-page--87a4 .lp-payment-layout__aside,
    .lp-protection-layout__aside,
    .lp-support-ticket-layout__aside,
    .lp-profile-aside {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .lp-protection-side-card--compact {
        grid-column: auto;
    }
}

@media (min-width: 601px) and (max-width: 1023px) {
    .lp-payment-side-card,
    .lp-protection-side-card,
    .lp-membership-overview,
    .lp-invoice-summary,
    .lp-support-ticket-layout__aside .lp-support-card,
    .lp-profile-aside__card {
        padding: 16px;
    }

    .lp-payment-side-card h2,
    .lp-protection-side-card h2,
    .lp-membership-overview .lp-membership-card__header h2,
    .lp-invoice-summary__heading h2,
    .lp-support-ticket-layout__aside .lp-support-card h2,
    .lp-profile-aside__card h2 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .lp-payment-layout__aside .lp-payment-summary > div,
    .lp-invoice-summary__list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .lp-payment-layout__aside .lp-payment-summary dd,
    .lp-invoice-summary__list dd {
        text-align: left;
    }

    .lp-membership-overview-list > div {
        padding: 10px 11px;
    }
}

/* Sticky en tablet solo con altura suficiente (evita recortar la columna en
   teléfonos horizontales); escritorio conserva su sticky original. */
@media (min-width: 601px) and (max-width: 1023px) and (min-height: 640px) {
    .lp-payment-layout__aside,
    .lp-payment-page--87a4 .lp-payment-layout__aside,
    .lp-protection-layout__aside,
    .lp-invoice-summary {
        position: sticky;
        top: 92px;
    }

    .lp-membership-overview {
        position: sticky;
        top: 96px;
    }
}

@media (min-width: 601px) and (max-width: 1023px) and (max-height: 639px) {
    .lp-payment-layout__aside,
    .lp-payment-page--87a4 .lp-payment-layout__aside,
    .lp-protection-layout__aside,
    .lp-membership-overview,
    .lp-invoice-summary {
        position: static;
    }
}

/* Teléfono: la columna sube arriba del contenido principal, compacta. */
@media (max-width: 600px) {
    .lp-payment-layout,
    .lp-payment-layout--focused,
    .lp-protection-layout,
    .lp-membership-layout,
    .lp-invoice-layout,
    .lp-support-ticket-layout,
    .lp-profile-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .lp-payment-layout__aside,
    .lp-payment-page--87a4 .lp-payment-layout__aside,
    .lp-protection-layout__aside,
    .lp-membership-overview,
    .lp-invoice-summary,
    .lp-support-ticket-layout__aside,
    .lp-profile-aside {
        order: -1;
        position: static;
    }

    .lp-payment-side-card,
    .lp-protection-side-card,
    .lp-membership-overview,
    .lp-invoice-summary,
    .lp-support-ticket-layout__aside .lp-support-card,
    .lp-profile-aside__card {
        padding: 16px;
    }

    .lp-payment-side-card h2,
    .lp-protection-side-card h2,
    .lp-membership-overview .lp-membership-card__header h2,
    .lp-invoice-summary__heading h2,
    .lp-support-ticket-layout__aside .lp-support-card h2,
    .lp-profile-aside__card h2 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .lp-payment-layout__aside .lp-payment-summary {
        margin-top: 10px;
    }

    .lp-payment-layout__aside .lp-payment-summary > div,
    .lp-invoice-summary__list > div {
        padding: 8px 0;
    }

    .lp-payment-layout__aside .lp-payment-total {
        margin-top: 12px;
        padding: 13px 15px;
    }

    .lp-payment-layout__aside .lp-payment-total strong {
        font-size: 1.5rem;
    }

    .lp-membership-overview-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lp-membership-overview-list > div {
        padding: 9px 10px;
    }
}

/* Pulido 10/NOV/2026 — Membresía: formularios de liquidación anticipada y
   cambio de tarjeta plegados hasta pulsar su botón (<details> nativo). */
.lp-membership-form-toggle {
    min-width: 0;
    margin-top: 18px;
}

.lp-membership-form-toggle__summary {
    max-width: 100%;
    list-style: none;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    user-select: none;
}

.lp-membership-form-toggle__summary::-webkit-details-marker {
    display: none;
}

.lp-membership-form-toggle__summary::marker {
    content: '';
}

.lp-membership-form-toggle__summary:focus-visible {
    outline: 3px solid rgba(34, 57, 111, .34);
    outline-offset: 3px;
}

.lp-membership-form-toggle__open {
    display: none;
}

.lp-membership-form-toggle[open] > .lp-membership-form-toggle__summary {
    border-color: var(--lp-border-strong);
    background: rgba(255, 255, 255, .72);
    color: var(--lp-forest);
    box-shadow: none;
}

.lp-membership-form-toggle[open] > .lp-membership-form-toggle__summary .lp-membership-form-toggle__closed {
    display: none;
}

.lp-membership-form-toggle[open] > .lp-membership-form-toggle__summary .lp-membership-form-toggle__open {
    display: inline;
}

.lp-membership-form-toggle__panel {
    min-width: 0;
    margin-top: 16px;
}

.lp-membership-form-toggle__panel > .lp-membership-card-form {
    margin-top: 0;
}

.lp-membership-current-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 16px;
    background: rgba(171, 210, 250, .08);
}

.lp-membership-current-card__logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 36px;
    border: 1px solid rgba(34, 57, 111, .12);
    border-radius: 9px;
    background: var(--lp-white);
    color: var(--lp-forest);
}

.lp-membership-current-card__logo img {
    width: 40px;
    height: 28px;
    object-fit: contain;
}

.lp-membership-current-card__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lp-membership-current-card__label {
    color: var(--lp-text-muted);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-membership-current-card__copy strong {
    color: var(--lp-forest);
    font-size: .95rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.lp-membership-current-card__copy small {
    color: var(--lp-text-muted);
    font-size: .8rem;
}

@media (max-width: 600px) {
    .lp-membership-form-toggle__summary {
        width: 100%;
    }
}

/* ==========================================================================
   Ajustes 10/NOV/2026 — avisos de captura de tarjeta y «Mis protecciones» a
   dos columnas también en móvil. (La aclaración MSI se integró en la leyenda
   «Contado o MSI (…) de tarjetas participantes»; ya no usa una nota aparte.)
   ========================================================================== */

/* Avisos visuales de captura (número, CVV y vencimiento). */
.lp-card-input-message {
    margin: 6px 0 0;
    color: var(--lp-danger);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
}

/* «Mis protecciones»: dos tarjetas por fila desde 320 px. Escritorio (> 980 px)
   conserva sus reglas; con una sola protección la tarjeta usa todo el ancho y
   su diseño móvil previo. La compactación aplica solo con dos o más tarjetas. */
@media (max-width: 980px) {
    .lp-protection-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .lp-protection-cards > .lp-protection-card:only-child {
        grid-column: 1 / -1;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) {
        gap: 16px;
        padding: 18px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__top {
        flex-direction: column;
        gap: 12px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.25;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__footer .lp-button,
    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__support {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .lp-protection-cards {
        gap: 10px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) {
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__identity {
        flex-direction: column;
        gap: 8px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__icon {
        width: 32px;
        height: 32px;
        flex-basis: auto;
        border-radius: 10px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__code {
        margin-bottom: 3px;
        font-size: .6rem;
        letter-spacing: .04em;
        overflow-wrap: anywhere;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) h3 {
        font-size: .92rem;
        overflow-wrap: anywhere;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__identity p {
        margin-top: 3px;
        font-size: .74rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-badge {
        gap: 5px;
        min-height: 22px;
        padding: 4px 8px;
        font-size: .66rem;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__tire-alerts {
        gap: 5px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__tire-alert,
    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__tire-link {
        font-size: .68rem;
        white-space: normal;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__facts {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__facts > div {
        padding: 7px 9px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__facts span {
        margin-bottom: 2px;
        font-size: .6rem;
        letter-spacing: .03em;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__facts strong {
        font-size: .78rem;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__footer .lp-button {
        min-height: 36px;
        padding: 7px 8px;
        border-radius: 10px;
        font-size: .74rem;
    }

    .lp-protection-cards > .lp-protection-card:not(:only-child) .lp-protection-card__support {
        min-height: 32px;
        padding: 4px 2px;
        gap: 4px;
        font-size: .72rem;
    }
}

/* ==========================================================================
   Cotizador 10/NOV/2026 — barra de pasos fija bajo la navbar al hacer scroll.
   Solo comportamiento: el diseño, la estructura y los textos no cambian. La
   altura real de la navbar la mide quote.blade.php (--lp-quote-steps-top); sin
   script, la barra se fija en top: 0 y sigue siendo usable.
   ========================================================================== */
.lp-checkout-steps {
    position: sticky;
    top: var(--lp-quote-steps-top, 0px);
    z-index: 60;
    transition: background-color .18s ease, box-shadow .18s ease;
}

/* Fijada: fondo opaco para que el contenido no se lea a través de ella. */
html[data-lp-quote-steps-stuck] .lp-checkout-steps {
    background: var(--lp-white);
    box-shadow: 0 12px 30px rgba(1, 7, 54, .12);
}

/* Los desplazamientos a un elemento (indicador de scroll, foco de un campo con
   error) dejan su destino visible debajo de navbar + barra de pasos. */
html[data-lp-quote-steps-ready] {
    scroll-padding-top: calc(var(--lp-quote-steps-top, 0px) + var(--lp-quote-steps-height, 0px) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    .lp-checkout-steps {
        transition: none;
    }
}

/* ==========================================================================
   Navbar 10/NOV/2026 — sin contenido visible detrás al desplazarse.
   La tarjeta flotante conserva forma, sombra y medidas; solo deja de ser
   translúcida. Al desplazarse (html[data-lp-header-scrolled], lo marca el
   layout) un velo del color de la página cubre la franja superior y los lados
   de la tarjeta; en el cotizador, con la barra de pasos fijada, también cubre
   el espacio entre ambas. Sin desplazamiento la página se ve como antes.
   ========================================================================== */
.lp-customer-header {
    background: var(--lp-white);
}

.lp-customer-header-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--bg, var(--lp-white));
    opacity: 0;
    transition: opacity .18s ease;
}

html[data-lp-header-scrolled] .lp-customer-header-wrap::before {
    opacity: 1;
}

html[data-lp-quote-steps-stuck] .lp-customer-header-wrap::before {
    bottom: -10px;
}

@media (max-width: 760px) {
    html[data-lp-quote-steps-stuck] .lp-customer-header-wrap::before {
        bottom: -6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-customer-header-wrap::before {
        transition: none;
    }
}

/* ==========================================================================
   Ajuste 20/NOV/2026 — Pago en teléfono (≤600 px): orden Resumen →
   formulario de pago → «¿Necesitas ayuda?». Solo presentación: el <aside>
   deja de generar caja propia para que sus dos tarjetas se ordenen dentro
   del grid del layout, sin duplicar ni mover HTML. Escritorio y tablet
   (≥601 px) conservan su distribución original.
   ========================================================================== */
@media (max-width: 600px) {
    .lp-payment-page--87a4 .lp-payment-layout__aside {
        display: contents;
    }

    .lp-payment-page--87a4 .lp-payment-layout__aside > .lp-payment-side-card {
        min-width: 0;
    }

    .lp-payment-page--87a4 .lp-payment-layout__aside > .lp-payment-side-card--summary {
        order: -1;
    }

    .lp-payment-page--87a4 .lp-payment-layout__aside > .lp-payment-side-card--support {
        order: 1;
    }
}
