@import 'CRM.WebFrontend.Client.3fa104pyck.bundle.scp.css';

/* /Components/Pages/AsesorDashboard.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
       NYX CRM — AAPLY × ACCTUAL DESIGN SYSTEM
       Electric yellow energy + Paper-white clarity
       ═══════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root[b-1obx3086fd] {
    /* Aaply Brand */
    --nyx-yellow: #e6e51e;
    --nyx-yellow-soft: rgba(230, 229, 30, 0.12);
    --nyx-red: #f34646;
    --nyx-blue: #466cf3;
    --nyx-peach: #ff8562;
    --nyx-sunbeam: #fff705;

    /* Acctual Neutrals */
    --nyx-ink: #1e1e1e;
    --nyx-carbon: #0f0f0f;
    --nyx-midnight: #0d111b;
    --nyx-smoke: #666666;
    --nyx-fog: #8d8d8d;
    --nyx-ash: #999999;
    --nyx-mist: #ccd1da;
    --nyx-paper: #ffffff;
    --nyx-snow: #f7fafc;
    --nyx-canvas: transparent;
    --nyx-hairline: #e6e6e6;

    /* Acctual Accents */
    --nyx-electric: #0098f2;
    --nyx-iris: #6c56fc;
    --nyx-leaf: #5d9c06;
    --nyx-coral: #ff6363;

    /* Semantic */
    --nyx-success: #22c55e;
    --nyx-success-bg: #f0fdf4;
    --nyx-warning: #f59e0b;
    --nyx-warning-bg: #fffbeb;
    --nyx-error: #ef4444;
    --nyx-error-bg: #fef2f2;
    --nyx-info: #0098f2;
    --nyx-info-bg: #eff6ff;

    /* Typography */
    --font-display: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Radii (Aaply: 3000px pills, Acctual: 16px cards) */
    --r-pill: 100px;
    --r-card: 16px;
    --r-card-lg: 16px;
    --r-input: 12px;
    --r-tag: 100px;
    --r-full: 50%;

    /* Shadows (Acctual + Modern Elevation) */
    --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.16), 0 4px 10px rgba(15, 23, 42, 0.08);
    --shadow-elevated: 0 6px 18px rgba(10, 13, 20, 0.12);
    --shadow-modal: 0 25px 60px -15px rgba(0, 0, 0, 0.22);
    --shadow-btn: 0 1px 2px rgba(10, 13, 20, 0.08);

    /* Transitions */
    --ease-out: cubic-bezier(0.2, 0, 0, 1);
    --duration: 0.2s;
}

/* ── GOOGLE FONTS IMPORT ── */
@@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

/* ── GLOBAL PAGE CANVAS ── */
.container-fluid.py-4[b-1obx3086fd],
.container-fluid.py-2[b-1obx3086fd],
.container-fluid[b-1obx3086fd] {
    background: transparent !important;
    font-family: var(--font-body);
    color: var(--nyx-ink);
    min-height: auto;
}

/* ── HERO CARD ── */
.asesor-hero-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card-lg);
    padding: 18px 24px;
    border: 1px solid var(--nyx-hairline);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.asesor-hero-card h1:focus[b-1obx3086fd],
.asesor-hero-card h1:focus-visible[b-1obx3086fd],
h1:focus[b-1obx3086fd],
h1:focus-visible[b-1obx3086fd] {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.asesor-hero-card[b-1obx3086fd]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(0, 152, 242, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── KPI CARDS ── */
.asesor-kpi-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card);
    padding: 18px 20px;
    border: 1px solid var(--nyx-hairline);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.asesor-kpi-card:hover[b-1obx3086fd] {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

/* Compact KPI Card variant for space saving */
.asesor-kpi-compact[b-1obx3086fd] {
    padding: 10px 14px !important;
    min-height: 52px;
    background: var(--nyx-snow) !important;
    border: 1px solid var(--nyx-hairline);
    border-radius: 12px !important;
    display: flex;
    align-items: center;
}

.kpi-icon-wrapper-compact[b-1obx3086fd] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 1px solid var(--nyx-hairline);
}

.kpi-label-compact[b-1obx3086fd] {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nyx-smoke);
    line-height: 1;
    margin-bottom: 2px;
}

