:root {
    --tblr-font-sans-serif: 'Inter', sans-serif;
    --sea-surface: linear-gradient(180deg, #f4f7fb 0%, #eaeff7 100%);
    --sea-brand: #1f6feb;
    --sea-brand-dark: #163d7a;
    --sea-nav-bg: linear-gradient(135deg, #0d1d38 0%, #162d55 100%);
    --sea-nav-height: 60px;
}

body {
    background: var(--sea-surface);
}

a {
    text-decoration: none;
}

/* =====================================================================
   TOP NAVIGATION
   ===================================================================== */

.app-topnav {
    background: var(--sea-nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: var(--sea-nav-height);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.app-topnav > .container-xl {
    min-height: var(--sea-nav-height);
}

/* Brand */
.app-brand {
    align-items: center;
    color: #fff !important;
    display: flex;
    font-size: 1.05rem;
    font-weight: 700;
    gap: 0.5rem;
    letter-spacing: -0.01em;
    text-decoration: none !important;
}

.app-brand-icon {
    color: #5baaff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.app-brand-v {
    color: #5baaff;
    font-size: 0.78em;
}

/* Mobile toggler */
.app-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    padding: 0.35rem 0.55rem;
}

.app-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 170, 255, 0.3);
    outline: none;
}

/* Nav links */
.app-topnav .navbar-nav {
    gap: 0.15rem;
}

.app-topnav .nav-link {
    align-items: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    transition: background 0.14s ease, color 0.14s ease;
    white-space: nowrap;
}

.app-topnav .nav-link i {
    flex-shrink: 0;
    font-size: 1rem;
}

.app-topnav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.app-topnav .nav-link.active {
    background: rgba(31, 111, 235, 0.28);
    box-shadow: inset 0 0 0 1px rgba(91, 170, 255, 0.22);
    color: #fff;
}

.app-topnav .nav-link.active i {
    color: #5baaff;
}

/* User dropdown button */
.app-user-btn {
    align-items: center;
    display: flex !important;
    gap: 0.55rem;
    padding: 0.25rem 0.7rem !important;
}

.app-user-btn::after {
    opacity: 0.5;
}

.app-user-avatar {
    align-items: center;
    background: linear-gradient(135deg, #1f6feb, #0b2755);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.app-user-name {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.875rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User dropdown menu */
.app-user-dropdown {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.04);
    min-width: 215px;
    overflow: hidden;
    padding: 0.35rem;
}

.app-user-dropdown .dropdown-item {
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
}

.app-logout-link {
    color: #dc3545 !important;
}

.app-logout-link:hover {
    background: rgba(220, 53, 69, 0.08);
}

/* Mobile: expanded collapse panel */
@media (max-width: 991.98px) {
    .app-topnav .navbar-collapse {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.5rem;
        padding-bottom: 1rem;
        padding-top: 0.5rem;
    }

    .app-topnav .navbar-nav {
        gap: 0.2rem;
    }

    .app-topnav .nav-link {
        padding: 0.6rem 0.9rem;
    }

    .app-topnav .ms-auto {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.5rem !important;
        padding-top: 0.5rem;
    }

    .app-user-name {
        display: inline !important;
        max-width: none;
    }
}

/* =====================================================================
   PAGE LAYOUT
   ===================================================================== */

.app-page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--sea-nav-height));
}

/* Sub-header with page title */
.app-page-header {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.85rem 0;
}

.app-page-header-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 2.5rem;
}

.app-page-pretitle {
    color: var(--sea-brand);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
}

.app-page-title {
    color: #182c48;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Content area */
.page-body {
    flex: 1;
    padding: 1.5rem 0 2.5rem;
}

/* Footer */
.app-footer {
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.6rem 0;
}

/* =====================================================================
   REPORTE ECUs — panel lateral top 3 meses
   ===================================================================== */

.ecus-sidebar-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: calc(var(--sea-nav-height) + 1.25rem);
}