.kpi-val-compact[b-1obx3086fd] {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.kpi-sub-compact[b-1obx3086fd] {
    font-size: 0.72rem;
    color: var(--nyx-fog);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.animate-filter-dropdown[b-1obx3086fd] {
    animation: filterSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@@keyframes filterSlideIn {
    from[b-1obx3086fd] {
        opacity: 0;
        transform: translateY(-6px);
    }
    to[b-1obx3086fd] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── KPI PILL BADGES (BARRA HORIZONTAL INLINE) ── */
.kpi-pill-badge[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
    white-space: nowrap;
    user-select: none;
}

.kpi-pill-badge:hover[b-1obx3086fd] {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.kpi-pill-dot[b-1obx3086fd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.kpi-pill-blue[b-1obx3086fd] {
    background: var(--info-soft, #eff6ff);
    border: 1px solid var(--info-line, #bfdbfe);
    color: var(--info, #1e40af);
}
.kpi-pill-blue .kpi-pill-val[b-1obx3086fd] {
    color: var(--info, #1d4ed8);
    font-weight: 700;
}

.kpi-pill-green[b-1obx3086fd] {
    background: var(--ok-soft, #f0fdf4);
    border: 1px solid var(--ok-line, #bbf7d0);
    color: var(--ok, #166534);
}
.kpi-pill-green .kpi-pill-val[b-1obx3086fd] {
    color: var(--ok, #15803d);
    font-weight: 700;
}

.kpi-pill-purple[b-1obx3086fd] {
    background: var(--brand-soft, #f5f3ff);
    border: 1px solid var(--brand-ring, #ddd6fe);
    color: var(--brand, #6b21a8);
}
.kpi-pill-purple .kpi-pill-val[b-1obx3086fd] {
    color: var(--brand, #581c87);
    font-weight: 700;
}

/* ── TOOLBAR DE ACCIONES DEL HERO ── */
.hero-actions-toolbar[b-1obx3086fd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 4px;
}

/* Botón CTA + Nueva Pre-Venta */
.btn-hero-cta[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--nyx-carbon);
    color: #ffffff !important;
    border: 1px solid var(--nyx-carbon);
    border-radius: 10px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 15, 15, 0.18);
    user-select: none;
}

.btn-hero-cta:hover[b-1obx3086fd] {
    background: #262626;
    border-color: #262626;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 15, 15, 0.28);
}

.btn-hero-cta:active[b-1obx3086fd] {
    transform: translateY(0);
}

.cta-plus-badge[b-1obx3086fd] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.btn-hero-cta:hover .cta-plus-badge[b-1obx3086fd] {
    background: var(--nyx-electric);
    color: #ffffff;
    transform: scale(1.1);
}

/* Switch Cards / Tabla */
.hero-toggle-group[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--nyx-mist);
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-toggle-btn[b-1obx3086fd] {
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nyx-smoke);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.hero-toggle-btn:hover:not(.active)[b-1obx3086fd] {
    background: #f1f5f9;
    color: var(--nyx-ink);
}

.hero-toggle-btn.active[b-1obx3086fd] {
    background: #111827;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-toggle-btn.active:hover[b-1obx3086fd] {
    background: #1f2937;
}

/* Botón Buscar Desplegable */
.btn-hero-search[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--nyx-mist);
    border-radius: 10px;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nyx-ink);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    user-select: none;
}

.btn-hero-search:hover[b-1obx3086fd] {
    border-color: var(--nyx-electric);
    color: var(--nyx-electric);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 152, 242, 0.15);
}

.btn-hero-search.active[b-1obx3086fd] {
    border-color: var(--nyx-electric);
    color: var(--nyx-electric);
    background: rgba(0, 152, 242, 0.08);
}

.kpi-icon-wrapper[b-1obx3086fd] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--nyx-snow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nyx-electric);
    flex-shrink: 0;
    border: 1px solid var(--nyx-hairline);
}

/* ── PRIMARY CTA BUTTON (Aaply: Black Pill) ── */
.asesor-cta-btn[b-1obx3086fd] {
    background: var(--nyx-carbon);
    color: var(--nyx-paper);
    border-radius: var(--r-pill);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-btn);
    letter-spacing: -0.02em;
}

.asesor-cta-btn:hover[b-1obx3086fd] {
    background: var(--nyx-ink);
    color: var(--nyx-paper);
    transform: translateY(-1px);
    box-shadow: var(--shadow-elevated);
}

.asesor-cta-btn:disabled[b-1obx3086fd],
.asesor-cta-btn[disabled][b-1obx3086fd] {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* ── YELLOW ACCENT BUTTON (Aaply: Filled Yellow Pill) ── */
.btn-accent-yellow[b-1obx3086fd] {
    background: var(--nyx-yellow);
    color: var(--nyx-carbon);
    border-radius: var(--r-pill);
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-btn);
}

.btn-accent-yellow:hover[b-1obx3086fd] {
    background: #d4d31b;
    transform: translateY(-1px);
    box-shadow: var(--shadow-elevated);
}

/* ── TABLE CARD ── */
.table-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card-lg);
    border: 1px solid var(--nyx-hairline);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 24px;
}

.table-modern thead th[b-1obx3086fd] {
    background: var(--nyx-snow);
    color: var(--nyx-smoke);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--nyx-hairline);
}

.table-modern tbody tr[b-1obx3086fd] {
    transition: background-color var(--duration) ease;
}

.table-modern tbody tr:hover[b-1obx3086fd] {
    background-color: var(--nyx-snow);
}

.table-modern tbody tr.row-sale-completed[b-1obx3086fd] {
    background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 60%, #ecfdf5 100%) !important;
    border-left: 6px solid #10b981 !important;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
}

.table-modern tbody tr.row-sale-completed:hover[b-1obx3086fd] {
    background: linear-gradient(90deg, #dcfce7 0%, #d1fae5 100%) !important;
}

.table-modern tbody tr.row-sale-completed td[b-1obx3086fd] {
    background-color: transparent !important;
}

.table-modern tbody tr.row-sale-closed-ko[b-1obx3086fd] {
    background: linear-gradient(90deg, #fef2f2 0%, #fff1f2 100%) !important;
    border-left: 6px solid #ef4444 !important;
}

.table-modern tbody tr.row-sale-closed-ko:hover[b-1obx3086fd] {
    background: #fee2e2 !important;
}

.table-modern tbody tr.row-sale-closed-ko td[b-1obx3086fd] {
    background-color: transparent !important;
}

.table-modern tbody td[b-1obx3086fd] {
    padding: 12px 16px;
    font-size: 0.84rem;
    color: var(--nyx-ink);
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    letter-spacing: -0.01em;
}

/* ── CHECKPOINT PILLS ── */
.checkpoint-step-pill[b-1obx3086fd] {
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--duration) ease;
    letter-spacing: -0.01em;
}

.checkpoint-step-pill.completed[b-1obx3086fd] {
    background: var(--nyx-success-bg);
    color: #059669;
    border-color: #bbf7d0;
}

.checkpoint-step-pill.active[b-1obx3086fd] {
    background: var(--nyx-info-bg);
    color: var(--nyx-electric);
    border-color: #bfdbfe;
    box-shadow: 0 0 0 2px rgba(0, 152, 242, 0.12);
}

.checkpoint-step-pill.pending-accept[b-1obx3086fd] {
    background: var(--nyx-warning-bg);
    color: #92400e;
    border-color: #fcd34d;
    animation: nyx-pulse 1.8s infinite;
}

.checkpoint-step-pill.blocked[b-1obx3086fd] {
    background: var(--nyx-snow);
    color: var(--nyx-ash);
    border-color: var(--nyx-hairline);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── 3-CHECKPOINT SLIDING WINDOW ── */
.checkpoint-window-container[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    background: var(--nyx-paper);
    padding: 4px 8px;
    border-radius: var(--r-card);
    border: 1px solid var(--nyx-hairline);
    box-shadow: var(--shadow-card);
    max-width: 100%;
}

.cp-window-item[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cp-indicator-tag[b-1obx3086fd] {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.cp-indicator-tag.prev-tag[b-1obx3086fd] {
    color: var(--nyx-success);
}

.cp-indicator-tag.current-tag[b-1obx3086fd] {
    color: var(--nyx-electric);
}

.cp-indicator-tag.next-tag[b-1obx3086fd] {
    color: var(--nyx-ash);
}

.cp-item-pill[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all 0.15s ease;
    letter-spacing: -0.01em;
}

.cp-item-pill.prev-pill[b-1obx3086fd] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}

.cp-item-pill.current-pill.active-pill[b-1obx3086fd] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #93c5fd;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.15);
    cursor: pointer;
    font-weight: 700;
}

.cp-item-pill.current-pill.active-pill:hover[b-1obx3086fd] {
    background: #dbeafe;
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2), 0 4px 8px rgba(30, 64, 175, 0.1);
}

.cp-item-pill.current-pill.pending-accept-pill[b-1obx3086fd] {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
    font-weight: 600;
    animation: nyx-pulse 1.8s infinite;
}

.cp-item-pill.current-pill.blocked-pill[b-1obx3086fd] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    cursor: not-allowed;
    font-weight: 600;
}

.cp-item-pill.next-pill[b-1obx3086fd] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    opacity: 0.95;
}

/* ── BOTÓN PARPADEANTE / PULSANTE PARA CHECKPOINT RECURRENTE PENDIENTE ── */
.recurrent-pulse-wrapper[b-1obx3086fd] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.btn-recurrent-pulse[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: var(--r-pill, 9999px);
    font-size: 0.72rem;
    font-weight: 700;
    color: #9a3412;
    background: #fff7ed;
    border: 1.5px solid #ea580c;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: recurrentPulseGlow-b-1obx3086fd 1.8s infinite ease-in-out;
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
}

.btn-recurrent-pulse.btn-recurrent-vibrate[b-1obx3086fd] {
    animation: nyxRecurrentVibrate-b-1obx3086fd 2.2s infinite ease-in-out, recurrentPulseGlow-b-1obx3086fd 1.8s infinite ease-in-out;
}

@keyframes nyxRecurrentVibrate-b-1obx3086fd {
    0% {
        transform: translateX(0);
    }

    2% {
        transform: translateX(-3px) rotate(-1.5deg);
    }

    4% {
        transform: translateX(3px) rotate(1.5deg);
    }

    6% {
        transform: translateX(-3px) rotate(-1.5deg);
    }

    8% {
        transform: translateX(3px) rotate(1.5deg);
    }

    10% {
        transform: translateX(-2px) rotate(-1deg);
    }

    12% {
        transform: translateX(2px) rotate(1deg);
    }

    14% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

.btn-recurrent-pulse:hover[b-1obx3086fd] {
    background: #ffedd5;
    border-color: #c2410c;
    color: #7c2d12;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.btn-recurrent-pulse.disabled[b-1obx3086fd] {
    cursor: not-allowed;
    opacity: 0.6;
    animation: none;
    border-color: #fdba74;
}

.pulse-indicator[b-1obx3086fd] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ea580c;
    display: inline-block;
    animation: pulseDotBlink-b-1obx3086fd 1.2s infinite;
}

.badge-rep[b-1obx3086fd] {
    background: rgba(234, 88, 12, 0.15);
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-radius: 10px;
    padding: 0 5px;
    font-size: 0.62rem;
    font-weight: 800;
}

.btn-exec-pill[b-1obx3086fd] {
    background: #ea580c;
    color: #ffffff !important;
    border-radius: 12px;
    padding: 1px 7px;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes recurrentPulseGlow-b-1obx3086fd {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5);
        border-color: #ea580c;
    }

    50% {
        box-shadow: 0 0 0 6px rgba(234, 88, 12, 0);
        border-color: #f97316;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
        border-color: #ea580c;
    }
}

@keyframes pulseDotBlink-b-1obx3086fd {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 6px #ea580c;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
}

/* ── TIMELINE RAIL ── */
.timeline-rail-container[b-1obx3086fd] {
    position: relative;
    padding: 20px 12px;
    background: var(--nyx-paper);
    border-radius: var(--r-card);
    border: 1px solid var(--nyx-hairline);
    box-shadow: var(--shadow-card);
}

.timeline-rail-track[b-1obx3086fd] {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.timeline-step-node[b-1obx3086fd] {
    flex: 1;
    min-width: 130px;
    padding: 12px 10px;
    border-radius: var(--r-card);
    border: 2px solid var(--nyx-hairline);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: nyx-fadeIn 0.3s var(--ease-out);
    user-select: none;
}

.timeline-step-node:hover[b-1obx3086fd] {
    transform: translateY(-2px);
    border-color: var(--nyx-mist);
}

.timeline-step-node.past[b-1obx3086fd] {
    background: var(--nyx-snow);
    border-color: var(--nyx-mist);
    color: var(--nyx-smoke);
}

.timeline-step-node.current[b-1obx3086fd] {
    background: var(--nyx-carbon);
    border-color: var(--nyx-electric);
    color: var(--nyx-paper);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    z-index: 2;
}

.timeline-step-node.future[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-color: var(--nyx-hairline);
    color: var(--nyx-ash);
    opacity: 0.75;
}

.timeline-step-node.selected-stage[b-1obx3086fd] {
    border-color: var(--nyx-electric) !important;
    box-shadow: 0 0 0 3px rgba(0, 152, 242, 0.2) !important;
}

.pulse-indicator[b-1obx3086fd] {
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    background: var(--nyx-electric);
    box-shadow: 0 0 0 0 rgba(0, 152, 242, 0.6);
    animation: nyx-pulse 1.8s infinite;
    display: inline-block;
}

/* ── TRACKING CARDS ── */
.tracking-checkpoint-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card);
    border: 1px solid var(--nyx-hairline);
    padding: 16px 18px;
    transition: all var(--duration) ease;
    box-shadow: var(--shadow-card);
}

.tracking-checkpoint-card:hover[b-1obx3086fd] {
    box-shadow: var(--shadow-elevated);
}

.tracking-checkpoint-card.status-completed[b-1obx3086fd] {
    border-left: 3px solid var(--nyx-success);
    background: var(--nyx-success-bg);
}

.tracking-checkpoint-card.status-active[b-1obx3086fd] {
    border-left: 3px solid var(--nyx-electric);
    background: var(--nyx-info-bg);
    box-shadow: 0 2px 8px rgba(0, 152, 242, 0.06);
}

.tracking-checkpoint-card.status-pending[b-1obx3086fd] {
    border-left: 3px solid var(--nyx-mist);
    opacity: 0.85;
}

/* ── KEYFRAMES ── */
@@keyframes nyx-pulse {
    0%[b-1obx3086fd] {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 152, 242, 0.5);
    }

    70%[b-1obx3086fd] {
        transform: scale(1.15);
        box-shadow: 0 0 0 10px rgba(0, 152, 242, 0);
    }

    100%[b-1obx3086fd] {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 152, 242, 0);
    }
}

@@keyframes pulse-animation {
    0%[b-1obx3086fd] {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 152, 242, 0.7);
    }

    70%[b-1obx3086fd] {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(0, 152, 242, 0);
    }

    100%[b-1obx3086fd] {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 152, 242, 0);
    }
}

@@keyframes pulse-border {
    0%[b-1obx3086fd] {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    }

    70%[b-1obx3086fd] {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }

    100%[b-1obx3086fd] {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@@keyframes nyx-fadeIn {
    from[b-1obx3086fd] {
        opacity: 0;
        transform: translateY(6px);
    }

    to[b-1obx3086fd] {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes fadeInSlide {
    from[b-1obx3086fd] {
        opacity: 0;
        transform: translateY(8px);
    }

    to[b-1obx3086fd] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── HANDSHAKE MODAL REDISEÑO RADICAL V2 ── */
.aggressive-handshake-overlay[b-1obx3086fd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: nyx-fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.handshake-v2-modal[b-1obx3086fd] {
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border: 1px solid #E7E9F2;
    border-radius: 24px;
    padding: 26px 24px 24px;
    box-shadow: 0 24px 60px -24px rgba(21, 26, 46, 0.22);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #151A2E;
    position: relative;
    box-sizing: border-box;
}

/* top status row */
.handshake-v2-top-row[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.handshake-v2-badge[b-1obx3086fd] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #5B5FE9;
    background: #EEEEFD;
    padding: 6px 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.handshake-v2-badge.amber[b-1obx3086fd] {
    color: #B8790A;
    background: #FDF3D9;
}
.handshake-v2-badge svg[b-1obx3086fd],
.handshake-v2-badge .icn[b-1obx3086fd] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* hero */
.handshake-v2-hero[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}
.handshake-v2-avatar-ring[b-1obx3086fd] {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEEEFD;
    position: relative;
    margin-bottom: 14px;
}
.handshake-v2-avatar-ring[b-1obx3086fd]::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(109, 111, 255, .35);
    animation: handshakeV2Pulse-b-1obx3086fd 2.2s ease-out infinite;
}
@keyframes handshakeV2Pulse-b-1obx3086fd {
    0% { transform: scale(.9); opacity: .9; }
    80% { transform: scale(1.35); opacity: 0; }
    100% { opacity: 0; }
}
.handshake-v2-avatar-ring svg[b-1obx3086fd] {
    width: 32px;
    height: 32px;
    color: #5B5FE9;
}
.handshake-v2-title[b-1obx3086fd] {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    color: #151A2E;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.handshake-v2-subtitle[b-1obx3086fd] {
    margin: 0;
    font-size: 13px;
    color: #6B7284;
}
.handshake-v2-subtitle b[b-1obx3086fd] {
    color: #151A2E;
    font-weight: 600;
}

/* handoff flow */
.handshake-v2-flow[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F6F7FB;
    border: 1px solid #E7E9F2;
    border-radius: 14px;
    padding: 14px 12px;
    margin-bottom: 16px;
}
.handshake-v2-flow-side[b-1obx3086fd] {
    flex: 1;
    text-align: center;
}
.handshake-v2-flow-side .lbl[b-1obx3086fd] {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #A2A8BA;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.handshake-v2-flow-side .val[b-1obx3086fd] {
    font-size: 13.5px;
    font-weight: 700;
    color: #151A2E;
}
.handshake-v2-flow-side .val.muted[b-1obx3086fd] {
    color: #6B7284;
    font-weight: 600;
}
.handshake-v2-flow-arrow[b-1obx3086fd] {
    color: #5B5FE9;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.handshake-v2-flow-arrow svg[b-1obx3086fd] {
    width: 18px;
    height: 18px;
}

/* meta line */
.handshake-v2-meta-line[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #A2A8BA;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.handshake-v2-meta-line .campaign-tag[b-1obx3086fd] {
    font-size: 11px;
    font-weight: 700;
    color: #5B5FE9;
    background: #EEEEFD;
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: 20px;
}

/* comment card */
.handshake-v2-comment[b-1obx3086fd] {
    background: #F6F7FB;
    border: 1px solid #E7E9F2;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    box-shadow: 0 15px 20px -4px rgba(21, 26, 46, 0.07);
    transition: box-shadow .2s ease;
}
.handshake-v2-comment .head[b-1obx3086fd] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}
.handshake-v2-comment .head svg[b-1obx3086fd] {
    width: 14px;
    height: 14px;
    color: #5B5FE9;
    flex: 0 0 auto;
}
.handshake-v2-comment .who[b-1obx3086fd] {
    font-size: 11.5px;
    font-weight: 700;
    color: #6B7284;
}
.handshake-v2-comment .who b[b-1obx3086fd] {
    color: #5B5FE9;
    font-weight: 700;
}
.handshake-v2-comment .txt[b-1obx3086fd] {
    font-size: 13px;
    line-height: 1.4;
    color: #151A2E;
    white-space: pre-wrap;
}

/* protect note */
.handshake-v2-protect[b-1obx3086fd] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #A2A8BA;
    padding: 0 2px;
    margin-bottom: 20px;
}
.handshake-v2-protect svg[b-1obx3086fd] {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #A2A8BA;
}

/* Botones base */
.handshake-v2-btn[b-1obx3086fd] {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Contenedor principal de acciones */
.handshake-v2-main-actions[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.handshake-v2-btn-accept[b-1obx3086fd] {
    padding: 14px 18px !important;
    background: #5B5FE9 !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px -4px rgba(91, 95, 233, 0.38) !important;
}
.handshake-v2-btn-accept:hover[b-1obx3086fd] {
    background: #4F53DC !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -4px rgba(91, 95, 233, 0.45) !important;
}
.handshake-v2-btn-accept:active[b-1obx3086fd] {
    transform: translateY(0);
    box-shadow: 0 4px 12px -2px rgba(91, 95, 233, 0.35) !important;
}

.handshake-v2-btn-decline[b-1obx3086fd] {
    padding: 12px 16px !important;
    background: transparent !important;
    color: #6B7284 !important;
    border: 1.5px solid #E7E9F2 !important;
    font-weight: 600 !important;
}
.handshake-v2-btn-decline:hover[b-1obx3086fd] {
    color: #EF4B62 !important;
    border-color: #EF4B62 !important;
    background: #FCE9EC !important;
}

/* Panel de rechazo */
.handshake-v2-reject-view[b-1obx3086fd] {
    animation: handshakeV2FadeInUp-b-1obx3086fd .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes handshakeV2FadeInUp-b-1obx3086fd {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Píldora de indicación */
.handshake-v2-reject-pill[b-1obx3086fd] {
    background: #FCE9EC;
    border: 1px solid rgba(239, 75, 98, 0.22);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #EF4B62;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.handshake-v2-reject-pill svg[b-1obx3086fd] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* Dropdown Personalizado */
.handshake-v2-custom-dropdown[b-1obx3086fd] {
    position: relative;
    margin-bottom: 14px;
}
.handshake-v2-dropdown-trigger[b-1obx3086fd] {
    width: 100%;
    padding: 12px 14px;
    background: #F6F7FB;
    border: 1.5px solid #E7E9F2;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #151A2E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.handshake-v2-dropdown-trigger:hover[b-1obx3086fd] {
    border-color: #5B5FE9;
}
.handshake-v2-dropdown-trigger.open[b-1obx3086fd] {
    border-color: #5B5FE9;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.12);
}
.handshake-v2-dropdown-trigger svg[b-1obx3086fd] {
    width: 16px;
    height: 16px;
    color: #6B7284;
    transition: transform .2s ease;
}
.handshake-v2-dropdown-trigger.open svg[b-1obx3086fd] {
    transform: rotate(180deg);
}

.handshake-v2-dropdown-menu[b-1obx3086fd] {
    position: absolute;
    bottom: calc(100% + 6px); /* Despliega hacia arriba para evitar recortarse */
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E7E9F2;
    border-radius: 14px;
    box-shadow: 0 12px 28px -6px rgba(21, 26, 46, 0.16);
    overflow: hidden;
    z-index: 100;
}
.handshake-v2-dropdown-option[b-1obx3086fd] {
    padding: 11px 14px;
    font-size: 12.5px;
    color: #151A2E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .15s;
    user-select: none;
}
.handshake-v2-dropdown-option:hover[b-1obx3086fd] {
    background: #F6F7FB;
    color: #5B5FE9;
}
.handshake-v2-dropdown-option.selected[b-1obx3086fd] {
    font-weight: 700;
    background: #EEEEFD;
    color: #5B5FE9;
}

/* Botones confirmar rechazo / cancelar */
.handshake-v2-reject-actions-row[b-1obx3086fd] {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}
.handshake-v2-btn-cancel[b-1obx3086fd] {
    background: #F6F7FB !important;
    color: #6B7284 !important;
    border: 1.5px solid #E7E9F2 !important;
    padding: 12px !important;
}
.handshake-v2-btn-cancel:hover[b-1obx3086fd] {
    background: #EEF1F8 !important;
    color: #151A2E !important;
}
.handshake-v2-btn-confirm-reject[b-1obx3086fd] {
    background: #EF4B62 !important;
    color: #FFFFFF !important;
    padding: 12px !important;
    box-shadow: 0 6px 16px -4px rgba(239, 75, 98, 0.4) !important;
}
.handshake-v2-btn-confirm-reject:hover[b-1obx3086fd] {
    background: #E03E55 !important;
    transform: translateY(-1px);
}
.handshake-v2-btn-confirm-reject:active[b-1obx3086fd] {
    transform: translateY(0);
}

/* ── VENTA CREADA MODAL ── */
.venta-modal-overlay[b-1obx3086fd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: nyx-fadeIn 0.25s var(--ease-out);
}

.venta-modal-box[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card-lg);
    max-width: 1100px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-modal);
    overflow: hidden;
    border: 1px solid var(--nyx-hairline);
}

.venta-modal-header[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-bottom: 1px solid var(--nyx-hairline);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.venta-modal-body[b-1obx3086fd] {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    background: var(--nyx-snow);
}

/* ── FORM CARDS (Acctual-style: clean, 16px radius) ── */
.venta-section-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card);
    border: 1px solid var(--nyx-hairline);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-card);
}

.venta-section-title[b-1obx3086fd] {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--nyx-ink);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    letter-spacing: -0.02em;
}

.venta-field-label[b-1obx3086fd] {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--nyx-smoke);
    margin-bottom: 4px;
    display: block;
    letter-spacing: -0.01em;
}

.venta-field-input[b-1obx3086fd] {
    background: var(--nyx-paper);
    border: 1px solid var(--nyx-mist);
    border-radius: var(--r-input);
    font-family: var(--font-body);
    font-size: 0.82rem;
    padding: 8px 12px;
    width: 100%;
    color: var(--nyx-ink);
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
    letter-spacing: -0.01em;
}

.venta-field-input:focus[b-1obx3086fd] {
    border-color: var(--nyx-electric);
    box-shadow: 0 0 0 3px rgba(0, 152, 242, 0.12);
    outline: none;
}

.venta-field-input[b-1obx3086fd]::placeholder {
    color: var(--nyx-ash);
}

/* ── CHECKLIST ITEMS ── */
.venta-chk-item[b-1obx3086fd] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    transition: background-color 0.15s ease;
    letter-spacing: -0.01em;
}

.venta-chk-item.checked[b-1obx3086fd] {
    background: var(--nyx-success-bg);
    color: #166534;
    font-weight: 600;
}

.venta-chk-item.unchecked[b-1obx3086fd] {
    color: var(--nyx-fog);
}

.venta-chk-icon[b-1obx3086fd] {
    width: 18px;
    height: 18px;
    border-radius: var(--r-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all var(--duration) ease;
}

.venta-chk-icon.checked[b-1obx3086fd] {
    background: var(--nyx-success);
    color: var(--nyx-paper);
}

.venta-chk-icon.unchecked[b-1obx3086fd] {
    background: var(--nyx-hairline);
    color: var(--nyx-ash);
}

/* ── CLOSE BUTTON ── */
.btn-close-modal[b-1obx3086fd] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-close-modal:hover[b-1obx3086fd] {
    background: #EF4444;
    border-color: #DC2626;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
    transform: translateY(-1px) rotate(90deg);
}

/* ── SIMULATION BUTTON (Aaply: Electric Yellow) ── */
.btn-simulate[b-1obx3086fd] {
    background: var(--nyx-yellow);
    color: var(--nyx-carbon);
    border-radius: var(--r-pill);
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-btn);
    letter-spacing: -0.02em;
}

.btn-simulate:hover[b-1obx3086fd] {
    background: #d4d31b;
    transform: translateY(-1px);
    box-shadow: var(--shadow-elevated);
}

/* ── PREVIEW CARD (Acctual: Invoice-style) ── */
.preview-invoice-card[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card);
    border: 1px solid var(--nyx-hairline);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}

.preview-invoice-card .eyebrow[b-1obx3086fd] {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nyx-smoke);
}