.ecus-sidebar-header {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ecus-sidebar-period {
    background: rgba(31, 111, 235, 0.08);
    border-radius: 4px;
    color: var(--sea-brand);
    font-weight: 600;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
}

.ecus-sidebar-footer {
    background: transparent;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    color: #94a3b8;
    font-size: 0.78rem;
}

/* Fila de cada ítem — flexbox explícito, sin dependencia de grid */
.ecus-row {
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
}

.ecus-row--first {
    border-top: none;
}

/* Columna: posición/rango */
.ecus-row-rank {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    justify-content: center;
    width: 1.5rem;
}

.ecus-rank-gold   { color: #f59e0b; }
.ecus-rank-silver { color: #8fa3be; }
.ecus-rank-bronze { color: #c07038; }
.ecus-rank-num    { color: #94a3b8; }

/* Columna central: nombre + barra */
.ecus-row-body {
    flex: 1 1 0;
    min-width: 0;
}

.ecus-row-name {
    color: #1e2d42;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ecus-row-bar {
    background: rgba(31, 111, 235, 0.08);
    border-radius: 99px;
    height: 3px;
    margin-top: 0.3rem;
    overflow: hidden;
}

.ecus-row-bar-fill {
    background: linear-gradient(90deg, var(--sea-brand) 0%, #5baaff 100%);
    border-radius: 99px;
    height: 100%;
}

/* Columna: badge de conteo */
.ecus-row-count {
    background: rgba(31, 111, 235, 0.09);
    border-radius: 6px;
    color: var(--sea-brand-dark);
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    min-width: 2.2rem;
    padding: 0.2rem 0.5rem;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .ecus-sidebar-card {
        position: static;
    }
}

/* =====================================================================
   LEGACY / COMPAT — kept for Tabler internal components
   ===================================================================== */

.page-pretitle {
    color: var(--sea-brand);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.page-header-soft {
    background: transparent;
    padding-bottom: 0;
}

/* =====================================================================
   HERO CARDS
   ===================================================================== */

.app-hero {
    background:
        radial-gradient(circle at top right, rgba(31, 111, 235, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(31, 111, 235, 0.12);
    overflow: hidden;
}

.app-hero-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.45);
    padding: 1.5rem;
}

.app-hero-kicker {
    color: var(--sea-brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.app-hero-title {
    color: var(--sea-brand-dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* =====================================================================
   AUTH PAGE
   ===================================================================== */

.auth-page {
    background:
        radial-gradient(ellipse at 70% 0%, rgba(31, 111, 235, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(22, 61, 122, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #e8eef8 0%, #f4f7fc 100%);
}

/* Full-viewport centering wrapper */
.auth-page-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.auth-page-inner {
    max-width: 880px;
    width: 100%;
}

.auth-shell {
    align-items: stretch;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
}

.auth-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px -30px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.auth-card-hero {
    background:
        radial-gradient(circle at 110% -10%, rgba(31, 111, 235, 0.22) 0%, transparent 45%),
        radial-gradient(circle at -10% 110%, rgba(22, 61, 122, 0.12) 0%, transparent 40%),
        linear-gradient(160deg, #ffffff 0%, #f0f5ff 100%);
}

.auth-card-hero .card-body,
.auth-card-form .card-body {
    padding: 2rem;
}

/* Brand logo inside hero panel */
.auth-brand-logo {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.auth-brand-logo-icon {
    color: var(--sea-brand);
    font-size: 1.6rem;
}

.auth-brand-logo-text {
    color: var(--sea-brand-dark);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-brand-logo-v {
    color: var(--sea-brand);
    font-size: 0.8em;
}

.auth-kicker {
    color: var(--sea-brand);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.auth-title {
    color: var(--sea-brand-dark);
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.auth-copy {
    color: #4c5c74;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 32rem;
}

.auth-feature-list {
    display: grid;
    gap: 1rem;
    padding-top: 0.5rem;
}

.auth-feature-item {
    align-items: flex-start;
    color: #334155;
    display: flex;
    font-size: 0.9rem;
    gap: 0.75rem;
    line-height: 1.45;
}

.auth-feature-icon {
    color: var(--sea-brand);
    flex-shrink: 0;
    font-size: 1.05rem;
    margin-top: 0.05rem;
}

/* Mobile brand shown only when hero panel is hidden */
.auth-mobile-brand {
    align-items: center;
    color: var(--sea-brand-dark);
    font-size: 1rem;
    font-weight: 700;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-mobile-brand i {
    color: var(--sea-brand);
    font-size: 1.3rem;
}

/* Form inputs with icon prefix */
.auth-input-icon {
    background: transparent;
    border-right: 0;
    color: #94a3b8;
}

.auth-input-icon + .form-control {
    border-left: 0;
}

.auth-input-icon + .form-control:focus {
    border-color: var(--tblr-border-color);
    box-shadow: none;
}

/* Password visibility toggle */
.auth-password-toggle {
    background: transparent;
    border: 1px solid var(--tblr-border-color);
    border-left: 0;
    border-radius: 0 var(--tblr-border-radius) var(--tblr-border-radius) 0;
    color: #94a3b8;
    padding: 0 0.85rem;
    transition: color 0.15s;
}

.auth-password-toggle:hover {
    color: var(--sea-brand);
}

/* Legacy dot (kept for compat) */
.auth-feature-dot {
    background: linear-gradient(135deg, #1f6feb, #163d7a);
    border-radius: 999px;
    flex: 0 0 auto;
    height: 0.7rem;
    margin-top: 0.35rem;
    width: 0.7rem;
}

/* =====================================================================
   FORMS — generic
   ===================================================================== */

.app-form-stack {
    display: grid;
    gap: 1rem;
}

.app-form-field .form-label {
    color: #24324a;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.app-form-field .form-control,
.app-form-field .form-select {
    border-radius: 14px;
    min-height: 48px;
}

.app-form-field textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.app-form-field-admin {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.8), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 18px;
    padding: 1rem;
}

.auth-inline-check {
    background: rgba(31, 111, 235, 0.06);
    border: 1px solid rgba(31, 111, 235, 0.12);
    border-radius: 18px;
    padding: 1rem;
}

.app-form-inline {
    gap: 0;
}

.app-form-actions-inline {
    display: grid;
    gap: 0.75rem;
}

/* =====================================================================
   RECEPCION FORM
   ===================================================================== */

.recepcion-form-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
}

.recepcion-form-main {
    min-width: 0;
}

.recepcion-form-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.45);
}

.recepcion-form-card .card-header,
.recepcion-form-summary .card-body {
    background:
        linear-gradient(180deg, rgba(247, 250, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.recepcion-field .form-label {
    color: #24324a;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.recepcion-field .form-control,
.recepcion-field .form-select,
.recepcion-field .input-group-text {
    border-radius: 12px;
}

.recepcion-field .form-control,
.recepcion-field .form-select {
    min-height: 46px;
}

.recepcion-field textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.cliente-picker-toolbar {
    align-items: stretch;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.cliente-picker-toolbar-compact {
    grid-template-columns: 1fr;
    justify-items: end;
}

.cliente-create-card .card {
    border-radius: 16px;
}

.cliente-picker-toolbar .btn.active {
    background: var(--sea-brand);
    border-color: var(--sea-brand);
    color: #fff;
}

.recepcion-field .ts-wrapper .ts-control,
.recepcion-field .ts-wrapper.single.input-active .ts-control {
    border-radius: 12px;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
}

.recepcion-field .ts-wrapper .ts-dropdown {
    border-radius: 14px;
    box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.45);
    max-height: 16rem;
    overflow: hidden;
}

.recepcion-field .ts-wrapper .ts-dropdown .option,
.recepcion-field .ts-wrapper .ts-dropdown .no-results {
    padding: 0.75rem 0.85rem;
}

.recepcion-field .ts-wrapper.dropdown-active {
    margin-bottom: 16.5rem;
}

.ts-dropdown {
    z-index: 40;
}

.ts-dropdown .ts-dropdown-content {
    max-height: 16rem;
    overflow-y: auto;
}

.recepcion-check {
    border-radius: 16px;
    height: 100%;
}

.recepcion-kpi {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(22, 61, 122, 0.02));
    border: 1px dashed rgba(31, 111, 235, 0.24);
    border-radius: 16px;
    min-height: 100%;
    padding: 1rem 1.1rem;
}

.recepcion-kpi-label {
    color: var(--sea-brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.recepcion-kpi-text {
    color: #43536c;
    line-height: 1.45;
}

/* Sticky aside — offset accounts for sticky nav */
.recepcion-form-aside {
    align-self: start;
    display: grid;
    gap: 1rem;
    position: sticky;
    top: calc(var(--sea-nav-height) + 1.25rem);
}

.recepcion-form-summary {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px -32px rgba(15, 23, 42, 0.4);
}

.recepcion-summary-list {
    display: grid;
    gap: 0.95rem;
}

.recepcion-summary-item {
    align-items: flex-start;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 2rem 1fr;
}

.recepcion-summary-step {
    align-items: center;
    background: rgba(31, 111, 235, 0.1);
    border-radius: 999px;
    color: var(--sea-brand-dark);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.recepcion-form-actions {
    display: grid;
    gap: 0.75rem;
}

.recepcion-toolbar {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 991.98px) {
    .recepcion-form-layout {
        grid-template-columns: 1fr;
    }

    .recepcion-form-aside {
        position: static;
        top: auto;
    }

    /* Tablet: stack hero above form */
    .auth-shell {
        grid-template-columns: 1fr;
    }

    /* Compact hero on tablet */
    .auth-card-hero .auth-feature-list {
        display: none;
    }

    .auth-brand-logo {
        margin-bottom: 1.25rem;
    }

    .auth-title {
        font-size: 1.7rem;
    }

    .auth-copy {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    /* On mobile: hide the hero panel entirely, show compact brand in form */
    .auth-card-hero {
        display: none;
    }

    .auth-mobile-brand {
        display: flex !important;
    }

    .auth-page-wrapper {
        align-items: flex-start;
        padding: 1.25rem 1rem;
    }

    .auth-card-form .card-body {
        padding: 1.5rem;
    }

    .page-body .container-xl,
    .app-page-header .container-xl,
    .app-footer .container-xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .app-page-title {
        font-size: 1.15rem;
    }

    .auth-card-hero .card-body,
    .auth-card-form .card-body {
        padding: 1.25rem;
    }

    .auth-title {
        font-size: 1.85rem;
    }

    .recepcion-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .recepcion-form-card .card-header {
        padding-bottom: 0.9rem;
        padding-top: 0.9rem;
    }

    .recepcion-form-card .card-body,
    .recepcion-form-summary .card-body {
        padding: 1rem;
    }

    /* Prevent zoom on input focus on iOS */
    .recepcion-field .form-control,
    .recepcion-field .form-select,
    .app-form-field .form-control,
    .app-form-field .form-select {
        font-size: 16px;
    }

    .cliente-picker-toolbar {
        grid-template-columns: 1fr;
    }

    .recepcion-field .ts-wrapper.dropdown-active {
        margin-bottom: 14rem;
    }

    /* Sticky action bar at bottom on mobile */
    .recepcion-form-actions {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 18px;
        bottom: 0.75rem;
        padding: 0.85rem;
        position: sticky;
    }

    /* Table action buttons: larger touch targets, icon-only */
    .tbl-actions .btn-sm {
        min-height: 38px;
        min-width: 38px;
        padding: 0.4rem 0.55rem;
    }

    .tbl-actions .btn-label {
        display: none;
    }

    /* Pagination touch targets */
    .pagination .page-link {
        min-height: 36px;
        min-width: 36px;
        padding: 0.45rem 0.65rem;
    }
}

/* =====================================================================
   STATUS BADGES
   ===================================================================== */

.sea-status {
    align-items: center;
    border-radius: 99px;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.3rem;
    padding: 0.22rem 0.65rem;
    white-space: nowrap;
}

.sea-status i { font-size: 0.78rem; }

.sea-status--recibido    { background: rgba(31, 111, 235, 0.11); color: #1457b3; }
.sea-status--diagnostico { background: rgba(234,  88,  12, 0.10); color: #c2410c; }
.sea-status--reparacion  { background: rgba(202, 138,   4, 0.12); color: #854d0e; }
.sea-status--listo       { background: rgba( 22, 163,  74, 0.10); color: #15803d; }
.sea-status--entregado   { background: rgba( 13, 148, 136, 0.10); color: #0f766e; }
.sea-status--cancelado   { background: rgba(220,  38,  38, 0.08); color: #b91c1c; }
.sea-status--default     { background: rgba( 15,  23,  42, 0.07); color: #475569; }

.sea-paid--si { background: rgba( 22, 163,  74, 0.10); color: #15803d; }
.sea-paid--no { background: rgba(220,  38,  38, 0.08); color: #b91c1c; }

/* =====================================================================
   DASHBOARD STAT CARDS
   ===================================================================== */

.sea-stat-icon {
    align-items: center;
    border-radius: 10px;
    display: flex;
    flex-shrink: 0;
    font-size: 1.2rem;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.sea-stat-icon--recepciones { background: rgba(31, 111, 235, 0.1); color: #1f6feb; }
.sea-stat-icon--clientes    { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.sea-stat-icon--ecus        { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.sea-stat-icon--pagos       { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.sea-stat-label {
    color: #64748b;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

/* =====================================================================
   FOLIO BADGE
   ===================================================================== */

.sea-folio {
    background: rgba(31, 111, 235, 0.09);
    border-radius: 6px;
    color: var(--sea-brand-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.18rem 0.5rem;
    white-space: nowrap;
}