.preview-invoice-card .amount[b-1obx3086fd] {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--nyx-ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.preview-line-item[b-1obx3086fd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
}

.preview-line-item:last-child[b-1obx3086fd] {
    border-bottom: none;
}

.preview-line-item .label[b-1obx3086fd] {
    color: var(--nyx-smoke);
}

.preview-line-item .value[b-1obx3086fd] {
    color: var(--nyx-ink);
    font-weight: 600;
}

/* ── PROGRESS BAR ── */
.nyx-progress[b-1obx3086fd] {
    height: 4px;
    border-radius: var(--r-pill);
    background: var(--nyx-hairline);
    overflow: hidden;
}

.nyx-progress-bar[b-1obx3086fd] {
    height: 100%;
    border-radius: var(--r-pill);
    background: var(--nyx-electric);
    transition: width 0.4s var(--ease-out);
}

.nyx-progress-bar.complete[b-1obx3086fd] {
    background: var(--nyx-success);
}

/* ── KEYBOARD SHORTCUT BADGE ── */
.kbd-hint[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    color: var(--nyx-fog);
    opacity: 0.7;
}

.kbd-hint kbd[b-1obx3086fd] {
    background: var(--nyx-snow);
    border: 1px solid var(--nyx-hairline);
    border-radius: 4px;
    padding: 1px 5px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--nyx-smoke);
}

/* ── BADGE OVERRIDES (Aaply pills) ── */
.nyx-badge[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
}

.nyx-badge.primary[b-1obx3086fd] {
    background: var(--nyx-info-bg);
    color: #0369a1;
    border-color: rgba(0, 152, 242, 0.15);
}

.nyx-badge.success[b-1obx3086fd] {
    background: var(--nyx-success-bg);
    color: #059669;
    border-color: rgba(34, 197, 94, 0.15);
}

.nyx-badge.warning[b-1obx3086fd] {
    background: var(--nyx-warning-bg);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.15);
}

.nyx-badge.neutral[b-1obx3086fd] {
    background: var(--nyx-snow);
    color: var(--nyx-smoke);
    border-color: var(--nyx-hairline);
}

/* ── FILTER BAR ── */
.nyx-filter-bar[b-1obx3086fd] {
    background: var(--nyx-paper);
    border-radius: var(--r-card) !important;
    border: 1px solid var(--nyx-hairline) !important;
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px !important;
}

.nyx-filter-bar .form-select[b-1obx3086fd],
.nyx-filter-bar .form-control[b-1obx3086fd] {
    border-radius: var(--r-input);
    border-color: var(--nyx-mist);
    font-size: 0.82rem;
    font-family: var(--font-body);
    color: var(--nyx-ink);
    transition: border-color var(--duration) ease;
}

.nyx-filter-bar .form-select:focus[b-1obx3086fd],
.nyx-filter-bar .form-control:focus[b-1obx3086fd] {
    border-color: var(--nyx-electric);
    box-shadow: 0 0 0 3px rgba(0, 152, 242, 0.1);
}

/* ── GENERAL OVERRIDES FOR MUD BLAZOR ── */
.form-select[b-1obx3086fd],
.form-control[b-1obx3086fd] {
    font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════════════════════════
       NOTA MEMO CON CLIP METÁLICO (Skeumorphism Moderno & Premium)
       ═══════════════════════════════════════════════════════════════════ */
.memo-modal-box[b-1obx3086fd] {
    background: #fffdf2;
    background-image:
        linear-gradient(#f1eee0 1px, transparent 1px),
        linear-gradient(90deg, #f1eee0 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: -1px -1px;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(217, 119, 6, 0.2);
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 20px auto;
    padding-top: 14px;
    animation: memoPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 5px solid #f59e0b;
    overflow: visible;
}

@@keyframes memoPopIn {
    0%[b-1obx3086fd] {
        transform: scale(0.96) translateY(12px);
        opacity: 0;
    }

    100%[b-1obx3086fd] {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Clip metálico realista 3D */
.memo-metallic-clip[b-1obx3086fd] {
    position: absolute;
    top: -18px;
    left: 42px;
    width: 24px;
    height: 54px;
    border: 4px solid #94a3b8;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    background: transparent;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.25), inset 1px 1px 2px rgba(255, 255, 255, 0.95);
    z-index: 1050;
    pointer-events: none;
}

.memo-metallic-clip[b-1obx3086fd]::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 3px;
    width: 10px;
    height: 38px;
    border: 3px solid #64748b;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: transparent;
}

.memo-metallic-clip[b-1obx3086fd]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 24px;
    height: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    filter: blur(1px);
}

/* Cinta / Cabecera de Nota Memo */
.memo-header[b-1obx3086fd] {
    padding: 16px 28px 12px 76px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(217, 119, 6, 0.3);
}

.memo-body[b-1obx3086fd] {
    padding: 24px 28px;
}

.memo-card-field[b-1obx3086fd] {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.05);
}

.memo-card-field .venta-field-label[b-1obx3086fd] {
    color: #78350f;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: block;
}

.memo-card-field .venta-field-input[b-1obx3086fd] {
    background: #fffdf5;
    border: 1px solid #fde68a;
    color: #1e1e1e;
    border-radius: 8px;
    font-size: 0.85rem;
}

.memo-card-field .venta-field-input:focus[b-1obx3086fd] {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background: #ffffff;
}

/* Botón Nota en el Path y Tablas (Etapa 1 - Preventa) */
.btn-memo-note[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e !important;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-memo-note:hover[b-1obx3086fd] {
    background: #fde68a;
    color: #78350f !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.btn-memo-note i[b-1obx3086fd] {
    font-size: 0.85rem;
    color: #d97706;
}

/* Botón Ficha de Venta en Tablas (Etapa 2 en adelante - Venta Creada / Gestión) */
.btn-ficha-action[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46 !important;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-ficha-action:hover[b-1obx3086fd] {
    background: #10b981;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

.btn-ficha-action i[b-1obx3086fd] {
    font-size: 0.85rem;
    color: #059669;
}

.btn-ficha-action:hover i[b-1obx3086fd] {
    color: #ffffff;
}

/* Botón Asignar / Derivar */
.btn-assign-action[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    background: #fef9c3;
    border: 1px solid #eab308;
    color: #854d0e !important;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(234, 179, 8, 0.2);
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-assign-action:hover[b-1obx3086fd] {
    background: #eab308;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(234, 179, 8, 0.35);
}

/* Botón Devolver al Dueño */
.btn-revert-action[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    background: #fef2f2;
    border: 1px solid #f87171;
    color: #991b1b !important;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.15);
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-revert-action:hover[b-1obx3086fd] {
    background: #ef4444;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}

/* Pill de Etapa en Tabla */
.btn-stage-pill[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-stage-pill.active[b-1obx3086fd] {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af !important;
}

.btn-stage-pill.active:hover[b-1obx3086fd] {
    background: #1e40af;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(30, 64, 175, 0.25);
}

.btn-stage-pill.active .stage-tag[b-1obx3086fd] {
    background: rgba(30, 64, 175, 0.12);
    color: #1e40af;
    padding: 1px 6px;
    border-radius: var(--r-pill);
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-stage-pill.active:hover .stage-tag[b-1obx3086fd] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-stage-pill.closed[b-1obx3086fd] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b !important;
}

.btn-stage-pill.closed:hover[b-1obx3086fd] {
    background: #991b1b;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(153, 27, 27, 0.25);
}

.btn-stage-pill.closed .stage-tag[b-1obx3086fd] {
    background: rgba(153, 27, 27, 0.12);
    color: #991b1b;
    padding: 1px 6px;
    border-radius: var(--r-pill);
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-stage-pill.closed:hover .stage-tag[b-1obx3086fd] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-stage-pill.completed[b-1obx3086fd] {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46 !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15);
}

.btn-stage-pill.completed:hover[b-1obx3086fd] {
    background: #059669;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

.btn-stage-pill.completed .stage-tag[b-1obx3086fd] {
    background: rgba(5, 150, 105, 0.15);
    color: #065f46;
    padding: 1px 6px;
    border-radius: var(--r-pill);
    font-size: 0.65rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.btn-stage-pill.completed:hover .stage-tag[b-1obx3086fd] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Badges de Tabla de Alto Contraste */
.nyx-table-badge[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.nyx-table-badge.primary[b-1obx3086fd] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.nyx-table-badge.warning[b-1obx3086fd] {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.nyx-table-badge.info[b-1obx3086fd] {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.nyx-table-badge.danger[b-1obx3086fd] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.nyx-table-badge.secondary[b-1obx3086fd] {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.nyx-table-badge.success[b-1obx3086fd] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

@@media (max-width: 1024px) {
    .nyx-filter-bar .row[b-1obx3086fd] {
        flex-direction: column;
    }
    .nyx-filter-bar .row > [class*="col-md"][b-1obx3086fd] {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@@media (max-width: 768px) {
    .asesor-hero-card[b-1obx3086fd] {
        padding: 18px 16px;
    }

    .venta-modal-box[b-1obx3086fd],
    .memo-modal-box[b-1obx3086fd] {
        max-width: 100%;
        border-radius: var(--r-card);
    }

    .venta-modal-body[b-1obx3086fd],
    .memo-body[b-1obx3086fd] {
        padding: 14px 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
       CARDS DEL HISTÓRICO GENERAL DE GESTIÓN (DISEÑO SEGÚN IMÁGENES)
       ═══════════════════════════════════════════════════════════════════ */
.asesor-cards-grid[b-1obx3086fd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 12px;
    position: relative;
    align-items: stretch;
}

.asesor-lead-card[b-1obx3086fd] {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: visible;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

/* ── RESPIRACIÓN ZOOM CUANDO LE TOCA AL ASESOR ── */
.asesor-lead-card[b-1obx3086fd]::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: 0 10px 24px rgba(13, 36, 71, 0.20), 0 0 12px rgba(0, 152, 242, 0.18);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.asesor-lead-card:hover[b-1obx3086fd] {
    z-index: 5;
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16), 0 4px 8px rgba(15, 23, 42, 0.08) !important;
    border-color: #0098f2 !important;
}

.asesor-lead-card:active[b-1obx3086fd] {
    transform: translateY(-1px) scale(1) !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22), 0 2px 5px rgba(15, 23, 42, 0.14) !important;
}

.asesor-lead-card.card-dropdown-active[b-1obx3086fd] {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22), 0 6px 12px rgba(15, 23, 42, 0.12) !important;
    border-color: #0098f2 !important;
}

.card-accent-stripe[b-1obx3086fd] {
    display: none !important;
}

.card-inner-content[b-1obx3086fd] {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.card-stage-info[b-1obx3086fd] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
}

.card-stage-label[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    color: #1e293b;
    font-size: 0.74rem;
    font-weight: 700;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-stage-pct[b-1obx3086fd] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    font-family: var(--font-mono, monospace);
}

.card-header-row[b-1obx3086fd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    min-height: 32px;
}

.card-meta-info[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.card-lead-id[b-1obx3086fd] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.01em;
}

.card-lead-date[b-1obx3086fd] {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.btn-card-dots[b-1obx3086fd] {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-card-dots:hover[b-1obx3086fd] {
    background: #f1f5f9;
    color: #0f172a;
}

.card-client-name[b-1obx3086fd] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: capitalize;
    word-break: break-word;
    height: auto;
    min-height: auto;
    max-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 4px;
}

.card-phone-pill[b-1obx3086fd] {
    background-color: #f1f5f9;
    border-radius: 99px;
    padding: 4px 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    border: 1px solid #e2e8f0;
}

.card-phone-number[b-1obx3086fd] {
    letter-spacing: 0.02em;
}

.btn-copy-phone[b-1obx3086fd] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.88rem;
    padding: 2px 4px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-copy-phone:hover[b-1obx3086fd] {
    background: #e2e8f0;
    color: #0098f2;
    transform: scale(1.08);
}

.card-details-grid[b-1obx3086fd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.card-detail-col[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
}

.card-detail-label[b-1obx3086fd] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
}

.card-detail-value[b-1obx3086fd] {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.82rem;
}

.badge-dni-pendiente[b-1obx3086fd] {
    background-color: #fef3c7;
    color: #b45309;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
}

/* ── BARRA DE CARGA / PROGRESO DE CHECKPOINTS (MOTOR DE FLUJO) ── */
.card-progress-track[b-1obx3086fd] {
    width: 100%;
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 8px;
    position: relative;
}

.card-progress-bar[b-1obx3086fd] {
    height: 100%;
    border-radius: 9999px;
    background: #1e3a8a;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-progress-bar.completed[b-1obx3086fd] {
    background: #10b981;
}

.card-progress-bar.closed[b-1obx3086fd] {
    background: #ef4444;
}

.card-progress-glow[b-1obx3086fd] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    animation: progressShimmer-b-1obx3086fd 2.2s infinite ease-in-out;
}

@keyframes progressShimmer-b-1obx3086fd {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.card-footer-row[b-1obx3086fd] {
    margin-top: 0;
    padding-top: 0;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-pill-badge[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: #e2e8f0;
    color: #1e293b;
    transition: all 0.15s ease;
    user-select: none;
}

.card-pill-badge i[b-1obx3086fd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.card-pill-badge.locked[b-1obx3086fd] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.card-pill-badge.assigned[b-1obx3086fd] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

:global([data-theme="dark"]) .card-pill-badge.assigned[b-1obx3086fd] {
    background: rgba(234, 88, 12, 0.15);
    color: #fb923c;
    border-color: rgba(234, 88, 12, 0.3);
}

.card-pill-badge.completed[b-1obx3086fd] {
    background: var(--ok-soft, #f0fdf4);
    color: var(--ok, #166534);
    border: 1px solid var(--ok-line, #bbf7d0);
}

.card-pill-badge.closed[b-1obx3086fd] {
    background: var(--err-soft, #fef2f2);
    color: var(--err, #991b1b);
    border: 1px solid var(--err-line, #fecaca);
}

.card-pill-badge.actionable[b-1obx3086fd] {
    cursor: pointer;
}

.card-pill-badge.actionable.primary[b-1obx3086fd] {
    background: var(--brand-soft, #eff6ff);
    color: var(--brand, #1d4ed8);
    border: 1px solid var(--brand-ring, #bfdbfe);
}

.card-pill-badge.actionable.primary:hover[b-1obx3086fd] {
    background: var(--brand, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 2px 6px var(--brand-ring, rgba(29, 78, 216, 0.25));
}

.card-pill-badge.actionable.success[b-1obx3086fd] {
    background: var(--ok-soft, #f0fdf4);
    color: var(--ok, #15803d);
    border: 1px solid var(--ok-line, #bbf7d0);
}

.card-pill-badge.actionable.success:hover[b-1obx3086fd] {
    background: var(--ok, #15803d);
    color: #ffffff;
    box-shadow: 0 2px 6px var(--ok-soft, rgba(21, 128, 61, 0.25));
}

.card-pill-badge.neutral[b-1obx3086fd] {
    background: var(--surface-2, #f1f5f9);
    color: var(--text-2, #334155);
    border: 1px solid var(--line, #e2e8f0);
    cursor: pointer;
}

.card-pill-badge.neutral:hover[b-1obx3086fd] {
    background: #e2e8f0;
}

.card-status-pill-container[b-1obx3086fd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.card-pill-badge.actionable-omitted[b-1obx3086fd] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    cursor: pointer;
    font-size: 0.76rem;
    padding: 4px 10px;
}

.card-pill-badge.actionable-omitted:hover[b-1obx3086fd] {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #d97706 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    transform: translateY(-1px);
}

.card-pill-badge.actionable-omitted:hover i[b-1obx3086fd] {
    color: #ffffff !important;
}

.card-pill-badge.actionable-recurrent[b-1obx3086fd] {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    cursor: pointer;
    font-size: 0.76rem;
    padding: 4px 10px;
}

.card-pill-badge.actionable-recurrent:hover[b-1obx3086fd] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
    transform: translateY(-1px);
}

.card-pill-badge.actionable-recurrent:hover i[b-1obx3086fd] {
    color: #ffffff !important;
}

/* ── ANIMACIÓN DE RESPIRACIÓN EN LA PILA (CALL-TO-ACTION CHECKPOINT ACTIVO) ── */
@keyframes pillBreathePrimary-b-1obx3086fd {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 152, 242, 0);
        border-color: #bfdbfe;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(0, 152, 242, 0.25), 0 4px 12px rgba(0, 152, 242, 0.35);
        border-color: #0098f2;
        background: #e0f2fe;
    }
}

@keyframes pillBreatheSuccess-b-1obx3086fd {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
        border-color: #bbf7d0;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25), 0 4px 12px rgba(22, 163, 74, 0.35);
        border-color: #16a34a;
        background: #dcfce7;
    }
}

@keyframes pillBreatheOmitted-b-1obx3086fd {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
        border-color: #fde68a;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.25), 0 4px 12px rgba(217, 119, 6, 0.35);
        border-color: #d97706;
        background: #fef3c7;
    }
}

@keyframes pillBreatheRecurrent-b-1obx3086fd {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
        border-color: #bae6fd;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.25), 0 4px 12px rgba(2, 132, 199, 0.35);
        border-color: #0284c7;
        background: #e0f2fe;
    }
}

.card-pill-badge.pill-breathe-pulse[b-1obx3086fd] {
    position: relative;
    z-index: 3;
    font-weight: 700;
}

.card-pill-badge.pill-breathe-pulse.pill-breathe-primary[b-1obx3086fd] {
    animation: pillBreathePrimary-b-1obx3086fd 2.2s ease-in-out infinite;
}

.card-pill-badge.pill-breathe-pulse.pill-breathe-success[b-1obx3086fd] {
    animation: pillBreatheSuccess-b-1obx3086fd 2.2s ease-in-out infinite;
}

.card-pill-badge.pill-breathe-pulse.pill-breathe-omitted[b-1obx3086fd] {
    animation: pillBreatheOmitted-b-1obx3086fd 2.2s ease-in-out infinite;
}

.card-pill-badge.actionable-optional[b-1obx3086fd] {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
    cursor: pointer;
    font-size: 0.76rem;
    padding: 4px 10px;
}

.card-pill-badge.actionable-optional:hover[b-1obx3086fd] {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.card-pill-badge.actionable-optional:hover i[b-1obx3086fd] {
    color: #ffffff !important;
}

@keyframes pillBreatheOptional-b-1obx3086fd {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
        border-color: #ddd6fe;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25), 0 4px 12px rgba(124, 58, 237, 0.35);
        border-color: #7c3aed;
        background: #ede9fe;
    }
}

.card-pill-badge.pill-breathe-pulse.pill-breathe-recurrent[b-1obx3086fd] {
    animation: pillBreatheRecurrent-b-1obx3086fd 2.2s ease-in-out infinite;
}

.card-pill-badge.pill-breathe-pulse.pill-breathe-optional[b-1obx3086fd] {
    animation: pillBreatheOptional-b-1obx3086fd 2.2s ease-in-out infinite;
}

.card-pill-badge.pill-breathe-pulse:hover[b-1obx3086fd] {
    animation: none !important;
    transform: translateY(-1px) scale(1.06) !important;
}

.card-pill-badge.pill-breathe-pulse:active[b-1obx3086fd] {
    animation: none !important;
    transform: translateY(0) scale(0.98) !important;
}

/* ── MENÚ DESPLEGABLE TRES PUNTOS (IMAGEN 2) ── */
.card-dropdown-active[b-1obx3086fd] {
    z-index: 1060 !important;
}

.card-dropdown-menu-custom[b-1obx3086fd] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 1070;
    min-width: 180px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.18), 0 8px 12px -6px rgba(15, 23, 42, 0.1);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: fadeInMenu-b-1obx3086fd 0.15s ease-out;
    pointer-events: auto;
}

@keyframes fadeInMenu-b-1obx3086fd {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-dropdown-item-custom[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    z-index: 1080;
}

.card-dropdown-item-custom:hover[b-1obx3086fd] {
    background: #f1f5f9;
}

.card-dropdown-text[b-1obx3086fd] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.card-dropdown-icon[b-1obx3086fd] {
    font-size: 1.15rem;
    color: #475569;
}

.card-dropdown-item-custom:hover .card-dropdown-text[b-1obx3086fd] {
    color: #0f172a;
}

.card-dropdown-item-custom:hover .card-dropdown-icon[b-1obx3086fd] {
    color: #1e293b;
}

.card-menu-backdrop[b-1obx3086fd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: transparent;
}

/* ── TABLA MODERNA DEL ASESOR ── */
.table-modern-asesor[b-1obx3086fd] {
    width: 100%;
    border-collapse: collapse;
}

.table-modern-asesor thead th[b-1obx3086fd] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.table-modern-asesor tbody tr[b-1obx3086fd] {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.table-modern-asesor tbody tr:nth-child(even)[b-1obx3086fd] {
    background-color: rgba(0, 0, 0, 0.015);
}

.table-modern-asesor tbody tr:hover[b-1obx3086fd] {
    background-color: #f1f5f9;
}

.table-modern-asesor tbody td[b-1obx3086fd] {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 0.84rem;
}

.btn-copy-phone-table[b-1obx3086fd] {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.15s ease;
}

.btn-copy-phone-table:hover[b-1obx3086fd] {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* ═══════════════════════════════════════════════════════════════════
   DERIVACIÓN PROGRESIVA (HANDSHAKE) · REDISEÑO RADICAL
   ═══════════════════════════════════════════════════════════════════ */
.audit-close-btn[b-1obx3086fd] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    padding: 0;
}

.audit-close-btn:hover[b-1obx3086fd] {
    background: #EF4444;
    border-color: #DC2626;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
    transform: translateY(-1px) rotate(90deg);
}

.derivacion-modal[b-1obx3086fd] {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
    animation: derivacionPopIn-b-1obx3086fd 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
    pointer-events: auto !important;
    z-index: 11005;
}

@keyframes derivacionPopIn-b-1obx3086fd {
    from { opacity: 0; transform: scale(0.97) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.derivacion-header[b-1obx3086fd] {
    padding: 22px 24px 18px;
    background: #FFFFFF;
    border-bottom: 1px solid #EDF2F7;
}

.derivacion-header-top[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.derivacion-badges[b-1obx3086fd] {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.derivacion-badge[b-1obx3086fd] {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

.derivacion-badge-indigo[b-1obx3086fd] {
    color: #5B5FE9;
    background: #EEF0FD;
}

.derivacion-badge-neutral[b-1obx3086fd] {
    color: #64748B;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.derivacion-lead-summary[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.derivacion-customer-name[b-1obx3086fd] {
    font-family: 'Plus Jakarta Sans', var(--font-display, sans-serif);
    font-weight: 800;
    letter-spacing: -0.035em;
    font-size: 19px;
    color: #0F172A;
    text-transform: capitalize;
    margin: 0;
    line-height: 1.25;
}

.derivacion-lead-meta[b-1obx3086fd] {
    font-size: 12px;
    color: #64748B;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.derivacion-lead-meta span b[b-1obx3086fd] {
    color: #0F172A;
    font-weight: 600;
}

.derivacion-body[b-1obx3086fd] {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
}

.derivacion-form-group[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.derivacion-form-label[b-1obx3086fd] {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.derivacion-form-label .req[b-1obx3086fd] {
    color: #F43F5E;
}

.derivacion-form-label svg[b-1obx3086fd] {
    color: #5B5FE9;
    width: 15px;
    height: 15px;
}

.derivacion-select-wrapper[b-1obx3086fd] {
    position: relative;
}

.derivacion-select-trigger[b-1obx3086fd] {
    width: 100%;
    padding: 11px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
}

.derivacion-select-trigger:hover[b-1obx3086fd] {
    border-color: #5B5FE9;
}

.derivacion-select-trigger.open[b-1obx3086fd] {
    border-color: #5B5FE9;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.12);
}

.derivacion-selected-user[b-1obx3086fd] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.derivacion-avatar-mini[b-1obx3086fd] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #EEF0FD;
    color: #5B5FE9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.derivacion-dropdown-backdrop[b-1obx3086fd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11010;
    background: transparent;
}

.derivacion-select-menu[b-1obx3086fd] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    z-index: 11020;
    max-height: 240px;
    overflow-y: auto;
}

.derivacion-user-option[b-1obx3086fd] {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background .15s;
    font-size: 12.5px;
}

.derivacion-user-option:hover[b-1obx3086fd] {
    background: #F8FAFC;
}

.derivacion-user-option.selected[b-1obx3086fd] {
    background: #EEF0FD;
}

.derivacion-user-status[b-1obx3086fd] {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.derivacion-status-online[b-1obx3086fd] {
    background: #ECFDF5;
    color: #10B981;
}

.derivacion-status-busy[b-1obx3086fd] {
    background: #FFFBEB;
    color: #F59E0B;
}

.derivacion-textarea[b-1obx3086fd] {
    width: 100%;
    min-height: 95px;
    padding: 12px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    color: #0F172A;
    line-height: 1.45;
    outline: none;
    resize: none;
    transition: all .15s ease;
}

.derivacion-textarea[b-1obx3086fd]::placeholder {
    color: #94A3B8;
    font-size: 12.5px;
}

.derivacion-textarea:focus[b-1obx3086fd] {
    background: #FFFFFF;
    border-color: #5B5FE9;
    box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.12);
}

.derivacion-info-pill[b-1obx3086fd] {
    background: #F1F4F9;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 11.5px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.derivacion-info-pill svg[b-1obx3086fd] {
    width: 15px;
    height: 15px;
    color: #5B5FE9;
    flex-shrink: 0;
}

.derivacion-actions[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.derivacion-btn[b-1obx3086fd] {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
}

.derivacion-btn-cancel[b-1obx3086fd] {
    background: transparent;
    border: 1.5px solid #E2E8F0;
    color: #64748B;
    padding: 10px 18px;
}

.derivacion-btn-cancel:hover[b-1obx3086fd] {
    background: #F8FAFC;
    color: #0F172A;
}

.derivacion-btn-submit[b-1obx3086fd] {
    background: #5B5FE9;
    color: #FFFFFF;
    padding: 10px 20px;
    box-shadow: 0 6px 18px -4px rgba(91, 95, 233, 0.4);
}

.derivacion-btn-submit:hover[b-1obx3086fd] {
    background: #4F53DC;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -4px rgba(91, 95, 233, 0.48);
}

.derivacion-btn-submit:active[b-1obx3086fd] {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   DEVOLVER GESTIÓN AL PROPIETARIO · REDISEÑO RADICAL 2
   ═══════════════════════════════════════════════════════════════════ */
.devolucion-modal[b-1obx3086fd] {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
    animation: devolucionPopIn-b-1obx3086fd 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
    pointer-events: auto !important;
    z-index: 11005;
}

@keyframes devolucionPopIn-b-1obx3086fd {
    from { opacity: 0; transform: scale(0.97) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.devolucion-header[b-1obx3086fd] {
    padding: 22px 24px 18px;
    background: #FFFFFF;
    border-bottom: 1px solid #EDF2F7;
}

.devolucion-header-top[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.devolucion-badges[b-1obx3086fd] {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.devolucion-badge[b-1obx3086fd] {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

.devolucion-badge-return[b-1obx3086fd] {
    color: #EF4B62;
    background: #FCE9EC;
    border: 1px solid rgba(239, 75, 98, 0.2);
}

.devolucion-badge-neutral[b-1obx3086fd] {
    color: #64748B;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.devolucion-lead-summary[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.devolucion-customer-name[b-1obx3086fd] {
    font-family: 'Plus Jakarta Sans', var(--font-display, sans-serif);
    font-weight: 800;
    letter-spacing: -0.035em;
    font-size: 19px;
    color: #0F172A;
    text-transform: capitalize;
    margin: 0;
    line-height: 1.25;
}

.devolucion-lead-meta[b-1obx3086fd] {
    font-size: 12px;
    color: #64748B;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.devolucion-lead-meta span b[b-1obx3086fd] {
    color: #0F172A;
    font-weight: 600;
}

.devolucion-body[b-1obx3086fd] {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #FFFFFF;
}

.devolucion-callout-info[b-1obx3086fd] {
    background: #EEF0FD;
    border: 1px solid rgba(91, 95, 233, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.42;
    font-size: 12px;
    color: #0F172A;
}

.devolucion-callout-info svg[b-1obx3086fd] {
    width: 17px;
    height: 17px;
    color: #5B5FE9;
    flex-shrink: 0;
    margin-top: 1px;
}

.devolucion-callout-info b[b-1obx3086fd] {
    color: #5B5FE9;
    font-weight: 700;
}

.devolucion-form-group[b-1obx3086fd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.devolucion-form-label[b-1obx3086fd] {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.devolucion-form-label .req[b-1obx3086fd] {
    color: #EF4B62;
}

.devolucion-form-label svg[b-1obx3086fd] {
    color: #5B5FE9;
    width: 15px;
    height: 15px;
}

.devolucion-textarea[b-1obx3086fd] {
    width: 100%;
    min-height: 85px;
    padding: 12px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    color: #0F172A;
    line-height: 1.45;
    outline: none;
    resize: none;
    transition: all .15s ease;
}

.devolucion-textarea:focus[b-1obx3086fd] {
    background: #FFFFFF;
    border-color: #5B5FE9;
    box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.12);
}

.devolucion-actions[b-1obx3086fd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.devolucion-btn[b-1obx3086fd] {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
}

.devolucion-btn-cancel[b-1obx3086fd] {
    background: transparent;
    border: 1.5px solid #E2E8F0;
    color: #64748B;
    padding: 10px 18px;
}

.devolucion-btn-cancel:hover[b-1obx3086fd] {
    background: #F8FAFC;
    color: #0F172A;
}

.devolucion-btn-confirm[b-1obx3086fd] {
    background: #EF4B62;
    color: #FFFFFF;
    padding: 10px 20px;
    box-shadow: 0 6px 18px -4px rgba(239, 75, 98, 0.4);
}

.devolucion-btn-confirm:hover[b-1obx3086fd] {
    background: #E03A51;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -4px rgba(239, 75, 98, 0.48);
}

.devolucion-btn-confirm:active[b-1obx3086fd] {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE COMPREHENSIVE OVERRIDES FOR ASESOR DASHBOARD
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] .asesor-lead-card[b-1obx3086fd],
.theme-dark .asesor-lead-card[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .asesor-lead-card:hover[b-1obx3086fd],
.theme-dark .asesor-lead-card:hover[b-1obx3086fd] {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 152, 242, 0.3) !important;
    border-color: #0098f2 !important;
}

[data-theme="dark"] .card-client-name[b-1obx3086fd],
.theme-dark .card-client-name[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .card-phone-pill[b-1obx3086fd],
.theme-dark .card-phone-pill[b-1obx3086fd] {
    background-color: #162032 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .card-phone-pill i[b-1obx3086fd],
.theme-dark .card-phone-pill i[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .card-detail-value[b-1obx3086fd],
.theme-dark .card-detail-value[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .card-detail-label[b-1obx3086fd],
.theme-dark .card-detail-label[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-hero-cta[b-1obx3086fd],
.theme-dark .btn-hero-cta[b-1obx3086fd] {
    background: #0098f2 !important;
    border-color: #0098f2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 152, 242, 0.35) !important;
}

[data-theme="dark"] .btn-hero-cta:hover[b-1obx3086fd],
.theme-dark .btn-hero-cta:hover[b-1obx3086fd] {
    background: #0080cc !important;
    border-color: #0080cc !important;
}

[data-theme="dark"] .hero-toggle-group[b-1obx3086fd],
.theme-dark .hero-toggle-group[b-1obx3086fd],
[data-theme="dark"] .btn-hero-search[b-1obx3086fd],
.theme-dark .btn-hero-search[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hero-toggle-btn:not(.active)[b-1obx3086fd],
.theme-dark .hero-toggle-btn:not(.active)[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hero-toggle-btn.active[b-1obx3086fd],
.theme-dark .hero-toggle-btn.active[b-1obx3086fd] {
    background: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="dark"] .card-pill-badge[b-1obx3086fd],
.theme-dark .card-pill-badge[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .card-progress-track[b-1obx3086fd],
.theme-dark .card-progress-track[b-1obx3086fd] {
    background-color: #1f293d !important;
}

[data-theme="dark"] .card-dropdown-menu-custom[b-1obx3086fd],
.theme-dark .card-dropdown-menu-custom[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .card-dropdown-item-custom[b-1obx3086fd],
.theme-dark .card-dropdown-item-custom[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .card-dropdown-item-custom:hover[b-1obx3086fd],
.theme-dark .card-dropdown-item-custom:hover[b-1obx3086fd] {
    background: #1e293b !important;
}

/* ── TABLA MODERNA DEL ASESOR DARK THEME ── */
[data-theme="dark"] .table-modern-asesor[b-1obx3086fd],
.theme-dark .table-modern-asesor[b-1obx3086fd] {
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    --bs-table-hover-bg: #1e293b !important;
    --bs-table-border-color: #1f293d !important;
    background-color: transparent !important;
}

[data-theme="dark"] .table-modern-asesor thead th[b-1obx3086fd],
.theme-dark .table-modern-asesor thead th[b-1obx3086fd] {
    background-color: #111827 !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid #1f293d !important;
}

[data-theme="dark"] .table-modern-asesor tbody tr[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr[b-1obx3086fd] {
    background-color: transparent !important;
    border-bottom: 1px solid #1f293d !important;
}

[data-theme="dark"] .table-modern-asesor tbody tr > *[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr > *[b-1obx3086fd] {
    background-color: transparent !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .table-modern-asesor tbody tr:nth-child(even)[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr:nth-child(even)[b-1obx3086fd],
[data-theme="dark"] .table-modern-asesor tbody tr:nth-child(even) > *[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr:nth-child(even) > *[b-1obx3086fd] {
    background-color: rgba(255, 255, 255, 0.025) !important;
}

[data-theme="dark"] .table-modern-asesor tbody tr:hover[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr:hover[b-1obx3086fd],
[data-theme="dark"] .table-modern-asesor tbody tr:hover > *[b-1obx3086fd],
.theme-dark .table-modern-asesor tbody tr:hover > *[b-1obx3086fd] {
    background-color: #1e293b !important;
}

[data-theme="dark"] .table-modern-asesor .text-dark[b-1obx3086fd],
.theme-dark .table-modern-asesor .text-dark[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .table-modern-asesor .text-muted[b-1obx3086fd],
.theme-dark .table-modern-asesor .text-muted[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-copy-phone-table[b-1obx3086fd],
.theme-dark .btn-copy-phone-table[b-1obx3086fd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-copy-phone-table:hover[b-1obx3086fd],
.theme-dark .btn-copy-phone-table:hover[b-1obx3086fd] {
    background: #334155 !important;
    color: #ffffff !important;
}

/* ── MODAL DERIVACIÓN PROGRESIVA DARK THEME ── */
[data-theme="dark"] .derivacion-modal[b-1obx3086fd],
.theme-dark .derivacion-modal[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-header[b-1obx3086fd],
.theme-dark .derivacion-header[b-1obx3086fd] {
    background: #111827 !important;
    border-bottom-color: #1f293d !important;
}

[data-theme="dark"] .derivacion-body[b-1obx3086fd],
.theme-dark .derivacion-body[b-1obx3086fd] {
    background: #111827 !important;
}

[data-theme="dark"] .derivacion-customer-name[b-1obx3086fd],
.theme-dark .derivacion-customer-name[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-lead-meta[b-1obx3086fd],
.theme-dark .derivacion-lead-meta[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .derivacion-lead-meta span b[b-1obx3086fd],
.theme-dark .derivacion-lead-meta span b[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-badge-neutral[b-1obx3086fd],
.theme-dark .derivacion-badge-neutral[b-1obx3086fd] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .derivacion-form-label[b-1obx3086fd],
.theme-dark .derivacion-form-label[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-select-trigger[b-1obx3086fd],
.theme-dark .derivacion-select-trigger[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-select-trigger.open[b-1obx3086fd],
.theme-dark .derivacion-select-trigger.open[b-1obx3086fd] {
    background: #1a2744 !important;
    border-color: #5b5fe9 !important;
    box-shadow: 0 0 0 3px rgba(91, 95, 233, 0.25) !important;
}

[data-theme="dark"] .derivacion-user-name[b-1obx3086fd],
.theme-dark .derivacion-user-name[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-user-subname[b-1obx3086fd],
.theme-dark .derivacion-user-subname[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .derivacion-placeholder-text[b-1obx3086fd],
.theme-dark .derivacion-placeholder-text[b-1obx3086fd] {
    color: #64748b !important;
}

[data-theme="dark"] .derivacion-avatar-mini[b-1obx3086fd],
.theme-dark .derivacion-avatar-mini[b-1obx3086fd] {
    background: #1e293b !important;
    color: #818cf8 !important;
}

[data-theme="dark"] .derivacion-select-menu[b-1obx3086fd],
.theme-dark .derivacion-select-menu[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .derivacion-user-option:hover[b-1obx3086fd],
.theme-dark .derivacion-user-option:hover[b-1obx3086fd] {
    background: #1e293b !important;
}

[data-theme="dark"] .derivacion-user-option.selected[b-1obx3086fd],
.theme-dark .derivacion-user-option.selected[b-1obx3086fd] {
    background: rgba(91, 95, 233, 0.25) !important;
}

[data-theme="dark"] .derivacion-textarea[b-1obx3086fd],
.theme-dark .derivacion-textarea[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-textarea:focus[b-1obx3086fd],
.theme-dark .derivacion-textarea:focus[b-1obx3086fd] {
    background: #1a2744 !important;
    border-color: #5b5fe9 !important;
}

[data-theme="dark"] .derivacion-info-pill[b-1obx3086fd],
.theme-dark .derivacion-info-pill[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .derivacion-btn-cancel[b-1obx3086fd],
.theme-dark .derivacion-btn-cancel[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .derivacion-btn-cancel:hover[b-1obx3086fd],
.theme-dark .derivacion-btn-cancel:hover[b-1obx3086fd] {
    background: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .derivacion-btn-submit[b-1obx3086fd],
.theme-dark .derivacion-btn-submit[b-1obx3086fd] {
    background: linear-gradient(135deg, #4f53dc 0%, #3b3dbb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(79, 83, 220, 0.45) !important;
}

/* ── MODAL DEVOLUCIÓN DARK THEME ── */
[data-theme="dark"] .devolucion-modal[b-1obx3086fd],
.theme-dark .devolucion-modal[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .devolucion-header[b-1obx3086fd],
.theme-dark .devolucion-header[b-1obx3086fd],
[data-theme="dark"] .devolucion-body[b-1obx3086fd],
.theme-dark .devolucion-body[b-1obx3086fd] {
    background: #111827 !important;
    border-bottom-color: #1f293d !important;
}

[data-theme="dark"] .devolucion-customer-name[b-1obx3086fd],
.theme-dark .devolucion-customer-name[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .devolucion-lead-meta[b-1obx3086fd],
.theme-dark .devolucion-lead-meta[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .devolucion-lead-meta span b[b-1obx3086fd],
.theme-dark .devolucion-lead-meta span b[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .devolucion-callout-info[b-1obx3086fd],
.theme-dark .devolucion-callout-info[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .devolucion-form-label[b-1obx3086fd],
.theme-dark .devolucion-form-label[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .devolucion-textarea[b-1obx3086fd],
.theme-dark .devolucion-textarea[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .devolucion-btn-cancel[b-1obx3086fd],
.theme-dark .devolucion-btn-cancel[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #cbd5e1 !important;
}

/* ── MODAL HANDSHAKE ENTRANTE DARK THEME ── */
[data-theme="dark"] .handshake-v2-modal[b-1obx3086fd],
.theme-dark .handshake-v2-modal[b-1obx3086fd] {
    background: #111827 !important;
    border-color: #1f293d !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .handshake-v2-flow[b-1obx3086fd],
.theme-dark .handshake-v2-flow[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
}

[data-theme="dark"] .handshake-v2-flow .lbl[b-1obx3086fd],
.theme-dark .handshake-v2-flow .lbl[b-1obx3086fd] {
    color: #94a3b8 !important;
}

[data-theme="dark"] .handshake-v2-flow .val[b-1obx3086fd],
.theme-dark .handshake-v2-flow .val[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .handshake-v2-comment[b-1obx3086fd],
.theme-dark .handshake-v2-comment[b-1obx3086fd] {
    background: #162032 !important;
    border-color: #1f293d !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .handshake-v2-title[b-1obx3086fd],
.theme-dark .handshake-v2-title[b-1obx3086fd] {
    color: #f8fafc !important;
}

[data-theme="dark"] .handshake-v2-subtitle[b-1obx3086fd],
.theme-dark .handshake-v2-subtitle[b-1obx3086fd] {
    color: #94a3b8 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   DARK THEME WARNING & PENDING ELEMENTS - HIGH CONTRAST GOLDEN AMBER
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] .nyx-badge.warning[b-1obx3086fd],
.theme-dark .nyx-badge.warning[b-1obx3086fd],
[data-theme="dark"] .checkpoint-step-pill.pending-accept[b-1obx3086fd],
.theme-dark .checkpoint-step-pill.pending-accept[b-1obx3086fd],
[data-theme="dark"] .cp-item-pill.current-pill.pending-accept-pill[b-1obx3086fd],
.theme-dark .cp-item-pill.current-pill.pending-accept-pill[b-1obx3086fd],
[data-theme="dark"] .nyx-table-badge.warning[b-1obx3086fd],
.theme-dark .nyx-table-badge.warning[b-1obx3086fd],
[data-theme="dark"] .action-badge-pending[b-1obx3086fd],
.theme-dark .action-badge-pending[b-1obx3086fd],
[data-theme="dark"] .btn-memo-note[b-1obx3086fd],
.theme-dark .btn-memo-note[b-1obx3086fd] {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #FBBF24 !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
}

[data-theme="dark"] .btn-memo-note:hover[b-1obx3086fd],
.theme-dark .btn-memo-note:hover[b-1obx3086fd] {
    background: rgba(245, 158, 11, 0.3) !important;
    color: #FDE047 !important;
    border-color: #F59E0B !important;
}

[data-theme="dark"] .card-pill-badge.actionable-optional[b-1obx3086fd],
.theme-dark .card-pill-badge.actionable-optional[b-1obx3086fd] {
    background: rgba(124, 58, 237, 0.22) !important;
    color: #c4b5fd !important;
    border-color: rgba(167, 139, 250, 0.45) !important;
}

[data-theme="dark"] .card-pill-badge.actionable-optional:hover[b-1obx3086fd],
.theme-dark .card-pill-badge.actionable-optional:hover[b-1obx3086fd] {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
}


/* /Components/Pages/AudioAudit.razor.rz.scp.css */
:root[b-01eun9kfyj] {
    --bg-app: #f4f4f5;
    --surface: #ffffff;
    --border-color: #e4e4e7;
    --text-main: #18181b;
    --text-muted: #71717a;
    --accent: #09090b;
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --success: #10b981;
    --success-soft: #ecfdf5;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

.premium-panel[b-01eun9kfyj] {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
}

.section-title[b-01eun9kfyj] {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.btn-status-group[b-01eun9kfyj] {
    display: flex;
    gap: 6px;
}

.btn-status[b-01eun9kfyj] {
    border: 1px solid var(--border-color);
    background: #fafafa;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-status.selected-ok[b-01eun9kfyj] {
    background: var(--success-soft);
    color: #047857;
    border-color: #a7f3d0;
}

.btn-status.selected-ko[b-01eun9kfyj] {
    background: var(--danger-soft);
    color: #b91c1c;
    border-color: #fecaca;
}

.btn-status.selected-na[b-01eun9kfyj] {
    background: #f4f4f5;
    color: #4b5563;
    border-color: #d1d5db;
}

.badge-sla[b-01eun9kfyj] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.sla-green[b-01eun9kfyj] {
    background: var(--success-soft);
    color: #047857;
}

.sla-yellow[b-01eun9kfyj] {
    background: var(--warning-soft);
    color: #b45309;
}

.sla-red[b-01eun9kfyj] {
    background: var(--danger-soft);
    color: #b91c1c;
}

/* Modal premium styles */
.modal-backdrop-blur[b-01eun9kfyj] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 9, 11, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container[b-01eun9kfyj] {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 550px;
    overflow: hidden;
}
/* /Components/Pages/BackofficeActivations.razor.rz.scp.css */
:root[b-h0hvc6jdt4] {
    --bg-app: var(--bg, #f4f4f5);
    --surface: var(--surface, #ffffff);
    --border-color: var(--line, #e4e4e7);
    --text-main: var(--text, #18181b);
    --text-muted: var(--text-muted, #71717a);
    --accent: var(--brand, #09090b);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

.activation-card[b-h0hvc6jdt4] {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm, 0 6px 20px rgba(0, 0, 0, 0.05));
    padding: 1.5rem;
}

[data-theme="dark"] .activation-card[b-h0hvc6jdt4] {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.section-title[b-h0hvc6jdt4] {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.badge-status[b-h0hvc6jdt4] {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-pending[b-h0hvc6jdt4] { background: var(--surface-2, #f4f4f5); color: var(--text-muted, #52525b); border: 1px solid var(--line, #e4e4e7); }
.status-inprocess[b-h0hvc6jdt4] { background: var(--brand-dim, #eff6ff); color: var(--brand, #1d4ed8); border: 1px solid var(--brand-line, #bfdbfe); }
.status-activated[b-h0hvc6jdt4] { background: var(--ok-dim, #ecfdf5); color: var(--ok, #047857); border: 1px solid var(--ok-line, #a7f3d0); }
.status-delayed[b-h0hvc6jdt4] { background: var(--warn-dim, #fffbeb); color: var(--warn, #b45309); border: 1px solid var(--warn-line, #fde68a); }
.status-failed[b-h0hvc6jdt4] { background: var(--err-dim, #fef2f2); color: var(--err, #b91c1c); border: 1px solid var(--err-line, #fecaca); }

/* Modal styling */
.modal-backdrop-blur[b-h0hvc6jdt4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-container[b-h0hvc6jdt4] {
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.2));
    width: 100%;
    max-width: 540px;
    overflow: hidden;
}

.stepper-track[b-h0hvc6jdt4] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 4px;
}
.stepper-item[b-h0hvc6jdt4] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.15s ease;
}
.stepper-item:hover[b-h0hvc6jdt4] { background: var(--surface-hover, var(--line)); }
.stepper-item.current[b-h0hvc6jdt4] {
    background: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.stepper-item.completed[b-h0hvc6jdt4] {
    background: var(--ok-dim);
    color: var(--ok);
    border-color: var(--ok-line);
}
/* /Components/Pages/Engines/CheckpointsHub.razor.rz.scp.css */
.hub-wrap[b-1iiua61iis] { max-width: 1200px; margin: 0 auto; padding: 24px; }
.hub-tabs[b-1iiua61iis] { display: flex; gap: 6px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 5px; flex-wrap: wrap; }
.hub-tab[b-1iiua61iis] { font-size: 13px; font-weight: 600; color: #64748B; background: none; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all .15s; }
.hub-tab.active[b-1iiua61iis] { background: #0F172A; color: #fff; }
.hub-tab:not(.active):hover[b-1iiua61iis] { background: #F1F5F9; }
.card-panel[b-1iiua61iis] { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(15,23,42,0.03); }
.pill[b-1iiua61iis] { display: inline-flex; align-items: center; gap: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 14px; white-space: nowrap; }
.pill-green[b-1iiua61iis] { background: #E6F4EA; color: #065F46; }
.pill-red[b-1iiua61iis] { background: #FEE2E2; color: #991B1B; }
.pill-amber[b-1iiua61iis] { background: #FEF3C7; color: #92400E; }
.pill-violet[b-1iiua61iis] { background: #F1F5F9; color: #0F172A; }
.pill-navy[b-1iiua61iis] { background: #0F172A; color: #fff; }
.pill-outline[b-1iiua61iis] { background: transparent; border: 1px solid #CBD5E1; color: #475569; }
.modal-backdrop-blur[b-1iiua61iis] {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-card[b-1iiua61iis] {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    width: 100%; max-width: 620px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 24px; border: 1px solid #E2E8F0;
    animation: modalFadeIn-b-1iiua61iis .2s ease-out;
}
.modal-card[b-1iiua61iis]::-webkit-scrollbar { width: 6px; }
.modal-card[b-1iiua61iis]::-webkit-scrollbar-track { background: #F1F5F9; border-radius: 10px; }
.modal-card[b-1iiua61iis]::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
.modal-card[b-1iiua61iis]::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
.btn-close-circle[b-1iiua61iis] {
    background: #F1F5F9; border: none;
    width: 32px; height: 32px; border-radius: 50%;
    font-weight: 700; color: #64748B; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.btn-close-circle:hover[b-1iiua61iis] { background: #E2E8F0; color: #0F172A; }
@keyframes modalFadeIn-b-1iiua61iis {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
