/* /Pages/Documentation/Documentation.razor.rz.scp.css */
/* ==========================================================================
   CSS CONSOLIDADO Y SCOPED PARA EL PORTAL DOCUMENTAL Y ACADEMIA SYSTIME
   ========================================================================== */

.documentation-portal[b-bl2rogjktf] {
    color-scheme: light;
    min-height: 100vh;
    color: #1d2a40;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Fallback imports and definitions */
:root[b-bl2rogjktf] {
    --navy: #17263d;
    --navy-deep: #111c2e;
    --pink: #ec0bb1;
    --cyan: #21b9d1;
    --green: #38b86a;
    --orange: #ff9f2f;
    --violet: #7667ed;
    --line: #e2e8f0;
    --muted: #748095;
    --gold: #d89d00;
}
/* /Pages/Home/Components/Assessments/FieldAssessmentReadOnly.razor.rz.scp.css */
.fa-readonly[b-mgnlynp6av] { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.fa-empty[b-mgnlynp6av] { padding: 24px; text-align: center; color: #94a0b2; }
.fa-head[b-mgnlynp6av] { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fa-title[b-mgnlynp6av] { font-size: 16px; font-weight: 700; }
.fa-sub[b-mgnlynp6av], .fa-note[b-mgnlynp6av] { color: #94a0b2; font-size: 12px; white-space: pre-line; }
.fa-warn[b-mgnlynp6av] { color: #fcd34d; font-size: 12px; }
.fa-badge[b-mgnlynp6av] { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 2px 10px; font-size: 11px; color: #94a0b2; white-space: nowrap; }
.fa-tabs[b-mgnlynp6av] { display: flex; gap: 8px; }
.fa-tabs button[b-mgnlynp6av] { background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; color: inherit; padding: 6px 12px; cursor: pointer; }
.fa-tabs button.active[b-mgnlynp6av] { background: #d33bb3; border-color: #d33bb3; color: #fff; }
.fa-totals[b-mgnlynp6av] { font-weight: 600; }
.fa-section[b-mgnlynp6av], .fa-piece[b-mgnlynp6av] { border: 1px solid #1f2a3d; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.fa-section-title[b-mgnlynp6av] { font-weight: 700; }
.fa-levels[b-mgnlynp6av], .fa-strip[b-mgnlynp6av] { display: flex; flex-wrap: wrap; gap: 6px; }
.fa-level[b-mgnlynp6av], .fa-chip[b-mgnlynp6av] { border: 1px solid var(--fa-level); border-radius: 999px; padding: 2px 8px; font-size: 11px; }
.fa-level.selected[b-mgnlynp6av], .fa-chip[b-mgnlynp6av] { background: var(--fa-level); color: var(--fa-ink, #fff); }
.fa-piece[b-mgnlynp6av] { border-left: 4px solid var(--fa-level); }
.fa-piece-head[b-mgnlynp6av] { display: flex; align-items: center; gap: 8px; background: none; border: none; color: inherit; padding: 0; cursor: pointer; text-align: left; }
.fa-dot[b-mgnlynp6av] { width: 10px; height: 10px; border-radius: 50%; background: var(--fa-level); flex: none; }
.fa-piece-name[b-mgnlynp6av] { flex: 1; font-weight: 600; }
.fa-piece-body[b-mgnlynp6av] { display: flex; flex-direction: column; gap: 8px; }
.fa-process[b-mgnlynp6av] { border-top: 1px solid #1f2a3d; padding-top: 6px; }
.fa-process-name[b-mgnlynp6av] { font-weight: 600; }
.fa-photos[b-mgnlynp6av] { display: flex; flex-wrap: wrap; gap: 6px; }
.fa-photos img[b-mgnlynp6av] { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; }
.fa-row[b-mgnlynp6av] { display: flex; justify-content: space-between; gap: 12px; }
.fa-row.muted[b-mgnlynp6av] { opacity: .6; }
.fa-risk[b-mgnlynp6av] { color: var(--fa-level); font-weight: 700; }
/* /Pages/Home/Components/AssetCard.razor.rz.scp.css */
/* AssetCard.razor.css - Styles matching Figma design (responsive 3-column) */

.asset-card[b-ho3s8n2ruk] {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    background: var(--st-surface);
    border-radius: 18px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 6px;
    box-sizing: border-box;
}

.asset-card:not(.menu-open):hover[b-ho3s8n2ruk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.asset-card.menu-open[b-ho3s8n2ruk] {
    z-index: 100;
}

/* Image Container - takes up most of the card */
.asset-image-container[b-ho3s8n2ruk] {
    position: relative;
    width: 100%;
    height: 60%;
    overflow: hidden;
    border-radius: 14px;
    background: #2a2a2a;
}

.asset-image[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.asset-image.loaded[b-ho3s8n2ruk] {
    opacity: 1;
}

/* Skeleton placeholder with shimmer animation */
.asset-image-skeleton[b-ho3s8n2ruk] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    overflow: hidden;
    transition: opacity 0.3s ease-in-out;
    border-radius: 14px;
}

.asset-image-skeleton.hidden[b-ho3s8n2ruk] {
    opacity: 0;
    pointer-events: none;
}

.skeleton-shimmer[b-ho3s8n2ruk] {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--st-fill-5) 50%,
            transparent 100%);
    animation: shimmer-b-ho3s8n2ruk 1.5s infinite;
}

@keyframes shimmer-b-ho3s8n2ruk {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.asset-image-placeholder[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    background: darkgrey;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.asset-image-placeholder svg[b-ho3s8n2ruk],
.asset-image-default[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    color: #ffffff;
    object-fit: contain;
}

/* Pending Authorization Overlay */
.pending-authorization-overlay[b-ho3s8n2ruk] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Below the process logo and options menu */
    border-radius: 14px;
}

.pending-authorization-overlay svg[b-ho3s8n2ruk] {
    width: 48px;
    height: 48px;
    color: white;
    opacity: 0.9;
    animation: authClockPulse-b-ho3s8n2ruk 2s ease-in-out infinite;
}

@keyframes authClockPulse-b-ho3s8n2ruk {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
    }
}

/* Options Menu - top right (3 dots horizontal) */
.options-menu[b-ho3s8n2ruk] {
    position: absolute;
    top: 15px;
    right: 2px;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
    backdrop-filter: none;
}

.options-menu svg[b-ho3s8n2ruk] {
    width: 30px;
    height: 30px;
    color: white;
}

.options-menu:focus-visible[b-ho3s8n2ruk],
.dropdown-item:focus-visible[b-ho3s8n2ruk] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Store Indicator (VFT) - top left over image, mismo estilo que el badge del timeline */
.store-indicator-badge[b-ho3s8n2ruk] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    min-width: 26px;
    height: 20px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F56565;
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 10px;
    border: 1.5px solid white;
    box-sizing: border-box;
}

/* Vehículo nuevo: la placa visible es la provisional derivada del VIN.
   Mismas medidas que .store-indicator-badge para que ambos lean como una familia. */
.new-vehicle-badge[b-ho3s8n2ruk] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3B82F6;
    color: white;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.3px;
    border-radius: 10px;
    border: 1.5px solid white;
    box-sizing: border-box;
}

/* El indicador de "fuera del taller" ya ocupa la esquina: se corre para no taparlo. */
.new-vehicle-badge.shifted[b-ho3s8n2ruk] {
    left: 38px;
}

/* Badge de Movilización Activa (Navy / Cyan / Magenta con pulso sutil) */
.mobilization-active-badge[b-ho3s8n2ruk] {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: rgba(10, 25, 47, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.7);
    border-radius: 12px;
    color: #e0f2fe;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(56, 189, 248, 0.35);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.mobilization-active-badge .pulse-dot[b-ho3s8n2ruk] {
    width: 7px;
    height: 7px;
    background-color: #38bdf8;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 6px #38bdf8;
    animation: mobilizationPulse-b-ho3s8n2ruk 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes mobilizationPulse-b-ho3s8n2ruk {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 4px #38bdf8, 0 0 8px rgba(229, 0, 205, 0.5);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.25);
        box-shadow: 0 0 8px #38bdf8, 0 0 14px rgba(229, 0, 205, 0.8);
    }
}

/* Process Logo - bottom left over image */
.process-logo[b-ho3s8n2ruk] {
    position: absolute;
    bottom: 4px;
    left: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 50%; /* Asegura que el color de fondo dinámico forme un círculo */
    overflow: hidden; /* Para que la imagen interior no se desborde si es rectangular */
    padding:2px;
}

.background-process[b-ho3s8n2ruk] {
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-logo img[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0%;
}

/* Process Logo border colors removed as requested */


/* Info Section - flexible height, no overflow hidden */
.asset-info[b-ho3s8n2ruk] {
    padding: 6px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente ambos textos */
    background: transparent;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Asset Number - white, bold - una sola línea, truncado con elipsis */
.asset-number[b-ho3s8n2ruk] {
    font-size: clamp(14px, 4vw, 18px);
    font-weight: 780;
    color: var(--st-text-brand);
    text-align: left;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0px 0px 2px 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Centrado explícito para tarjetas de Búsqueda Global (sin fecha ni logo) */
.asset-info.global-search .asset-number[b-ho3s8n2ruk] {
    text-align: center;
    margin: 0;
}

/* Container for date - positioned at bottom */
.asset-meta[b-ho3s8n2ruk] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0px; /* Se elimina el 'auto' para evitar que se separen */
    padding-bottom: 2px;
}

/* Tarjetas de búsqueda global: mismos elementos (misma altura real), pero invisibles */
.asset-meta--placeholder[b-ho3s8n2ruk] {
    visibility: hidden;
}

/* Date in GREEN - at the bottom */
.relative-date[b-ho3s8n2ruk] {
    font-size: clamp(11px, 3vw, 14px);
    color: var(--st-text-brand);
    font-weight: 600;
}

/* Work Order Count Badges (Capsules) */
.wo-count-badge[b-ho3s8n2ruk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 6px;
    line-height: 1.2;
}

.badge-mine[b-ho3s8n2ruk] {
    background-color: #B0BEC5;
    border-radius: 8px;
}

.badge-todos[b-ho3s8n2ruk] {
    background-color: #FFD700;
    border-radius: 10px;
}



/* Handover Button - absolute positioned at bottom right of CARD */
.handover-btn[b-ho3s8n2ruk] {
    width: 35px;
    height: 25px;
    border-radius: 15px;
    background: #e500cd;
    background: linear-gradient(135deg, #e500cd 0%, #c800b0 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 12px rgba(229, 0, 205, 0.45);
    position: absolute;
    bottom: 5px; /* Reducido de 10px a 5px para bajar el botón */
    right: 8px;  /* Ajustado un poco hacia afuera */
    flex-shrink: 0;
    z-index: 3;
}

.handover-btn:hover[b-ho3s8n2ruk] {
    transform: scale(1.08);
    background: linear-gradient(135deg, #f01bd7 0%, #e500cd 100%);
    box-shadow: 0 5px 16px rgba(229, 0, 205, 0.65);
}

/* Blocked state: pending authorization (MAUI: gray, opacity 0.4) */
.handover-btn.blocked[b-ho3s8n2ruk] {
    opacity: 0.4;
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

/* Off shift: gray like blocked, but it can be tapped (it offers to start the shift). */
.handover-btn.needs-shift[b-ho3s8n2ruk],
.worksession-btn.needs-shift[b-ho3s8n2ruk] {
    opacity: 0.55;
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%) !important;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3) !important;
    cursor: pointer;
}

.handover-btn.needs-shift:hover[b-ho3s8n2ruk],
.worksession-btn.needs-shift:hover[b-ho3s8n2ruk] {
    opacity: 0.8;
    transform: scale(1.05);
}

.handover-btn.blocked:hover[b-ho3s8n2ruk] {
    transform: none;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.handover-btn svg[b-ho3s8n2ruk] {
    width: 18px;
    height: 18px;
    color: white;
    stroke: white;
    stroke-width: 2.5px;
}

/* WorkSession Button (Play/Pause) */
.worksession-btn[b-ho3s8n2ruk] {
    width: 35px;
    height: 25px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: absolute;
    bottom: 5px;
    right: 8px;
    flex-shrink: 0;
    z-index: 3;
}

.worksession-btn:hover:not(.blocked)[b-ho3s8n2ruk] {
    transform: scale(1.08);
}

.worksession-btn.ws-idle[b-ho3s8n2ruk] {
    background: #e500cd;
    background: linear-gradient(135deg, #e500cd 0%, #c800b0 100%);
    box-shadow: 0 3px 12px rgba(229, 0, 205, 0.45);
}

.worksession-btn.ws-idle:hover:not(.blocked)[b-ho3s8n2ruk] {
    background: linear-gradient(135deg, #f01bd7 0%, #e500cd 100%);
    box-shadow: 0 5px 16px rgba(229, 0, 205, 0.65);
}

.worksession-btn.ws-running[b-ho3s8n2ruk] {
    background: #3b82f6;
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.5);
}

.worksession-btn.ws-paused[b-ho3s8n2ruk] {
    background: #dea301;
    box-shadow: 0 3px 12px rgba(222, 163, 1, 0.5);
}

.worksession-btn.blocked[b-ho3s8n2ruk] {
    opacity: 0.45;
    filter: blur(0.5px) grayscale(60%);
    cursor: not-allowed !important;
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
    box-shadow: none !important;
}

.worksession-btn .ws-btn-icon[b-ho3s8n2ruk] {
    width: 14px;
    height: 14px;
    color: white;
}

.card-worker-avatar-badge[b-ho3s8n2ruk] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    bottom: 5px;
    right: 8px;
    z-index: 3;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    background: var(--st-surface-strong);
}

.card-worker-avatar-badge img[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card border glow based on status */
.asset-card.pending-assignment[b-ho3s8n2ruk] {
    opacity: 0.6;
}

.asset-card.status-progress[b-ho3s8n2ruk] {
    border: 2px solid transparent;
}

.asset-card.status-waiting[b-ho3s8n2ruk] {
    border: 2px solid rgba(234, 179, 8, 0.3);
}

.options-dropdown[b-ho3s8n2ruk] {
    position: absolute;
    top: 35px;
    left: 10px;
    background: var(--st-surface);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    min-width: 160px;
}

/* Para tarjetas en la tercera columna, el menú se abre hacia la izquierda para no salirse del panel */
.asset-card:nth-child(3n) .options-dropdown[b-ho3s8n2ruk] {
    left: auto;
    right: 0;
}

.dropdown-item[b-ho3s8n2ruk] {
    background: transparent;
    border: none;
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    color: var(--st-text-brand);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
    width: 100%;
}

.dropdown-item:hover[b-ho3s8n2ruk] {
    background: var(--st-surface-sunken);
}

.dropdown-item.blocked[b-ho3s8n2ruk] {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--st-surface-strong);
}

.dropdown-item .dropdown-icon[b-ho3s8n2ruk] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.dropdown-item .dropdown-icon svg[b-ho3s8n2ruk] {
    width: 18px;
    height: 18px;
}

.dropdown-item:hover .dropdown-icon[b-ho3s8n2ruk] {
    transform: scale(1.15);
}

/* Colores individuales por acción — paleta Systime */
.dropdown-icon.icon-photo[b-ho3s8n2ruk] { color: #e500cd; }        /* Fucsia brand */
.dropdown-icon.icon-detail[b-ho3s8n2ruk] { color: #3b82f6; }       /* Azul información */
.dropdown-icon.icon-timeline[b-ho3s8n2ruk] { color: #e5b900; }     /* Amarillo brand */
.dropdown-icon.icon-assign[b-ho3s8n2ruk] { color: #14b8a6; }       /* Teal asignación */
.dropdown-icon.icon-handover[b-ho3s8n2ruk] { color: #ec4899; }     /* Rosa entrega */
.dropdown-icon.icon-reclaim[b-ho3s8n2ruk] { color: #f97316; }      /* Naranja reclamación */
.dropdown-icon.icon-locate[b-ho3s8n2ruk] { color: #38bdf8; }       /* Celeste localizar (antes «Mover vehículo») */
.dropdown-icon.icon-assess[b-ho3s8n2ruk] { color: #8b5cf6; }       /* Violeta valoración */
.dropdown-icon.icon-appointment[b-ho3s8n2ruk] { color: #22c55e; }  /* Verde citas */
/* Contador de procesos en paralelo sobre el ícono del proceso principal.
   El ícono sigue siendo el del proceso mainline; el dot comunica cuántas ramas
   más están corriendo. Va como hermano de .process-logo porque ese contenedor
   recorta con overflow:hidden y se comería la esquina del dot. */
[b-ho3s8n2ruk] .parallel-count-dot {
    /* Es un <CountBadge> anclado abajo-izquierda; aquí solo se fija dónde cae sobre el logo. */
    --st-badge-offset-x: 26px;
    --st-badge-offset-y: 2px;
}

/* Contorno del activo seleccionado —o del recién creado— para no perderlo de vista
   al volver al inbox. Mismo criterio que el borde dorado de MAUI. */
.asset-card.is-selected[b-ho3s8n2ruk] {
    outline: 2px solid #E8B33A;
    outline-offset: -1px;
}

/* Active Workers Overlapping Stack (bottom-right over image) */
.active-workers-overlap[b-ho3s8n2ruk] {
    position: absolute;
    bottom: 4px;
    right: 6px;
    display: flex;
    align-items: center;
    z-index: 3;
    pointer-events: auto;
}

.worker-avatar-bubble[b-ho3s8n2ruk] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    background: var(--st-surface-strong);
    margin-left: -8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.worker-avatar-bubble:first-child[b-ho3s8n2ruk] {
    margin-left: 0;
}

.worker-avatar-bubble img[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.worker-avatar-bubble .avatar-fallback[b-ho3s8n2ruk] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--st-text);
    background: var(--st-surface-stronger);
    text-transform: uppercase;
}

.worker-avatar-bubble.more-indicator[b-ho3s8n2ruk] {
    background: #1E293B;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    border: 1.5px solid #FFFFFF;
    margin-left: -8px;
}

.worker-avatar-bubble.more-indicator:first-child[b-ho3s8n2ruk] {
    margin-left: 0;
}

/* The vehicle already has its valuation (permission assessments.inbox.valued) */
.valued-check[b-ho3s8n2ruk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: white;
    background-color: #22A06B;
    border-radius: 50%;
}

.valued-check svg[b-ho3s8n2ruk] {
    width: 12px;
    height: 12px;
}
/* /Pages/Home/Components/AssetDetail/AssetDetailPanel.razor.rz.scp.css */
.asset-detail-panel[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 9px;
    background: var(--st-surface);
    border-radius: 16px;
    height: 100%;
    overflow: visible;
    flex: 1;
    min-width: 280px;
    border: 1px solid var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Fixed header section - no scroll */
.asset-header-fixed[b-lo59djkmmu] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Scrollable content area */
.asset-scrollable-content[b-lo59djkmmu] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
    min-height: 0;
    border-radius: 15px;
    /* Hide scrollbar but keep scroll functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.asset-scrollable-content[b-lo59djkmmu]::-webkit-scrollbar {
    display: none;
}

/* Asset Image Section */
.asset-image-section[b-lo59djkmmu] {
    position: relative;
    width: 100%;
}

/* The «i» of the detail's guided help, over the photo's top-left corner (the camera is on the right). */
.asset-help[b-lo59djkmmu] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}

.asset-image-container[b-lo59djkmmu] {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--st-surface-sunken);
}


.asset-image[b-lo59djkmmu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--st-surface-strong);
}

.asset-image-placeholder[b-lo59djkmmu] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--st-surface-strong) 0%, var(--st-surface-sunken) 100%);
    color: var(--st-text-muted);
}

.vehicle-placeholder-icon[b-lo59djkmmu] {
    width: 85%;
    height: auto;
    object-fit: contain;
}

.progress-badge[b-lo59djkmmu] {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    backdrop-filter: blur(4px);
    background: #ACACAC; /* Fallback mientras Asset carga; el color real llega por style inline (TrafficLightColorHelper) */
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.progress-badge:hover[b-lo59djkmmu] {
    transform: scale(1.05);
    opacity: 0.95;
}


.process-icon-wrapper[b-lo59djkmmu] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.process-icon-wrapper img[b-lo59djkmmu] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Asset Info Section */
.asset-info-section[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asset-info-header[b-lo59djkmmu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 6px 0 4px 0;
    border-bottom: 1.5px solid var(--st-border);
    margin-bottom: 2px;
}

/* The adjuster's claim strip under the plate (Proascol, T-14); the strip brings its own styles. */
.asset-adjuster-claim[b-lo59djkmmu] {
    width: 100%;
    border-bottom: 1.5px solid var(--st-border);
    padding-bottom: 4px;
}

.asset-number[b-lo59djkmmu] {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--st-text-brand);
    margin: 0;
    letter-spacing: 1.5px;
}

/* ─── Fecha de ingreso del veh\u00edculo (Estructura recuperada, sin recuadro) ─── */
.date-square[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    opacity: 1;
    min-width: 48px;
}

.date-label[b-lo59djkmmu] {
    font-size: 8px;
    font-weight: 700;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.date-number[b-lo59djkmmu] {
    font-size: 22px;
    font-weight: 800;
    color: var(--st-text-brand);
    line-height: 1;
}

.date-month[b-lo59djkmmu] {
    font-size: 10px;
    font-weight: 700;
    color: #e500cd;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.date-square:hover[b-lo59djkmmu] {
    transform: none;
    background: transparent !important;
    border: none !important;
}

.asset-specs[b-lo59djkmmu] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
    padding: 4px 0;
}

.spec-item[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label[b-lo59djkmmu] {
    font-size: 0.68rem;
    color: var(--st-text-muted);
    text-transform: capitalize;
    font-weight: 500;
}

.spec-value[b-lo59djkmmu] {
    font-size: 0.88rem;
    color: var(--st-text-brand);
    font-weight: 700;
}

/* Worker Info Section */
.worker-info-section[b-lo59djkmmu] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--st-surface-muted);
    border-radius: 12px;
    border: 1px solid var(--st-border);
}

/* ── Varios responsables (orden bifurcada) ────────────────────────────────
   La permanencia es del activo, así que queda una sola vez y alineada arriba;
   la lista de responsables crece hacia abajo, uno por frente vivo. */
.worker-info-section.is-parallel[b-lo59djkmmu] {
    align-items: flex-start;
}

.parallel-workers-list[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.parallel-worker-row[b-lo59djkmmu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

/* Filete de línea: dice a QUÉ línea pertenece cada responsable.
   El color lo publica la fila como --lane-color desde la paleta compartida, así que coincide con
   el de esa misma línea en el timeline y en el popup. Estaba fijo en ámbar: dos ramas vivas salían
   idénticas y ninguna se correspondía con su línea.

   Lo lleva TODA fila, incluido el frente del tronco —que sale en el verde de mainline—. Antes sólo
   lo tenían las ramas (.is-branch-front) y el responsable de la línea principal quedaba sin filete:
   la lista mostraba tres personas y sólo dos podían ubicarse en el dibujo. El tronco es una línea
   más y tiene su color; que sea la principal no lo vuelve invisible. */
.parallel-worker-row[b-lo59djkmmu] {
    padding-left: 8px;
    border-left: 2px solid var(--lane-color, #DEA301);
}

.worker-avatar[b-lo59djkmmu] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2.5px solid #21e139;
}

.worker-avatar img[b-lo59djkmmu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-avatar-placeholder[b-lo59djkmmu] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3D5676;
}

.worker-initials[b-lo59djkmmu] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
}

.worker-details[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 1px;
}

.worker-name[b-lo59djkmmu] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.worker-role[b-lo59djkmmu] {
    font-size: 0.68rem;
    color: var(--st-text-muted);
    font-weight: 400;
}

.permanence-time[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.time-value[b-lo59djkmmu] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--st-text-brand);
    white-space: nowrap;
}

.time-label[b-lo59djkmmu] {
    font-size: 0.62rem;
    color: var(--st-text-muted);
    font-weight: 400;
}

/* Collapsible Sections */
.collapsible-sections[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-item[b-lo59djkmmu] {
    background: var(--st-surface-muted);
    border-radius: 12px;
    border: 1px solid var(--st-border);
    overflow: hidden;
    transition: all 0.2s ease;
}

.section-item.expanded[b-lo59djkmmu] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-strong);
}

.section-header[b-lo59djkmmu] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: var(--st-surface-strong);
    border: none;
    color: var(--st-text);
    cursor: pointer;
    transition: background 0.2s ease;
}

.section-header:hover[b-lo59djkmmu] {
    background: #e5b900;
    color: #1a1a2e;
}

.section-header.active[b-lo59djkmmu] {
    background: #e5b900;
    color: #1a1a2e;
}

/* Text on the gold header stays dark in both themes. */
.section-header:hover .section-title[b-lo59djkmmu],
.section-header.active .section-title[b-lo59djkmmu],
.section-header:hover .chevron[b-lo59djkmmu],
.section-header.active .chevron[b-lo59djkmmu] {
    color: #1a1a2e;
}

.section-header:hover .section-subtitle[b-lo59djkmmu],
.section-header.active .section-subtitle[b-lo59djkmmu] {
    color: rgba(26, 26, 46, 0.7);
}

.section-icon[b-lo59djkmmu] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    color: #ffffff;
}

.workorders-icon[b-lo59djkmmu] {
    background: #3D5676;
}

.files-icon[b-lo59djkmmu] {
    background: #3D5676;
}

.vehicle-icon[b-lo59djkmmu] {
    background: #3D5676;
}

.history-icon[b-lo59djkmmu] {
    background: #3D5676;
}

.observations-icon[b-lo59djkmmu] {
    background: #3D5676;
}

.section-info[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.section-title[b-lo59djkmmu] {
    flex: 1;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--st-text);
}

.section-subtitle[b-lo59djkmmu] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

.files-count-badge[b-lo59djkmmu] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-strong);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text);
    margin-left: auto;
}

.chevron[b-lo59djkmmu] {
    transition: transform 0.2s ease;
    opacity: 0.5;
    flex-shrink: 0;
    color: var(--st-text-subtle);
}

.section-item.expanded .chevron[b-lo59djkmmu] {
    transform: rotate(180deg);
}

.no-asset-selected[b-lo59djkmmu] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-muted);
    font-size: 0.9rem;
}

/* Camera Button Overlay - shows on hover */
.camera-overlay-btn[b-lo59djkmmu] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    border: none;
    padding: 0;
    color: white;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
}

.asset-image-container:hover .camera-overlay-btn[b-lo59djkmmu] {
    opacity: 1;
}

.camera-overlay-btn:hover[b-lo59djkmmu] {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.65);
}

.camera-overlay-btn:active[b-lo59djkmmu] {
    transform: scale(0.95);
}

/* Uploading State */
.asset-image-placeholder.uploading[b-lo59djkmmu] {
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(135deg, var(--st-surface-strong) 0%, var(--st-info-bg) 100%);
    color: var(--st-info-fg);
}

.upload-spinner[b-lo59djkmmu] {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(92, 107, 192, 0.2);
    border-top-color: #5C6BC0;
    border-radius: 50%;
    animation: spin-b-lo59djkmmu 0.8s linear infinite;
}

@keyframes spin-b-lo59djkmmu {
    to {
        transform: rotate(360deg);
    }
}

.upload-text[b-lo59djkmmu] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--st-info-fg);
}

/* Active processes (parallel branches) */
.estimation-badge[b-lo59djkmmu] {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 100px);
    padding: 6px 10px;
    border: 0;
    border-radius: 20px;
    background: #e500cd;
    color: #fff;
    font: inherit;
    font-size: 0.7rem;
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.estimation-badge:disabled[b-lo59djkmmu] {
    color: #fff;
    opacity: 1;
}

.estimation-badge.interactive[b-lo59djkmmu] {
    cursor: pointer;
}

.estimation-badge.interactive:hover[b-lo59djkmmu] {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(229, 0, 205, 0.3);
}

.estimation-label[b-lo59djkmmu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-processes-dropdown[b-lo59djkmmu] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 110;
    display: flex;
    width: min(320px, calc(100vw - 40px));
    max-height: 350px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dropdown-overlay[b-lo59djkmmu] {
    position: fixed;
    inset: 0;
    z-index: 100;
    border: 0;
    background: transparent;
}

.dropdown-header[b-lo59djkmmu] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dropdown-list[b-lo59djkmmu] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dropdown-item-process[b-lo59djkmmu] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.dropdown-item-process:last-child[b-lo59djkmmu] {
    border-bottom: 0;
}

/* Filete de la fila: color REAL de la rama, publicado por la fila como --lane-color.
   Estaba en azul fijo, y los modificadores .parallel/.dependency quedaron muertos cuando la
   clase pasó a venir de la paleta compartida — el CSS aislado de Blazor le suma un selector de
   atributo, así que esta regla ganaba siempre y todas las filas salían azules. */
.branch-indicator[b-lo59djkmmu] {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--lane-color, #3b82f6);
}

.process-info[b-lo59djkmmu] {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.process-name-row[b-lo59djkmmu] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.mini-process-icon[b-lo59djkmmu] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    object-fit: contain;
}

.process-name-text[b-lo59djkmmu] {
    overflow: hidden;
    color: var(--st-text-strong);
    font-size: 0.85rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.branch-type-badge[b-lo59djkmmu] {
    align-self: flex-start;
    padding: 2px 6px;
    border-radius: 4px;
    background: #3b82f6;
    color: #102033;
    font-size: 0.62rem;
    font-weight: 700;
}

.branch-type-badge.parallel[b-lo59djkmmu] {
    background: #10b981;
}

.branch-type-badge.dependency[b-lo59djkmmu] {
    background: #f59e0b;
}

.process-time[b-lo59djkmmu],
.worker-name-mini[b-lo59djkmmu] {
    color: var(--st-text-muted);
    font-size: 0.65rem;
}

.worker-info-mini[b-lo59djkmmu] {
    display: flex;
    width: 64px;
    flex-shrink: 0;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}

.mini-avatar[b-lo59djkmmu],
.mini-avatar-placeholder[b-lo59djkmmu] {
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border-strong);
    border-radius: 50%;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    font-size: 0.65rem;
    object-fit: cover;
}

.worker-name-mini[b-lo59djkmmu] {
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Pages/Home/Components/AssetDetail/AssetFilesPanel.razor.rz.scp.css */
/* ── Expediente documental de la orden ──
   Inspirado en SharePoint + DocuWare para la gestión de expedientes digitales.
   Toda la paleta es la clara del sistema (superficies blancas, texto #1E2F45, acento magenta #D81B84). */

/* ── Entradas ocultas para carga de archivos ── */
.files-hidden-input[b-64lkhy594i],
[b-64lkhy594i] .files-hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ── Barra de Comandos Superior (SharePoint Command Bar) ── */
.files-command-bar[b-64lkhy594i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface);
    flex-wrap: wrap;
}

.files-cmd-left[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.files-cmd-right[b-64lkhy594i] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.files-cmd-btn[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    color: var(--st-text);
    transition: all 0.15s ease;
    user-select: none;
    text-decoration: none;
}

.files-cmd-btn:hover:not(.is-primary):not(.is-secondary):not(.is-disabled)[b-64lkhy594i] {
    background: var(--st-surface-sunken);
}

.files-cmd-btn.is-primary[b-64lkhy594i] {
    background: #d81b84;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.25);
}

.files-cmd-btn.is-primary:hover[b-64lkhy594i] {
    background: #be1271;
    box-shadow: 0 3px 8px rgba(216, 27, 132, 0.35);
}

.files-cmd-btn.is-secondary[b-64lkhy594i] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    color: var(--st-text);
}

.files-cmd-btn.is-secondary:hover[b-64lkhy594i] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.files-cmd-btn.is-disabled[b-64lkhy594i] {
    opacity: 0.4;
    pointer-events: none;
}

.files-cmd-btn.is-danger[b-64lkhy594i] {
    color: var(--st-danger-fg);
}

.files-cmd-btn.is-danger:hover:not(.is-disabled)[b-64lkhy594i] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
}

.files-cmd-sep[b-64lkhy594i] {
    width: 1px;
    height: 22px;
    background: var(--st-surface-strong);
    margin: 0 4px;
}

/* ── Filtros de Formato de Archivo (Pill Filters) ── */
.files-format-filters[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--st-surface-sunken);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
}

.files-format-btn[b-64lkhy594i],
.files-scope-btn[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    color: var(--st-text-subtle);
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.2;
}

.files-format-btn:hover:not(.is-on)[b-64lkhy594i],
.files-scope-btn:hover:not(.is-on)[b-64lkhy594i] {
    color: var(--st-text);
    background: var(--st-surface);
}

.files-format-btn.is-on[b-64lkhy594i],
.files-scope-btn.is-on[b-64lkhy594i] {
    background: var(--st-surface);
    color: #d81b84;
    border-color: var(--st-border-strong);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.files-format-count[b-64lkhy594i],
.files-scope-count[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    transition: all 0.15s ease;
}

.files-format-btn.is-on .files-format-count[b-64lkhy594i],
.files-scope-btn.is-on .files-scope-count[b-64lkhy594i] {
    background: var(--st-accent-bg);
    color: #d81b84;
}

/* ── Acciones Contextuales ── */
.files-context-actions[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.files-cmd-icon[b-64lkhy594i] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.files-cmd-search[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.files-cmd-search:focus-within[b-64lkhy594i] {
    border-color: #d81b84;
    background: var(--st-surface);
}

.files-cmd-search svg[b-64lkhy594i] {
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.files-cmd-search input[b-64lkhy594i] {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 12.5px;
    color: var(--st-text-brand);
    width: 170px;
}

.files-cmd-search input[b-64lkhy594i]::placeholder {
    color: var(--st-text-muted);
}

.files-viewtoggle[b-64lkhy594i] {
    display: inline-flex;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    overflow: hidden;
}

.files-viewtoggle button[b-64lkhy594i] {
    border: 0;
    background: var(--st-surface);
    padding: 6px 10px;
    cursor: pointer;
    color: var(--st-text-muted);
    display: grid;
    place-items: center;
    transition: all 0.15s ease;
}

.files-viewtoggle button.is-on[b-64lkhy594i] {
    background: var(--st-text-brand);
    color: var(--st-surface);
}

/* ── Espacio de Trabajo en 2 Columnas (SharePoint + DocuWare Workspace) ── */
.files-workspace[b-64lkhy594i] {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    flex: 1;
    min-height: 0;
    height: 100%;
    background: var(--st-surface);
    overflow: hidden;
}

/* ── Columna Izquierda (Sidebar estilo DocuWare) ── */
.files-sidebar[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid var(--st-border);
    padding: 12px 14px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    background: var(--st-surface);
}

.files-dossier-card[b-64lkhy594i] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.files-dossier-head[b-64lkhy594i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.files-dossier-badge-title[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--st-text-subtle);
}

.files-dossier-pct-badge[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 700;
    color: #d81b84;
    background: var(--st-accent-bg);
    padding: 1px 6px;
    border-radius: 4px;
}

.files-dossier-subtext[b-64lkhy594i] {
    font-size: 11.5px;
    color: var(--st-text-secondary);
    margin: 6px 0;
}
.files-dossier-retry[b-64lkhy594i] {
    display: block;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-accent, #0369a1);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.files-dossier-retry:disabled[b-64lkhy594i] {
    opacity: .5;
    cursor: default;
}

.files-progress-track[b-64lkhy594i] {
    height: 6px;
    background: var(--st-surface-strong);
    border-radius: 3px;
    overflow: hidden;
}

.files-progress-fill[b-64lkhy594i] {
    height: 100%;
    background: linear-gradient(to right, #d81b84, #8b5cf6);
    transition: width 0.3s ease;
}

.files-sidebar-heading[b-64lkhy594i],
.files-sidebar-section-title[b-64lkhy594i] {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-text-subtle);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 8px;
    padding: 2px 4px 4px 4px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.files-filter-list[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.files-filter-item[b-64lkhy594i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--st-text);
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    transition: all 0.15s ease;
    text-align: left;
}

.files-filter-item:hover[b-64lkhy594i] {
    background: var(--st-surface-sunken);
}

.files-filter-item.is-active[b-64lkhy594i] {
    background: var(--st-accent-bg);
    color: #d81b84;
    font-weight: 600;
}

.files-filter-left[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.files-type-dot[b-64lkhy594i],
.files-filter-dot[b-64lkhy594i] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.files-type-name[b-64lkhy594i],
.files-filter-label[b-64lkhy594i] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
}

.files-filter-label[b-64lkhy594i] {
    flex: 1;
    margin-left: 8px;
}

.files-filter-count[b-64lkhy594i],
.files-filter-badge[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    flex-shrink: 0;
}

.files-filter-badge:not(.has-items)[b-64lkhy594i] {
    opacity: 0.6;
}

.files-filter-item.is-active .files-filter-count[b-64lkhy594i],
.files-filter-item.is-active .files-filter-badge[b-64lkhy594i] {
    background: var(--st-accent-bg);
    color: #d81b84;
    opacity: 1;
}

.files-sidebar-alert[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    color: var(--st-warning-fg);
    font-size: 11.5px;
    margin-top: auto;
    flex-shrink: 0;
}

.files-sidebar-alert svg[b-64lkhy594i] {
    flex-shrink: 0;
}

/* ── Columna Derecha (Main Content) ── */
.files-main-content[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    min-width: 0;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}



.files-type-chip[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.3;
}

.files-type-chip:hover:not(.is-on)[b-64lkhy594i] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
    color: var(--st-text);
}

.files-type-chip.is-on[b-64lkhy594i] {
    border-color: #d81b84;
    color: #d81b84;
    background: var(--st-accent-bg);
    font-weight: 600;
}

.files-type-chip-badge[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    transition: all 0.15s ease;
}

.files-type-chip-badge.has-items[b-64lkhy594i] {
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
}

.files-type-chip.is-on .files-type-chip-badge[b-64lkhy594i] {
    background: var(--st-accent-bg);
    color: #d81b84;
}

.files-type-dot[b-64lkhy594i] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Zona de Carga Compacta (Compact Dropzone) ── */
.files-compact-dropzone[b-64lkhy594i] {
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--st-surface-muted);
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.files-compact-dropzone:hover[b-64lkhy594i],
.files-compact-dropzone:focus-within[b-64lkhy594i] {
    border-color: #d81b84;
    background: var(--st-accent-bg);
}

.files-compact-dropzone[b-64lkhy594i]  .files-dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.files-compact-dropzone-content[b-64lkhy594i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
    pointer-events: none;
}

.files-compact-dropzone-content svg[b-64lkhy594i] {
    color: #d81b84;
    flex-shrink: 0;
}

.files-browse-btn[b-64lkhy594i] {
    color: #d81b84;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    pointer-events: auto;
}

/* ── Cola de Subida ── */
.files-uploads[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.files-upload-row[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    padding: 10px 12px;
}

.files-upload-row.is-error[b-64lkhy594i] {
    border-color: var(--st-danger-border);
    background: var(--st-surface-muted);
}

.files-upload-ico[b-64lkhy594i] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    display: grid;
    place-items: center;
    color: var(--st-text-subtle);
    font-size: 10.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.files-upload-row.is-error .files-upload-ico[b-64lkhy594i] {
    background: var(--st-danger-bg-strong);
    color: #ef4444;
}

.files-upload-info[b-64lkhy594i] {
    flex: 1;
    min-width: 0;
}

.files-upload-name[b-64lkhy594i] {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-brand);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.files-upload-state[b-64lkhy594i] {
    font-size: 11px;
    color: var(--st-text-muted);
}

.files-upload-row.is-error .files-upload-state[b-64lkhy594i] {
    color: #ef4444;
}

.files-upload-bar[b-64lkhy594i] {
    height: 4px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    overflow: hidden;
    margin-top: 6px;
}

.files-upload-bar i[b-64lkhy594i] {
    display: block;
    height: 100%;
    width: 40%;
    background: #d81b84;
    border-radius: 999px;
    animation: files-progress-b-64lkhy594i 1.1s ease-in-out infinite;
}

@keyframes files-progress-b-64lkhy594i {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(260%); }
}

/* ── Mensajes de Error ── */
.files-error[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: var(--st-danger-text);
}

.files-error button[b-64lkhy594i] {
    margin-left: auto;
    border: 1px solid var(--st-danger-border);
    background: var(--st-surface);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-danger-text);
    cursor: pointer;
}

/* ── Vista Tabla (SharePoint Table Style) ── */
.files-table-container[b-64lkhy594i] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.files-table[b-64lkhy594i] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.files-table th[b-64lkhy594i] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--st-surface-muted);
    padding: 8px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-align: left;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.files-table th.col-chk[b-64lkhy594i],
.files-table td.col-chk[b-64lkhy594i] {
    width: 36px;
    text-align: center;
    padding-left: 10px;
    padding-right: 0;
}

.files-table th.col-actions[b-64lkhy594i],
.files-table td.col-actions[b-64lkhy594i] {
    width: 90px;
    text-align: right;
    padding-right: 12px;
}

.files-table-row[b-64lkhy594i] {
    border-bottom: 1px solid var(--st-border);
    cursor: pointer;
    transition: background 0.15s ease;
}

.files-table-row:hover[b-64lkhy594i] {
    background: var(--st-surface-muted);
}

.files-table-row.is-selected[b-64lkhy594i] {
    background: var(--st-accent-bg);
}

.files-table td[b-64lkhy594i] {
    padding: 8px 10px;
    vertical-align: middle;
}

.files-checkbox[b-64lkhy594i] {
    cursor: pointer;
    accent-color: #d81b84;
    width: 15px;
    height: 15px;
}

/* ── Badges de Formato de Archivo ── */
.file-fmt-badge[b-64lkhy594i] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.file-fmt-badge.is-pdf[b-64lkhy594i] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.file-fmt-badge.is-xls[b-64lkhy594i] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.file-fmt-badge.is-video[b-64lkhy594i] {
    background: var(--st-surface-strong);
    color: color-mix(in srgb, #7e22ce 65%, var(--st-text-strong));
}

.file-fmt-badge.is-doc[b-64lkhy594i] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}

.file-fmt-badge.is-img[b-64lkhy594i] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

.file-fmt-badge.is-default[b-64lkhy594i] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.files-name-cell[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.files-name-meta[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.files-file-name[b-64lkhy594i] {
    font-weight: 600;
    color: var(--st-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.files-file-sub[b-64lkhy594i] {
    font-size: 11px;
    color: var(--st-text-subtle);
}

.files-type-pill[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--st-text-body);
}

.files-status-chip[b-64lkhy594i] {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    display: inline-block;
}

.files-status-chip.is-active[b-64lkhy594i] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.files-status-chip.is-historic[b-64lkhy594i] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.files-version-pill[b-64lkhy594i] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-secondary);
    background: var(--st-surface-sunken);
    padding: 1px 6px;
    border-radius: 4px;
}

.files-size-text[b-64lkhy594i] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.files-user-cell[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.files-user-avatar[b-64lkhy594i] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.files-user-name[b-64lkhy594i] {
    font-size: 11.5px;
    color: var(--st-text-secondary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.files-actions-cell[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.files-icon-btn[b-64lkhy594i] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--st-text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.files-icon-btn:hover[b-64lkhy594i] {
    color: var(--st-text-brand);
    background: var(--st-surface-muted);
    border-color: var(--st-border);
}

.files-icon-btn.is-preview:hover[b-64lkhy594i] {
    color: #d81b84;
    border-color: var(--st-accent-border);
    background: var(--st-accent-bg);
}

.files-icon-btn.is-danger:hover[b-64lkhy594i] {
    color: #ef4444;
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

/* ── Vista Cuadrícula (Grid View) ── */
.files-grid[b-64lkhy594i] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.files-card[b-64lkhy594i] {
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.files-card:hover[b-64lkhy594i] {
    border-color: var(--st-border-stronger);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.files-card.is-selected[b-64lkhy594i] {
    border-color: #d81b84;
    background: var(--st-accent-bg);
}

.files-card-header[b-64lkhy594i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.files-card-header .files-type-chip[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    border: none;
}

.files-card .files-sheet[b-64lkhy594i] {
    width: 50px;
    height: 64px;
}

.files-card .files-name[b-64lkhy594i] {
    white-space: normal;
    line-height: 1.3;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-brand);
    word-break: break-word;
}

.files-card-meta[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.files-sub[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: var(--st-text-muted);
    font-variant-numeric: tabular-nums;
}

.files-card-actions[b-64lkhy594i] {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
}

/* ── Hoja Representativa (RenderSheet) ── */
.files-sheet[b-64lkhy594i] {
    position: relative;
    width: 34px;
    height: 44px;
    border-radius: 3px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.files-sheet i[b-64lkhy594i] {
    position: absolute;
    left: 5px;
    right: 8px;
    height: 1.5px;
    background: var(--st-surface-strong);
    border-radius: 2px;
}

.files-sheet i:nth-of-type(1)[b-64lkhy594i] { top: 9px; }
.files-sheet i:nth-of-type(2)[b-64lkhy594i] { top: 15px; }
.files-sheet i:nth-of-type(3)[b-64lkhy594i] { top: 21px; }

.files-sheet-ext[b-64lkhy594i] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    background: #64748b;
    padding: 1px 0;
}

.files-sheet.is-photo[b-64lkhy594i] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-strong);
}

.files-sheet.is-photo img[b-64lkhy594i] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.files-sheet.is-video[b-64lkhy594i] {
    background: var(--st-accent-bg);
    border-color: var(--st-accent-border);
    color: #d81b84;
}

.files-sheet-video-ico[b-64lkhy594i] {
    display: grid;
    place-items: center;
    color: #d81b84;
    position: absolute;
    inset: 0 0 12px 0;
}

.files-sheet.is-video .files-sheet-ext[b-64lkhy594i] {
    background: #d81b84;
    color: #ffffff;
}

/* ── Estado Vacío (Empty State) ── */
.files-empty[b-64lkhy594i] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 14px;
    background: var(--st-surface-muted);
    padding: 42px 24px;
    overflow: hidden;
}

.files-empty-ico[b-64lkhy594i] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: #d81b84;
    margin-bottom: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.files-empty h3[b-64lkhy594i] {
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text);
    margin: 0;
}

.files-empty p[b-64lkhy594i] {
    margin: 0;
    color: var(--st-text-subtle);
    font-size: 12.5px;
    max-width: 48ch;
}

/* ── Barra de Estado Inferior ── */
.files-status-bar[b-64lkhy594i] {
    border-top: 1px solid var(--st-border);
    padding: 8px 12px;
    font-size: 11.5px;
    color: var(--st-text-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.files-status-left[b-64lkhy594i],
.files-status-right[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.files-status-sep[b-64lkhy594i] {
    color: var(--st-text-faint);
}

.files-status-progress-track[b-64lkhy594i] {
    width: 80px;
    height: 5px;
    background: var(--st-surface-strong);
    border-radius: 3px;
    overflow: hidden;
}

.files-status-progress-fill[b-64lkhy594i] {
    height: 100%;
    background: #d81b84;
    transition: width 0.3s ease;
}

/* ── Diálogos y Modales ── */
.files-dialog-backdrop[b-64lkhy594i] {
    position: fixed;
    inset: 0;
    background: rgba(14, 22, 36, 0.45);
    z-index: 1200;
}

.files-dialog[b-64lkhy594i] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, calc(100vw - 32px));
    background: var(--st-surface);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(8, 17, 30, 0.35);
    padding: 20px;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--st-text-brand);
}

.files-dialog h3[b-64lkhy594i] { margin: 0; font-size: 16px; }
.files-dialog-files[b-64lkhy594i] { margin: 0; font-size: 12.5px; color: var(--st-text-subtle); word-break: break-word; }
.files-dialog-note[b-64lkhy594i] { margin: 0; font-size: 12px; color: var(--st-text-muted); }
.files-dialog-note.is-warning[b-64lkhy594i] {
    color: var(--st-warning-text);
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    padding: 8px 10px;
}

.files-order[b-64lkhy594i] { color: var(--st-text-brand); font-weight: 600; }

.files-dialog-label[b-64lkhy594i] {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-text-muted);
    margin-top: 4px;
}

.files-dialog-select[b-64lkhy594i] {
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--st-text-brand);
    background: var(--st-surface);
    width: 100%;
}

.files-dialog-select:focus-visible[b-64lkhy594i] { outline: none; border-color: #d81b84; box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.25); }

.files-dialog-actions[b-64lkhy594i] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }

.files-mini[b-64lkhy594i] {
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    border-radius: 9px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-body);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.files-mini:hover[b-64lkhy594i] { border-color: #d81b84; color: #d81b84; background: var(--st-surface-sunken); }

.files-primary[b-64lkhy594i] {
    border: 1px solid #d81b84;
    background: #d81b84;
    color: #ffffff;
    border-radius: 9px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.files-primary:hover[b-64lkhy594i] { background: #eb5bb6; border-color: #eb5bb6; }
.files-primary:disabled[b-64lkhy594i] { opacity: 0.55; cursor: not-allowed; }
.files-primary.is-danger[b-64lkhy594i] { background: #ef4444; border-color: #ef4444; }
.files-primary.is-danger:hover[b-64lkhy594i] { background: #dc2626; border-color: #dc2626; }

/* ── Modal de Vista Previa Multimedia ── */
.files-preview-backdrop[b-64lkhy594i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1050;
}

.files-preview-modal[b-64lkhy594i] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92vw;
    max-width: 860px;
    max-height: 90vh;
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    z-index: 1051;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.files-preview-header[b-64lkhy594i] {
    padding: 14px 20px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.files-preview-title-box[b-64lkhy594i] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.files-preview-badge[b-64lkhy594i] {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    background: #334155;
    color: #ffffff;
    text-transform: uppercase;
    flex-shrink: 0;
}

.files-preview-badge.is-video[b-64lkhy594i] {
    background: #d81b84;
    color: #ffffff;
}

.files-preview-badge.is-photo[b-64lkhy594i] {
    background: #0284c7;
    color: #ffffff;
}

.files-preview-filename[b-64lkhy594i] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
}

.files-preview-close-btn[b-64lkhy594i] {
    background: transparent;
    border: 0;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 4px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.files-preview-close-btn:hover[b-64lkhy594i] {
    color: var(--st-text-strong);
    background: var(--st-fill-4);
}

.files-preview-body[b-64lkhy594i] {
    flex: 1;
    min-height: 280px;
    max-height: 60vh;
    background: #0f172a;
    display: grid;
    place-items: center;
    overflow: auto;
    padding: 16px;
}

.files-preview-video-container[b-64lkhy594i] {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.files-preview-video-player[b-64lkhy594i] {
    max-width: 100%;
    max-height: 56vh;
    border-radius: 8px;
    outline: none;
    background: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.files-preview-image-container[b-64lkhy594i] {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.files-preview-image[b-64lkhy594i] {
    max-width: 100%;
    max-height: 56vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.files-preview-doc-container[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #f8fafc;
    padding: 20px;
}

.files-preview-doc-container .files-sheet.is-large[b-64lkhy594i] {
    width: 60px;
    height: 76px;
}

.files-preview-doc-container .files-sheet.is-large .files-sheet-ext[b-64lkhy594i] {
    font-size: 11px;
    padding: 2px 0;
}

.files-preview-doc-name[b-64lkhy594i] {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    margin: 0;
    max-width: 500px;
    word-break: break-word;
}

.files-preview-doc-hint[b-64lkhy594i] {
    font-size: 12px;
    color: var(--st-text-muted);
    margin: 0;
    max-width: 420px;
}

.files-preview-footer[b-64lkhy594i] {
    padding: 16px 20px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.files-preview-metadata-grid[b-64lkhy594i] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}

.files-preview-meta-item[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.files-preview-meta-label[b-64lkhy594i] {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-text-subtle);
}

.files-preview-meta-val[b-64lkhy594i] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text);
}

.files-preview-actions[b-64lkhy594i] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.files-preview-actions .files-upload-btn[b-64lkhy594i] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #d81b84;
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.files-preview-actions .files-upload-btn:hover[b-64lkhy594i] {
    background: #be1271;
}

.files-preview-actions .files-upload-btn.is-secondary[b-64lkhy594i] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text);
}

.files-preview-actions .files-upload-btn.is-secondary:hover[b-64lkhy594i] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.files-preview-loading[b-64lkhy594i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--st-text-muted);
    font-size: 13px;
}

.files-preview-spinner[b-64lkhy594i] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--st-border-strong);
    border-top-color: #d81b84;
    border-radius: 50%;
    animation: preview-spin-b-64lkhy594i 0.8s linear infinite;
}

@keyframes preview-spin-b-64lkhy594i {
    to { transform: rotate(360deg); }
}

.files-preview-error[b-64lkhy594i] {
    color: #f87171;
    font-size: 13px;
    text-align: center;
}

/* ── Media queries ── */
@media (max-width: 900px) {
    .files-workspace[b-64lkhy594i] {
        grid-template-columns: 1fr;
    }
    .files-sidebar[b-64lkhy594i] {
        border-right: none;
        border-bottom: 1px solid var(--st-border);
    }
}

@media (prefers-reduced-motion: reduce) {
    .files-upload-bar i[b-64lkhy594i] { animation: none; width: 100%; }
}
/* /Pages/Home/Components/AssetDetail/AssetSectionShell.razor.rz.scp.css */
/* Vive dentro de la tarjeta blanca de la carpeta (misma que la línea de tiempo): cabecera fija
   arriba, cuerpo con scroll propio. */
.section-shell[b-h0f6rn8aje] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    color: var(--st-text-brand);
}

.section-head[b-h0f6rn8aje] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--st-border);
}

/* El texto cede antes que las acciones: el subtítulo se recorta y los botones se quedan en la
   misma línea mientras quepan. */
.section-head-text[b-h0f6rn8aje] {
    flex: 1 1 240px;
    min-width: 0;
}

.section-head-text h3[b-h0f6rn8aje] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-brand);
}

.section-head-text p[b-h0f6rn8aje] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-head-actions[b-h0f6rn8aje] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.section-body[b-h0f6rn8aje] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 2px 4px;
    overflow: auto;
}

/* Estado «en construcción» de las secciones que aún no tienen contenido. Con ::deep porque el
   marcado lo escribe cada sección y no lleva el scope de este archivo. */
.section-body[b-h0f6rn8aje]  .section-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 14px;
    background: var(--st-surface-muted);
    padding: 40px 24px;
    text-align: center;
    color: var(--st-text-subtle);
}

.section-body[b-h0f6rn8aje]  .section-placeholder svg { color: var(--st-text-faint); }

.section-body[b-h0f6rn8aje]  .section-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.section-close-btn[b-h0f6rn8aje] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
}

.section-close-btn:hover[b-h0f6rn8aje] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
    border-color: var(--st-border-strong);
}

/* Chat de observaciones embebido en la sección */
.section-body[b-h0f6rn8aje]  .observations-chat-container {
    max-height: none;
    height: 100%;
    margin: 0;
    box-shadow: none;
}

.section-body[b-h0f6rn8aje]  .chat-messages-stream {
    max-height: none;
    flex: 1;
}
/* /Pages/Home/Components/AssetDetail/Charts/BurndownChart.razor.rz.scp.css */
.burndown-chart-container[b-j1dw6kg7gd] {
    display: flex;
    flex-direction: column;
    /* El gráfico ya reserva su propio margen inferior para los rótulos de eje; un gap grande
       aquí solo dejaba aire muerto entre el eje y la leyenda. */
    gap: 4px;
    width: 100%;
}

.chart-loading[b-j1dw6kg7gd],

.chart-empty[b-j1dw6kg7gd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--st-surface-muted);
    border-radius: 12px;
    border: 1px dashed var(--st-border);
    color: var(--st-text-subtle);
    gap: 6px;
}

.chart-empty-title[b-j1dw6kg7gd] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--st-text-brand);
    margin-top: 4px;
}

.chart-empty-subtitle[b-j1dw6kg7gd] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
}

.spinner[b-j1dw6kg7gd] {
    width: 30px;
    height: 30px;
    border: 3px solid var(--st-border);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-j1dw6kg7gd 1s linear infinite;
}

@keyframes spin-b-j1dw6kg7gd {
    to {
        transform: rotate(360deg);
    }
}

.burndown-metrics-grid[b-j1dw6kg7gd] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.metric-card[b-j1dw6kg7gd] {
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card:hover[b-j1dw6kg7gd] {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.metric-header-row[b-j1dw6kg7gd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.metric-card-icon[b-j1dw6kg7gd] {
    opacity: 0.28;
    transition: all 0.25s ease;
}

.metric-card:hover .metric-card-icon[b-j1dw6kg7gd] {
    opacity: 0.7;
    transform: scale(1.15);
}

/* Tarjeta de ETA Planeada (Azul) */

.planned-card[b-j1dw6kg7gd] {
    background: linear-gradient(135deg, var(--st-surface), var(--st-surface-muted));
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.planned-card .metric-card-icon[b-j1dw6kg7gd] {
    color: #3b82f6;
}

.planned-card .metric-value[b-j1dw6kg7gd] {
    color: var(--st-info-fg);
}

/* Tarjeta de ETA Real (Naranja) */

.real-card[b-j1dw6kg7gd] {
    background: linear-gradient(135deg, var(--st-surface), var(--st-surface-muted));
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.real-card .metric-card-icon[b-j1dw6kg7gd] {
    color: #f97316;
}

.real-card .metric-value[b-j1dw6kg7gd] {
    color: var(--st-warning-fg);
}

.burndown-delay-block[b-j1dw6kg7gd] {
    position: absolute;
    top: 22px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    min-width: 50px;
}

.delay-label[b-j1dw6kg7gd] {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 2px;
}

.delay-value[b-j1dw6kg7gd] {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.delay-value.on-time[b-j1dw6kg7gd] {
    color: #10b981;
}

.delay-value.delayed[b-j1dw6kg7gd] {
    color: #ef4444;
}

.delay-unit[b-j1dw6kg7gd] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
    line-height: 1;
}

.delay-unit.on-time[b-j1dw6kg7gd] {
    color: #10b981;
}

.delay-unit.delayed[b-j1dw6kg7gd] {
    color: #ef4444;
}

.metric-label[b-j1dw6kg7gd] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.metric-value[b-j1dw6kg7gd] {
    font-size: 0.85rem;
    font-weight: 700;
}

.chart-wrapper[b-j1dw6kg7gd] {
    width: 100%;
    min-height: 320px;
    position: relative;
}

/* Cuando una zona se rotula con su inicial en el eje (A, R, C), esta línea dice qué es cada letra. Pequeña y apagada: no compite con el pie de ritmos. */
.burndown-zone-key[b-j1dw6kg7gd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 14px;
    padding: 0 8px;
    /* El pie de ritmos sube 8px con su margen negativo: el margen inferior lo compensa y deja ~6px de aire. */
    margin: 2px 0 14px;
    font-size: 0.68rem;
    color: var(--st-text-muted);
}

/* La fase en la que está la orden ahora, bajo el gráfico. */
.burndown-current-phase[b-j1dw6kg7gd] {
    display: flex;
    justify-content: center;
    padding: 0 8px;
    /* El pie de ritmos sube 8px con su margen negativo: el margen inferior lo compensa y deja aire (como .burndown-zone-key). */
    margin: 6px 0 18px;
    font-size: 0.72rem;
    color: var(--st-text-muted);
}

.burndown-current-phase strong[b-j1dw6kg7gd] {
    font-weight: 700;
}

.burndown-zone-key strong[b-j1dw6kg7gd] {
    color: var(--st-text);
    font-weight: 700;
}

.burndown-footer[b-j1dw6kg7gd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 6px 16px;
    padding: 4px 0;
    margin-top: -8px;
    font-size: 0.75rem;
}

.footer-item[b-j1dw6kg7gd] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.dot[b-j1dw6kg7gd] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.planned[b-j1dw6kg7gd] {
    background: #22C55E;
}

.dot.real[b-j1dw6kg7gd] {
    background: #677BC4;
}

.dot.delay[b-j1dw6kg7gd] {
    background: var(--st-delay-color, #E03D3D);
}

/* Rombo, no círculo: mismo símbolo que usa el marcador de reproceso sobre la curva. */
.dot.rework[b-j1dw6kg7gd] {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: #F97316;
    transform: rotate(45deg);
}

/* Rombo hueco: reproceso ya cerrado. */
.dot.rework-closed[b-j1dw6kg7gd] {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: transparent;
    border: 2px solid #F97316;
    box-sizing: border-box;
    transform: rotate(45deg);
}

.footer-item .val[b-j1dw6kg7gd] {
    font-weight: 700;
    color: var(--st-text);
}

/* Premium Status Badges for Burndown Chart */

.burndown-header-row[b-j1dw6kg7gd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -4px;
    min-height: 38px;
}

.burndown-status-badge[b-j1dw6kg7gd] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    font-family: "Inter", sans-serif;
    transition: all 0.2s ease;
}

.burndown-status-badge.finished[b-j1dw6kg7gd] {
    background-color: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.burndown-status-badge.in-progress[b-j1dw6kg7gd] {
    background-color: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
}

.status-dot[b-j1dw6kg7gd] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green[b-j1dw6kg7gd] {
    background-color: #22c55e;
}

.status-dot.blue[b-j1dw6kg7gd] {
    background-color: #3b82f6;
}

.status-dot.pulse[b-j1dw6kg7gd] {
    animation: status-pulse-anim-b-j1dw6kg7gd 2s infinite;
}

@keyframes status-pulse-anim-b-j1dw6kg7gd {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* MODAL GRAFICAS EXPANDIDAS */

.modal-overlay[b-j1dw6kg7gd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeInOverlay-b-j1dw6kg7gd 0.3s ease-out;
}

.modal-content[b-j1dw6kg7gd] {
    background: linear-gradient(145deg, var(--st-surface-raised), var(--st-surface));
    border: 1px solid var(--st-border-subtle);
    border-radius: 16px;
    padding: 24px;
    width: 96%;
    max-width: 1600px;
    height: 94vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUpModal-b-j1dw6kg7gd 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.modal-content[b-j1dw6kg7gd]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--st-fill-4), transparent);
    pointer-events: none;
}

@keyframes fadeInOverlay-b-j1dw6kg7gd {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal-b-j1dw6kg7gd {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header[b-j1dw6kg7gd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.modal-header h3[b-j1dw6kg7gd] {
    margin: 0;
    color: var(--st-text-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-modal-btn[b-j1dw6kg7gd] {
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal-btn:hover[b-j1dw6kg7gd] {
    box-shadow: 0 0 20px rgba(211, 59, 178, 0.8);
    transform: scale(1.1);
}

.modal-layout-container[b-j1dw6kg7gd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    padding-bottom: 5px;
    min-height: 0;
}

.modal-top-section[b-j1dw6kg7gd] {
    display: flex;
    gap: 24px;
    flex: 7;
    min-height: 0;
    overflow: hidden;
}

.modal-sidebar-filters[b-j1dw6kg7gd] {
    flex: 0 0 350px;
    height: 100%;
    box-sizing: border-box;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 16px;
}

.modal-chart-section[b-j1dw6kg7gd] {
    flex: 1;
    height: 100%;
    box-sizing: border-box;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.modal-grid-section[b-j1dw6kg7gd] {
    flex: 3;
    box-sizing: border-box;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.modal-grid-section[b-j1dw6kg7gd]::-webkit-scrollbar {
    display: none;
}

.layout-resize-btn[b-j1dw6kg7gd] {
    position: absolute;
    top: -1px;
    right: 8px;
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
}

.layout-resize-btn:hover[b-j1dw6kg7gd] {
    background: var(--st-fill-3);
    color: var(--st-text);
}
/* /Pages/Home/Components/AssetDetail/ImageLightbox.razor.rz.scp.css */
/* ── Lightbox Overlay ── */
.lightbox-overlay[b-5d7zlo8242] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lightbox-fade-in-b-5d7zlo8242 0.25s ease-out;
    outline: none;
}

@keyframes lightbox-fade-in-b-5d7zlo8242 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Close button */
.lightbox-close[b-5d7zlo8242] {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover[b-5d7zlo8242] {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Photo counter */
.lightbox-counter[b-5d7zlo8242] {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
}

/* Navigation arrows */
.lightbox-arrow[b-5d7zlo8242] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-arrow:hover:not(.disabled)[b-5d7zlo8242] {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.disabled[b-5d7zlo8242] {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.lightbox-arrow-left[b-5d7zlo8242] {
    left: 24px;
}

.lightbox-arrow-right[b-5d7zlo8242] {
    right: 24px;
}

/* Image container */
.lightbox-image-container[b-5d7zlo8242] {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
    max-height: 78vh;
    animation: lightbox-img-enter-b-5d7zlo8242 0.3s ease-out;
}

@keyframes lightbox-img-enter-b-5d7zlo8242 {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image[b-5d7zlo8242] {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    user-select: none;
    -webkit-user-drag: none;
}

/* Thumbnails bar */
.lightbox-thumbnails[b-5d7zlo8242] {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    z-index: 10;
    max-width: 80vw;
    overflow-x: auto;
    scrollbar-width: none;
}

.lightbox-thumbnails[b-5d7zlo8242]::-webkit-scrollbar {
    display: none;
}

.lightbox-thumb[b-5d7zlo8242] {
    width: 56px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lightbox-thumb:hover[b-5d7zlo8242] {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-thumb.active[b-5d7zlo8242] {
    opacity: 1;
    border-color: #e5b900;
    box-shadow: 0 0 12px rgba(229, 185, 0, 0.4);
}

.lightbox-thumb img[b-5d7zlo8242] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* /Pages/Home/Components/AssetDetail/ProcessObservationsChat.razor.rz.scp.css */
/* ===== OBSERVATIONS TIMELINE CONTAINER ===== */
.observations-chat-container[b-7za0bkmd6a] {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 10px;
    margin-bottom: 8px;
    position: relative;
}

/* ===== HEADER & PROGRESSIVE EXPANSION ===== */
.comments-section-header[b-7za0bkmd6a] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 12px;
}

.comments-section-title[b-7za0bkmd6a] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.comments-expand-link[b-7za0bkmd6a] {
    background: none;
    border: none;
    padding: 0;
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s ease;
    text-align: left;
}

.comments-expand-link:hover[b-7za0bkmd6a] {
    color: color-mix(in srgb, #6d28d9 65%, var(--st-text-strong));
}

/* ===== TIMELINE STREAM ===== */
.comments-timeline-stream[b-7za0bkmd6a] {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2px 0 6px 0;
}

/* Continuous vertical connecting line */
.comments-timeline-line[b-7za0bkmd6a] {
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--st-surface-strong);
    border-radius: 1px;
}

/* Individual timeline item */
.comment-timeline-item[b-7za0bkmd6a] {
    position: relative;
    padding-left: 22px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.comment-timeline-item:last-child[b-7za0bkmd6a] {
    margin-bottom: 10px;
}

/* Purple circular bullet node on the line */
.comment-timeline-node[b-7za0bkmd6a] {
    position: absolute;
    left: 1px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    box-shadow: 0 0 0 2px var(--st-surface);
}

/* Item Header */
.comment-item-header[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 20px;
}

.comment-header-left[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.comment-author[b-7za0bkmd6a] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.25;
}

.comment-separator[b-7za0bkmd6a] {
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 600;
}

.comment-timestamp[b-7za0bkmd6a] {
    font-size: 12px;
    color: var(--st-text-subtle);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Info trigger icon button (info icon) */
.comment-info-trigger[b-7za0bkmd6a] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 3px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    transition: all 0.15s ease;
}

.comment-info-trigger:hover[b-7za0bkmd6a],
.comment-info-trigger.active[b-7za0bkmd6a] {
    color: var(--st-text-subtle);
    background: var(--st-surface-sunken);
}

/* Discrete action buttons (visible on hover) */
.comment-item-actions[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.comment-timeline-item:hover .comment-item-actions[b-7za0bkmd6a] {
    opacity: 1;
}

.comment-action-btn[b-7za0bkmd6a] {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    border-radius: 4px;
    color: var(--st-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s ease;
}

.comment-action-btn:hover[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.comment-action-btn.edit-action:hover[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
}

.comment-action-btn.delete-action:hover[b-7za0bkmd6a] {
    background: var(--st-danger-bg);
    color: #ef4444;
}

/* Trace / Audit chip */
.comment-audit-chip[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--st-text-subtle);
    margin: 4px 0 6px 0;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: fadeIn-b-7za0bkmd6a 0.15s ease;
}

/* ===== MEDIA GRID & THUMBNAILS (IMAGEN ARRIBA) ===== */
.comment-media-grid[b-7za0bkmd6a] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 8px 0;
}

.comment-thumb-card[b-7za0bkmd6a] {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--st-surface-muted);
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comment-thumb-card:hover[b-7za0bkmd6a] {
    transform: scale(1.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comment-thumb-img[b-7za0bkmd6a] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video card */
.comment-video-card[b-7za0bkmd6a] {
    max-width: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin: 6px 0 8px 0;
}

.comment-video-player[b-7za0bkmd6a] {
    width: 100%;
    max-height: 180px;
    border-radius: 8px;
    background: #000000;
}

/* Document file chip */
.comment-file-chip[b-7za0bkmd6a] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--st-surface-muted);
    border-radius: 6px;
    text-decoration: none;
    color: var(--st-text);
    border: 1px solid var(--st-border);
    margin: 6px 0 8px 0;
    transition: background 0.15s ease;
    width: fit-content;
}

.comment-file-chip:hover[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
}

.file-chip-icon[b-7za0bkmd6a] {
    flex-shrink: 0;
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
}

.file-chip-meta[b-7za0bkmd6a] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-chip-name[b-7za0bkmd6a] {
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.file-chip-size[b-7za0bkmd6a] {
    font-size: 10px;
    color: var(--st-text-muted);
}

/* ===== COMMENT BODY TEXT (TEXTO DEBAJO) ===== */
.comment-body-text[b-7za0bkmd6a] {
    font-size: 13px;
    color: var(--st-text);
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.comment-edited-badge[b-7za0bkmd6a] {
    font-size: 11px;
    color: var(--st-text-muted);
    font-style: italic;
    margin-top: 2px;
}

/* ===== INLINE EDIT BOX ===== */
.comment-inline-edit-box[b-7za0bkmd6a] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px;
}

.inline-edit-textarea[b-7za0bkmd6a] {
    width: 100%;
    min-height: 48px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: inherit;
    color: var(--st-text);
    background: transparent;
    resize: vertical;
}

.inline-edit-actions[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.btn-save-edit[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    background: #7c3aed;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-save-edit:hover:not(:disabled)[b-7za0bkmd6a] {
    background: #6d28d9;
}

.btn-save-edit:disabled[b-7za0bkmd6a] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cancel-edit[b-7za0bkmd6a] {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.btn-cancel-edit:hover[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.inline-edit-error[b-7za0bkmd6a] {
    font-size: 11px;
    color: #ef4444;
}

/* ===== INLINE DELETE CONFIRM BOX ===== */
.comment-delete-confirm-box[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    margin-top: 4px;
}

.delete-confirm-label[b-7za0bkmd6a] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-danger-fg);
}

.delete-confirm-buttons[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-confirm-delete[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    background: #ef4444;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-confirm-delete:hover:not(:disabled)[b-7za0bkmd6a] {
    background: #dc2626;
}

.btn-cancel-delete[b-7za0bkmd6a] {
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-secondary);
    cursor: pointer;
}

.btn-cancel-delete:hover[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
}

/* ===== DASHED ADD COMMENT BUTTON ===== */
.comments-composer-section[b-7za0bkmd6a] {
    margin-top: 6px;
}

.btn-add-comment-dashed[b-7za0bkmd6a] {
    border: 1.5px dashed #a78bfa;
    background: rgba(124, 58, 237, 0.06);
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
    border-radius: 10px;
    padding: 9px 16px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-add-comment-dashed:hover[b-7za0bkmd6a] {
    background: rgba(124, 58, 237, 0.12);
    border-color: #7c3aed;
}

/* ===== INLINE COMPOSER CARD ===== */
.composer-backdrop[b-7za0bkmd6a] {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: transparent;
}

.comment-composer-inline[b-7za0bkmd6a] {
    position: relative;
    z-index: 91;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--st-surface);
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn-b-7za0bkmd6a 0.15s ease;
}

.composer-inline-textarea[b-7za0bkmd6a] {
    width: 100%;
    min-height: 48px;
    max-height: 120px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: inherit;
    color: var(--st-text);
    background: transparent;
    resize: vertical;
    line-height: 1.45;
}

.composer-inline-textarea[b-7za0bkmd6a]::placeholder {
    color: var(--st-text-muted);
}

.composer-inline-preview[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    font-size: 11px;
    color: var(--st-text-secondary);
    width: fit-content;
    max-width: 100%;
}

.preview-mini-img[b-7za0bkmd6a] {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.preview-mini-name[b-7za0bkmd6a] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

.preview-mini-size[b-7za0bkmd6a] {
    color: var(--st-text-muted);
}

.preview-mini-remove[b-7za0bkmd6a] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.preview-mini-remove:hover[b-7za0bkmd6a] {
    color: #ef4444;
}

.composer-inline-footer[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid var(--st-border-subtle);
}

.composer-inline-left[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
}

.composer-inline-clip-btn[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
}

.composer-inline-clip-btn:hover:not(.disabled)[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    color: color-mix(in srgb, #7c3aed 65%, var(--st-text-strong));
}

.composer-inline-clip-btn.disabled[b-7za0bkmd6a] {
    opacity: 0.4;
    cursor: not-allowed;
}

.composer-inline-right[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-composer-cancel[b-7za0bkmd6a] {
    background: transparent;
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-composer-cancel:hover:not(:disabled)[b-7za0bkmd6a] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.btn-composer-submit[b-7za0bkmd6a] {
    background: #7c3aed;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease;
}

.btn-composer-submit:hover:not(:disabled)[b-7za0bkmd6a] {
    background: #6d28d9;
}

.btn-composer-submit:disabled[b-7za0bkmd6a] {
    opacity: 0.5;
    cursor: not-allowed;
}

.composer-error-banner[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #ef4444;
    padding: 2px 4px;
}

/* ===== EMPTY & LOADING & READONLY STATES ===== */
.comments-empty-state[b-7za0bkmd6a],
.comments-loading-state[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.comments-loading-state .loading-spinner[b-7za0bkmd6a] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--st-border);
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: chat-spin-b-7za0bkmd6a 0.8s linear infinite;
}

.comments-readonly-notice[b-7za0bkmd6a] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
}

.comments-readonly-notice .readonly-icon[b-7za0bkmd6a] {
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.comments-permission-banner[b-7za0bkmd6a] {
    padding: 8px 12px;
    background: var(--st-surface-muted);
    border: 1px dashed var(--st-border-strong);
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 12px;
}

/* ===== LIGHTBOX OVERLAY ===== */
.chat-lightbox-overlay[b-7za0bkmd6a] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 25, 44, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn-b-7za0bkmd6a 0.2s ease;
}

.chat-lightbox-content[b-7za0bkmd6a] {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-lightbox-img[b-7za0bkmd6a] {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.chat-lightbox-close[b-7za0bkmd6a] {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.chat-lightbox-close:hover[b-7za0bkmd6a] {
    background: #7c3aed;
}

/* Spinners and Keyframes */
.micro-spinner[b-7za0bkmd6a] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: chat-spin-b-7za0bkmd6a 0.8s linear infinite;
    display: inline-block;
}

@keyframes chat-spin-b-7za0bkmd6a {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-7za0bkmd6a {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* /Pages/Home/Components/AssetDetail/ReceptionCheckModal.razor.rz.scp.css */
/* F6-1 «Control del anterior»: same overlay, card and footer as TimelineCardEditModal (the edit of a timeline card). */
.rcm-overlay[b-slp2qgrhuv] {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 16px;
    transition: opacity 0.15s ease-in-out;
}

.rcm-overlay.is-moving[b-slp2qgrhuv] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.rcm-overlay.is-ready[b-slp2qgrhuv] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.rcm-card[b-slp2qgrhuv] {
    background: linear-gradient(155deg, var(--st-surface-raised) 0%, var(--st-surface) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--st-border-strong);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 22px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100dvh - 32px);
    min-height: 0;
}

.rcm-header[b-slp2qgrhuv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-shrink: 0;
}

.rcm-header-text[b-slp2qgrhuv] {
    flex: 1;
    min-width: 0;
}

.rcm-title[b-slp2qgrhuv] {
    margin: 0;
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

.rcm-subtitle[b-slp2qgrhuv] {
    margin: 2px 0 0 0;
    font-size: 0.84rem;
    color: var(--st-text-subtle);
}

.rcm-close[b-slp2qgrhuv] {
    background: var(--st-fill-3);
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    display: flex;
    flex-shrink: 0;
}

.rcm-close:hover[b-slp2qgrhuv] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.rcm-body[b-slp2qgrhuv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.rcm-muted[b-slp2qgrhuv] {
    margin: 0;
    font-size: 0.86rem;
    color: var(--st-text-muted);
}

.rcm-arrival[b-slp2qgrhuv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 12px;
    background: var(--st-warning-bg);
}

.rcm-arrival-title[b-slp2qgrhuv] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--st-warning-text);
}

.rcm-arrival-text[b-slp2qgrhuv] {
    font-size: 0.88rem;
    color: var(--st-text-strong);
    white-space: pre-line;
}

.rcm-label[b-slp2qgrhuv] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--st-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rcm-points-head[b-slp2qgrhuv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rcm-link[b-slp2qgrhuv] {
    background: none;
    border: none;
    padding: 0;
    color: var(--st-accent-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.rcm-points[b-slp2qgrhuv] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rcm-point[b-slp2qgrhuv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: var(--st-surface-muted);
}

.rcm-point-label[b-slp2qgrhuv] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-body);
}

.rcm-segment[b-slp2qgrhuv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.rcm-option[b-slp2qgrhuv] {
    border: 1px solid var(--st-border);
    background: var(--st-fill-3);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.rcm-option.is-selected.is-ok[b-slp2qgrhuv] {
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.rcm-option.is-selected.is-na[b-slp2qgrhuv] {
    background: var(--st-fill-6);
    border-color: var(--st-border-strong);
    color: var(--st-text-strong);
}

.rcm-option.is-selected.is-fail[b-slp2qgrhuv] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.rcm-input[b-slp2qgrhuv],
.rcm-textarea[b-slp2qgrhuv] {
    width: 100%;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.88rem;
    resize: vertical;
}

.rcm-result[b-slp2qgrhuv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid var(--st-danger-border);
    border-radius: 14px;
    background: var(--st-danger-bg);
}

.rcm-result-title[b-slp2qgrhuv] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--st-danger-text);
}

.rcm-result-point[b-slp2qgrhuv] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.rcm-error[b-slp2qgrhuv] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--st-danger-text);
}

.rcm-footer[b-slp2qgrhuv] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.rcm-btn[b-slp2qgrhuv] {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.rcm-btn-secondary[b-slp2qgrhuv] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    font-weight: 600;
}

.rcm-btn-secondary:hover[b-slp2qgrhuv] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.rcm-btn-primary[b-slp2qgrhuv] {
    background: #FE00E4;
    border: none;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.35);
}

.rcm-btn-primary:hover[b-slp2qgrhuv] {
    background: #D400C9;
}

.rcm-btn-primary:disabled[b-slp2qgrhuv] {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
}

.rcm-btn-danger[b-slp2qgrhuv] {
    background: #DC2626;
    border: none;
    color: #FFFFFF;
}

.rcm-btn-danger:hover[b-slp2qgrhuv] {
    background: #B91C1C;
}
/* /Pages/Home/Components/AssetDetail/TimelineCardEditModal.razor.rz.scp.css */
/* Overlay Backdrop */
.tce-modal-overlay[b-obhhb96qbg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: tceFadeIn-b-obhhb96qbg 0.2s ease-out;
    transition: opacity 0.15s ease-in-out;
    padding: 16px;
}

.tce-modal-overlay.is-moving[b-obhhb96qbg] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.tce-modal-overlay.is-ready[b-obhhb96qbg] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Modal Card */
.tce-modal-card[b-obhhb96qbg] {
    background: linear-gradient(155deg, var(--st-surface-raised) 0%, var(--st-surface) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--st-border-strong);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 22px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: tceScaleUp-b-obhhb96qbg 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Cabecera y footer fijos; sólo el body hace scroll (ver .tce-body). */
    max-height: calc(100dvh - 32px);
    min-height: 0;
}

.tce-header[b-obhhb96qbg],
.tce-footer[b-obhhb96qbg] {
    flex-shrink: 0;
}

/* Header */
.tce-header[b-obhhb96qbg] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.tce-header-text[b-obhhb96qbg] {
    flex: 1;
    min-width: 0;
}

.tce-title[b-obhhb96qbg] {
    margin: 0;
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: -0.2px;
}

.tce-subtitle[b-obhhb96qbg] {
    margin: 2px 0 0 0;
    font-size: 0.84rem;
    color: var(--st-text-subtle);
}

.tce-close-btn[b-obhhb96qbg] {
    background: var(--st-fill-3);
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tce-close-btn:hover[b-obhhb96qbg] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

/* Body: único tramo con scroll, para que Cancelar/Guardar queden siempre visibles abajo. Los
   menús de ActionSelectorCard abren hacia abajo y son position:absolute dentro de este body: en
   vez de salirse del modal, alargan el área de scroll y se alcanzan desplazando el contenido. */
.tce-body[b-obhhb96qbg] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* Aire para que la barra de scroll no pise los selectores. */
    padding-right: 6px;
    margin-right: -6px;
}

.tce-section[b-obhhb96qbg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tce-section-label[b-obhhb96qbg] {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

/* "Asignado a" + "Ejecutado por" en una fila. min-width: 0 deja que el nombre del selector se
   recorte con "…" en vez de ensanchar la columna. */
.tce-people-row.has-executor[b-obhhb96qbg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.tce-person[b-obhhb96qbg] {
    min-width: 0;
}

/* El menú de la variante Responsable se ancla a la derecha y abre hacia la izquierda; en la
   columna izquierda eso lo sacaría del modal, así que ahí abre hacia la derecha. */
.tce-people-row.has-executor .tce-person:first-child[b-obhhb96qbg]  .st-as-menu {
    left: 0;
    right: auto;
}

/* En pantallas muy angostas las dos columnas dejarían los nombres ilegibles: se apilan. */
@media (max-width: 380px) {
    .tce-people-row.has-executor[b-obhhb96qbg] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.tce-empty[b-obhhb96qbg] {
    margin: 0;
    font-size: 0.86rem;
    color: var(--st-text-muted);
}

.tce-worker-skeleton[b-obhhb96qbg] {
    height: 44px;
    background: var(--st-fill-3);
    border-radius: 12px;
    animation: tceSkeletonPulse-b-obhhb96qbg 1.4s infinite ease-in-out;
}

@keyframes tceSkeletonPulse-b-obhhb96qbg {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.tce-divider[b-obhhb96qbg] {
    height: 1px;
    background: var(--st-fill-4);
}

/* Flujo (branch type): tarjetas apiladas con la miniatura vertical del flujo y su descripción.
   La tarjeta elegida se marca con el borde magenta; no lleva radio. */
.tce-branch-options[b-obhhb96qbg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tce-branch-option[b-obhhb96qbg] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
}

.tce-branch-option:hover[b-obhhb96qbg] {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
}

.tce-branch-option:focus-visible[b-obhhb96qbg] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.tce-branch-option.is-active[b-obhhb96qbg] {
    background: rgba(254, 0, 228, 0.12);
    border-color: #FE00E4;
    box-shadow: 0 0 0 1px rgba(254, 0, 228, 0.35), 0 0 14px rgba(254, 0, 228, 0.25);
}

/* Lienzo 40×100 de BranchFlowDiagrams; el margen lateral le da su propia columna. */
.tce-branch-diagram[b-obhhb96qbg] {
    flex-shrink: 0;
    width: 38px;
    height: 88px;
    margin: 0 10px;
}

.tce-branch-text[b-obhhb96qbg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tce-branch-title[b-obhhb96qbg] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

.tce-branch-desc[b-obhhb96qbg] {
    font-size: 0.76rem;
    line-height: 1.3;
    color: var(--st-text-muted);
}

.tce-branch-confirm[b-obhhb96qbg] {
    background: var(--st-fill-3);
    border: 1px solid rgba(222, 156, 2, 0.4);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tce-branch-confirm-text[b-obhhb96qbg] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--st-text);
    line-height: 1.35;
}

.tce-branch-confirm-actions[b-obhhb96qbg] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.tce-vft-section[b-obhhb96qbg] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Toggle switch */
.tce-toggle[b-obhhb96qbg] {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: var(--st-fill-6);
    cursor: pointer;
    transition: background 0.18s ease;
    flex-shrink: 0;
    padding: 0;
}

.tce-toggle.is-on[b-obhhb96qbg] {
    background: #DE9C02;
}

.tce-toggle-knob[b-obhhb96qbg] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: transform 0.18s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tce-toggle.is-on .tce-toggle-knob[b-obhhb96qbg] {
    transform: translateX(18px);
}

/* Footer */
.tce-footer[b-obhhb96qbg] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
}

.btn-tce-cancel[b-obhhb96qbg] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-tce-cancel:hover[b-obhhb96qbg] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.btn-tce-save[b-obhhb96qbg] {
    background: #FE00E4;
    border: none;
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.35);
}

.btn-tce-save:hover[b-obhhb96qbg] {
    background: #D400C9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(254, 0, 228, 0.45);
}

.btn-tce-save:disabled[b-obhhb96qbg] {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Eliminar (borrado lógico): sólido como los demás botones del footer, en rojo, y a la izquierda
   separado de Cancelar/Guardar para que no se toque por error. */
.btn-tce-delete[b-obhhb96qbg] {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #DC2626;
    border: none;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn-tce-delete:hover[b-obhhb96qbg] {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

.btn-tce-danger[b-obhhb96qbg] {
    background: #DC2626;
    border: none;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease;
}

.btn-tce-danger:hover[b-obhhb96qbg] {
    background: #B91C1C;
}

/* Confirmaciones fijas entre el cuerpo (con scroll) y el footer: siempre a la vista. Entran con
   una animación corta para que el usuario note que su clic hizo algo. */
.tce-confirm-dock[b-obhhb96qbg] {
    flex-shrink: 0;
    animation: tceDockIn-b-obhhb96qbg 0.2s ease-out;
}

@keyframes tceDockIn-b-obhhb96qbg {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tce-delete-confirm[b-obhhb96qbg] {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Animations */
@keyframes tceFadeIn-b-obhhb96qbg {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tceScaleUp-b-obhhb96qbg {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .tce-modal-card[b-obhhb96qbg] {
        padding: 18px;
        border-radius: 20px;
    }

    .tce-footer[b-obhhb96qbg] {
        flex-direction: column-reverse;
    }

    .tce-footer button[b-obhhb96qbg] {
        width: 100%;
    }

    .tce-branch-option[b-obhhb96qbg] {
        gap: 10px;
        padding: 10px;
    }

    .tce-branch-diagram[b-obhhb96qbg] {
        width: 30px;
        height: 72px;
        margin: 0 4px;
    }
}
/* /Pages/Home/Components/AssetDetail/TimelineHandOverFormSection.razor.rz.scp.css */
/* Espaciado dentro de card-expanded-content, igual que el resto de secciones del expandido (rondas,
   fotos): el propio HandOverFormProjectionPanel ya trae su paleta clara/oscura vía Dark. */
[b-vr95mdpvvz] .hop-panel {
    margin-top: 12px;
}
/* /Pages/Home/Components/AssetDetail/TimelinePanel.razor.rz.scp.css */
.timeline-panel[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 2;
    min-width: 400px;
    position: relative;
    padding-top: 0px;
    /* Space for the tab to protrude */

    /* ── Paleta de la línea de tiempo (FUENTE ÚNICA de color) ──
       Canales RGB sueltos para poder aplicar cualquier opacidad con
       rgb(var(--c-x) / a) sin repetir el hex. */
    --c-flow-none: 103 123 196;
    /* índigo  — tronco / flujo normal. Espejo de TimeLineBranchPalette.MainlineHex (#677BC4),
       que es a su vez el índigo de la serie "Estado Real" del burndown: el tronco y esa curva
       cuentan el mismo hecho y se miran uno al lado del otro.
       El verde y el rojo quedan reservados para señalización de estado (inicio, fin), así que
       el tronco vive en la escala de identidad de línea, no en la de estado. */
    --c-dependency: 176 125 212;
    /* violeta — acento del TIPO dependency (badge, conector, espera punteada).
       Era #6EB5D4, un celeste: con el tronco verde funcionaba, pero con el tronco índigo pasó a
       competir con él y una dependencia se leía como línea principal. Violeta no colisiona ni con
       el tronco ni con la reserva de verde/rojo. */
    --c-parallel: 218 197 127;
    /* dorado  — rama parallel */
    --c-pending: 191 203 218;
    /* gris    — pendiente / no ejecutado */
    --c-progress: 242 153 74;
    /* ámbar   — en ejecución (sin terminar) */
}

/* The folder tab - small protruding tab on top left */
.folder-tab-header[b-1u3781oj2d] {
    position: absolute;
    top: 0;
    left: 15px;
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    background: var(--st-surface-strong);
    border-radius: 12px 12px 0 0;
    z-index: 2;
    border: 1px solid var(--st-border);
    border-bottom: none;
}

.folder-tab-title[b-1u3781oj2d] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

/* Hide the assign button from the tab header - it will be inside the content */
.assign-btn[b-1u3781oj2d] {
    display: none;
}

/* Timeline Content - main folder body with notch for tab */
.timeline-content[b-1u3781oj2d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--st-surface-strong);
    border-radius: 16px 16px 16px 16px;
    padding: 20px;
    border: 1px solid var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content.embedded[b-1u3781oj2d] {
    padding: 10px 8px;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border-strong);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Timeline content header with Assign button */
.timeline-content-header[b-1u3781oj2d] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
    padding-right: 8px;
    box-sizing: border-box;
}

/* Asignar y Entregar de la cabecera: los pinta ActionButtonBar (misma variante normal que las
   acciones de la OT). Acá sólo se coloca el bloque en la fila, sin encoger: el ancho lo cede el
   resumen de horas, que es flexible. El botón POR LÍNEA es .branch-deliver-btn, vive dentro de
   las tarjetas y nunca coincide en pantalla con este. */
.timeline-header-actions[b-1u3781oj2d] {
    flex: 0 0 auto;
    align-self: center;
    margin-left: 8px;
}

/* El ajuste por ancho de la cabecera (iconos, métricas compactas, fila aparte) está al final del archivo. */
.timeline-content[b-1u3781oj2d] {
    container-type: inline-size;
    container-name: timeline-box;
}

/* Legacy styles kept for compatibility */
.timeline-header[b-1u3781oj2d] {
    display: none;
}

.timeline-title[b-1u3781oj2d],
.timeline-subtitle[b-1u3781oj2d] {
    display: none;
}

/* WorkOrder Pills Row - hidden, moved to DynamicPanel */
.workorder-pills-row[b-1u3781oj2d] {
    display: none;
}

.add-wo-btn[b-1u3781oj2d] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FE00E4;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.add-wo-btn:hover[b-1u3781oj2d] {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.wo-header-pill[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    color: var(--st-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wo-header-pill:hover[b-1u3781oj2d] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.wo-header-pill.active[b-1u3781oj2d] {
    background: #e5b900;
    border-color: transparent;
    color: white;
}

.pill-progress[b-1u3781oj2d] {
    padding: 2px 8px;
    background: var(--st-fill-5);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.wo-header-pill.active .pill-progress[b-1u3781oj2d] {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Timeline Container */
.timeline-container[b-1u3781oj2d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.timeline-section-title[b-1u3781oj2d] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--st-border);
}

/* Timeline Loading & Empty */
.timeline-loading[b-1u3781oj2d],
.timeline-empty[b-1u3781oj2d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--st-text-muted);
}

.timeline-load-failed[b-1u3781oj2d] {
    padding: 24px;
    text-align: center;
    color: var(--st-text-strong);
}

.timeline-retry-btn[b-1u3781oj2d] {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.timeline-retry-btn:disabled[b-1u3781oj2d] {
    opacity: 0.55;
    cursor: not-allowed;
}

.loading-spinner[b-1u3781oj2d] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top-color: var(--st-border-stronger);
    border-radius: 50%;
    animation: spin-b-1u3781oj2d 1s linear infinite;
}

@keyframes spin-b-1u3781oj2d {
    to {
        transform: rotate(360deg);
    }
}

/* Timeline List */
.timeline-list[b-1u3781oj2d] {
    /* Date column shared by process rows and rework header/closer rows: the rail starts right
       after it, so any difference between them moves the main line sideways. */
    --timeline-date-col: 50px;
    --timeline-date-gap: 6px;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    /* Hide scrollbar but keep scroll functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    border-radius: 15px;
}

.timeline-list[b-1u3781oj2d]::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Timeline Item */
/* Layout principal: [fecha | rail | card | avatares] igual que móvil */
.timeline-item[b-1u3781oj2d] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    position: relative;
    min-height: 52px;
}

/* Separación entre el carril y la card */
.timeline-main-content[b-1u3781oj2d] {
    padding-left: 4px;
}

/* Timeline Node — círculo nítido con borde coloreado y relleno acorde al estado */
.timeline-node[b-1u3781oj2d] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
    background: var(--st-surface);
    border: 2.5px solid var(--lane-color, rgb(var(--c-flow-none)));
    box-sizing: border-box;
}

/* Executed/suspended = color del tronco/rama con relleno pleno */
.timeline-node.executed[b-1u3781oj2d],
.timeline-node.suspended[b-1u3781oj2d] {
    background: var(--lane-color, rgb(var(--c-flow-none)));
    border: 2.5px solid var(--lane-color, rgb(var(--c-flow-none)));
}

.timeline-node.assigned[b-1u3781oj2d] {
    background: var(--st-surface);
    border: 2px solid var(--st-border-strong);
}

/* Current: acento azul/ámbar con halo suave */
.timeline-node.current[b-1u3781oj2d] {
    background: var(--st-surface);
    border: 3px solid #3b82f6;
    box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.25);
    animation: pulse-b-1u3781oj2d 2s infinite;
}

/* Nodo de bifurcación */
.timeline-node.node-branch[b-1u3781oj2d] {
    border-color: var(--lane-color, rgb(var(--c-parallel)));
}

.timeline-node.node-branch.executed[b-1u3781oj2d],
.timeline-node.node-branch.suspended[b-1u3781oj2d] {
    background: var(--lane-color, rgb(var(--c-parallel)));
}

.current-indicator[b-1u3781oj2d] {
    width: 8px;
    height: 8px;
    background: var(--st-surface);
    border-radius: 50%;
}

@keyframes pulse-b-1u3781oj2d {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.35);
    }
}

@keyframes pulse-inner-b-1u3781oj2d {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

/* Fecha y hora — columna izquierda alineada con el nodo */
.timeline-date[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: var(--timeline-date-col, 50px);
    min-width: var(--timeline-date-col, 50px);
    padding-right: var(--timeline-date-gap, 6px);
    box-sizing: border-box;
    text-align: right;
    flex-shrink: 0;
    padding-top: 18px;
    line-height: 1.15;
    position: relative;
    z-index: auto;
}

/* Card + avatares — toma el espacio restante */
.timeline-main-content[b-1u3781oj2d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 4px;
    padding-bottom: 4px;
    padding-top: 6px;
    min-width: 0;
}

.date-text[b-1u3781oj2d] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
    text-transform: uppercase;
    white-space: nowrap;
}

.time-text[b-1u3781oj2d] {
    font-size: 10px;
    font-weight: 400;
    color: var(--st-text-muted);
    white-space: nowrap;
    margin-top: 2px;
}


/* Timeline Card */
/* Timeline Card / Process Card */
.timeline-card[b-1u3781oj2d],
.process-card[b-1u3781oj2d] {
    background: var(--st-surface);
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.timeline-card:hover[b-1u3781oj2d],
.process-card:hover[b-1u3781oj2d] {
    border-color: var(--st-border-strong);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.timeline-card.is-active-process[b-1u3781oj2d],
.process-card.is-active-process[b-1u3781oj2d] {
    border: 1.5px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.timeline-card.is-delayed[b-1u3781oj2d],
.process-card.is-delayed[b-1u3781oj2d] {
    border-color: rgba(220, 38, 38, 0.45);
}

.timeline-card.is-active-process.is-delayed[b-1u3781oj2d],
.process-card.is-active-process.is-delayed[b-1u3781oj2d] {
    border: 1.5px solid rgba(220, 38, 38, 0.55);
}

.timeline-card.executed[b-1u3781oj2d],
.timeline-card.suspended[b-1u3781oj2d] {
    background: color-mix(in srgb, var(--lane-color, #4E75CD) 6%, var(--st-surface));
    border-color: color-mix(in srgb, var(--lane-color, #4E75CD) 24%, var(--st-border));
}

.timeline-card.current[b-1u3781oj2d] {
    background: color-mix(in srgb, var(--lane-color, #3B82F6) 10%, var(--st-surface));
    border-color: color-mix(in srgb, var(--lane-color, #3B82F6) 50%, var(--st-border));
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

.timeline-card.assigned[b-1u3781oj2d] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    border-style: dashed;
}

.timeline-card.assigned>*[b-1u3781oj2d] {
    opacity: 0.70;
    filter: grayscale(10%);
    transition: all 0.2s ease;
}

.timeline-card.assigned:hover>*[b-1u3781oj2d] {
    opacity: 0.95;
    filter: grayscale(0%);
}

/* The right side (buttons, badges) wraps under the title before the title gets narrower than its floor: squeezed to a few
   pixels, the process name used to break one letter per line. */
.card-header[b-1u3781oj2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.timeline-card.current .card-header[b-1u3781oj2d] {
    min-width: 0;
}

.timeline-card.current .card-header .card-header-left[b-1u3781oj2d] {
    min-width: min(170px, 100%);
    flex: 1 1 170px;
}

.card-header-left[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(170px, 100%);
    flex: 1 1 170px;
}
.process-icon-wrapper[b-1u3781oj2d] {
    position: relative;
    flex-shrink: 0;
}

.process-photo-badge[b-1u3781oj2d] {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #eab308;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.process-icon[b-1u3781oj2d] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 1.5px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.process-icon img[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-icon svg[b-1u3781oj2d] {
    color: #64748b;
}

.process-info[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.process-title-row[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.process-name[b-1u3781oj2d] {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.35;
    /* Breaks between words; a long name ends in «…» on its second line and the full name is in the tooltip. */
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.process-status-pill[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    padding: 1.5px 6px;
    border-radius: 4px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.process-status-pill.pill-start[b-1u3781oj2d] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-weight: 600;
}

.process-status-pill.pill-delay[b-1u3781oj2d] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    font-weight: 700;
}

.process-subtitle-row[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.process-subtitle[b-1u3781oj2d] {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--st-text-subtle);
    line-height: 1.2;
}

.process-observations[b-1u3781oj2d] {
    font-size: 11px;
    color: var(--st-text-subtle);
}

.process-reason-pill[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 500;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border);
}

.process-closed-observation[b-1u3781oj2d] {
    font-size: 11px;
    color: var(--st-text-subtle);
    font-style: italic;
    line-height: 1.3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges Group a la derecha del Header */
.card-header-badges[b-1u3781oj2d] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}

.card-person-column[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 32px;
}

.card-person-column.has-selector[b-1u3781oj2d] {
    align-items: flex-end;
}

.card-collapse-btn[b-1u3781oj2d] {
    background: transparent;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    transition: color 0.15s ease;
}

.card-collapse-btn.under-selector-chevron[b-1u3781oj2d] {
    align-self: flex-end;
    margin-right: 4px;
    width: 24px;
}

.card-collapse-btn:hover[b-1u3781oj2d] {
    color: var(--st-text-secondary);
}

.card-chevron[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    color: currentColor;
    flex-shrink: 0;
}

.card-chevron.expanded[b-1u3781oj2d] {
    transform: rotate(180deg);
    color: currentColor;
}

.photo-badge[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.photo-badge:hover[b-1u3781oj2d] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

.comment-count-badge[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-accent-bg);
    border: 1px solid var(--st-accent-border);
    color: var(--st-accent-text);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.comment-count-badge:hover[b-1u3781oj2d] {
    background: var(--st-accent-bg);
    border-color: #f472b6;
}

.card-person-avatar[b-1u3781oj2d] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--st-border);
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.card-person-avatar img[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-person-avatar svg[b-1u3781oj2d] {
    width: 15px;
    height: 15px;
    color: rgba(0, 0, 0, 0.3);
}

.card-person-avatar-initials[b-1u3781oj2d] {
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    line-height: 1;
    user-select: none;
}

/* A46 (F4b): the person the plan designates, when it is not who has the step in «Pendientes» */
.timeline-designated[b-1u3781oj2d] {
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-size: 12px;
}

/* Vista previa del último comentario */
.timeline-comment-preview[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
    max-width: 100%;
}

.timeline-comment-preview:hover[b-1u3781oj2d] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-strong);
}

.preview-comment-icon[b-1u3781oj2d] {
    color: #db2777;
    flex-shrink: 0;
}

.preview-comment-author[b-1u3781oj2d] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text);
    flex-shrink: 0;
    white-space: nowrap;
}

.preview-comment-text[b-1u3781oj2d] {
    font-size: 11px;
    color: var(--st-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

/* Selector de responsable (item current) */
.card-responsible-selector[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    overflow: visible;
}

/* Lápiz de edición rápida. A la izquierda del avatar/selector de responsable, que ocupan
   right:8px en sus respectivos estados — mismo hueco en los dos casos. Sólo el ícono, sin círculo
   ni fondo: el hover cambia su color. El área de 24px se conserva para que sea fácil de tocar. */
.card-edit-btn[b-1u3781oj2d] {
    position: absolute;
    top: 8px;
    right: 44px;
    z-index: 15;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: color 0.18s ease;
}

.card-edit-btn:hover[b-1u3781oj2d] {
    color: #FE00E4;
}

/* «Deshacer entrega» (D527): a quiet text action, under the header of the current step. */
.card-undo-btn[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 0;
    border: none;
    background: none;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.card-undo-btn:hover:not(:disabled)[b-1u3781oj2d] {
    color: #FE00E4;
}

.card-undo-btn:focus-visible[b-1u3781oj2d] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.card-undo-btn:disabled[b-1u3781oj2d] {
    cursor: default;
    opacity: 0.6;
}

.card-edit-btn.is-saving[b-1u3781oj2d] {
    cursor: default;
    opacity: 0.85;
}

/* Señal de "guardando" para CUALQUIER tarjeta, no sólo current: sin esto el usuario cerraba el
   modal y no veía nada mientras la llamada de red terminaba, y parecía que el cambio tardaba en
   reflejarse cuando en realidad solo faltaba feedback visual. */
.card-edit-btn-spinner[b-1u3781oj2d] {
    width: 12px;
    height: 12px;
    border: 2px solid var(--st-border-strong);
    border-top-color: var(--st-text-subtle);
    border-radius: 50%;
    animation: cardEditSpin-b-1u3781oj2d 0.7s linear infinite;
}

@keyframes cardEditSpin-b-1u3781oj2d {
    to { transform: rotate(360deg); }
}

/* En tarjetas current el lápiz se dibuja DENTRO de card-responsible-selector (hijo flex más,
   junto al ícono de plan y el avatar) en vez de flotar suelto sobre la tarjeta: así queda pegado
   a la izquierda del selector sin depender de calcular right:Npx contra otros badges de ancho
   variable (cámara, ronda) que ya compiten por esa misma esquina. */
.card-responsible-selector .card-edit-btn[b-1u3781oj2d] {
    position: static;
    flex-shrink: 0;
    line-height: 0;
}

.card-responsible-selector .card-edit-btn svg[b-1u3781oj2d] {
    display: block;
}

.timeline-panel.dark-gold-theme .card-edit-btn[b-1u3781oj2d] {
    color: var(--st-text-subtle);
}

.timeline-panel.dark-gold-theme .card-edit-btn:hover[b-1u3781oj2d] {
    color: #FE00E4;
}

/* Marca de "plan, no custodia". Sustituye al rotulo "Planificado", que competia en peso con el
   titulo del proceso y repetia lo que la tarjeta ya dice en texto. */
.planned-worker-hint[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--st-text-muted);
    transition: color 0.15s ease;
}

.timeline-main-content:hover .planned-worker-hint[b-1u3781oj2d] {
    color: #677BC4;
}

.planned-worker-hint.saving[b-1u3781oj2d] {
    width: 12px;
    height: 12px;
    margin: 2px;
    border: 2px solid rgba(103, 123, 196, 0.25);
    border-top-color: #677BC4;
    border-radius: 50%;
    animation: spin-b-1u3781oj2d 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .planned-worker-hint.saving[b-1u3781oj2d] {
        animation: none;
    }
}



/* Action Icons */

.action-icons[b-1u3781oj2d] {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--st-border);
}

.action-btn[b-1u3781oj2d] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.action-btn:hover[b-1u3781oj2d] {
    background: #e5b900;
    color: white;
    border-color: #e5b900;
}

.action-btn.active[b-1u3781oj2d] {
    background: #db2777;
    color: #ffffff;
    border-color: #db2777;
}

.action-btn.action-btn-comments.pill-active[b-1u3781oj2d] {
    width: auto;
    padding: 0 12px;
    border-radius: 9999px;
    gap: 6px;
    background: #db2777;
    color: #ffffff;
    border-color: #db2777;
    box-shadow: 0 2px 8px rgba(219, 39, 119, 0.3);
}

.action-btn.action-btn-comments.pill-active:hover[b-1u3781oj2d] {
    background: #be185d;
    border-color: #be185d;
}

.action-btn .action-btn-text[b-1u3781oj2d] {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.action-btn .action-badge[b-1u3781oj2d] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #db2777;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 9999px;
    line-height: 1;
    border: 1.5px solid var(--st-surface);
}

.action-btn.active .action-badge[b-1u3781oj2d] {
    background: #1f2f45;
}

/* Branch Container - Ramificaciones */
.branch-container[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 20px;
    position: relative;
}

.branch-container[b-1u3781oj2d]::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--st-surface-strong);
}

.branch-item[b-1u3781oj2d] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

.branch-line[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    position: relative;
}

.branch-horizontal[b-1u3781oj2d] {
    width: 20px;
    height: 2px;
    background: var(--st-surface-strong);
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.branch-node[b-1u3781oj2d] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface);
    border: 2px solid #ffc107;
    border-radius: 50%;
    color: #ffc107;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.branch-count[b-1u3781oj2d] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #4ecdc4;
}

.branch-content[b-1u3781oj2d] {
    flex: 1;
    padding: 6px 12px;
    background: var(--st-surface-sunken);
    border-radius: 8px;
    border: 1px solid var(--st-border);
}

.branch-text[b-1u3781oj2d] {
    font-size: 0.75rem;
    color: var(--st-text-secondary);
    line-height: 1.4;
}

/* Status Tag Container */
.status-tag-container[b-1u3781oj2d] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 20px;
}

.status-tag[b-1u3781oj2d] {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

.status-tag.pending[b-1u3781oj2d] {
    background: rgba(255, 179, 71, 0.15);
    color: #E69900;
    border: 1px solid rgba(255, 179, 71, 0.3);
}

/* Timeline Avatars */
.timeline-avatars[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    padding-top: 4px;
}

.avatar[b-1u3781oj2d] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--st-border);
    background: var(--st-surface-sunken);
}

.avatar img[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar.placeholder[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.avatar.secondary[b-1u3781oj2d] {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    border-color: #4ecdc4;
}

/* Expanded Content inside Card */
.timeline-card[b-1u3781oj2d] {
    cursor: pointer;
}

.timeline-card.expanded[b-1u3781oj2d] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-expanded-content[b-1u3781oj2d] {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expand-stakeholders-header[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border-subtle);
    flex-wrap: wrap;
}

.expand-stakeholder-col[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.expand-stakeholder-label[b-1u3781oj2d] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.expand-stakeholder-label.label-assigned[b-1u3781oj2d] {
    color: var(--st-success-fg);
}

.expand-stakeholder-label.label-executed[b-1u3781oj2d] {
    color: var(--st-warning-fg);
}

.expand-stakeholder-label.label-assigned-by[b-1u3781oj2d] {
    color: var(--st-text-secondary);
}

.expand-stakeholder-info[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.expand-stakeholder-name[b-1u3781oj2d] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text);
}

.expand-avatar[b-1u3781oj2d] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid;
    overflow: hidden;
    background: var(--st-surface);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-avatar.avatar-assigned[b-1u3781oj2d] {
    border-color: #16a34a;
}

.expand-avatar.avatar-executed[b-1u3781oj2d] {
    border-color: #d97706;
}

.expand-avatar.avatar-assigned-by[b-1u3781oj2d] {
    border-color: var(--st-border-stronger);
}

.expand-avatar img[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expand-avatar-initials[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
}

.expand-delivery-info[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 7px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 6px;
}

.delivery-info-row[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.delivery-info-row.delivery-obs-row[b-1u3781oj2d] {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
}

.delivery-info-label[b-1u3781oj2d] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.delivery-reason-badge[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    padding: 1.5px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border-strong);
    width: fit-content;
}

.delivery-obs-text[b-1u3781oj2d] {
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--st-text-body);
    word-break: break-word;
    white-space: pre-wrap;
    margin: 0;
}

/* Delivery Photos Section */
.delivery-photos-section[b-1u3781oj2d] {
    margin-bottom: 8px;
}

.delivery-photos-title[b-1u3781oj2d] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.delivery-photos-grid[b-1u3781oj2d] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.delivery-photo-thumb[b-1u3781oj2d] {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--st-surface-muted);
}

.delivery-photo-thumb img[b-1u3781oj2d] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-zoom-hint[b-1u3781oj2d] {
    position: absolute;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s;
}

.delivery-photo-thumb:hover .photo-zoom-hint[b-1u3781oj2d] {
    opacity: 1;
}

/* VM-timeline-4: replace the photo of a saved evidence in place. */
.photo-replace-btn[b-1u3781oj2d] {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    overflow: hidden;
}

.photo-replace-btn[b-1u3781oj2d]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.photo-replacing[b-1u3781oj2d] {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}

.photo-replacing-spinner[b-1u3781oj2d] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: photo-replacing-spin-b-1u3781oj2d 0.8s linear infinite;
}

@keyframes photo-replacing-spin-b-1u3781oj2d {
    to { transform: rotate(360deg); }
}

.expand-section[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.expand-header[b-1u3781oj2d] {
    font-size: 0.7rem;
    font-weight: 700;
}

.expand-row[b-1u3781oj2d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expand-name[b-1u3781oj2d] {
    font-size: 0.8rem;
    color: var(--st-text-brand);
    font-weight: 500;
    max-width: 80%;
    line-height: 1.2;
}

.expand-divider[b-1u3781oj2d] {
    height: 1px;
    background: var(--st-surface-strong);
    opacity: 0.5;
    margin: 4px 0;
}

/* ── Badges superiores de la tarjeta (Evidencias y Comentarios) ── */
.card-top-badges[b-1u3781oj2d] {
    position: absolute;
    top: 8px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.timeline-card.current .card-top-badges[b-1u3781oj2d] {
    right: 80px;
}

/* Flota en la esquina superior derecha, a la izquierda del lápiz (right: 44px, 24px de ancho). Si
   fuera un hijo en flujo ocupaba una fila propia y empujaba el encabezado hacia abajo, y el lápiz
   —anclado arriba— dejaba de alinearse con el avatar. Los `right` de la insignia de ronda
   (78px / 138px) y de la tarjeta current (110px / 170px) ya cuentan con esta posición. */
.evidence-badge[b-1u3781oj2d] {
    position: absolute;
    top: 8px;
    right: 78px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.70rem;
    font-weight: 600;
    border: 1px solid var(--st-border);
    transition: all 0.2s ease;
}

.timeline-card.current .evidence-badge[b-1u3781oj2d] {
    /* +15px respecto al valor base: el selector de responsable ahora incluye el lápiz (24px +
       gap), así que su borde izquierdo quedó un poco más lejos de right:8px que antes. */
    top: 12px;
    right: 110px;
}

.comments-badge[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.70rem;
    font-weight: 600;
    border: 1px solid var(--st-border);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.comments-badge:hover[b-1u3781oj2d] {
    background: var(--st-surface-strong);
    color: var(--st-text);
    border-color: var(--st-border-strong);
    transform: translateY(-1px);
}

.comments-badge.has-comments[b-1u3781oj2d] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border-color: var(--st-accent-border);
}

.comments-badge.has-comments:hover[b-1u3781oj2d] {
    background: rgba(216, 27, 132, 0.15);
    border-color: #d81b84;
}

.comments-badge-count[b-1u3781oj2d] {
    font-weight: 700;
}

.timeline-card.expanded .card-top-badges .evidence-badge[b-1u3781oj2d] {
    opacity: 0;
    visibility: hidden;
}

/* ── Rondas: el vehículo se revisó y estaba al día ──
   Insignia de la tarjeta colapsada. Se corre a la izquierda de la de evidencias cuando ambas
   conviven, para que no se monten (la de evidencias vive en right: 78px / 95px si es la vigente). */
.round-check-badge[b-1u3781oj2d] {
    position: absolute;
    top: 8px;
    right: 78px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--st-success-bg);
    color: var(--st-success-text);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.70rem;
    font-weight: 600;
    border: 1px solid var(--st-success-border);
    z-index: 2;
    transition: all 0.2s ease;
}

.round-check-badge.with-photos[b-1u3781oj2d] {
    right: 138px;
}

.timeline-card.current .round-check-badge[b-1u3781oj2d] {
    top: 12px;
    right: 110px;
}

.timeline-card.current .round-check-badge.with-photos[b-1u3781oj2d] {
    right: 170px;
}

.timeline-card.expanded .round-check-badge[b-1u3781oj2d] {
    opacity: 0;
    visibility: hidden;
}

/* Línea de tiempo propia de la ronda, dentro del detalle del proceso. */
.round-check-list[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.round-check-item[b-1u3781oj2d] {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.round-check-rail[b-1u3781oj2d] {
    position: relative;
    width: 10px;
    flex: 0 0 10px;
    display: flex;
    justify-content: center;
}

/* El riel se dibuja con el borde del propio carril: así la línea nace y muere con la lista, sin
   sobresalir por debajo del último paso. */
.round-check-item:not(:last-child) .round-check-rail[b-1u3781oj2d]::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: -2px;
    width: 2px;
    background: var(--st-success-border);
}

.round-check-dot[b-1u3781oj2d] {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #10b981;
    flex: 0 0 8px;
    z-index: 1;
}

.round-check-body[b-1u3781oj2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 8px;
}

.round-check-moment[b-1u3781oj2d] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--st-success-text);
    letter-spacing: 0.02em;
}

.round-check-text[b-1u3781oj2d] {
    font-size: 0.75rem;
    color: var(--st-text-brand);
}

.round-check-author[b-1u3781oj2d] {
    font-size: 0.7rem;
    color: var(--st-text-subtle);
}

.round-check-gallery[b-1u3781oj2d] {
    flex-basis: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-top: 4px;
    scrollbar-width: none;
}

.round-check-thumb[b-1u3781oj2d] {
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--st-success-border);
    line-height: 0;
    transition: transform 0.2s ease;
}

.round-check-thumb:hover[b-1u3781oj2d] {
    transform: scale(1.04);
}

.round-check-thumb img[b-1u3781oj2d] {
    height: 62px;
    width: auto;
    max-width: 110px;
    object-fit: cover;
}

.round-check-note[b-1u3781oj2d] {
    flex-basis: 100%;
    font-size: 0.7rem;
    color: var(--st-text-subtle);
    font-style: italic;
}

.timeline-panel.dark-gold-theme .round-check-text[b-1u3781oj2d] {
    color: var(--st-text);
}

.timeline-panel.dark-gold-theme .round-check-moment[b-1u3781oj2d] {
    color: var(--st-success-fg);
}

.timeline-panel.dark-gold-theme .round-check-author[b-1u3781oj2d],
.timeline-panel.dark-gold-theme .round-check-note[b-1u3781oj2d] {
    color: var(--st-text-subtle);
}

/* ── Evidence Thumbnail with Zoom Icon ── */
.evidence-thumb[b-1u3781oj2d] {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evidence-thumb:hover[b-1u3781oj2d] {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.evidence-zoom-icon[b-1u3781oj2d] {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.evidence-thumb:hover .evidence-zoom-icon[b-1u3781oj2d] {
    opacity: 1;
}

.store-badge[b-1u3781oj2d] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.store-badge.in-store[b-1u3781oj2d] {
    background-color: rgba(72, 187, 120, 0.15);
    color: #38a169;
}

.store-badge.out-store[b-1u3781oj2d] {
    background-color: rgba(229, 62, 62, 0.15);
    color: #e53e3e;
}

.store-badge.row-badge[b-1u3781oj2d] {
    font-size: 0.64rem;
    font-weight: 700;
    background-color: #DD9004;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 3px 8px 1px;
    line-height: 1;
    letter-spacing: 0.04em;
    margin-right: auto;
}

/* ── Sistema de carriles (branching) ────────────────────────────────────── */

/* Reemplaza .timeline-line cuando hay ramificaciones activas */
.timeline-rail[b-1u3781oj2d] {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    position: relative;
    min-width: 35px;
    width: 35px;
    overflow: visible;
}

/* Cada carril es una columna vertical */
.rail-lane[b-1u3781oj2d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 18px;
    width: 18px;
    position: relative;
    overflow: visible;
}

.rail-main[b-1u3781oj2d] {
    order: 1;
}

.rail-branch[b-1u3781oj2d] {
    order: 2;
}

/* Segmentos de línea: llenan el alto disponible como fondo continuo */
.rail-segment[b-1u3781oj2d] {
    width: 3px;
    border-radius: 0;
}

/* El segmento superior siempre debe terminar en el centro del nodo (33px) */
.rail-lane .rail-segment.segment-upper[b-1u3781oj2d] {
    flex: 0 0 33px;
    min-height: 33px;
}

/* El segmento inferior toma el resto del espacio */
.rail-lane .rail-segment.segment-lower[b-1u3781oj2d] {
    flex: 1;
    min-height: 8px;
}

/* El nodo se posiciona de forma absoluta a un offset fijo desde el top del ítem
   para que siempre quede alineado con el encabezado de la tarjeta,
   independientemente del alto total del ítem. */
.timeline-node[b-1u3781oj2d] {
    position: absolute !important;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-node.node-branch[b-1u3781oj2d] {
    /* La rama tiene el mismo top fijo */
    top: 26px;
}

/* Auto-executed step (the system closed it, nobody worked it): a smaller dot in its lane's colour.
   Scaled around its centre, so it stays on the lane axis and level with the card; a different
   colour or column here is what made these rows read as another line. */
.timeline-node.auto-executed[b-1u3781oj2d] {
    transform: translateX(-50%) scale(0.72);
}

/* Colores de segmento.
   NOTA de nombres: las clases `*-green` conservan el nombre histórico pero ya NO pintan verde —
   pintan el color del TRONCO (--c-flow-none), hoy azul. El nombre describe el rol (flujo normal),
   no el tono; renombrarlas tocaría el resolver, el razor y el closer-* derivado sin cambiar nada
   visible. Si alguna vez se renombran, que sea a `segment-flow` / `conn-flow` / `stroke-flow`. */
.segment-green[b-1u3781oj2d] {
    background: rgb(var(--c-flow-none));
}

.segment-yellow[b-1u3781oj2d] {
    background: rgb(var(--c-parallel));
}

.segment-program[b-1u3781oj2d] {
    background: rgb(var(--c-pending) / 0.4);
}

/* tenue: tronco atenuado — mainline pass-through cuando la rama ya fue ejecutada (igual que MainlineTenue en móvil) */
.segment-tenue[b-1u3781oj2d] {
    background: rgb(var(--c-flow-none) / 0.45);
}

/* hidden: oculta el segmento por completo. Se conserva para casos que de verdad no deben dibujar
   nada; NO se usa para dependencias — ver segment-waiting. */
.rail-segment.segment-hidden[b-1u3781oj2d] {
    background: transparent !important;
}

/* waiting: el tronco existe pero está DETENIDO esperando que una dependencia retorne.
   Punteado y atenuado — "esto sigue acá y va a continuar", no "esto no existe".
   Ocultarlo cortaba la línea y dejaba el nodo de cierre flotando, desconectado del historial.
   El punteado además lo separa del PARALLEL, cuyo tronco corre sólido porque sí avanza.

   Va en el color del TRONCO, no en el de la dependencia. Esta línea ES el tronco: lo único que
   cambia es su estado (detenido), y el estado se dice con la forma —punteado— y la intensidad,
   nunca con el color. Pintarla del color de la rama le ponía al tronco la identidad de otra
   línea: en pantalla la principal aparecía de color de rama y la rama parecía seguir en el color
   del tronco. Justo al revés de lo que el dibujo tiene que contar. */
.rail-segment.segment-waiting[b-1u3781oj2d] {
    background: repeating-linear-gradient(
        to bottom,
        rgb(var(--c-flow-none) / 0.55) 0 5px,
        transparent 5px 10px
    ) !important;
}

/* Placeholder visual para el espacio del nodo en el pass-through de mainline */
.rail-pass-through[b-1u3781oj2d] {
    width: 3px;
    height: 32px;
    flex-shrink: 0;
    align-self: center;
}

/* Carril de rama: el color lo publica la fila como --lane-color, derivado de la BANDA.
   El gris de reserva sólo aplica cuando no hay banda (datos previos al grafo).

   Antes el color salía de .branch-parallel / .branch-dependency, clases que vienen del
   BranchType del ÍTEM. Un paso secuencial dentro de un paralelo tiene BranchType NONE, así
   que no matcheaba ninguna y caía a este gris — una rama viva se cortaba a gris de pendiente
   en el medio. La rama es una sola cosa y tiene un solo color: el de su banda. */
.rail-branch .rail-segment[b-1u3781oj2d] {
    background: var(--lane-color, rgb(var(--c-pending) / 0.5));
}

/* Paso todavía no ejecutado DENTRO de una rama: el mismo color de la rama, muy atenuado.
   Estaba en gris, y pasar a gris CAMBIA el color justo donde el usuario sigue la rama con la
   vista — la línea perdía su identidad al llegar a lo pendiente. El estado se comunica con la
   opacidad; el color siempre dice a qué rama pertenece el tramo.
   El gris de reserva sólo queda para filas sin banda (datos previos al grafo). */
.rail-branch .rail-segment.segment-program[b-1u3781oj2d] {
    background: var(--lane-color, rgb(var(--c-pending) / 0.5));
    opacity: 0.28;
}

/* Opener: el segmento de rama empieza en y=60 (debajo del bezier SVG) */
.rail-branch-opener[b-1u3781oj2d] {
    position: relative;
    padding-top: 60px;
}

/* Ocultar segmento superior en el opener para que la línea no nazca antes de la curva */
.rail-branch-opener .segment-upper[b-1u3781oj2d] {
    display: none !important;
}

/* Entrada de rama: la curva entra por arriba (top:-10px, alto 20px), así que aterriza a 10px del
   borde de la fila. El segmento recto arrancaba en 0 y asomaba por encima de la curva — ese
   pedacito suelto que sobresalía del carril. Se lo hace nacer donde la curva termina, y se le
   descuenta ese mismo alto para que el trazo siga llegando exacto al centro del nodo (33px). */
.rail-lane.rail-branch-entry .rail-segment.segment-upper[b-1u3781oj2d] {
    margin-top: 10px;
    flex: 0 0 23px !important;
    min-height: 23px !important;
}

/* Closer: segmento que da altura al inicio de la rama */
.rail-branch-closer[b-1u3781oj2d] {
    position: relative;
}

/* Forzar a que el segmento recto del closer mida exactamente 6px y no cruce la curva */
.rail-lane.rail-branch-closer .rail-segment.segment-upper[b-1u3781oj2d] {
    flex: 0 0 6px !important;
    min-height: 6px !important;
}

/* Ocultar el segmento inferior en el closer para que la línea no continúe hacia abajo como si fuera un parche */
.rail-branch-closer .segment-lower[b-1u3781oj2d] {
    display: none !important;
}

/* El segmento de 6px del cierre lleva el color de la rama que converge —el que la fila publica en
   --lane-color— y ya lo hereda de `.rail-branch .rail-segment`, sin regla propia.

   Acá vivían dos selectores, `.closer-segment-green` y `.closer-segment-yellow`, que dependían de
   que el resolver emitiera esas clases de color para el cierre. Hoy el cierre sólo emite
   INTENSIDAD: "" cuando ya ocurrió (color pleno) y `segment-program` cuando todavía no. Ninguna de
   las dos clases se genera nunca, así que las reglas no matcheaban nada. */

/* SVG bezier curves — el color se pasa inline desde Razor */
.branch-curve-svg[b-1u3781oj2d] {
    position: absolute;
    top: 0;
    left: -9px;
    width: 18px;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

/* SVG opener: posicionado a 40px (borde inferior del nodo) */
.branch-curve-svg-opener[b-1u3781oj2d] {
    position: absolute;
    top: 40px;
    left: -9px;
    width: 18px;
    height: 20px;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

/* SVG de entrada: la rama arranca lejos del proceso que la abrió, así que la curva se dibuja
   en la PROPIA fila de la rama y no en la del padre. Va arriba del nodo —el tramo que conecta
   con el tronco— en vez de debajo, que es donde la pinta el opener por adyacencia. */
.branch-curve-svg-entry[b-1u3781oj2d] {
    position: absolute;
    top: -10px;
    left: -9px;
    width: 18px;
    height: 20px;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

/* SVG closer: posicionado a 6px */
.branch-curve-svg-closer[b-1u3781oj2d] {
    position: absolute;
    top: 6px;
    left: -9px;
    width: 18px;
    height: 20px;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

/* Color del trazo de las curvas SVG (opener/closer). La clase la decide
   TimelineSegmentCss (tokens del TimelineSegmentResolver compartido); aquí solo se mapea al color de la paleta. */
.branch-stroke-green[b-1u3781oj2d] {
    stroke: rgb(var(--c-flow-none));
}

/* NOTA de nombres: `blue` y `gold` son históricos. Hoy son el acento del TIPO (dependency /
   parallel) y su tono lo fija --c-dependency / --c-parallel, que ya no son azul y dorado
   necesariamente. El color de un CARRIL nunca sale de acá: sale de la paleta por slot. */
.branch-stroke-blue[b-1u3781oj2d] {
    stroke: rgb(var(--c-dependency));
}

/* Retorno anticipado de una dependencia todavía abierta: la vuelta va a ocurrir, pero no ocurrió.
   Lleva el color de SU PROPIA rama —el que publica la fila en --lane-color— y sólo baja de
   intensidad, con guiones para reforzar que es una promesa y no un hecho.

   Estaba clavado a --c-dependency, de cuando el color codificaba el TIPO de rama. Con la paleta
   actual el color identifica a la rama concreta, así que un valor fijo hacía que el retorno de
   una dependencia se dibujara en un color que no era el de su propia línea. */
.branch-stroke-future[b-1u3781oj2d] {
    stroke: var(--lane-color, rgb(var(--c-flow-none)));
    stroke-opacity: 0.45;
    stroke-dasharray: 4 4;
}

.branch-stroke-gold[b-1u3781oj2d] {
    stroke: rgb(var(--c-parallel));
}

.branch-stroke-gray[b-1u3781oj2d] {
    stroke: rgb(var(--c-pending) / 0.5);
}

/* Items de rama con card levemente indentada */
.timeline-item.branch-depth-1 .timeline-content-wrapper[b-1u3781oj2d] {
    padding-left: 0;
}

.timeline-item.branch-depth-2 .timeline-content-wrapper[b-1u3781oj2d] {
    padding-left: 0;
}

/* Banda clara (GitKraken-style) estirada del punto al inicio de la card.
   Anclada en el nodo (left:50%); el sobrante queda oculto bajo la card.
   Tono claro para que el punto (z-index 2) se vea encima. */
.node-connector[b-1u3781oj2d] {
    position: absolute;
    top: 26px;
    left: 50%;
    width: 130px;
    height: 14px;
    border-radius: 7px;
    z-index: 1;
    pointer-events: none;
}

.node-connector.conn-green[b-1u3781oj2d] {
    background: rgb(var(--c-flow-none) / 0.22);
}

/* Banda de una rama: su propio color, atenuado. Un solo tono para toda la rama —carril, nodo,
   curvas y banda— sea cual sea su tipo. */
.node-connector.conn-lane[b-1u3781oj2d] {
    background: var(--lane-color, rgb(var(--c-pending)));
    opacity: 0.28;
}

/* Históricas: ya no las devuelve GetConnectorClass, se conservan por si algún consumidor externo
   todavía las emite. El color de un carril no sale de acá. */
.node-connector.conn-blue[b-1u3781oj2d] {
    background: rgb(var(--c-dependency) / 0.25);
}

.node-connector.conn-gold[b-1u3781oj2d] {
    background: rgb(var(--c-parallel) / 0.30);
}

.node-connector.conn-gray[b-1u3781oj2d] {
    background: rgb(var(--c-pending) / 0.28);
}

.node-connector.conn-progress[b-1u3781oj2d] {
    background: rgb(var(--c-progress) / 0.25);
}

/* La card va por encima de la banda para ocultar el sobrante */
.timeline-card[b-1u3781oj2d] {
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* El desplegable de responsable (ActionSelectorCard, Variant.Responsable) es position:absolute
   DENTRO de la card current, que comparte z-index:2 con el resto de las cards del tronco. Al
   abrirse, crece hacia abajo y queda pintado DEBAJO de la card siguiente —misma pila, mismo
   z-index, orden de DOM—, aunque el propio desplegable tenga z-index alto puertas adentro: ese
   z-index sólo compite dentro de su propia card, no contra las cards vecinas. Mientras esté
   abierto (clase st-as-open, que ActionSelectorCard ya aplica), se levanta la card entera por
   encima de sus hermanas.
   SIN ::deep: la herramienta de CSS isolation de Blazor no lo resuelve dentro de :has(...) —lo
   deja literal en el CSS compilado, lo que invalida toda la regla—. No hace falta: el atributo de
   scope sólo se agrega al selector de más afuera (.timeline-card), y st-as-open, aunque viva en
   el scope de ActionSelectorCard, se sigue pudiendo nombrar por clase desde :has() sin ::deep. */
.timeline-card:has(.st-as-card.st-as-open)[b-1u3781oj2d] {
    z-index: 50;
}

/* Acento de color al inicio de la card desactivado según solicitud del usuario */
.timeline-card.conn-green[b-1u3781oj2d]::after,
.timeline-card.conn-lane[b-1u3781oj2d]::after,
.timeline-card.conn-blue[b-1u3781oj2d]::after,
.timeline-card.conn-gold[b-1u3781oj2d]::after,
.timeline-card.conn-gray[b-1u3781oj2d]::after,
.timeline-card.conn-progress[b-1u3781oj2d]::after {
    display: none;
}

/* Las cards de rama no ejecutadas ya no se desvanecen */
.timeline-item.is-branch-row.assigned .timeline-card[b-1u3781oj2d] {
    opacity: 1;
}

/* El acento de color al inicio de la card lo maneja .timeline-card.conn-*::after */

/* El nodo de una rama es el color de SU carril y de nada más.
   Estas reglas lo pintaban con --c-dependency, el acento del TIPO, mientras el carril y las curvas
   ya salían de la banda (por slot). Con un paralelo no se notaba —el acento de parallel y el slot 0
   son el mismo dorado, coinciden por casualidad—, pero en una dependencia el punto salía violeta y
   su propia línea de otro color: una sola rama contada en dos colores.

   Además apuntaban a `.completed`, una clase que el razor NUNCA emite (los estados son executed /
   suspended / current / assigned), así que el nodo ejecutado ni siquiera llegaba acá: caía en
   `.timeline-node.executed` y salía del color del TRONCO. El punto de una rama pintado como si
   fuera la línea principal.

   El estado sigue en el hueco del pendiente y en el halo del vigente — forma e intensidad, no tono. */
.timeline-node.node-branch.assigned[b-1u3781oj2d],
.timeline-node.node-branch.pending[b-1u3781oj2d] {
    background: var(--st-surface);
    border: 3px solid var(--lane-color, rgb(var(--c-pending)));
}

/* ── Píldoras de tiempo de la maqueta oficial ── */
.process-time-pills-row[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.time-pill[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    padding: 3px 8px;
    line-height: 1.2;
    cursor: default;
}

.time-pill.pill-unworked[b-1u3781oj2d] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
}

.time-pill.pill-worked[b-1u3781oj2d] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

.time-pill.pill-exceeded[b-1u3781oj2d] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.store-pill.out-store[b-1u3781oj2d] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ── Contenedor de badges de tiempo (legacy) ── */
.process-time-badges[b-1u3781oj2d] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--st-border);
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.process-time-badges.no-reason[b-1u3781oj2d] {
    margin-top: 4px;
}

/* Badge item — inline compacto con separador */
.time-badge-item[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.time-badge-separator[b-1u3781oj2d] {
    color: var(--st-text-faint);
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
}

.badge-value[b-1u3781oj2d] {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.badge-label[b-1u3781oj2d] {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--st-text-subtle);
}

/* Azul claro — tiempo en bandeja (según diseño de la imagen) */
.time-badge-item.unworked .badge-value[b-1u3781oj2d] {
    background-color: var(--st-surface-sunken);
    color: var(--st-info-fg);
}

/* Verde suave — tiempo trabajado (según diseño de la imagen) */
.time-badge-item.worked .badge-value[b-1u3781oj2d] {
    background-color: var(--st-surface-sunken);
    color: var(--st-success-fg);
}

/* Rojo — tiempo excedido */
.time-badge-item.exceeded .badge-value[b-1u3781oj2d] {
    background-color: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

/* ── Summary Header: cards + assign button in one row ── */
.timeline-panel-header[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: visible;
    padding: 0 8px 4px 0;
    margin-bottom: 16px;
    box-sizing: border-box;
}

/* ── Summary Stats Section ── */
.summary-cards[b-1u3781oj2d] {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    flex: 3;
}

.summary-stat[b-1u3781oj2d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 0;
    padding: 0 8px;
}

.summary-divider[b-1u3781oj2d] {
    width: 1px;
    height: 28px;
    background: var(--st-surface-stronger);
    flex-shrink: 0;
}

.summary-value[b-1u3781oj2d] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-brand);
    line-height: 1.2;
    text-align: center;
}

.summary-label[b-1u3781oj2d] {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Color por tipo (alineado con pildoritas de tiempo en las tarjetas) */
.summary-stat:nth-child(1) .summary-value[b-1u3781oj2d] {
    color: var(--st-info-fg);
    /* Azul vibrante: Total en bandeja */
}

.summary-stat:nth-child(3) .summary-value[b-1u3781oj2d] {
    color: var(--st-success-fg);
    /* Verde intenso: Total trabajado */
}

.summary-stat:nth-child(5) .summary-value[b-1u3781oj2d] {
    color: #E69900;
}

/* Tarjeta placeholder: siguiente proceso por asignar */
[b-1u3781oj2d] .timeline-card.placeholder-item {
    pointer-events: none;
    border-color: var(--st-border);
    background: var(--st-surface);
    /* fondo sólido para tapar el node-connector detrás */
}

/* La opacidad va solo en los hijos, no en el card completo,
   así el fondo blanco sigue tapando el conector */
[b-1u3781oj2d] .timeline-card.placeholder-item>* {
    opacity: 0.45;
}

[b-1u3781oj2d] .timeline-card.placeholder-item .process-name {
    color: var(--st-text-muted);
    font-style: italic;
}

[b-1u3781oj2d] .timeline-card.placeholder-item .process-reason {
    color: #ffffff;
}

/* Primer item: sin línea gris desde arriba */

/* Primer item: línea inicia desde el nodo hacia abajo, sin espacio arriba */

/* Eliminar la línea gris arriba del primer punto */
/* Primer item: segment-upper colapsado a 0 — la línea comienza en el nodo */
.timeline-item.first .rail-segment.segment-upper[b-1u3781oj2d] {
    flex: 0 0 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

/* Primer item: segment-lower comienza desde el centro del nodo (igual que segment-upper = 33px) */
.timeline-item.first .segment-lower[b-1u3781oj2d] {
    margin-top: 33px !important;
}

/* Primer item: alinear nodo y segment-lower al top, sin centrado */

/* Indicadores de inicio (verde) y fin (rojo) — círculo pequeño encima del nodo */
.timeline-node.node-start[b-1u3781oj2d]::after,
.timeline-node.node-end[b-1u3781oj2d]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.timeline-node.node-start[b-1u3781oj2d] {
    position: relative;
}

.timeline-node.node-start[b-1u3781oj2d]::after {
    background: #57AB3B;
}

.timeline-node.node-end[b-1u3781oj2d] {
    position: relative;
}

.timeline-node.node-end[b-1u3781oj2d]::after {
    background: #D33B9B;
}
/* ── Banda de rama (swimlane) ─────────────────────────────────────────────
   Agrupa visualmente los ítems que pertenecen a la misma rama del grafo,
   incluidos los pasos todavía pendientes. El rango lo calcula
   TimeLineBranchBandResolver (shared), así que web y MAUI agrupan igual.
   El color codifica el TIPO de rama; el estado (verde/ámbar/gris) sigue
   viviendo en el nodo y el conector — un canal, un significado. */
/* Sin filete ni fondo por ítem. La pertenencia a una rama ya la dice el carril del grafo —que es
   continuo y se lee de un vistazo— y ahora también el color de la propia tarjeta. Repetirlo con
   una barra pegada a cada ítem sumaba una tercera señal para el mismo dato y ensuciaba el dibujo,
   que es justo lo que quedó limpio. */
.timeline-item.in-branch-band .timeline-main-content[b-1u3781oj2d] {
    position: relative;
    border-radius: 0;
}

/* Respiro en los extremos para que la banda se lea como un bloque continuo
   y no como bordes sueltos fila a fila. */
/* El respiro en los extremos existía para que el filete de banda se leyera como un bloque
   continuo. Sin filete no tiene a qué servir, y desalineaba la tarjeta de su nodo. */

/* ── Badge de tipo de rama ───────────────────────────────────────────────── */
.branch-badge[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
    vertical-align: middle;
    white-space: nowrap;
    color: rgb(var(--c-parallel));
    background: rgb(var(--c-parallel) / 0.14);
    border: 1px solid rgb(var(--c-parallel) / 0.30);
}

.branch-badge.branch-dependency[b-1u3781oj2d] {
    color: rgb(var(--c-dependency));
    background: rgb(var(--c-dependency) / 0.14);
    border-color: rgb(var(--c-dependency) / 0.30);
}

/* Paso que exige convergencia: la mainline no avanza hasta que las ramas
   vigentes retornen (IsParallelSync en el proceso destino). */
.branch-badge.badge-sync[b-1u3781oj2d] {
    color: rgb(var(--c-progress));
    background: rgb(var(--c-progress) / 0.14);
    border-color: rgb(var(--c-progress) / 0.30);
}

/* The main path's live front while a branch runs: neutral, so the branch keeps the color. */
.branch-badge.badge-mainline[b-1u3781oj2d] {
    color: var(--st-text);
    background: var(--st-surface-2, rgba(148, 163, 184, 0.14));
    border-color: var(--st-border);
}

/* ── Entrega por línea ──────────────────────────────────────────────
   Vive DENTRO de la tarjeta del frente entregable, no en la cabecera del
   panel: con un fork abierto hay varias líneas vivas y la entrega deja de
   ser una acción de la orden para ser una acción de ESTA línea. La cercanía
   física al proceso es lo que evita entregar la rama equivocada.

   El hueco se reserva en toda tarjeta del timeline aunque no lleve botón: es
   lo que mantiene los tiempos de todas las filas en la misma columna. */
.deliver-slot[b-1u3781oj2d] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 46px;
    height: 26px;
    margin-left: 4px;
}

.branch-deliver-btn[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 13px;
    background: #FE00E4;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.25);
    transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.branch-deliver-btn:hover:not(:disabled)[b-1u3781oj2d] {
    background: #e600cc;
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.35);
}

.branch-deliver-btn:disabled[b-1u3781oj2d] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Aviso de selección de rama ──────────────────────────────────────────
   Aparece cuando se pidió entregar sobre una orden bifurcada. Vive dentro del
   timeline a propósito: acá están los botones que responden la pregunta, y acá
   vive la paleta que da color a las ramas. */
.branch-selection-notice[b-1u3781oj2d] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 12px 10px 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgb(var(--c-parallel) / 0.55);
    background: rgb(var(--c-parallel) / 0.14);
    font-size: 12px;
    line-height: 1.45;
}

.branch-selection-notice-icon[b-1u3781oj2d] {
    display: flex;
    flex: 0 0 auto;
    margin-top: 1px;
    color: rgb(var(--c-parallel));
}

.branch-selection-notice-text[b-1u3781oj2d] {
    flex: 1 1 auto;
}

.branch-selection-notice-close[b-1u3781oj2d] {
    flex: 0 0 auto;
    padding: 0 2px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    opacity: 0.55;
}

.branch-selection-notice-close:hover[b-1u3781oj2d] {
    opacity: 1;
}

/* ── Leyenda de colores ──────────────────────────────────────────────────
   El color es la única señal que separa paralelo de dependencia. Va plegada
   para no robar altura, y sólo se renderiza si la orden tiene ramas. */
.timeline-legend[b-1u3781oj2d] {
    margin: 0 12px 10px 12px;
    font-size: 11px;
}

.timeline-legend-summary[b-1u3781oj2d] {
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    opacity: 0.75;
}

.timeline-legend-summary[b-1u3781oj2d]::-webkit-details-marker {
    display: none;
}

.timeline-legend-summary[b-1u3781oj2d]::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.15s ease;
}

.timeline-legend[open] .timeline-legend-summary[b-1u3781oj2d]::before {
    transform: rotate(45deg);
}

.timeline-legend-body[b-1u3781oj2d] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 6px 0 2px 12px;
}

.timeline-legend-item[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.timeline-legend-swatch[b-1u3781oj2d] {
    display: inline-block;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    flex: 0 0 auto;
}

.timeline-legend-swatch.swatch-mainline[b-1u3781oj2d] {
    background: rgb(var(--c-flow-none));
}

.timeline-legend-swatch.swatch-parallel[b-1u3781oj2d] {
    background: rgb(var(--c-parallel));
}

.timeline-legend-swatch.swatch-dependency[b-1u3781oj2d] {
    background: rgb(var(--c-dependency));
}

.timeline-legend-swatch.swatch-pending[b-1u3781oj2d] {
    background: rgb(var(--c-pending));
}

/* ── Tramo de carril "futuro" ────────────────────────────────────────────
   Va por debajo del nodo vigente de una rama, donde todavía no ocurrió nada.
   Conserva el color de la rama y sólo baja la opacidad: con dos o tres carriles
   bajando a la vez, pintarlos grises los vuelve indistinguibles entre sí y se
   pierde justo la información que promete la leyenda. */
/* Futuro = misma línea, menos intensidad. El color dice QUÉ es; la opacidad, CUÁNDO.
   Por eso acá no se toca el background: lo pone --lane-color. */
.segment-lane-future[b-1u3781oj2d] {
    opacity: 0.45;
}



/* ── Vertical de paso ────────────────────────────────────────────────────
   Una rama viva cruzando una fila que no le pertenece. Va posicionada por su
   profundidad, no apilada en el flex: cada rama conserva su columna de punta a
   punta y así se leen como líneas paralelas continuas, al estilo de un grafo de
   ramas. Atenuada, porque en esta fila esa rama no hizo nada. */
.rail-passthrough[b-1u3781oj2d] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0;
    pointer-events: none;
    z-index: 0;
    /* El color lo pone la clase .lane-* del stylesheet global branch-lanes.css.
       No se declara background acá: la regla con scope de Blazor tiene mayor
       especificidad y ganaría siempre, dejando todos los carriles del mismo gris. */
}

/* Acá vivía `opacity: 0.45` FIJO, y esa era la falla: atenuaba toda rama que sólo cruzara la fila.
   La misma rama salía plena en sus filas y apagada en las del tronco, alternando intensidad fila
   por fila como si arrancara y frenara — cuando en el grafo no había cambiado nada.

   La opacidad dice CUÁNDO (pasado, futuro, detenido); el color dice QUÉ línea es. Usar la opacidad
   para marcar de quién es el renglón mezcla las dos cosas y arruina las dos.

   Ahora sólo se atenúa lo que de verdad no avanza: un carril esperando el retorno de una
   dependencia, o un tramo por debajo del último paso de una rama abierta. Lo decide
   TimeLineLanePass.IsAdvancing, el mismo hecho que consume móvil. */
.rail-passthrough.lane-idle[b-1u3781oj2d] {
    opacity: 0.45;
}

/* ── Variante Histórico: oscura + dorada ──────────────────────────────────
   Todo lo de acá es ADITIVO — nada de lo de arriba se modifica ni se borra, y
   estas reglas solo aplican bajo .dark-gold-theme (Inbox nunca la recibe).
   Los colores de línea (--c-flow-none, --c-parallel, --c-dependency, --c-pending,
   --c-progress) NO se tocan: mainline y ramas se ven exactamente igual que en el
   Inbox. Solo cambia el "chrome" de la tarjeta (fondo, ícono, texto de estado). */
.timeline-panel.dark-gold-theme .timeline-content[b-1u3781oj2d] {
    background: transparent;
    border: none;
    box-shadow: none;
}

.timeline-panel.dark-gold-theme .timeline-card[b-1u3781oj2d] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-subtle);
    box-shadow: 0 0 0 1px rgba(74, 158, 234, 0.25), 0 0 14px rgba(74, 158, 234, 0.12);
}

.timeline-panel.dark-gold-theme .process-icon[b-1u3781oj2d] {
    width: 32px;
    height: 32px;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    outline: 2px solid rgba(74, 158, 234, 0.65);
    outline-offset: 3px;
    box-shadow: 0 0 10px rgba(74, 158, 234, 0.45);
}

.timeline-panel.dark-gold-theme .process-icon svg[b-1u3781oj2d] {
    color: #64748b;
}

.timeline-panel.dark-gold-theme .process-name[b-1u3781oj2d] {
    color: var(--st-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.timeline-panel.dark-gold-theme .card-person-avatar[b-1u3781oj2d] {
    width: 32px;
    height: 32px;
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.timeline-panel.dark-gold-theme .date-text[b-1u3781oj2d] {
    color: var(--st-text);
}

.timeline-panel.dark-gold-theme .time-text[b-1u3781oj2d] {
    color: var(--st-text-subtle);
}

.timeline-panel.dark-gold-theme .process-observations[b-1u3781oj2d] {
    color: var(--st-text-subtle);
}

.timeline-panel.dark-gold-theme .store-badge.row-badge[b-1u3781oj2d] {
    background-color: #e5b900;
    color: #1c2738;
}

.timeline-panel.dark-gold-theme .time-badge-item.unworked .badge-value[b-1u3781oj2d] {
    background-color: var(--st-info-bg);
    color: var(--st-info-fg);
}

.timeline-panel.dark-gold-theme .time-badge-item.worked .badge-value[b-1u3781oj2d] {
    background-color: var(--st-success-bg);
    color: var(--st-success-fg);
}

.timeline-panel.dark-gold-theme .time-badge-item.exceeded .badge-value[b-1u3781oj2d] {
    background-color: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.timeline-panel.dark-gold-theme .badge-label[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .summary-value[b-1u3781oj2d] {
    color: var(--st-text);
}

.timeline-panel.dark-gold-theme .summary-label[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .summary-stat:nth-child(1) .summary-value[b-1u3781oj2d] {
    color: var(--st-info-fg);
}

.timeline-panel.dark-gold-theme .summary-stat:nth-child(3) .summary-value[b-1u3781oj2d] {
    color: var(--st-success-fg);
}

.timeline-panel.dark-gold-theme .summary-stat:nth-child(5) .summary-value[b-1u3781oj2d] {
    color: var(--st-gold-text);
}

.timeline-panel.dark-gold-theme .evidence-badge[b-1u3781oj2d] {
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    border-color: var(--st-border-subtle);
}

.timeline-panel.dark-gold-theme .comments-badge[b-1u3781oj2d] {
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    border-color: var(--st-border-subtle);
}

.timeline-panel.dark-gold-theme .comments-badge:hover[b-1u3781oj2d] {
    background: var(--st-fill-4);
    color: var(--st-text);
    border-color: var(--st-border-strong);
}

.timeline-panel.dark-gold-theme .comments-badge.has-comments[b-1u3781oj2d] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border-color: var(--st-accent-border);
}

.timeline-panel.dark-gold-theme .timeline-legend-summary[b-1u3781oj2d],
.timeline-panel.dark-gold-theme .timeline-legend-item[b-1u3781oj2d] {
    color: var(--st-text-subtle);
}

.timeline-panel.dark-gold-theme .expand-name[b-1u3781oj2d] {
    color: var(--st-text);
    font-size: 0.72rem;
    font-weight: 500;
    max-width: none;
}

.timeline-panel.dark-gold-theme .card-expanded-content[b-1u3781oj2d] {
    border-top-style: solid;
    border-top-color: var(--st-border-strong);
}

/* Mismo spinner rosa que el resto de Reportes (solo en esta variante; el Inbox no cambia). */
.timeline-panel.dark-gold-theme .loading-spinner[b-1u3781oj2d] {
    border-color: var(--st-border);
    border-top-color: #D33BB2;
}

/* Cabecera "Asignado a / Ejecutado por / Asignado por": en el tema claro el nombre es
   casi negro y quedaba ilegible sobre la tarjeta oscura. */
.timeline-panel.dark-gold-theme .expand-stakeholders-header[b-1u3781oj2d] {
    border-bottom-color: var(--st-border);
}

.timeline-panel.dark-gold-theme .expand-stakeholder-name[b-1u3781oj2d] {
    color: var(--st-text);
}

.timeline-panel.dark-gold-theme .expand-stakeholder-label.label-assigned[b-1u3781oj2d] {
    color: var(--st-success-fg);
}

.timeline-panel.dark-gold-theme .expand-stakeholder-label.label-executed[b-1u3781oj2d] {
    color: var(--st-warning-fg);
}

.timeline-panel.dark-gold-theme .expand-stakeholder-label.label-assigned-by[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .expand-divider[b-1u3781oj2d] {
    background: var(--st-fill-5);
}

/* Fila "etiqueta | nombre .... avatar" en una sola línea, con línea vertical
   entre la etiqueta y el nombre (border-right, sin marcado nuevo). */
.timeline-panel.dark-gold-theme .expand-section[b-1u3781oj2d] {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.timeline-panel.dark-gold-theme .expand-header[b-1u3781oj2d] {
    border-right: 1px solid var(--st-border-strong);
    padding-right: 8px;
    min-width: 68px;
    flex-shrink: 0;
    font-size: 0.6rem;
}

.timeline-panel.dark-gold-theme .expand-row[b-1u3781oj2d] {
    flex: 1;
    min-width: 0;
}

/* Anillo blanco brillante uniforme en los tres avatares — el color por
   sección ya lo dice la etiqueta, el avatar no necesita repetirlo.
   !important porque el color de borde llega como estilo inline por fila. */
.timeline-panel.dark-gold-theme .expand-avatar[b-1u3781oj2d] {
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.timeline-panel.dark-gold-theme .process-time-badges[b-1u3781oj2d] {
    border-top-style: solid;
    border-top-color: var(--st-border-strong);
}

.timeline-panel.dark-gold-theme .process-reason-pill[b-1u3781oj2d] {
    background: var(--st-fill-3);
    color: var(--st-text-secondary);
    border-color: var(--st-border);
}

.timeline-panel.dark-gold-theme .process-closed-observation[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .card-collapse-btn[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .card-collapse-btn:hover[b-1u3781oj2d] {
    color: var(--st-text);
}

/* Tema oscuro */
.timeline-panel.dark-gold-theme .expand-delivery-info[b-1u3781oj2d] {
    background: var(--st-fill-2);
    border-color: var(--st-border);
}

.timeline-panel.dark-gold-theme .delivery-info-label[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .delivery-reason-badge[b-1u3781oj2d] {
    background: var(--st-fill-3);
    color: var(--st-text-body);
    border-color: var(--st-border-strong);
}

.timeline-panel.dark-gold-theme .delivery-obs-text[b-1u3781oj2d] {
    color: var(--st-text-body);
}

.timeline-panel.dark-gold-theme .delivery-photos-title[b-1u3781oj2d] {
    color: var(--st-text-muted);
}

.timeline-panel.dark-gold-theme .delivery-photo-thumb[b-1u3781oj2d] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-2);
}

/* ── Reproceso: ambar, no rojo ni verde — esos estan reservados para atrasado / a tiempo. ── */
.process-visit[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 500;
    color: var(--st-warning-fg);
    vertical-align: middle;
    white-space: nowrap;
}

/* La tarjeta NO se tine: conserva el color de su estado. El fondo del tramo va en un pseudo-elemento, no en el background de la fila, para poder desbordar sin mover el contenido. */
.rework-divider[b-1u3781oj2d]::before,
.timeline-item.in-rework[b-1u3781oj2d]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -8px;
    background: var(--st-surface-muted);
    z-index: 0;
    pointer-events: none;
}

/* El contenido tiene que quedar por encima del fondo. El vinculo queda excluido a proposito: es lo
   unico de la fila que va POR DEBAJO del sombreado del tramo. */
.rework-divider > *:not(.rework-link)[b-1u3781oj2d],
.timeline-item.in-rework > *:not(.rework-link)[b-1u3781oj2d] {
    position: relative;
    z-index: 2;
}

/* Y el sombreado se mete entre los dos: encima del vinculo, debajo de las tarjetas. */
.timeline-item.in-rework[b-1u3781oj2d]::before {
    z-index: 1;
}

.rework-divider[b-1u3781oj2d]::before {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.timeline-item.in-rework.rework-end[b-1u3781oj2d] {
    padding-bottom: 8px;
}

.timeline-item.in-rework.rework-end[b-1u3781oj2d]::before {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.summary-value-rework[b-1u3781oj2d] {
    color: var(--st-warning-fg);
}

/* ── Cabecera del tramo: fila propia, el corte debe leerse antes que cualquier tarjeta. ── */
.rework-divider[b-1u3781oj2d] {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px 0;
    position: relative;
}

.timeline-list.has-rework-link .rework-divider[b-1u3781oj2d] {
    padding-right: calc(16px + var(--rework-link-lanes, 1) * 10px);
}

/* Same width as .timeline-date: it was 62px, which pushed the rework rows' rail 12px right of the
   main line drawn by the process rows. */
.rework-divider-date[b-1u3781oj2d] {
    flex: 0 0 var(--timeline-date-col, 50px);
    width: var(--timeline-date-col, 50px);
    min-width: var(--timeline-date-col, 50px);
    padding-right: var(--timeline-date-gap, 6px);
    box-sizing: border-box;
    text-align: right;
}

/* Rail of the rework header and closer rows. It continues, line for line, the top half of the
   process row right below: the trunk with that row's class (dashed while a dependency halts it),
   the live branches crossing it and the row's own lane, each at its column (inline, from
   LaneCenter). It used to be a fixed trunk-coloured line at x=9px stretched over the neighbouring
   rows: inside a branch the gear and the closer sat on the trunk, the branch lane broke at both
   rows and the dashed trunk turned solid. The negative margins cancel the row padding, so the
   lines meet the rows above and below edge to edge without overlapping them. */
.rework-row-rail[b-1u3781oj2d] {
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

.rework-divider > .rework-row-rail[b-1u3781oj2d] {
    margin: -6px 0 -10px 0;
    /* The 34px gear plus the 16px of padding the rail now spans. */
    min-height: 50px;
}

.rework-closer > .rework-row-rail[b-1u3781oj2d] {
    margin: -8px 0 -12px 0;
}

/* A branch lane still ahead of its current step is faint, as in the process rows. */
.rework-row-rail .rework-row-branch.segment-program[b-1u3781oj2d] {
    opacity: 0.28;
}

/* The last rework row keeps its rail through its bottom padding, down to the closer row. */
.timeline-item.in-rework.rework-end > .timeline-rail[b-1u3781oj2d] {
    margin-bottom: -8px;
}

/* Centred on the lane of the rework (left comes inline), 22px below the row top as before. */
.rework-divider-node[b-1u3781oj2d] {
    position: absolute;
    top: 5px;
    transform: translateX(-50%);
}

.rework-divider-node[b-1u3781oj2d] {
    z-index: 3;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--st-surface);
    border: 2px solid #F97316;
    color: #F97316;
    z-index: 2;
}

/* 18px izq. = 6px de .timeline-main-content + 12px de la tarjeta: alinea con el nombre del proceso. */
.rework-divider-body[b-1u3781oj2d] {
    flex: 1 1 auto;
    /* --rework-indent: the card indent of the lane (inline). */
    padding: 4px 12px 4px calc(18px + var(--rework-indent, 0px));
    min-width: 0;
}

.rework-divider-line[b-1u3781oj2d] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

/* Rellena lo que sobre en la linea del titulo; min-width 0 para que desaparezca si no cabe. */
.rework-divider-line[b-1u3781oj2d]::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(249, 115, 22, 0.35);
    min-width: 0;
}

.rework-divider-title[b-1u3781oj2d] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--st-warning-fg);
    white-space: nowrap;
}

/* Sin nowrap: con la ventana angosta el texto se desbordaba sobre el canal del conector. */
.rework-divider-path[b-1u3781oj2d] {
    font-size: 0.72rem;
    color: var(--st-warning-text);
    min-width: 0;
    overflow-wrap: anywhere;
}

.rework-divider-reason[b-1u3781oj2d] {
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--st-warning-text);
    min-width: 0;
    overflow-wrap: anywhere;
}

/* El riel NO cambia de color en el tramo: un reproceso ocurre dentro del tronco, no abre rama. */

.process-caused-rework[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--st-warning-fg);
}

/* ── Vinculo entre quien devolvio el trabajo y quien ya lo habia hecho, compuesto por filas. ──
   El canal se reserva con --rework-link-lanes: cada reproceso dibuja su trazo en un carril
   propio, asi que con dos tramos vivos hace falta el doble de ancho. */
.timeline-list.has-rework-link .timeline-main-content[b-1u3781oj2d] {
    padding-right: calc(16px + var(--rework-link-lanes, 1) * 10px);
}


/* Al fondo de la fila, en la misma capa que los fondos: el sombreado del tramo se pinta despues y
   por eso le pasa por encima cuando el reproceso esta desplegado. Sin z-index negativo, que se
   escaparia del contexto de la fila y lo mandaria detras del panel entero. */
.rework-link[b-1u3781oj2d] {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 6px;
    width: 14px;
    pointer-events: none;
    /* Por encima del sombreado del tramo (z-index 1): debajo se perdia el trazo entero y el vinculo
       parecia cortarse sin llegar a ningun lado. Queda en el canal de la derecha, sin tapar tarjetas. */
    z-index: 2;
}

/* La cabecera y el cierre del reproceso son filas propias: el trazo las cruza para no cortarse. */
.timeline-list.has-rework-link .rework-closer[b-1u3781oj2d] {
    position: relative;
    padding-right: calc(16px + var(--rework-link-lanes, 1) * 10px);
}

/* El tramo vertical es un fondo y no un borde para poder animarlo: los guiones corren de abajo hacia
   arriba, en el sentido real del vinculo (de quien devolvio el trabajo al paso al que lo devolvio),
   que va contra el orden de las fechas. */
.rework-link[b-1u3781oj2d]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2px;
    background-image: repeating-linear-gradient(to bottom, #677BC4 0 5px, transparent 5px 9px);
    background-size: 2px 9px;
    animation: rework-link-flow-b-1u3781oj2d 1.2s linear infinite;
}

@keyframes rework-link-flow-b-1u3781oj2d {
    from { background-position: 0 0; }
    to   { background-position: 0 -9px; }
}

@media (prefers-reduced-motion: reduce) {
    .rework-link[b-1u3781oj2d]::after { animation: none; }
}

/* Extremo superior, donde termina el vinculo: la ultima vez que se hizo ese proceso. Flecha llena. */
.rework-link.link-origin[b-1u3781oj2d] {
    top: 26px;
    border-top: 2px dashed #677BC4;
    border-top-right-radius: 6px;
}

.rework-link.link-origin[b-1u3781oj2d]::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -3px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 9px solid #677BC4;
}

/* Extremo inferior, donde empieza el vinculo: la tarjeta de quien devolvio el trabajo. Punto lleno. */
.rework-link.link-target[b-1u3781oj2d] {
    bottom: initial;
    height: 26px;
    border-bottom: 2px dashed #677BC4;
    border-bottom-right-radius: 6px;
}

.rework-link.link-target[b-1u3781oj2d]::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #677BC4;
}


/* Marcador en las dos tarjetas que el vinculo une. */
.rework-link-dot[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #677BC4;
    background: rgba(103, 123, 196, 0.12);
    vertical-align: middle;
}

/* ── Colapsable del tramo: nace cerrado, el hecho queda a la vista y el detalle a un clic. ── */
.rework-divider[b-1u3781oj2d] {
    cursor: pointer;
    user-select: none;
}

.rework-divider:hover .rework-divider-title[b-1u3781oj2d] {
    text-decoration: underline;
}

.rework-divider-chevron[b-1u3781oj2d] {
    display: inline-flex;
    align-items: center;
    color: var(--st-warning-fg);
    transition: transform 0.15s ease;
}

.rework-divider.expanded .rework-divider-chevron[b-1u3781oj2d] {
    transform: rotate(90deg);
}

.rework-divider-count[b-1u3781oj2d] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-warning-fg);
    background: rgba(249, 115, 22, 0.12);
    padding: 1px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.timeline-item.rework-hidden[b-1u3781oj2d] {
    display: none;
}

.rework-divider.collapsed[b-1u3781oj2d]::before {
    border-radius: 10px;
}

/* ── Cierre del tramo: fila propia, encima de la tarjeta que retoma el flujo. ── */
.rework-closer[b-1u3781oj2d] {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px 0;
}

/* The rail is .rework-row-rail, shared with the header row. */

.rework-closer-body[b-1u3781oj2d] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex-wrap: wrap;
    /* --rework-indent: the card indent of the lane (inline), so the line starts with the cards. */
    margin-left: calc(6px + var(--rework-indent, 0px));
    padding: 6px 12px 0 12px;
    border-top: 1px solid rgba(249, 115, 22, 0.30);
    font-size: 0.7rem;
    color: var(--st-warning-fg);
}

.rework-closed-title[b-1u3781oj2d] {
    font-weight: 600;
}

.rework-closed-detail[b-1u3781oj2d] {
    font-weight: 400;
    color: var(--st-warning-text);
}

/* ── Uniones ANIDADAS: rama que abre otra rama, y rama que recibe un retorno ──

   Se posicionan contra .timeline-rail, igual que .rail-passthrough, y NO dentro de .rail-branch.
   Ese contenedor es una columna flex que vive en una sola profundidad, así que una fila de rama no
   podía llevar su propia línea y además una curva hacia otra columna: se dibujaba una u otra, y
   como el contenedor se ubica por la columna propia, lo que se perdía era siempre la curva.

   El left/width/top/height los calcula el code-behind (GetNestedCurveStyle / GetNestedStubStyle) a
   partir de la geometría de carriles, para que no puedan desincronizarse de las columnas que unen. */
.rail-nested-curve[b-1u3781oj2d] {
    position: absolute;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

/* Tramo recto que une la curva anidada con el borde de la fila: sin él la curva flota.
   Son los mismos dos pedacitos que el carril del tronco resuelve con su padding-top de 60px
   (apertura) y su segmento superior de 6px (retorno). */
.rail-nested-stub[b-1u3781oj2d] {
    position: absolute;
    width: 3px;
    border-radius: 0;
    pointer-events: none;
    z-index: 0;
    /* El de la apertura arranca a 60px y llega al borde inferior, así que en una fila corta le
       queda alto cero y desaparece: la curva se ve terminar en el aire. El mínimo es el mismo que
       ya protege a .rail-lane .rail-segment.segment-lower por la misma razón. */
    min-height: 8px;
}

/* F6-1: «Control del anterior» on the card where the vehicle is now; an outline action, lighter than «Entregar». */
.reception-check-action[b-1u3781oj2d] {
    display: flex;
    justify-content: flex-start;
    padding-top: 6px;
}

.reception-check-btn[b-1u3781oj2d] {
    border: 1px solid var(--st-accent-border);
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border-radius: 12px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.reception-check-btn:hover[b-1u3781oj2d] {
    background: var(--st-accent-hover);
}

/* ── Cabecera de la línea de tiempo: ajuste por ancho ──
   Los botones Asignar/Entregar nunca se pierden; ceden las métricas. Se decide por el ancho de la
   propia columna (timeline-box) y no por el de la ventana: la columna se angosta también al abrir
   paneles laterales con la ventana igual de ancha.
   1) ancho normal: todo en una fila, con rótulos.
   2) <= 550px: los botones van en icono (círculo de 36px, su rótulo queda en el title).
   3) <= 470px: las métricas se recogen en un acordeón (.summary-toggle, resumen en una línea) a la
      izquierda y los botones quedan fijos a la derecha; al abrirlo las métricas salen debajo, a todo
      el ancho y con su rótulo completo. Empieza comprimido. */
.summary-cards[b-1u3781oj2d] {
    min-width: 0;
}

.summary-toggle[b-1u3781oj2d] {
    display: none;
}

@container timeline-box (max-width: 550px) {
    .timeline-header-actions[b-1u3781oj2d]  .st-ab-has-icon {
        width: 36px;
        padding: 0;
        border-radius: 50%;
    }

    .timeline-header-actions[b-1u3781oj2d]  .st-ab-has-icon .st-ab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }
}

@container timeline-box (max-width: 470px) {
    .timeline-panel-header[b-1u3781oj2d] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .summary-toggle[b-1u3781oj2d] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 1 auto;
        min-width: 0;
        height: 36px;
        padding: 0 12px;
        border: 1px solid var(--st-border);
        border-radius: 18px;
        background: var(--st-surface);
        font-family: inherit;
        font-size: 0.82rem;
        font-weight: 700;
        white-space: nowrap;
        cursor: pointer;
    }

    .summary-toggle:focus-visible[b-1u3781oj2d] {
        outline: 2px solid #FE00E4;
        outline-offset: 2px;
    }

    .summary-toggle-chevron[b-1u3781oj2d] {
        flex-shrink: 0;
        color: var(--st-text-body);
        transition: transform 0.15s ease;
    }

    .metrics-open .summary-toggle-chevron[b-1u3781oj2d] {
        transform: rotate(90deg);
    }

    .summary-toggle-value.is-pending[b-1u3781oj2d] { color: var(--st-text-brand); }
    .summary-toggle-value.is-worked[b-1u3781oj2d] { color: var(--st-success-fg); }
    .summary-toggle-value.is-efficiency[b-1u3781oj2d] { color: var(--st-warning-fg, #f59e0b); }

    .summary-toggle-sep[b-1u3781oj2d] {
        color: var(--st-text-body);
        opacity: 0.6;
    }

    .timeline-header-actions[b-1u3781oj2d] {
        margin-left: auto;
    }

    .summary-cards[b-1u3781oj2d] {
        order: 3;
        flex: 1 1 100%;
    }

    .metrics-closed .summary-cards[b-1u3781oj2d] {
        display: none;
    }
}

/* VM-timeline-2: damage assessments inside the card, in the assessment magenta the phone uses. */
.timeline-assessments-header[b-1u3781oj2d],
.timeline-assessment-moment[b-1u3781oj2d] {
    color: #B42AA0;
}

.timeline-assessment-dot[b-1u3781oj2d] {
    background: #B42AA0;
}

.timeline-assessment-title[b-1u3781oj2d] {
    font-weight: 700;
}

/* P14: «Ver ›» of an assessment, the app's magenta like the rest of the line. */
.timeline-assessment-open[b-1u3781oj2d] {
    align-self: center;
    margin-left: auto;
    padding: 2px 6px;
    border: none;
    background: transparent;
    color: #B42AA0;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
/* /Pages/Home/Components/AssetDetail/TimelineReceptionChecks.razor.rz.scp.css */
/* F6-1: same small timeline as the round's checks in TimelinePanel; red when a point failed. */
.expand-divider[b-ytr0eu2llo] {
    height: 1px;
    background: var(--st-border-subtle);
    margin: 4px 0;
}

.expand-section[b-ytr0eu2llo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rc-header[b-ytr0eu2llo] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.rc-list[b-ytr0eu2llo] {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.rc-item[b-ytr0eu2llo] {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.rc-rail[b-ytr0eu2llo] {
    position: relative;
    width: 10px;
    flex: 0 0 10px;
    display: flex;
    justify-content: center;
}

.rc-item:not(:last-child) .rc-rail[b-ytr0eu2llo]::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: -2px;
    width: 2px;
    background: var(--st-border);
}

.rc-dot[b-ytr0eu2llo] {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    flex: 0 0 8px;
    z-index: 1;
    background: var(--st-success-fg);
}

.rc-item.is-fail .rc-dot[b-ytr0eu2llo] {
    background: var(--st-danger-fg);
}

.rc-body[b-ytr0eu2llo] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 8px;
    min-width: 0;
}

.rc-moment[b-ytr0eu2llo] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--st-success-text);
}

.rc-item.is-fail .rc-moment[b-ytr0eu2llo],
.rc-item.is-fail .rc-result[b-ytr0eu2llo] {
    color: var(--st-danger-text);
}

.rc-result[b-ytr0eu2llo] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-success-text);
}

.rc-author[b-ytr0eu2llo],
.rc-note[b-ytr0eu2llo] {
    font-size: 0.7rem;
    color: var(--st-text-subtle);
}

.rc-note[b-ytr0eu2llo] {
    flex-basis: 100%;
    font-style: italic;
}

.rc-points[b-ytr0eu2llo] {
    flex-basis: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rc-point[b-ytr0eu2llo] {
    display: flex;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--st-text-body);
}

.rc-point-status[b-ytr0eu2llo] {
    flex: 0 0 62px;
    font-weight: 700;
    color: var(--st-text-muted);
}

.rc-fail .rc-point-status[b-ytr0eu2llo] {
    color: var(--st-danger-text);
}

.rc-ok .rc-point-status[b-ytr0eu2llo] {
    color: var(--st-success-text);
}
/* /Pages/Home/Components/AssetDetail/TimelineSteps.razor.rz.scp.css */
/* F12: same small timeline as the controls of the card; the dot says the kind (contact, appointment, missed, plan). */
.expand-divider[b-m9ogh4vfnm] {
    height: 1px;
    background: var(--st-border-subtle);
    margin: 4px 0;
}

.expand-section[b-m9ogh4vfnm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ts-header[b-m9ogh4vfnm] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.ts-list[b-m9ogh4vfnm] {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.ts-item[b-m9ogh4vfnm] {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.ts-rail[b-m9ogh4vfnm] {
    position: relative;
    width: 10px;
    flex: 0 0 10px;
    display: flex;
    justify-content: center;
}

.ts-item:not(:last-child) .ts-rail[b-m9ogh4vfnm]::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: -2px;
    width: 2px;
    background: var(--st-border);
}

.ts-dot[b-m9ogh4vfnm] {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    flex: 0 0 8px;
    z-index: 1;
    background: var(--st-info-fg, var(--st-text-muted));
}

.ts-arrival .ts-dot[b-m9ogh4vfnm],
.ts-reception .ts-dot[b-m9ogh4vfnm] {
    background: var(--st-success-fg);
}

.ts-noshow .ts-dot[b-m9ogh4vfnm] {
    background: var(--st-danger-fg);
}

.ts-published .ts-dot[b-m9ogh4vfnm] {
    background: var(--st-text-muted);
}

.ts-body[b-m9ogh4vfnm] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 8px;
    min-width: 0;
}

.ts-moment[b-m9ogh4vfnm] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--st-text-secondary);
}

.ts-text[b-m9ogh4vfnm] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-body);
}

.ts-noshow .ts-text[b-m9ogh4vfnm] {
    color: var(--st-danger-text);
}

.ts-who[b-m9ogh4vfnm],
.ts-note[b-m9ogh4vfnm] {
    font-size: 0.7rem;
    color: var(--st-text-subtle);
}

.ts-note[b-m9ogh4vfnm] {
    flex-basis: 100%;
    font-style: italic;
}

/* H41: a reschedule of an appointment, in the app's yellow with an hourglass (wider than the dot, centred on the rail). */
.ts-icon[b-m9ogh4vfnm] {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--st-brand-gold);
    color: #1f2937;
}

.ts-icon[b-m9ogh4vfnm]  svg {
    width: 10px;
    height: 10px;
}

.ts-rescheduled .ts-text[b-m9ogh4vfnm] {
    color: var(--st-gold-text);
}

.ts-item.ts-rescheduled:not(:last-child) .ts-rail[b-m9ogh4vfnm]::after {
    top: 17px;
}
/* /Pages/Home/Components/AssetDetail/TimelineWorkBar.razor.rz.scp.css */
.timeline-work-bar[b-gpnyihmm9h] {
    --work-bar-active: #16a34a;
    --work-bar-idle: var(--st-surface-stronger);
    --work-bar-warning: #dea301;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--st-border-strong);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.timeline-work-bar__summary[b-gpnyihmm9h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    color: var(--st-text-subtle);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
}

/* The workshop's reference time: muted, it is not what the bar measures. */
.timeline-work-bar__workshop[b-gpnyihmm9h] {
    color: var(--st-text-faint);
    font-weight: 500;
    white-space: nowrap;
}

.timeline-work-bar__status[b-gpnyihmm9h] {
    flex: 0 0 auto;
    color: var(--st-success-fg);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline-work-bar__track[b-gpnyihmm9h] {
    display: flex;
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--work-bar-idle);
    box-shadow: inset 0 0 0 1px rgba(51, 77, 110, 0.08);
}

.timeline-work-bar__segment[b-gpnyihmm9h] {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.timeline-work-bar__segment.worked[b-gpnyihmm9h] {
    background: var(--work-bar-active);
}

.timeline-work-bar__segment.idle[b-gpnyihmm9h] {
    background: var(--work-bar-idle);
}

.timeline-work-bar.warning .timeline-work-bar__track[b-gpnyihmm9h],
.timeline-work-bar.warning .timeline-work-bar__segment[b-gpnyihmm9h] {
    background: var(--work-bar-warning);
}

.timeline-work-bar__segment-label[b-gpnyihmm9h] {
    overflow: hidden;
    padding-inline: 2px;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 1;
    text-overflow: clip;
    white-space: nowrap;
}

.timeline-work-bar.dark[b-gpnyihmm9h] {
    --work-bar-idle: var(--st-surface-stronger);
    border-top-color: var(--st-border-strong);
}

.timeline-work-bar.dark .timeline-work-bar__summary[b-gpnyihmm9h] {
    color: var(--st-text-subtle);
}

.timeline-work-bar.dark .timeline-work-bar__status[b-gpnyihmm9h] {
    color: var(--st-success-fg);
}

@media (max-width: 520px) {
    .timeline-work-bar__summary[b-gpnyihmm9h] {
        font-size: 0.64rem;
    }

    .timeline-work-bar__segment-label[b-gpnyihmm9h] {
        font-size: 0.46rem;
    }
}
/* /Pages/Home/Components/AssetDetail/WorkOrderApproval.razor.rz.scp.css */
/* La aprobación para reparar de la OT (A39, D375): una fila bajo la llegada de repuestos, con los mismos colores. Lo que
   falta registrar va en gris; los datos registrados, en el color de la marca. */
.wo-appr[b-7jc1a5rln2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.wo-appr-row[b-7jc1a5rln2] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wo-appr-icon[b-7jc1a5rln2] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--st-text-brand);
    background: var(--st-surface-sunken);
}

.wo-appr-icon svg[b-7jc1a5rln2] {
    width: 18px;
    height: 18px;
}

.wo-appr-text[b-7jc1a5rln2] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.wo-appr-label[b-7jc1a5rln2] {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--st-text-muted);
    letter-spacing: 0.01em;
}

.wo-appr-value[b-7jc1a5rln2] {
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wo-appr-edit[b-7jc1a5rln2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wo-appr-input[b-7jc1a5rln2] {
    flex: 1 1 140px;
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--st-text-brand);
    background: var(--st-surface);
}

.wo-appr-input:focus-visible[b-7jc1a5rln2] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 1px;
}

/* A15 (D373): the import order goes next to the date. */
.wo-appr-import[b-7jc1a5rln2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--st-text-body);
}

.wo-appr-import input[b-7jc1a5rln2] {
    accent-color: var(--st-text-brand);
}

.wo-appr-actions[b-7jc1a5rln2] {
    display: inline-flex;
    gap: 6px;
    margin-left: auto;
}

.wo-appr-btn[b-7jc1a5rln2] {
    flex: none;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-brand);
    background: var(--st-surface);
    cursor: pointer;
}

.wo-appr-btn:hover:not(:disabled)[b-7jc1a5rln2] {
    background: var(--st-surface-sunken);
}

.wo-appr-btn:disabled[b-7jc1a5rln2] {
    opacity: 0.5;
    cursor: default;
}

.wo-appr-btn.is-primary[b-7jc1a5rln2] {
    border-color: #3D5676;
    color: #FFFFFF;
    background: #3D5676;
}

.wo-appr-btn.is-primary:hover:not(:disabled)[b-7jc1a5rln2] {
    background: #2F4560;
}

.wo-appr-btn.is-danger[b-7jc1a5rln2] {
    color: var(--st-danger-text);
}

.wo-appr-hint[b-7jc1a5rln2],
.wo-appr-error[b-7jc1a5rln2] {
    margin: 0;
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

.wo-appr-error[b-7jc1a5rln2] {
    color: var(--st-danger-text);
}

.wo-appr-grid[b-7jc1a5rln2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
}

.wo-appr-item[b-7jc1a5rln2] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wo-appr-item .wo-appr-value.is-missing[b-7jc1a5rln2] {
    font-weight: 500;
    font-style: italic;
    color: var(--st-text-muted);
}

.wo-appr-field[b-7jc1a5rln2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

@media (max-width: 420px) {
    .wo-appr-grid[b-7jc1a5rln2] { grid-template-columns: minmax(0, 1fr); }
}
/* /Pages/Home/Components/AssetDetail/WorkOrderDetailPanel.razor.rz.scp.css */
.workorder-detail-panel[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    flex: 1;
    min-width: 280px;
    overflow-y: auto;
    position: relative;
    padding-top: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.workorder-detail-panel[b-rwhcxlm4dx]::-webkit-scrollbar {
    display: none;
}

/* Folder tab header */
.folder-tab-header[b-rwhcxlm4dx] {
    position: absolute;
    top: 0;
    left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 20px;
    background: var(--st-surface);
    border-radius: 12px 12px 0 0;
    z-index: 2;
    border: 1px solid var(--st-border);
    border-bottom: none;
}

.folder-tab-title[b-rwhcxlm4dx] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

/* Unified card */
.unified-card[b-rwhcxlm4dx] {
    background: var(--st-surface);
    border-radius: 16px;
    padding: 10px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.unified-card.embedded[b-rwhcxlm4dx] {
    border-radius: 12px;
}

/* 1. Actions row */
.actions-row[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

/* La barra necesita un ancho de LAYOUT (no de contenido) para que su container query
   pueda medirlo: con width: fit-content el containment lo dejaba en cero. */
.wo-action-selector[b-rwhcxlm4dx] {
    flex: 1 1 auto;
    min-width: 0;
}

.delay-inline-block[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    line-height: 1.1;
}

.delay-inline-label[b-rwhcxlm4dx] {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--st-text-muted);
    letter-spacing: 0.05em;
}

.delay-inline-value[b-rwhcxlm4dx] {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.15;
}

.delay-inline-unit[b-rwhcxlm4dx] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.delay-inline-value.delayed[b-rwhcxlm4dx],
.delay-inline-unit.delayed[b-rwhcxlm4dx] {
    color: #ef4444;
}

.delay-inline-value.on-time[b-rwhcxlm4dx],
.delay-inline-unit.on-time[b-rwhcxlm4dx] {
    color: #10b981;
}

/* 2. Dates row */
.dates-container-row[b-rwhcxlm4dx] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.date-card-box[b-rwhcxlm4dx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

.date-card-box:hover[b-rwhcxlm4dx] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Envuelve solo la tarjeta de promesa cuando hay una fecha anterior que mostrar encima. Con
   align-items: flex-end en la fila (ver .dates-container-row), las demas tarjetas —sin chip—
   quedan alineadas por abajo con esta, sin necesidad de tocar su altura. */
.date-card-column[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.date-card-column .date-card-box[b-rwhcxlm4dx] {
    flex: 1;
}

.previous-promise-chip[b-rwhcxlm4dx] {
    align-self: center;
    max-width: 100%;
    padding: 2px 8px;
    border: none;
    border-radius: 999px;
    background: rgba(199, 127, 26, 0.12);
    font-size: 0.68rem;
    font-weight: 600;
    color: #C77F1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.previous-promise-chip:hover[b-rwhcxlm4dx] {
    background: rgba(199, 127, 26, 0.2);
}

/* Borde punteado = fecha sugerida, no confirmada. El color de atraso (si ya hay uno calculado)
   se inyecta por style inline con TrafficLightColorHelper.GetHexColor() — ver GetWoDelayHexColor()
   en el code-behind, mismo patrón que DynamicPanel.razor:439 — y sobreescribe border-color/width
   sin tocar el border-style de aquí. */
.date-card-box.suggested[b-rwhcxlm4dx] {
    border-width: 2px;
    border-style: dashed;
    border-color: #FE00E4;
    /* Fondo suave a juego con el contorno; cuando hay estado de semáforo, el style inline
       lo reemplaza por el mismo color del borde con ~5% de opacidad. */
    background: rgba(254, 0, 228, 0.04);
}

/* El ícono se ancla a la esquina de la tarjeta: la tarjeta es flex en columna y no debe
   reacomodarse por agregarlo. */
.date-card-box[b-rwhcxlm4dx] {
    position: relative;
}

/* A caballo de la esquina superior izquierda: la mitad del icono queda fuera de la tarjeta.
   El halo blanco lo despega del tinte de la tarjeta, que en órdenes atrasadas ya viene
   coloreada por el semáforo. */
.date-card-box.clickable[b-rwhcxlm4dx] {
    cursor: pointer;
}

.promise-warning-btn[b-rwhcxlm4dx] {
    position: absolute;
    top: -11px;
    left: -11px;
    padding: 1px;
    border: none;
    border-radius: 50%;
    background: var(--st-surface);
    box-shadow: 0 0 0 1px var(--st-surface);
    line-height: 0;
    cursor: pointer;
    color: #F59E0B;
    animation: promise-warning-pop-b-rwhcxlm4dx 1.6s ease-in-out 3;
}

.promise-warning-btn:hover[b-rwhcxlm4dx] {
    color: var(--st-warning-fg);
    transform: scale(1.15);
}

@keyframes promise-warning-pop-b-rwhcxlm4dx {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

.promise-suggestion-note[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
    font-size: 0.75rem;
    color: var(--st-warning-text);
}

.promise-suggestion-link[b-rwhcxlm4dx] {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: #C77F1A;
    text-decoration: underline;
    cursor: pointer;
}

.date-label[b-rwhcxlm4dx] {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--st-text-muted);
    text-transform: none;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
    white-space: nowrap;
}

.date-day[b-rwhcxlm4dx] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--st-text-brand);
    line-height: 1.1;
}

.date-month[b-rwhcxlm4dx] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #FE00E4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.date-month.no-date[b-rwhcxlm4dx] {
    color: var(--st-text-muted);
}

.eta-card .date-month:not(.no-date)[b-rwhcxlm4dx] {
    color: #FE00E4;
}

/* 3. Burndown section (sin caja extra) */
.burndown-section[b-rwhcxlm4dx] {
    width: 100%;
}

/* 4. Divider */
.section-divider[b-rwhcxlm4dx] {
    width: 100%;
    height: 1px;
    background: var(--st-surface-strong);
    border-radius: 1px;
    margin: 4px 0;
}

/* 5. Order detail */
.responsible-info[b-rwhcxlm4dx] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.responsible-avatar[b-rwhcxlm4dx] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--st-surface-sunken);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    border: 2px solid #21e139;
    flex-shrink: 0;
}

.responsible-avatar img[b-rwhcxlm4dx] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-avatar[b-rwhcxlm4dx] {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
    color: white;
}

.advisor-initials[b-rwhcxlm4dx] {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.responsible-details[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.responsible-role[b-rwhcxlm4dx] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1;
    display: block;
}

.responsible-name[b-rwhcxlm4dx] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
    display: block;
}

.responsible-header-row[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.round-badges-container[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.badge-item[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.badge-label[b-rwhcxlm4dx] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1;
}

.round-badge[b-rwhcxlm4dx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: -0.2px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default !important;
}

.round-badge:hover[b-rwhcxlm4dx] {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.level-badge[b-rwhcxlm4dx] {
    background: linear-gradient(135deg, #475569, #3D5676);
}

.circuit-badge[b-rwhcxlm4dx] {
    background: linear-gradient(135deg, #d97706, #e5b900);
}

/* Progress Section */
.progress-section[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-header[b-rwhcxlm4dx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label[b-rwhcxlm4dx] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.progress-value[b-rwhcxlm4dx] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text-brand);
}

.progress-bar-container[b-rwhcxlm4dx] {
    height: 10px;
    background: var(--st-fill-3);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.progress-bar[b-rwhcxlm4dx] {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399, #10b981);
    background-size: 200% 100%;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: progress-animation-b-rwhcxlm4dx 2s linear infinite;
}

@keyframes progress-animation-b-rwhcxlm4dx {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

/* Process + Worker row */
.process-main-row[b-rwhcxlm4dx] {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.process-status[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.process-label[b-rwhcxlm4dx] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

/* ── Frentes vivos: una fila por frente, proceso ↔ su responsable ─────────
   Los rótulos se separan a su propia fila para que las N filas de datos
   queden bajo la misma rejilla y cada proceso caiga enfrente de SU persona.
   Con un solo frente esto es visualmente idéntico al diseño anterior. */
.process-fronts-header[b-rwhcxlm4dx] {
    margin-bottom: 2px;
}

.process-front-row + .process-front-row[b-rwhcxlm4dx] {
    margin-top: 8px;
}

/* Cada frente lleva el filete de SU línea, no sólo las ramas.
   El tipo se comunica con el color, no con un rótulo: "PARALLEL" en crudo era jerga del modelo,
   no información para el taller.

   El filete colgaba de .is-branch-front, así que el frente del TRONCO quedaba sin él: la lista
   mostraba tres responsables y sólo dos se podían ubicar en el dibujo. El tronco es una línea más
   —sale en el verde de mainline, que ya publica --lane-color— y que sea la principal no lo vuelve
   invisible. Justo al revés: es la referencia contra la que se leen las demás. */
.process-front-row[b-rwhcxlm4dx] {
    position: relative;
    padding-left: 10px;
}

.process-front-row[b-rwhcxlm4dx]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 2px;
    border-radius: 2px;
    /* Color real de la rama (paleta compartida), no un ámbar fijo: con dos frentes vivos los dos
       filetes salían iguales y no se correspondían con sus líneas del timeline. */
    background: var(--lane-color, #DEA301);
}

.process-value[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--st-text-brand);
    font-weight: 500;
}

.process-mini-icon[b-rwhcxlm4dx] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-icon-circle[b-rwhcxlm4dx] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 2px solid rgba(59, 130, 246, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.worker-avatar-compact[b-rwhcxlm4dx] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid rgba(59, 130, 246, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.worker-avatar-compact img[b-rwhcxlm4dx] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-avatar-compact .advisor-initials[b-rwhcxlm4dx] {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Order type row */
.order-type-row[b-rwhcxlm4dx] {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
}

.order-item[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-label[b-rwhcxlm4dx] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

.order-value[b-rwhcxlm4dx] {
    font-size: 0.85rem;
    color: var(--st-text-brand);
    font-weight: 500;
}

.insurance-info[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insurance-value[b-rwhcxlm4dx] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.insurance-icon-circle[b-rwhcxlm4dx] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(59, 130, 246, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.insurance-icon[b-rwhcxlm4dx] {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Additional info */
.additional-info[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--st-surface-muted);
    border-radius: 10px;
    border: 1px solid var(--st-border);
}

.info-row[b-rwhcxlm4dx] {
    display: flex;
    gap: 16px;
}

.info-item[b-rwhcxlm4dx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label[b-rwhcxlm4dx] {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

.info-value[b-rwhcxlm4dx] {
    font-size: 0.85rem;
    color: var(--st-text-brand);
}

/* No WorkOrder Selected */
.no-workorder-selected[b-rwhcxlm4dx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
    padding: 40px;
}

@media (max-width: 640px) {
    .process-main-row[b-rwhcxlm4dx],
    .order-type-row[b-rwhcxlm4dx] {
        grid-template-columns: 1fr;
    }

    .actions-row[b-rwhcxlm4dx] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Ayuda del burndown: el chasis del popover vive en InfoCarouselPopover; aqui solo queda
   lo propio de este contenido. */
.delay-help-group[b-rwhcxlm4dx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Carrusel: el mismo diagrama en los tres pasos, atenuando lo que no toca explicar.
   Un texto paginado sin este resalte no ensenaria nada que la lista anterior ya no dijera. */
.burndown-diagram g[b-rwhcxlm4dx] {
    transition: opacity 0.2s ease;
}

.burndown-diagram.step-1 .g-today[b-rwhcxlm4dx],
.burndown-diagram.step-1 .g-delay[b-rwhcxlm4dx],
.burndown-diagram.step-1 .g-repro[b-rwhcxlm4dx],
.burndown-diagram.step-1 .g-gap[b-rwhcxlm4dx],
.burndown-diagram.step-1 .g-warn[b-rwhcxlm4dx],
.burndown-diagram.step-2 .g-today[b-rwhcxlm4dx],
.burndown-diagram.step-2 .g-eta[b-rwhcxlm4dx],
.burndown-diagram.step-2 .g-gap[b-rwhcxlm4dx],
.burndown-diagram.step-2 .g-warn[b-rwhcxlm4dx],
.burndown-diagram.step-2 .g-phases[b-rwhcxlm4dx],
.burndown-diagram.step-3 .g-repro[b-rwhcxlm4dx],
.burndown-diagram.step-3 .g-phases[b-rwhcxlm4dx] {
    opacity: 0.1;
}


/* Cada linea del grafico con su propia entrada: la marca de color reemplaza al nombre
   del color en el texto, que obligaba a traducir "verde" a lo que se ve en pantalla. */
.info-carousel-item .info-carousel-key.plan[b-rwhcxlm4dx] { background: repeating-linear-gradient(90deg, #22C55E 0 5px, transparent 5px 8px); }
.info-carousel-item .info-carousel-key.real[b-rwhcxlm4dx] { background: #818CF8; }
.info-carousel-item .info-carousel-key.delay[b-rwhcxlm4dx] { background: #EF4444; }
.info-carousel-item .info-carousel-key.promise[b-rwhcxlm4dx] { background: repeating-linear-gradient(90deg, #EF4444 0 3px, transparent 3px 6px); }
.info-carousel-item .info-carousel-key.eta[b-rwhcxlm4dx] { background: repeating-linear-gradient(90deg, #FB923C 0 2px, transparent 2px 5px); }

.info-carousel-item .info-carousel-key.phase[b-rwhcxlm4dx] {
    height: 6px;
    border: 1px solid var(--st-border-stronger);
    border-top: none;
    border-radius: 0 0 2px 2px;
    background: transparent;
}

.info-carousel-item .info-carousel-key.repro[b-rwhcxlm4dx] {
    width: 8px;
    height: 8px;
    margin-top: 2px;
    border-radius: 1px;
    background: #F59E0B;
    transform: rotate(45deg);
}

.info-carousel-item .info-carousel-key.warn[b-rwhcxlm4dx] {
    width: 10px;
    height: 10px;
    margin-top: 1px;
    border-radius: 50%;
    background: #F59E0B;
}

/* Replica en pequeno de las tarjetas de fecha del detalle. */
.help-cards[b-rwhcxlm4dx] {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.help-card[b-rwhcxlm4dx] {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
}

.help-card.late[b-rwhcxlm4dx] {
    border: 1.5px solid #EF4444;
    background: var(--st-danger-bg);
}

.help-card-warn[b-rwhcxlm4dx] {
    position: absolute;
    top: -8px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #F59E0B;
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
}

.help-card-label[b-rwhcxlm4dx] {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.help-card-day[b-rwhcxlm4dx] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text-strong);
    line-height: 1.1;
}

.help-card.late .help-card-day[b-rwhcxlm4dx] { color: var(--st-danger-text); }

.help-card-month[b-rwhcxlm4dx] {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.help-card.late .help-card-month[b-rwhcxlm4dx] { color: #EF4444; }

.help-badge-row[b-rwhcxlm4dx] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.help-colors[b-rwhcxlm4dx] {
    margin: -4px 0 10px 24px;
}

.help-color[b-rwhcxlm4dx] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--st-text-secondary);
    margin-bottom: 3px;
}

.help-dot[b-rwhcxlm4dx] {
    flex-shrink: 0;
    margin-top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.burndown-diagram-tiny[b-rwhcxlm4dx] { font-size: 9px; }

/* Nombre de proceso dentro de la ayuda. Llega como MarkupString, sin el atributo de aislamiento,
   por eso el ::deep desde la descripción. Magenta suave, como el chip del proceso actual. */
.info-carousel-desc[b-rwhcxlm4dx]  .process-chip {
    display: inline-block;
    padding: 0 6px;
    margin: 1px 0;
    border-radius: 999px;
    background: rgba(254, 0, 228, 0.08);
    border: 1px solid rgba(254, 0, 228, 0.25);
    color: var(--st-accent-text);
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.5;
}

/* H41: the order's appointment and its reschedules, in the app's yellow with the hourglass of the timeline. */
.appointment-card.is-rescheduled[b-rwhcxlm4dx] {
    border-color: var(--st-brand-gold);
}

.rescheduled-chip[b-rwhcxlm4dx] {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 8px;
    border: none;
    border-radius: 999px;
    background: var(--st-gold-bg);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--st-gold-text);
    white-space: nowrap;
    cursor: pointer;
}

.rescheduled-chip:hover[b-rwhcxlm4dx] {
    background: var(--st-gold-border);
}

.rescheduled-chip-icon[b-rwhcxlm4dx],
.reschedule-history-icon[b-rwhcxlm4dx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 50%;
    background: var(--st-brand-gold);
    color: #1f2937;
}

/* The hourglass comes as markup (no scope attribute): ::deep reaches it. */
.rescheduled-chip-icon[b-rwhcxlm4dx]  svg,
.reschedule-history-icon[b-rwhcxlm4dx]  svg {
    width: 9px;
    height: 9px;
}

.reschedule-history[b-rwhcxlm4dx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--st-gold-border);
    border-radius: 10px;
    background: var(--st-gold-bg);
}

.reschedule-history-title[b-rwhcxlm4dx] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-gold-text);
}

.reschedule-history-item[b-rwhcxlm4dx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.reschedule-history-at[b-rwhcxlm4dx] {
    font-weight: 700;
    color: var(--st-text-secondary);
}

.reschedule-history-text[b-rwhcxlm4dx] {
    font-weight: 600;
    color: var(--st-text-body);
}

.reschedule-history-who[b-rwhcxlm4dx] {
    color: var(--st-text-secondary);
}
/* /Pages/Home/Components/AssetDetail/WorkOrderPartsArrival.razor.rz.scp.css */
/* La llegada de los repuestos de la OT (DCB, D100): una fila bajo las fechas, con los colores de sus tarjetas.
   Vencida va en ámbar, como en el DCB (el rojo es de la promesa); sin fecha, en gris. */
.wo-parts[b-sdcf0r7y6o] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.wo-parts-row[b-sdcf0r7y6o] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wo-parts-icon[b-sdcf0r7y6o] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--st-text-brand);
    background: var(--st-surface-sunken);
}

.wo-parts-icon svg[b-sdcf0r7y6o] {
    width: 18px;
    height: 18px;
}

.wo-parts-text[b-sdcf0r7y6o] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.wo-parts-label[b-sdcf0r7y6o] {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--st-text-muted);
    letter-spacing: 0.01em;
}

.wo-parts-value[b-sdcf0r7y6o] {
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wo-parts.is-empty .wo-parts-value[b-sdcf0r7y6o] {
    font-weight: 500;
    font-style: italic;
    color: var(--st-text-muted);
}

.wo-parts.is-overdue[b-sdcf0r7y6o] {
    border-color: var(--st-warning-border);
    background: var(--st-surface-muted);
}

.wo-parts.is-overdue .wo-parts-icon[b-sdcf0r7y6o] {
    color: var(--st-warning-fg);
    background: var(--st-warning-bg-strong);
}

.wo-parts.is-overdue .wo-parts-value[b-sdcf0r7y6o] {
    color: var(--st-warning-fg);
}

.wo-parts-edit[b-sdcf0r7y6o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wo-parts-input[b-sdcf0r7y6o] {
    flex: 1 1 140px;
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--st-text-brand);
    background: var(--st-surface);
}

.wo-parts-input:focus-visible[b-sdcf0r7y6o] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 1px;
}

/* A15 (D373): the import order goes next to the date. */
.wo-parts-import[b-sdcf0r7y6o] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--st-text-body);
}

.wo-parts-import input[b-sdcf0r7y6o] {
    accent-color: var(--st-text-brand);
}

.wo-parts-actions[b-sdcf0r7y6o] {
    display: inline-flex;
    gap: 6px;
    margin-left: auto;
}

.wo-parts-btn[b-sdcf0r7y6o] {
    flex: none;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-brand);
    background: var(--st-surface);
    cursor: pointer;
}

.wo-parts-btn:hover:not(:disabled)[b-sdcf0r7y6o] {
    background: var(--st-surface-sunken);
}

.wo-parts-btn:disabled[b-sdcf0r7y6o] {
    opacity: 0.5;
    cursor: default;
}

.wo-parts-btn.is-primary[b-sdcf0r7y6o] {
    border-color: #3D5676;
    color: #FFFFFF;
    background: #3D5676;
}

.wo-parts-btn.is-primary:hover:not(:disabled)[b-sdcf0r7y6o] {
    background: #2F4560;
}

.wo-parts-btn.is-danger[b-sdcf0r7y6o] {
    color: var(--st-danger-text);
}

.wo-parts-hint[b-sdcf0r7y6o],
.wo-parts-error[b-sdcf0r7y6o] {
    margin: 0;
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

.wo-parts-error[b-sdcf0r7y6o] {
    color: var(--st-danger-text);
}
/* /Pages/Home/Components/AssetInventoriesPanel.razor.rz.scp.css */
.inbox-table-resizable[b-pkxxgmxhpa] {
    width: 100%;
    height: 100%;
    min-width: 0;
    zoom: 0.9;
    min-height: 260px;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.inbox-table-resizable.is-resizing[b-pkxxgmxhpa] {
    user-select: none;
}

.inbox-table-resize-handle[b-pkxxgmxhpa] {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #9aa1ac80;
    color: rgba(246, 250, 255, 0.94);
    cursor: ns-resize;
    z-index: 50;
    box-shadow: none;
    touch-action: none;
    transition: transform 0.14s ease;
}

.inbox-table-resize-handle:hover[b-pkxxgmxhpa] {
    transform: translateX(-50%) translateY(-1px);
    box-shadow: none;
}

.inbox-table-resizable.is-resizing .inbox-table-resize-handle[b-pkxxgmxhpa] {
    transform: translateX(-50%) translateY(-1px);
    box-shadow: none;
}

.inbox-table-page[b-pkxxgmxhpa] {
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 14px 8px;
    box-sizing: border-box;
    color: var(--st-text-strong);
}

.inbox-table-header[b-pkxxgmxhpa] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.inbox-table-brand[b-pkxxgmxhpa] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    flex: 1 1 620px;
    max-width: 100%;
}

.inbox-table-metrics[b-pkxxgmxhpa] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    width: auto;
    margin-top: 1px;
}

.inbox-table-header-right[b-pkxxgmxhpa] {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4px;
    flex-shrink: 0;
    min-width: 0;
    padding-right: 0;
}

.inbox-table-top-actions[b-pkxxgmxhpa] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    margin-right: 9px;
}

.metric-pill[b-pkxxgmxhpa] {
    padding: 6px 15px;
    border-radius: 999px;
    color: var(--st-text-strong);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.inbox-table-actions[b-pkxxgmxhpa] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.view-toggle-btn[b-pkxxgmxhpa] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-5);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--st-text-subtle);
    transition: all 0.2s ease;
    padding: 0;
}

.view-toggle-btn:hover[b-pkxxgmxhpa] {
    background: var(--st-fill-7);
    color: var(--st-text-strong);
}

.toolbar-search[b-pkxxgmxhpa] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 420px;
    min-width: 320px;
    max-width: 560px;
    min-height: 39px;
    padding: 8px 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: var(--st-fill-5);
    color: var(--st-text-muted);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1;
}

.toolbar-search-icon[b-pkxxgmxhpa] {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.toolbar-search-icon svg[b-pkxxgmxhpa] {
    width: 18px;
    height: 18px;
    display: block;
}

.toolbar-search-input[b-pkxxgmxhpa] {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    padding: 1px 2px;
}

.toolbar-search-input[b-pkxxgmxhpa]::placeholder {
    color: var(--st-text-subtle);
    opacity: 1;
    font-weight: 500;
}

.toolbar-search-input[type="search"][b-pkxxgmxhpa]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

.toolbar-search:focus-within[b-pkxxgmxhpa] {
    border-color: transparent;
    box-shadow: none;
}

.toolbar-btn[b-pkxxgmxhpa] {
    border: none;
    background: #e5b900;
    color: #1a365d;
    border-radius: 15px;
    padding: 6px 14px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}

.toolbar-btn.toolbar-btn-hidden[b-pkxxgmxhpa] {
    opacity: 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    border: none;
    transition: opacity 0.25s ease, max-width 0.3s ease, padding 0.3s ease;
}

.toolbar-btn.toolbar-btn-visible[b-pkxxgmxhpa] {
    opacity: 1;
    max-width: 200px;
    pointer-events: auto;
    transition: opacity 0.25s ease, max-width 0.3s ease, padding 0.3s ease;
}

.toolbar-btn:hover[b-pkxxgmxhpa] {
    color: #0f2746;
}

.toolbar-btn.primary[b-pkxxgmxhpa] {
    background: var(--st-surface);
    color: var(--st-text-strong);
    border-radius: 20px;
}

.toolbar-btn.primary:hover[b-pkxxgmxhpa] {
    background: var(--st-surface-strong);
}

.inbox-table-refresh-btn[b-pkxxgmxhpa] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
    flex-shrink: 0;
}

.inbox-table-refresh-btn:hover:not(:disabled)[b-pkxxgmxhpa] {
    background: var(--st-fill-4);
}

.inbox-table-refresh-btn svg[b-pkxxgmxhpa] {
    width: 20px;
    height: 20px;
    color: var(--st-text-subtle);
}

.inbox-table-refresh-btn:disabled[b-pkxxgmxhpa] {
    opacity: 0.5;
    cursor: not-allowed;
}

.inbox-table-refresh-btn:disabled svg[b-pkxxgmxhpa] {
    animation: spin-b-pkxxgmxhpa 1s linear infinite;
}

@keyframes spin-b-pkxxgmxhpa {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

.toolbar-general-filter[b-pkxxgmxhpa] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
}

.toolbar-general-filter[b-pkxxgmxhpa]::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--st-text-strong);
    border-bottom: 2px solid var(--st-text-strong);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.toolbar-filter-select[b-pkxxgmxhpa] {
    appearance: none;
    border: none;
    border-radius: 999px;
    min-width: 168px;
    height: 34px;
    padding: 0px 28px 0px 13px;
    background: var(--st-fill-6);
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 34px;
    cursor: pointer;
    outline: none;
}

.toolbar-filter-select:focus-visible[b-pkxxgmxhpa] {
    box-shadow: 0 0 0 1px rgba(247, 251, 255, 0.6) inset;
}

.toolbar-filter-select:disabled[b-pkxxgmxhpa] {
    opacity: 0.58;
    cursor: not-allowed;
}

.toolbar-filter-select option[b-pkxxgmxhpa] {
    background: var(--st-surface-raised);
    color: var(--st-text);
}

.inbox-table-grid[b-pkxxgmxhpa] {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    --ag-scrollbar-size: 0px;
    --st-inbox-pinned-left-width: 0px;
    --st-inbox-detail-left-offset: 0px;
    --st-inbox-detail-span-width: 100%;
    --ag-background-color: transparent;
    --ag-odd-row-background-color: transparent;
    --ag-header-background-color: transparent;
    --ag-border-color: transparent;
    --ag-wrapper-border-color: transparent;
    --ag-pinned-column-border: 0 solid transparent;
    --ag-row-border-color: var(--st-border);
    --ag-row-hover-color: var(--st-surface-muted);
    --ag-cell-horizontal-border: none;
    --ag-column-border: none;
    /* Theme tokens for the parts of ag-theme-quartz this file does not restyle (pickers, inputs, icons). */
    --ag-foreground-color: var(--st-text);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-control-panel-background-color: var(--st-surface-raised);
    --ag-input-border-color: var(--st-border-strong);
    --ag-input-disabled-background-color: var(--st-fill-2);
    --ag-input-disabled-border-color: var(--st-border);
}

.inbox-table-grid-shell[b-pkxxgmxhpa] {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
}

/* Hide AG-Grid default "No Rows" overlay while the custom loading spinner is active */
.inbox-table-grid-shell.is-loading .inbox-table-grid[b-pkxxgmxhpa]  .ag-overlay {
    display: none !important;
}

.inbox-table-loading-overlay[b-pkxxgmxhpa] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(89, 112, 144, 0.22);
    z-index: 1200;
    pointer-events: all;
}

.inbox-table-loading[b-pkxxgmxhpa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--st-text-subtle);
    font-size: 0.86rem;
    font-weight: 500;
}

.inbox-table-loading-spinner[b-pkxxgmxhpa] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border-strong);
    border-top-color: var(--st-text-strong);
    border-radius: 50%;
    animation: st-inbox-table-spin-b-pkxxgmxhpa 1s linear infinite;
}

@keyframes st-inbox-table-spin-b-pkxxgmxhpa {
    to {
        transform: rotate(360deg);
    }
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-overlay {
    display: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-overlay-no-rows-wrapper {
    display: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-overlay-no-rows-wrapper::after {
    display: none !important;
}

/* ── Custom No Rows Overlay (Blazor-controlled) ── */
.inbox-table-no-rows-overlay[b-pkxxgmxhpa] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 15;
}

.inbox-table-no-rows-text[b-pkxxgmxhpa] {
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Hide AG-Grid default "No Rows" overlay — we use our own Blazor-controlled overlay */
.inbox-table-grid-shell.is-loading .inbox-table-grid[b-pkxxgmxhpa]  .ag-overlay {
    display: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-root-wrapper {
    border: 0;
    border-radius: 0;
    background: transparent;
    width: 100% !important;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-ltr {
    width: 100% !important;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-root-wrapper-body {
    flex: 1 1 auto;
    min-height: 0;
    width: 100% !important;
    box-sizing: border-box;
    padding-bottom: 40px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-root {
    width: 100% !important;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-root,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-root-wrapper-body,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-clipper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-clipper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-right-cols-clipper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-horizontal-scroll-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-vertical-scroll-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-horizontal-scroll-container,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-vertical-scroll-container {
    background: transparent !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row-group-panel,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-advanced-filter-header {
    display: none !important;
    min-height: 0 !important;
    border: 0 !important;
    padding: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-vertical-scroll,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-vertical-scroll-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-vertical-scroll-container {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-container,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-header,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-right-header,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-row {
    background: transparent !important;
    border: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-label {
    color: var(--st-text-strong);
    font-size: 14px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    width: 100%;
    line-height: 1;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
    min-height: 33px;
    max-width: 100%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-label::before {
    content: "" !important;
    left: 1px !important;
    opacity: 0.3 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-group-cell {
    border-right: 0;
    border-bottom: 0;
    background: transparent;
    padding: 0 2px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-row {
    min-height: 38px !important;
    height: auto !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-row.ag-header-row-column-group {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-comp-wrapper {
    background: var(--st-fill-5);
    border: 1px solid var(--st-border-stronger);
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
    min-height: 33px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-comp-wrapper::before {
    content: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell.ag-column-first .ag-header-cell-comp-wrapper {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell .ag-icon {
    color: var(--st-text);
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filter-button {
    opacity: 0.62 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    height: 18px;
    border: 1px solid var(--st-border-stronger);
    border-radius: 999px;
    background: var(--st-fill-4);
    padding: 0;
    margin-left: 8px;
    transition: opacity 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filter-button:hover {
    opacity: 0.9 !important;
    border-color: var(--st-border-stronger);
    background: var(--st-fill-6);
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filtered .ag-header-cell-filter-button {
    opacity: 1 !important;
    border-color: rgba(232, 191, 13, 0.96);
    background: rgba(229, 185, 0, 0.3);
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filter-button,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filter-button .st-inbox-filter-icon,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-filter-button .st-inbox-filter-icon svg {
    color: var(--st-text-strong) !important;
    fill: currentColor !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-search-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-search-icon svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
    display: block;
    transform: scale(1.5);
    transform-origin: center;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-popup,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-popup-child {
    z-index: 120 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row {
    border-bottom: 0 !important;
    background: transparent !important;
    cursor: pointer;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-container,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-viewport,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-container {
    background: transparent !important;
}

/* Force the body and columns viewport to fill full container width */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-body-viewport {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-body {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ag-center-cols-clipper and ag-center-cols-container are sized by AG Grid's
   sizeColumnsToFit() — do NOT force width:100% here or column layout breaks */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-clipper {
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-viewport {
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-container {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Full-width detail rows: clip overflow for horizontal scroll sync */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-full-width-container {
    overflow: hidden !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-full-width-row {
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.76rem, 0.72rem + 0.16vw, 0.9rem);
    color: var(--st-text-brand);
    margin: 3px 0;
    height: calc(100% - 6px) !important;
    background: var(--st-surface);
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0;
    background: transparent !important; /* Unified background handled by ag-row::before */
    box-shadow: none !important;
}

/* Hide column resize handle line and cell separator borders */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-resize {
    opacity: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-header-cell-resize::after {
    background-color: transparent !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-column-resizing {
    border-right-color: transparent !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-ltr .ag-cell {
    border-right-color: transparent !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell-value {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-asset-left,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left {
    justify-content: flex-start;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-value,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .ag-cell-value {
    min-width: 0 !important;
    overflow: hidden !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-asset-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-asset-left .ag-cell-value,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .ag-cell-value,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-value {
    justify-content: flex-start;
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-asset-left .st-inbox-cell,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .st-inbox-cell,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .st-inbox-cell {
    justify-content: flex-start;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-asset-left .st-inbox-cell-text,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .st-inbox-cell-text,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .st-inbox-cell-text {
    align-items: flex-start;
    text-align: left;
    flex: 1 1 auto;
    overflow: hidden;
    max-width: 100%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-process-left .ag-cell-value {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row-hover {
    background: transparent !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-details-row,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.st-inbox-detail-row {
    cursor: default;
    border-bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-details-row .ag-cell,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.st-inbox-detail-row .ag-cell {
    margin: 0 !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    /* Align subtable edges with the main row's edges */
    padding: 0 0 8px 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-details-row .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-details-row .ag-cell-value,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.st-inbox-detail-row .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.st-inbox-detail-row .ag-cell-value {
    justify-content: stretch;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}



.inbox-table-grid[b-pkxxgmxhpa]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row) .ag-cell.ag-column-first {
    border-left: none !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row) .ag-cell.ag-column-last {
    border-right: none !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ── Expanded master row: flatten bottom corners & remove bottom gap ── */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row[aria-expanded="true"] {
    z-index: 2 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row[aria-expanded="true"] .ag-cell {
    margin-bottom: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row[aria-expanded="true"] .ag-cell.ag-column-first {
    border-bottom-left-radius: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row[aria-expanded="true"] .ag-cell.ag-column-last {
    border-bottom-right-radius: 0 !important;
}

/* ── Detail row: pull up to connect seamlessly with the master row ── */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.ag-details-row,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row.st-inbox-detail-row {
    margin-top: -3px !important;
    z-index: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row-hover .ag-cell {
    background: transparent !important;
    box-shadow: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row-hover .ag-cell.ag-column-first {
    box-shadow: none !important;
}

/* ── Unified Row Background (Solves Sub-pixel Gaps) ── */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    right: 0;
    background: var(--st-surface);
    border-radius: 10px;
    border-left: 1px solid var(--st-border);
    border-right: 1px solid var(--st-border);
    z-index: -1;
    pointer-events: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row[aria-expanded="true"]:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    bottom: -3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-row-hover:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    background: var(--st-surface-muted);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-host {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-wrap {
    width: var(--st-inbox-row-width, 100%);
    max-width: var(--st-inbox-row-width, 100%);
    min-width: 0;
    margin: 0;
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--st-border);
    border-top: none;
    background: var(--st-surface-sunken);
    box-shadow: 0 6px 18px rgba(16, 41, 74, 0.12) inset;
    padding: 16px 10px 8px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-grid {
    display: grid;
    grid-template-columns: var(--st-col-1-width, minmax(0, 0.9fr)) var(--st-col-2-width, minmax(0, 0.78fr)) var(--st-col-3-width, minmax(0, 1.63fr)) var(--st-col-4-width, minmax(0, 2.28fr)) var(--st-col-5-width, minmax(0, 1.51fr)) var(--st-col-6-width, minmax(0, 1.28fr)) var(--st-col-7-width, minmax(0, 1.28fr)) var(--st-col-8-width, minmax(0, 2.12fr));
    align-items: center;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-block > * {
    flex: 1;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-header {
    margin-bottom: 7px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-pill {
    min-height: 23px;
    border-radius: 999px;
    background: #8a9eb8;
    box-shadow: none;
    color: #f8fbff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-pill-actions {
    opacity: 0.88;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row {
    color: var(--st-text-brand);
    font-size: 0.79rem;
    font-weight: 600;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    padding: 0 4px;
    box-sizing: border-box;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-value {
    display: -webkit-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    line-height: 1.12;
    text-align: center;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ── Mini calendar date icon ── */
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-calendar {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    width: 44px;
    border-radius: 7px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-calendar-header {
    background: #8a9eb8;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    padding: 2px 4px;
    line-height: 1.2;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-calendar-body {
    background: var(--st-surface);
    color: var(--st-text-brand);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 2px 4px 3px;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn {
    border: 1px solid var(--st-border-strong);
    background: linear-gradient(180deg, var(--st-surface-muted) 0%, var(--st-surface-sunken) 100%);
    color: var(--st-text-brand);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    padding: 3px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    width: auto;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 1px solid var(--st-border);
    padding: 0;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--st-text-brand);
    line-height: 1.15;
    min-width: 0;
    max-width: 100%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn.st-inbox-subtable-process-btn-truncated {
    justify-content: flex-start;
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-label {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn.st-inbox-subtable-process-btn-truncated .st-inbox-subtable-process-label {
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell-process {
    padding-left: 10px;
    padding-right: 10px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn:hover {
    background: linear-gradient(180deg, var(--st-surface-muted) 0%, var(--st-info-bg-strong) 100%);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn:active {
    background: linear-gradient(180deg, var(--st-info-bg) 0%, var(--st-info-bg-strong) 100%);
    border-color: var(--st-info-border);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-btn:focus-visible {
    outline: 2px solid rgba(58, 115, 178, 0.38);
    outline-offset: 1px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell-order {
    font-weight: 800;
    color: var(--st-text-brand);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-order-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-order-number {
    font-weight: 800;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-progress-chip {
    position: static;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-person {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-avatar-wrap {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    object-fit: cover;
    background: var(--st-surface-sunken);
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-avatar-fallback {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-text {
    display: -webkit-box;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.12;
    text-align: center;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

/* Insurance avatar – larger & rectangular so company logos render better */
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar-wrap {
    width: 48px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    object-fit: contain;
    background: var(--st-surface);
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar-fallback {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(9) .st-inbox-subtable-person,
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(10) .st-inbox-subtable-person {
    gap: 6px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(9) .st-inbox-subtable-text,
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(10) .st-inbox-subtable-text {
    flex: 0 1 auto;
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(11) {
    justify-content: flex-start;
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(11) .st-inbox-subtable-person {
    justify-content: flex-start;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row>.st-inbox-subtable-cell:nth-child(11) .st-inbox-subtable-text {
    text-align: left;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    padding-right: 4px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn {
    width: 84px;
    height: 24px;
    min-height: 24px;
    border-radius: 999px;
    border: 0;
    padding: 0 10px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    cursor: default;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #e500cd;
    background-image: none;
    box-shadow: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-assign {
    background: #e500cd;
    background-image: none;
    box-shadow: none;
    cursor: pointer;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-assign:hover {
    background: #c200ae;
    box-shadow: 0 2px 6px rgba(229, 0, 205, 0.35);
}

/* Dimmed «Asignar» (no permission, or the order awaits authorization): it stays visible, as on the card, and does nothing. */
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-assign.is-blocked,
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-assign.is-blocked:hover {
    background: #e500cd;
    box-shadow: none;
    opacity: 0.4;
    cursor: not-allowed;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-deliver {
    background: #e500cd;
    background-image: none;
    box-shadow: none;
    cursor: pointer;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn-deliver:hover {
    background: #c200ae;
    box-shadow: 0 2px 6px rgba(229, 0, 205, 0.35);
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-header,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-container,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-viewport {
    border-right: 0 !important;
    box-shadow: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-header::after,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-container::after,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-pinned-left-cols-viewport::after {
    display: none !important;
    content: none !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-center-cols-viewport {
    overflow-x: auto !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-status-bar {
    border-top: 1px solid var(--st-border-strong);
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    color: var(--st-text-strong) !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    padding: 0 16px !important;
    height: 40px !important;
    min-height: 40px !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-description,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-number,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-row-summary-panel-number,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-button,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel span {
    color: var(--st-text-strong) !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-number {
    margin: 0 4px !important;
    font-weight: 700 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-button.ag-disabled {
    color: var(--st-text-muted) !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-page-size {
    color: var(--st-text-strong) !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-page-size .ag-picker-field-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-page-size .ag-picker-field-display {
    color: var(--st-text-strong) !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-page-size .ag-picker-field-icon .ag-icon,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-button .ag-icon {
    color: var(--st-text-strong) !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-paging-panel .ag-paging-button.ag-disabled .ag-icon {
    color: var(--st-text-muted) !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    gap: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(0.76rem, 0.72rem + 0.18vw, 0.92rem);
    font-weight: 700;
    color: var(--st-text-brand);
    line-height: 1.15;
    margin-bottom: 0;
}

/* Force 1 line for advisor to avoid hitting top border */
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-advisor-left .st-inbox-cell-title {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-subtitle {
    display: -webkit-box;
    font-size: clamp(0.66rem, 0.62rem + 0.12vw, 0.78rem);
    color: var(--st-text-subtle);
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
    margin-top: 1px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-city-subtitle {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-self: stretch;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-image {
    width: 85px;
    height: 55px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: visible;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper.st-inbox-asset-thumb {
    width: 66px;
    height: 44px;
    border-radius: 11px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-thumb {
    position: relative;
    overflow: visible;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: uppercase;
    border-radius: 50%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon,
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon-wrapper {
    width: 43px;
    height: 43px;
    border-radius: 8px;
    object-fit: contain;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: uppercase;
    padding: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-image-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #8f98a6;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-placeholder-icon {
    width: 36%;
    height: 36%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-progress-chip {
    position: absolute;
    right: 2px;
    bottom: 2px;
    top: auto;
    transform: none;
    padding: 4px 12px;
    border-radius: 999px;
    background: #00c853;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    line-height: 1.2;
    z-index: 2;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-thumb>.st-inbox-progress-chip {
    right: -24px;
    bottom: 0px;
    padding: 4px 12px;
    font-size: 0.68rem;
    z-index: 3;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell-order .st-inbox-progress-chip.st-inbox-subtable-progress-chip {
    position: static;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-asset {
    gap: 25px;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-brand {
    justify-content: center;
    padding: 0 2px;
    min-width: 0;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-brand-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-brand-title {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    line-height: 1.1;
    font-size: clamp(0.72rem, 0.68rem + 0.14vw, 0.84rem);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-brand-subtitle {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    line-height: 1.05;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-process {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-process .st-inbox-cell-text {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-process .st-inbox-cell-title {
    display: block;
    min-width: 0;
    align-self: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-wrap2 .ag-cell-wrapper,
.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-wrap2 .ag-cell-value {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.inbox-table-grid[b-pkxxgmxhpa]  .ag-cell.st-inbox-col-wrap2 .ag-cell-value {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.12;
    text-align: center;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-orders-count-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-orders-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Ancho fijo (se muestre o no el ícono) para que el círculo del conteo no cambie de
   posición entre filas con y sin advertencia de cambio de promesa. */
.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-warning-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-warning-slot .st-inbox-promise-changes-warning {
    margin-left: 0;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-permanence {
    font-size: clamp(0.7rem, 0.66rem + 0.12vw, 0.82rem);
    font-weight: 700;
    color: var(--st-text-brand);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell-promise {
    gap: 6px;
    overflow: visible;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-promise-changes-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    cursor: pointer;
    margin-left: 4px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-promise-changes-warning:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 2px rgba(24, 71, 117, 0.35);
}

.inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-empty {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

@media (max-width: 768px) {
    .inbox-table-resizable[b-pkxxgmxhpa] {
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        padding-top: 0;
    }

    .inbox-table-resize-handle[b-pkxxgmxhpa] {
        display: none;
    }

    .inbox-table-page[b-pkxxgmxhpa] {
        padding: 10px 10px 6px;
        gap: 10px;
    }

    .inbox-table-header-right[b-pkxxgmxhpa] {
        width: 100%;
        align-items: stretch;
        gap: 7px;
    }

    .inbox-table-top-actions[b-pkxxgmxhpa] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .inbox-table-metrics[b-pkxxgmxhpa] {
        justify-content: flex-start;
        margin-top: 0;
    }

    .inbox-table-actions[b-pkxxgmxhpa] {
        width: 100%;
        justify-content: flex-start;
    }

    .toolbar-search[b-pkxxgmxhpa] {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: 1 1 100%;
    }

    .toolbar-btn[b-pkxxgmxhpa] {
        padding: 7px 8px;
        font-size: 0.68rem;
    }

    .toolbar-general-filter[b-pkxxgmxhpa] {
        flex: 1 1 160px;
    }

    .toolbar-filter-select[b-pkxxgmxhpa] {
        width: 100%;
        min-width: 0;
    }

}

/* ── Responsive: medium screens (≤ 1200px) ── */
@media (max-width: 1200px) {
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-block {
        gap: 4px;
        padding: 0 2px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row {
        font-size: 0.72rem;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-pill {
        font-size: 0.65rem;
        padding: 0 6px;
        min-height: 20px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-avatar,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-avatar-wrap {
        width: 28px;
        height: 28px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar-wrap {
        width: 38px;
        height: 28px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-insurance-avatar-fallback {
        width: 38px;
        height: 28px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-process-icon {
        width: 30px;
        height: 30px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-btn {
        width: 68px;
        font-size: 0.66rem;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper {
        width: 32px;
        height: 32px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-image {
        width: 60px;
        height: 40px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper.st-inbox-asset-thumb {
        width: 50px;
        height: 34px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon-wrapper {
        width: 32px;
        height: 32px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-asset {
        gap: 12px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-cell-process {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* ── Responsive: narrow screens (≤ 900px) ── */
@media (max-width: 900px) {
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-grid {
        min-width: 860px;
    }
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-block {
        padding: 0;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-row {
        font-size: 0.68rem;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-subtable-pill {
        font-size: 0.6rem;
        padding: 0 5px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper {
        width: 28px;
        height: 28px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-asset-image {
        width: 50px;
        height: 34px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-avatar-wrapper.st-inbox-asset-thumb {
        width: 42px;
        height: 30px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon,
    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-process-icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-asset {
        gap: 8px;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-title {
        font-size: 0.74rem;
    }

    .inbox-table-grid[b-pkxxgmxhpa]  .st-inbox-cell-subtitle {
        font-size: 0.62rem;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LIMIT OVERLAY FOR INDEVELOPMENT MODAL TO THE CONTAINER SHAPE
   ───────────────────────────────────────────────────────────────────────────── */
.inbox-table-resizable[b-pkxxgmxhpa] {
    border-radius: 30px !important;
}

.inbox-table-resizable[b-pkxxgmxhpa]  .logout-confirm-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 100% !important;
    border-radius: 30px !important;
    z-index: 9999 !important;
}
/* /Pages/Home/Components/Assignments/AssignmentModal.razor.rz.scp.css */
.assign-glass-container[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    background: transparent; /* Hereda el #9aa1ab72 del padre, coincidiendo con el Inbox */
    display: flex;
    flex-direction: column;
    padding: 0px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    animation: fadeIn-b-y0v5gexn1j 0.3s ease;
}

/* ===== Banner: autorización requerida antes de entregar ===== */
.assign-auth-hint-banner[b-y0v5gexn1j] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 12px 0 12px;
    padding: 12px 14px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 10px;
    color: var(--st-warning-fg);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.assign-auth-hint-banner svg[b-y0v5gexn1j] {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--st-warning-fg);
}

/* ===== Toast de Validación ===== */
.assign-validation-toast[b-y0v5gexn1j] {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
    max-width: 80%;
    text-align: center;
    word-break: break-word;
    animation: toastSlideIn-b-y0v5gexn1j 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    cursor: pointer;
}

.assign-validation-toast.toast-error[b-y0v5gexn1j] {
    background: linear-gradient(135deg, #1f2937, #450a0a);
    border: 1px solid #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.assign-validation-toast.toast-warning[b-y0v5gexn1j] {
    background: linear-gradient(135deg, #0f172a, #451a03);
    border: 1px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.assign-validation-toast.toast-success[b-y0v5gexn1j] {
    background: linear-gradient(135deg, #0f172a, #064e3b);
    border: 1px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    color: #34d399;
}

@keyframes toastSlideIn-b-y0v5gexn1j {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.assign-scroll-body[b-y0v5gexn1j] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 9px 4px 100px 4px;
    /* Casi al borde lateral */
}

.assign-scroll-body[b-y0v5gexn1j]::-webkit-scrollbar {
    display: none;
}

.fade-in-section[b-y0v5gexn1j] {
    animation: fadeIn-b-y0v5gexn1j 0.4s ease forwards;
}

.assign-loading-state[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-strong);
}

.assign-load-failed[b-y0v5gexn1j] {
    padding: 24px;
    text-align: center;
}

.assign-load-failed-text[b-y0v5gexn1j] {
    margin: 0;
    max-width: 360px;
    color: var(--st-text-strong);
    font-size: 14px;
    line-height: 1.45;
}

/* ===== 1. HEADER CARD (Vehículo) ===== */
.assign-header-card[b-y0v5gexn1j] {
    background: transparent;
    border-radius: 16px;
    padding: 0px;
    position: relative;
    margin-bottom: 12px;
}


.hc-layout[b-y0v5gexn1j] {
    display: flex;
    gap: 12px;
    /* Reducir gap para ganar espacio */
    padding: 2px;
    /* Mínimo padding interno */
}

.hc-image-wrapper[b-y0v5gexn1j] {
    width: 155px;
    /* Un poco más de presencia */
    height: 115px;
    border-radius: 14px;
    overflow: hidden;
    background: #1e293b;
    border: 2px solid white;
    flex-shrink: 0;
}

.hc-image[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hc-content[b-y0v5gexn1j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Desde arriba */
    gap: 2px;
    /* Espaciado ajustado para verticalidad */
    padding-right: 0;
    padding-top: 3px;
    /* Alinear arriba con la imagen */
}

.hc-row-top[b-y0v5gexn1j] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hc-title-col[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
}

.hc-label[b-y0v5gexn1j] {
    font-size: 15px;
    font-weight: 500;
    color: var(--st-text);
    /* Más claro para mejor lectura */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hc-placa[b-y0v5gexn1j] {
    font-size: 38px;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
    line-height: 1;
    letter-spacing: -1.2px;
    /* Un poco más compacto */
}

.hc-date-col[b-y0v5gexn1j] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
    margin-right: 0px;
}

.hc-date-col:hover[b-y0v5gexn1j] {
    transform: scale(1.05);
}

.hc-date-col.readonly[b-y0v5gexn1j] {
    cursor: default;
    pointer-events: none;
}

.hc-date-col.readonly:hover[b-y0v5gexn1j] {
    transform: none;
}

.hc-date-input-hidden[b-y0v5gexn1j] {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.hc-date-label[b-y0v5gexn1j] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-muted);
    line-height: 1;
    margin-bottom: 2px;
    white-space: nowrap;
    text-transform: uppercase;
}

.hc-date-day[b-y0v5gexn1j] {
    font-size: 33px;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1;
    transform: scale(0.90, 1.15);
}

.hc-date-month[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-muted);
    text-transform: capitalize;
    line-height: 1;
    margin-top: 2px;
}

/* ===== Pill Orden / Aseguradora (estilo MAUI) ===== */
.hc-order-pill[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eab308;
    border-radius: 12px;
    padding: 3px 20px 3px 4px;
    /* Un poco más de aire lateral */
    margin-top: 5px;
    margin-right: 0px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    position: relative;
    z-index: 90;
    /* Asegura que la píldora y su dropdown esten siempre por encima del resto */
}

.hc-order-pill.clickable[b-y0v5gexn1j] {
    cursor: pointer;
}

.hc-order-pill.clickable:not(.dropdown-open):hover[b-y0v5gexn1j] {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.hc-order-pill.clickable:not(.dropdown-open):active[b-y0v5gexn1j] {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Avatar encargado — izquierda */
.hop-worker-avatar[b-y0v5gexn1j] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;

}

.hop-worker-avatar img[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hop-avatar-initials[b-y0v5gexn1j] {
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
}

/* Centro: número + aseguradora */
.hop-center[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.hop-order-number[b-y0v5gexn1j] {
    font-size: 15px;
    font-weight: 800;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

.hop-insurer-name[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text);
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Derecha: logo + badge */
.hop-right[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    position: relative;
}

.hop-insurer-logo[b-y0v5gexn1j] {
    width: 48px;
    /* Ancho alargado para forma de píldora */
    height: 32px;
    border-radius: 16px;
    /* Bordes totalmente redondeados */
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);

    color: #b45309;
}

.hop-insurer-logo img[b-y0v5gexn1j] {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.hop-count-badge[b-y0v5gexn1j] {
    position: absolute;
    bottom: -14px;
    /* Para que sobresalga hacia abajo */
    right: -22px;
    /* Para que sobresalga hacia la derecha */
    background: #ffffff;
    color: #eab308;
    font-size: 13px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    padding: 0;
}

/* Dropdown Orders Selection */
.hop-wo-dropdown[b-y0v5gexn1j] {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--st-surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 6px;
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: dropdownFadeIn-b-y0v5gexn1j 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hop-wo-dropdown[b-y0v5gexn1j]::-webkit-scrollbar {
    display: none;
}

@keyframes dropdownFadeIn-b-y0v5gexn1j {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hop-wo-item[b-y0v5gexn1j] {
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.hop-wo-item[b-y0v5gexn1j]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    height: 60%;
    width: 3px;
    background: #eab308;
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 0 4px 4px 0;
}

.hop-wo-item:hover[b-y0v5gexn1j] {
    background: var(--st-fill-3);
}

.hop-wo-item:hover[b-y0v5gexn1j]::before {
    transform: translateY(-50%) scaleY(0.7);
    background: var(--st-border-stronger);
}

.hop-wo-item.active[b-y0v5gexn1j] {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.15) 0%, rgba(234, 179, 8, 0.03) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.hop-wo-item.active[b-y0v5gexn1j]::before {
    transform: translateY(-50%) scaleY(1);
    background: #eab308;
}

.hop-wo-number[b-y0v5gexn1j] {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-text-strong) !important;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
    z-index: 1;
}

.hop-wo-insurance[b-y0v5gexn1j] {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--st-text-muted) !important;
    z-index: 1;
}

.hop-wo-item.active .hop-wo-number[b-y0v5gexn1j] {
    color: var(--st-gold-text) !important;
}

.hop-wo-item.active .hop-wo-insurance[b-y0v5gexn1j] {
    color: var(--st-text-strong) !important;
}

.hop-wo-backdrop[b-y0v5gexn1j] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: transparent;
}


/* ===== 2. TOGGLE AUTORIZADO / RECHAZADO ===== */
.assign-toggle-row[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.assign-toggle-container[b-y0v5gexn1j] {
    display: inline-flex;
    background: var(--st-fill-5);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2px;
}

.toggle-btn[b-y0v5gexn1j] {
    border: none;
    background: transparent;
    padding: 6px 22px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--st-text-strong);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.toggle-btn.active[b-y0v5gexn1j] {
    background: #eab308;
    color: #fff;

    text-shadow: none;
}

.toggle-btn.active-rejected[b-y0v5gexn1j] {
    background: #ef4444;
    color: #fff;

    text-shadow: none;
}

.toggle-locked[b-y0v5gexn1j] {
    opacity: 0.6;
    cursor: default;
}

.toggle-btn:disabled[b-y0v5gexn1j] {
    cursor: default;
    opacity: 0.5;
}

/* Badge informativo de estado (cuando la orden ya fue procesada) */
.assign-status-badge[b-y0v5gexn1j] {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
    backdrop-filter: blur(8px);
    line-height: 1.2;
}

.assign-status-badge.authorized[b-y0v5gexn1j] {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.assign-status-badge.rejected[b-y0v5gexn1j] {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}


/* ===== 3. WORKLEVEL ROW & COUNTERS ===== */
.assign-mid-section[b-y0v5gexn1j] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-right: 12px;
}

.ams-left-col[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assign-worklevel-row[b-y0v5gexn1j] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wl-selector-btn[b-y0v5gexn1j] {
    border-radius: 12px;
    padding: 6px 8px 6px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    cursor: pointer;
    border: none;
    color: white;
    min-width: 140px;
    transition: all 0.2s ease;
}

.wl-selector-btn:hover[b-y0v5gexn1j] {
    /* Eliminamos el scale para evitar el corte visual con el borde del contenedor */
    filter: brightness(1.1);
}

.wl-selector-btn.readonly[b-y0v5gexn1j],
.wl-selector-btn:disabled[b-y0v5gexn1j] {
    cursor: default;
    pointer-events: none;
    opacity: 0.9;
}

.wl-selector-btn.readonly:hover[b-y0v5gexn1j],
.wl-selector-btn:disabled:hover[b-y0v5gexn1j] {
    transform: none;
}

.wl-selector-btn.unknown[b-y0v5gexn1j] {
    background: #475569 !important;

    border: 1px solid #64748b;
}

.wl-icon-circle[b-y0v5gexn1j] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.wl-selector-btn.unknown .wl-icon-circle[b-y0v5gexn1j] {
    background: #334155 !important;
    color: #94a3b8 !important;

}

.wl-selector-btn.unknown .wl-name[b-y0v5gexn1j] {
    color: #cbd5e1;
    font-weight: 600;
}

.wl-name[b-y0v5gexn1j] {
    flex: 1;
    text-align: center;
    margin-right: 2px;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* systime-reportes#63/#128: the level was put by the assigned hours. */
/* Text straight on the glass: the strong text token and the shadow the other labels on the glass use (.toggle-btn, .sync-label);
   a muted tone is lost over a bright map. */
.wl-suggested[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-strong);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* systime-reportes#129: read-only hours of each level, under the level button. Also straight on the glass. */
.wl-ranges[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 560px;
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-strong);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.wl-ranges-title[b-y0v5gexn1j] {
    font-weight: 700;
}

.wl-ranges-list[b-y0v5gexn1j] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.wl-range[b-y0v5gexn1j] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* The level of the assignment stands out by weight: every row keeps the readable colour. */
.wl-range.current[b-y0v5gexn1j] {
    font-weight: 800;
}

.wl-range-dot[b-y0v5gexn1j] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}

.wl-range-name[b-y0v5gexn1j] {
    font-weight: 700;
}

.wl-range.current .wl-range-name[b-y0v5gexn1j] {
    font-weight: 800;
}

.wl-ranges-where[b-y0v5gexn1j] {
    font-size: 11px;
}

.ams-right-col[b-y0v5gexn1j] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.assign-stats-box[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* right-align numbers towards the button */
    gap: 2px;
}

.stat-row[b-y0v5gexn1j] {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number[b-y0v5gexn1j] {
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1.1;
}

.stat-letter[b-y0v5gexn1j] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-muted);
    /* Faded look */
    line-height: 1.1;
}

/* The workshop's internal time, under the authorized hours: secondary, never a second total */
.stat-workshop[b-y0v5gexn1j] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    line-height: 1.1;
    white-space: nowrap;
}

/* =======================================
   4. NEW: SELECTED GROUP PILL & EMPTY STATE
   ======================================= */
.assign-selected-group-section[b-y0v5gexn1j] {
    margin-bottom: 24px;
    padding-right: 12px;
}

/* No group yet: the body becomes a column so the invitation takes the free space and centers in it. */
.assign-scroll-body.is-empty-groups[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
}

.assign-scroll-body.is-empty-groups > *[b-y0v5gexn1j] {
    flex-shrink: 0;
}

.assign-scroll-body.is-empty-groups > .fade-in-section[b-y0v5gexn1j] {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.assign-scroll-body.is-empty-groups .assign-active-groups-section[b-y0v5gexn1j] {
    flex: 1 0 auto;
    justify-content: center;
}

.assign-empty-groups[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    text-align: center;
}

.aeg-title[b-y0v5gexn1j] {
    margin-top: 6px;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
}

.aeg-text[b-y0v5gexn1j] {
    max-width: 260px;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.assign-active-groups-section[b-y0v5gexn1j] {
    margin-bottom: 24px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
}

/* ── Acordeón de grupos activos ── */
.agp-accordion[b-y0v5gexn1j] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-subtle);
    border-radius: 16px;
    overflow: visible;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.agp-accordion-expanded[b-y0v5gexn1j] {
    background: var(--st-surface);
    border-color: var(--st-border-subtle);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.assigned-group-executed .agp-accordion-header[b-y0v5gexn1j] {
    opacity: 0.6;
}

.assigned-process-executed[b-y0v5gexn1j] {
    opacity: 0.5;
}

.agp-accordion-header[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.agp-accordion-header:hover[b-y0v5gexn1j] {
    background: var(--st-fill-1);
}

/* Trash of the group header: same height as the hours pill; dimmed when a process already went through the timeline. */
.agp-remove-group-btn[b-y0v5gexn1j] {
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.agp-remove-group-btn:hover:not(.is-blocked)[b-y0v5gexn1j] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
}

.agp-remove-group-btn.is-blocked[b-y0v5gexn1j] {
    opacity: 0.4;
    cursor: not-allowed;
}

.agp-remove-group-btn:focus-visible[b-y0v5gexn1j],
.agp-pmc-remove-btn:focus-visible[b-y0v5gexn1j] {
    outline: 2px solid var(--st-danger-fg);
    outline-offset: 2px;
}

/* × in the top right corner of a process card; only on processes that have not gone through the timeline. */
.agp-pmc-remove-btn[b-y0v5gexn1j] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 1;
}

.agp-pmc-remove-btn:hover[b-y0v5gexn1j] {
    background: #ef4444;
    transform: scale(1.1);
}

.agp-accordion-chevron[b-y0v5gexn1j] {
    color: var(--st-text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    pointer-events: none;
}

.agp-accordion-chevron.rotated[b-y0v5gexn1j] {
    transform: rotate(180deg);
}

.agp-accordion-body[b-y0v5gexn1j] {
    padding: 0 12px 12px;
    animation: agpAccordionSlide-b-y0v5gexn1j 0.25s ease-out;
}

@keyframes agpAccordionSlide-b-y0v5gexn1j {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* agp-actions removed from HTML */

.agp-hours-btn[b-y0v5gexn1j] {
    background: #f59e0b;
    border: none;
    border-radius: 10px;
    height: 32px;
    min-width: 75px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.agp-hours-btn:hover[b-y0v5gexn1j] {
    background: #d97706;
    transform: scale(1.05);
}

/* Workshop's internal time of the group, muted next to the authorized hours */
.agp-workshop-hours[b-y0v5gexn1j] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

/* ── Pregunta por las horas de la valoración (bajo los grupos, sobre los botones) ── */
.agp-assessment-offer[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
}

.agp-ao-text[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.agp-ao-title[b-y0v5gexn1j] {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.agp-ao-detail[b-y0v5gexn1j] {
    color: var(--st-text-muted);
    font-size: 11.5px;
}

.agp-ao-btns[b-y0v5gexn1j] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Confirmación de eliminación de grupo ── */
.agp-confirm-overlay[b-y0v5gexn1j] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 16px;
    animation: fadeIn-b-y0v5gexn1j 0.15s ease;
}

.agp-confirm-dialog[b-y0v5gexn1j] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 24px 28px;
    text-align: center;
    max-width: 280px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.agp-confirm-icon[b-y0v5gexn1j] {
    color: #f59e0b;
    margin-bottom: 12px;
}

.agp-confirm-text[b-y0v5gexn1j] {
    color: var(--st-text-body);
    font-size: 13px;
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.agp-confirm-text strong[b-y0v5gexn1j] {
    color: var(--st-text-strong);
}

.agp-confirm-btns[b-y0v5gexn1j] {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.agp-confirm-cancel[b-y0v5gexn1j] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-muted);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.agp-confirm-cancel:hover[b-y0v5gexn1j] {
    background: var(--st-fill-4);
    color: var(--st-text-body);
}

.agp-confirm-delete[b-y0v5gexn1j] {
    background: #e500cd;
    border: none;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.agp-confirm-delete:hover[b-y0v5gexn1j] {
    background: #cc00b7;
}

/* ── Grid de procesos bajo cada grupo (mini-cards como en sidebar) ── */
.agp-process-grid[b-y0v5gexn1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 6px 12px;
}

.agp-process-mini-card[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px 14px;
    border-radius: 10px;
    background: #475569;
    transition: background 0.2s;
    position: relative;
    margin-bottom: 14px;
}

.agp-process-mini-card:hover[b-y0v5gexn1j] {
    background: #64748b;
}

.agp-pmc-icon[b-y0v5gexn1j] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    /* Allow worker badge to overflow */
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    /* For absolute positioning of worker badge */
}

.agp-pmc-img[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    border-radius: 50%;
}

.agp-pmc-img-fallback[b-y0v5gexn1j] {
    width: 28px;
    height: 28px;
    filter: invert(0.5);
    object-fit: contain;
}

/* Gap 2-3: Worker avatar badge (overlaid on process icon, bottom-right) */
.agp-worker-badge[b-y0v5gexn1j] {
    position: absolute;
    bottom: -4px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.agp-worker-img[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agp-worker-initials[b-y0v5gexn1j] {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

/* Badge vacío: indica que se puede asignar un operario */
.agp-worker-badge-empty[b-y0v5gexn1j] {
    background: #334155;
    border: 2px solid #64748b;
    color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.agp-process-mini-card:hover .agp-worker-badge-empty[b-y0v5gexn1j] {
    background: #eab308;
    border-color: #eab308;
    color: #1e293b;
}

.agp-pmc-name[b-y0v5gexn1j] {
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    min-height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    word-break: break-word;
}

/* Workshop's internal time of the process, muted above the authorized hours pill */
.agp-pmc-workshop-hours[b-y0v5gexn1j] {
    font-size: 10px;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.2;
    white-space: nowrap;
}

/* Gap 5: Styled hours pill matching MAUI amber pill */
.agp-pmc-hours-pill[b-y0v5gexn1j] {
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
    background: #f59e0b;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Keep legacy class for backward compat */
.agp-pmc-hours[b-y0v5gexn1j] {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    background: #f59e0b;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Gap 6: Price badge in accordion header */
.agp-price-badge[b-y0v5gexn1j] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.agp-left[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

/* Name and «2/4 procesos · $»: takes what the hours and the chevron leave. Its width decides the short count. */
.agp-info[b-y0v5gexn1j] {
    flex: 1 1 auto;
    min-width: 0;
    container-type: inline-size;
    container-name: agp-info;
}

.agp-meta[b-y0v5gexn1j] {
    font-size: 11.5px;
    color: var(--st-text-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
}

.agp-count[b-y0v5gexn1j] {
    flex-shrink: 0;
}

.agp-count-short[b-y0v5gexn1j] {
    display: none;
}

.agp-price[b-y0v5gexn1j] {
    color: var(--st-text-subtle);
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* «2/4 processes · $ 1,445,000» needs 154 px, and up to ~181 with a ten-digit price: below 185, «2/4 proc» (D160).
   In the boards' panel the column measures ~170 px, so it goes short there; the inbox, wider, keeps the full word. */
@container agp-info (max-width: 185px) {
    .agp-count-full[b-y0v5gexn1j] {
        display: none;
    }

    .agp-count-short[b-y0v5gexn1j] {
        display: inline;
    }
}

.agp-count-circle[b-y0v5gexn1j] {
    background: var(--st-surface-sunken);
    color: var(--st-text-brand);
    border: 1px solid var(--st-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
}

.agp-name[b-y0v5gexn1j] {
    color: var(--st-text-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
}



/* ===== 3.1 REJECTION FLOW ===== */
.rejection-header[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 20px;
    color: var(--st-text-body);
    font-size: 14px;
    font-weight: 600;
}

.rejection-empty[b-y0v5gexn1j] {
    text-align: center;
    padding: 24px;
    background: var(--st-fill-2);
    border-radius: 12px;
    border: 1px dashed var(--st-border-strong);
    color: var(--st-text-secondary);
    font-size: 13px;
}

.rejection-process-grid[b-y0v5gexn1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.rejection-process-card[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px 14px;
    border-radius: 10px;
    background: #475569;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.rejection-process-card:hover[b-y0v5gexn1j] {
    background: #64748b;
}

.rejection-process-card.selected[b-y0v5gexn1j] {
    background: #64748b;
    border-color: #eab308;
}

.rpc-icon[b-y0v5gexn1j] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rpc-img[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    border-radius: 50%;
}

.rpc-img-fallback[b-y0v5gexn1j] {
    width: 28px;
    height: 28px;
    filter: invert(0.5);
    object-fit: contain;
}

.rpc-name[b-y0v5gexn1j] {
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    min-height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    word-break: break-word;
}

.rejection-selected-summary[b-y0v5gexn1j] {
    background: var(--st-fill-3);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.rss-label[b-y0v5gexn1j] {
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 500;
}

.rss-value[b-y0v5gexn1j] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-warning-fg);
}


/* ===== 4. LISTA DE PROCESOS (Cards Acordeón) ===== */
.assign-process-list[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Category Group Header */
.process-group-section[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-header[b-y0v5gexn1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-top: 8px;
}

.group-title[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--st-text);
    margin: 0;
    letter-spacing: 0.5px;
}

.group-prices[b-y0v5gexn1j] {
    display: flex;
    gap: 8px;
}

.price-input-wrapper[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    background: var(--st-fill-6);
    border-radius: 8px;
    padding: 2px 8px;
}

.pi-symbol[b-y0v5gexn1j] {
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    margin-right: 4px;
}

.pi-input[b-y0v5gexn1j] {
    background: transparent;
    border: none;
    width: 60px;
    font-size: 11px;
    color: var(--st-text-strong);
    font-weight: 600;
}

.pi-input[b-y0v5gexn1j]::placeholder {
    color: var(--st-text-muted);
}

.pi-input:focus[b-y0v5gexn1j] {
    outline: none;
}


/* Process Card */
.process-accordion-card[b-y0v5gexn1j] {
    background: var(--st-surface);
    border-radius: 16px;

    overflow: hidden;
    transition: all 0.3s ease;
}

.process-header[b-y0v5gexn1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    background: var(--st-surface);
}

.process-accordion-card.selected-card[b-y0v5gexn1j] {
    /* Highlight selected processes visually: a ring, never a side stripe */
    box-shadow: 0 0 0 2px #84cc16;
}

/* Custom Checkbox */
.custom-checkbox[b-y0v5gexn1j] {
    display: inline-flex;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    align-items: center;
}

.custom-checkbox input[b-y0v5gexn1j] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #84cc16;
}

.process-header.dark-theme[b-y0v5gexn1j] {
    background: #2a3c5a;
    color: #fff;
}

/* Add group button: magenta circle (the sidebar «+» color), in the middle of the empty state (hero) or floating above
   the footer (fab). */
.assign-add-btn[b-y0v5gexn1j] {
    background: #e500cd;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

.assign-add-btn:hover[b-y0v5gexn1j] {
    background: #cc00b7;
    transform: translateY(-2px);
}

.assign-add-btn:focus-visible[b-y0v5gexn1j] {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.assign-add-btn svg[b-y0v5gexn1j] {
    width: 22px;
    height: 22px;
}

.assign-add-btn-hero[b-y0v5gexn1j] {
    width: 56px;
    height: 56px;
}

.assign-add-btn-hero svg[b-y0v5gexn1j] {
    width: 26px;
    height: 26px;
}

/* Right side, just above «Asignar». The scroll body grows its bottom room so the last group can scroll clear of it. */
.assign-scroll-body.has-add-fab[b-y0v5gexn1j] {
    padding-bottom: 148px;
}

.assign-add-fab[b-y0v5gexn1j] {
    position: absolute;
    right: 24px;
    bottom: 88px;
    z-index: 6;
}

.rp-search-wrapper[b-y0v5gexn1j] {
    margin-bottom: 24px;
}

.rp-search-input[b-y0v5gexn1j] {
    width: 100%;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    color: var(--st-text);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.rp-search-input[b-y0v5gexn1j]::placeholder {
    color: var(--st-text-subtle);
}

.rp-search-input:focus[b-y0v5gexn1j] {
    border-color: var(--st-border-strong);
}

.rp-groups-grid[b-y0v5gexn1j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    overflow-y: auto;
}

.rp-group-card[b-y0v5gexn1j] {
    background: var(--st-surface);
    border-radius: 8px;
    padding: 16px 8px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.rp-group-card:hover[b-y0v5gexn1j] {
    transform: translateY(-2px);

}

.rp-gc-icon[b-y0v5gexn1j] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--st-surface-strong);
    margin-bottom: 12px;
}

.rp-gc-name[b-y0v5gexn1j] {
    color: var(--st-text);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.process-header.dark-theme .ph-title[b-y0v5gexn1j] {
    color: #fff;
}

.ph-left[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ph-sequence[b-y0v5gexn1j] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #334155;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph-hours-pill[b-y0v5gexn1j] {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.ph-title[b-y0v5gexn1j] {
    font-size: 13px;
    font-weight: 800;
    color: var(--st-text-body);
    letter-spacing: 0.5px;
}

.ph-right[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-hours-gray[b-y0v5gexn1j] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.chevron-arrow[b-y0v5gexn1j] {
    color: var(--st-text-muted);
    transition: transform 0.2s;
}

.chevron-arrow.rotated[b-y0v5gexn1j] {
    transform: rotate(180deg);
}


/* BODY DE ACORDEON (Operarios Grid) */
.process-body[b-y0v5gexn1j] {
    padding: 16px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
}

.operarios-grid[b-y0v5gexn1j] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Operario Card Mockup */
.operario-card[b-y0v5gexn1j] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 140px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.operario-card.active[b-y0v5gexn1j] {}

.op-avatar-wrapper[b-y0v5gexn1j] {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;

}

.op-avatar-img[b-y0v5gexn1j] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.op-status-dot[b-y0v5gexn1j] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #84cc16;
    border: 2px solid #fff;
}

.op-name[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.op-hours-pill[b-y0v5gexn1j] {
    background: #fcd34d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    position: absolute;
    bottom: -10px;

}


/* ===== 5. FOOTER (Siguiente Flotante & Toggle) ===== */
.assign-footer-fixed[b-y0v5gexn1j] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: transparent;
    padding: 16px 12px 24px 12px;
}

.footer-layout[b-y0v5gexn1j] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Toggle Switch Sincronizar */
.custom-sync-toggle[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: var(--st-fill-6);
    backdrop-filter: blur(4px);
    padding: 6px 12px 6px 6px;
    border-radius: 20px;
}

.custom-sync-toggle input[b-y0v5gexn1j] {
    display: none;
}

.sync-slider[b-y0v5gexn1j] {
    width: 32px;
    height: 18px;
    background-color: var(--st-surface-stronger);
    border-radius: 18px;
    position: relative;
    transition: 0.3s;
    margin-right: 8px;
}

.sync-slider[b-y0v5gexn1j]::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.custom-sync-toggle input:checked+.sync-slider[b-y0v5gexn1j] {
    background-color: #84cc16;
}

.custom-sync-toggle input:checked+.sync-slider[b-y0v5gexn1j]::before {
    transform: translateX(14px);
}

.sync-label[b-y0v5gexn1j] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-strong);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Boton Confirmar Flotante: the app's magenta, the one of the sidebar «+» (#e500cd). */
.btn-siguiente-float[b-y0v5gexn1j] {
    background: #e500cd;
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 24px;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-siguiente-float:hover:not(:disabled)[b-y0v5gexn1j] {
    background: #cc00b7;
    transform: translateY(-2px);

}

.btn-siguiente-float:disabled[b-y0v5gexn1j] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8;
}

/* Boton Cancelar Flotante */
.btn-cancel-float[b-y0v5gexn1j] {
    background: var(--st-fill-4);
    backdrop-filter: blur(8px);
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 24px;
    border: 1px solid var(--st-border-strong);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-cancel-float:hover:not(:disabled)[b-y0v5gexn1j] {
    background: var(--st-fill-6);
    transform: translateY(-2px);
    border-color: var(--st-border-stronger);
}

.btn-cancel-float:disabled[b-y0v5gexn1j] {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes fadeIn-b-y0v5gexn1j {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────────
   Assignment Modal Styles (Remaining)
   ───────────────────────────────────────────── */
/* ── Aire lateral y botones de igual ancho ───────────────────────────────────
   El contenido llegaba pegado a los bordes del panel; con el panel más estrecho se notaba más. */
.assign-glass-container[b-y0v5gexn1j] {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
}

/* Los dos botones miden lo mismo: «Cancelar» era visiblemente más angosto que «Asignar» y el par
   quedaba descompensado. El ancho mínimo lo fija el más largo de los dos. */
.btn-cancel-float[b-y0v5gexn1j],
.btn-siguiente-float[b-y0v5gexn1j] {
    min-width: 150px !important;
    justify-content: center !important;
}

/* ── Cabecera: que nada desborde por la derecha ──────────────────────────────
   Un elemento flex no baja de la anchura de su contenido salvo que se le permita con `min-width: 0`.
   Sin eso, la píldora de la orden y el título empujaban hacia fuera del panel y quedaban cortados
   por el borde. Ahora se encogen y recortan su texto; la fecha, que es corta y no debe partirse,
   es la única que conserva su tamaño. */
.hc-content[b-y0v5gexn1j],
.hc-row-top[b-y0v5gexn1j],
.hc-title-col[b-y0v5gexn1j],
.hop-center[b-y0v5gexn1j] {
    min-width: 0 !important;
}

.hc-row-top[b-y0v5gexn1j] {
    gap: 10px !important;
}

.hc-date-col[b-y0v5gexn1j] {
    flex-shrink: 0 !important;
}

.hc-order-pill[b-y0v5gexn1j] {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.hop-center > span[b-y0v5gexn1j],
.hc-placa[b-y0v5gexn1j] {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
}

/* La etiqueta ahora es corta; se ajusta al cuerpo de la fecha en lugar de dominarla. */
.hc-date-label[b-y0v5gexn1j] {
    font-size: 9px !important;
    letter-spacing: 0.2px !important;
}

/* Confirm summary: the workshop's internal time after the authorized hours */
.acd-workshop-hours[b-y0v5gexn1j] {
    font-weight: 500;
    color: var(--st-text-muted);
}

/* ── systime-reportes#112: the insurer's authorization ── */
.agp-authorization[b-y0v5gexn1j] {
    flex-wrap: wrap;
}

.agp-authorization .agp-ao-btns[b-y0v5gexn1j] {
    align-items: center;
    flex-wrap: wrap;
}

.agp-auth-attach[b-y0v5gexn1j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* The reading needs the document next to the form: the whole window, above the assignment panel. */
.agp-auth-reader-overlay[b-y0v5gexn1j] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 24px;
    animation: fadeIn-b-y0v5gexn1j 0.15s ease;
}

.agp-auth-reader[b-y0v5gexn1j] {
    display: flex;
    flex-direction: column;
    width: min(1400px, 100%);
    min-height: 0;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.agp-auth-reader-head[b-y0v5gexn1j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-raised);
}

.agp-auth-reader-body[b-y0v5gexn1j] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}
/* /Pages/Home/Components/Assignments/InsurerAuthorizationChip.razor.rz.scp.css */
.iac-chip[b-hlm55u58qw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.iac-chip:hover:not(:disabled)[b-hlm55u58qw] {
    border-color: var(--st-accent, #d6336c);
}

.iac-chip:focus-visible[b-hlm55u58qw] {
    outline: 2px solid var(--st-accent, #d6336c);
    outline-offset: 2px;
}

.iac-chip:disabled[b-hlm55u58qw] {
    cursor: progress;
    opacity: 0.7;
}

.iac-error[b-hlm55u58qw] {
    margin-left: 8px;
    color: var(--st-danger, #e5484d);
    font-size: 11.5px;
}
/* /Pages/Home/Components/Assignments/ProcessGroupSidebar.razor.rz.scp.css */
/* ─────────────────────────────────────────────
   Títulos del header (ambas vistas)
────────────────────────────────────────────── */
.pgs-title[b-y8hyj633cg] {
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.pgs-subtitle[b-y8hyj633cg] {
    font-size: 11px;
    color: var(--st-text-muted);
    margin: 2px 0 0 0;
    text-align: center;
    width: 100%;
}

/* Header vista 2 (grupo → procesos) */
.pgs-process-header[b-y8hyj633cg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pgs-back-btn[b-y8hyj633cg] {
    position: absolute;
    top: -11px;
    left: 2px;
    background: var(--st-fill-3);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-strong);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    z-index: 1000;
}

.pgs-back-btn:hover[b-y8hyj633cg] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
}

/* ─────────────────────────────────────────────
   Buscador (compartido)
────────────────────────────────────────────── */
.pgs-search-input[b-y8hyj633cg] {
    width: 100%;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    color: var(--st-text);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.pgs-search-input[b-y8hyj633cg]::placeholder {
    color: var(--st-text-subtle);
}

.pgs-search-input:focus[b-y8hyj633cg] {
    border-color: var(--st-border-strong);
}

/* ─────────────────────────────────────────────
   VISTA 1 – Grid de grupos
────────────────────────────────────────────── */
.pgs-groups-grid[b-y8hyj633cg] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

/* The group options are white cards in both themes (D164): the icons are gray and read on white. */
.pgs-group-card[b-y8hyj633cg] {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    min-height: 110px;
    position: relative;
}

.pgs-group-card:hover[b-y8hyj633cg] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pgs-group-card.already-added[b-y8hyj633cg] {
    opacity: 0.6;
}

.pgs-gc-icon[b-y8hyj633cg] {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pgs-gc-icon img[b-y8hyj633cg] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pgs-gc-name[b-y8hyj633cg] {
    color: #1e293b;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
    word-break: break-word;
}

.pgs-gc-badge[b-y8hyj633cg] {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─────────────────────────────────────────────
   VISTA 2 – Info row aseguradora + valor hora
────────────────────────────────────────────── */
/* Insurer + hour value, and under it the workshop's hours of the selection (D163): one box, two lines. */
.pgs-info-box[b-y8hyj633cg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    background: var(--st-fill-2);
    border-radius: 8px;
}

.pgs-info-row[b-y8hyj633cg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pgs-info-label[b-y8hyj633cg] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pgs-info-value[b-y8hyj633cg] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

/* ─────────────────────────────────────────────
   VISTA 2 – Inputs Horas / Materiales
────────────────────────────────────────────── */
.pgs-price-inputs[b-y8hyj633cg] {
    background: var(--st-fill-2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pgs-price-field[b-y8hyj633cg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pgs-price-label[b-y8hyj633cg] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pgs-price-input-row[b-y8hyj633cg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pgs-price-input[b-y8hyj633cg] {
    background: var(--st-input-bg);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text);
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 600;
    width: 100px;
    outline: none;
    transition: border-color 0.2s;
}

.pgs-price-input:focus[b-y8hyj633cg] {
    border-color: #eab308;
}

/* The workshop's internal time for the selected processes, under the authorized hours */
/* Ocultar spinners */
.pgs-price-input[b-y8hyj633cg]::-webkit-outer-spin-button,
.pgs-price-input[b-y8hyj633cg]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.pgs-price-input[type=number][b-y8hyj633cg] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.pgs-price-computed[b-y8hyj633cg] {
    font-size: 20px;
    font-weight: 800;
    color: var(--st-text-strong);
    text-align: right;
}

/* Nuevas clases para dual input mode Horas/Valor */
.pgs-value-input[b-y8hyj633cg] {
    flex: 1;
    text-align: right;
    max-width: 140px;
    font-size: 18px;
    font-weight: 800;
    padding-right: 12px;
    /* Coincide con el padding-right del input */
}

.pgs-input-locked[b-y8hyj633cg] {
    background: transparent;
    border-color: transparent;
    color: var(--st-text-strong);
    cursor: pointer;
    box-shadow: none;
}

.pgs-input-locked:focus[b-y8hyj633cg] {
    border-color: transparent;
}

.mode-switch-wrapper[b-y8hyj633cg] {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.mode-switch[b-y8hyj633cg] {
    position: relative;
    display: flex;
    background: var(--st-surface-sunken);
    border-radius: 20px;
    padding: 3px;
    width: 220px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.mode-switch-slider[b-y8hyj633cg] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: #eab308;
    border-radius: 17px;
    transition: transform 0.3s cubic-bezier(0.68, -0.1, 0.265, 1.25);
}

.mode-switch-slider.right[b-y8hyj633cg] {
    transform: translateX(100%);
}

.mode-switch-option[b-y8hyj633cg] {
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6px 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: color 0.3s;
    user-select: none;
}

.mode-switch-option.active[b-y8hyj633cg] {
    color: #1e293b;
}

.pgs-price-total-label[b-y8hyj633cg] {
    font-size: 16px;
    color: var(--st-text-muted);
    flex: 1;
    /* Empuja el resto a la derecha */
}

.pgs-total-row[b-y8hyj633cg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    /* Cambio de flex-end a space-between con el flex del label */
    gap: 4px;
    padding-top: 4px;
    padding-right: 12px;
    /* Alineación perfecta con el texto de los inputs */
    border-top: 1px solid var(--st-border-subtle);
}

.pgs-total-prefix[b-y8hyj633cg] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-muted);
}

.pgs-total-value[b-y8hyj633cg] {
    font-size: 22px;
    font-weight: 800;
    color: var(--st-text-strong);
}

/* ─────────────────────────────────────────────
   VISTA 2 – Sección de procesos
────────────────────────────────────────────── */
.pgs-processes-section-header[b-y8hyj633cg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.pgs-processes-title[b-y8hyj633cg] {
    font-size: 13px;
    font-weight: 800;
    color: var(--st-text-strong);
    letter-spacing: 0.5px;
}

.pgs-processes-subtitle[b-y8hyj633cg] {
    font-size: 11px;
    color: var(--st-text-muted);
}

/* Grid procesos (3 columnas como MAUI) */
.pgs-processes-grid[b-y8hyj633cg] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.pgs-process-card[b-y8hyj633cg] {
    background: #1e3a5f;
    border-radius: 14px;
    padding: 12px 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
    min-height: 130px;
    position: relative;
    border: 2px solid transparent;
    margin-bottom: 12px;
}

.pgs-process-card:hover[b-y8hyj633cg] {
    background: #1e4a7a;
    transform: translateY(-2px);
}

.assigned-process-executed[b-y8hyj633cg] {
    opacity: 0.5;
    pointer-events: none;
}

.pgs-process-card.selected[b-y8hyj633cg] {
    background: #eab308;
    border-color: #f59e0b;
}

.pgs-pc-icon-wrapper[b-y8hyj633cg] {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgs-pc-icon[b-y8hyj633cg] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    padding: 0;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pgs-pc-icon-fallback[b-y8hyj633cg] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgs-pc-selected-dot[b-y8hyj633cg] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #eab308;
}

.pgs-pc-name[b-y8hyj633cg] {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    height: 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    word-break: break-word;
}

.pgs-process-card.selected .pgs-pc-name[b-y8hyj633cg] {
    color: #fff;
}

.pgs-pc-hours-badge[b-y8hyj633cg] {
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.pgs-process-card.selected .pgs-pc-hours-badge[b-y8hyj633cg] {
    background: #ffffff;
    color: #f59e0b;
}

/* Workshop's internal time of a selected process, muted above its authorized hours badge */
.pgs-main-container[b-y8hyj633cg] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 75vh;
    /* Aproximadamente el alto del sidebar */
}

/* ─────────────────────────────────────────────
   Footer botones
   Se posicionan al final del contenedor flex
────────────────────────────────────────────── */
.pgs-footer-btns[b-y8hyj633cg] {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px 30px;
    margin-top: auto;
    background: transparent;
    border-top: 1px solid var(--st-border-subtle);
    z-index: 10;
}

.pgs-btn-delete[b-y8hyj633cg] {
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 20px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.pgs-btn-delete:hover[b-y8hyj633cg] {
    background: rgba(239, 68, 68, 0.1);
}

.pgs-btn-cancel[b-y8hyj633cg] {
    background: #475569;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    flex: 1;
    text-align: center;
}

.pgs-btn-cancel:hover[b-y8hyj633cg] {
    background: #64748b;
}

.pgs-btn-next[b-y8hyj633cg] {
    background: #e84393;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    box-shadow: 0 4px 12px rgba(232, 67, 147, 0.4);
    flex: 1;
    text-align: center;
}

.pgs-btn-next:hover[b-y8hyj633cg] {
    background: #d83a84;
}

.pgs-btn-next:disabled[b-y8hyj633cg] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ─────────────────────────────────────────────
   Loading state
────────────────────────────────────────────── */
.pgs-loading[b-y8hyj633cg] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--st-text-muted);
    font-size: 13px;
    padding: 20px 0;
}

/* The list of groups is empty: the reason is told instead of leaving a blank grid. */
.pgs-empty-state[b-y8hyj633cg] {
    color: var(--st-text-muted);
    font-size: 13px;
    line-height: 1.5;
    padding: 20px 4px;
    overflow-wrap: anywhere;
}

/* ─────────────────────────────────────────────
   Botón de asignación de operario por proceso
   (equivalente al St_PickerWorkloadCircle de MAUI)
────────────────────────────────────────────── */
.pgs-worker-btn[b-y8hyj633cg] {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.18s;
    padding: 0;
    z-index: 2;
}

.pgs-worker-btn:hover[b-y8hyj633cg] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    transform: scale(1.1);
}

.pgs-worker-btn.has-worker[b-y8hyj633cg] {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
}

.pgs-worker-btn.has-worker:hover[b-y8hyj633cg] {
    background: #16a34a;
}

.pgs-worker-initial[b-y8hyj633cg] {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

/* ─────────────────────────────────────────────
   Sidebar secundario: picker grid (reutiliza patrón creación)
────────────────────────────────────────────── */
.sidebar-search-container[b-y8hyj633cg] {
    margin-bottom: 12px;
}

.sidebar-search-input[b-y8hyj633cg] {
    width: 100%;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    color: var(--st-text);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.sidebar-search-input[b-y8hyj633cg]::placeholder {
    color: var(--st-text-subtle);
}

.sidebar-search-input:focus[b-y8hyj633cg] {
    border-color: var(--st-border-strong);
}

.picker-sidebar-subtitle[b-y8hyj633cg] {
    font-size: 11px;
    color: var(--st-text-muted);
    margin: 0 0 16px;
}

.picker-sidebar-empty[b-y8hyj633cg] {
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 13px;
    padding: 24px 0;
}

.picker-grid[b-y8hyj633cg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* ─────────────────────────────────────────────
   Diálogo: Actualización de valor hora
────────────────────────────────────────────── */
.pgs-hourprice-overlay[b-y8hyj633cg] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    animation: pgs-fade-in-b-y8hyj633cg 0.2s ease;
}

.pgs-hourprice-dialog[b-y8hyj633cg] {
    background: linear-gradient(145deg, var(--st-surface-raised) 0%, var(--st-surface) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(234, 179, 8, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: dialogPop-b-y8hyj633cg 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pgs-fade-in-b-y8hyj633cg {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pgs-scale-in-b-y8hyj633cg {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.pgs-hourprice-icon[b-y8hyj633cg] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgs-hourprice-title[b-y8hyj633cg] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.pgs-hourprice-detail[b-y8hyj633cg] {
    width: 100%;
    background: var(--st-fill-2);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pgs-hourprice-row[b-y8hyj633cg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pgs-hourprice-row.highlight[b-y8hyj633cg] {
    padding: 6px 0;
}

.pgs-hourprice-row.message[b-y8hyj633cg] {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-secondary);
    line-height: 1.5;
    text-align: center;
}

.pgs-hourprice-label[b-y8hyj633cg] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pgs-hourprice-amount[b-y8hyj633cg] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.pgs-hourprice-amount.accent[b-y8hyj633cg] {
    color: var(--st-warning-fg);
    font-size: 16px;
    font-weight: 800;
}

.pgs-hourprice-divider[b-y8hyj633cg] {
    height: 1px;
    background: var(--st-fill-3);
}

.pgs-hourprice-actions[b-y8hyj633cg] {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.pgs-hourprice-btn[b-y8hyj633cg] {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.pgs-hourprice-btn-no[b-y8hyj633cg] {
    background: var(--st-fill-3);
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
}

.pgs-hourprice-btn-no:hover[b-y8hyj633cg] {
    background: var(--st-fill-4);
    color: var(--st-text-secondary);
}

.pgs-hourprice-btn-yes[b-y8hyj633cg] {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
}

.pgs-hourprice-btn-yes:hover[b-y8hyj633cg] {
    background: linear-gradient(135deg, #facc15, #eab308);
    box-shadow: 0 6px 16px rgba(234, 179, 8, 0.35);
    transform: translateY(-1px);
}

/* EA-P13: without permission the button stays visible but blocked */
.pgs-hourprice-btn-yes:disabled[b-y8hyj633cg],
.pgs-hourprice-btn-yes:disabled:hover[b-y8hyj633cg] {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    box-shadow: none;
    transform: none;
    opacity: 0.45;
    cursor: not-allowed;
}

@keyframes fadeIn-b-y8hyj633cg {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dialogPop-b-y8hyj633cg {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* /Pages/Home/Components/Authorization/AuthorizationCard.razor.rz.scp.css */
.auth-card[b-1p9bkk9cht] {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    color: var(--st-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card:hover[b-1p9bkk9cht] {
    border-color: rgba(222, 163, 1, 0.5);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.auth-card.reclaim-card[b-1p9bkk9cht] {
    background: var(--st-success-bg);
}

.auth-card-summary[b-1p9bkk9cht] {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    width: 100%;
    min-height: 124px;
    padding: 10px 8px;
    color: inherit;
}

.auth-card-summary:not(:disabled)[b-1p9bkk9cht] {
    cursor: pointer;
}

.auth-card-summary:disabled[b-1p9bkk9cht] {
    opacity: 1;
    cursor: default;
}

.auth-card-summary:focus-visible[b-1p9bkk9cht],
.auth-action-btn:focus-visible[b-1p9bkk9cht] {
    outline: 2px solid #d81b84;
    outline-offset: -3px;
}

.auth-asset-section[b-1p9bkk9cht] {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.auth-asset-image-container[b-1p9bkk9cht] {
    position: relative;
    width: 100%;
    height: 82px;
    overflow: hidden;
    background: darkgrey;
    border-radius: 15px;
}

.auth-asset-image[b-1p9bkk9cht] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-asset-placeholder[b-1p9bkk9cht] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.88);
}

.auth-asset-placeholder img[b-1p9bkk9cht] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-elapsed-badge[b-1p9bkk9cht] {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 30px;
    min-height: 22px;
    padding: 0 7px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
    color: #ffffff;
}

.elapsed-value[b-1p9bkk9cht],
.elapsed-suffix[b-1p9bkk9cht] {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.elapsed-green[b-1p9bkk9cht] {
    background: #16a34a;
}

.elapsed-orange[b-1p9bkk9cht] {
    background: #d97706;
}

.elapsed-red[b-1p9bkk9cht] {
    background: #dc2626;
}

.auth-asset-info[b-1p9bkk9cht] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 4px;
}

.auth-asset-number[b-1p9bkk9cht] {
    overflow: hidden;
    color: var(--st-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-asset-date[b-1p9bkk9cht] {
    overflow: hidden;
    color: var(--st-text-subtle);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-person-section[b-1p9bkk9cht] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 6px;
}

.auth-avatar-pair[b-1p9bkk9cht] {
    position: relative;
    width: 66px;
    height: 62px;
}

.auth-process-avatar[b-1p9bkk9cht] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 1px solid var(--st-border);
    border-radius: 9999px;
}

.avatar-img[b-1p9bkk9cht] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.auth-person-mini-avatar[b-1p9bkk9cht] {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
    background: var(--st-surface);
    border: 2px solid #dea301;
    border-radius: 9999px;
}

.mini-avatar-img[b-1p9bkk9cht] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder[b-1p9bkk9cht] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--st-text-brand);
}

.avatar-placeholder.process[b-1p9bkk9cht] {
    padding: 9px;
    color: #64748b; /* Sobre fondo blanco fijo: no puede seguir el color del tema */
}

.avatar-placeholder.person[b-1p9bkk9cht] {
    padding: 4px;
}

.avatar-placeholder svg[b-1p9bkk9cht] {
    width: 100%;
    height: 100%;
}

.auth-process-name[b-1p9bkk9cht],
.auth-person-name[b-1p9bkk9cht] {
    display: -webkit-box;
    overflow: hidden;
    width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* hasta dos renglones; el resto se corta con puntos suspensivos */
    line-clamp: 2;
}

.auth-process-name[b-1p9bkk9cht] {
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.auth-person-name[b-1p9bkk9cht] {
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.auth-arrow-section[b-1p9bkk9cht] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-brand);
}

.auth-arrow-section svg[b-1p9bkk9cht] {
    width: 25px;
    height: 25px;
}

.auth-status-badge[b-1p9bkk9cht] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.auth-status-badge svg[b-1p9bkk9cht] {
    width: 13px;
    height: 13px;
}

.status-authorized[b-1p9bkk9cht] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
}

.status-rejected[b-1p9bkk9cht] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-text);
}

/* Pulled up into the free bottom of the summary, under the names of the processes: over it, so the summary (positioned, it
   painted on top) does not take the clicks meant for «Rechazar» and «Autorizar». Only the buttons take the mouse: the empty
   room beside them still opens the summary. */
.auth-card-actions[b-1p9bkk9cht] {
    position: relative;
    z-index: 1;
    pointer-events: none;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
    margin-top: -22px;
    padding: 0 8px 8px;
}

.auth-action-btn[b-1p9bkk9cht] {
    pointer-events: auto;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-action-btn:disabled[b-1p9bkk9cht] {
    opacity: 0.55;
    cursor: not-allowed;
}

.reject-btn[b-1p9bkk9cht] {
    grid-column: 2;
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.reject-btn:hover:not(:disabled)[b-1p9bkk9cht] {
    background: var(--st-danger-border);
    border-color: var(--st-danger-fg);
}

.accept-btn[b-1p9bkk9cht] {
    grid-column: 4;
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.accept-btn:hover:not(:disabled)[b-1p9bkk9cht] {
    background: var(--st-success-border);
    border-color: var(--st-success-fg);
}

.auth-card-expanded[b-1p9bkk9cht] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 12px 12px;
    background: var(--st-surface-muted);
}

.reclaim-card .auth-card-expanded[b-1p9bkk9cht] {
    background: var(--st-success-bg);
}

.auth-expanded-section[b-1p9bkk9cht] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-expanded-label[b-1p9bkk9cht] {
    color: var(--st-gold-text);
    font-size: 11px;
    font-weight: 700;
}

.auth-expanded-text[b-1p9bkk9cht] {
    color: var(--st-text-body);
    font-size: 12px;
    line-height: 1.4;
}

.auth-photo-grid[b-1p9bkk9cht] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.auth-photo-item[b-1p9bkk9cht] {
    height: 76px;
    overflow: hidden;
    background: var(--st-surface-strong);
    border-radius: 8px;
}

.auth-photo-img[b-1p9bkk9cht] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 430px) {
    .auth-card-summary[b-1p9bkk9cht],
    .auth-card-actions[b-1p9bkk9cht] {
        grid-template-columns: 104px minmax(0, 1fr) 28px minmax(0, 1fr);
        gap: 4px;
    }

    .auth-asset-image-container[b-1p9bkk9cht] {
        height: 78px;
    }

    .auth-process-name[b-1p9bkk9cht] {
        font-size: 10px;
    }

    .auth-card-actions[b-1p9bkk9cht] {
        margin-top: -20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card[b-1p9bkk9cht],
    .auth-action-btn[b-1p9bkk9cht] {
        transition-duration: 0.01ms;
    }
}

/* List mode: the card opens its detail beside the panel; the selected one is marked. */
.auth-card.selectable .auth-card-summary[b-1p9bkk9cht] {
    cursor: pointer;
}

.auth-card.selected[b-1p9bkk9cht] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 1px #fe00e4, 0 8px 20px rgba(15, 23, 42, 0.18);
}
/* /Pages/Home/Components/Authorization/AuthorizationPanel.razor.rz.scp.css */
.authorization-panel[b-iu95llzvd7] {
    /* Un solo margen lateral: cabecera, tabs, filtro y tarjetas comparten el mismo borde izquierdo y derecho. */
    --auth-gutter: 10px;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.auth-header[b-iu95llzvd7] {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px var(--auth-gutter) 14px;
}

.auth-heading[b-iu95llzvd7] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.auth-header-icon-tile[b-iu95llzvd7] {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--st-fill-6), var(--st-fill-3));
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--st-text-strong);
}

.auth-header-icon[b-iu95llzvd7] {
    width: 26px;
    height: 26px;
    color: #fe00e4;
}

.auth-header-text[b-iu95llzvd7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.auth-header-text h2[b-iu95llzvd7] {
    overflow: hidden;
    margin: 0;
    color: var(--st-text-strong);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-header-subtitle[b-iu95llzvd7] {
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.auth-close-btn[b-iu95llzvd7] {
    position: relative;
    isolation: isolate;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-block-start: -14px;
    margin-inline-end: -15px; /* el trazo de la X (15px dentro del botón) queda en el margen */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-close-btn[b-iu95llzvd7]::before {
    position: absolute;
    inset: 6px;
    z-index: -1;
    border-radius: 10px;
    background: transparent;
    content: "";
    transition: background-color 0.2s ease;
}

.auth-close-btn svg[b-iu95llzvd7] {
    width: 28px;
    height: 28px;
}

.auth-close-btn:hover[b-iu95llzvd7] {
    color: var(--st-text-strong);
}

.auth-close-btn:hover[b-iu95llzvd7]::before {
    background: var(--st-fill-4);
}

.auth-close-btn:focus-visible[b-iu95llzvd7] {
    outline: 2px solid #d81b84;
    outline-offset: -6px;
}

/* Segmented control: one rounded track, the active tab is the filled pill. */
.auth-tabs[b-iu95llzvd7] {
    display: flex;
    flex-shrink: 0;
    gap: 2px;
    width: calc(100% - 2 * var(--auth-gutter));
    margin: 0 var(--auth-gutter) 12px;
    padding: 4px;
    box-sizing: border-box;
    background: var(--st-surface);
    border: 0;
    border-radius: 9999px;
}

.auth-tab[b-iu95llzvd7] {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 34px;
    box-sizing: border-box;
    padding: 0 8px;
    background: transparent;
    border: 0;
    border-radius: 9999px;
    color: var(--st-text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-tab[b-iu95llzvd7]::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 9999px;
    background: transparent;
    content: "";
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-tab:not(.active):hover[b-iu95llzvd7],
.auth-tab:not(.active):focus-visible[b-iu95llzvd7] {
    color: var(--st-text-strong);
}

.auth-tab:not(.active):hover[b-iu95llzvd7]::before,
.auth-tab:not(.active):focus-visible[b-iu95llzvd7]::before {
    background: var(--st-surface-strong);
}

.auth-tab.active[b-iu95llzvd7] {
    color: var(--st-on-accent);
    font-weight: 700;
}

.auth-tab.active[b-iu95llzvd7]::before {
    background: var(--inbox-pill-active-background, #e5b900);
    box-shadow: 0 2px 8px rgba(229, 185, 0, 0.35);
}

.auth-tab:focus-visible[b-iu95llzvd7],
.load-more-btn:focus-visible[b-iu95llzvd7],
.auth-dialog-btn:focus-visible[b-iu95llzvd7] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.tab-count[b-iu95llzvd7] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--st-fill-6);
    border-radius: 9999px;
    color: var(--st-text-strong);
    font-size: 10px;
    font-weight: 800;
}

/* Pending requests are a notification: SysTime magenta, as the badges of the side rail. */
.pending-count[b-iu95llzvd7] {
    background: var(--st-accent);
    color: #fff;
}

.auth-content[b-iu95llzvd7] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 0 var(--auth-gutter) 16px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: var(--st-scrollbar-thumb) transparent;
    scrollbar-width: thin;
}

.auth-content[b-iu95llzvd7]::-webkit-scrollbar {
    width: 5px;
}

.auth-content[b-iu95llzvd7]::-webkit-scrollbar-track {
    background: transparent;
}

.auth-content[b-iu95llzvd7]::-webkit-scrollbar-thumb {
    background: var(--st-fill-6);
    border-radius: 9999px;
}

.auth-empty[b-iu95llzvd7] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 40px 24px;
    text-align: center;
}

/* Loading: the shape of three cards (same as the notifications panel). */
.auth-skeleton[b-iu95llzvd7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-skeleton-card[b-iu95llzvd7] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 14px;
    background: var(--st-fill-2);
    box-sizing: border-box;
}

.auth-skeleton-lines[b-iu95llzvd7] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.auth-skel[b-iu95llzvd7] {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--st-fill-3) 25%, var(--st-fill-5) 50%, var(--st-fill-3) 75%);
    background-size: 200% 100%;
    animation: auth-shimmer-b-iu95llzvd7 1.2s ease-in-out infinite;
}

.auth-skel-icon[b-iu95llzvd7] {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.auth-skel-title[b-iu95llzvd7] {
    width: 55%;
    height: 12px;
}

.auth-skel-short[b-iu95llzvd7] {
    width: 40%;
}

@keyframes auth-shimmer-b-iu95llzvd7 {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-skel[b-iu95llzvd7] {
        animation: none;
    }
}

@keyframes auth-spin-b-iu95llzvd7 {
    to {
        transform: rotate(360deg);
    }
}

.auth-empty[b-iu95llzvd7] {
    gap: 8px;
}

/* Faint grid fading out behind the envelope. */
.auth-empty-icon[b-iu95llzvd7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 130px;
    position: relative;
    margin-bottom: 4px;
}

.auth-empty-icon[b-iu95llzvd7]::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(var(--st-fill-3) 1px, transparent 1px),
        linear-gradient(90deg, var(--st-fill-3) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%);
}

.auth-empty-icon svg[b-iu95llzvd7] {
    position: relative;
    width: 120px;
    height: 100px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.auth-empty-shadow[b-iu95llzvd7] {
    fill: rgba(0, 0, 0, 0.18);
}

.auth-empty-title[b-iu95llzvd7] {
    color: var(--st-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.auth-empty-subtitle[b-iu95llzvd7] {
    max-width: 280px;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.auth-load-more[b-iu95llzvd7] {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    padding: 8px 0;
}

.load-more-btn[b-iu95llzvd7] {
    min-height: 36px;
    padding: 7px 16px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    color: var(--st-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.load-more-btn:hover[b-iu95llzvd7] {
    background: var(--st-fill-5);
    border-color: var(--st-border-stronger);
}

.auth-dialog-overlay[b-iu95llzvd7] {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: auth-fade-in-b-iu95llzvd7 0.2s ease;
}

@keyframes auth-fade-in-b-iu95llzvd7 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.auth-dialog[b-iu95llzvd7] {
    width: min(100%, 420px);
    padding: 24px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: auth-slide-up-b-iu95llzvd7 0.25s ease;
}

@keyframes auth-slide-up-b-iu95llzvd7 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-dialog-title[b-iu95llzvd7] {
    margin-bottom: 12px;
    color: var(--st-text-strong);
    font-size: 18px;
    font-weight: 700;
}

.auth-dialog-message[b-iu95llzvd7] {
    margin-bottom: 20px;
    color: var(--st-text);
    font-size: 14px;
    line-height: 1.5;
}

.auth-dialog-actions[b-iu95llzvd7] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.auth-dialog-btn[b-iu95llzvd7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-dialog-btn.cancel[b-iu95llzvd7] {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
    color: var(--st-text);
}

.auth-dialog-btn.cancel:hover[b-iu95llzvd7] {
    background: var(--st-fill-6);
}

.auth-dialog-btn.confirm[b-iu95llzvd7] {
    background: #d81b84;
    color: #ffffff;
}

.auth-dialog-btn.confirm:hover:not(:disabled)[b-iu95llzvd7] {
    background: #eb5bb6;
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.35);
}

.auth-dialog-btn:disabled[b-iu95llzvd7] {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-spinner[b-iu95llzvd7] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-top-color: #ffffff;
    border-radius: 9999px;
    animation: auth-spin-b-iu95llzvd7 0.6s linear infinite;
}

@media (max-width: 430px) {
    .authorization-panel[b-iu95llzvd7] {
        --auth-gutter: 8px;
    }

    .auth-tab[b-iu95llzvd7] {
        padding: 0 4px;
        font-size: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .auth-tab[b-iu95llzvd7],
    .load-more-btn[b-iu95llzvd7],
    .auth-dialog-btn[b-iu95llzvd7],
    .auth-dialog-overlay[b-iu95llzvd7],
    .auth-dialog[b-iu95llzvd7] {
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

/* Deliveries: pending or history, a lighter segmented control under the categories. */
.auth-filter[b-iu95llzvd7] {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
    margin: -2px var(--auth-gutter) 12px;
}

.auth-filter-btn[b-iu95llzvd7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--st-border);
    border-radius: 9999px;
    /* Solid surface: a transparent pill with muted text was unreadable over the blurred panel. */
    background: var(--st-surface);
    color: var(--st-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-filter-btn:hover[b-iu95llzvd7] {
    color: var(--st-text-strong);
}

/* Mustard is the selection color in both themes, same as the selected category tab. */
.auth-filter-btn.active[b-iu95llzvd7] {
    border-color: transparent;
    background: var(--inbox-pill-active-background, #e5b900);
    color: var(--st-on-accent);
}

.auth-filter-count[b-iu95llzvd7] {
    color: inherit;
    font-size: 11px;
    opacity: 0.75;
}

/* Join, share and permission requests: same surface as the notification bell cards. */
.req-card[b-iu95llzvd7] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: var(--st-shadow-sm);
    color: var(--st-text-brand);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.req-card:hover[b-iu95llzvd7] {
    border-color: rgba(222, 163, 1, 0.5);
}

.req-card.selected[b-iu95llzvd7] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 1px #fe00e4;
}

.req-card:focus-visible[b-iu95llzvd7] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.req-card-content[b-iu95llzvd7] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.req-card-title[b-iu95llzvd7],
.req-card-context[b-iu95llzvd7],
.req-card-message[b-iu95llzvd7] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.req-card-title[b-iu95llzvd7] {
    color: var(--st-text-brand);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.req-card-context[b-iu95llzvd7] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.req-card-message[b-iu95llzvd7] {
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
}

.req-card-time[b-iu95llzvd7] {
    flex-shrink: 0;
    align-self: flex-start;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
/* /Pages/Home/Components/Authorization/Requests/RequestAvatar.razor.rz.scp.css */
/* Round like a profile photo; brand magenta, same in both modes. */
.req-avatar[b-umnk7bj2yf] {
    display: flex;
    flex: 0 0 var(--req-avatar-size);
    align-items: center;
    justify-content: center;
    width: var(--req-avatar-size);
    height: var(--req-avatar-size);
    overflow: hidden;
    border-radius: 50%;
    background: #fe00e4;
}

.req-avatar img[b-umnk7bj2yf] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
}

.req-avatar-silhouette[b-umnk7bj2yf] {
    width: 100%;
    height: 100%;
}

.req-avatar-glyph[b-umnk7bj2yf] {
    width: 55%;
    height: 55%;
}
/* /Pages/Home/Components/Authorization/Requests/RequestDetailView.razor.rz.scp.css */
/* Right column of the Solicitudes panel: fades in while the panel widens, apart from the list by a hairline. */
.request-detail[b-yhz6ywazl2] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-left: 1px solid var(--st-border);
    color: var(--st-text);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-16px);
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.request-detail.open[b-yhz6ywazl2] {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0.12s;
}

.rd-header[b-yhz6ywazl2] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 12px 22px;
}

.rd-category[b-yhz6ywazl2] {
    padding: 5px 12px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.rd-close[b-yhz6ywazl2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    cursor: pointer;
}

.rd-close:hover[b-yhz6ywazl2] {
    background: var(--st-fill-4);
}

.rd-close svg[b-yhz6ywazl2] {
    width: 16px;
    height: 16px;
}

.rd-body[b-yhz6ywazl2] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 4px 18px 18px;
    overflow-y: auto;
}

.rd-hero[b-yhz6ywazl2] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 4px 8px;
}

.rd-hero-texts[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rd-hero-title[b-yhz6ywazl2] {
    margin: 0;
    overflow: hidden;
    color: var(--st-text-strong);
    font-size: 18px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-hero-subtitle[b-yhz6ywazl2] {
    color: var(--st-text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.rd-hero-meta[b-yhz6ywazl2] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--st-text-muted);
    font-size: 12px;
}

.rd-status[b-yhz6ywazl2] {
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.rd-status.active[b-yhz6ywazl2] {
    background: rgba(22, 163, 74, 0.18);
    color: #22c55e;
}

.rd-status.expired[b-yhz6ywazl2] {
    background: rgba(220, 38, 38, 0.18);
    color: #f87171;
}

.rd-status.pending[b-yhz6ywazl2] {
    background: rgba(254, 203, 0, 0.18);
    color: #fecb00;
}

/* Opaque cards inside the glass follow the page theme (data-st-theme="page"). */
.rd-section[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    box-shadow: var(--st-shadow-sm);
}

.rd-section-title[b-yhz6ywazl2] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.rd-section-title.spaced[b-yhz6ywazl2] {
    margin-top: 6px;
}

.rd-row[b-yhz6ywazl2] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.rd-row-label[b-yhz6ywazl2] {
    flex-shrink: 0;
    color: var(--st-text-muted);
    font-weight: 600;
}

.rd-row-value[b-yhz6ywazl2] {
    min-width: 0;
    color: var(--st-text-brand);
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Requester of a share request: photo, name and email. */
.rd-person[b-yhz6ywazl2] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rd-person-texts[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rd-person-name[b-yhz6ywazl2] {
    color: var(--st-text-brand);
    font-size: 14px;
    font-weight: 700;
}

.rd-person-email[b-yhz6ywazl2] {
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-text[b-yhz6ywazl2] {
    margin: 0;
    color: var(--st-text-brand);
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rd-stores[b-yhz6ywazl2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rd-store[b-yhz6ywazl2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--st-border);
    border-radius: 9999px;
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 600;
}

.rd-store.selectable[b-yhz6ywazl2] {
    cursor: pointer;
}

.rd-store input[b-yhz6ywazl2] {
    width: 14px;
    height: 14px;
    accent-color: #16a34a;
}

.rd-field[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rd-label[b-yhz6ywazl2] {
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.rd-input[b-yhz6ywazl2] {
    padding: 9px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    font-family: inherit;
    font-size: 13px;
}

.rd-input:focus[b-yhz6ywazl2] {
    border-color: #fecb00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.15);
}

.rd-textarea[b-yhz6ywazl2] {
    min-height: 80px;
    resize: vertical;
}

.rd-hint[b-yhz6ywazl2] {
    color: var(--st-text-muted);
    font-size: 11px;
}

/* Qué datos concede el taller: casilla con título y su explicación; marcada, en mostaza */
.rd-options[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-option[b-yhz6ywazl2] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.rd-option input[b-yhz6ywazl2] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--inbox-pill-active-background, #e5b900);
}

.rd-option-texts[b-yhz6ywazl2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rd-option-title[b-yhz6ywazl2] {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 600;
}

.rd-spinner[b-yhz6ywazl2] {
    width: 28px;
    height: 28px;
    margin: 8px auto;
    border: 3px solid var(--st-border);
    border-top-color: #fe00e4;
    border-radius: 50%;
    animation: rd-spin-b-yhz6ywazl2 0.8s linear infinite;
}

.rd-spinner.small[b-yhz6ywazl2] {
    width: 22px;
    height: 22px;
}

.rd-footer[b-yhz6ywazl2] {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--st-border);
}

/* Approve / reject: traffic-light colors, literal in both modes. */
.rd-btn[b-yhz6ywazl2] {
    padding: 9px 22px;
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
}

.rd-btn.approve[b-yhz6ywazl2] {
    background: #16a34a;
}

.rd-btn.approve:hover:not(:disabled)[b-yhz6ywazl2] {
    background: #15803d;
    transform: translateY(-1px);
}

.rd-btn.reject[b-yhz6ywazl2] {
    background: #dc2626;
}

.rd-btn.reject:hover:not(:disabled)[b-yhz6ywazl2] {
    background: #b91c1c;
    transform: translateY(-1px);
}

.rd-btn.secondary[b-yhz6ywazl2] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.rd-btn:disabled[b-yhz6ywazl2] {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes rd-spin-b-yhz6ywazl2 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .request-detail[b-yhz6ywazl2] {
        transition: none;
    }
}

/* Share › Activos: each store with its validity, revocable one by one. */
.rd-grant-store[b-yhz6ywazl2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.rd-grant-store-texts[b-yhz6ywazl2] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.rd-grant-store-name[b-yhz6ywazl2] {
    color: var(--st-text-brand);
    font-size: 13px;
    font-weight: 600;
}

.rd-grant-store-until[b-yhz6ywazl2] {
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
}

.rd-grant-store-until.expired[b-yhz6ywazl2] {
    color: #dc2626;
}

.rd-grant-store-revoke[b-yhz6ywazl2] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
}

.rd-grant-store-revoke svg[b-yhz6ywazl2] {
    width: 14px;
    height: 14px;
}

.rd-grant-store-revoke:hover:not(:disabled)[b-yhz6ywazl2] {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

/* Busy: the running action's button shows a spinner; the content dims and stops taking clicks. */
.rd-btn-content[b-yhz6ywazl2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rd-btn-spinner[b-yhz6ywazl2] {
    display: inline-block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: rd-spin-b-yhz6ywazl2 0.7s linear infinite;
}

.rd-grant-store-revoke .rd-btn-spinner[b-yhz6ywazl2] {
    border-color: rgba(220, 38, 38, 0.25);
    border-top-color: #dc2626;
}

.request-detail.busy .rd-body[b-yhz6ywazl2] {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.request-detail.busy .rd-btn:disabled[b-yhz6ywazl2] {
    cursor: progress;
}

.rd-btn:disabled:has(.rd-btn-spinner)[b-yhz6ywazl2] {
    opacity: 0.9;
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariAppointmentsTab.razor.rz.scp.css */
/* F9 (F9-4): the row to add something the customer must bring. */
.kba-add-row[b-uorgi79pme] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.kba-add-row .kbs-input[b-uorgi79pme] {
    flex: 1;
    min-width: 0;
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariBoardsNav.razor.rz.scp.css */
/* D580: las secciones de la pestaña abierta, en grupos con nombre de pregunta. */
.kb-nav[b-cxtcup9i0j] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    padding: 4px 8px 14px;
    overflow-y: auto;
}

.kb-nav-subtitle[b-cxtcup9i0j] {
    margin: 10px 8px 0 11px;
    color: var(--st-text-secondary);
    font-size: 12px;
    line-height: 1.35;
}

.kb-nav-head[b-cxtcup9i0j] {
    display: grid;
    gap: 1px;
    margin: 10px 8px 3px 11px;
}

.kb-nav-head:not(:first-of-type)[b-cxtcup9i0j] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border);
}

.kb-nav-group[b-cxtcup9i0j] {
    color: var(--st-text-strong, var(--st-text));
    font-size: 12px;
    font-weight: 700;
}

.kb-nav-note[b-cxtcup9i0j] {
    color: var(--st-text-subtle);
    font-size: 11px;
    line-height: 1.3;
}

.kb-nav-run[b-cxtcup9i0j] { display: grid; gap: 2px; }

.kb-tab[b-cxtcup9i0j],
.kb-link-row[b-cxtcup9i0j] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    padding: 4px 8px 4px 10px;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kb-tab:hover[b-cxtcup9i0j],
.kb-link-row:hover[b-cxtcup9i0j] { background: var(--st-surface-sunken); }

.kb-tab:focus-visible[b-cxtcup9i0j],
.kb-link-row:focus-visible[b-cxtcup9i0j] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

/* Lo elegido, como en los tableros (D75): amarillo suave y texto azul marino. */
.kb-tab[aria-selected="true"][b-cxtcup9i0j] {
    border-left-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.kb-tab-name[b-cxtcup9i0j] { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; }

.kb-tab[aria-selected="true"] .kb-tab-name[b-cxtcup9i0j] { color: var(--kodawari-selected-text, var(--st-text-brand)); font-weight: 700; }

/* F2: el ojo marca lo que cambia con la configuración puesta (D215). */
.kb-tab-eye[b-cxtcup9i0j] { flex: none; width: 13px; height: 13px; fill: currentColor; color: var(--st-text-subtle); }

.kb-tab-lock[b-cxtcup9i0j] { flex: none; width: 12px; height: 12px; fill: currentColor; color: var(--st-text-subtle); }

.kb-tab-dot[b-cxtcup9i0j] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5a524;
}

/* F2: rojo, lo que impide guardar (algo a medias o el paso que falló al guardar). */
.kb-tab-dot.is-problem[b-cxtcup9i0j] { background: var(--st-danger-text); }

/* F4 (A34): cuántos valores de la sección se apartan del GOG, del TSM o de SysTime. */
.kb-tab-std[b-cxtcup9i0j] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 3px;
    color: var(--st-info-fg);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.kb-tab-std svg[b-cxtcup9i0j] {
    width: 8px;
    height: 8px;
    fill: currentColor;
}

/* Lo que el tablero usa del taller: su valor, y a dónde lleva. */
.kb-link-row[b-cxtcup9i0j] { min-height: 32px; color: var(--st-text-secondary); }

.kb-link-name[b-cxtcup9i0j] { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 500; }

.kb-link-value[b-cxtcup9i0j] {
    flex: none;
    max-width: 88px;
    overflow: hidden;
    color: var(--st-text-subtle);
    font-size: 11.5px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.kb-link-mark[b-cxtcup9i0j] {
    flex: none;
    width: 13px;
    height: 13px;
    fill: none;
    stroke: var(--st-text-subtle);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* En una pantalla angosta, un selector en lugar de la lista. */
.kb-nav-pick[b-cxtcup9i0j] { display: none; }

@media (max-width: 860px) {
    .kb-nav[b-cxtcup9i0j] { display: none; }

    .kb-nav-pick[b-cxtcup9i0j] {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 14px;
    }

    .kb-nav-pick-label[b-cxtcup9i0j] { flex: none; color: var(--st-text-subtle); font-size: 12px; font-weight: 600; }

    .kb-nav-pick select[b-cxtcup9i0j] {
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
        padding: 0 10px;
        border: 1px solid var(--st-border-strong);
        border-radius: 8px;
        background: var(--st-input-bg, var(--st-surface));
        color: var(--st-text);
        font: inherit;
        font-weight: 600;
    }

    .kb-nav-pick select:focus-visible[b-cxtcup9i0j] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariBoardsSearch.razor.rz.scp.css */
/* D580: el buscador de toda la ventana, en la cabecera, y lo que encuentra, encima. */
.kb-search[b-hrnoe3sijz] {
    position: relative;
    flex: 0 1 340px;
    min-width: 160px;
}

/* En angosto va debajo del título, y la ✕ se queda arriba a la derecha. */
@media (max-width: 860px) {
    .kb-search[b-hrnoe3sijz] { order: 2; flex: 1 1 60%; }
}

.kb-search-icon[b-hrnoe3sijz] {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--st-text-subtle);
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.kb-nav-search[b-hrnoe3sijz] {
    width: 100%;
    height: 36px;
    padding: 0 10px 0 32px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9px;
    background: var(--st-input-bg, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    box-sizing: border-box;
}

.kb-nav-search:focus-visible[b-hrnoe3sijz] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kb-found[b-hrnoe3sijz] {
    position: absolute;
    top: 42px;
    right: 0;
    z-index: 2;
    width: min(430px, 88vw);
    max-height: min(420px, 62vh);
    padding: 5px;
    overflow-y: auto;
    border: 1px solid var(--st-border-strong);
    border-radius: 11px;
    background: var(--st-surface);
    box-shadow: 0 18px 44px -14px rgba(15, 23, 42, 0.45);
    box-sizing: border-box;
}

.kb-found-title[b-hrnoe3sijz] {
    padding: 7px 10px 3px;
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
}

.kb-found-row[b-hrnoe3sijz] {
    display: grid;
    gap: 1px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kb-found-row:hover[b-hrnoe3sijz] { background: var(--st-surface-sunken); }

.kb-found-row:focus-visible[b-hrnoe3sijz] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: -2px; }

.kb-found-label[b-hrnoe3sijz] { font-weight: 600; }

.kb-found-where[b-hrnoe3sijz],
.kb-found-was[b-hrnoe3sijz],
.kb-found[b-hrnoe3sijz]  .kb-found-more {
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

.kb-found[b-hrnoe3sijz]  .kb-found-more { display: block; padding: 2px 10px 6px; }

.kb-nav-empty[b-hrnoe3sijz] { margin: 0; padding: 10px; color: var(--st-text-subtle); font-size: 12.5px; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariBoardsSpacesBar.razor.rz.scp.css */
/* D580: las pestañas por tablero, debajo de la cabecera. Lo elegido, como en los tableros (D75): amarillo suave y su raya. */
.kb-spaces[b-l8wajtwn1w] {
    display: flex;
    flex: none;
    gap: 2px;
    padding: 0 12px;
    overflow-x: auto;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    scrollbar-width: none;
}

.kb-spaces[b-l8wajtwn1w]::-webkit-scrollbar { display: none; }

.kb-space[b-l8wajtwn1w] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 15px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.kb-space.is-last[b-l8wajtwn1w] { margin-left: auto; }

.kb-space svg[b-l8wajtwn1w] {
    flex: none;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kb-space:hover[b-l8wajtwn1w] { background: var(--st-surface-sunken); }

.kb-space:focus-visible[b-l8wajtwn1w] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: -3px; border-radius: 6px; }

.kb-space[aria-selected="true"][b-l8wajtwn1w] {
    border-bottom-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    font-weight: 700;
}

/* El taller no usa ese tablero: se puede dejar configurado. */
.kb-space.is-off .kb-tab-name[b-l8wajtwn1w] { text-decoration: line-through; text-decoration-thickness: 1px; }

.kb-space-key[b-l8wajtwn1w] {
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 600;
}

.kb-space-count[b-l8wajtwn1w] {
    min-width: 18px;
    padding: 0 6px;
    border: 1px solid var(--st-warning-border);
    border-radius: 999px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.kb-space-count.is-problem[b-l8wajtwn1w] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

@media (max-width: 860px) {
    .kb-spaces[b-l8wajtwn1w] { padding: 0 6px; }
    .kb-space[b-l8wajtwn1w] { padding: 0 11px; }
}

/* En un celular caben las seis, en dos filas: ninguna queda fuera de la vista. */
@media (max-width: 640px) {
    .kb-spaces[b-l8wajtwn1w] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; }
    .kb-space[b-l8wajtwn1w] { justify-content: center; height: 40px; padding: 0 4px; gap: 5px; font-size: 12.5px; }
    .kb-space.is-last[b-l8wajtwn1w] { margin-left: 0; }
    .kb-space-key[b-l8wajtwn1w] { display: none; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariBoardsTab.razor.rz.scp.css */
.kbss-scales[b-8bl02n2cxd] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin-top: 4px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.kbss-link[b-8bl02n2cxd] {
    min-height: 24px;
    padding: 0 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-accent-text, #d81b84);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.kbss-link:hover[b-8bl02n2cxd] { text-decoration: underline; }

.kbss-link:focus-visible[b-8bl02n2cxd] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariBoothsTab.razor.rz.scp.css */
/* F15 (P5-F2): la configuración de cada cabina, plegada debajo de su fila. */
.kbb-config[b-vun7tn97tv] {
    max-width: 960px;
    margin: -2px 0 6px 40px;
    border-left: 2px solid var(--st-border, #e2e8f0);
    padding: 2px 0 2px 12px;
}

.kbb-config-summary[b-vun7tn97tv] {
    cursor: pointer;
    font-size: 12px;
    color: var(--st-text-muted, #64748b);
}

.kbb-config-grid[b-vun7tn97tv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 10px 0 4px;
}

.kbb-config-wide[b-vun7tn97tv] {
    grid-column: 1 / -1;
}

.kbb-checks[b-vun7tn97tv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    border: 0;
    margin: 0;
    padding: 0;
}

.kbb-checks legend[b-vun7tn97tv] {
    width: 100%;
    margin-bottom: 4px;
}

.kbb-check[b-vun7tn97tv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.kbb-check.is-fixed[b-vun7tn97tv] {
    color: var(--st-text-muted, #64748b);
}

.kbb-maintenance[b-vun7tn97tv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.kbb-maintenance .kbs-input[b-vun7tn97tv] {
    width: auto;
}

.kbb-days[b-vun7tn97tv] {
    display: inline-flex;
    gap: 4px;
}

.kbb-day[b-vun7tn97tv] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
}

.kbb-usage[b-vun7tn97tv] {
    color: var(--st-text-muted, #64748b);
    font-size: 12px;
}

.kbb-usage.is-due[b-vun7tn97tv] {
    color: #b45309;
    font-weight: 700;
}

.kbb-add-maintenance[b-vun7tn97tv] {
    margin-top: 6px;
}

@media (max-width: 720px) {
    .kbb-config[b-vun7tn97tv] {
        margin-left: 0;
    }

    .kbb-config-grid[b-vun7tn97tv] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariChangesList.razor.rz.scp.css */
/* Lo que cambió y no se ha guardado (D245, F2), por lo que mueve (D580). */
.kb-confirm-changes[b-b7xgqeejz6] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    margin: 0;
    padding: 10px 12px;
    overflow-y: auto;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    font-size: 13px;
    line-height: 1.45;
}

.kb-change-group h4[b-b7xgqeejz6] {
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.kb-change-group.is-strong h4[b-b7xgqeejz6] { color: var(--st-text-strong); }

.kb-change-group > p[b-b7xgqeejz6] {
    margin: 1px 0 0;
    color: var(--st-text-subtle);
    font-size: 11.5px;
    line-height: 1.4;
}

.kb-change-list[b-b7xgqeejz6] {
    margin: 4px 0 0;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--st-border-strong);
    list-style: none;
}

.is-strong .kb-change-list[b-b7xgqeejz6] { border-left-color: var(--st-text-secondary); }

.kb-confirm-section + .kb-confirm-section[b-b7xgqeejz6] { margin-top: 8px; }
.kb-confirm-section-name[b-b7xgqeejz6] { font-weight: 700; color: var(--st-text); }
.kb-confirm-section ul[b-b7xgqeejz6] { margin: 2px 0 0; padding-left: 18px; color: var(--st-text-body); }

.kb-review-go[b-b7xgqeejz6] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-text-brand);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.kb-review-go:hover[b-b7xgqeejz6] { text-decoration: underline; }
.kb-review-go:focus-visible[b-b7xgqeejz6] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariCopyPanel.razor.rz.scp.css */
/* H-33: «Copiar de otro taller», un popup encima del de los tableros, como el de cerrar con cambios (D245). */
.kbc-backdrop[b-wk83p0n3xx] {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(15, 23, 42, 0.32);
}

.kbc-panel[b-wk83p0n3xx] {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(94%, 680px);
    max-height: 88%;
    padding: 20px 22px 18px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.08);
    color: var(--st-text);
}

.kbc-title[b-wk83p0n3xx] { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.kbc-text[b-wk83p0n3xx] { margin: 0; font-size: 13px; color: var(--st-text-body); }
.kbc-warning[b-wk83p0n3xx] { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--st-warning-fg); }
.kbc-error[b-wk83p0n3xx] { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--st-danger-text); }
.kbc-ok[b-wk83p0n3xx] { margin: 0; font-size: 13px; font-weight: 600; color: var(--st-success-fg); }

.kbc-field[b-wk83p0n3xx] { display: flex; flex-direction: column; gap: 4px; }
.kbc-label[b-wk83p0n3xx] { font-size: 12px; font-weight: 600; color: var(--st-text-subtle); }

.kbc-input[b-wk83p0n3xx] {
    padding: 6px 8px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
}

.kbc-sections[b-wk83p0n3xx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
}

.kbc-check[b-wk83p0n3xx] { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.kbc-check input[b-wk83p0n3xx] { accent-color: #d81b84; }

.kbc-rows[b-wk83p0n3xx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbc-row[b-wk83p0n3xx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 12.5px;
}

.kbc-row.is-overwrites[b-wk83p0n3xx] { border-color: var(--st-warning-border); background: var(--st-warning-bg); }
.kbc-row.is-same[b-wk83p0n3xx], .kbc-row.is-skipped[b-wk83p0n3xx] { color: var(--st-text-subtle); }

.kbc-row-head[b-wk83p0n3xx] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kbc-chip[b-wk83p0n3xx] { padding: 1px 8px; border-radius: 999px; background: var(--st-surface-sunken); font-size: 11px; font-weight: 600; }
.kbc-row-replaces[b-wk83p0n3xx] { font-weight: 600; color: var(--st-warning-fg); }
.kbc-row-note[b-wk83p0n3xx] { color: var(--st-text-subtle); }

.kbc-actions[b-wk83p0n3xx] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 720px) {
    .kbc-sections[b-wk83p0n3xx] { grid-template-columns: minmax(0, 1fr); }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariDcbPocketsMap.razor.rz.scp.css */
.kpk[b-3sa5pf2g6s] { display: grid; gap: 10px; min-width: 0; }

.kpk-state[b-3sa5pf2g6s] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 14px; border: 1px dashed var(--st-border-strong); border-radius: 12px; color: var(--st-text-body); font-size: 12.5px; }

.kpk-map[b-3sa5pf2g6s] { overflow-x: auto; padding: 26px 10px 10px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface-sunken); }

.kpk-grid[b-3sa5pf2g6s] {
    position: relative;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(var(--kpk-cols, 1), minmax(0, 1fr));
    grid-template-rows: repeat(var(--kpk-rows, 1), var(--kpk-row, 24px));
    min-width: calc(var(--kpk-cols, 1) * 60px);
}

.kpk-grid.is-flow[b-3sa5pf2g6s] { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); grid-template-rows: none; grid-auto-rows: 52px; min-width: 0; }

.kpk-tile[b-3sa5pf2g6s] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
    padding: 4px 5px;
    border: 1px solid var(--st-border-strong);
    border-top: 3px solid var(--kpk-color, #64748b);
    border-radius: 7px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 11px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.kpk-tile:hover[b-3sa5pf2g6s] { background: var(--st-surface-raised, var(--st-surface-muted)); border-color: var(--st-border-stronger, var(--st-border-strong)); border-top-color: var(--kpk-color, #64748b); }

.kpk-tile.is-chosen[b-3sa5pf2g6s] { background: var(--kodawari-selected-soft, var(--st-gold-bg)); border-color: var(--kodawari-selected, #e5b900); border-top-color: var(--kpk-color, #64748b); box-shadow: 0 0 0 1px var(--kodawari-selected, #e5b900); }

.kpk-tile:focus-visible[b-3sa5pf2g6s] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kpk-name[b-3sa5pf2g6s] { flex: none; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-weight: 700; color: var(--st-text-strong); overflow-wrap: anywhere; hyphens: auto; }

.kpk-line2[b-3sa5pf2g6s] { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: auto; color: var(--st-text-subtle); font-size: 10.5px; }

.kpk-count[b-3sa5pf2g6s] { margin-left: auto; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--st-surface-sunken); color: var(--st-text-strong); font-weight: 700; text-align: center; }

.kpk-tile.is-chosen .kpk-line2[b-3sa5pf2g6s] { color: var(--kodawari-selected-text, var(--st-text-brand)); }

/* The lines of the repair zone (D145) and of the edges (D500), over the gap on the left of their column. */
.kpk-line[b-3sa5pf2g6s] { position: relative; width: 0; border-left: 2px solid var(--st-info-fg); margin-left: -3px; pointer-events: none; }

.kpk-line.is-end[b-3sa5pf2g6s] { border-left-color: var(--st-info-fg); }

.kpk-line.is-edge[b-3sa5pf2g6s] { border-left: 2px dashed var(--st-text-muted); }

.kpk-line-name[b-3sa5pf2g6s] { position: absolute; top: -20px; left: 0; color: var(--st-info-fg); font-size: 10.5px; font-weight: 700; white-space: nowrap; }

.kpk-line.is-end .kpk-line-name[b-3sa5pf2g6s] { left: auto; right: 0; }

.kpk-detail[b-3sa5pf2g6s] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: start; padding: 12px 14px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface-muted); }

.kpk-detail-main[b-3sa5pf2g6s] { display: grid; gap: 6px; min-width: 0; }

.kpk-detail-name[b-3sa5pf2g6s] { margin: 0; font-size: 14px; font-weight: 700; color: var(--st-text-strong); overflow-wrap: anywhere; }

.kpk-detail-kind[b-3sa5pf2g6s] { margin: 0; color: var(--st-text-body); font-size: 12.5px; }

.kpk-chips[b-3sa5pf2g6s] { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.kpk-chip[b-3sa5pf2g6s] { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--st-border); border-radius: 999px; background: var(--st-surface); color: var(--st-text); font-size: 12px; }

.kpk-dot[b-3sa5pf2g6s] { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--kpk-color, #64748b); }

.kpk-actions[b-3sa5pf2g6s] { display: flex; flex-wrap: wrap; gap: 8px; }

.kpk-note[b-3sa5pf2g6s] { margin: 0; color: var(--st-text-subtle); font-size: 12px; }

.kpk-unmapped[b-3sa5pf2g6s] { margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--st-warning-bg, #fff7e0); color: var(--st-warning-fg, #8a5a00); font-size: 12.5px; }

@media (max-width: 760px) {
    .kpk-detail[b-3sa5pf2g6s] { grid-template-columns: minmax(0, 1fr); }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariDcbToolTab.razor.rz.scp.css */
.kbt-open[b-oybja3tw5q] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

.kbt-hint[b-oybja3tw5q] { color: var(--st-text-subtle); font-size: 12px; }

.kbt-note[b-oybja3tw5q] { margin: 0; color: var(--st-text-body); font-size: 12.5px; }

.kbt-link[b-oybja3tw5q] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-text);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kbt-link:hover[b-oybja3tw5q] { color: var(--st-info-fg); }

.kbt-link:focus-visible[b-oybja3tw5q] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariDocumentsMapTab.razor.rz.scp.css */
/* D580: «Cómo se lee OTs», las tres cosas que el tablero junta, una tras otra. */
.kbd-map[b-m41rq9x86f] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbd-step[b-m41rq9x86f] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
    font-size: 13px;
}

.kbd-step.is-look[b-m41rq9x86f] { border-style: dashed; }

/* The arrow to the next step. */
.kbd-step + .kbd-step[b-m41rq9x86f]::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: -22px;
    color: var(--st-text-subtle);
    font-size: 16px;
    line-height: 1;
    transform: translateY(-50%);
}

.kbd-scope[b-m41rq9x86f] {
    color: var(--st-text-subtle);
    font-size: 11.5px;
    font-weight: 600;
}

.kbd-step h4[b-m41rq9x86f] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 700;
}

.kbd-step p[b-m41rq9x86f] { margin: 0; color: var(--st-text-body); line-height: 1.45; }

.kbd-step .kbd-links[b-m41rq9x86f] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: auto;
    padding-top: 4px;
}

.kbd-alerts[b-m41rq9x86f] {
    display: grid;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.kbd-alerts li[b-m41rq9x86f] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 10px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
    color: var(--st-text-body);
}

.kbd-link[b-m41rq9x86f] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-text);
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kbd-link:hover[b-m41rq9x86f] { color: var(--st-info-fg); }

.kbd-link:focus-visible[b-m41rq9x86f] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }

.kbd-note[b-m41rq9x86f] {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 13px;
}

.kbd-note p[b-m41rq9x86f] { margin: 0; }

@media (max-width: 1000px) {
    .kbd-map[b-m41rq9x86f] { grid-template-columns: minmax(0, 1fr); gap: 26px; }

    .kbd-step + .kbd-step[b-m41rq9x86f]::before {
        content: "↓";
        top: -21px;
        left: 50%;
        transform: translateX(-50%);
    }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariEngineTab.razor.rz.scp.css */
.kbn-tools[b-rmmjvdq8vj] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 1080px; }

.kbn-modes[b-rmmjvdq8vj] { display: inline-flex; flex-wrap: wrap; overflow: hidden; border: 1px solid var(--st-border-strong, var(--st-border)); border-radius: 10px; }

.kbn-mode[b-rmmjvdq8vj] {
    min-height: 36px;
    padding: 6px 14px;
    border: 0;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.kbn-mode + .kbn-mode[b-rmmjvdq8vj] { border-left: 1px solid var(--st-border-strong, var(--st-border)); }

.kbn-mode:hover[b-rmmjvdq8vj] { background: var(--st-surface-sunken); }

.kbn-mode.is-on[b-rmmjvdq8vj] { background: var(--kodawari-selected-soft, var(--st-gold-bg)); color: var(--kodawari-selected-text, var(--st-text-brand)); }

.kbn-link[b-rmmjvdq8vj] {
    min-height: 36px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-accent-text, #d81b84);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.kbn-link:hover[b-rmmjvdq8vj] { text-decoration: underline; }

.kbn-mode:focus-visible[b-rmmjvdq8vj],
.kbn-link:focus-visible[b-rmmjvdq8vj],
.kbn-station:focus-visible[b-rmmjvdq8vj] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbn-mode:focus-visible[b-rmmjvdq8vj] { outline-offset: -2px; }

.kbn-stations[b-rmmjvdq8vj] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0; padding: 0; list-style: none; }

.kbn-stations li[b-rmmjvdq8vj] { position: relative; display: grid; }

/* La flecha a la estación que sigue. */
.kbn-stations li:not(:last-child)[b-rmmjvdq8vj]::after {
    content: "";
    position: absolute;
    top: 24px;
    right: -11px;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--st-text-subtle);
    border-right: 2px solid var(--st-text-subtle);
    transform: rotate(45deg);
}

.kbn-station[b-rmmjvdq8vj] {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 10px 11px;
    border: 1px solid var(--st-border-strong, var(--st-border));
    border-radius: 12px;
    background: var(--st-surface-raised, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kbn-station:hover[b-rmmjvdq8vj] { background: var(--st-surface-sunken); }

.kbn-station.is-level[b-rmmjvdq8vj] { box-shadow: inset 4px 0 0 #dea301; }

.kbn-station.is-on[b-rmmjvdq8vj] { border-color: var(--kodawari-selected, #e5b900); background: var(--kodawari-selected-soft, var(--st-gold-bg)); box-shadow: 0 0 0 1px var(--kodawari-selected, #e5b900); }

.kbn-station.is-level.is-on[b-rmmjvdq8vj] { box-shadow: inset 4px 0 0 #dea301, 0 0 0 1px var(--kodawari-selected, #e5b900); }

.kbn-head[b-rmmjvdq8vj] { display: flex; align-items: center; gap: 8px; color: var(--st-text-strong); font-size: 13px; font-weight: 700; line-height: 1.2; }

.kbn-head i[b-rmmjvdq8vj] {
    display: grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    font-size: 13px;
    font-style: normal;
}

.kbn-station.is-on .kbn-head i[b-rmmjvdq8vj] { background: var(--kodawari-selected, #e5b900); color: #1e293b; }

.kbn-station small[b-rmmjvdq8vj] { color: var(--st-text-secondary); font-size: 12px; line-height: 1.35; }

.kbn-steps[b-rmmjvdq8vj] { margin-top: auto; color: var(--st-text-subtle); font-size: 11px; }

.kbn-panel[b-rmmjvdq8vj] { max-width: 1080px; padding: 14px 16px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface-muted, var(--st-surface-sunken)); box-sizing: border-box; }

.kbn-title[b-rmmjvdq8vj] { margin: 0 0 6px; color: var(--st-text-strong); font-size: 14px; font-weight: 700; }

.kbn-step[b-rmmjvdq8vj] { margin: 0 0 10px; }

.kbn-step b[b-rmmjvdq8vj] { color: var(--st-text-strong); font-size: 13px; font-weight: 600; }

.kbn-step p[b-rmmjvdq8vj] { max-width: 90ch; margin: 2px 0 0; color: var(--st-text-secondary); font-size: 13px; line-height: 1.45; }

.kbn-points[b-rmmjvdq8vj] { max-width: 90ch; margin: 4px 0 0; padding-left: 20px; color: var(--st-text-secondary); font-size: 13px; line-height: 1.45; }

.kbn-points.is-ordered[b-rmmjvdq8vj] { list-style: decimal; }

.kbn-rows[b-rmmjvdq8vj] { overflow: hidden; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface-raised, var(--st-surface)); }

.kbn-note[b-rmmjvdq8vj] { max-width: 90ch; margin: 8px 0 0; color: var(--st-text-subtle); font-size: 12px; line-height: 1.4; }

.kbn-legend[b-rmmjvdq8vj] { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; color: var(--st-text-subtle); font-size: 12px; list-style: none; }

.kbn-legend li[b-rmmjvdq8vj] { display: inline-flex; align-items: center; gap: 6px; }

.kbn-legend i[b-rmmjvdq8vj] { width: 8px; height: 8px; border-radius: 50%; background: var(--st-border-strong, var(--st-text-subtle)); }

.kbn-legend i.is-on[b-rmmjvdq8vj] { background: var(--st-success-fg, #16a34a); }

.kbn-legend i.is-off[b-rmmjvdq8vj] { border: 1.5px solid var(--st-text-subtle); background: transparent; box-sizing: border-box; }

.kbn-legend i.is-level[b-rmmjvdq8vj] { width: 4px; height: 14px; border-radius: 2px; background: #dea301; }

@media (max-width: 1100px) {
    .kbn-stations[b-rmmjvdq8vj] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

    .kbn-stations li[b-rmmjvdq8vj]::after { display: none; }
}

@media (max-width: 560px) {
    .kbn-stations[b-rmmjvdq8vj] { grid-template-columns: minmax(0, 1fr); }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariEntryTab.razor.rz.scp.css */
.kbe-block[b-gmihmfnrw6] { display: grid; gap: 8px; max-width: 900px; }

.kbe-title[b-gmihmfnrw6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 700;
}

.kbe-tag[b-gmihmfnrw6] { color: var(--st-text-subtle); font-size: 12px; font-weight: 400; }

.kbe-rows[b-gmihmfnrw6] { overflow: hidden; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface-raised, var(--st-surface)); }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariExecutionDayTab.razor.rz.scp.css */
.kbx-day[b-09t2c4qw7o] { max-width: 980px; overflow-x: auto; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface-raised, var(--st-surface)); }

.kbx-grid[b-09t2c4qw7o] { display: grid; gap: 10px; min-width: 560px; padding: 14px 14px 18px; }

.kbx-line[b-09t2c4qw7o] { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; }

.kbx-who[b-09t2c4qw7o] { display: grid; color: var(--st-text-strong); font-size: 12px; font-weight: 600; line-height: 1.25; }

.kbx-who small[b-09t2c4qw7o] { color: var(--st-text-subtle); font-size: 11px; font-weight: 400; }

.kbx-track[b-09t2c4qw7o] { position: relative; height: 46px; border-radius: 6px; background: var(--st-surface-sunken); }

.kbx-track.is-flat[b-09t2c4qw7o] { height: 26px; }

.kbx-bar[b-09t2c4qw7o] {
    position: absolute;
    top: 3px;
    overflow: hidden;
    height: 18px;
    padding: 0 6px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 11px;
    font-style: normal;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kbx-bar.is-plan[b-09t2c4qw7o] { border: 1px dashed var(--st-text-subtle); background: var(--st-surface); color: var(--st-text); line-height: 16px; }

.kbx-bar.is-real[b-09t2c4qw7o] { top: 25px; background: var(--st-success-bg, color-mix(in srgb, #16a34a 22%, var(--st-surface))); color: var(--st-text-strong); }

.kbx-bar.is-real.is-late[b-09t2c4qw7o] { background: var(--st-warning-bg, color-mix(in srgb, #f59e0b 30%, var(--st-surface))); }

.kbx-bar.is-free[b-09t2c4qw7o] { border: 1px dotted var(--st-text-subtle); color: var(--st-text-secondary); line-height: 16px; text-align: center; }

.kbx-pin[b-09t2c4qw7o],
.kbx-letter[b-09t2c4qw7o] {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--kodawari-selected, #e5b900);
    color: #1e293b;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.kbx-pin[b-09t2c4qw7o] { position: absolute; top: 12px; box-shadow: 0 0 0 2px var(--st-surface); }

.kbx-pin.is-top[b-09t2c4qw7o] { top: 2px; }

.kbx-marks[b-09t2c4qw7o] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 8px; max-width: 980px; margin: 0; padding: 0; list-style: none; }

.kbx-mark[b-09t2c4qw7o] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 8px;
    width: 100%;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kbx-mark:hover[b-09t2c4qw7o] { background: var(--st-surface-sunken); }

.kbx-mark:focus-visible[b-09t2c4qw7o] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbx-name[b-09t2c4qw7o] { color: var(--st-text-strong); font-size: 13px; font-weight: 600; }

.kbx-value[b-09t2c4qw7o] { color: var(--st-text-strong); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

.kbx-note[b-09t2c4qw7o] { grid-column: 2 / -1; color: var(--st-text-subtle); font-size: 12px; line-height: 1.35; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariJscbCardTab.razor.rz.scp.css */
/* F1a: «Tarjeta del JSCB». The choices on the left and the preview on the right (it stays in sight while the choices scroll); one
   column on a narrow screen. The common pieces (intro, switch, buttons, hints, notice) are the popup's (.kbs-*, .kb-btn); colors only
   from the tokens of the theme; the magenta of the popup marks what is chosen, as in the rest of its tabs. */
.kbj-presets[b-cc5dbfzgzn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.kbj-preset[b-cc5dbfzgzn] {
    display: grid;
    gap: 1px;
    min-height: 40px;
    padding: 5px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kbj-preset b[b-cc5dbfzgzn] { font-size: 12.5px; }
.kbj-preset small[b-cc5dbfzgzn] { color: var(--st-text-subtle); font-size: 11px; }
.kbj-preset:hover:not(:disabled)[b-cc5dbfzgzn] { background: var(--st-surface-sunken); }
.kbj-preset:disabled[b-cc5dbfzgzn] { opacity: 0.5; cursor: not-allowed; }
.kbj-preset:focus-visible[b-cc5dbfzgzn] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbj-preset.is-on[b-cc5dbfzgzn] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.kbj-cols[b-cc5dbfzgzn] {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.kbj-options[b-cc5dbfzgzn] {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.kbj-group[b-cc5dbfzgzn] {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

.kbj-group h4[b-cc5dbfzgzn] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.kbj-group .kbs-hint[b-cc5dbfzgzn] { margin: 0; }

.kbj-fs[b-cc5dbfzgzn] {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.kbj-fs legend[b-cc5dbfzgzn] {
    margin-bottom: 4px;
    padding: 0;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--st-text-body);
}

.kbj-option[b-cc5dbfzgzn],
.kbj-switch[b-cc5dbfzgzn] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 8px;
    cursor: pointer;
}

.kbj-option:hover[b-cc5dbfzgzn],
.kbj-switch:hover[b-cc5dbfzgzn] { background: var(--st-surface-sunken); }

.kbj-option input[b-cc5dbfzgzn] {
    flex: none;
    margin: 2px 0 0;
    accent-color: #d81b84;
}

.kbj-text[b-cc5dbfzgzn] {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.kbj-text b[b-cc5dbfzgzn] { font-size: 12.5px; font-weight: 600; color: var(--st-text); }
.kbj-text small[b-cc5dbfzgzn] { font-size: 11.5px; color: var(--st-text-subtle); }

.kbj-switch .kbs-switch[b-cc5dbfzgzn] { flex: none; margin-top: 1px; }

.kbj-sizes[b-cc5dbfzgzn] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kbj-sizes legend[b-cc5dbfzgzn] { width: 100%; }

.kbj-size[b-cc5dbfzgzn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.kbj-size input[b-cc5dbfzgzn] { margin: 0; accent-color: #d81b84; }
.kbj-size.is-on[b-cc5dbfzgzn] { border-color: #d81b84; }

.kbj-color[b-cc5dbfzgzn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 74px;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--st-text-body);
}

.kbj-color input[type="color"][b-cc5dbfzgzn] {
    width: 44px;
    height: 30px;
    padding: 2px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    cursor: pointer;
}

.kbj-color input[type="color"]:disabled[b-cc5dbfzgzn] { opacity: 0.55; cursor: not-allowed; }
.kbj-color input[type="color"]:focus-visible[b-cc5dbfzgzn] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbj-color-tag[b-cc5dbfzgzn] {
    font-size: 11px;
    color: var(--st-text-subtle);
}

.kbj-color-tag.is-own[b-cc5dbfzgzn] {
    font-weight: 700;
    color: var(--st-text);
}

.kbj-range[b-cc5dbfzgzn] {
    display: grid;
    gap: 2px;
}

.kbj-range.is-off[b-cc5dbfzgzn] { opacity: 0.55; }

.kbj-range-head[b-cc5dbfzgzn] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-body);
}

.kbj-range-head output[b-cc5dbfzgzn] {
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
}

.kbj-range input[b-cc5dbfzgzn] {
    width: 100%;
    accent-color: #d81b84;
}

.kbj-reset[b-cc5dbfzgzn] {
    justify-self: start;
}

/* The preview stays in sight while the choices scroll. */
.kbj-preview[b-cc5dbfzgzn] {
    position: sticky;
    top: 0;
    display: grid;
    gap: 8px;
    min-width: 0;
}

.kbj-preview-head[b-cc5dbfzgzn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kbj-preview-head h4[b-cc5dbfzgzn] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.kbj-preview > .kbs-hint[b-cc5dbfzgzn] { margin: 0; }

.kbj-theme[b-cc5dbfzgzn] {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
}

.kbj-theme-btn[b-cc5dbfzgzn] {
    min-width: 64px;
    height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.kbj-theme-btn.is-on[b-cc5dbfzgzn] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kbj-theme-btn:focus-visible[b-cc5dbfzgzn] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbj-warnings[b-cc5dbfzgzn] {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 10px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.kbj-warnings h4[b-cc5dbfzgzn] {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
}

.kbj-warnings ul[b-cc5dbfzgzn] {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
}

.kbj-warnings .kbs-hint[b-cc5dbfzgzn] { margin: 0; color: inherit; opacity: 0.85; }

/* Only for screen readers: the new warnings, told half a second after the last change. */
.kbj-sr[b-cc5dbfzgzn] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .kbj-cols[b-cc5dbfzgzn] { grid-template-columns: minmax(0, 1fr); }
    .kbj-preview[b-cc5dbfzgzn] { position: static; }
}

@media (forced-colors: active) {
    .kbj-preset.is-on[b-cc5dbfzgzn],
    .kbj-theme-btn.is-on[b-cc5dbfzgzn],
    .kbj-size.is-on[b-cc5dbfzgzn] { outline: 2px solid Highlight; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariLookPreview.razor.rz.scp.css */
.klp[b-zxmw2mroz7] { display: grid; gap: 6px; min-width: 0; container-type: inline-size; }

.klp-title[b-zxmw2mroz7] { margin: 0; color: var(--st-text-secondary); font-size: 12px; }

.klp-title b[b-zxmw2mroz7] { color: var(--st-text-strong); font-size: 13px; }

.klp-board[b-zxmw2mroz7] {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-muted, var(--st-surface));
    color: var(--st-text);
}

.klp-bar[b-zxmw2mroz7] { display: flex; justify-self: start; gap: 4px; padding: 3px; border: 1px solid var(--st-border); border-radius: 999px; background: var(--st-surface); }

.klp-scale[b-zxmw2mroz7] { min-width: 46px; padding: 1px 8px; color: var(--st-text-strong); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }

.klp-scale.is-off[b-zxmw2mroz7] { color: var(--st-text-subtle); font-weight: 400; text-decoration: line-through; }

.klp-body[b-zxmw2mroz7] { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: stretch; gap: 8px; min-width: 0; }

.klp-body.has-left[b-zxmw2mroz7] { grid-template-columns: 104px minmax(0, 1fr) 104px; }

.klp-col[b-zxmw2mroz7] { display: grid; grid-auto-rows: minmax(34px, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }

.klp-col li[b-zxmw2mroz7] {
    overflow: hidden;
    padding: 5px 7px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body, var(--st-text));
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.klp-center[b-zxmw2mroz7] { min-width: 0; }

.klp-bar.is-edited[b-zxmw2mroz7],
.klp-col.is-edited[b-zxmw2mroz7],
.klp-center.is-edited[b-zxmw2mroz7] { outline: 2px solid var(--kodawari-selected, #e5b900); outline-offset: 2px; border-radius: 12px; }

.klp-bar.is-edited[b-zxmw2mroz7] { border-radius: 999px; }

.klp-day[b-zxmw2mroz7] { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface); }

.klp-line[b-zxmw2mroz7] { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; }

.klp-who[b-zxmw2mroz7] { display: grid; color: var(--st-text-strong); font-size: 12px; font-weight: 600; line-height: 1.25; }

.klp-who small[b-zxmw2mroz7] { color: var(--st-text-subtle); font-size: 11px; font-weight: 400; }

.klp-track[b-zxmw2mroz7] { position: relative; height: 32px; border-radius: 6px; background: var(--st-surface-sunken, var(--st-surface-muted)); }

.klp-plan[b-zxmw2mroz7],
.klp-real[b-zxmw2mroz7] { box-sizing: border-box; border-radius: 3px; }

.klp-plan[b-zxmw2mroz7] { border: 1px dashed var(--st-text-subtle); background: var(--st-surface); }

.klp-real[b-zxmw2mroz7] { background: var(--st-success-fg, #16a34a); }

.klp-track > .klp-plan[b-zxmw2mroz7],
.klp-track > .klp-real[b-zxmw2mroz7] { position: absolute; height: 11px; }

.klp-track > .klp-plan[b-zxmw2mroz7] { top: 4px; }

.klp-track > .klp-real[b-zxmw2mroz7] { bottom: 4px; }

.klp-key[b-zxmw2mroz7] { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; color: var(--st-text-secondary); font-size: 11px; }

.klp-key > .klp-plan[b-zxmw2mroz7],
.klp-key > .klp-real[b-zxmw2mroz7] { width: 18px; height: 9px; }

.klp-key > .klp-real[b-zxmw2mroz7] { margin-left: 8px; }

@container (max-width: 560px) {
    .klp-body[b-zxmw2mroz7],
    .klp-body.has-left[b-zxmw2mroz7] { grid-template-columns: minmax(0, 1fr); }

    .klp-col[b-zxmw2mroz7] { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

@media (forced-colors: active) {
    .klp-real[b-zxmw2mroz7] { background: Highlight; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariOperationTab.razor.rz.scp.css */
/* F3 · D580: «Procesos y zona», los procesos del taller en el orden de la ruta, con los de la zona de reparación juntos (H-32). */
.kbo-notice[b-li1cvsy3jt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 12.5px;
}

/* D580: la tira de la ruta: la línea azul es la zona de reparación y el punto lleno, lo que se planea. */
.kbo-route[b-li1cvsy3jt] {
    display: flex;
    align-items: center;
    height: 22px;
    margin: 6px 0 2px;
    padding-right: 6px;
}

.kbo-route > i[b-li1cvsy3jt] {
    position: relative;
    flex: 1;
    min-width: 2px;
    height: 4px;
    background: var(--st-border-strong);
}

.kbo-route > i[b-li1cvsy3jt]::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -5px;
    z-index: 1;
    width: 10px;
    height: 10px;
    border: 2px solid var(--st-border-stronger, var(--st-border-strong));
    border-radius: 50%;
    background: var(--st-surface);
    box-sizing: border-box;
}

.kbo-route > i.is-zone[b-li1cvsy3jt] { background: var(--st-info-fg); }
.kbo-route > i.is-zone[b-li1cvsy3jt]::after { border-color: var(--st-info-fg); }
.kbo-route > i.is-on[b-li1cvsy3jt]::after { background: var(--st-info-fg); border-color: var(--st-info-fg); }

.kbo-caption[b-li1cvsy3jt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
    margin: 0 0 10px;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.kbo-caption > span[b-li1cvsy3jt] { display: inline-flex; align-items: center; gap: 6px; }

.kbo-key[b-li1cvsy3jt] {
    flex: none;
    width: 14px;
    height: 4px;
    border-radius: 2px;
}

.kbo-key.is-zone[b-li1cvsy3jt] { background: var(--st-info-fg); }
.kbo-key.is-on[b-li1cvsy3jt] { width: 10px; height: 10px; border-radius: 50%; background: var(--st-info-fg); }

.kbo-tools[b-li1cvsy3jt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
}

.kbo-filters[b-li1cvsy3jt] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kbo-filter[b-li1cvsy3jt] {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.kbo-filter > span[b-li1cvsy3jt] { font-weight: 500; font-variant-numeric: tabular-nums; }
.kbo-filter:hover[b-li1cvsy3jt] { background: var(--st-surface-sunken); }
.kbo-filter:focus-visible[b-li1cvsy3jt] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }

.kbo-filter[aria-pressed="true"][b-li1cvsy3jt] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kbo-search[b-li1cvsy3jt] {
    flex: 1 1 150px;
    max-width: 240px;
    margin-left: auto;
}

.kbo-link[b-li1cvsy3jt] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-accent-text, var(--st-accent));
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kbo-link:focus-visible[b-li1cvsy3jt] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }

.kbo-groups[b-li1cvsy3jt] {
    display: grid;
    gap: 10px;
    margin: 0 0 8px;
}

.kbo-group[b-li1cvsy3jt] { min-width: 0; }

.kbo-group-head[b-li1cvsy3jt] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    padding: 0 6px;
    border: 0;
    border-bottom: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.kbo-group-head:hover[b-li1cvsy3jt] { background: var(--st-surface-sunken); }
.kbo-group-head:focus-visible[b-li1cvsy3jt] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: -2px; border-radius: 6px; }

.kbo-group-head svg[b-li1cvsy3jt] {
    flex: none;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--st-text-subtle);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s ease;
}

.kbo-group-head[aria-expanded="true"] svg[b-li1cvsy3jt] { transform: rotate(90deg); }

.kbo-group-head small[b-li1cvsy3jt],
.kbo-group-title small[b-li1cvsy3jt] { color: var(--st-text-subtle); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }

.kbo-group-title[b-li1cvsy3jt] {
    margin: 0;
    padding: 4px 6px;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 700;
}

.kbo-list[b-li1cvsy3jt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.kbo-row[b-li1cvsy3jt] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-sizing: border-box;
}

.kbo-plan[b-li1cvsy3jt] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: var(--st-text-body);
    font-size: 12.5px;
    cursor: pointer;
}

.kbo-plan > input[b-li1cvsy3jt] { width: 18px; height: 18px; margin: 0; accent-color: #d81b84; cursor: pointer; }
.kbo-plan > input:disabled[b-li1cvsy3jt] { cursor: default; }
.kbo-plan:has(> input:disabled)[b-li1cvsy3jt] { color: var(--st-text-subtle); cursor: default; }
.kbo-plan > input:focus-visible[b-li1cvsy3jt] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }

/* En la zona, el azul de las líneas del DCB (D145), suave. */
.kbo-row.is-zone[b-li1cvsy3jt] {
    background: color-mix(in srgb, var(--st-info-fg) 7%, transparent);
}

.kbo-row.is-on[b-li1cvsy3jt] {
    border-color: var(--st-accent);
}

.kbo-name[b-li1cvsy3jt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    color: var(--st-text);
    font-size: 13px;
}

.kbo-none[b-li1cvsy3jt] {
    color: var(--st-text-subtle);
}

/* Las líneas «Inicio/Fin zona de reparación», como en el DCB. */
.kbo-zone-line[b-li1cvsy3jt] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--st-info-fg);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.kbo-zone-line[b-li1cvsy3jt]::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: var(--st-info-fg);
}

.kbo-dot[b-li1cvsy3jt] {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--st-border);
}

.kbo-tag[b-li1cvsy3jt] {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 11px;
    font-weight: 600;
}

.kbo-tag.is-muted[b-li1cvsy3jt] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.kbo-tag.is-review[b-li1cvsy3jt] {
    background: var(--st-warning-bg);
    color: var(--st-warning-fg);
}

.kbo-warning[b-li1cvsy3jt] {
    margin: 0 0 8px;
    color: var(--st-warning-fg);
    font-size: 12.5px;
}

@media (prefers-reduced-motion: reduce) {
    .kbo-group-head svg[b-li1cvsy3jt] { transition: none; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariPersonPicker.razor.rz.scp.css */
.kpp[b-yrb375p934] {
    position: relative;
    display: inline-flex;
}

.kpp-add[b-yrb375p934] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border: 1px dashed var(--st-border-strong, #b6c0cc);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.kpp-add:hover:not(:disabled)[b-yrb375p934],
.kpp-add.is-open[b-yrb375p934] {
    background: var(--st-surface-sunken);
    border-style: solid;
}

.kpp-add:disabled[b-yrb375p934] {
    cursor: not-allowed;
    opacity: 0.5;
}

.kpp-add:focus-visible[b-yrb375p934],
.kpp-option:focus-visible[b-yrb375p934] {
    outline: 2px solid var(--kb-focus, #d81b84);
    outline-offset: 1px;
}

.kpp-backdrop[b-yrb375p934] {
    position: fixed;
    inset: 0;
    z-index: 59;
}

.kpp-list[b-yrb375p934] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 60;
    margin-top: 4px;
    width: 280px;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

.kpp-option[b-yrb375p934] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kpp-option:hover[b-yrb375p934] {
    background: var(--st-surface-sunken);
}

.kpp-photo[b-yrb375p934] {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--st-surface-sunken);
}

.kpp-text[b-yrb375p934] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kpp-name[b-yrb375p934] {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpp-sub[b-yrb375p934] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.kpp-more[b-yrb375p934] {
    flex: 0 0 auto;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-surface-sunken, #e8edf3);
    color: var(--st-text-muted);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
}

.kpp-titles[b-yrb375p934] {
    font-size: 11.5px;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariPlanFollowUpTab.razor.rz.scp.css */
/* JS-G10: the list of the yard is a few lines of text, not a one-line field. */
textarea.kbf-yard-input.kbs-input[b-ddw6nnsvgv] {
    height: auto;
    min-height: 64px;
    padding: 6px 8px;
    line-height: 1.4;
    resize: vertical;
}

/* JS-G10: the places of the yard taken from the plan of Locations. */
.kbf-yard-plan[b-ddw6nnsvgv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.kbf-yard-zones[b-ddw6nnsvgv] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kbf-yard-zones label[b-ddw6nnsvgv] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--st-text);
}

/* F14 (F14-1): the groups of the tab and the row of the follow-up window. */
.kbf-subtitle[b-ddw6nnsvgv] {
    margin: 14px 0 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.kbf-row[b-ddw6nnsvgv] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.kbf-row > *[b-ddw6nnsvgv] {
    flex: 1 1 140px;
    min-width: 0;
}

/* F3: a part of the parameters inside another section (Inicio, Horas por proceso, Cabinas, Citas y llegada). */
.kbf-embedded[b-ddw6nnsvgv] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.kbf-embedded > .kbf-subtitle[b-ddw6nnsvgv] { margin-top: 4px; }

/* F3, temporary: where a field was before it moved. */
.kbs-moved[b-ddw6nnsvgv] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    font-size: 10.5px;
    font-weight: 600;
    vertical-align: 1px;
}

/* F4 (A34): a field that departs from its standard value (GOG, TSM or SysTime), in blue, with the way back. */
.kbs-std[b-ddw6nnsvgv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: -2px;
    color: var(--st-info-text);
    font-size: 12px;
    line-height: 1.4;
}

.kbs-std-icon[b-ddw6nnsvgv] {
    flex: none;
    width: 9px;
    height: 9px;
    fill: var(--st-info-fg);
}

.kbs-std-reset[b-ddw6nnsvgv] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-fg);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kbs-std-reset:hover[b-ddw6nnsvgv] { color: var(--st-info-text); }

.kbs-std-reset:focus-visible[b-ddw6nnsvgv] {
    outline: 2px solid var(--st-info-fg);
    outline-offset: 2px;
    border-radius: 2px;
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariPreferencesTab.razor.rz.scp.css */
.kbp-list[b-jaam8ppuez] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    max-width: 640px;
}

.kbp-row[b-jaam8ppuez] {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 12.5px;
}

.kbp-row + .kbp-row[b-jaam8ppuez] { border-top: 1px solid var(--st-border); }

.kbp-board[b-jaam8ppuez] { color: var(--st-text-subtle); font-size: 11.5px; font-weight: 600; }
.kbp-label[b-jaam8ppuez] { color: var(--st-text-body); }
.kbp-value[b-jaam8ppuez] { color: var(--st-text-brand); font-weight: 600; text-align: right; }

.kbp-reset[b-jaam8ppuez] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-text);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kbp-reset:hover[b-jaam8ppuez] { color: var(--st-info-fg); }
.kbp-reset:focus-visible[b-jaam8ppuez] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }

.kbp-all[b-jaam8ppuez] { display: flex; }

.kbp-note[b-jaam8ppuez] { margin: 0; color: var(--st-text-body); font-size: 12.5px; }

@media (max-width: 560px) {
    .kbp-row[b-jaam8ppuez] { grid-template-columns: minmax(0, 1fr) auto; }
    .kbp-board[b-jaam8ppuez] { grid-column: 1 / -1; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariReadyTab.razor.rz.scp.css */
/* H-25 y D580: el Inicio: cómo está el taller y, al lado, a qué se suele venir y el orden en que se monta. */
.kbr-cols[b-h93v7kkm58] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 24px;
    align-items: start;
}

.kbr-state[b-h93v7kkm58] { min-width: 0; }

.kbr-side[b-h93v7kkm58] { display: grid; gap: 16px; min-width: 0; }

.kbr-card[b-h93v7kkm58] {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.kbr-card h4[b-h93v7kkm58] { margin: 0; color: var(--st-text-strong); font-size: 14px; font-weight: 700; }

.kbr-card-note[b-h93v7kkm58] { margin: 0; color: var(--st-text-subtle); font-size: 12px; line-height: 1.45; }

.kbr-tasks[b-h93v7kkm58],
.kbr-steps[b-h93v7kkm58] { display: grid; margin: 0; padding: 0; list-style: none; }

.kbr-step[b-h93v7kkm58] { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; }

.kbr-step-mark[b-h93v7kkm58] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.kbr-step.is-ok .kbr-step-mark[b-h93v7kkm58] { color: var(--st-success-fg); }
.kbr-step.is-warn .kbr-step-mark[b-h93v7kkm58] { color: var(--st-warning-fg); }
.kbr-step.is-fail .kbr-step-mark[b-h93v7kkm58] { background: var(--st-danger-fg); color: var(--st-surface); }

.kbr-go[b-h93v7kkm58] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--st-text-body);
    font: inherit;
    font-size: 13px;
    text-align: left;
}

button.kbr-go[b-h93v7kkm58] { cursor: pointer; }
button.kbr-go:hover[b-h93v7kkm58] { background: var(--st-surface-sunken); color: var(--st-text-strong); }
button.kbr-go:focus-visible[b-h93v7kkm58] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbr-go > span:first-child[b-h93v7kkm58] { flex: 1 1 auto; min-width: 0; }

.kbr-arrow[b-h93v7kkm58] { flex: none; color: var(--st-text-subtle); font-size: 15px; line-height: 1; }

.kbr-step-state[b-h93v7kkm58] { flex: none; color: var(--st-text-subtle); font-size: 11.5px; }
.kbr-step.is-ok .kbr-step-state[b-h93v7kkm58] { color: var(--st-success-fg); }
.kbr-step.is-warn .kbr-step-state[b-h93v7kkm58] { color: var(--st-warning-fg); }
.kbr-step.is-fail .kbr-step-state[b-h93v7kkm58] { color: var(--st-danger-fg); font-weight: 700; }

@media (max-width: 1000px) {
    .kbr-cols[b-h93v7kkm58] { grid-template-columns: minmax(0, 1fr); }
}

.kbr-note[b-h93v7kkm58] {
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 13px;
}

/* F4 y D580: cómo está el taller en una línea, cuántas revisiones de cada estado y su barra. */
.kbr-summary[b-h93v7kkm58] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
    font-size: 13px;
}

.kbr-summary-text[b-h93v7kkm58] {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kbr-summary-text b[b-h93v7kkm58] { color: var(--st-text); font-size: 15px; }

.kbr-legend[b-h93v7kkm58] { display: flex; flex-wrap: wrap; gap: 2px 16px; color: var(--st-text-secondary); font-size: 12px; }

.kbr-count[b-h93v7kkm58] { display: inline-flex; align-items: center; gap: 6px; }

.kbr-count i[b-h93v7kkm58] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.kbr-bar[b-h93v7kkm58] {
    display: flex;
    flex: 1 0 100%;
    gap: 2px;
    height: 7px;
    border-radius: 4px;
    background: var(--st-border);
    overflow: hidden;
}

.kbr-bar i[b-h93v7kkm58] { flex: 0 1 0; height: 100%; }

.kbr-count.is-fail i[b-h93v7kkm58],
.kbr-bar i.is-fail[b-h93v7kkm58] { background: var(--st-danger-fg); }

.kbr-count.is-warn i[b-h93v7kkm58],
.kbr-bar i.is-warn[b-h93v7kkm58] { background: var(--st-warning-fg); }

.kbr-count.is-ok i[b-h93v7kkm58],
.kbr-bar i.is-ok[b-h93v7kkm58] { background: var(--st-success-fg); }

/* F4: «Falta para abrir», «Conviene revisar» y «Listo». */
.kbr-group[b-h93v7kkm58] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 14px;
}

.kbr-group-title[b-h93v7kkm58] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
}

.kbr-group-line[b-h93v7kkm58] {
    margin: 0 0 2px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.kbr-group.is-ok .kbr-mark[b-h93v7kkm58] { color: var(--st-success-fg); }
.kbr-group.is-warn .kbr-mark[b-h93v7kkm58] { color: var(--st-warning-fg); }
.kbr-group.is-fail .kbr-mark[b-h93v7kkm58] { background: var(--st-danger-fg); color: var(--st-surface); }

.kbr-where[b-h93v7kkm58] {
    color: var(--st-text-muted);
    font-size: 12px;
    font-style: italic;
}

.kbr-pills[b-h93v7kkm58] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbr-pill[b-h93v7kkm58] {
    padding: 3px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.kbr-list[b-h93v7kkm58] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbr-row[b-h93v7kkm58] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
}

.kbr-mark[b-h93v7kkm58] {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--st-surface-sunken);
}

.kbr-row.is-fail[b-h93v7kkm58] { border-left: 3px solid var(--st-danger-fg); }
.kbr-row.is-warn[b-h93v7kkm58] { border-left: 3px solid var(--st-warning-fg); }

.kbr-text[b-h93v7kkm58] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
}

.kbr-text span[b-h93v7kkm58] {
    color: var(--st-text-secondary);
}

/* F4 (A34): the values of the shop that depart from the GOG, the TSM or SysTime; each goes to its field. */
.kbr-own-icon[b-h93v7kkm58] {
    flex: none;
    width: 10px;
    height: 10px;
    fill: var(--st-info-fg);
}

.kbr-own[b-h93v7kkm58] {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbr-own-link[b-h93v7kkm58] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.kbr-own-link:hover[b-h93v7kkm58] { background: var(--st-surface-sunken); }

.kbr-own-link:focus-visible[b-h93v7kkm58] {
    outline: 2px solid var(--st-info-fg);
    outline-offset: 1px;
}

.kbr-own-where[b-h93v7kkm58] { font-weight: 600; }

.kbr-own-what[b-h93v7kkm58] { color: var(--st-info-text); }

/* F4: the assistant of the first setup, offered under the order of the setup (D580). */
.kbr-setup[b-h93v7kkm58] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 6px;
    color: var(--st-text-secondary);
    font-size: 12px;
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariScalesTab.razor.rz.scp.css */
.ksc-list[b-q7mlhtrme2] { display: grid; max-width: 620px; overflow: hidden; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface); }

.ksc-row[b-q7mlhtrme2] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 6px 14px;
    border-bottom: 1px solid var(--st-border);
    cursor: pointer;
}

.ksc-row:last-child[b-q7mlhtrme2] { border-bottom: 0; }

.ksc-row:has(input:disabled)[b-q7mlhtrme2] { cursor: default; }

.ksc-text[b-q7mlhtrme2] { display: grid; gap: 1px; }

.ksc-text b[b-q7mlhtrme2] { color: var(--st-text-strong); font-size: 13px; }

.ksc-row:not(.is-on) .ksc-text b[b-q7mlhtrme2] { color: var(--st-text-subtle); }

.ksc-text small[b-q7mlhtrme2] { color: var(--st-text-subtle); font-size: 12px; }

.ksc-note[b-q7mlhtrme2] { color: var(--st-text-subtle); font-size: 12px; }
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariTeamViewTab.razor.rz.scp.css */
.ktv-list[b-7psk9w2c0i] { display: grid; max-width: 820px; overflow: hidden; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface); }

.ktv-row[b-7psk9w2c0i] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--st-border);
    cursor: pointer;
}

.ktv-row:last-child[b-7psk9w2c0i] { border-bottom: 0; }

.ktv-row:has(input:disabled)[b-7psk9w2c0i] { cursor: default; }

.ktv-row.is-on[b-7psk9w2c0i] { background: var(--kodawari-selected-soft, var(--st-gold-bg)); box-shadow: inset 3px 0 0 var(--kodawari-selected, #e5b900); }

.ktv-row input[b-7psk9w2c0i] { width: 16px; height: 16px; margin: 0; accent-color: var(--st-accent, #d81b84); }

.ktv-row:focus-within[b-7psk9w2c0i] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: -2px; }

.ktv-text[b-7psk9w2c0i] { display: grid; gap: 1px; }

.ktv-text b[b-7psk9w2c0i] { color: var(--st-text-strong); font-size: 13px; }

.ktv-text small[b-7psk9w2c0i] { max-width: 60ch; color: var(--st-text-secondary); font-size: 12px; line-height: 1.35; }

.ktv-text small.ktv-note[b-7psk9w2c0i] { color: var(--st-text-subtle); font-style: italic; }

.ktv-bands[b-7psk9w2c0i] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 320px; }

.ktv-bands i[b-7psk9w2c0i] {
    padding: 1px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 11px;
    font-style: normal;
    line-height: 18px;
}

.ktv-link[b-7psk9w2c0i] { padding: 0 2px; border: 0; border-radius: 6px; background: transparent; color: var(--st-accent-text, #d81b84); font: inherit; font-weight: 600; cursor: pointer; }

.ktv-link:hover[b-7psk9w2c0i] { text-decoration: underline; }

.ktv-link:focus-visible[b-7psk9w2c0i] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

@media (max-width: 700px) {
    .ktv-row[b-7psk9w2c0i] { grid-template-columns: auto minmax(0, 1fr); }

    .ktv-bands[b-7psk9w2c0i] { grid-column: 2; justify-content: flex-start; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariUseRow.razor.rz.scp.css */
.kbu-row[b-uzmghqn2v3] {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 4px 12px;
    min-height: 44px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--st-border);
}

.kbu-row:last-child[b-uzmghqn2v3] { border-bottom: 0; }

.kbu-dot[b-uzmghqn2v3] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-border-strong, var(--st-text-subtle));
}

.kbu-row.is-on .kbu-dot[b-uzmghqn2v3] { background: var(--st-success-fg, #16a34a); }

.kbu-row.is-off .kbu-dot[b-uzmghqn2v3] { border: 1.5px solid var(--st-text-subtle); background: transparent; box-sizing: border-box; }

.kbu-text[b-uzmghqn2v3] { display: grid; gap: 1px; min-width: 0; }

.kbu-name[b-uzmghqn2v3] { color: var(--st-text-strong); font-size: 13px; font-weight: 600; }

.kbu-mark[b-uzmghqn2v3] {
    display: inline-block;
    margin-left: 8px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.kbu-note[b-uzmghqn2v3] { max-width: 70ch; color: var(--st-text-subtle); font-size: 12px; line-height: 1.35; }

.kbu-value[b-uzmghqn2v3] { color: var(--st-text-strong); font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.kbu-row.is-off .kbu-value[b-uzmghqn2v3] { color: var(--st-text-subtle); font-weight: 500; }

.kbu-go[b-uzmghqn2v3] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-accent-text, #d81b84);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.kbu-go:hover[b-uzmghqn2v3] { background: var(--st-surface-sunken); text-decoration: underline; }

.kbu-go:focus-visible[b-uzmghqn2v3] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kbu-go svg[b-uzmghqn2v3] { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.kbu-where[b-uzmghqn2v3] { color: var(--st-text-subtle); font-size: 12px; }

@media (max-width: 700px) {
    .kbu-row[b-uzmghqn2v3] { grid-template-columns: 10px minmax(0, 1fr) auto; }

    .kbu-go[b-uzmghqn2v3],
    .kbu-where[b-uzmghqn2v3] { grid-column: 2 / -1; justify-self: start; padding-left: 0; }
}
/* /Pages/Home/Components/Calendar/BoardsSettings/KodawariWorkshopHoursTab.razor.rz.scp.css */
/* D372: «Horas del taller». A table of process × level that scrolls inside the tab; the first column stays in sight. The common
   pieces (intro, switch, buttons, notes) are the popup's (.kbs-*, .kbz-*, .kb-btn); colors only from the tokens of the theme. */
.kbh-wrap[b-zb2b3wjemr] {
    max-height: 420px;
    overflow: auto;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.kbh-table[b-zb2b3wjemr] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

.kbh-table th[b-zb2b3wjemr],
.kbh-table td[b-zb2b3wjemr] {
    padding: 4px 8px;
    border-bottom: 1px solid var(--st-border);
    text-align: center;
    white-space: nowrap;
}

.kbh-table thead th[b-zb2b3wjemr] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--st-surface-muted);
    color: var(--st-text-subtle);
    font-weight: 600;
}

.kbh-table th[scope="row"][b-zb2b3wjemr],
.kbh-table thead th:first-child[b-zb2b3wjemr] {
    position: sticky;
    left: 0;
    text-align: left;
    background: var(--st-surface);
    color: var(--st-text);
    font-weight: 600;
}

.kbh-table thead th:first-child[b-zb2b3wjemr] { z-index: 2; background: var(--st-surface-muted); }

.kbh-table tr.is-quiet th[scope="row"][b-zb2b3wjemr] { color: var(--st-text-subtle); font-weight: 400; }

.kbh-input[b-zb2b3wjemr] {
    width: 72px;
    min-height: 30px;
    padding: 2px 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 7px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: right;
}

.kbh-input.is-missing[b-zb2b3wjemr] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

/* D502: the table of the cushions goes below the one of the hours. */
.kbh-section[b-zb2b3wjemr] { margin-top: 20px; }

.kbh-input:focus-visible[b-zb2b3wjemr] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kbh-input:disabled[b-zb2b3wjemr] { opacity: 0.7; cursor: not-allowed; }

@media (max-width: 640px) {
    .kbh-input[b-zb2b3wjemr] { width: 56px; }
}
/* /Pages/Home/Components/Calendar/CalendarPanel.razor.rz.scp.css */
/* Panel Calendario: la superficie del tema (blanca en claro, azul marino en oscuro, D136). La cabecera es una sola
   línea compacta para que el tablero disponga del máximo alto. */
.calendar-container-light[b-gkb2tfznfv] {
    /* Selección en toda la pantalla (D75): el amarillo de las pestañas de la app (Integraciones,
       empresas, bandeja) con texto azul marino. Lo elegido en un segmentado va lleno; un botón
       encendido o una zona abierta, en el tono suave con borde amarillo. El borde amarillo es igual
       en los dos modos; el tono suave y el texto siguen el tema (en oscuro, amarillo traslúcido y
       texto claro). */
    --kodawari-selected: #e5b900;
    --kodawari-selected-text: var(--st-text-brand);
    --kodawari-selected-soft: var(--st-gold-bg);

    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    /* Poco aire arriba y abajo: el alto es del tablero. */
    padding: 6px 16px;
    background: var(--st-surface);
    border-radius: 16px;
    /* Sin borde: la tarjeta se separa del marco solo por su fondo y su sombra. */
    border: 0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    color: var(--st-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

/* Sin conexión con el servidor (D261; reconnect-modal.js marca <html>): el calendario no recibe clics —se acumulaban y llegaban
   todos juntos al reconectar— y se atenúa pasado un segundo, para que un corte breve no parpadee. */
:root.systime-circuit-down .calendar-container-light[b-gkb2tfznfv] {
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.2s ease 1s;
}

/* Expandido (D81): ocupa toda la pantalla; sin el radio, el borde ni la sombra de la tarjeta. */
.calendar-container-light.is-expanded[b-gkb2tfznfv] {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* La cabecera común de los tres tableros (D545): ▦ [selector] ··· [buscador] [configuración] ┊ [colores] [i] ┊ [engranaje] [⤢] [✕]. El zoom
   bajó al pie, a la derecha de la línea de mensajes (D553). Solo en el JSCB, entre los colores y la «i», «Cómo planea» (D593): corre a la
   izquierda lo que va antes de él; la «i», el engranaje, ⤢ y ✕ no se mueven.
   El grupo derecho va anclado a la derecha y sus piezas miden lo mismo en los tres tableros: el engranaje, ⤢ y ✕ caen siempre
   en la misma caja. Es contenedor: al estrecharse, primero «Cómo planea» queda en su icono (D593), después el buscador se angosta y al final
   la configuración queda con su icono (D583);
   entre paso y paso, el nombre de la configuración que no quepa se corta en «…». El selector dice siempre lo mismo (D584: «OTs», «Plan»
   y «Avance»). La cápsula del filtro que iba al centro pasó a la línea de mensajes (D544). */
.calendar-header-light[b-gkb2tfznfv] {
    container: kodawari-head / inline-size;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 32px;
    margin-bottom: 8px;
    gap: 12px;
}

.header-right[b-gkb2tfznfv] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    margin-left: auto;
    gap: 6px;
}

/* D583: la configuración de los tableros, junto al buscador. Es lo único del grupo que se encoge: su nombre se corta en «…» (su título
   lo dice entero) y lo demás sigue en su sitio y a su tamaño. Sin ella (un servidor viejo) no deja hueco. */
.header-config[b-gkb2tfznfv] {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
}

.header-config:empty[b-gkb2tfznfv] {
    display: none;
}

/* Las tres familias del grupo derecho, separadas por una raya: buscador ┊ herramientas del tablero ┊ ventana. */
.header-tools[b-gkb2tfznfv],
.header-window[b-gkb2tfznfv] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding-left: 6px;
    border-left: 1px solid var(--st-border);
}

/* Mientras se sabe qué tableros usa el taller (D108) no hay tablero ni herramientas: sin la raya de una familia vacía. */
.header-tools:empty[b-gkb2tfznfv] {
    display: none;
}

/* ⤢ y ✕ conservan los 8 px de antes; el engranaje, sin permisos, no se dibuja (y no deja hueco). */
.header-window[b-gkb2tfznfv] {
    gap: 8px;
}

/* El selector de tablero, 12 px tras el icono (8 del grupo y 4 propios); el título ya no ocupa sitio (D551). */
.header-board[b-gkb2tfznfv] {
    display: flex;
    flex: none;
    align-items: center;
    margin-left: 4px;
}

.header-board:empty[b-gkb2tfznfv] {
    display: none;
}

/* ─── Buscador del tablero (D35) ───────────────────────────────────────────── */
.calendar-search[b-gkb2tfznfv] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 8px 0 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.calendar-search svg[b-gkb2tfznfv] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
}

.calendar-search:focus-within[b-gkb2tfznfv] {
    border-color: #d81b84;
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.12);
}

.calendar-search.is-active[b-gkb2tfznfv] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.calendar-search-input[b-gkb2tfznfv] {
    width: 150px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 12.5px;
    outline: none;
}

/* Bloqueada mientras se mueven las OT de un proceso (v12 G4b). */
.calendar-search.is-locked[b-gkb2tfznfv] {
    opacity: 0.55;
    cursor: not-allowed;
}

.calendar-search.is-locked .calendar-search-input[b-gkb2tfznfv] {
    cursor: not-allowed;
}

.calendar-search-input[b-gkb2tfznfv]::placeholder {
    color: var(--st-text-muted);
}

.header-left[b-gkb2tfznfv] {
    display: flex;
    flex: none;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.header-icon-badge-light[b-gkb2tfznfv] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* D551: el texto «Calendario» ya no se ve; el icono y el selector de tablero bastan. Sigue para el lector de pantalla. */
.calendar-title-light[b-gkb2tfznfv] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* D545: lo que cede la cabecera al estrecharse, siempre lo mismo en los tres tableros (el buscador y la configuración son comunes).
   Medido con la cabecera del panel. D583: con la configuración en la cabecera («Jefe de Taller», 139 px, los 6 del grupo y los 14 del
   punto de «vista temporal») el buscador cede dejando al menos 22 px libres con ese nombre entero; uno más largo se corta. D584: el
   selector solo dice los nombres cortos (155 px; con las siglas, 357), así que ya no cede nada y lo demás cede mucho más tarde (el
   buscador, a 920 px en D583). D593: cada paso va 34 px antes que entonces (820, 730 y 690), lo que ocupa «Cómo planea» en su icono, para
   que los tres tableros cedan a la vez. Por debajo de 764 px la configuración queda en su icono (DcbLayoutPicker.razor.css), por debajo de
   724 el buscador cede otro poco y por debajo de 653, lo último: así la cabecera cabe hasta 620 px, como antes (617). */
@container kodawari-head (max-width: 854px) {
    .calendar-search-input[b-gkb2tfznfv] {
        width: 121px;
    }
}

@container kodawari-head (max-width: 724px) {
    .calendar-search-input[b-gkb2tfznfv] {
        width: 80px;
    }
}

@container kodawari-head (max-width: 653px) {
    .calendar-search-input[b-gkb2tfznfv] {
        width: 46px;
    }
}

/* Pantalla completa (D81): el mismo botón claro que el cierre; encendido, en el amarillo suave de la selección. */
.expand-panel-btn-light[b-gkb2tfznfv] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.expand-panel-btn-light svg[b-gkb2tfznfv] {
    width: 14px;
    height: 14px;
}

.expand-panel-btn-light:hover[b-gkb2tfznfv] {
    background: var(--st-surface);
    border-color: var(--st-border-stronger);
    color: var(--st-text);
}

.expand-panel-btn-light.is-on[b-gkb2tfznfv],
.expand-panel-btn-light.is-on:hover[b-gkb2tfznfv] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.expand-panel-btn-light:focus-visible[b-gkb2tfznfv] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.close-panel-btn-light[b-gkb2tfznfv] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.close-panel-btn-light:hover[b-gkb2tfznfv] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: #ef4444;
}

.close-panel-btn-light:focus-visible[b-gkb2tfznfv] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* El tablero ocupa todo el alto restante y gestiona su propio scroll. */
.calendar-body[b-gkb2tfznfv] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Mientras se sabe qué tableros usa el taller (D108): una línea, sin montar ninguno. */
.calendar-body-state[b-gkb2tfznfv] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-subtle);
    font-size: 13px;
}
/* /Pages/Home/Components/Calendar/Components/PocketsBoard/WorkshopPocketCard.razor.rz.scp.css */
/* =========================================
   WorkshopPocketCard.razor.css — Physical Pocket Card & Sleeve (Full Soft Tone Tint)
   ========================================= */

.workshop-pocket-slot-container[b-df1ez223qo] {
    position: relative;
    width: 100%;
    height: 86px;
    min-height: 86px;
    max-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* The rack grid already provides the 6px separation between work orders. Keeping a second
       bottom margin made a single card overflow a 1x1 DCB row. */
    margin-bottom: 0;
    box-sizing: border-box;
    overflow: visible !important;
    padding-top: 4px;
}

/* ── The Physical Card (Independent, Nestled Inside the Pocket Slot) ── */
.workshop-pocket-card[b-df1ez223qo] {
    position: relative;
    z-index: 2;
    /* Ancho único de la tarjeta de orden: lo publica CalendarPanel desde
       `DcbGridLayout.CardWidthPixels`, así mide lo mismo en PROC, JSCB, JPCB y en el panel de un
       bolsillo recogido. Medida contra el 100 % de la columna, el DCB —con su columna más ancha—
       dibujaba tarjetas más anchas que los otros dos tableros. El calce a cada lado lo sigue
       repartiendo el centrado.

       Los tres anchos son el mismo valor a propósito: con solo `width`, un pie largo —el contador de
       días cuando la orden no tiene fecha de ingreso— ensanchaba la tarjeta y rompía la retícula. El respaldo de 144 px
       —`DcbGridLayout.CardWidthPixels`— cubre el caso de que la tarjeta se dibuje fuera del panel
       que publica la variable: sin él, `width` quedaría en `auto` y volvería a mandar el contenido. */
    --pocket-card-width: var(--work-order-card-width, 144px);
    width: var(--pocket-card-width);
    min-width: var(--pocket-card-width);
    max-width: var(--pocket-card-width);
    flex: 0 0 auto;
    align-self: center;
    margin: 0 auto;
    background-color: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px 16px 10px 10px;
    cursor: grab;
    box-shadow: 0 -4px 7px -1px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.35, 0.64, 1), box-shadow 0.25s ease;
    user-select: none;
    box-sizing: border-box;
    height: 82px;
    min-height: 82px;
    max-height: 82px;
    padding: 5px 8px 11px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible !important;
    will-change: transform, box-shadow;
}

/* Animación física: Al pasar el mouse, la tarjeta se extrae con sombra sutil y contenida sin tocar bordes laterales */
.workshop-pocket-card:hover[b-df1ez223qo] {
    transform: translateY(-8px);
    box-shadow: 0 -4px 8px -1px rgba(15, 23, 42, 0.09);
    z-index: 2; /* Se mantiene siempre dentro del riel detrás de la solapa frontal */
}

.workshop-pocket-card.dragging[b-df1ez223qo] {
    opacity: 0.45 !important;
    transform: scale(0.97);
}

.workshop-pocket-card.pending-handover[b-df1ez223qo] {
    cursor: wait;
    opacity: 0.72;
}

.handover-pending-label[b-df1ez223qo] {
    position: absolute;
    inset: auto 8px 6px 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.pocket-card-traffic-indicator[b-df1ez223qo] {
    position: absolute;
    left: 5px;
    top: 8px;
    width: 6px;
    height: 38px;
    border-radius: 3px;
    flex-shrink: 0;
    z-index: 3;
    pointer-events: none;
    transition: background-color 0.2s ease;
}

/* ── Physical Pocket Base & Front Notch Lip (Spans 100% Flush to Column Borders, Deep Pocketing) ── */
.pocket-slot-front-notch[b-df1ez223qo] {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 22px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 -3px 3px rgba(15, 23, 42, 0.12));
    clip-path: inset(-12px 1px 0px 1px);
}

.pocket-slot-front-notch[b-df1ez223qo]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--st-surface-muted) !important;
    clip-path: polygon(0 0, 10px 0, 20px 10px, calc(100% - 20px) 10px, calc(100% - 10px) 0, 100% 0, 100% 100%, 0 100%);
}

/* ── Card Main Content ── */
.card-main-content[b-df1ez223qo] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 0;
}

/* Line 1: OT Number (Siempre visible, con prioridad de capa por encima de la matrícula) */
.card-ot-number[b-df1ez223qo] {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body) !important;
    line-height: 1.15;
    min-height: 16px;
    margin: 0 0 1px 0;
    padding: 0 26px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    display: block;
    box-sizing: border-box;
    width: 100%;
}

/* Line 2: Plate Number + Insurance Badge (Debajo de la OT, sin solaparla) */
.card-plate-row[b-df1ez223qo] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    margin-top: 1px;
    margin-bottom: 2px;
    width: 100%;
    line-height: 1.2;
}

.card-plate-number[b-df1ez223qo] {
    font-family: 'DIN 1451', 'DIN 1451 Mittelschrift', 'Bahnschrift', 'DIN Alternate', 'DIN Next LT Pro', 'DINPro', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-brand) !important;
    letter-spacing: -0.2px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

/* Damage Level Badge (Gold/Ochre Circle - En el borde superior derecho sin borde blanco) */
.damage-level-badge[b-df1ez223qo] {
    position: absolute;
    top: -8px;
    right: 1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 6;
    pointer-events: none;
    line-height: 1;
}

.insurance-badge-container[b-df1ez223qo] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 48px;
    height: 16px;
    margin-left: auto;
    margin-top: -6px;
    transform: translateY(-3px);
    flex-shrink: 0;
}

.insurance-logo-img[b-df1ez223qo] {
    max-height: 14px;
    max-width: 45px;
    object-fit: contain;
    border-radius: 2px;
}

/* Particular: Ícono morado sin texto */
.particular-shield-icon[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #c026d3;
    filter: drop-shadow(0 1px 2px rgba(192, 38, 211, 0.25));
    line-height: 1;
}

.insurance-name-pill[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 5px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 8.5px;
    font-weight: 700;
    color: var(--st-text-secondary);
    white-space: nowrap;
    line-height: 1;
}

.insurance-name-pill.priority-high[b-df1ez223qo] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
}

.insurance-label-text[b-df1ez223qo] {
    letter-spacing: -0.2px;
}

/* Line 3: Days in Workshop + Technician Avatar (Completamente visible por encima de la solapa) */
.card-footer-row[b-df1ez223qo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin-top: 2px;
    padding-bottom: 0;
}

.card-days-counter[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--st-text-subtle);
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1;
    margin-bottom: 0;
    transform: translateY(-4px);
    min-width: 0;
    overflow: hidden;
}

/* El texto se recorta dentro del ancho fijo de la tarjeta en vez de estirarla. */
.card-days-text[b-df1ez223qo] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pocket-card-indicator[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    margin-left: 2px;
    vertical-align: middle;
}

.pocket-card-indicator.is-ready[b-df1ez223qo] {
    color: #10b981;
    opacity: 0.95;
}

.pocket-card-indicator.is-authorized-only[b-df1ez223qo] {
    color: var(--st-info-fg);
    opacity: 0.95;
}

.pocket-card-indicator.is-pending-auth[b-df1ez223qo] {
    color: #f59e0b;
    opacity: 0.95;
}

/* Reloj minimalista: la OT ya tiene horas asignadas a procesos de reparación. Va en el mismo
   tono que los días y con trazo fino para que informe sin competir con el semáforo ni el nivel. */
.repair-hours-clock[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    color: var(--st-text-subtle);
    opacity: 0.85;
    flex-shrink: 0;
}

.repair-hours-clock svg[b-df1ez223qo] {
    width: 12px;
    height: 12px;
    stroke-width: 2.25;
}

.authorization-shield[b-df1ez223qo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    color: #10b981;
    opacity: 0.9;
    flex-shrink: 0;
}

.card-tech-avatar[b-df1ez223qo] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-tech-avatar img[b-df1ez223qo] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--st-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    display: block;
}

.tech-initials-avatar[b-df1ez223qo] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--st-surface);
    letter-spacing: -0.5px;
    user-select: none;
}
/* /Pages/Home/Components/Calendar/Contacts/CustomerContactForm.razor.rz.scp.css */
/* F12: el formulario de un contacto con el cliente. */
.ccf[b-l97n57y91f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ccf-field[b-l97n57y91f] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.ccf-field.is-wide[b-l97n57y91f] {
    grid-column: 1 / -1;
}

.ccf-field select[b-l97n57y91f],
.ccf-field input[b-l97n57y91f] {
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 13px;
}

.ccf-error[b-l97n57y91f] {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    color: var(--st-danger-text);
}

.ccf-actions[b-l97n57y91f] {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
}

.ccf-btn[b-l97n57y91f] {
    padding: 6px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ccf-btn.is-primary[b-l97n57y91f] {
    border-color: var(--st-accent);
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.ccf-btn:disabled[b-l97n57y91f] {
    opacity: 0.55;
    cursor: default;
}
/* /Pages/Home/Components/Calendar/Contacts/KodawariContactsSection.razor.rz.scp.css */
/* F12: los contactos con el cliente en la ficha de la OT. */
.kcs[b-991qxoxepr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.kcs-head[b-991qxoxepr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kcs-title[b-991qxoxepr] {
    color: var(--st-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kcs-add[b-991qxoxepr] {
    padding: 4px 10px;
    border: 1px solid var(--st-accent-border);
    border-radius: 8px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.kcs-promise[b-991qxoxepr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.kcs-promise.is-warn[b-991qxoxepr] {
    padding: 6px 8px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.kcs-list[b-991qxoxepr] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
    color: var(--st-text);
}

.kcs-list li[b-991qxoxepr] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
}

.kcs-when[b-991qxoxepr],
.kcs-who[b-991qxoxepr] {
    color: var(--st-text-muted);
}

.kcs-note[b-991qxoxepr] {
    flex-basis: 100%;
    color: var(--st-text-secondary);
}

.kcs-quiet[b-991qxoxepr],
.kcs-notice[b-991qxoxepr] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.kcs-notice.is-error[b-991qxoxepr] {
    color: var(--st-danger-text);
}
/* /Pages/Home/Components/Calendar/Dcb/DcbAgendaDialog.razor.rz.scp.css */
/* D503 (F0): «Citas». Sobre el tablero y bajo la pregunta de soltar (1200) y los avisos de los tableros (9990).
   Va centrado con su fondo; mientras la ficha abre la entrada o «ENTREGA», va a la derecha, sin fondo (is-compact). Solo tokens del tema:
   claro y oscuro salen solos. Se centra con inset y margin, sin transform: un transform haría de la caja el marco de lo fijo que
   lleva dentro (las preguntas de la ficha, ConfirmModal) y las encerraría en el diálogo. */
.dag-backdrop[b-fjllvm67v9] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    /* El mismo tinte oscuro y desenfoque que la ventana de «Flujo de procesos» (pf-overlay). */
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.dag-dialog[b-fjllvm67v9] {
    position: fixed;
    inset: 0;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(1560px, calc(100vw - 96px));
    height: min(980px, calc(100dvh - 80px));
    margin: auto;
    box-sizing: border-box;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.dag-dialog:focus[b-fjllvm67v9] {
    outline: none;
}

.dag-dialog.is-compact[b-fjllvm67v9] {
    inset: 16px 16px 16px auto;
    width: min(420px, calc(100vw - 32px));
    height: auto;
    margin: 0;
}

.dag-head[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--st-border);
}

.dag-icon[b-fjllvm67v9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
}

.dag-icon svg[b-fjllvm67v9] {
    width: 18px;
    height: 18px;
}

.dag-heading[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.dag-heading h2[b-fjllvm67v9] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text-brand);
}

.dag-day[b-fjllvm67v9] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.dag-size[b-fjllvm67v9] {
    display: inline-flex;
    flex: none;
    padding: 2px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.dag-size button[b-fjllvm67v9] {
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.dag-size button[aria-pressed="true"][b-fjllvm67v9] {
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.dag-close[b-fjllvm67v9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
}

.dag-close:hover[b-fjllvm67v9] {
    background: var(--st-surface-muted);
    color: var(--st-text);
}

.dag-close svg[b-fjllvm67v9] {
    width: 16px;
    height: 16px;
}

.dag-size button:focus-visible[b-fjllvm67v9],
.dag-close:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

.dag-kpis[b-fjllvm67v9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border);
}

.dag-dialog.is-compact .dag-kpis[b-fjllvm67v9] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dag-kpi[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-sunken);
}

.dag-kpi b[b-fjllvm67v9] {
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--st-text);
}

.dag-kpi small[b-fjllvm67v9] {
    font-size: 11.5px;
    color: var(--st-text-muted);
}

.dag-kpi.is-warn[b-fjllvm67v9] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

.dag-kpi.is-warn b[b-fjllvm67v9] {
    color: var(--st-warning-text);
}

.dag-kpi.is-ok b[b-fjllvm67v9] {
    color: var(--st-success-fg);
}


/* F1: las acciones de siempre y «Próximo libre», siempre a la vista. */
.dag-tools[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--st-border);
}

.dag-btn[b-fjllvm67v9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dag-btn:hover:not(:disabled)[b-fjllvm67v9] {
    background: var(--st-surface-muted);
}

.dag-btn.is-primary[b-fjllvm67v9] {
    border-color: var(--st-text-brand);
    background: var(--st-text-brand);
    color: var(--st-surface);
}

.dag-btn.is-primary:hover:not(:disabled)[b-fjllvm67v9] {
    background: var(--st-text-brand);
    filter: brightness(1.1);
}

.dag-btn:disabled[b-fjllvm67v9],
.dag-link:disabled[b-fjllvm67v9],
.dag-free:disabled[b-fjllvm67v9] {
    opacity: 0.55;
    cursor: not-allowed;
}

.dag-next[b-fjllvm67v9] {
    margin-left: auto;
}

.dag-btn.dag-next span[b-fjllvm67v9] {
    color: var(--st-text-muted);
    font-weight: 600;
}

.dag-btn.dag-next b[b-fjllvm67v9] {
    font-variant-numeric: tabular-nums;
}

.dag-next.is-none[b-fjllvm67v9] {
    color: var(--st-text-muted);
    font-size: 12.5px;
}

.dag-btn:focus-visible[b-fjllvm67v9],
.dag-link:focus-visible[b-fjllvm67v9],
.dag-free:focus-visible[b-fjllvm67v9],
.dag-block:focus-visible[b-fjllvm67v9],
.dag-pending-row:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

/* Tres zonas: «Pendientes», el día y la ficha. En «Panel lateral», una sola: la ficha si hay, o el día y debajo «Pendientes». */
.dag-layout[b-fjllvm67v9] {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}

.dag-layout.has-sheet[b-fjllvm67v9] {
    grid-template-columns: 260px minmax(0, 1fr) 392px;
}

.dag-dialog.is-compact .dag-layout[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dag-pending[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 14px;
    border-right: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    overflow-y: auto;
}

.dag-dialog.is-compact .dag-pending[b-fjllvm67v9] {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--st-border);
    overflow: visible;
}

.dag-col-title[b-fjllvm67v9] {
    margin: 0;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 800;
}

.dag-pending-group[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dag-pending-group h4[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dag-count[b-fjllvm67v9] {
    min-width: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-size: 11px;
    text-align: center;
    letter-spacing: 0;
}

.dag-pending-row[b-fjllvm67v9],
.dag-ready[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
}

.dag-pending-row[b-fjllvm67v9] {
    cursor: pointer;
}

.dag-pending-row:hover[b-fjllvm67v9] {
    border-color: var(--st-border-strong);
}

.dag-pending-row.is-selected[b-fjllvm67v9] {
    border-color: var(--st-brand-gold);
    box-shadow: 0 0 0 1px var(--st-brand-gold);
}

.dag-pending-top[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dag-pending-row small[b-fjllvm67v9],
.dag-ready small[b-fjllvm67v9] {
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dag-pending-row small.is-empty[b-fjllvm67v9] {
    font-style: italic;
}

/* F6: «Llamadas de hoy». Filtros por motivo, el motivo y los intentos de cada llamada, y el mensaje para copiar. */
.dag-call-filters[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.dag-chip[b-fjllvm67v9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.dag-chip b[b-fjllvm67v9] {
    color: var(--st-text);
    font-variant-numeric: tabular-nums;
}

.dag-chip[aria-pressed="true"][b-fjllvm67v9] {
    border-color: var(--st-text-brand);
    background: var(--st-text-brand);
    color: var(--st-surface);
}

.dag-chip[aria-pressed="true"] b[b-fjllvm67v9] {
    color: var(--st-surface);
}

.dag-chip:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

.dag-call-meta[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 11.5px;
}

.dag-call-why[b-fjllvm67v9] {
    padding: 0 6px;
    border-radius: 4px;
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-weight: 700;
}

.dag-call-why.is-noshow[b-fjllvm67v9] {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.dag-call-tries[b-fjllvm67v9] {
    color: var(--st-text-muted);
}

.dag-call-tries.is-warn[b-fjllvm67v9] {
    color: var(--st-warning-text);
    font-weight: 600;
}

.dag-call[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dag-call.is-open .dag-pending-row[b-fjllvm67v9] {
    border-color: var(--st-text-brand);
}

.dag-call-open[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
}

.dag-call-script[b-fjllvm67v9] {
    margin: 0;
    padding: 8px 10px;
    border-left: 3px solid var(--st-text-brand);
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text);
    font-size: 12.5px;
    line-height: 1.45;
    user-select: text;
}

/* F7: copiar el mensaje y «Ver la OT», en una fila. */
.dag-call-tools[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dag-ready[b-fjllvm67v9] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dag-ready-text[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dag-link[b-fjllvm67v9] {
    flex: none;
    padding: 2px 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-brand);
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.dag-link:hover:not(:disabled)[b-fjllvm67v9] {
    text-decoration: underline;
}

.dag-quiet[b-fjllvm67v9] {
    margin: 0;
    color: var(--st-text-muted);
    font-size: 12.5px;
}

.dag-quiet.is-center[b-fjllvm67v9] {
    margin: 32px auto;
    text-align: center;
}

/* El día: una columna por tipo de cita, las valoraciones en tantas parejas como el cupo; una fila por media hora. */
.dag-day-col[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: auto;
}

.dag-dialog.is-compact .dag-day-col[b-fjllvm67v9] {
    flex: none;
    overflow-x: auto;
}

.dag-closed[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 12px 16px 0;
    padding: 8px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 13px;
    font-weight: 600;
}

.dag-grid-wrap[b-fjllvm67v9] {
    padding: 0 16px 16px;
}

.dag-grid-head[b-fjllvm67v9] {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    padding-top: 12px;
    background: var(--st-surface);
}

.dag-group[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 6px 8px;
    border-bottom: 2px solid var(--st-border-strong);
    color: var(--st-text);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.dag-group small[b-fjllvm67v9] {
    color: var(--st-text-muted);
    font-size: 11.5px;
    font-weight: 600;
}

.dag-letter[b-fjllvm67v9] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 800;
}

.dag-grid[b-fjllvm67v9] {
    position: relative;
    display: grid;
}

.dag-time[b-fjllvm67v9] {
    grid-column: 1;
    padding: 0 8px 0 0;
    color: var(--st-text-muted);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    text-align: right;
    transform: translateY(-0.6em);
}

/* La primera hora va al borde de arriba: subida como las demás, quedaría bajo la cabecera de las columnas. */
.dag-time.is-first[b-fjllvm67v9] {
    transform: none;
}

.dag-time.is-hour[b-fjllvm67v9] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 700;
}

.dag-row[b-fjllvm67v9] {
    grid-column: 2 / -1;
    border-top: 1px dashed var(--st-border);
}

.dag-row.is-hour[b-fjllvm67v9] {
    border-top-style: solid;
}

.dag-row.is-past[b-fjllvm67v9] {
    background: var(--st-surface-sunken);
}

/* Sin turno: rayado suave dibujado con SVG (no repeating-linear-gradient: congeló el JSCB en Safari). */
.dag-row.is-off[b-fjllvm67v9] {
    background-color: var(--st-surface-sunken);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%2394a3b8' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
}

.dag-lane[b-fjllvm67v9] {
    grid-row: 1 / -1;
    border-left: 1px dashed var(--st-border);
    pointer-events: none;
}

.dag-lane.is-first[b-fjllvm67v9] {
    border-left: 1px solid var(--st-border-strong);
}

.dag-free[b-fjllvm67v9],
.dag-nopair[b-fjllvm67v9] {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 3px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.dag-free[b-fjllvm67v9] {
    border: 1px dashed var(--st-border-strong);
    background: transparent;
    color: var(--st-text-muted);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.dag-free svg[b-fjllvm67v9] {
    width: 12px;
    height: 12px;
}

.dag-free:hover:not(:disabled)[b-fjllvm67v9] {
    border-style: solid;
    border-color: var(--st-text-brand);
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
}

.dag-nopair[b-fjllvm67v9] {
    color: var(--st-text-muted);
    background-color: var(--st-surface-sunken);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%2394a3b8' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
}

/* La cita: borde e icono sólido por estado, siempre con su palabra («Tarde 40 min», «Llegó 9:26»). Por confirmar va punteada. */
.dag-block[b-fjllvm67v9] {
    --dag-state: var(--st-text-muted);
    container-type: inline-size;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin: 2px 3px;
    padding: 4px 7px;
    overflow: hidden;
    border: 1px solid var(--st-border-strong);
    border-left: 4px solid var(--dag-state);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.dag-block:hover[b-fjllvm67v9] {
    border-color: var(--dag-state);
}

.dag-block.is-pending[b-fjllvm67v9] {
    --dag-state: #f59e0b;
    border-style: dashed;
    border-left-style: solid;
}

.dag-block.is-confirmed[b-fjllvm67v9] {
    --dag-state: #3b82f6;
}

.dag-block.is-arrived[b-fjllvm67v9] {
    --dag-state: var(--st-success-fg);
}

.dag-block.is-late[b-fjllvm67v9] {
    --dag-state: #f59e0b;
    background: var(--st-warning-bg);
}

.dag-block.is-done[b-fjllvm67v9] {
    opacity: 0.7;
}

.dag-block.is-over[b-fjllvm67v9] {
    outline: 1px dashed var(--st-warning-border);
    outline-offset: -3px;
}

.dag-block.is-selected[b-fjllvm67v9] {
    border-color: var(--st-brand-gold);
    box-shadow: 0 0 0 2px var(--st-brand-gold);
}

.dag-block.is-short[b-fjllvm67v9] {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 2px 6px;
}

.dag-block-top[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.dag-plate[b-fjllvm67v9] {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.dag-lock[b-fjllvm67v9] {
    flex: none;
    width: 12px;
    height: 12px;
    color: var(--st-text-secondary);
}

.dag-block-time[b-fjllvm67v9] {
    margin-left: auto;
    color: var(--st-text-muted);
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dag-block.is-short .dag-block-time[b-fjllvm67v9] {
    display: none;
}

/* Un carril angosto (la ficha abierta, muchas parejas a la misma hora) suelta la hora del bloque: la dicen la columna de las horas y su
   altura, y la placa y el estado caben enteros. */
@container (max-width: 124px) {
    .dag-block-time[b-fjllvm67v9] {
        display: none;
    }
}

.dag-block-customer[b-fjllvm67v9] {
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dag-block-customer.is-empty[b-fjllvm67v9] {
    font-style: italic;
}

.dag-state[b-fjllvm67v9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dag-state svg[b-fjllvm67v9] {
    flex: none;
    width: 12px;
    height: 12px;
    color: var(--dag-state);
}

.dag-block.is-late .dag-state[b-fjllvm67v9] {
    color: var(--st-warning-text);
}

/* «Ahora»: la línea magenta sobre las columnas, con su hora en la columna de las horas (en la de las citas tapaba su estado). */
.dag-now[b-fjllvm67v9] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 0;
    border-top: 2px solid var(--st-accent);
    pointer-events: none;
}

.dag-now span[b-fjllvm67v9] {
    box-sizing: border-box;
    width: 48px;
    margin-left: 2px;
    padding: 1px 0;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transform: translateY(-1px);
}

/* La ficha: el panel de la cita del tablero, tal cual, con sus acciones. */
.dag-sheet[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 12px;
    border-left: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
}

.dag-dialog.is-compact .dag-sheet[b-fjllvm67v9] {
    flex: 1 1 auto;
    border-left: 0;
}

.dag-sheet[b-fjllvm67v9]  .dcb-appt {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.dag-back[b-fjllvm67v9] {
    align-self: flex-start;
}

/* F2: «Día» o «Semana» y la tira de hoy y los 13 días que siguen, cada uno con las valoraciones que aún caben. El día mostrado lleva el
   dorado de lo seleccionado; hoy, su nombre en el color de la marca. */
.dag-nav[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 16px;
    border-bottom: 1px solid var(--st-border);
}

.dag-days[b-fjllvm67v9] {
    display: flex;
    gap: 6px;
    min-width: 0;
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.dag-tab[b-fjllvm67v9] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 64px;
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dag-tab b[b-fjllvm67v9] {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dag-tab small[b-fjllvm67v9] {
    color: var(--st-text-secondary);
    font-size: 11px;
    white-space: nowrap;
}

.dag-tab:hover[b-fjllvm67v9] {
    background: var(--st-surface-muted);
}

.dag-tab.is-today b[b-fjllvm67v9] {
    color: var(--st-text-brand);
}

.dag-tab.is-full small[b-fjllvm67v9],
.dag-tab.is-closed small[b-fjllvm67v9] {
    color: var(--st-text-muted);
}

.dag-tab.is-closed[b-fjllvm67v9] {
    background: var(--st-surface-sunken);
}

.dag-tab.is-current[b-fjllvm67v9] {
    border-color: var(--st-brand-gold);
    box-shadow: 0 0 0 1px var(--st-brand-gold);
}

/* La semana: una celda por cupo de valoración y un solo tono, más intenso cuanto más ocupado. Lo que no abre va rayado (SVG, no
   repeating-linear-gradient) y lo que ya pasó, apagado. */
.dag-week-col[b-fjllvm67v9] {
    padding: 0 16px 16px;
}

.dag-week-bar[b-fjllvm67v9] {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    background: var(--st-surface);
}

.dag-week-bar b[b-fjllvm67v9] {
    min-width: 150px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.dag-btn.is-icon[b-fjllvm67v9] {
    justify-content: center;
    width: 32px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.dag-week[b-fjllvm67v9] {
    display: grid;
    grid-template-columns: 52px repeat(7, minmax(88px, 1fr));
    gap: 4px;
}

.dag-week-corner[b-fjllvm67v9] {
    grid-row: 1;
    grid-column: 1;
}

.dag-week-head[b-fjllvm67v9] {
    position: sticky;
    top: 52px;
    z-index: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dag-week-head b[b-fjllvm67v9] {
    font-size: 12px;
    font-weight: 700;
}

.dag-week-head small[b-fjllvm67v9] {
    color: var(--st-text-muted);
    font-size: 11px;
}

.dag-week-head.is-today b[b-fjllvm67v9] {
    color: var(--st-text-brand);
}

.dag-week-head:hover[b-fjllvm67v9] {
    background: var(--st-surface-muted);
}

.dag-week-time[b-fjllvm67v9] {
    grid-column: 1;
    align-self: center;
    padding-right: 8px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.dag-wcell[b-fjllvm67v9] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 4px;
    border: 1px solid var(--st-info-border);
    border-radius: 6px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
}

.dag-wcell[b-fjllvm67v9]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--st-info-fg);
    opacity: 0;
    pointer-events: none;
}

.dag-wcell span[b-fjllvm67v9] {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dag-wcell.load-1[b-fjllvm67v9]::before {
    opacity: 0.12;
}

.dag-wcell.load-2[b-fjllvm67v9]::before {
    opacity: 0.24;
}

.dag-wcell.load-3[b-fjllvm67v9]::before {
    opacity: 0.36;
}

.dag-wcell.load-4[b-fjllvm67v9]::before {
    opacity: 0.5;
}

.dag-wcell.is-full span[b-fjllvm67v9] {
    font-weight: 800;
}

.dag-wcell:hover:not(:disabled)[b-fjllvm67v9] {
    border-color: var(--st-info-fg);
}

.dag-wcell:disabled[b-fjllvm67v9] {
    cursor: not-allowed;
}

.dag-wcell.is-past[b-fjllvm67v9] {
    border-color: var(--st-border);
    background: var(--st-surface-sunken);
    cursor: default;
}

.dag-wcell.is-past[b-fjllvm67v9]::before {
    display: none;
}

.dag-wcell.is-off[b-fjllvm67v9] {
    border-color: transparent;
    background-color: var(--st-surface-sunken);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%2394a3b8' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
    cursor: default;
}

.dag-tab:focus-visible[b-fjllvm67v9],
.dag-week-head:focus-visible[b-fjllvm67v9],
.dag-wcell:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

/* F3: «Personas», de solo lectura. Una pista por persona sobre las horas del taller del día: fuera de turno rayado (SVG, no
   repeating-linear-gradient), lo que la bloquea con su motivo y sus citas con el color de su estado, como en el día. «Ahora» es la línea
   magenta. */
.dag-people-col[b-fjllvm67v9] {
    padding: 0 16px 16px;
}

.dag-people[b-fjllvm67v9] {
    min-width: 760px;
}

.dag-prow[b-fjllvm67v9] {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    border-bottom: 1px solid var(--st-border);
}

.dag-prow.is-head[b-fjllvm67v9] {
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 0;
    background: var(--st-surface);
}

.dag-pname[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    padding-right: 12px;
}

.dag-pname b[b-fjllvm67v9] {
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dag-pname small[b-fjllvm67v9] {
    color: var(--st-text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.dag-prole[b-fjllvm67v9] {
    margin: 14px 0 4px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dag-ptrack[b-fjllvm67v9] {
    position: relative;
    height: 44px;
    border-left: 1px solid var(--st-border);
}

.dag-ptrack.is-head[b-fjllvm67v9] {
    height: 32px;
    border-left: 0;
}

.dag-ptrack.is-head span[b-fjllvm67v9] {
    position: absolute;
    top: 10px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    transform: translateX(4px);
}

.dag-pbar[b-fjllvm67v9] {
    position: absolute;
    top: 6px;
    bottom: 6px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    padding: 0 6px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 11px;
    white-space: nowrap;
}

.dag-pbar > span[b-fjllvm67v9] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dag-pbar.is-off[b-fjllvm67v9] {
    top: 0;
    bottom: 0;
    border-radius: 0;
    background-color: var(--st-surface-sunken);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%2394a3b8' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
    color: var(--st-text-muted);
}

.dag-pbar.is-blocked[b-fjllvm67v9] {
    z-index: 1;
    border-color: var(--st-border-strong);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-weight: 600;
}

.dag-pbar.is-appointment[b-fjllvm67v9] {
    --dag-state: var(--st-text-muted);
    z-index: 2;
    border-color: var(--st-border-strong);
    border-left: 3px solid var(--dag-state);
    background: var(--st-surface);
    color: var(--st-text);
    font-weight: 700;
    cursor: pointer;
}

.dag-pbar.is-appointment.is-pending[b-fjllvm67v9] {
    --dag-state: #f59e0b;
    border-style: dashed;
    border-left-style: solid;
}

.dag-pbar.is-appointment.is-confirmed[b-fjllvm67v9] {
    --dag-state: #3b82f6;
}

.dag-pbar.is-appointment.is-arrived[b-fjllvm67v9] {
    --dag-state: var(--st-success-fg);
}

.dag-pbar.is-appointment.is-late[b-fjllvm67v9] {
    --dag-state: #f59e0b;
    background: var(--st-warning-bg);
}

.dag-pbar.is-appointment.is-done[b-fjllvm67v9] {
    opacity: 0.7;
}

.dag-pbar.is-appointment:hover[b-fjllvm67v9] {
    border-color: var(--dag-state);
}

.dag-pbar.is-appointment.is-selected[b-fjllvm67v9] {
    border-color: var(--st-brand-gold);
    box-shadow: 0 0 0 2px var(--st-brand-gold);
}

.dag-pbar.is-appointment:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

.dag-pnow[b-fjllvm67v9] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 0;
    border-left: 2px solid var(--st-accent);
    pointer-events: none;
}

.dag-people-note[b-fjllvm67v9] {
    margin-top: 12px;
}

/* D535: the tabs of «Pendientes», one per kind of appointment. Own class: «.dag-tab» belongs to the day strip and its column layout
   leaked in. The open tab carries the same gold ring as the open day. */
.dag-tabs[b-fjllvm67v9] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
}

.dag-kind-tab[b-fjllvm67v9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dag-kind-tab:hover[b-fjllvm67v9] {
    color: var(--st-text);
}

.dag-kind-tab[aria-selected="true"][b-fjllvm67v9] {
    border-color: var(--st-brand-gold);
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 0 0 1px var(--st-brand-gold);
}

.dag-kind-tab:focus-visible[b-fjllvm67v9] {
    outline: 2px solid var(--st-text-brand);
    outline-offset: 2px;
}

.dag-kind-name[b-fjllvm67v9] {
    max-width: 100%;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dag-kind-sub[b-fjllvm67v9] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--st-text-muted);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dag-kind-sub b[b-fjllvm67v9] {
    color: var(--st-text);
    font-weight: 800;
}

.dag-kind-late[b-fjllvm67v9] {
    padding: 0 5px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 10.5px;
    font-weight: 800;
}

.dag-tab-tools[b-fjllvm67v9] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* D535: the appointments of the other kinds stay on the day, faded. */
.dag-group.is-dim[b-fjllvm67v9],
.dag-free.is-dim[b-fjllvm67v9],
.dag-nopair.is-dim[b-fjllvm67v9],
.dag-block.is-dim[b-fjllvm67v9],
.dag-pbar.is-dim[b-fjllvm67v9] {
    opacity: 0.35;
}

.dag-block.is-dim:hover[b-fjllvm67v9],
.dag-block.is-dim:focus-visible[b-fjllvm67v9],
.dag-pbar.is-dim:hover[b-fjllvm67v9] {
    opacity: 0.8;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbAppointmentPanel.razor.rz.scp.css */
/* F9: el panel de la cita, a la derecha del tablero sin taparlo, con la caja de «Sin mapear». Siempre al 100 % (D130).
   Medidas de la rejilla de 8 pt: 8 entre cosas de una familia, 10 entre campos, 14 de margen lateral y entre bloques. */
.dcb-appt[b-dkw2j4pfy5] {
    display: flex;
    flex: 0 0 360px;
    flex-direction: column;
    width: 360px;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.dcb-appt-head[b-dkw2j4pfy5] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 10px 10px 14px;
    border-bottom: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-appt-head h3[b-dkw2j4pfy5] {
    flex: 1 1 auto;
    margin: 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 14px;
    font-weight: 800;
}

.dcb-appt-close[b-dkw2j4pfy5] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 18px;
    cursor: pointer;
}

.dcb-appt-close:hover[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.dcb-appt-body[b-dkw2j4pfy5] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px 14px;
    overflow-y: auto;
}

.dcb-appt-notice[b-dkw2j4pfy5] {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-success-bg);
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
}

.dcb-appt-notice.is-error[b-dkw2j4pfy5] {
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
}

.dcb-appt-facts[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.dcb-appt-facts div[b-dkw2j4pfy5] {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 8px;
}

.dcb-appt-facts dt[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
    font-weight: 700;
}

.dcb-appt-facts dd[b-dkw2j4pfy5] {
    margin: 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
}

.dcb-appt-actions[b-dkw2j4pfy5],
.dcb-appt-chips[b-dkw2j4pfy5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dcb-appt-btn[b-dkw2j4pfy5],
.dcb-appt-chip[b-dkw2j4pfy5] {
    padding: 6px 14px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 999px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-appt-btn:hover:not(:disabled)[b-dkw2j4pfy5],
.dcb-appt-chip:hover[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
}

.dcb-appt-chip small[b-dkw2j4pfy5] {
    margin-left: 4px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-weight: 600;
}

.dcb-appt-chip.is-on[b-dkw2j4pfy5],
.dcb-appt-btn.is-primary[b-dkw2j4pfy5] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-appt-btn.is-primary:hover:not(:disabled)[b-dkw2j4pfy5] {
    background: #d81b84;
    filter: brightness(1.08);
}

.dcb-appt-chip.is-on small[b-dkw2j4pfy5] {
    color: #ffffff;
}

.dcb-appt-chip.is-full:not(.is-on)[b-dkw2j4pfy5] {
    border-style: dashed;
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-appt-btn.is-danger[b-dkw2j4pfy5] {
    border-color: transparent;
    color: #dc2626;
}

.dcb-appt-btn:disabled[b-dkw2j4pfy5] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dcb-appt-btn:focus-visible[b-dkw2j4pfy5],
.dcb-appt-chip:focus-visible[b-dkw2j4pfy5],
.dcb-appt-day:focus-visible[b-dkw2j4pfy5],
.dcb-appt-hour:focus-visible[b-dkw2j4pfy5],
.dcb-appt-choice button:focus-visible[b-dkw2j4pfy5],
.dcb-appt-link:focus-visible[b-dkw2j4pfy5],
.dcb-appt-close:focus-visible[b-dkw2j4pfy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.dcb-appt-grid[b-dkw2j4pfy5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.dcb-appt-grid.is-three[b-dkw2j4pfy5] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* The model year: four digits, without the number arrows. */
.dcb-appt-input.is-year[b-dkw2j4pfy5] {
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}

.dcb-appt-input.is-year[b-dkw2j4pfy5]::-webkit-outer-spin-button,
.dcb-appt-input.is-year[b-dkw2j4pfy5]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dcb-appt-plate[b-dkw2j4pfy5] {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.dcb-appt-plate .dcb-appt-input[b-dkw2j4pfy5] {
    flex: 1;
    min-width: 0;
}

.dcb-appt-plate-hint[b-dkw2j4pfy5] {
    margin: -2px 0 0;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
}

.dcb-appt-plate-hint.is-wrong[b-dkw2j4pfy5] {
    color: var(--st-warning, #b45309);
}

.dcb-appt-matches[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dcb-appt-match[b-dkw2j4pfy5] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--st-border, rgba(127, 127, 127, .35));
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.dcb-appt-match:hover[b-dkw2j4pfy5],
.dcb-appt-match:focus-visible[b-dkw2j4pfy5] {
    border-color: var(--st-primary, #d81b84);
}

.dcb-appt-match span[b-dkw2j4pfy5],
.dcb-appt-found span[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
}

.dcb-appt-found[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-left: 3px solid var(--st-success, #16a34a);
    border-radius: 8px;
    background: var(--st-surface-2, rgba(127, 127, 127, .12));
    font-size: 13px;
}

.dcb-appt-field[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.dcb-appt-field.is-wide[b-dkw2j4pfy5] {
    grid-column: 1 / -1;
}

.dcb-appt-label[b-dkw2j4pfy5] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.dcb-appt-req[b-dkw2j4pfy5] {
    color: #d81b84;
}

.dcb-appt-input[b-dkw2j4pfy5] {
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 13px;
}

.dcb-appt-input:focus-visible[b-dkw2j4pfy5] {
    outline: 2px solid #d81b84;
    outline-offset: 1px;
}

textarea.dcb-appt-input[b-dkw2j4pfy5] {
    min-height: 64px;
    resize: vertical;
}

/* La placa es lo primero que se escribe: más grande, en mayúsculas y con aire entre letras. */
.dcb-appt-input.is-plate[b-dkw2j4pfy5],
.dcb-appt-input.is-plate-row[b-dkw2j4pfy5] {
    min-height: 44px;
}

.dcb-appt-input.is-plate[b-dkw2j4pfy5] {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dcb-appt-input.is-plate[b-dkw2j4pfy5]::placeholder {
    font-weight: 600;
    letter-spacing: 0.1em;
}

.dcb-appt-check[b-dkw2j4pfy5] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
}

.dcb-appt-now[b-dkw2j4pfy5],
.dcb-appt-quiet[b-dkw2j4pfy5] {
    margin: 0;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12.5px;
}

.dcb-appt-now[b-dkw2j4pfy5] {
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text, var(--st-text));
}

.dcb-appt-bring[b-dkw2j4pfy5] {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text-muted, var(--st-text-secondary));
    font-size: 12.5px;
}

.dcb-appt-bring strong[b-dkw2j4pfy5] {
    display: block;
    margin-bottom: 4px;
    color: var(--dcb-text, var(--st-text));
    font-size: 12px;
}

.dcb-appt-bring ul[b-dkw2j4pfy5] {
    margin: 0;
    padding-left: 18px;
}

/* ─── El formulario: bloques con su estado, de borde a borde del panel ─────────────────────────── */

.dcb-appt-body.is-form[b-dkw2j4pfy5] {
    gap: 0;
    padding: 0;
}

.dcb-appt-body.is-form > .dcb-appt-notice[b-dkw2j4pfy5] {
    margin: 12px 14px 0;
}

.dcb-appt-blk[b-dkw2j4pfy5] {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-appt-body.is-form > .dcb-appt-blk:first-child[b-dkw2j4pfy5] {
    border-top: 0;
}

.dcb-appt-blk-head[b-dkw2j4pfy5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dcb-appt-blk-head h4[b-dkw2j4pfy5] {
    margin: 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
    font-weight: 800;
}

/* El estado del bloque: listo (check verde), falta algo (aviso ámbar) u opcional (solo texto). */
.dcb-appt-status[b-dkw2j4pfy5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.dcb-appt-status.is-ok[b-dkw2j4pfy5],
.dcb-appt-status.is-todo[b-dkw2j4pfy5] {
    --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 5.8L7.4 11 4.3 8.2l1-1.1 2 1.8 3.2-3.9z'/%3E%3C/svg%3E");
}

.dcb-appt-status.is-ok[b-dkw2j4pfy5] {
    color: var(--st-success-fg);
}

.dcb-appt-status.is-todo[b-dkw2j4pfy5] {
    --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm.8 4v5H7.2V4zM8 12.5a1 1 0 110-2 1 1 0 010 2z'/%3E%3C/svg%3E");
    color: var(--st-warning-text);
}

.dcb-appt-status.is-ok[b-dkw2j4pfy5]::before,
.dcb-appt-status.is-todo[b-dkw2j4pfy5]::before {
    flex: none;
    width: 14px;
    height: 14px;
    background: currentColor;
    content: "";
    -webkit-mask: var(--status-icon) center / contain no-repeat;
    mask: var(--status-icon) center / contain no-repeat;
}

/* Los días: una tira que se desliza; cada uno lleva su barra de cupo (verde con espacio, ámbar con poco, roja sin cupo). */
.dcb-appt-days[b-dkw2j4pfy5] {
    display: flex;
    gap: 8px;
    margin-inline: -14px;
    padding: 2px 14px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 14px;
    scrollbar-width: thin;
}

.dcb-appt-day[b-dkw2j4pfy5] {
    display: flex;
    flex: 0 0 64px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px 10px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    scroll-snap-align: start;
    cursor: pointer;
}

.dcb-appt-day:hover:not(.is-on)[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
}

.dcb-appt-day-label[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-secondary));
    font-size: 12px;
    font-weight: 700;
}

.dcb-appt-day-num[b-dkw2j4pfy5] {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.dcb-appt-day-num small[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 11px;
    font-weight: 600;
}

.dcb-appt-day-bar[b-dkw2j4pfy5] {
    width: 40px;
    height: 4px;
    margin-top: 4px;
    border-radius: 4px;
    background: var(--st-surface-strong);
    overflow: hidden;
}

.dcb-appt-day-bar i[b-dkw2j4pfy5] {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--st-success-fg);
}

.dcb-appt-day-bar.is-low i[b-dkw2j4pfy5] {
    background: #f59e0b;
}

.dcb-appt-day-bar.is-full i[b-dkw2j4pfy5] {
    background: #dc2626;
}

.dcb-appt-day.is-on[b-dkw2j4pfy5] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-appt-day.is-on .dcb-appt-day-label[b-dkw2j4pfy5],
.dcb-appt-day.is-on .dcb-appt-day-num small[b-dkw2j4pfy5] {
    color: #ffffff;
    opacity: 0.9;
}

.dcb-appt-day.is-on .dcb-appt-day-bar[b-dkw2j4pfy5] {
    background: rgba(255, 255, 255, 0.3);
}

.dcb-appt-day.is-on .dcb-appt-day-bar i[b-dkw2j4pfy5] {
    background: #ffffff;
}

.dcb-appt-day-summary[b-dkw2j4pfy5] {
    margin: 0;
    color: var(--dcb-text-muted, var(--st-text-secondary));
    font-size: 12.5px;
}

.dcb-appt-day-summary strong[b-dkw2j4pfy5] {
    color: var(--dcb-text, var(--st-text));
}

/* Las horas: cuadrícula de cuatro, por parte del día; cada una con los puntos de su cupo. */
.dcb-appt-hours[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcb-appt-hours-label[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dcb-appt-hours-grid[b-dkw2j4pfy5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.dcb-appt-hour[b-dkw2j4pfy5] {
    position: relative;
    --pip-free: var(--st-success-fg);
    --pip-taken: var(--dcb-text-faint, var(--st-text-muted));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0 9px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.dcb-appt-hour:hover:not(.is-on)[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
}

.dcb-appt-hour.is-full:not(.is-on)[b-dkw2j4pfy5] {
    border-style: dashed;
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-appt-hour.is-on[b-dkw2j4pfy5] {
    --pip-free: #ffffff;
    --pip-taken: #ffffff;
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-appt-hour-time[b-dkw2j4pfy5] {
    line-height: 1.2;
}

/* The words of the dots, for who does not see them. */
.dcb-appt-sr[b-dkw2j4pfy5] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.dcb-appt-legend[b-dkw2j4pfy5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
}

.dcb-appt-legend span[b-dkw2j4pfy5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    --pip-free: var(--st-success-fg);
    --pip-taken: var(--dcb-text-faint, var(--st-text-muted));
}

/* Quién atiende: una línea; los selectores solo cuando se pide «Cambiar» o falta alguien. */
.dcb-appt-who[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-appt-who-line[b-dkw2j4pfy5] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
}

.dcb-appt-who-line svg[b-dkw2j4pfy5] {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-appt-who-line > span[b-dkw2j4pfy5] {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--dcb-text-muted, var(--st-text-secondary));
}

.dcb-appt-who-line b[b-dkw2j4pfy5] {
    color: var(--dcb-text, var(--st-text));
}

.dcb-appt-link[b-dkw2j4pfy5] {
    flex: none;
    padding: 0;
    border: none;
    background: none;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.dcb-appt-warn[b-dkw2j4pfy5] {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 600;
}

/* ¿El vehículo anda?: dos opciones a todo el ancho, como un interruptor de dos posiciones. */
.dcb-appt-choice[b-dkw2j4pfy5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dcb-appt-choice button[b-dkw2j4pfy5] {
    padding: 8px 6px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-appt-choice button:hover:not(.is-on)[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
}

.dcb-appt-choice button.is-on[b-dkw2j4pfy5] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

/* Lo que solo aplica a veces (grúa, seguro) abre su caja debajo de quien lo activa. */
.dcb-appt-reveal[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

/* «Usará seguro»: un interruptor. La casilla real sigue ahí (teclado y lectores de pantalla), solo se ve la pista. */
.dcb-appt-switch[b-dkw2j4pfy5] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-appt-switch input[b-dkw2j4pfy5] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.dcb-appt-track[b-dkw2j4pfy5] {
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    box-shadow: inset 0 0 0 1px var(--dcb-border-strong, var(--st-border-strong));
    transition: background 0.15s;
}

.dcb-appt-track[b-dkw2j4pfy5]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dcb-text-faint, var(--st-text-muted));
    content: "";
    transition: transform 0.15s, background 0.15s;
}

.dcb-appt-switch input:checked + .dcb-appt-track[b-dkw2j4pfy5] {
    background: #d81b84;
    box-shadow: none;
}

.dcb-appt-switch input:checked + .dcb-appt-track[b-dkw2j4pfy5]::after {
    background: #ffffff;
    transform: translateX(16px);
}

.dcb-appt-switch input:focus-visible + .dcb-appt-track[b-dkw2j4pfy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .dcb-appt-track[b-dkw2j4pfy5],
    .dcb-appt-track[b-dkw2j4pfy5]::after {
        transition: none;
    }
}

/* El pie queda a la vista aunque el formulario sea largo: lo que falta y el botón que agenda. */
.dcb-appt-foot[b-dkw2j4pfy5] {
    position: sticky;
    bottom: 0;
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: auto -14px -14px;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    background: var(--dcb-bg, var(--st-surface));
}

.dcb-appt-body.is-form > .dcb-appt-foot[b-dkw2j4pfy5] {
    margin: auto 0 0;
}

.dcb-appt-missing[b-dkw2j4pfy5],
.dcb-appt-summary[b-dkw2j4pfy5] {
    flex: 1 1 100%;
    font-size: 12.5px;
    font-weight: 600;
}

.dcb-appt-missing[b-dkw2j4pfy5] {
    color: var(--st-warning-text);
}

.dcb-appt-summary[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-secondary));
}

.dcb-appt-foot-buttons[b-dkw2j4pfy5] {
    display: flex;
    flex: 1 1 100%;
    gap: 8px;
}

.dcb-appt-foot-buttons .is-primary[b-dkw2j4pfy5] {
    flex: 1 1 auto;
    padding-block: 8px;
    font-size: 13px;
}

/* D503 (F4): «Llegó» con la hora en que llegó. La hora se elige con el control estándar (el campo abre el selector); debajo, qué fue
   frente a la hora de la cita: a tiempo en el tono de éxito, tarde en el de aviso, antes en el neutro. El verde de «Llegó» no se usa
   para otra cosa. */
.dcb-appt-arrive[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-appt-pick[b-dkw2j4pfy5] {
    cursor: pointer;
}

.dcb-appt-arrive-note[b-dkw2j4pfy5] {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
}

.dcb-appt-arrive-note.is-ontime[b-dkw2j4pfy5] {
    background: var(--st-success-bg);
}

.dcb-appt-arrive-note.is-late[b-dkw2j4pfy5],
.dcb-appt-arrive-note.is-future[b-dkw2j4pfy5] {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

/* Sin teléfono: se dice en gris, para que se note que falta. */
.dcb-appt-facts dd.is-missing[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-style: italic;
}

/* D503 (F5): «Recibir» en tres pasos. La fila de pasos dice dónde se está: hecho en el tono de éxito, el actual con el magenta de la
   acción principal, lo que falta en gris. Cada paso va en su caja, como la llegada de F4. */
.dcb-appt-wiz[b-dkw2j4pfy5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dcb-appt-wiz li[b-dkw2j4pfy5] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 8px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
    font-weight: 700;
}

.dcb-appt-wiz li span[b-dkw2j4pfy5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-appt-wiz li b[b-dkw2j4pfy5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 11px;
}

.dcb-appt-wiz li.is-done[b-dkw2j4pfy5] {
    background: var(--st-success-bg);
    color: var(--dcb-text, var(--st-text));
}

.dcb-appt-wiz li.is-current[b-dkw2j4pfy5] {
    border-color: #d81b84;
    color: var(--dcb-text, var(--st-text));
}

.dcb-appt-wiz li.is-current b[b-dkw2j4pfy5] {
    background: #d81b84;
    color: #ffffff;
}

.dcb-appt-step[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-appt-step-title[b-dkw2j4pfy5] {
    margin: 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
    font-weight: 800;
}

/* Los destinos del flujo, uno por fila y en su orden; el sugerido lo dice en pequeño. */
.dcb-appt-targets[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dcb-appt-target[b-dkw2j4pfy5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.dcb-appt-target:hover:not(.is-on)[b-dkw2j4pfy5] {
    background: var(--st-surface-sunken);
}

.dcb-appt-target small[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-weight: 600;
}

.dcb-appt-target.is-on[b-dkw2j4pfy5] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-appt-target.is-on small[b-dkw2j4pfy5] {
    color: #ffffff;
}

.dcb-appt-target:focus-visible[b-dkw2j4pfy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* D503 (F6, decisión 9): «Llamar». Por qué, los intentos sin respuesta (en el tono de aviso cuando no contestan) y el mensaje para
   copiar y pegar en WhatsApp a mano; el texto se puede seleccionar si el navegador no deja copiar. */
.dcb-appt-call[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-appt-call-head[b-dkw2j4pfy5] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    color: var(--dcb-text, var(--st-text));
    font-size: 13px;
}

.dcb-appt-call-head small[b-dkw2j4pfy5] {
    color: var(--dcb-text-muted, var(--st-text-muted));
    font-size: 12px;
}

.dcb-appt-call-head small.is-warn[b-dkw2j4pfy5] {
    color: var(--st-warning-text);
    font-weight: 600;
}

.dcb-appt-call-script[b-dkw2j4pfy5] {
    margin: 0;
    padding: 8px 10px;
    border-left: 3px solid var(--st-text-brand);
    border-radius: 4px;
    background: var(--st-surface);
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
    line-height: 1.45;
    user-select: text;
}

.dcb-appt-call-tools[b-dkw2j4pfy5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* «¿El cliente no se queda?» while receiving (steps ① and ②): No llegó, Reprogramar, Cancelar cita. */
.dcb-appt-escape[b-dkw2j4pfy5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed var(--dcb-border, var(--st-border));
}
/* /Pages/Home/Components/Calendar/Dcb/DcbBoard.razor.rz.scp.css */
/* DCB (D71). Mismos tokens que el JSCB: tipografía, grises, semáforo y magenta de foco. */
.dcb-board[b-ss7np14gzm] {
    /* Neutrals follow the app theme (theme.css): white in light mode, navy in dark mode. The state and accent
       colors stay literal. --dcb-ink is the inverse pill («+2 más»): dark in light mode, light in dark mode. */
    --dcb-ink: var(--st-text);
    --dcb-text: var(--st-text);
    --dcb-text-muted: var(--st-text-subtle);
    --dcb-text-faint: var(--st-text-muted);
    --dcb-plate: var(--st-text-brand);
    --dcb-bg: var(--st-surface);
    --dcb-bg-alt: var(--st-surface-muted);
    --dcb-bg-soft: var(--st-surface-sunken);
    --dcb-bg-row: var(--st-surface-sunken);
    --dcb-border: var(--st-border);
    --dcb-border-strong: var(--st-border-strong);
    --dcb-danger: #ef4444;
    --dcb-danger-text: var(--st-danger-text);
    --dcb-warn: #d97706;
    --dcb-warn-text: var(--st-warning-fg);
    --dcb-ok: #16a34a;
    --dcb-accent: #d81b84;
    /* Tarjeta de 168 × 90 (cerca de la proporción del diseño, D76; una placa de 7 caracteres cabe entera)
       más el aire de la columna. */
    --dcb-column-width: 190px;
    --dcb-card-height: 90px;
    /* Fila de la grilla configurada (D78): una tarjeta. Con el aire de 12 px entre filas, igual al de las
       tarjetas, un bloque de N filas muestra N − 1 tarjetas (la primera fila es su cabecera). */
    --dcb-row-height: 90px;

    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dcb-text);
}

/* La barra tiene la misma caja que la del JSCB (fondo suave, aire de 5 × 8 px, radio 8): el selector de
   tablero cae en el mismo píxel en los dos y no salta al cambiar (D75). D552: en dos filas, como la del JSCB y la
   del JPCB, con el mismo aire entre ellas (6 px). */
.dcb-header[b-ss7np14gzm] {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--dcb-bg-soft);
}

.dcb-header-row[b-ss7np14gzm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-height: 28px;
}

.dcb-btn[b-ss7np14gzm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--dcb-border-strong);
    border-radius: 8px;
    background: var(--dcb-bg);
    color: var(--dcb-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.dcb-btn:hover[b-ss7np14gzm] {
    background: var(--dcb-bg-alt);
    border-color: var(--dcb-text-faint);
}

.dcb-btn:focus-visible[b-ss7np14gzm] {
    outline: 2px solid var(--dcb-accent);
    outline-offset: 2px;
}

.dcb-summary[b-ss7np14gzm] {
    font-size: 12px;
    font-weight: 600;
    color: var(--dcb-text-muted);
}

/* D558: «265 OT» es un botón (abre el desglose a la derecha del tablero), con la cifra en el color del texto. */
.dcb-orders-btn[b-ss7np14gzm] {
    color: var(--dcb-text);
    font-variant-numeric: tabular-nums;
}

/* A la derecha de cada fila de la barra: «Sin mapear» arriba; las etiquetas y el patio abajo (D552). La configuración, los colores, la
   «i» y el engranaje van en la cabecera del panel (D545, D583). En un panel estrecho la fila se parte y el grupo baja entero y a la
   derecha. */
.dcb-header-end[b-ss7np14gzm] {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.dcb-outside-btn[b-ss7np14gzm],
.dcb-tags-btn[b-ss7np14gzm],
.dcb-yard-open-btn[b-ss7np14gzm],
.dcb-agenda-btn[b-ss7np14gzm],
.dcb-promises-btn[b-ss7np14gzm] {
    gap: 6px;
}

.dcb-outside-btn svg[b-ss7np14gzm],
.dcb-tags-btn svg[b-ss7np14gzm],
.dcb-yard-open-btn svg[b-ss7np14gzm],
.dcb-agenda-btn svg[b-ss7np14gzm],
.dcb-promises-btn svg[b-ss7np14gzm] {
    width: 14px;
    height: 14px;
    flex: none;
}

.dcb-btn:disabled[b-ss7np14gzm] {
    color: var(--dcb-text-faint);
    cursor: not-allowed;
}

.dcb-btn:disabled:hover[b-ss7np14gzm] {
    background: var(--dcb-bg);
    border-color: var(--dcb-border-strong);
}

/* F8 (F8-6): «Sin mapear» con OT, en ámbar aunque esté cerrado: ninguna se esconde (p213 #4). */
.dcb-outside-btn.has-items:not(.is-on)[b-ss7np14gzm] {
    border-color: var(--st-warning-border);
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
}

/* «Sin mapear» abierto (D84): encendido en el amarillo suave de la app, como los botones abiertos del editor. */
.dcb-outside-btn.is-on[b-ss7np14gzm],
.dcb-outside-btn.is-on:hover[b-ss7np14gzm],
.dcb-tags-btn.is-on[b-ss7np14gzm],
.dcb-tags-btn.is-on:hover[b-ss7np14gzm],
.dcb-yard-open-btn.is-on[b-ss7np14gzm],
.dcb-yard-open-btn.is-on:hover[b-ss7np14gzm],
.dcb-agenda-btn.is-on[b-ss7np14gzm],
.dcb-agenda-btn.is-on:hover[b-ss7np14gzm],
.dcb-promises-btn.is-on[b-ss7np14gzm],
.dcb-promises-btn.is-on:hover[b-ss7np14gzm],
.dcb-orders-btn.is-on[b-ss7np14gzm],
.dcb-orders-btn.is-on:hover[b-ss7np14gzm] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* D552: los dos globos de «Promesas», los mismos que tenía en el JSCB (D550): ámbar, las que van tarde; punteado, como las barras sin
   plan, las que faltan por planear. Un globo en 0 no se dibuja, y su hueco tampoco ocupa el espacio entre piezas del botón. */
.dcb-badge[b-ss7np14gzm] {
    display: inline-flex;
}

.dcb-badge.is-warn[b-ss7np14gzm] {
    --st-badge-bg: var(--dcb-warn);
}

.dcb-badge.is-unplanned[b-ss7np14gzm] {
    --st-badge-bg: transparent;
    --st-badge-fg: var(--dcb-text);
}

.dcb-badge.is-unplanned[b-ss7np14gzm]  .st-count-badge {
    outline: 1.5px dashed var(--dcb-text-muted);
    outline-offset: -1.5px;
}

.dcb-promises-btn .dcb-badge:empty[b-ss7np14gzm] {
    display: none;
}

/* «12 OT»: la píldora ámbar de las OT, la misma del editor y del panel (D84). */
.dcb-outside-count[b-ss7np14gzm] {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    color: var(--dcb-warn-text);
}

.dcb-state[b-ss7np14gzm] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--dcb-text-muted);
}

.dcb-state.is-error[b-ss7np14gzm] {
    color: var(--dcb-danger-text);
}

/* El tablero y, a su derecha, «Sin mapear» cuando está abierto (D84): el panel no tapa los bloques. */
.dcb-main[b-ss7np14gzm] {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    min-height: 0;
}

/* D553: el pie, igual en los tres tableros: la línea de mensajes ocupa lo que queda y el zoom va a su derecha. La separación con el
   tablero la pone el hueco de .dcb-board (8 px). */
.dcb-foot[b-ss7np14gzm] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Fuera del flujo: la caja vacía de la confirmación sumaría otro hueco de .dcb-board bajo el pie. */
.dcb-modals[b-ss7np14gzm] {
    position: absolute;
}

/* Cambiando el ancho de «Sin mapear» (D85): sin seleccionar texto al pasar por el tablero. */
.dcb-main.is-panel-resizing[b-ss7np14gzm] {
    cursor: col-resize;
    user-select: none;
}

/* Las columnas se desplazan en horizontal; cada una, en vertical. */
.dcb-scroll[b-ss7np14gzm] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.dcb-columns[b-ss7np14gzm] {
    /* Ancho de la línea de la zona de reparación (D191): con el aire de las columnas a cada lado, la deja holgada. */
    --dcb-zone-track: 16px;
    /* F1: la barra de una zona (DcbZoneSpine) es una pista de este ancho. */
    --dcb-spine-track: 40px;
    display: flex;
    gap: 8px;
    height: 100%;
    padding-bottom: 6px;
}

.dcb-column[b-ss7np14gzm] {
    display: flex;
    flex: 0 0 var(--dcb-column-width);
    flex-direction: column;
    min-height: 0;
    border: 1px solid var(--dcb-border);
    border-radius: 10px;
    background: var(--dcb-bg-row);
    overflow: hidden;
    /* Sin transición de opacidad (D241): al empezar a arrastrar, las columnas que no reciben bajan de opacidad todas a la vez. */
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Cabecera (D76): del color del proceso configurado, texto blanco, las cuatro esquinas redondeadas y el
   mismo alto en todas las columnas; el nombre en dos renglones como mucho, con «…» si no cabe. Va con
   aire dentro de la columna, alineada con las tarjetas. Sin color configurado, pizarra. */
.dcb-column-head[b-ss7np14gzm] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 46px;
    /* Pegada al borde de la columna: la mitad del aire de antes arriba y a los lados (D88). */
    margin: 3px 6px 0 4px;
    padding: 6px 8px 6px 10px;
    border-radius: 10px;
    background: var(--dcb-process, #64748b);
    color: #ffffff;
}

/* El icono del proceso antes del nombre (D87): el del inbox, en un círculo blanco con una sombra suave, que se lee
   sobre cualquier color de cabecera. */
.dcb-column-icon[b-ss7np14gzm] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    /* Blanco en los dos temas: el icono del proceso (gris) y el del tipo se leen igual en claro y en oscuro. */
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.dcb-column-icon img[b-ss7np14gzm] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* La imagen no cargó: el círculo blanco se queda, vacío (D153). */
.dcb-column-icon.is-broken img[b-ss7np14gzm] {
    display: none;
}

/* Una unida (D95) no es de un proceso: va en azul marino, que ningún proceso usa, con el icono de unir (o el embudo
   de una columna por condición) en el círculo blanco. */
/* Una unida (D95) va en azul marino; la de una etiqueta (D102), en el color de la etiqueta (--dcb-union en su estilo),
   con el texto que se lee sobre él. */
.dcb-column.is-union[b-ss7np14gzm] {
    --dcb-process: var(--dcb-union, #1a365d);
}

.dcb-column.is-union .dcb-column-head[b-ss7np14gzm] {
    color: var(--dcb-union-ink, #ffffff);
}

.dcb-column-icon.is-union[b-ss7np14gzm] {
    color: var(--dcb-union, #1a365d);
}

/* La unida con el icono de uno de sus procesos (D512): en la esquina del círculo, la marca de unir en su color. */
.dcb-column-marked[b-ss7np14gzm] {
    position: relative;
    display: inline-flex;
    flex: none;
}

.dcb-column-mark[b-ss7np14gzm] {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px var(--dcb-union, #1a365d);
    color: var(--dcb-union, #1a365d);
}

.dcb-column-mark[b-ss7np14gzm]  svg {
    width: 11px;
    height: 11px;
}

/* Una unida con tono de alerta (las OT detenidas): cabecera y borde en rojo, y un velo rojo suave sobre el fondo, para que se vea de
   lejos qué está parado. Va después de .is-union para ganarle el color. */
.dcb-column.is-union.is-alert[b-ss7np14gzm] {
    --dcb-union: #b91c1c;
    --dcb-union-ink: #ffffff;
    border-color: #b91c1c;
    background-image: linear-gradient(rgba(185, 28, 28, 0.07), rgba(185, 28, 28, 0.07));
}

/* Una duplicada (D153): el icono de duplicar en el color de su proceso, no el icono del proceso. */
.dcb-column-icon.is-split[b-ss7np14gzm] {
    color: var(--dcb-process, #64748b);
}

.dcb-column-icon.is-union[b-ss7np14gzm]  svg,
.dcb-column-icon.is-split[b-ss7np14gzm]  svg {
    width: 18px;
    height: 18px;
}

/* La condición de la unida bajo su nombre («Estado: Detenida»). */
/* v12 G4d: la columna temporal del modo guiado (el proceso no tiene columna propia): borde punteado y la marca «Temporal». */
.dcb-column.is-guided[b-ss7np14gzm] {
    outline: 2px dashed var(--dcb-process, var(--st-primary, #1f3a5f));
    outline-offset: -2px;
}

.dcb-column-guided[b-ss7np14gzm] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 16px;
    background: rgba(255, 255, 255, 0.85);
    color: #1f2937;
    vertical-align: middle;
}

.dcb-column-rule[b-ss7np14gzm] {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 13px;
    opacity: 0.9;
}

/* El detalle de una duplicada o una unida (D153): al pasar el ratón por su cabecera, una ficha
   debajo, sobre las tarjetas. Aparece con una pausa corta para no saltar al recorrer el tablero
   con el ratón; mientras se arrastra una OT no sale. La columna deja ver lo que sobresale mientras se muestra. */
.dcb-column-head.has-tip[b-ss7np14gzm] {
    position: relative;
}

.dcb-column-tip[b-ss7np14gzm] {
    position: absolute;
    top: calc(100% + 6px);
    left: -2px;
    z-index: 20;
    box-sizing: border-box;
    width: max(100%, 230px);
    max-width: 300px;
    padding: 8px 10px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 9px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
    pointer-events: none;
}

.dcb-column-head.has-tip:hover .dcb-column-tip[b-ss7np14gzm] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.14s ease 0.3s, transform 0.14s ease 0.3s, visibility 0s linear 0.3s;
}

.dcb-column:has(.dcb-column-head.has-tip:hover)[b-ss7np14gzm] {
    position: relative;
    z-index: 15;
    overflow: visible;
}

.dcb-dragging .dcb-column-tip[b-ss7np14gzm] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .dcb-column-tip[b-ss7np14gzm],
    .dcb-column-head.has-tip:hover .dcb-column-tip[b-ss7np14gzm] {
        transform: none;
        transition: none;
    }
}

.dcb-column-name[b-ss7np14gzm] {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 15px;
    color: #ffffff;
    /* Un toque de sombra para que el blanco se lea también sobre los colores claros (amarillos). */
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
    word-break: break-word;
}

.dcb-column-count[b-ss7np14gzm] {
    flex: none;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
}

/* El «+» de un bolsillo de citar: un círculo blanco junto al número, que se lee sobre el color del proceso y abre
   «Citas» en la pestaña del bolsillo. */
.dcb-column-add[b-ss7np14gzm] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    color: var(--dcb-process, #64748b);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dcb-column-add:hover:not(:disabled)[b-ss7np14gzm] {
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
}

.dcb-column-add:focus-visible[b-ss7np14gzm] {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.dcb-column-add:disabled[b-ss7np14gzm] {
    opacity: 0.5;
    cursor: default;
}

/* Aire arriba y a la derecha para el nivel, que sobresale de la esquina de la tarjeta. La lista se
   desplaza sin barra visible (D76): la rueda, el arrastre y el teclado siguen funcionando. */
.dcb-column-body[b-ss7np14gzm] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px 12px 10px 8px;
    overflow-y: auto;
    scrollbar-width: none;
}

.dcb-column-body[b-ss7np14gzm]::-webkit-scrollbar {
    display: none;
}

.dcb-column-hint[b-ss7np14gzm] {
    margin: 6px 0 0;
    font-size: 10.5px;
    color: var(--dcb-text-faint);
}

.dcb-column-empty[b-ss7np14gzm] {
    padding: 10px 0;
    border: 1px dashed var(--dcb-border-strong);
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--dcb-text-faint);
}

/* Grilla configurada (D78): cada proceso en su celda y de su tamaño; el tablero se desplaza en los dos
   ejes y cada bloque, por dentro. Columnas y filas del tamaño de una tarjeta. */
.dcb-scroll.is-grid[b-ss7np14gzm] {
    overflow: auto;
}

.dcb-grid[b-ss7np14gzm] {
    --dcb-zone-track: 16px;
    --dcb-spine-track: 40px;
    display: grid;
    column-gap: 8px;
    row-gap: 12px;
    width: max-content;
    /* La última fila deja asomar «+2 más» por su borde (D110). */
    padding-bottom: 12px;
}

/* Un bloque de varias columnas reparte sus tarjetas en ellas, de izquierda a derecha y hacia abajo (la más
   urgente primero). El aire entre columnas de tarjetas es el mismo que entre bloques, más el de la esquina
   del nivel. */
.dcb-column.is-tile .dcb-column-body[b-ss7np14gzm] {
    display: grid;
    grid-template-columns: repeat(var(--dcb-span, 1), minmax(0, 1fr));
    grid-auto-rows: var(--dcb-card-height);
    align-content: start;
    column-gap: 20px;
    row-gap: 12px;
}

.dcb-column.is-tile .dcb-column-empty[b-ss7np14gzm] {
    grid-column: 1 / -1;
}

/* Más OT de las que se ven: la barra va oculta (D76), así que el final se desvanece hasta llegar a él. */
.dcb-column.has-more .dcb-column-body[b-ss7np14gzm] {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent);
}

.dcb-column.has-more .dcb-column-body.is-at-end[b-ss7np14gzm] {
    -webkit-mask-image: none;
    mask-image: none;
}

.dcb-column.is-tile[b-ss7np14gzm] {
    position: relative;
}

/* Con «+2 más» el bloque deja asomar la pastilla por su borde de abajo (D110); su lista sigue desplazándose por
   dentro y recortada por su máscara. */
.dcb-column.is-tile.has-more[b-ss7np14gzm] {
    overflow: visible;
}

/* «+2 más» (D110): las OT que no caben a la vista, sobre el borde de abajo del bloque, mitad dentro y mitad fuera,
   como las etiquetas en la tarjeta; asoma en los 12 px entre bloques. Se va al llegar al final. */
.dcb-column-more[b-ss7np14gzm] {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    padding: 2px 10px;
    border: 0;
    border-radius: 999px;
    background: var(--dcb-ink);
    color: var(--dcb-bg);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 14px;
    box-shadow: 0 0 0 2px var(--dcb-bg), 0 2px 6px rgba(15, 23, 42, 0.2);
    transform: translate(-50%, 50%);
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.dcb-column-more:focus-visible[b-ss7np14gzm] {
    outline: 2px solid var(--dcb-accent);
    outline-offset: 3px;
}

.dcb-column-body.is-at-end ~ .dcb-column-more[b-ss7np14gzm] {
    opacity: 0;
    visibility: hidden;
}

/* Valid destinations while dragging: green = configured handover from the card's process, gray = no configured
   handover (still accepts the drop), yellow = the suggested one (first by the flow's priority). Active processes
   and unions keep their blocked feedback. Solid borders; the outline stays inside so scrolling never clips it. */
.dcb-board.dcb-dragging .dcb-column.is-drop-target[b-ss7np14gzm] {
    --dcb-drop-color: var(--st-text-muted);
    --dcb-drop-bg: color-mix(in srgb, var(--st-text-muted) 14%, transparent);
    --dcb-drop-text: var(--st-text-subtle);
    border-style: solid;
    border-color: var(--dcb-drop-color);
    background: var(--dcb-drop-bg);
}

.dcb-board.dcb-dragging .dcb-column.is-handover-configured[b-ss7np14gzm] {
    --dcb-drop-color: var(--st-success-fg);
    --dcb-drop-bg: var(--st-success-bg);
    --dcb-drop-text: var(--st-success-text);
}

.dcb-board.dcb-dragging .dcb-column.is-handover-suggested[b-ss7np14gzm] {
    --dcb-drop-color: #e5b900;
    --dcb-drop-bg: var(--st-gold-bg);
    --dcb-drop-text: var(--st-gold-text);
}

/* Arriba y al centro del tablero, sobre la barra, para verla sin buscarla; flotante (no mueve nada de la barra) y sin
   atrapar el puntero, así el arrastre sigue llegando a las columnas. */
.dcb-drag-legend[b-ss7np14gzm] {
    /* Centered in the panel's title row, above the board, so it is noticed while dragging. */
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 60;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 6px 18px;
    padding: 8px 20px;
    border: 1px solid var(--dcb-border);
    border-radius: 999px;
    background: var(--dcb-bg-soft);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    font-size: 14px;
    color: var(--dcb-text);
    white-space: nowrap;
    pointer-events: none;
}

.dcb-drag-legend b[b-ss7np14gzm] { font-weight: 600; color: var(--dcb-text-muted); }
.dcb-drag-legend span[b-ss7np14gzm] { display: inline-flex; align-items: center; gap: 7px; }
.dcb-drag-legend em[b-ss7np14gzm] { font-style: normal; font-weight: 600; }
.dcb-drag-legend i[b-ss7np14gzm] { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dcb-drag-legend .is-configured[b-ss7np14gzm] { background: var(--st-success-fg); }
.dcb-drag-legend .is-unconfigured[b-ss7np14gzm] { background: var(--st-text-muted); }
.dcb-drag-legend .is-suggested[b-ss7np14gzm] { background: #e5b900; }

.dcb-board.dcb-dragging .dcb-drag-legend[b-ss7np14gzm] {
    display: inline-flex;
}

.dcb-board.dcb-dragging .dcb-column.is-tagging[b-ss7np14gzm] {
    --dcb-drop-color: var(--st-success-fg);
    --dcb-drop-bg: var(--st-success-bg);
    --dcb-drop-text: var(--st-success-text);
}

.dcb-board.dcb-dragging .dcb-column.is-drag-source[b-ss7np14gzm],
.dcb-board.dcb-dragging .dcb-column.is-drag-blocked[b-ss7np14gzm] {
    opacity: 0.55;
}

.dcb-board.dcb-dragging .dcb-column.is-drag-denied[b-ss7np14gzm] {
    opacity: 0.8;
}

.dcb-board.dcb-dragging .dcb-column.is-drag-over[b-ss7np14gzm] {
    border-style: solid;
    border-color: var(--dcb-drop-color);
    outline: 2px solid var(--dcb-drop-color);
    outline-offset: -2px;
    background: var(--dcb-drop-bg);
}

/* The header receives the order too (dcb-board.js): with one in the air, the header of every column that receives it wears a dashed ring.
   Over it the cue covers the header, says so, and fills a bar in the second after which the detail of the column opens (HEAD_OPEN_MS in
   dcb-board.js: both are one second), where the order is dropped where it goes. The union the order comes from does not receive it, but
   its detail shows the processes it can go to: it only gets the cue (is-head-over) and says to wait. */
.dcb-column-head[b-ss7np14gzm] {
    position: relative;
}

.dcb-board.dcb-dragging .dcb-column.is-drop-target .dcb-column-head[b-ss7np14gzm] {
    outline: 2px dashed rgba(255, 255, 255, 0.9);
    outline-offset: -5px;
}

.dcb-column-head-cue[b-ss7np14gzm] {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    text-align: center;
    line-height: 14px;
    pointer-events: none;
}

.dcb-column-head-cue b[b-ss7np14gzm] {
    font-size: 12.5px;
    font-weight: 700;
}

.dcb-column-head-cue small[b-ss7np14gzm] {
    font-size: 10.5px;
    font-weight: 500;
    opacity: 0.92;
}

.dcb-column-head-cue .is-source[b-ss7np14gzm],
.is-drag-source .dcb-column-head-cue .is-drop[b-ss7np14gzm] {
    display: none;
}

.is-drag-source .dcb-column-head-cue .is-source[b-ss7np14gzm] {
    display: inline;
}

.dcb-column-head-cue[b-ss7np14gzm]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #ffffff;
}

.dcb-board.dcb-dragging .dcb-column.is-head-over .dcb-column-head-cue[b-ss7np14gzm] {
    display: flex;
}

.dcb-board.dcb-dragging .dcb-column.is-head-over .dcb-column-head-cue[b-ss7np14gzm]::after {
    animation: dcb-head-open-b-ss7np14gzm 1s linear forwards;
}

@keyframes dcb-head-open-b-ss7np14gzm {
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-board.dcb-dragging .dcb-column.is-head-over .dcb-column-head-cue[b-ss7np14gzm]::after {
        animation: none;
    }
}

.dcb-drop-hint[b-ss7np14gzm] {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

.dcb-drop-hint svg[b-ss7np14gzm] {
    flex: none;
    width: 14px;
    height: 14px;
}

.dcb-drop-hint.is-accept[b-ss7np14gzm] {
    border-top: 1px solid var(--dcb-drop-color);
    background: var(--dcb-drop-bg);
    color: var(--dcb-drop-text);
}

.dcb-drop-hint.is-accept span[b-ss7np14gzm] {
    display: none;
}

.is-handover-configured .dcb-drop-hint .is-configured[b-ss7np14gzm],
.is-handover-unconfigured .dcb-drop-hint .is-unconfigured[b-ss7np14gzm],
.is-handover-suggested .dcb-drop-hint .is-suggested[b-ss7np14gzm],
.is-tagging .dcb-drop-hint .is-tag[b-ss7np14gzm] {
    display: inline;
}

.dcb-drop-hint.is-deny[b-ss7np14gzm] {
    border-top: 1px solid var(--dcb-border);
    background: var(--dcb-bg-soft);
    color: var(--dcb-text-muted);
}

.dcb-board.dcb-dragging .dcb-column.is-drag-over .dcb-drop-hint.is-accept[b-ss7np14gzm],
.dcb-board.dcb-dragging .dcb-column.is-drag-denied .dcb-drop-hint.is-deny[b-ss7np14gzm] {
    display: flex;
}

/* F8 (F8-3): elegir a qué proceso de una sección se entrega la tarjeta soltada. */
.dcb-drop-choice-backdrop[b-ss7np14gzm] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
}

.dcb-drop-choice[b-ss7np14gzm] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.dcb-drop-choice-title[b-ss7np14gzm] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-brand);
}

/* The destination question looks like the handover wizard's «PROCESOS destino» step. */
.dcb-drop-choice-wide[b-ss7np14gzm] {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}

.dcb-drop-choice-heading[b-ss7np14gzm] {
    margin: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.dcb-drop-choice-subtitle[b-ss7np14gzm] {
    margin: -6px 0 4px;
    text-align: center;
    font-size: 12px;
    color: var(--st-text-muted);
}

.dcb-drop-choice-grid[b-ss7np14gzm] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .dcb-drop-choice-grid[b-ss7np14gzm] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dcb-drop-choice-list[b-ss7np14gzm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dcb-drop-choice-btn[b-ss7np14gzm] {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--st-border);
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.dcb-drop-choice-btn:hover[b-ss7np14gzm],
.dcb-drop-choice-btn:focus-visible[b-ss7np14gzm] {
    border-color: #d33bb2;
    outline: none;
}

.dcb-drop-choice-cancel[b-ss7np14gzm] {
    align-self: flex-end;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--st-border);
    background: transparent;
    color: var(--st-text);
    font-weight: 600;
    cursor: pointer;
}

/* D509: la pregunta antes de entrar a la zona de reparación sin plan usa el mismo diálogo. */
.dcb-plan-first-text[b-ss7np14gzm] {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--st-text);
}

.dcb-plan-first-option[b-ss7np14gzm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dcb-plan-first-hint[b-ss7np14gzm] {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--st-text-muted);
}

/* D588: la fecha y la hora de la recepción que se salta la entrega; se abren con los selectores de la app. */
.dcb-reception-when[b-ss7np14gzm] {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 10px;
}

.dcb-reception-field[b-ss7np14gzm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--st-text-muted);
}

.dcb-reception-field input[b-ss7np14gzm] {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--st-border);
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-size: 0.9rem;
    cursor: pointer;
}

.dcb-reception-field input:hover[b-ss7np14gzm],
.dcb-reception-field input:focus-visible[b-ss7np14gzm] {
    border-color: #d33bb2;
    outline: none;
}

.dcb-reception-problem[b-ss7np14gzm] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg, #fee2e2);
    color: var(--st-danger-fg, #991b1b);
    font-size: 0.82rem;
}

.dcb-drop-choice-btn:disabled[b-ss7np14gzm],
.dcb-drop-choice-cancel:disabled[b-ss7np14gzm] {
    opacity: 0.55;
    cursor: default;
}

/* D500: la raya punteada que aparta las columnas de antes de todo (las citas y los ingresos) y las de después de todo (las entregas) de
   las zonas. Ocupa la pista angosta de las zonas, se corta donde la cruza un bloque ancho y no recibe nada. */
.dcb-edge-line[b-ss7np14gzm] {
    position: relative;
    align-self: stretch;
    min-height: 100%;
    pointer-events: none;
}

.dcb-edge-line[b-ss7np14gzm]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 1px);
    border-left: 2px dashed var(--dcb-border-strong);
}

/* Why a destination of the drop question stands out, or why it asks for confirmation. */
.dcb-drop-choice-note[b-ss7np14gzm] {
    display: block;
    margin-top: 4px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.dcb-drop-choice-note.is-suggested[b-ss7np14gzm] {
    color: var(--st-text);
}
/* /Pages/Home/Components/Calendar/Dcb/DcbCard.razor.rz.scp.css */
/* Tarjeta del DCB (D71, D76, diseño de Johan): el borde, la barra corta y la OT van del color del estado de
   la promesa (rojo vencida · ámbar hoy o mañana · verde a tiempo · gris sin promesa). La proporción es la
   del diseño, unos 1,8 : 1. --dcb-tone pinta el borde y la barra; --dcb-tone-text, el texto (más oscuro,
   para que se lea sobre blanco). */
.dcb-card[b-z0ccz7zd34] {
    --dcb-tone: var(--st-border-strong);
    --dcb-tone-text: var(--dcb-text-muted, var(--st-text-subtle));

    position: relative;
    display: flex;
    align-items: stretch;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    height: var(--dcb-card-height, 90px);
    flex: none;
    padding: 8px 6px 8px 18px;
    border: 2px solid var(--dcb-tone);
    border-radius: 14px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    /* Sin transición de opacidad (D241): resaltar una etiqueta atenúa todas las demás OT a la vez y cientos de animaciones de
       opacidad, cada una en su capa, eran lo que más pesaba. */
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Barra del estado: corta (de la OT a la placa) y gruesa, como en el diseño. */
.dcb-card[b-z0ccz7zd34]::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 47px;
    border-radius: 3px;
    background: var(--dcb-tone);
}

.dcb-card.is-late[b-z0ccz7zd34] { --dcb-tone: #e57373; --dcb-tone-text: var(--dcb-danger-text, var(--st-danger-text)); }
.dcb-card.is-tight[b-z0ccz7zd34] { --dcb-tone: #f5a524; --dcb-tone-text: var(--dcb-warn-text, var(--st-warning-fg)); }
.dcb-card.is-ok[b-z0ccz7zd34] { --dcb-tone: #5cc27a; --dcb-tone-text: var(--st-success-fg); }
.dcb-card.is-none[b-z0ccz7zd34] { --dcb-tone: var(--st-border-strong); --dcb-tone-text: var(--dcb-text-muted, var(--st-text-subtle)); }

.dcb-card:hover[b-z0ccz7zd34] {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.dcb-card:focus-visible[b-z0ccz7zd34] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

/* Arrastre (D72): se agarra con la mano; la tarjeta que se arrastra queda en su sitio como hueco
   punteado (la mueve la entrega, no el soltado) y el navegador lleva su imagen bajo el cursor. */
.dcb-card:active[b-z0ccz7zd34] {
    cursor: grabbing;
}

.dcb-card.is-dragging[b-z0ccz7zd34] {
    border-style: dashed;
    border-color: var(--dcb-accent, #d81b84);
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    box-shadow: none;
    opacity: 0.45;
}

/* What the card says (UI-06): the DCB draws every card, most of them scrolled out of their block or of the board, so the
   browser skips laying out and painting this part until the card comes near the view. It covers the card's padding box
   exactly (the negative margins cancel the card's padding and the padding puts it back), so the OT, the plate, the lines,
   the logo and the photo with its ring sit where they always did, and its size comes from the card (stretched), never
   from its content: skipped or not, nothing moves. What sticks out (the level, VFT, the stickers, the shadow and the
   focus ring) belongs to the card, outside this box, and is never clipped. Line 2 (.dcb-card-data) is positioned
   against this box, which is the card's padding box. */
.dcb-card-content[b-z0ccz7zd34] {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    margin: -8px -6px -8px -18px;
    padding: 8px 6px 8px 18px;
    content-visibility: auto;
    contain-intrinsic-size: auto 140px auto 70px;
}

/* Desde D99 la OT, la placa y los días van arriba, juntos: debajo queda la línea de datos. */
.dcb-card-main[b-z0ccz7zd34] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.dcb-card-ot[b-z0ccz7zd34] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 16px;
    color: var(--dcb-tone-text);
    white-space: nowrap;
}

/* OT temporal (aún no existe como oficial en el ERP): borde gris atenuado (sin fondo rayado: carga menos la pantalla) y el chip
   «Temporal» en el lugar del número. La barra sigue siendo de la promesa. El gris sale del token del tema de quien mira (claro u
   oscuro); la tarjeta que se arrastra conserva su borde punteado de arrastre. */
.dcb-card.is-draft:not(.is-dragging)[b-z0ccz7zd34] {
    border-color: color-mix(in srgb, var(--st-text-subtle) 60%, transparent);
}

.dcb-card-draft[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 16px;
    padding: 0 7px;
    border: 1px solid var(--st-text-subtle);
    border-radius: 999px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

/* El número largo («OT-TEMP_NJQ271») termina en «…»; el título de la tarjeta lo dice entero. */
.dcb-card-ot-text[b-z0ccz7zd34] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcb-card-parallel[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 14px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-card-parallel svg[b-z0ccz7zd34] {
    width: 10px;
    height: 10px;
}

/* H-18: the order came back to an earlier process marked as a reprocess; red, because it is rework. */
.dcb-card-reprocess[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* F8 (F8-7): the order is still waiting for repair, but a first start or today's published plan put it in repair. */
.dcb-card-act[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 14px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--st-success-fg);
}

.dcb-card-act svg[b-z0ccz7zd34] {
    width: 9px;
    height: 9px;
}

/* F8 (A28): the mark is a button; touched, line 2 lists the parallel processes. */
button.dcb-card-parallel[b-z0ccz7zd34] {
    padding: 0;
    border: none;
    cursor: pointer;
    font: inherit;
}

button.dcb-card-parallel:hover[b-z0ccz7zd34],
button.dcb-card-parallel.is-open[b-z0ccz7zd34] {
    background: var(--st-brand-magenta, #d33bb2);
    color: #ffffff;
}

button.dcb-card-parallel:focus-visible[b-z0ccz7zd34] {
    outline: 2px solid var(--st-brand-magenta, #d33bb2);
    outline-offset: 1px;
}

.dcb-card-parallel-list[b-z0ccz7zd34] {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dcb-card-plate[b-z0ccz7zd34] {
    overflow: hidden;
    font-size: 19px;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: var(--dcb-plate, var(--st-text-brand));
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Los días en gris, como el diseño: el estado ya lo dicen el borde, la barra y la OT. */
.dcb-card-days[b-z0ccz7zd34] {
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
}

/* La línea 1 (D173) dice lo que eligió el taller: sin la fecha, en gris («Sin promesa»); con la fecha esperada ya pasada,
   en ámbar (la promesa no: su estado lo dicen el borde y la barra). El texto largo termina en «…». */
.dcb-card-days[b-z0ccz7zd34] { overflow: hidden; text-overflow: ellipsis; min-height: 16px; }
.dcb-card-days.is-muted[b-z0ccz7zd34] { color: var(--dcb-text-faint, var(--st-text-muted)); font-weight: 600; }
.dcb-card-days.is-warn[b-z0ccz7zd34] { color: var(--dcb-warn-text, var(--st-warning-fg)); }

/* Derecha: el logo arriba, bajo el nivel de la esquina, y la foto debajo, sin tocarse. Desde D99 la foto mide 28 px
   y queda encima de la línea de datos, que va de lado a lado debajo de los días. */
.dcb-card-side[b-z0ccz7zd34] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 5px;
    width: 40px;
}

/* El recuadro del diseño: logo de la aseguradora, o su nombre si no hay logo. */
.dcb-card-insurer[b-z0ccz7zd34] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 18px;
    margin-top: 6px;
    padding: 2px 3px;
    border-radius: 6px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    overflow: hidden;
}

.dcb-card-insurer img[b-z0ccz7zd34] {
    position: absolute;
    inset: 2px 4px;
    width: calc(100% - 8px);
    height: calc(100% - 4px);
    object-fit: contain;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

/* Sin aseguradora no hay recuadro; el hueco conserva la altura para que la foto no suba. */
.dcb-card-insurer-none[b-z0ccz7zd34] {
    height: 18px;
}

/* El recuadro (D172): lo que el taller eligió, alineado a la derecha y del alto del logo; una foto ahí va en 18 px. */
.dcb-card-corner[b-z0ccz7zd34] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
    height: 18px;
    margin-top: 5px;
}

.dcb-card-corner .dcb-card-insurer[b-z0ccz7zd34] {
    margin-top: 0;
}

.dcb-card-insurer-name[b-z0ccz7zd34] {
    overflow: hidden;
    font-size: 8.5px;
    font-weight: 700;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Foto de quien tiene la OT en este proceso; las iniciales quedan debajo por si no hay foto o no carga. */
.dcb-card-person[b-z0ccz7zd34] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dcb-text-faint, var(--st-text-muted));
    box-shadow: 0 0 0 2px var(--dcb-bg, var(--st-surface)), 0 0 0 3px var(--dcb-border, var(--st-border));
    overflow: hidden;
}

.dcb-card-person img[b-z0ccz7zd34] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcb-card-initials[b-z0ccz7zd34] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.dcb-card-person.is-empty[b-z0ccz7zd34] {
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    box-shadow: none;
    border: 1.5px dashed var(--dcb-border-strong, var(--st-border-strong));
}

.dcb-card-person.is-empty .dcb-card-initials[b-z0ccz7zd34] {
    color: var(--dcb-text-faint, var(--st-text-muted));
}

/* La foto o el recuadro con otra cosa (D172): en el recuadro, un círculo de 18 px; el logo de la aseguradora, entero
   sobre blanco; el icono del proceso, en su círculo blanco con el anillo de su color (como la cabecera, D87); nada, el
   hueco del mismo tamaño. */
.dcb-card-person.is-small[b-z0ccz7zd34] {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 0 1.5px var(--dcb-bg, var(--st-surface)), 0 0 0 2.5px var(--dcb-border, var(--st-border));
}

.dcb-card-person.is-small .dcb-card-initials[b-z0ccz7zd34] {
    font-size: 7.5px;
}

.dcb-card-person.is-logo[b-z0ccz7zd34] {
    background: #ffffff;
}

.dcb-card-person.is-logo img[b-z0ccz7zd34] {
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: contain;
}

.dcb-card-person.is-logo .dcb-card-initials[b-z0ccz7zd34] {
    font-size: 8px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-card-person.is-process[b-z0ccz7zd34] {
    background: #ffffff;
    box-shadow: 0 0 0 2px var(--dcb-card-process, #64748b);
}

.dcb-card-person.is-process img[b-z0ccz7zd34] {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dcb-card-person.is-process.is-small[b-z0ccz7zd34] {
    box-shadow: 0 0 0 1.5px var(--dcb-card-process, #64748b);
}

.dcb-card-person.is-none[b-z0ccz7zd34] {
    background: transparent;
    box-shadow: none;
}

/* Nivel de la OT en la esquina (L · M · F · E): leve verde como el diseño, medio ámbar, fuerte pizarra,
   express azul. El rojo queda para la promesa vencida y la detención. */
.dcb-card-level[b-z0ccz7zd34] {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--dcb-bg, var(--st-surface));
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-card-level.is-light[b-z0ccz7zd34] { background: #22c55e; }
.dcb-card-level.is-medium[b-z0ccz7zd34] { background: #f59e0b; }
.dcb-card-level.is-heavy[b-z0ccz7zd34] { background: #334155; }
.dcb-card-level.is-express[b-z0ccz7zd34] { background: #0ea5e9; }

/* La línea 2 (D173): debajo de la línea 1 y de la foto, de lado a lado, del mismo tamaño y formato que la línea 1. En
   una columna unida (D95) va después del punto del proceso de la tarjeta; sin línea 2, el nombre del proceso. */
.dcb-card-data[b-z0ccz7zd34] {
    position: absolute;
    left: 18px;
    right: 6px;
    top: 64px;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 16px;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.dcb-card-process[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-card-process-dot[b-z0ccz7zd34] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dcb-card-process, #64748b);
}

.dcb-card-process-name[b-z0ccz7zd34] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gris si la OT no tiene la fecha; ámbar si la fecha esperada ya pasó (no rojo: el rojo es de la promesa, D51). */
.dcb-card-field[b-z0ccz7zd34] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-card-field.is-muted[b-z0ccz7zd34] {
    color: var(--dcb-text-faint, var(--st-text-muted));
    font-weight: 600;
}

.dcb-card-field.is-warn[b-z0ccz7zd34] {
    color: var(--dcb-warn-text, var(--st-warning-fg));
}

/* Las etiquetas (D102, D109, D111): stickers de 20 px, sin texto, sobre el borde de abajo, mitad dentro y mitad
   fuera, al centro. Entre tarjetas hay 12 px: asoman 10 y no tocan la de abajo (el nivel y VFT de esa van en sus
   esquinas de arriba). */
.dcb-card-tags[b-z0ccz7zd34] {
    position: absolute;
    left: 50%;
    bottom: -10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transform: translateX(-50%);
}

.dcb-card-tag[b-z0ccz7zd34] {
    position: relative;
    display: inline-flex;
    transition: transform 0.12s ease;
}

/* Más de tres: se ven al pasar el ratón por la tarjeta o al tocar «+2» (entonces «+2» se va). */
.dcb-card-tag.is-extra[b-z0ccz7zd34] {
    display: none;
}

.dcb-card-tags.is-all .dcb-card-tag.is-extra[b-z0ccz7zd34] {
    display: inline-flex;
}

.dcb-card-tags-more[b-z0ccz7zd34] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 1px solid var(--dcb-border, var(--st-border-strong));
    border-radius: 999px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--dcb-text-muted, var(--st-text-secondary));
    cursor: pointer;
}

.dcb-card-tags-more:focus-visible[b-z0ccz7zd34] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

/* Quitar (D111): con permiso, el sticker bajo el ratón crece un poco y muestra su ✕ roja en la esquina. */
.dcb-card-tag-remove[b-z0ccz7zd34] {
    position: absolute;
    top: -6px;
    right: -7px;
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    padding: 0;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    background: #a61b1b;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
    cursor: pointer;
}

.dcb-card-tag-remove svg[b-z0ccz7zd34] {
    width: 9px;
    height: 9px;
}

.dcb-card-tag-remove:focus-visible[b-z0ccz7zd34] {
    display: flex;
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-card-tags.is-all .dcb-card-tag-remove[b-z0ccz7zd34],
.dcb-card-tag:focus-within .dcb-card-tag-remove[b-z0ccz7zd34] {
    display: flex;
}

@media (hover: hover) {
    .dcb-card:hover .dcb-card-tag.is-extra[b-z0ccz7zd34] {
        display: inline-flex;
    }

    .dcb-card:hover .dcb-card-tags:not(.is-all) .dcb-card-tags-more[b-z0ccz7zd34] {
        display: none;
    }

    .dcb-card-tag:has(.dcb-card-tag-remove):hover[b-z0ccz7zd34] {
        transform: scale(1.15);
    }

    .dcb-card-tag:hover .dcb-card-tag-remove[b-z0ccz7zd34] {
        display: flex;
    }
}

/* Agregando una etiqueta (D111): la tarjeta se toca para agregarla, no para abrir la OT; la pastilla del puntero
   dice qué se agrega o que ya la tiene. */
.dcb-card.is-stamping[b-z0ccz7zd34] {
    cursor: copy;
}

.dcb-card.is-stamping.has-stamp[b-z0ccz7zd34] {
    cursor: not-allowed;
}

/* Resaltando una etiqueta (D111): las OT que no la tienen, semitransparentes; al pasar el ratón se leen. */
.dcb-card.is-dimmed[b-z0ccz7zd34] {
    opacity: 0.28;
}

/* v12 G4 «Mover en el DCB»: only the work orders being moved; the rest of the board is dimmed and does nothing. */
.dcb-card.is-locked[b-z0ccz7zd34],
.dcb-card.is-locked:hover[b-z0ccz7zd34] {
    opacity: 0.22;
    cursor: default;
    filter: grayscale(0.6);
}

.dcb-card.is-dimmed:hover[b-z0ccz7zd34],
.dcb-card.is-dimmed:focus-visible[b-z0ccz7zd34] {
    opacity: 0.75;
}

.dcb-card-field.is-warn[b-z0ccz7zd34] {
    color: var(--dcb-warn-text, var(--st-warning-fg));
    background: var(--st-warning-bg-strong);
}

.dcb-card-field.is-muted[b-z0ccz7zd34] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    background: transparent;
    font-style: italic;
}

/* Vehículo fuera del taller (D101): en la esquina de arriba a la izquierda, como en la bandeja, pero en pizarra (el
   rojo del tablero es de la promesa vencida y la detención, D51). El nivel sigue en la de la derecha. */
/* Inverse pill: the plate color with the card color as text, so it stands out in both themes. */
.dcb-card-vft[b-z0ccz7zd34] {
    position: absolute;
    top: -8px;
    left: -6px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--dcb-plate, var(--st-text-brand));
    box-shadow: 0 0 0 2px var(--dcb-bg, var(--st-surface));
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--dcb-bg, var(--st-surface));
}

/* JS-G10 (E2, A11): el espacio numerado del patio donde está estacionado el vehículo que está en el taller, en la misma esquina que
   «VFT» (uno u otro: un vehículo no está dentro y fuera). Contorno y no relleno, para que no se lea como un aviso. */
.dcb-card-space[b-z0ccz7zd34] {
    position: absolute;
    top: -8px;
    left: -6px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    max-width: 70%;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 0 0 1.5px var(--dcb-text-faint, var(--st-text-muted));
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

/* D259: la tarjeta a la que llevó el buscador; dcb-board.js (locateCard) la marca un momento con un contorno magenta que late. */
.dcb-card.dcb-located[b-z0ccz7zd34] {
    outline: 3px solid #d81b84;
    outline-offset: 2px;
    animation: dcb-located-pulse-b-z0ccz7zd34 0.8s ease-in-out 3;
}

@keyframes dcb-located-pulse-b-z0ccz7zd34 {
    0%, 100% { outline-color: #d81b84; }
    50% { outline-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-card.dcb-located[b-z0ccz7zd34] {
        animation: none;
    }
}

/* H-09 (DJ-04): a promise that is only the proposal of the system, not yet confirmed with the customer. */
.dcb-card-days.is-proposed[b-z0ccz7zd34] {
    font-style: italic;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

/* H-12: what the order lacks to go on (the approval, the repair order, the parts): amber while it waits, red when it was rejected. */
.dcb-card-lack[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 14px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--st-warning-fg);
}

.dcb-card-lack.is-rejected[b-z0ccz7zd34] {
    background: var(--st-danger-fg);
    color: var(--st-surface);
}

.dcb-card-lack svg[b-z0ccz7zd34] {
    width: 9px;
    height: 9px;
}

/* H-13: the stay in the process passed the alert time (amber) or twice it (red). */
.dcb-card-stay[b-z0ccz7zd34] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 14px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--st-warning-fg);
}

.dcb-card-stay.is-late[b-z0ccz7zd34] {
    background: var(--st-danger-fg);
    color: var(--st-surface);
}

.dcb-card-stay svg[b-z0ccz7zd34] {
    width: 10px;
    height: 10px;
}

/* Heijunka fase 7: «Mover a…», a la izquierda del nivel; se ve al pasar el ratón o con el foco (siempre en pantallas táctiles). */
.dcb-card-move[b-z0ccz7zd34] {
    position: absolute;
    top: -8px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 0 0 1.5px var(--dcb-text-faint, var(--st-text-muted));
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.dcb-card-move svg[b-z0ccz7zd34] {
    width: 13px;
    height: 13px;
}

.dcb-card:hover .dcb-card-move[b-z0ccz7zd34],
.dcb-card:focus-within .dcb-card-move[b-z0ccz7zd34],
.dcb-card-move:focus-visible[b-z0ccz7zd34] {
    opacity: 1;
}

.dcb-card-move:hover[b-z0ccz7zd34] {
    color: #d81b84;
    box-shadow: 0 0 0 1.5px #d81b84;
}

@media (hover: none) {
    .dcb-card-move[b-z0ccz7zd34] {
        opacity: 1;
    }
}
/* /Pages/Home/Components/Calendar/Dcb/DcbColumnDialog.razor.rz.scp.css */
.dcd-backdrop[b-twrn2pd2ov] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(15, 23, 42, 0.38);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.dcd-dialog[b-twrn2pd2ov] {
    position: fixed;
    inset: 4vh 4vw;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    padding: 16px 18px;
    border: 1px solid var(--dcb-border-strong);
    border-radius: 16px;
    background: var(--dcb-bg);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.5);
    color: var(--dcb-text);
}

.dcd-head[b-twrn2pd2ov] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.dcd-heading[b-twrn2pd2ov] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.dcd-heading h2[b-twrn2pd2ov] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.dcd-sub[b-twrn2pd2ov] {
    font-size: 12px;
    color: var(--dcb-text-muted);
}

/* What the column is, top right of the header: the type (union, bifurcation or plain process) in a pill of its own color, what it is made of, and
   below it the property and value it filters by, or that it filters nothing. */
.dcd-kindbox[b-twrn2pd2ov] {
    --dcd-kind-color: #64748b;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 52%;
    padding: 7px 12px;
    border: 1px solid var(--dcb-border-strong);
    border-radius: 10px;
    background: var(--dcb-bg-alt);
    text-align: right;
}

.dcd-kindbox.is-union[b-twrn2pd2ov] {
    --dcd-kind-color: var(--dcb-union, #1a365d);
}

.dcd-kindbox.is-split[b-twrn2pd2ov] {
    --dcd-kind-color: #7c3aed;
}

.dcd-kindbox-type[b-twrn2pd2ov],
.dcd-kindbox-filter[b-twrn2pd2ov] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 8px;
    min-width: 0;
    max-width: 100%;
}

.dcd-kindbox-mark[b-twrn2pd2ov] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    padding: 2px 10px 2px 8px;
    border-radius: 999px;
    background: var(--dcd-kind-color);
    /* The navy of a union is nearly the dark theme's own surface: a thin ring keeps the pill in sight there. */
    box-shadow: 0 0 0 1px var(--dcb-border-strong);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dcd-kindbox-mark[b-twrn2pd2ov]  svg {
    width: 13px;
    height: 13px;
}

.dcd-kindbox-detail[b-twrn2pd2ov] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.dcd-kindbox-filter[b-twrn2pd2ov] {
    font-size: 12px;
    line-height: 1.3;
}

.dcd-kindbox-lead[b-twrn2pd2ov] {
    color: var(--dcb-text-muted);
}

.dcd-kindbox-field[b-twrn2pd2ov] {
    font-weight: 700;
}

.dcd-kindbox-eq[b-twrn2pd2ov] {
    color: var(--dcb-text-faint);
}

.dcd-kindbox-value[b-twrn2pd2ov] {
    min-width: 0;
    max-width: 100%;
    padding: 1px 9px;
    border: 1px solid var(--dcd-kind-color);
    border-radius: 999px;
    background: var(--dcb-bg-soft);
    overflow-wrap: anywhere;
    font-weight: 700;
}

.dcd-kindbox-none[b-twrn2pd2ov] {
    color: var(--dcb-text-muted);
}

/* On a narrow screen the badge goes to its own line under the title, instead of squeezing it. */
@media (max-width: 720px) {
    .dcd-head[b-twrn2pd2ov] {
        flex-wrap: wrap;
    }

    .dcd-heading[b-twrn2pd2ov] {
        flex: 1 1 0;
    }

    .dcd-kindbox[b-twrn2pd2ov] {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .dcd-kindbox-type[b-twrn2pd2ov],
    .dcd-kindbox-filter[b-twrn2pd2ov] {
        justify-content: flex-start;
    }
}

.dcd-close[b-twrn2pd2ov] {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--dcb-border-strong);
    border-radius: 8px;
    background: var(--dcb-bg-alt);
    color: inherit;
    cursor: pointer;
}

.dcd-close svg[b-twrn2pd2ov] {
    width: 16px;
    height: 16px;
}

.dcd-kind[b-twrn2pd2ov] {
    flex: 0 0 auto;
    max-height: 30vh;
    overflow-y: auto;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--dcb-bg-alt);
}

.dcd-compose[b-twrn2pd2ov] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--dcb-bg-alt);
}

.dcd-kind-title[b-twrn2pd2ov] {
    margin-right: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dcb-text-muted);
}

.dcd-chip[b-twrn2pd2ov] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border: 1px solid var(--dcb-border-strong);
    border-radius: 999px;
    background: var(--dcb-bg-soft);
    font-size: 12px;
    font-weight: 600;
}

.dcd-chip-seq[b-twrn2pd2ov] {
    margin-right: -2px;
    font-size: 10px;
    color: var(--dcb-text-faint);
}

.dcd-chip-count[b-twrn2pd2ov] {
    color: var(--dcb-text-muted);
    font-variant-numeric: tabular-nums;
}

.dcd-foot[b-twrn2pd2ov] {
    margin-left: auto;
    max-width: 46ch;
    font-size: 11px;
    text-align: right;
    color: var(--dcb-text-faint);
}

.dcd-body[b-twrn2pd2ov] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Una unida: un carril por proceso, uno al lado del otro por secuencia; un carril con más OT crece a la derecha. */
.dcd-body.dcd-lanes[b-twrn2pd2ov] {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}

.dcd-icon[b-twrn2pd2ov] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    color: var(--dcb-union, #1a365d);
}

.dcd-icon[b-twrn2pd2ov]  svg {
    width: 22px;
    height: 22px;
}

.dcd-icon img[b-twrn2pd2ov] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dcd-icon.is-broken img[b-twrn2pd2ov] {
    display: none;
}

/* Air around the cards for what sticks out of them (the level and «VFT» at the top, the stickers at the bottom): as in a column of the
   board (.dcb-column-body), or the body clips them. dcb-board.js keeps the same 12 px at the bottom out of the rows it fits. */
.dcd-group[b-twrn2pd2ov] {
    flex: 0 0 auto;
    padding: 14px 12px 12px 8px;
}

/* A lane is a column of the board: same box, same header, shadow down to the bottom even when it is empty. It is drawn at the zoom of the board
   as a whole (header included), so a lane of one column of cards is as wide as a column of the board (190 px at the board's scale) and one of
   several grows by 182 px per column of cards: the header never sets the width (contain), it takes the one the cards give. */
.dcd-lane[b-twrn2pd2ov] {
    zoom: var(--dcd-zoom, 1);
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-width: 190px;
    border: 1px solid var(--dcb-border);
    border-radius: 10px;
    background: var(--dcb-bg-row);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dcd-lane-head[b-twrn2pd2ov] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 46px;
    margin: 3px 6px 0 4px;
    padding: 6px 8px 6px 10px;
    contain: inline-size;
    border-radius: 10px;
    background: var(--dcd-color, #64748b);
    color: #ffffff;
}

.dcd-lane-icon[b-twrn2pd2ov] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.dcd-lane-icon img[b-twrn2pd2ov] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dcd-lane-icon.is-broken img[b-twrn2pd2ov] {
    display: none;
}

.dcd-lane-name[b-twrn2pd2ov] {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
}

.dcd-lane-count[b-twrn2pd2ov] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Cards never scroll vertically: the extra ones go to the next column. */
.dcd-lane-body[b-twrn2pd2ov] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
    padding: 14px 12px 10px 8px;
}

/* One color rule for the popup, whatever the column kind (plain, union, split) and whether an order is in the air:
   the surface is always the theme's opaque one (--dcb-bg); gold only marks where the order can land (dashed border)
   and where it lands now (solid ring plus a gold tint). --dcd-gold-fill lays the tint over the opaque surface, because
   --st-gold-bg is translucent in the dark theme and alone would let the blurred board show through. */
.dcd-dialog[b-twrn2pd2ov] {
    --dcd-gold-fill: linear-gradient(var(--st-gold-bg), var(--st-gold-bg)) var(--dcb-bg);
}

/* Drag between lanes (dcb-board.js): the lanes that can receive light up; the one under the card is gold. */
.dcd-lane.is-dcd-target[b-twrn2pd2ov] {
    border-style: dashed;
    border-color: #e5b900;
}

.dcd-lane.is-dcd-over[b-twrn2pd2ov] {
    border-style: solid;
    background: var(--dcd-gold-fill);
    box-shadow: 0 0 0 2px #e5b900;
}

/* A plain column has no lanes: with an order in the air the whole popup receives it, the same gold (tint over the opaque surface). */
.dcd-dialog.is-dcd-target[b-twrn2pd2ov] {
    border-style: dashed;
    border-color: #e5b900;
}

.dcd-dialog.is-dcd-over[b-twrn2pd2ov] {
    border-style: solid;
    background: var(--dcd-gold-fill);
    box-shadow: 0 0 0 3px #e5b900, 0 24px 64px rgba(15, 23, 42, 0.5);
}

/* Where to drop, only while an order is dragged over the popup (dcb-board.js sets is-dcd-armed): floating at the bottom, so nothing moves. */
.dcd-drop-hint[b-twrn2pd2ov] {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 48px);
    padding: 8px 16px;
    border: 1px solid #e5b900;
    border-radius: 999px;
    background: var(--dcd-gold-fill);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
    color: var(--st-gold-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.dcd-drop-hint svg[b-twrn2pd2ov] {
    flex: none;
    width: 14px;
    height: 14px;
}

.dcd-dialog.is-dcd-armed .dcd-drop-hint[b-twrn2pd2ov] {
    display: inline-flex;
}

/* The card is the board's: 168 × 90 at the board's zoom (--dcd-zoom, from the dialog: the same scale the board draws its cards at). Columns of
   as many rows as fit the popup's height (dcb-board.js sets --dcd-rows, measuring the zoomed card); it grows to the right. */
.dcd-cards[b-twrn2pd2ov] {
    --dcb-card-height: 90px;
    zoom: var(--dcd-zoom, 1);
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--dcd-rows, 6), var(--dcb-card-height));
    grid-auto-columns: 168px;
    gap: 12px 14px;
}

.dcd-lane .dcd-cards[b-twrn2pd2ov] {
    zoom: 1;
}

.dcd-empty[b-twrn2pd2ov] {
    padding: 10px 0;
    border: 1px dashed var(--dcb-border-strong);
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--dcb-text-faint);
}
/* /Pages/Home/Components/Calendar/Dcb/DcbConditionFields.razor.rz.scp.css */
/* Los mismos campos que el panel de propiedades (D93): este componente va dentro de él. */
.dcb-prop-field[b-1p3gfca6t2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dcb-prop-label[b-1p3gfca6t2] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.dcb-prop-input[b-1p3gfca6t2] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
}

.dcb-prop-input:focus[b-1p3gfca6t2] {
    outline: none;
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.14);
}

.dcb-prop-input:disabled[b-1p3gfca6t2] {
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    color: var(--dcb-text-faint, var(--st-text-muted));
}

/* F8 (F8-7): una condición que se mueve con el reloj; el GOG solo por actos. */
.dcb-prop-clock[b-1p3gfca6t2] {
    margin: 0;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    font-size: 11.5px;
    line-height: 1.35;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbDeliveryPanel.razor.rz.scp.css */
/* Entrega del DCB (D72, D113): el cascarón es el LeftSidebar (la variante .dcb-delivery-panel, en su hoja, le quita
   el desplazamiento y el aire de abajo al cuerpo); aquí, el alto para la entrega rápida, que desplaza su tarjeta
   blanca por dentro y deja «Cancelar · Entregar» fijos abajo. */
.dcb-delivery-body[b-w3w9qeo1an] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

/* La franja «Viene de → Va hacia» y la tarjeta blanca van a los bordes del panel (el panel ya trae su aire), y
   «Cancelar · Entregar» con poco aire encima: el alto es para las personas y los detalles. */
.dcb-delivery-body[b-w3w9qeo1an]  .quick-handover-container {
    flex: 1 1 auto;
    min-height: 0;
}

.dcb-delivery-body[b-w3w9qeo1an]  .wizard-white-card {
    margin: 0;
}

.dcb-delivery-body[b-w3w9qeo1an]  .wizard-footer-bar {
    padding: 12px 0 0;
}

/* Antes de la entrega, la autorización: una línea que dice por qué y la de la bandeja debajo. */
.dcb-delivery-step[b-w3w9qeo1an] {
    flex: 0 0 auto;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 10px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 12.5px;
    line-height: 1.45;
}

.dcb-delivery-step b[b-w3w9qeo1an] {
    color: var(--st-text-strong);
    font-weight: 700;
}

/* D362: «Entregar sin autorizar», debajo del aviso: la autorización no impide entregar. */
.dcb-delivery-skip[b-w3w9qeo1an] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: -4px 0 10px;
    color: var(--st-text-subtle);
    font-size: 12px;
    line-height: 1.4;
}

.dcb-delivery-skip-btn[b-w3w9qeo1an] {
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-delivery-skip-btn:hover[b-w3w9qeo1an] {
    background: var(--st-warning-bg);
}

.dcb-delivery-skip-btn:focus-visible[b-w3w9qeo1an] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.dcb-delivery-authorization[b-w3w9qeo1an] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

/* The authorization before the delivery: right edge at half, as in the board's assignment (D160). */
.dcb-delivery-authorization[b-w3w9qeo1an]  .assign-glass-container {
    padding-right: 0 !important;
}

.dcb-delivery-authorization[b-w3w9qeo1an]  .assign-mid-section,
.dcb-delivery-authorization[b-w3w9qeo1an]  .assign-selected-group-section {
    padding-right: 0;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbEditCells.razor.rz.scp.css */
/* Celda libre de la grilla del editor (D78): del tamaño de una tarjeta, punteada y casi sin color, para
   que los bloques manden. */
.dcb-edit-cell[b-lhwl7302qj] {
    box-sizing: border-box;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 10px;
    background: color-mix(in srgb, var(--st-surface-muted) 70%, transparent);
    pointer-events: none;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbGuide.razor.rz.scp.css */
/* Cómo leer el DCB (D79): el botón «i», el popover y sus secciones son de KodawariBarPopover; aquí solo las
   muestras, que copian en pequeño la cabecera, la tarjeta y los avisos del tablero (DcbBoard.razor.css,
   DcbCard.razor.css). */
/* Como la cabecera del tablero, el nombre baja a un segundo renglón si no cabe (D91): la muestra no se sale de su
   columna. */
.dcb-g-head[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 20px;
    padding: 3px 5px 3px 6px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.dcb-g-name[b-5vzoxf9g3l] {
    min-width: 0;
}

.dcb-g-icon[b-5vzoxf9g3l],
.dcb-g-split[b-5vzoxf9g3l],
.dcb-g-head b[b-5vzoxf9g3l] {
    flex: none;
}

/* Una unida (D95), en azul marino. */
.dcb-g-head.is-union[b-5vzoxf9g3l] {
    background: #1a365d;
}

.dcb-g-head b[b-5vzoxf9g3l] {
    min-width: 14px;
    height: 13px;
    padding: 0 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 9px;
    line-height: 13px;
    text-align: center;
}

/* El icono del proceso en la cabecera (D87): el círculo blanco, sin imagen en la muestra. */
.dcb-g-icon[b-5vzoxf9g3l] {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
}

.dcb-g-split[b-5vzoxf9g3l] {
    width: 10px;
    height: 10px;
}

.dcb-g-more[b-5vzoxf9g3l] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--st-text);
    color: var(--st-surface);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* El botón «Sin mapear» de la barra (D84), en pequeño: con cuántas OT tiene, en la píldora ámbar, que baja a
   un segundo renglón si no cabe (D91). */
.dcb-g-outside[b-5vzoxf9g3l] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 4px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 2px 4px 2px 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.dcb-g-outside b[b-5vzoxf9g3l] {
    white-space: nowrap;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 8.5px;
}

/* La tarjeta (168 × 90) a menos de la mitad, con el borde, la barra y la OT en verde (a tiempo). */
.dcb-g-card[b-5vzoxf9g3l] {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    gap: 3px;
    box-sizing: border-box;
    width: 76px;
    height: 42px;
    padding: 4px 3px 4px 9px;
    border: 1.5px solid #5cc27a;
    border-radius: 8px;
    background: var(--st-surface);
}

.dcb-g-card[b-5vzoxf9g3l]::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 3px;
    height: 20px;
    border-radius: 2px;
    background: #5cc27a;
}

.dcb-g-main[b-5vzoxf9g3l] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    line-height: 1;
}

.dcb-g-ot[b-5vzoxf9g3l] {
    font-size: 7px;
    font-weight: 700;
    color: var(--st-success-fg);
}

.dcb-g-plate[b-5vzoxf9g3l] {
    font-size: 10px;
    font-weight: 800;
    color: var(--st-text-brand);
}

.dcb-g-days[b-5vzoxf9g3l] {
    font-size: 7px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.dcb-g-side[b-5vzoxf9g3l] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    width: 18px;
}

.dcb-g-logo[b-5vzoxf9g3l] {
    width: 18px;
    height: 8px;
    margin-top: 4px;
    border-radius: 3px;
    background: var(--st-surface-sunken);
}

.dcb-g-photo[b-5vzoxf9g3l] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--st-text-muted);
    box-shadow: 0 0 0 1px var(--st-surface), 0 0 0 1.5px var(--st-border);
}

.dcb-g-level[b-5vzoxf9g3l] {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 1.5px var(--st-surface);
    color: #ffffff;
    font-size: 7px;
    font-weight: 800;
}

/* La marca ∥ de la tarjeta (DcbCard): la misma píldora con dos rayas. */
.dcb-g-parallel[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
}

.dcb-g-parallel svg[b-5vzoxf9g3l] {
    width: 11px;
    height: 11px;
}

/* OT temporal y cita de valoración sin OT, como en la tarjeta y en la franja de citas. */
.dcb-g-draft[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 7px;
    border: 1px solid var(--st-text-subtle);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.dcb-g-assess[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 6px;
    border: 1px solid var(--st-text-subtle);
    border-radius: 6px;
    background: var(--st-surface-strong);
    color: var(--st-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* F8 (F8-7): la OT que espera reparación y ya está en reparación por un acto, como en la tarjeta. */
.dcb-g-act[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-success-fg);
}

.dcb-g-act svg[b-5vzoxf9g3l] {
    width: 10px;
    height: 10px;
}

/* La marca de vehículo fuera del taller (D101), como en la tarjeta. */
.dcb-g-tags[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dcb-g-sticker[b-5vzoxf9g3l],
.dcb-g-postit[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #7c3aed;
    box-shadow: 0 0 0 1.5px var(--st-surface), 0 1px 2px rgba(15, 23, 42, 0.25);
    font-size: 8px;
    font-weight: 800;
    color: #ffffff;
}

.dcb-g-postit[b-5vzoxf9g3l] {
    border-radius: 2px;
    background:
        linear-gradient(315deg, rgba(15, 23, 42, 0.28) 0 18%, transparent 18%),
        #e9dcb8;
    transform: rotate(-4deg);
}

.dcb-g-field[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    font-size: 10px;
    font-weight: 600;
    color: var(--st-text);
    white-space: nowrap;
}

.dcb-g-vft[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-text-brand);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--st-surface);
}

/* H-12: the sample of the mark of what the order lacks. */
.dcb-g-lack[b-5vzoxf9g3l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 14px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-warning-fg);
    font-size: 10px;
    font-weight: 700;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbKindNote.razor.rz.scp.css */
/* Qué es una duplicada o una unida (D153): sin borde, sin fondo y sin icono; el proceso (con el punto de su color) o los
   procesos que junta y su condición, centrados. Los textos que acompañan («Duplicado de», «Solo sus OTs con») van en el
   gris del texto secundario; lo que se nombra, en negrita. En el bloque del editor sigue el zoom del tablero
   (--dcb-kind-z); en el detalle del tablero, al 100 %, sobre la tarjeta que pone el tablero. */
.dcb-kind[b-kdafacuqeq] {
    --dcb-kind-s: var(--dcb-kind-z, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(3px * var(--dcb-kind-s));
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    color: var(--dcb-text, var(--st-text));
    font-size: calc(11px * var(--dcb-kind-s));
    line-height: 1.3;
    text-align: center;
}

.dcb-kind p[b-kdafacuqeq] {
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* En el detalle del tablero, su tipo arriba a la izquierda, como en el bloque del editor. */
.dcb-kind-label[b-kdafacuqeq] {
    align-self: stretch;
    padding-bottom: calc(2px * var(--dcb-kind-s));
    text-align: left;
    color: var(--st-text-secondary);
}

/* El proceso, con el punto de su color pegado al texto: si el nombre ocupa dos renglones, el punto va con el primero,
   no en el borde. */
.dcb-kind-source[b-kdafacuqeq] {
    font-weight: 700;
}

.dcb-kind-dot[b-kdafacuqeq] {
    display: inline-block;
    flex: none;
    width: calc(8px * var(--dcb-kind-s));
    height: calc(8px * var(--dcb-kind-s));
    border-radius: 50%;
}

.dcb-kind-source .dcb-kind-dot[b-kdafacuqeq] {
    margin-right: calc(5px * var(--dcb-kind-s));
    vertical-align: calc(1px * var(--dcb-kind-s));
}

.dcb-kind-members[b-kdafacuqeq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(2px * var(--dcb-kind-s));
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dcb-kind-members li[b-kdafacuqeq] {
    display: flex;
    align-items: center;
    gap: calc(5px * var(--dcb-kind-s));
    max-width: 100%;
    min-width: 0;
    font-weight: 700;
}

.dcb-kind-members li span[b-kdafacuqeq] {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dcb-kind-members li.is-more[b-kdafacuqeq] {
    font-weight: 600;
    color: var(--st-text-secondary);
}

.dcb-kind-line[b-kdafacuqeq] {
    color: var(--st-text-secondary);
}

/* La condición, con aire bajo el proceso o la lista de procesos (más que el margen 0 de los párrafos de la ficha). */
.dcb-kind .dcb-kind-line[b-kdafacuqeq] {
    margin-top: calc(4px * var(--dcb-kind-s));
}

.dcb-kind-rule[b-kdafacuqeq] {
    font-weight: 700;
    color: var(--dcb-text, var(--st-text));
}

.dcb-kind-foot[b-kdafacuqeq] {
    align-self: stretch;
    padding-top: calc(5px * var(--dcb-kind-s));
    border-top: 1px solid var(--dcb-border, var(--st-border));
    color: var(--dcb-text-muted, var(--st-text-subtle));
}
/* /Pages/Home/Components/Calendar/Dcb/DcbLayoutEditor.razor.rz.scp.css */
/* Configurar el DCB (D78, D79). Tokens del tablero (--dcb-*, heredados de .dcb-board) y de selección de la app
   (--kodawari-selected*, de la raíz de la pantalla): Guardar en el fucsia de la app, lo encendido en amarillo
   suave, el foco del teclado en magenta, el destino del arrastre en verde si se puede soltar y en rojo si no. */
.dcb-editor[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

/* ── Barra: la misma caja que la del tablero (fondo suave, 5 × 8 px, radio 8), así la grilla no salta al entrar ── */
.dcb-editor-bar[b-s1qur1aa3v] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

/* D580: the way back to «Configurar tableros», when the editor was opened from there. */
.dcb-editor-back[b-s1qur1aa3v] {
    flex: none;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.dcb-editor-back:hover:not(:disabled)[b-s1qur1aa3v] { background: var(--st-surface-sunken); color: var(--st-text); }

.dcb-editor-back:disabled[b-s1qur1aa3v] { opacity: 0.45; cursor: not-allowed; }

.dcb-editor-back:focus-visible[b-s1qur1aa3v] { outline: 2px solid var(--dcb-accent, #d81b84); outline-offset: 2px; }

.dcb-editor-pill[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* El nombre de la distribución (D89) cabe en la barra: uno largo se corta (el título lo dice entero). */
.dcb-editor-pill-text[b-s1qur1aa3v] {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Si la distribución que se configura está en el tablero (guardar cambia lo que ve el taller) o no. */
.dcb-editor-layout-badge[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
    white-space: nowrap;
}

.dcb-editor-layout-badge.is-on-board[b-s1qur1aa3v] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.dcb-editor-pill-dot[b-s1qur1aa3v] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dcb-accent, #d81b84);
    animation: dcb-editor-pulse-b-s1qur1aa3v 1.8s ease-in-out 3;
}

@keyframes dcb-editor-pulse-b-s1qur1aa3v {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.dcb-editor-hint[b-s1qur1aa3v] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mientras se arrastra, la pista dice qué hace cada sitio (D149, D150); al estirar, la de siempre. */
.dcb-editor-hint.is-dragging[b-s1qur1aa3v],
.dcb-editor-hint .is-coarse[b-s1qur1aa3v] {
    display: none;
}

.dcb-editor.is-arranging:not(.is-resizing) .dcb-editor-hint.is-dragging[b-s1qur1aa3v] {
    display: block;
}

.dcb-editor.is-arranging:not(.is-resizing) .dcb-editor-hint.is-idle[b-s1qur1aa3v],
.dcb-editor.is-arranging:not(.is-resizing) .dcb-editor-notice[b-s1qur1aa3v] {
    display: none;
}

@media (pointer: coarse) {
    .dcb-editor-hint .is-coarse[b-s1qur1aa3v] {
        display: inline;
    }

    .dcb-editor-hint .is-fine[b-s1qur1aa3v] {
        display: none;
    }
}

/* Lo que el editor movió solo (D148–D151), con «Deshacer»: en el sitio de la pista, también en pantallas angostas. */
.dcb-editor-notice[b-s1qur1aa3v] {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-notice svg[b-s1qur1aa3v] {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--st-success-fg);
}

.dcb-editor-notice-text[b-s1qur1aa3v] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-editor-notice-undo[b-s1qur1aa3v] {
    flex: none;
    padding: 2px 4px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--dcb-accent, #d81b84);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.dcb-editor-notice-undo:disabled[b-s1qur1aa3v] {
    opacity: 0.5;
    cursor: default;
}

/* Lo que quedaría en «Sin mapear» si se guarda así (D147). */
.dcb-editor-outside[b-s1qur1aa3v] {
    flex: none;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.dcb-editor-actions[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.dcb-editor-btn[b-s1qur1aa3v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dcb-editor-btn svg[b-s1qur1aa3v] {
    width: 13px;
    height: 13px;
}

.dcb-editor-btn:hover:not(:disabled)[b-s1qur1aa3v] {
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    border-color: var(--dcb-text-faint, var(--st-border-stronger));
}

.dcb-editor-btn:focus-visible[b-s1qur1aa3v],
.dcb-editor-icon:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

.dcb-editor-btn:disabled[b-s1qur1aa3v] {
    color: var(--dcb-text-faint, var(--st-text-muted));
    cursor: not-allowed;
}

/* La ayuda abierta se enciende: amarillo suave de la app con borde. */
.dcb-editor-btn.is-on[b-s1qur1aa3v],
.dcb-editor-icon.is-on[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.dcb-editor-btn.is-on:hover:not(:disabled)[b-s1qur1aa3v],
.dcb-editor-icon.is-on:hover:not(:disabled)[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.dcb-editor-count[b-s1qur1aa3v] {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--st-text-secondary);
}

.dcb-editor-add.is-on .dcb-editor-count[b-s1qur1aa3v] {
    background: color-mix(in srgb, var(--st-surface) 70%, transparent);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* Guardar (D79): la acción principal, en el fucsia de la app (el de sus botones de guardar). */
.dcb-editor-btn.is-primary[b-s1qur1aa3v] {
    min-width: 84px;
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-editor-btn.is-primary:hover:not(:disabled)[b-s1qur1aa3v] {
    border-color: #eb5bb6;
    background: #eb5bb6;
}

.dcb-editor-btn.is-primary.is-disabled[b-s1qur1aa3v],
.dcb-editor-btn.is-primary.is-disabled:hover[b-s1qur1aa3v] {
    border-color: var(--dcb-border-strong, var(--st-border-strong));
    background: var(--dcb-border, var(--st-surface-strong));
    color: var(--st-text-subtle);
    cursor: not-allowed;
}

/* Guardar con sus otras maneras (D89): los dos botones pegados, como un solo botón partido. */
.dcb-editor-save[b-s1qur1aa3v] {
    position: relative;
    display: inline-flex;
}

.dcb-editor-save.has-menu > .dcb-editor-btn.is-primary:first-child[b-s1qur1aa3v] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dcb-editor-btn.is-primary.dcb-editor-save-more[b-s1qur1aa3v] {
    min-width: 0;
    width: 28px;
    padding: 0;
    border-left-color: rgba(255, 255, 255, 0.45);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.dcb-editor-btn.is-primary.dcb-editor-save-more:disabled[b-s1qur1aa3v] {
    border-color: #f0a6cf;
    background: #f0a6cf;
    color: #ffffff;
}

.dcb-editor-save-more svg[b-s1qur1aa3v] {
    width: 12px;
    height: 12px;
}

/* Abierto, la flecha se voltea como en todos los desplegables de los tableros (D91); el botón sigue en el fucsia de
   Guardar, la acción principal. */
.dcb-editor-save-more svg[b-s1qur1aa3v] {
    transition: transform 0.12s ease;
}

.dcb-editor-save-more[aria-expanded="true"] svg[b-s1qur1aa3v] {
    transform: rotate(180deg);
}

.dcb-editor-save-backdrop[b-s1qur1aa3v] {
    position: fixed;
    inset: 0;
    z-index: 39;
}

.dcb-editor-save-menu[b-s1qur1aa3v] {
    position: absolute;
    top: 34px;
    right: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: 270px;
    padding: 4px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.dcb-editor-save-menu button[b-s1qur1aa3v] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.dcb-editor-save-menu button b[b-s1qur1aa3v] {
    font-weight: 600;
}

.dcb-editor-save-menu button span[b-s1qur1aa3v] {
    font-size: 11.5px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-editor-save-menu button:hover:not(:disabled)[b-s1qur1aa3v] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-editor-save-menu button:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

.dcb-editor-save-menu button:disabled[b-s1qur1aa3v] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dcb-editor-btn.is-danger[b-s1qur1aa3v] {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.dcb-editor-btn.is-danger:hover:not(:disabled)[b-s1qur1aa3v] {
    border-color: #b91c1c;
    background: #b91c1c;
}

.dcb-editor-spinner[b-s1qur1aa3v] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: dcb-editor-spin-b-s1qur1aa3v 0.7s linear infinite;
}

@keyframes dcb-editor-spin-b-s1qur1aa3v {
    to { transform: rotate(360deg); }
}

.dcb-editor-icon[b-s1qur1aa3v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    cursor: pointer;
}

.dcb-editor-icon svg[b-s1qur1aa3v] {
    width: 15px;
    height: 15px;
}

.dcb-editor-icon:hover:not(:disabled)[b-s1qur1aa3v] {
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    border-color: var(--dcb-text-faint, var(--st-border-stronger));
}

.dcb-editor-icon:disabled[b-s1qur1aa3v] {
    color: var(--st-text-faint);
    cursor: not-allowed;
}

.dcb-editor-icon.is-plain[b-s1qur1aa3v] {
    border-color: transparent;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-editor-icon.is-plain:hover[b-s1qur1aa3v] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    border-color: transparent;
}

/* ── Aviso: no se pudo guardar, o alguien guardó entretanto ── */
.dcb-editor-alert[b-s1qur1aa3v] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--dcb-danger-text, var(--st-danger-text));
    font-size: 12.5px;
    font-weight: 600;
}

.dcb-editor-alert.is-conflict[b-s1qur1aa3v] {
    border-color: var(--st-warning-border);
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
}

.dcb-editor-alert > svg[b-s1qur1aa3v] {
    flex: none;
    width: 18px;
    height: 18px;
}

.dcb-editor-alert-text[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dcb-editor-alert-sub[b-s1qur1aa3v] {
    font-weight: 500;
    color: inherit;
    opacity: 0.85;
}

/* Guardando: lo que se guarda es lo que se ve; nada se mueve hasta que responda el servidor. */
.dcb-editor.is-saving .dcb-editor-main[b-s1qur1aa3v] {
    opacity: 0.7;
    pointer-events: none;
}

/* ── Área de trabajo: la grilla y, a la derecha, el panel ── */
.dcb-editor-main[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    min-height: 0;
}

/* Poniéndole nombre a una distribución (D89): el tablero no se toca mientras el panel está abierto. */
.dcb-editor.is-naming .dcb-edit-scroll[b-s1qur1aa3v] {
    pointer-events: none;
}

/* Cambiando el ancho del panel (D85): sin seleccionar texto al pasar por la grilla. */
.dcb-editor-main.is-panel-resizing[b-s1qur1aa3v] {
    cursor: col-resize;
    user-select: none;
}

.dcb-edit-scroll[b-s1qur1aa3v] {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}

/* Las pilas fijas de citas y entregas a los lados de la grilla (F2, F3): el marco las pone en fila con ella y se estiran a su alto.
   La grilla mide lo que sus columnas: la pila de entregas queda pegada a la última, sin hueco en medio. */
.dcb-edit-frame[b-s1qur1aa3v] {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
}

.dcb-edit-frame > .dcb-edit-grid[b-s1qur1aa3v] {
    flex: 0 0 auto;
    min-width: 0;
}

/* La grilla: celdas de una tarjeta (las mismas medidas que el tablero). Lo que pasa del borde crea
   columnas y filas implícitas del mismo tamaño, así un bloque se puede llevar más allá mientras se arrastra. */
.dcb-edit-grid[b-s1qur1aa3v] {
    --dcb-cell-w: var(--dcb-column-width, 190px);
    --dcb-cell-h: var(--dcb-row-height, 90px);
    --dcb-gap-x: 8px;
    --dcb-gap-y: 12px;

    position: relative;
    display: grid;
    grid-auto-columns: var(--dcb-cell-w);
    grid-auto-rows: var(--dcb-cell-h);
    column-gap: var(--dcb-gap-x);
    row-gap: var(--dcb-gap-y);
    width: max-content;
    min-width: 100%;
    /* Arriba, el aire para la ✕ del bloque elegido, que sobresale de su esquina (D88); el módulo cuenta el
       relleno al pasar del cursor a una celda. */
    padding: 10px 10px 8px 0;
    box-sizing: border-box;
}

.dcb-editor.is-arranging[b-s1qur1aa3v],
.dcb-editor.is-arranging *[b-s1qur1aa3v] {
    cursor: grabbing !important;
    user-select: none;
}

.dcb-editor.is-resizing[b-s1qur1aa3v],
.dcb-editor.is-resizing *[b-s1qur1aa3v] {
    cursor: nwse-resize !important;
}

/* ── Bloque ── */
.dcb-edit-tile[b-s1qur1aa3v] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    /* Como la columna del tablero (D79): mismo borde, radio y fondo, a la escala del zoom. */
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: calc(10px * var(--dcb-z, 1));
    background: var(--dcb-bg-row, var(--st-surface-sunken));
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

/* Con ratón el bloque se agarra de cualquier parte; en pantalla táctil, de la cabecera (el cuerpo desplaza). */
@media (pointer: fine) {
    .dcb-edit-tile[b-s1qur1aa3v] {
        cursor: grab;
    }
}

.dcb-edit-tile:hover[b-s1qur1aa3v] {
    border-color: var(--dcb-border-strong, var(--st-border-strong));
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* Sin marca de «elegido» tras un clic (D79); con el teclado sí se ve dónde está el foco. */
.dcb-edit-tile:focus[b-s1qur1aa3v] {
    outline: none;
}

.dcb-edit-tile:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

/* Elegido (D83): el amarillo de «Sin mapear» (borde punteado ámbar claro y fondo crema), con el aviso de
   cuántas OT tendrá. Encima de sus vecinos: su ✕ sobresale de la esquina (D88). */
/* El amarillo va sobre el fondo de la columna: en el tema oscuro es translúcido y, sin ese fondo, se verían las celdas
   punteadas de la grilla a través del bloque (D153). */
.dcb-edit-tile.is-selected[b-s1qur1aa3v],
.dcb-edit-tile.is-selected:hover[b-s1qur1aa3v] {
    z-index: 3;
    border: 1.5px dashed var(--st-warning-border);
    background: linear-gradient(var(--st-gold-bg), var(--st-gold-bg)), var(--dcb-bg-row, var(--st-surface-sunken));
}

/* El aviso del elegido va al pie del bloque, centrado (D153); el margen lateral deja libre la esquina para estirarlo. */
.dcb-edit-note[b-s1qur1aa3v] {
    align-self: stretch;
    margin: auto 0 0;
    padding: calc(4px * var(--dcb-z, 1)) calc(14px * var(--dcb-z, 1)) calc(12px * var(--dcb-z, 1));
    font-size: calc(12px * var(--dcb-z, 1));
    line-height: 1.4;
    text-align: center;
    color: var(--st-warning-text);
}

/* La esquina para estirar solo en el elegido (D83): con el teclado, Mayús + flechas estiran igual. */
.dcb-edit-tile:not(.is-selected) .dcb-edit-resize[b-s1qur1aa3v] {
    display: none;
}

.dcb-edit-tile.is-lifted[b-s1qur1aa3v] {
    z-index: 20;
    scale: 1.02;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.26);
    opacity: 0.96;
}

.dcb-edit-tile.is-returning[b-s1qur1aa3v] {
    transition: translate 0.18s ease, box-shadow 0.15s ease;
}

/* Estirando: en verde mientras el tamaño cabe; en rojo si choca con otro bloque (D79). */
.dcb-edit-tile.is-resizing[b-s1qur1aa3v] {
    z-index: 20;
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2), 0 10px 24px rgba(15, 23, 42, 0.16);
}

.dcb-edit-tile.is-resizing.is-resize-blocked[b-s1qur1aa3v] {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2), 0 10px 24px rgba(15, 23, 42, 0.16);
}

/* Estirando, el bloque se vuelve transparente y esconde su texto: se ven las celdas punteadas que ocupa (D153). */
.dcb-edit-tile.is-resizing[b-s1qur1aa3v],
.dcb-edit-tile.is-resizing:hover[b-s1qur1aa3v] {
    background: color-mix(in srgb, #16a34a 8%, transparent);
}

.dcb-edit-tile.is-resizing.is-resize-blocked[b-s1qur1aa3v],
.dcb-edit-tile.is-resizing.is-resize-blocked:hover[b-s1qur1aa3v] {
    background: color-mix(in srgb, #dc2626 8%, transparent);
}

.dcb-edit-tile.is-resizing .dcb-edit-body[b-s1qur1aa3v] {
    visibility: hidden;
}

/* Recién agregado: un destello del amarillo de la app para encontrarlo. */
.dcb-edit-tile.is-new[b-s1qur1aa3v] {
    animation: dcb-edit-flash-b-s1qur1aa3v 1.3s ease-out;
}

@keyframes dcb-edit-flash-b-s1qur1aa3v {
    0% { box-shadow: 0 0 0 0 rgba(229, 185, 0, 0.9); }
    35% { box-shadow: 0 0 0 6px rgba(229, 185, 0, 0.55); }
    100% { box-shadow: 0 0 0 0 rgba(229, 185, 0, 0); }
}

/* La cabecera es la del tablero (color del proceso, texto blanco, 46 px, radio 10) y es el asa. */
.dcb-edit-head[b-s1qur1aa3v] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: calc(46px * var(--dcb-z, 1));
    /* A la mitad del aire de antes arriba y a los lados (D88), como la cabecera del tablero. */
    margin: calc(3px * var(--dcb-z, 1)) calc(6px * var(--dcb-z, 1)) 0 calc(4px * var(--dcb-z, 1));
    padding: calc(6px * var(--dcb-z, 1));
    border-radius: calc(10px * var(--dcb-z, 1));
    background: var(--dcb-process, #64748b);
    color: #ffffff;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.dcb-edit-grip[b-s1qur1aa3v] {
    flex: none;
    width: 8px;
    height: 14px;
    opacity: 0.8;
}

.dcb-edit-name[b-s1qur1aa3v] {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: calc(12.5px * var(--dcb-z, 1));
    font-weight: 700;
    line-height: calc(15px * var(--dcb-z, 1));
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
    word-break: break-word;
}

/* La secuencia del proceso antes del nombre (D84): el orden de su configuración, con cifras del mismo ancho. */
.dcb-edit-seq[b-s1qur1aa3v] {
    font-variant-numeric: tabular-nums;
    opacity: 0.85;
}

/* El icono del proceso (D87), como en la cabecera del tablero: un círculo blanco en los dos temas, de 32 px, al zoom
   del tablero. */
.dcb-edit-icon[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: calc(32px * var(--dcb-z, 1));
    height: calc(32px * var(--dcb-z, 1));
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.dcb-edit-icon img[b-s1qur1aa3v] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* La imagen no cargó: el círculo blanco se queda, vacío (D153). */
.dcb-edit-icon.is-broken img[b-s1qur1aa3v] {
    display: none;
}

/* Una duplicada o una unida (D153): en el círculo blanco, el icono de lo que es (no el del proceso), como en el
   tablero; la duplicada en el color de su proceso, la unida en azul marino o en el que eligió (D512). */
.dcb-edit-icon.is-union[b-s1qur1aa3v] {
    color: var(--dcb-process, #1a365d);
}

/* La unida con el icono de uno de sus procesos (D512): en la esquina del círculo, la marca de unir. */
.dcb-edit-marked[b-s1qur1aa3v] {
    position: relative;
    display: inline-flex;
    flex: none;
}

.dcb-edit-mark[b-s1qur1aa3v] {
    position: absolute;
    right: calc(-4px * var(--dcb-z, 1));
    bottom: calc(-4px * var(--dcb-z, 1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: calc(16px * var(--dcb-z, 1));
    height: calc(16px * var(--dcb-z, 1));
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px var(--dcb-process, #1a365d);
    color: var(--dcb-process, #1a365d);
}

.dcb-edit-mark[b-s1qur1aa3v]  svg {
    width: 68%;
    height: 68%;
}

.dcb-edit-icon.is-split[b-s1qur1aa3v] {
    color: var(--dcb-process, #64748b);
}

/* El SVG lo dibuja DcbKindIcon (otro componente): sin ::deep quedaba sin tamaño y se salía del círculo. */
.dcb-edit-icon.is-union[b-s1qur1aa3v]  svg,
.dcb-edit-icon.is-split[b-s1qur1aa3v]  svg {
    width: 58%;
    height: 58%;
}

/* La ficha de una duplicada o una unida dentro del bloque (D153): todo el ancho y al zoom del tablero. */
.dcb-edit-kind[b-s1qur1aa3v] {
    display: block;
    align-self: stretch;
    min-width: 0;
    /* Más aire bajo la fila de arriba (D153): 6 px del cuerpo y 4 más. */
    margin-top: calc(4px * var(--dcb-z, 1));
    --dcb-kind-z: var(--dcb-z, 1);
}

/* «Duplicar columna» o «Cambiar filtro», solo en el elegido: un botón pequeño, blanco, que al pasar se enciende
   en el fucsia de la app. data-action: el módulo del editor no lo toma como arrastre del bloque. */
.dcb-edit-action[b-s1qur1aa3v] {
    display: inline-flex;
    align-items: center;
    gap: calc(5px * var(--dcb-z, 1));
    margin-left: 4px;
    padding: calc(4px * var(--dcb-z, 1)) calc(10px * var(--dcb-z, 1));
    border: 1px solid #f0a6cf;
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-accent-text);
    font: inherit;
    font-size: calc(11.5px * var(--dcb-z, 1));
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dcb-edit-action svg[b-s1qur1aa3v] {
    flex: none;
    width: calc(13px * var(--dcb-z, 1));
    height: calc(13px * var(--dcb-z, 1));
}

.dcb-edit-action:hover[b-s1qur1aa3v] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-edit-action:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Bajo la cabecera, una fila (D153): a la izquierda qué es («Duplicado de»), en el gris del texto secundario, y a la
   derecha cuántas OT tiene hoy; sin lo primero, la píldora sola a la derecha. */
.dcb-edit-top[b-s1qur1aa3v] {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: calc(6px * var(--dcb-z, 1));
    min-width: 0;
    padding-left: calc(4px * var(--dcb-z, 1));
}

.dcb-edit-what[b-s1qur1aa3v] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: calc(11px * var(--dcb-z, 1));
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--st-text-secondary);
}

/* «8 OTs» (D84, D153): la píldora ámbar de «Agregar proceso», bajo la cabecera del bloque (en ella apretaría el
   nombre), a la derecha y al zoom del tablero. */
.dcb-edit-count[b-s1qur1aa3v] {
    flex: none;
    margin-left: auto;
    padding: calc(1px * var(--dcb-z, 1)) calc(7px * var(--dcb-z, 1));
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    font-size: calc(10.5px * var(--dcb-z, 1));
    font-weight: 700;
    line-height: calc(15px * var(--dcb-z, 1));
    white-space: nowrap;
    color: var(--dcb-warn-text, var(--st-warning-fg));
}

/* Quitar (D88): un botón redondo que sobresale de la esquina de arriba a la derecha del bloque elegido, en
   pizarra con borde blanco; al pasar, en rojo. */
.dcb-edit-remove[b-s1qur1aa3v] {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #475569;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.dcb-edit-remove svg[b-s1qur1aa3v] {
    width: 11px;
    height: 11px;
}

.dcb-edit-remove:hover[b-s1qur1aa3v] {
    background: var(--dcb-danger, #ef4444);
    transform: scale(1.08);
}

.dcb-edit-remove:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-danger, #ef4444);
    outline-offset: 2px;
}

/* El cuerpo (D80): el fondo de la columna del tablero, sin cuadrícula; arriba, cuántas OT tiene (D84), y el
   elegido, su aviso (D83). */
.dcb-edit-body[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(6px * var(--dcb-z, 1));
    min-height: 0;
    padding: calc(10px * var(--dcb-z, 1)) calc(12px * var(--dcb-z, 1)) 0 calc(8px * var(--dcb-z, 1));
    overflow: hidden;
}

.dcb-edit-pill[b-s1qur1aa3v] {
    position: absolute;
    left: 50%;
    top: calc(50% + 20px);
    z-index: 2;
    display: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--dcb-ink, var(--st-text));
    color: var(--dcb-bg, var(--st-surface));
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.dcb-edit-tile.is-resizing .dcb-edit-pill[b-s1qur1aa3v] {
    display: block;
}

.dcb-edit-pill.is-blocked[b-s1qur1aa3v] {
    background: #dc2626;
    color: #ffffff;
}

/* Esquina para estirar: un triángulo en la esquina, visible siempre (como en el diseño), con un área de
   agarre amplia; más grande en pantallas táctiles. */
.dcb-edit-resize[b-s1qur1aa3v] {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 30px;
    height: 30px;
    padding: 0 3px 3px 0;
    box-sizing: border-box;
    border-radius: 0 0 10px 0;
    color: var(--st-text-subtle);
    cursor: nwse-resize;
    touch-action: none;
}

.dcb-edit-resize svg[b-s1qur1aa3v] {
    width: 14px;
    height: 14px;
}

.dcb-edit-tile:hover .dcb-edit-resize[b-s1qur1aa3v],
.dcb-edit-tile:focus-visible .dcb-edit-resize[b-s1qur1aa3v] {
    color: var(--dcb-ink, var(--st-text));
}

.dcb-edit-tile.is-resizing .dcb-edit-resize[b-s1qur1aa3v] {
    color: var(--st-success-fg);
}

.dcb-edit-tile.is-resizing.is-resize-blocked .dcb-edit-resize[b-s1qur1aa3v] {
    color: var(--st-danger-fg);
}

@media (pointer: coarse) {
    .dcb-edit-resize[b-s1qur1aa3v] {
        width: 44px;
        height: 44px;
    }

    .dcb-edit-resize svg[b-s1qur1aa3v] {
        width: 18px;
        height: 18px;
    }
}

/* ── Destino del arrastre (D79): marco verde con dónde cae si se puede soltar (también al cambiar de lugar
   con otro); en rojo si pisa otro bloque. Va por encima del
   bloque que se arrastra (se ve dónde aterriza) y su etiqueta, abajo por dentro: arriba la taparía la
   cabecera y en la primera fila la recortaría el desplazamiento. ── */
.dcb-edit-target[b-s1qur1aa3v] {
    position: relative;
    z-index: 25;
    display: none;
    box-sizing: border-box;
    border: 2px dashed #16a34a;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.08);
    pointer-events: none;
}

.dcb-edit-target.is-visible[b-s1qur1aa3v] {
    display: block;
}

.dcb-edit-target.is-blocked[b-s1qur1aa3v] {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.07);
}

/* En renglones y entera: en un bloque de una columna, «… · o espera para compartir su lugar» (D150) no se puede cortar. */
.dcb-edit-target-label[b-s1qur1aa3v] {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    padding: 3px 8px;
    border-radius: 8px;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
}

.dcb-edit-target.is-blocked .dcb-edit-target-label[b-s1qur1aa3v] {
    background: #dc2626;
}

/* Esperando para compartir (D150): ámbar, no rojo (se puede); la barra de la etiqueta se llena hasta proponerlo. */
.dcb-edit-target.is-waiting[b-s1qur1aa3v] {
    border-color: #d97706;
    background: rgba(217, 119, 6, 0.08);
}

.dcb-edit-target.is-waiting .dcb-edit-target-label[b-s1qur1aa3v] {
    background: #b45309;
}

.dcb-edit-target-label.is-progress[b-s1qur1aa3v]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.85);
    animation: dcb-edit-dwell-b-s1qur1aa3v 0.5s linear forwards;
}

@keyframes dcb-edit-dwell-b-s1qur1aa3v {
    to { width: 100%; }
}

/* ── Insertar entre dos columnas (D149): una línea en el aire de la frontera, de arriba abajo de las filas usadas
   (la columna se abre en todas), más gruesa en las filas donde entra el bloque; su etiqueta, arriba. ── */
.dcb-edit-insert[b-s1qur1aa3v] {
    position: relative;
    z-index: 26;
    display: none;
    justify-self: start;
    width: 4px;
    margin-left: calc(var(--dcb-gap-x) / -2 - 2px);
    border-radius: 2px;
    background: rgba(22, 163, 74, 0.35);
    pointer-events: none;
}

.dcb-edit-insert.is-visible[b-s1qur1aa3v] {
    display: block;
}

.dcb-edit-insert.is-start[b-s1qur1aa3v] {
    margin-left: 0;
}

.dcb-edit-insert-rows[b-s1qur1aa3v] {
    position: absolute;
    left: -2px;
    width: 8px;
    border-radius: 4px;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.dcb-edit-insert-label[b-s1qur1aa3v] {
    position: absolute;
    top: 4px;
    left: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    padding: 2px 8px;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.dcb-edit-insert.is-blocked[b-s1qur1aa3v] {
    background: rgba(220, 38, 38, 0.3);
}

.dcb-edit-insert.is-blocked .dcb-edit-insert-rows[b-s1qur1aa3v],
.dcb-edit-insert.is-blocked .dcb-edit-insert-label[b-s1qur1aa3v] {
    background: #dc2626;
    box-shadow: none;
}

.dcb-edit-insert.is-same[b-s1qur1aa3v] {
    background: rgba(100, 116, 139, 0.3);
}

.dcb-edit-insert.is-same .dcb-edit-insert-rows[b-s1qur1aa3v],
.dcb-edit-insert.is-same .dcb-edit-insert-label[b-s1qur1aa3v] {
    background: #64748b;
    box-shadow: none;
}

/* ── Zona de reparación (D185): las líneas como en el tablero (DcbZoneLine), en el aire entre columnas y de arriba
   abajo; sin ancho propio, para no correr ningún bloque. Se agarran del rótulo o de la raya (un área de 12 px).
   Las de «Inicio» y «Fin» son del taller (D538, F4): punteadas y solo se ven; las rayas de los extremos (D500) se arrastran. ── */
.dcb-edit-zone[b-s1qur1aa3v] {
    position: relative;
    z-index: 24;
    justify-self: start;
    width: 0;
    margin-left: calc(var(--dcb-gap-x) / -2);
    cursor: ew-resize;
    touch-action: none;
    outline: none;
    --dcb-zone: var(--st-text-muted, #94a3b8);
}

.dcb-edit-zone.is-first[b-s1qur1aa3v] {
    margin-left: 1px;
}

.dcb-edit-zone[b-s1qur1aa3v]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    border-radius: 1px;
    background: var(--dcb-zone);
}

.dcb-edit-zone.is-auto[b-s1qur1aa3v]::before {
    background: repeating-linear-gradient(to bottom, var(--dcb-zone) 0 6px, transparent 6px 11px);
}

/* Las líneas del taller no se arrastran: sin cursor de arrastre ni engrosarse al pasar el mouse. */
.dcb-edit-zone.is-fixed[b-s1qur1aa3v] {
    cursor: default;
}

.dcb-edit-zone.is-fixed:hover[b-s1qur1aa3v]::before {
    left: -1px;
    width: 2px;
}

.dcb-edit-zone[b-s1qur1aa3v]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6px;
    width: 12px;
}

/* D500: las rayas de los extremos (antes de todo, después de todo) siempre punteadas y más oscuras que las de la reparación, como
   la que dibuja el tablero. */
.dcb-edit-zone.is-edge[b-s1qur1aa3v] {
    --dcb-zone: var(--st-text, #475569);
}

.dcb-edit-zone.is-edge[b-s1qur1aa3v]::before {
    background: repeating-linear-gradient(to bottom, var(--dcb-zone) 0 6px, transparent 6px 11px);
}

.dcb-edit-zone-label[b-s1qur1aa3v] {
    position: absolute;
    z-index: 1;
    top: 40px;
    left: 0;
    padding: 6px 1px;
    border-radius: 4px;
    background: var(--st-surface, #ffffff);
    box-shadow: 0 0 0 1px var(--dcb-zone);
    color: var(--dcb-zone);
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    user-select: none;
}

.dcb-edit-zone:hover[b-s1qur1aa3v]::before,
.dcb-edit-zone:focus-visible[b-s1qur1aa3v]::before {
    left: -2px;
    width: 4px;
}

.dcb-edit-zone:focus-visible .dcb-edit-zone-label[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

.dcb-edit-zone.is-dragging[b-s1qur1aa3v] {
    opacity: 0.35;
}

.dcb-editor.is-zone-dragging[b-s1qur1aa3v],
.dcb-editor.is-zone-dragging *[b-s1qur1aa3v] {
    cursor: ew-resize !important;
    user-select: none;
}

/* Mientras se arrastra un bloque, las líneas no estorban el soltar. */
.dcb-editor.is-arranging .dcb-edit-zone[b-s1qur1aa3v] {
    pointer-events: none;
}

/* A dónde va la línea que se arrastra, en azul. */
.dcb-edit-zone-ghost[b-s1qur1aa3v] {
    position: relative;
    z-index: 27;
    display: none;
    justify-self: start;
    width: 0;
    margin-left: calc(var(--dcb-gap-x) / -2);
    pointer-events: none;
}

.dcb-edit-zone-ghost.is-visible[b-s1qur1aa3v] {
    display: block;
}

.dcb-edit-zone-ghost.is-first[b-s1qur1aa3v] {
    margin-left: 2px;
}

.dcb-edit-zone-ghost[b-s1qur1aa3v]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2px;
    width: 4px;
    border-radius: 2px;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.dcb-edit-zone-ghost-label[b-s1qur1aa3v] {
    position: absolute;
    top: 4px;
    left: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.dcb-edit-empty[b-s1qur1aa3v] {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--st-surface) 85%, transparent);
    font-size: 12.5px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    text-align: center;
    pointer-events: none;
}

.dcb-edit-empty b[b-s1qur1aa3v] {
    font-size: 14px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-edit-empty span[b-s1qur1aa3v],
.dcb-edit-empty small[b-s1qur1aa3v] {
    max-width: 420px;
}

.dcb-edit-empty small[b-s1qur1aa3v] {
    font-size: 11.5px;
}

/* «Empezar con los N procesos» (D147): lo único de la tarjeta que se toca; el resto deja pasar el arrastre. */
.dcb-edit-empty .dcb-edit-empty-start[b-s1qur1aa3v] {
    margin-top: 10px;
    pointer-events: auto;
}

.dcb-edit-empty-foot[b-s1qur1aa3v] {
    margin-top: 8px;
    font-weight: 600;
}

.dcb-editor.is-arranging .dcb-edit-empty[b-s1qur1aa3v] {
    opacity: 0.2;
}

.dcb-editor.is-arranging .dcb-edit-empty-start[b-s1qur1aa3v] {
    pointer-events: none;
}

/* ── Panel de procesos sin agregar: pegado a la grilla, sin taparla, para poder arrastrar desde él ── */
/* Ancho fijo (D85): min-width 0 para que un nombre largo en la lista no lo ensanche (al buscar cambiaba); lo cambia
   la agarradera de su borde (KodawariPanelGrip), que pone --dcb-editor-panel-w en .dcb-editor-main. */
.dcb-editor-panel[b-s1qur1aa3v] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-editor-panel-w, 280px);
    flex-direction: column;
    width: var(--dcb-editor-panel-w, 280px);
    min-width: 0;
    max-width: 60%;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    animation: dcb-editor-panel-in-b-s1qur1aa3v 0.16s ease-out;
}

@keyframes dcb-editor-panel-in-b-s1qur1aa3v {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-editor-panel-head[b-s1qur1aa3v] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 6px 14px;
}

.dcb-editor-panel-head h3[b-s1qur1aa3v] {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-panel-head .dcb-editor-icon[b-s1qur1aa3v] {
    margin-left: auto;
}

.dcb-editor-search[b-s1qur1aa3v] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 32px;
    margin: 4px 12px 0;
    padding: 0 10px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-editor-search:focus-within[b-s1qur1aa3v] {
    border-color: var(--dcb-accent, #d81b84);
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.dcb-editor-search svg[b-s1qur1aa3v] {
    flex: none;
    width: 14px;
    height: 14px;
}

.dcb-editor-search input[b-s1qur1aa3v] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
}

.dcb-editor-panel-hint[b-s1qur1aa3v] {
    flex: none;
    margin: 6px 14px 4px;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-editor-list[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 12px 12px;
}

/* Categoría (D81): un botón que la pliega o la despliega, con cuántos procesos tiene. */
.dcb-editor-group[b-s1qur1aa3v] {
    margin: 6px 0 0;
    font: inherit;
}

.dcb-editor-group-btn[b-s1qur1aa3v] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 4px 4px 4px 2px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.dcb-editor-group-btn:hover:not(:disabled)[b-s1qur1aa3v] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-group-btn:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

/* Buscando, todas quedan abiertas: el botón no hace nada y no lo aparenta. */
.dcb-editor-group-btn:disabled[b-s1qur1aa3v] {
    cursor: default;
}

.dcb-editor-group-chevron[b-s1qur1aa3v] {
    flex: none;
    width: 12px;
    height: 12px;
    transition: transform 0.15s ease;
}

.dcb-editor-group-btn.is-closed .dcb-editor-group-chevron[b-s1qur1aa3v] {
    transform: rotate(-90deg);
}

.dcb-editor-group-name[b-s1qur1aa3v] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-editor-group-count[b-s1qur1aa3v] {
    flex: none;
    min-width: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 10.5px;
    letter-spacing: 0;
    line-height: 16px;
    text-align: center;
    color: var(--st-text-subtle);
}

.dcb-editor-item[b-s1qur1aa3v] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 6px 6px 6px 10px;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dcb-editor-item:hover[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.dcb-editor-item:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

.dcb-editor-item-dot[b-s1qur1aa3v] {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--dcb-process, #64748b);
}

.dcb-editor-item-name[b-s1qur1aa3v] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-editor-item-now[b-s1qur1aa3v] {
    flex: none;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--dcb-warn-text, var(--st-warning-fg));
}

.dcb-editor-item-plus[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 7px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-item-plus svg[b-s1qur1aa3v] {
    width: 12px;
    height: 12px;
}

.dcb-editor-item:hover .dcb-editor-item-plus[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
}

.dcb-editor-panel-foot[b-s1qur1aa3v] {
    flex: none;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-editor-link[b-s1qur1aa3v] {
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.dcb-editor-link:hover[b-s1qur1aa3v] {
    color: var(--dcb-danger-text, var(--st-danger-text));
}

.dcb-editor-link:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

.dcb-editor-panel-empty[b-s1qur1aa3v] {
    margin: 12px 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-sr-only[b-s1qur1aa3v] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ── Ayuda «i» (al final de la barra, D79): cómo se mueve, se estira, se quita y se agrega; y el teclado ── */
.dcb-editor-help-wrap[b-s1qur1aa3v] {
    position: relative;
    display: inline-flex;
}

.dcb-editor-help[b-s1qur1aa3v] {
    position: absolute;
    top: 34px;
    right: 0;
    z-index: 40;
    width: 330px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    font-size: 12px;
    line-height: 1.45;
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-help h4[b-s1qur1aa3v] {
    margin: 0 0 6px;
    font-size: 12.5px;
    font-weight: 700;
}

.dcb-editor-help ul[b-s1qur1aa3v] {
    margin: 0 0 10px;
    padding-left: 16px;
}

.dcb-editor-help li[b-s1qur1aa3v] {
    margin-bottom: 4px;
}

.dcb-editor-help dl[b-s1qur1aa3v] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    margin: 0;
}

.dcb-editor-help dt[b-s1qur1aa3v] {
    white-space: nowrap;
}

.dcb-editor-help dd[b-s1qur1aa3v] {
    margin: 0;
    color: var(--st-text-secondary);
}

.dcb-editor-help kbd[b-s1qur1aa3v] {
    display: inline-block;
    min-width: 18px;
    padding: 0 5px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-bottom-width: 2px;
    border-radius: 5px;
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* Pantallas angostas: fuera la ayuda de la barra; el panel pasa por encima de la grilla. */
@media (max-width: 1100px) {
    .dcb-editor-hint[b-s1qur1aa3v] {
        display: none;
    }
}

@media (max-width: 820px) {
    .dcb-editor-main[b-s1qur1aa3v] {
        position: relative;
    }

    .dcb-editor-panel[b-s1qur1aa3v] {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        width: min(280px, 90%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-editor-pill-dot[b-s1qur1aa3v],
    .dcb-edit-tile.is-new[b-s1qur1aa3v],
    .dcb-editor-panel[b-s1qur1aa3v],
    .dcb-editor-spinner[b-s1qur1aa3v] {
        animation: none;
    }

    .dcb-edit-tile[b-s1qur1aa3v],
    .dcb-edit-tile.is-returning[b-s1qur1aa3v] {
        transition: none;
    }
}

/* ── «Agregar» a la izquierda (D93): tres pestañas, filas que se miran con clic y se agregan con + ── */
.dcb-editor-panel.is-left[b-s1qur1aa3v] {
    order: -1;
    animation-name: dcb-editor-panel-in-left-b-s1qur1aa3v;
    /* Su ancho decide cómo van las pestañas (D152): el de la agarradera, no el contenido. */
    container: dcb-add / inline-size;
}

@keyframes dcb-editor-panel-in-left-b-s1qur1aa3v {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-editor-panel.is-left[b-s1qur1aa3v] { animation: none; }
}

/* Cuatro pestañas (D152): en el ancho de siempre, dos filas de dos; con el panel ancho, las cuatro en una (nunca tres y
   una). */
.dcb-editor-tabs[b-s1qur1aa3v] {
    display: grid;
    flex: none;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 2px 12px 6px;
    padding: 2px;
    border-radius: 9px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-editor-tab[b-s1qur1aa3v] {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 5px 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

@container dcb-add (min-width: 440px) {
    .dcb-editor-tabs[b-s1qur1aa3v] {
        grid-template-columns: repeat(4, auto);
    }
}

.dcb-editor-tab .dcb-editor-count[b-s1qur1aa3v] {
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
}

.dcb-editor-tab.is-on[b-s1qur1aa3v] {
    background: var(--dcb-bg, var(--st-surface));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900), 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dcb-editor-tab:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

/* Una fila: el nombre muestra sus propiedades y + la agrega; toda la fila se arrastra a una celda. */
.dcb-editor-item[b-s1qur1aa3v] {
    padding: 0 6px 0 0;
    cursor: grab;
}

.dcb-editor-item.is-picked[b-s1qur1aa3v],
.dcb-editor-card.is-picked[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.dcb-editor-item-main[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 36px;
    padding: 6px 4px 6px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dcb-editor-item-main:focus-visible[b-s1qur1aa3v],
.dcb-editor-card-main:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

button.dcb-editor-item-plus[b-s1qur1aa3v] {
    padding: 0;
    cursor: pointer;
}

button.dcb-editor-item-plus:hover[b-s1qur1aa3v] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

button.dcb-editor-item-plus:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

/* Buscando, los que ya están (D152): un título como el de una categoría, sin pliegue, y filas apagadas (borde
   punteado, fondo hundido, el nombre en gris) que no se arrastran; al pasar se encienden para decir que llevan al
   bloque. */
.dcb-editor-group.is-placed[b-s1qur1aa3v] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 4px 4px 2px;
    color: var(--st-text-subtle);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dcb-editor-item.is-placed[b-s1qur1aa3v] {
    border-style: dashed;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: default;
}

.dcb-editor-item.is-placed .dcb-editor-item-dot[b-s1qur1aa3v] {
    opacity: 0.55;
}

.dcb-editor-item.is-placed:hover[b-s1qur1aa3v] {
    border-color: var(--dcb-border-strong, var(--st-border-strong));
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-item-text[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.dcb-editor-item-where[b-s1qur1aa3v] {
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--st-text-secondary);
}

.dcb-editor-item-locate[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--st-text-subtle);
}

.dcb-editor-item-locate svg[b-s1qur1aa3v] {
    width: 14px;
    height: 14px;
}

.dcb-editor-item.is-placed:hover .dcb-editor-item-locate[b-s1qur1aa3v] {
    color: var(--st-text-brand);
}

/* «En el tablero» (D152): filas normales que no se arrastran; al pasar, el icono dice que llevan al bloque. */
.dcb-editor-item.is-board[b-s1qur1aa3v] {
    cursor: default;
}

.dcb-editor-item.is-board:hover .dcb-editor-item-locate[b-s1qur1aa3v] {
    color: var(--st-text-brand);
}

/* Duplicadas y unidas (D93): una tarjeta por cada una, con su condición y si está en el tablero. */
.dcb-editor-card[b-s1qur1aa3v] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 6px 4px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg, var(--st-surface));
}

.dcb-editor-card[data-add][b-s1qur1aa3v] {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.dcb-editor-card-main[b-s1qur1aa3v] {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dcb-editor-card-icon[b-s1qur1aa3v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dcb-process, #64748b);
    color: #ffffff;
}

.dcb-editor-card.is-union .dcb-editor-card-icon[b-s1qur1aa3v] {
    background: var(--dcb-process, #1a365d);
}

.dcb-editor-card-icon[b-s1qur1aa3v]  svg {
    width: 13px;
    height: 13px;
}

.dcb-editor-card-text[b-s1qur1aa3v] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dcb-editor-card-text b[b-s1qur1aa3v] {
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dcb-editor-card-text small[b-s1qur1aa3v] {
    overflow: hidden;
    font-size: 11px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dcb-editor-card-on[b-s1qur1aa3v] {
    flex: none;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    font-size: 10.5px;
    font-weight: 700;
}

.dcb-editor-members[b-s1qur1aa3v] {
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 3px;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 36px;
    list-style: none;
}

.dcb-editor-members li[b-s1qur1aa3v] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dcb-text, var(--st-text));
}

.dcb-editor-members .dcb-editor-item-dot[b-s1qur1aa3v] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dcb-editor-member-on[b-s1qur1aa3v] {
    flex: none;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-success-fg);
}

.dcb-editor-member-add[b-s1qur1aa3v] {
    flex: none;
    height: 20px;
    padding: 0 7px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 6px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-text-body);
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-editor-member-add:hover[b-s1qur1aa3v] {
    border-color: var(--st-border-stronger);
}

.dcb-editor-member-add:focus-visible[b-s1qur1aa3v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-editor-new[b-s1qur1aa3v] {
    width: 100%;
    justify-content: center;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbLayoutNameDialog.razor.rz.scp.css */
/* Guardar como distribución nueva (D89): el panel del lateral derecho del editor, con la caja y el ancho de
   «Agregar proceso» y de «Duplicar» (D88). */
.dcb-name[b-p2tkrkv6av] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-editor-panel-w, 280px);
    flex-direction: column;
    box-sizing: border-box;
    width: var(--dcb-editor-panel-w, 280px);
    min-width: 0;
    max-width: 60%;
    min-height: 0;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    animation: dcb-name-in-b-p2tkrkv6av 0.16s ease-out;
}

@keyframes dcb-name-in-b-p2tkrkv6av {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-name-scroll[b-p2tkrkv6av] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    overflow-y: auto;
}

.dcb-name-head[b-p2tkrkv6av] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dcb-name-icon[b-p2tkrkv6av] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--st-accent-bg);
    color: #d81b84;
}

.dcb-name-icon svg[b-p2tkrkv6av] {
    width: 17px;
    height: 17px;
}

.dcb-name-head h3[b-p2tkrkv6av] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    color: var(--st-text);
}

.dcb-name-close[b-p2tkrkv6av] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.dcb-name-close svg[b-p2tkrkv6av] {
    width: 15px;
    height: 15px;
}

.dcb-name-close:hover[b-p2tkrkv6av] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.dcb-name-lead[b-p2tkrkv6av] {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--st-text-subtle);
}

.dcb-name-field[b-p2tkrkv6av] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dcb-name-label[b-p2tkrkv6av] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.dcb-name-input[b-p2tkrkv6av] {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
}

.dcb-name-input:focus[b-p2tkrkv6av] {
    outline: none;
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.14);
}

.dcb-name-check[b-p2tkrkv6av] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    background: var(--st-surface-muted);
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--st-text);
    cursor: pointer;
}

.dcb-name-check input[b-p2tkrkv6av] {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: #d81b84;
}

.dcb-name-check b[b-p2tkrkv6av] {
    display: block;
    font-weight: 600;
}

.dcb-name-hint[b-p2tkrkv6av] {
    display: block;
    color: var(--st-text-subtle);
}

.dcb-name-error[b-p2tkrkv6av] {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-danger-text);
}

.dcb-name-foot[b-p2tkrkv6av] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.dcb-name-btn[b-p2tkrkv6av] {
    height: 34px;
    padding: 0 16px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dcb-name-btn:hover[b-p2tkrkv6av] {
    background: var(--st-surface-muted);
}

.dcb-name-btn:focus-visible[b-p2tkrkv6av],
.dcb-name-close:focus-visible[b-p2tkrkv6av] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.dcb-name-btn.is-primary[b-p2tkrkv6av] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-name-btn.is-primary:hover[b-p2tkrkv6av] {
    border-color: #eb5bb6;
    background: #eb5bb6;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbLayoutPicker.razor.rz.scp.css */
/* Distribuciones del DCB (D89): el botón va en la cabecera, entre el buscador y los colores (D583), con su misma altura, borde y
   radio; el popover se ancla a su derecha, con la caja de los de la cabecera (D79). */
.dcb-layouts[b-kby6gzpak7] {
    position: relative;
    display: inline-flex;
    min-width: 0;
}

.dcb-btn[b-kby6gzpak7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.dcb-btn:hover[b-kby6gzpak7] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.dcb-btn:focus-visible[b-kby6gzpak7] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.dcb-btn:disabled[b-kby6gzpak7] {
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.dcb-btn:disabled:hover[b-kby6gzpak7] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
}

.dcb-btn.is-primary[b-kby6gzpak7] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.dcb-btn.is-primary:hover[b-kby6gzpak7] {
    border-color: #eb5bb6;
    background: #eb5bb6;
}

.dcb-btn.is-danger[b-kby6gzpak7] {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.dcb-btn.is-danger:hover[b-kby6gzpak7] {
    border-color: #ef4444;
    background: #ef4444;
}

.dcb-btn svg[b-kby6gzpak7],
.dcb-layouts-chip svg[b-kby6gzpak7] {
    flex: none;
    width: 14px;
    height: 14px;
}

/* El nombre largo se corta en el botón (la lista lo muestra entero). D583: en una cabecera estrecha, también el que no cabe. */
.dcb-layouts-btn[b-kby6gzpak7],
.dcb-layouts-chip[b-kby6gzpak7] {
    min-width: 0;
}

.dcb-layouts-name[b-kby6gzpak7] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-layouts-btn .dcb-layouts-chevron[b-kby6gzpak7] {
    width: 12px;
    height: 12px;
    color: var(--st-text-subtle);
    transition: transform 0.12s ease;
}

/* Abierto: el amarillo suave de la app, como «Sin mapear» encendido (D84). */
.dcb-layouts-btn.is-on[b-kby6gzpak7],
.dcb-layouts-btn.is-on:hover[b-kby6gzpak7] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.dcb-layouts-btn.is-on .dcb-layouts-chevron[b-kby6gzpak7] {
    transform: rotate(180deg);
}

/* Sin permiso para configurar: solo el nombre, sin caja de botón. */
.dcb-layouts-chip[b-kby6gzpak7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.dcb-layouts-backdrop[b-kby6gzpak7] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.dcb-layouts-panel[b-kby6gzpak7] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 380px;
    max-width: calc(100vw - 32px);
    padding: 10px 12px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text);
    text-align: left;
    white-space: normal;
    cursor: default;
}

/* Solo con muchas (DcbLayoutPicker.ScrollFrom) se desplaza: con pocas, el menú del ⋯ sale por debajo del
   popover sin que lo corte. */
.dcb-layouts-panel.is-long[b-kby6gzpak7] {
    max-height: min(72vh, 640px);
    overflow: auto;
}

.dcb-layouts-panel:focus[b-kby6gzpak7] {
    outline: none;
}

.dcb-layouts-head[b-kby6gzpak7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.dcb-layouts-close[b-kby6gzpak7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.dcb-layouts-close svg[b-kby6gzpak7] {
    width: 14px;
    height: 14px;
}

.dcb-layouts-close:hover[b-kby6gzpak7] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.dcb-layouts-lead[b-kby6gzpak7] {
    margin: -4px 0 0;
    color: var(--st-text-subtle);
}

/* D538: la vista personal temporal: la marca del botón y el aviso con «Volver a la mía». */
.dcb-layouts-temp[b-kby6gzpak7] {
    flex: none;
    padding: 0 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    color: var(--st-text-subtle);
}

/* D583: en una cabecera estrecha la marca queda en un punto (el título y el lector de pantalla la dicen entera) y, en la más estrecha,
   la configuración queda en su icono. Los anchos son los de la cabecera del panel (CalendarPanel.razor.css). D593: con «Cómo planea» en la
   del JSCB, la marca cede 123 px antes (lo que ocupa con su texto, que cede después) y la configuración, 34 (en su icono). */
@container kodawari-head (max-width: 1033px) {
    .dcb-layouts-temp[b-kby6gzpak7] {
        width: 8px;
        height: 8px;
        padding: 0;
        overflow: hidden;
        border: 0;
        background: var(--kodawari-selected, #e5b900);
        line-height: 8px;
        text-indent: 16px;
        white-space: nowrap;
    }
}

@container kodawari-head (max-width: 764px) {
    .dcb-layouts-name[b-kby6gzpak7] {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
    }

    .dcb-layouts-btn .dcb-layouts-chevron[b-kby6gzpak7] {
        display: none;
    }
}

.dcb-layouts-mine[b-kby6gzpak7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    font-weight: 600;
}

.dcb-layouts-badge.is-mine[b-kby6gzpak7] {
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* D538: «¿Para quién es?»: un cargo por renglón, con quién lo tiene hoy. */
.dcb-layouts-check-row[b-kby6gzpak7] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12.5px;
}

.dcb-layouts-check-row input[b-kby6gzpak7] {
    flex: none;
    margin: 0;
}

.dcb-layouts-for[b-kby6gzpak7] {
    display: block;
}

.dcb-layouts-problem[b-kby6gzpak7] {
    margin: 0;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    font-weight: 600;
    color: var(--st-danger-text);
}

.dcb-layouts-state[b-kby6gzpak7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 4px;
    color: var(--st-text-subtle);
}

.dcb-layouts-list[b-kby6gzpak7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Cada fila: la distribución (se elige tocándola) y su ⋯; la del tablero, en el amarillo suave de la app. */
.dcb-layouts-row[b-kby6gzpak7] {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 2px;
    border: 1px solid transparent;
    border-radius: 9px;
}

.dcb-layouts-row:hover[b-kby6gzpak7],
.dcb-layouts-row.has-menu[b-kby6gzpak7] {
    border-color: var(--st-border);
    background: var(--st-surface-muted);
}

.dcb-layouts-row.is-active[b-kby6gzpak7],
.dcb-layouts-row.is-active:hover[b-kby6gzpak7] {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
}

.dcb-layouts-row.is-editing[b-kby6gzpak7],
.dcb-layouts-row.is-editing:hover[b-kby6gzpak7] {
    border-color: var(--st-border-strong);
    background: var(--st-surface);
}

.dcb-layouts-pick[b-kby6gzpak7] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 7px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dcb-layouts-pick:disabled[b-kby6gzpak7] {
    cursor: progress;
}

.dcb-layouts-pick:focus-visible[b-kby6gzpak7],
.dcb-layouts-more:focus-visible[b-kby6gzpak7],
.dcb-layouts-menu button:focus-visible[b-kby6gzpak7],
.dcb-layouts-close:focus-visible[b-kby6gzpak7] {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

/* El mini-mapa: los bloques en proporción, sobre la cuadrícula gris del tablero. */
.dcb-layouts-map[b-kby6gzpak7] {
    display: inline-flex;
    flex: none;
    width: 46px;
    height: 32px;
    padding: 2px;
    box-sizing: border-box;
    border-radius: 6px;
    background: var(--st-surface-sunken);
}

.dcb-layouts-map[b-kby6gzpak7]  svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dcb-layouts-map.is-empty[b-kby6gzpak7] {
    border: 1px dashed var(--st-border-strong);
    background: transparent;
}

.dcb-layouts-text[b-kby6gzpak7] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.dcb-layouts-row-name[b-kby6gzpak7] {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* «SysTime» (D215): la configuración estándar, con una marca neutra que no compite con la puesta (dorado). */
.dcb-layouts-badge[b-kby6gzpak7] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    vertical-align: 1px;
    color: var(--st-text-subtle);
}

.dcb-layouts-meta[b-kby6gzpak7] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.dcb-layouts-row.is-active .dcb-layouts-meta[b-kby6gzpak7] {
    color: var(--st-gold-text);
}

/* Tiene procesos que ya no están activos: el ámbar de los avisos del tablero. */
.dcb-layouts-warn[b-kby6gzpak7] {
    align-self: flex-start;
    margin-top: 2px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-warning-fg);
}

.dcb-layouts-check[b-kby6gzpak7] {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--st-text-brand);
}

.dcb-layouts-spinner[b-kby6gzpak7] {
    flex: none;
    width: 14px;
    height: 14px;
    border: 2px solid #f0a6cf;
    border-top-color: #d81b84;
    border-radius: 50%;
    animation: dcb-layouts-spin-b-kby6gzpak7 0.7s linear infinite;
}

@keyframes dcb-layouts-spin-b-kby6gzpak7 {
    to { transform: rotate(360deg); }
}

.dcb-layouts-more[b-kby6gzpak7] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 28px;
    height: 28px;
    margin-right: 4px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.dcb-layouts-more svg[b-kby6gzpak7] {
    width: 16px;
    height: 16px;
}

.dcb-layouts-more:hover[b-kby6gzpak7] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

/* Con su menú abierto: como todo botón abierto de los tableros (D91); el borde, por dentro (no mueve nada). */
.dcb-layouts-more.is-on[b-kby6gzpak7],
.dcb-layouts-more.is-on:hover[b-kby6gzpak7] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* El menú del ⋯: bajo la fila, a la derecha, sobre las de abajo (y fuera del popover si hace falta). En las
   dos últimas de una lista que se desplaza, sobre la fila, para que el desplazamiento no lo corte. */
.dcb-layouts-menu[b-kby6gzpak7] {
    position: absolute;
    top: calc(100% - 4px);
    right: 4px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 9px;
    background: var(--st-surface);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.dcb-layouts-menu.is-up[b-kby6gzpak7] {
    top: auto;
    bottom: calc(100% - 4px);
}

.dcb-layouts-menu button[b-kby6gzpak7] {
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.dcb-layouts-menu button:hover[b-kby6gzpak7] {
    background: var(--st-surface-sunken);
}

.dcb-layouts-menu button.is-danger[b-kby6gzpak7] {
    color: var(--st-danger-text);
}

.dcb-layouts-menu button:disabled[b-kby6gzpak7] {
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.dcb-layouts-menu button:disabled:hover[b-kby6gzpak7] {
    background: transparent;
}

/* Renombrar o confirmar que se elimina, en la misma fila. */
.dcb-layouts-edit[b-kby6gzpak7] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.dcb-layouts-input[b-kby6gzpak7] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
}

.dcb-layouts-input:focus[b-kby6gzpak7] {
    outline: none;
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.14);
}

.dcb-layouts-confirm[b-kby6gzpak7] {
    font-size: 12.5px;
    font-weight: 600;
}

.dcb-layouts-edit-actions[b-kby6gzpak7] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.dcb-layouts-foot[b-kby6gzpak7] {
    display: flex;
    padding-top: 2px;
}

.dcb-layouts-new[b-kby6gzpak7] {
    width: 100%;
    height: 32px;
    border-style: dashed;
}

.dcb-sr-only[b-kby6gzpak7] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbOrdersPanel.razor.rz.scp.css */
/* D558: el desglose de «N OT», a la derecha del tablero sin taparlo, con la misma caja que «Promesas». Siempre al 100 % (D130). */
.dcb-orders[b-nideq8yr8v] {
    --dcb-orders-before: #94a3b8;
    --dcb-orders-repair: #2563eb;
    --dcb-orders-after: #475569;
    position: relative;
    display: flex;
    flex: 0 0 300px;
    flex-direction: column;
    width: 300px;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    animation: dcb-orders-in-b-nideq8yr8v 0.16s ease-out;
}

.dcb-orders:focus[b-nideq8yr8v] {
    outline: none;
}

.dcb-orders:focus-visible[b-nideq8yr8v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

@keyframes dcb-orders-in-b-nideq8yr8v {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-orders-head[b-nideq8yr8v] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 6px 14px;
}

.dcb-orders-head h3[b-nideq8yr8v] {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dcb-text, var(--st-text));
    white-space: nowrap;
}

.dcb-orders-total[b-nideq8yr8v] {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 11.5px;
    font-weight: 700;
    line-height: 18px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-orders-close[b-nideq8yr8v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-orders-close svg[b-nideq8yr8v] {
    width: 14px;
    height: 14px;
}

.dcb-orders-close:hover[b-nideq8yr8v] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text, var(--st-text));
}

.dcb-orders-close:focus-visible[b-nideq8yr8v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-orders-body[b-nideq8yr8v] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 2px 14px 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.dcb-orders-section + .dcb-orders-section[b-nideq8yr8v] {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-orders-section h4[b-nideq8yr8v] {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

/* La barra apilada: antes, en y después de la zona, en proporción; la zona en el azul de su barra del tablero. */
.dcb-orders-bar[b-nideq8yr8v] {
    display: flex;
    gap: 2px;
    height: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-orders-bar-part[b-nideq8yr8v] {
    flex: 1 1 0;
    min-width: 4px;
}

.dcb-orders-rows[b-nideq8yr8v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dcb-orders-row[b-nideq8yr8v],
.dcb-orders-booking-btn[b-nideq8yr8v] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-orders-label[b-nideq8yr8v] {
    flex: 1 1 auto;
    min-width: 0;
}

.dcb-orders-count[b-nideq8yr8v] {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dcb-orders-dot[b-nideq8yr8v] {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.is-before[b-nideq8yr8v] {
    background: var(--dcb-orders-before);
}

.is-repair[b-nideq8yr8v] {
    background: var(--dcb-orders-repair);
}

.is-after[b-nideq8yr8v] {
    background: var(--dcb-orders-after);
}

.dcb-orders-dot.is-unplaced[b-nideq8yr8v] {
    background: transparent;
    outline: 1.5px dashed var(--dcb-text-muted, var(--st-text-subtle));
    outline-offset: -1.5px;
}

/* «VFT»: la misma marca de la tarjeta del DCB. */
.dcb-orders-vft[b-nideq8yr8v] {
    flex: none;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--dcb-text, var(--st-text));
    font-size: 9.5px;
    font-weight: 800;
    line-height: 15px;
    letter-spacing: 0.02em;
    color: var(--dcb-bg, var(--st-surface));
}

.dcb-orders-booking[b-nideq8yr8v] {
    display: block;
}

.dcb-orders-booking-btn[b-nideq8yr8v] {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.dcb-orders-booking-btn:hover[b-nideq8yr8v] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-orders-booking-btn:focus-visible[b-nideq8yr8v] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

.dcb-orders-pair[b-nideq8yr8v] {
    display: inline-flex;
    flex: none;
    gap: 10px;
    font-size: 11.5px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
}

.dcb-orders-pair b[b-nideq8yr8v] {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--dcb-text, var(--st-text));
}

.dcb-orders-go[b-nideq8yr8v] {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--dcb-text-faint, var(--st-text-muted));
}

/* «Hoy»: las flechas de entrar y salir, en el gris de las etiquetas. */
.dcb-orders-flow[b-nideq8yr8v] {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-orders-count.is-stale[b-nideq8yr8v],
.dcb-orders-reading[b-nideq8yr8v] {
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-orders-reading[b-nideq8yr8v] {
    font-size: 14px;
    font-weight: 700;
}

.dcb-orders-hint[b-nideq8yr8v] {
    margin: 8px 0 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}
/* /Pages/Home/Components/Calendar/Dcb/DcbOutsidePanel.razor.rz.scp.css */
/* «Sin mapear» (D84): pegado a la derecha del tablero, sin taparlo, para poder arrastrar desde él a un
   bloque. La misma caja que el panel del editor («Agregar proceso»): borde, radio 12 y sombra suave. */
/* Ancho fijo (D85): min-width 0 para que un nombre largo no lo ensanche; lo cambia la agarradera de su borde
   (KodawariPanelGrip), que pone --dcb-outside-w en .dcb-main. El panel va al 100 %; solo sus tarjetas siguen el zoom del
   tablero, para verse del mismo tamaño que en él (D539, antes D130). */
.dcb-outside[b-rhzwr3tgy2] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-outside-w, 236px);
    flex-direction: column;
    width: var(--dcb-outside-w, 236px);
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    animation: dcb-outside-in-b-rhzwr3tgy2 0.16s ease-out;
}

.dcb-outside:focus[b-rhzwr3tgy2] {
    outline: none;
}

.dcb-outside:focus-visible[b-rhzwr3tgy2] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

@keyframes dcb-outside-in-b-rhzwr3tgy2 {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-outside-head[b-rhzwr3tgy2] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 6px 14px;
}

.dcb-outside-head h3[b-rhzwr3tgy2] {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dcb-text, var(--st-text));
    white-space: nowrap;
}

/* «8 OT»: la píldora ámbar de las OT, la misma del editor (D84). */
.dcb-outside-pill[b-rhzwr3tgy2] {
    flex: none;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    white-space: nowrap;
    color: var(--dcb-warn-text, var(--st-warning-fg));
}

.dcb-outside-close[b-rhzwr3tgy2] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-outside-close svg[b-rhzwr3tgy2] {
    width: 14px;
    height: 14px;
}

.dcb-outside-close:hover[b-rhzwr3tgy2] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text, var(--st-text));
}

.dcb-outside-close:focus-visible[b-rhzwr3tgy2] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-outside-hint[b-rhzwr3tgy2] {
    flex: none;
    margin: 2px 14px 4px;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-outside-hint.is-warning[b-rhzwr3tgy2] {
    color: var(--st-warning-text);
}

/* La lista se desplaza sola. */
.dcb-outside-list[b-rhzwr3tgy2] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 4px 10px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.dcb-outside-group[b-rhzwr3tgy2] {
    display: flex;
    flex: none;
    flex-direction: column;
}

.dcb-outside-group-title[b-rhzwr3tgy2] {
    margin: 0;
    font: inherit;
}

/* Un proceso: plegar o desplegar, su color, su nombre y cuántas OT tiene. */
.dcb-outside-group-btn[b-rhzwr3tgy2] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
    padding: 4px 6px 4px 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.dcb-outside-group-btn:hover[b-rhzwr3tgy2] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-outside-group-btn:focus-visible[b-rhzwr3tgy2] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-outside-chevron[b-rhzwr3tgy2] {
    flex: none;
    width: 12px;
    height: 12px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    transition: transform 0.15s ease;
}

.dcb-outside-group-btn.is-closed .dcb-outside-chevron[b-rhzwr3tgy2] {
    transform: rotate(-90deg);
}

.dcb-outside-dot[b-rhzwr3tgy2] {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--dcb-process, #64748b);
}

.dcb-outside-name[b-rhzwr3tgy2] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-outside-tag[b-rhzwr3tgy2] {
    flex: none;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

/* Las tarjetas, del mismo tamaño que en el tablero (D539): el ancho de diseño de la tarjeta (168 px, el de una columna de 190 menos
   su aire), sin estirarse, y el zoom del tablero (con su escala base, D200) en el style del contenedor; el aire entre ellas es el
   del cuerpo de una columna, con la esquina del nivel. Con el panel más ancho (D85), en dos columnas o más. */
.dcb-outside-cards[b-rhzwr3tgy2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, 168px);
    gap: 12px 20px;
    padding: 12px 12px 8px 8px;
}

.dcb-outside-empty[b-rhzwr3tgy2] {
    margin: 12px 4px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-outside-idle[b-rhzwr3tgy2] {
    margin: 8px 4px 0;
    padding-top: 8px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-outside-idle b[b-rhzwr3tgy2] {
    color: var(--dcb-text, var(--st-text));
}

/* F8 (F8-6): a quien configura, cuántos procesos no tienen sección y, desde D539, el interruptor «Unir en una columna»: el texto
   arriba y el interruptor debajo, a la derecha, para que quepa en el ancho mínimo del panel. */
.dcb-outside-unmapped[b-rhzwr3tgy2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 12px 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 600;
}

.dcb-outside-unmapped > span:first-child[b-rhzwr3tgy2] {
    flex: 1 1 120px;
    min-width: 0;
}

/* Con todos los procesos ya en «Otros procesos» no hay nada que advertir: el aviso se calma. */
.dcb-outside-unmapped.is-calm[b-rhzwr3tgy2] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

/* D539: un interruptor (role="switch"), no un botón que lleve a otra parte: su riel se enciende con la columna en el tablero. */
.dcb-outside-unite[b-rhzwr3tgy2] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 2px 4px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-outside-unite:disabled[b-rhzwr3tgy2] {
    cursor: progress;
    opacity: 0.6;
}

.dcb-outside-unite:focus-visible[b-rhzwr3tgy2] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

.dcb-outside-switch[b-rhzwr3tgy2] {
    position: relative;
    flex: none;
    width: 26px;
    height: 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dcb-outside-switch[b-rhzwr3tgy2]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    transition: transform 0.15s ease;
}

.dcb-outside-unite.is-on .dcb-outside-switch[b-rhzwr3tgy2] {
    border-color: var(--dcb-accent, #d81b84);
    background: var(--dcb-accent, #d81b84);
}

.dcb-outside-unite.is-on .dcb-outside-switch[b-rhzwr3tgy2]::after {
    background: #fff;
    transform: translateX(12px);
}

@media (prefers-reduced-motion: reduce) {
    .dcb-outside-switch[b-rhzwr3tgy2],
    .dcb-outside-switch[b-rhzwr3tgy2]::after {
        transition: none;
    }
}
/* /Pages/Home/Components/Calendar/Dcb/DcbPips.razor.rz.scp.css */
/* The colors come from the parent (--pip-free, --pip-taken), so a dot reads on a selected magenta chip as well as on the panel. */
.dcb-pips[b-y4eslrkdj2] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
}

.dcb-pip[b-y4eslrkdj2] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--pip-taken, var(--st-text-muted));
}

.dcb-pip.is-free[b-y4eslrkdj2] {
    background: var(--pip-free, var(--st-success-fg));
    box-shadow: none;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbPromisesPanel.razor.rz.scp.css */
/* D552: «Promesas», a la derecha del tablero sin taparlo, con la caja de «Sin mapear». El ancho se cambia con la agarradera y se recuerda;
   empieza con el de la columna que tenía en el JSCB (300 px). Siempre al 100 % (D130). */
.dcb-promises[b-b8u74w95vv] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-promises-w, 300px);
    flex-direction: column;
    width: var(--dcb-promises-w, 300px);
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    animation: dcb-promises-in-b-b8u74w95vv 0.16s ease-out;
}

.dcb-promises:focus[b-b8u74w95vv] {
    outline: none;
}

.dcb-promises:focus-visible[b-b8u74w95vv] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

@keyframes dcb-promises-in-b-b8u74w95vv {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-promises-head[b-b8u74w95vv] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 6px 14px;
}

.dcb-promises-head h3[b-b8u74w95vv] {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dcb-text, var(--st-text));
    white-space: nowrap;
}

/* Tarde y justas: el globo ámbar, como el de su botón. */
.dcb-promises-count[b-b8u74w95vv] {
    display: inline-flex;
    --st-badge-bg: var(--dcb-warn, #d97706);
}

.dcb-promises-close[b-b8u74w95vv] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-promises-close svg[b-b8u74w95vv] {
    width: 14px;
    height: 14px;
}

.dcb-promises-close:hover[b-b8u74w95vv] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text, var(--st-text));
}

.dcb-promises-close:focus-visible[b-b8u74w95vv] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 1px;
}

/* La lista trae su propio aire (D69) y se desplaza sola. */
.dcb-promises-body[b-b8u74w95vv] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbPropertiesPanel.razor.rz.scp.css */
/* El panel de propiedades del editor (D93, D97): a la derecha, con la caja de los paneles del editor (borde, radio 12,
   sombra suave) y su propio ancho, que cambia su agarradera (D85, D91). Lo elegido, en el amarillo de la selección
   (D75, D91); la acción principal, en el fucsia de la app. */
.dcb-props[b-5w8tb98ezl] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-props-w, 300px);
    flex-direction: column;
    box-sizing: border-box;
    width: var(--dcb-props-w, 300px);
    min-width: 0;
    max-width: 45%;
    min-height: 0;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
    animation: dcb-props-in-b-5w8tb98ezl 0.16s ease-out;
}

@keyframes dcb-props-in-b-5w8tb98ezl {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-props[b-5w8tb98ezl] { animation: none; }
}

.dcb-props-scroll[b-5w8tb98ezl] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 10px 14px 14px;
    overflow-y: auto;
}

.dcb-props-head[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dcb-props-head h3[b-5w8tb98ezl] {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
}

.dcb-props-close[b-5w8tb98ezl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-props-close svg[b-5w8tb98ezl] { width: 14px; height: 14px; }
.dcb-props-close:hover[b-5w8tb98ezl] { background: var(--dcb-bg-soft, var(--st-surface-sunken)); color: var(--dcb-text, var(--st-text)); }
.dcb-props-close:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: 1px; }

.dcb-props-swatch[b-5w8tb98ezl] {
    display: inline-block;
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dcb-props-type, #64748b);
}

.dcb-props-title[b-5w8tb98ezl] {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* Qué es (D154): el icono de su tipo en un cuadro de su color (el del proceso; el azul marino en una unida), su tipo,
   si está en el tablero, cuántas OT tiene hoy y su nombre. */
.dcb-props-id[b-5w8tb98ezl] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dcb-props-id-icon[b-5w8tb98ezl] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--dcb-props-type, #64748b);
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.dcb-props-id-icon[b-5w8tb98ezl]  svg {
    width: 20px;
    height: 20px;
}

/* El original lleva el icono del proceso en un círculo blanco, como en la cabecera del tablero (D87); vacío si no tiene
   o si la imagen no carga (D153). */
.dcb-props-id-circle[b-5w8tb98ezl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
}

.dcb-props-id-circle img[b-5w8tb98ezl] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dcb-props-id-circle.is-broken img[b-5w8tb98ezl] {
    display: none;
}

.dcb-props-id-text[b-5w8tb98ezl] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dcb-props-id-meta[b-5w8tb98ezl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.dcb-props-kind[b-5w8tb98ezl] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.dcb-props-state[b-5w8tb98ezl] {
    padding: 0 7px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    color: var(--st-text-secondary);
}

.dcb-props-state.is-on[b-5w8tb98ezl] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

/* Qué es: filas con su etiqueta a la izquierda («Copia de», «Une», «Muestra») y, al pie, qué pasa con sus OT. Sin
   borde ni fondo: es texto del panel. */
.dcb-props-what[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.dcb-props-what-row[b-5w8tb98ezl] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
}

.dcb-props-what-label[b-5w8tb98ezl] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-props-what-value[b-5w8tb98ezl] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dcb-props-what-foot[b-5w8tb98ezl] {
    margin: 0;
    font-size: 11px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-props-rule[b-5w8tb98ezl] {
    font-weight: 700;
}

/* «Copia de 30. Latonería · Ver»: lleva a las propiedades del proceso original. */
.dcb-props-source[b-5w8tb98ezl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 2px 8px 2px 6px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 999px;
    background: var(--dcb-bg, var(--st-surface));
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dcb-props-source:hover[b-5w8tb98ezl] { border-color: var(--st-border-stronger); }
.dcb-props-source:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: 1px; }
.dcb-props-source b[b-5w8tb98ezl] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Los procesos de una unida, uno por línea con el punto de su color. */
.dcb-props-chips[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.dcb-props-chips li[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

/* Las pestañas de una duplicada o una unida (D154), como las de «Agregar»: la elegida, en el amarillo de la selección. */
.dcb-props-tabs[b-5w8tb98ezl] {
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 9px;
    background: var(--dcb-bg-alt, var(--st-surface-muted));
}

.dcb-props-tabs button[b-5w8tb98ezl] {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-props-tabs button svg[b-5w8tb98ezl],
.dcb-props-tabs button[b-5w8tb98ezl]  svg {
    flex: none;
    width: 14px;
    height: 14px;
}

.dcb-props-tabs button.is-on[b-5w8tb98ezl] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
}

.dcb-props-tabs button:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: -2px; }

.dcb-props-tabpanel[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcb-props-sec[b-5w8tb98ezl],
.dcb-props-form[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcb-props-sec[b-5w8tb98ezl] {
    padding-top: 10px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-props-sec h5[b-5w8tb98ezl] {
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-props-lead[b-5w8tb98ezl],
.dcb-props-text[b-5w8tb98ezl] {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-props-text b[b-5w8tb98ezl] { color: var(--dcb-text, var(--st-text)); }

/* CFG-08: the form around a name field only gives it Enter; it takes no place in the layout. */
.dcb-prop-form[b-5w8tb98ezl] {
    display: contents;
}

.dcb-prop-field[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dcb-prop-label[b-5w8tb98ezl] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.dcb-prop-input[b-5w8tb98ezl] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
}

.dcb-prop-input:focus[b-5w8tb98ezl] {
    outline: none;
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.14);
}

.dcb-prop-input:disabled[b-5w8tb98ezl] {
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-prop-hint[b-5w8tb98ezl] {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-prop-hint.is-warning[b-5w8tb98ezl] {
    color: var(--st-warning-text);
    font-weight: 600;
}

.dcb-prop-link[b-5w8tb98ezl] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-text-brand);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.dcb-prop-size[b-5w8tb98ezl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--st-text-secondary);
}

.dcb-prop-step[b-5w8tb98ezl] {
    display: inline-flex;
    align-items: center;
    height: 26px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 7px;
    background: var(--dcb-bg, var(--st-surface));
}

.dcb-prop-step button[b-5w8tb98ezl] {
    width: 24px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.dcb-prop-step button:disabled[b-5w8tb98ezl] { color: var(--st-text-faint); cursor: default; }
.dcb-prop-step button:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: -2px; border-radius: 6px; }
.dcb-prop-step b[b-5w8tb98ezl] { min-width: 16px; font-size: 12px; text-align: center; }

.dcb-prop-rel[b-5w8tb98ezl],
.dcb-prop-member[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: var(--dcb-bg-alt, var(--st-surface-muted));
    color: inherit;
    font: inherit;
    font-size: 11.5px;
    text-align: left;
}

.dcb-prop-rel[b-5w8tb98ezl] { cursor: pointer; }
.dcb-prop-rel:hover[b-5w8tb98ezl] { background: var(--dcb-bg-soft, var(--st-surface-sunken)); }
.dcb-prop-rel:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: -2px; }

.dcb-prop-rel svg[b-5w8tb98ezl] {
    flex: none;
    width: 13px;
    height: 13px;
    color: var(--st-text-brand);
}

/* Una duplicada o una unida relacionada: el icono de su tipo en un círculo (D154). */
.dcb-prop-rel-kind[b-5w8tb98ezl] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a365d;
    color: #ffffff;
}

.dcb-prop-rel-kind.is-split[b-5w8tb98ezl] {
    background: var(--dcb-props-type, #64748b);
}

.dcb-prop-rel-kind[b-5w8tb98ezl]  svg {
    width: 12px;
    height: 12px;
}

.dcb-prop-member-list[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dcb-prop-rel-name[b-5w8tb98ezl] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dcb-prop-rel-go[b-5w8tb98ezl] {
    flex: none;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-text-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dcb-prop-member-on[b-5w8tb98ezl] {
    flex: none;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--st-success-fg);
}

.dcb-prop-member-add[b-5w8tb98ezl] {
    flex: none;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 6px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-text-body);
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-prop-member-add:hover[b-5w8tb98ezl] { border-color: var(--st-border-stronger); }

.dcb-prop-actions[b-5w8tb98ezl] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dcb-prop-action[b-5w8tb98ezl] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-prop-action svg[b-5w8tb98ezl],
.dcb-prop-action[b-5w8tb98ezl]  svg { width: 13px; height: 13px; }
.dcb-prop-action:hover[b-5w8tb98ezl] { background: var(--dcb-bg-alt, var(--st-surface-muted)); border-color: var(--st-border-stronger); }
.dcb-prop-action:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: 2px; }
.dcb-prop-action.is-primary[b-5w8tb98ezl] { background: #d81b84; border-color: #d81b84; color: #ffffff; }
.dcb-prop-action.is-danger[b-5w8tb98ezl] { color: var(--st-danger-text); }

.dcb-prop-seg[b-5w8tb98ezl] {
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg-alt, var(--st-surface-muted));
}

.dcb-prop-seg button[b-5w8tb98ezl] {
    flex: 1;
    padding: 5px 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.dcb-prop-seg button.is-on[b-5w8tb98ezl] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
}

.dcb-prop-seg button:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: -2px; }

/* El aspecto de la unida (D512): los colores y los iconos que puede tomar de sus procesos, todos a la vista. */
.dcb-prop-look-name[b-5w8tb98ezl] {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--st-text-secondary);
}

.dcb-prop-look[b-5w8tb98ezl] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dcb-prop-swatch[b-5w8tb98ezl],
.dcb-prop-icon-pick[b-5w8tb98ezl] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 50%;
    cursor: pointer;
}

.dcb-prop-swatch[b-5w8tb98ezl] {
    background: var(--dcb-swatch, #64748b);
}

/* Blanco en los dos temas, como el círculo de la cabecera: los iconos de proceso son grises. */
.dcb-prop-icon-pick[b-5w8tb98ezl] {
    background: #ffffff;
    color: #1a365d;
}

.dcb-prop-icon-pick img[b-5w8tb98ezl] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dcb-prop-icon-pick.is-broken img[b-5w8tb98ezl] {
    display: none;
}

.dcb-prop-icon-pick[b-5w8tb98ezl]  svg {
    width: 58%;
    height: 58%;
}

.dcb-prop-swatch.is-on[b-5w8tb98ezl],
.dcb-prop-icon-pick.is-on[b-5w8tb98ezl] {
    box-shadow: 0 0 0 2px var(--st-surface, #ffffff), 0 0 0 4px var(--kodawari-selected, #e5b900);
    overflow: visible;
}

.dcb-prop-swatch:focus-visible[b-5w8tb98ezl],
.dcb-prop-icon-pick:focus-visible[b-5w8tb98ezl] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.dcb-prop-search[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    color: var(--dcb-text-faint, var(--st-text-muted));
}

.dcb-prop-search svg[b-5w8tb98ezl] { flex: none; width: 13px; height: 13px; }

.dcb-prop-search input[b-5w8tb98ezl] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
    outline: none;
}

.dcb-prop-members[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 320px;
    overflow-y: auto;
}

.dcb-prop-group[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.dcb-prop-group-btn[b-5w8tb98ezl] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 3px 2px;
    border: 0;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.dcb-prop-group-btn svg[b-5w8tb98ezl] { width: 11px; height: 11px; flex: none; transition: transform 0.12s ease; }
.dcb-prop-group-btn.is-closed svg[b-5w8tb98ezl] { transform: rotate(-90deg); }
.dcb-prop-group-count[b-5w8tb98ezl] { margin-left: auto; font-weight: 600; text-transform: none; letter-spacing: 0; }

.dcb-prop-check[b-5w8tb98ezl] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    padding: 0;
    border: 1.5px solid var(--st-border-stronger);
    border-radius: 4px;
    background: var(--st-surface);
    cursor: pointer;
}

/* Checked: the navy of the light theme, inverted in the dark one (a light box with a navy mark). */
.dcb-prop-check.is-on[b-5w8tb98ezl],
.dcb-prop-check.is-part[b-5w8tb98ezl] {
    border-color: var(--st-text-brand);
    background: var(--st-text-brand);
}

.dcb-prop-check.is-on[b-5w8tb98ezl]::after {
    content: "";
    width: 7px;
    height: 4px;
    margin-top: -2px;
    border-left: 2px solid var(--st-surface);
    border-bottom: 2px solid var(--st-surface);
    transform: rotate(-45deg);
}

.dcb-prop-check.is-part[b-5w8tb98ezl]::after {
    content: "";
    width: 7px;
    height: 2px;
    border-radius: 1px;
    background: var(--st-surface);
}

.dcb-prop-member-item[b-5w8tb98ezl] {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 5px 6px 5px 4px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.dcb-prop-member-item:hover[b-5w8tb98ezl] { background: var(--dcb-bg-alt, var(--st-surface-muted)); }
.dcb-prop-member-item:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: -2px; }

.dcb-prop-ots[b-5w8tb98ezl] {
    flex: none;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    color: var(--dcb-warn-text, var(--st-warning-fg));
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
}

.dcb-props-preview[b-5w8tb98ezl] {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

.dcb-props-error[b-5w8tb98ezl] {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 12px;
    font-weight: 600;
}

.dcb-props-pending[b-5w8tb98ezl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    font-size: 11.5px;
}

.dcb-props-pending-actions[b-5w8tb98ezl] { display: flex; gap: 6px; justify-content: flex-end; }

.dcb-props-foot[b-5w8tb98ezl] {
    display: flex;
    flex: none;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-props-btn[b-5w8tb98ezl] {
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dcb-props-btn:disabled[b-5w8tb98ezl] { color: var(--st-text-muted); cursor: default; }
.dcb-props-btn:focus-visible[b-5w8tb98ezl] { outline: 2px solid #d81b84; outline-offset: 2px; }
.dcb-props-btn.is-primary[b-5w8tb98ezl] { background: #d81b84; border-color: #d81b84; color: #ffffff; }
.dcb-props-btn.is-primary.is-disabled[b-5w8tb98ezl] { opacity: 0.5; cursor: default; }
/* /Pages/Home/Components/Calendar/Dcb/DcbTagMark.razor.rz.scp.css */
/* Una etiqueta del DCB (D102, D111): un sticker redondo o un post-it de su color, sin texto. Un anillo claro la
   despega del fondo de la tarjeta; el post-it lleva la esquina de abajo a la derecha doblada. */
.dcb-tag-mark[b-6zwzawwcze] {
    --dcb-tag-size: 14px;

    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--dcb-tag-size);
    height: var(--dcb-tag-size);
    border-radius: 50%;
    background: var(--dcb-tag, #2563eb);
    box-shadow: 0 0 0 1.5px var(--st-surface), 0 1px 2px rgba(15, 23, 42, 0.25);
    color: var(--dcb-tag-ink, #ffffff);
    font-size: calc(var(--dcb-tag-size) * 0.56);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

.dcb-tag-mark.is-postit[b-6zwzawwcze] {
    border-radius: 2px;
    background:
        linear-gradient(315deg, rgba(15, 23, 42, 0.28) 0 18%, transparent 18%),
        var(--dcb-tag, #2563eb);
    transform: rotate(-4deg);
}

.dcb-tag-mark.is-medium[b-6zwzawwcze] {
    --dcb-tag-size: 20px;
}

.dcb-tag-mark.is-large[b-6zwzawwcze] {
    --dcb-tag-size: 34px;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbTagsPanel.razor.rz.scp.css */
/* Las etiquetas del taller (D102): a la derecha del tablero, sin taparlo, con la misma caja que «Sin mapear»
   (D84). Ancho fijo que cambia su agarradera (D85), recordado en el navegador. */
.dcb-tags[b-m161wqzn00] {
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-tags-w, 300px);
    flex-direction: column;
    width: var(--dcb-tags-w, 300px);
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    color: var(--dcb-text, var(--st-text));
    animation: dcb-tags-in-b-m161wqzn00 0.16s ease-out;
}

.dcb-tags:focus[b-m161wqzn00] {
    outline: none;
}

@keyframes dcb-tags-in-b-m161wqzn00 {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.dcb-tags-head[b-m161wqzn00] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 4px 14px;
}

.dcb-tags-head h3[b-m161wqzn00] {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
}

.dcb-tags-pill[b-m161wqzn00] {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
}

.dcb-tags-close[b-m161wqzn00] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-tags-close:hover[b-m161wqzn00] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-tags-close svg[b-m161wqzn00] {
    width: 15px;
    height: 15px;
}

.dcb-tags-lead[b-m161wqzn00] {
    flex: none;
    margin: 0 14px 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-lead.is-stamping[b-m161wqzn00] {
    color: var(--kodawari-selected-text, var(--st-text-brand));
    font-weight: 600;
}

.dcb-tags-list[b-m161wqzn00] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow-y: auto;
    padding: 0 8px 8px;
}

.dcb-tags-empty[b-m161wqzn00] {
    margin: 8px 6px;
    font-size: 12px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-row[b-m161wqzn00] {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 34px;
    padding: 2px 4px 2px 2px;
    border-radius: 8px;
}

/* Agregando esta (D111): en el amarillo de lo elegido en los tableros (D91). */
.dcb-tags-row.is-stamp[b-m161wqzn00],
.dcb-tags-row.is-stamp:hover[b-m161wqzn00] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
}

/* Toda la fila, menos los iconos, elige la etiqueta para agregarla. */
.dcb-tags-pick[b-m161wqzn00] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 30px;
    padding: 2px 6px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: copy;
}

.dcb-tags-pick.is-static[b-m161wqzn00] {
    cursor: default;
}

.dcb-tags-pick:focus-visible[b-m161wqzn00] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

.dcb-tags-pick:disabled[b-m161wqzn00] {
    cursor: progress;
}

.dcb-tags-search[b-m161wqzn00] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    margin: 0 12px 8px;
    padding: 0 8px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-search:focus-within[b-m161wqzn00] {
    border-color: var(--dcb-accent, #d81b84);
}

.dcb-tags-search svg[b-m161wqzn00] {
    flex: none;
    width: 14px;
    height: 14px;
}

.dcb-tags-search input[b-m161wqzn00] {
    flex: 1 1 auto;
    min-width: 0;
    height: 30px;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-tags-row:hover[b-m161wqzn00] {
    background: var(--dcb-bg-soft, var(--st-surface-muted));
}

.dcb-tags-name[b-m161wqzn00] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-tags-count[b-m161wqzn00] {
    flex: none;
    font-size: 11px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-icon[b-m161wqzn00] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-tags-icon:hover:not(:disabled)[b-m161wqzn00] {
    background: var(--st-surface-strong);
    color: var(--dcb-text, var(--st-text));
}

.dcb-tags-icon.is-danger:hover:not(:disabled)[b-m161wqzn00] {
    background: var(--st-danger-bg-strong);
    color: var(--dcb-danger-text, var(--st-danger-text));
}

/* Resaltando esta (D111): el ojo encendido. */
.dcb-tags-icon.is-on[b-m161wqzn00],
.dcb-tags-icon.is-on:hover:not(:disabled)[b-m161wqzn00] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    box-shadow: inset 0 0 0 1px var(--kodawari-selected, #e5b900);
}

.dcb-tags-icon svg[b-m161wqzn00] {
    width: 14px;
    height: 14px;
}

.dcb-tags-confirm[b-m161wqzn00] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 4px;
    padding: 8px 10px;
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    background: var(--st-danger-bg);
    font-size: 12px;
}

.dcb-tags-form[b-m161wqzn00] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0;
    padding: 12px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 10px;
    background: var(--dcb-bg-soft, var(--st-surface-muted));
}

.dcb-tags-preview[b-m161wqzn00] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
}

.dcb-tags-preview span:last-child[b-m161wqzn00] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-tags-field[b-m161wqzn00] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dcb-tags-label[b-m161wqzn00] {
    font-size: 11px;
    font-weight: 700;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-input[b-m161wqzn00] {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 7px;
    background: var(--st-surface);
    font: inherit;
    font-size: 12.5px;
    color: var(--dcb-text, var(--st-text));
}

.dcb-tags-input.is-letter[b-m161wqzn00] {
    width: 64px;
    text-transform: uppercase;
}

.dcb-tags-input:focus[b-m161wqzn00] {
    border-color: var(--dcb-accent, #d81b84);
    outline: none;
}

.dcb-tags-hint[b-m161wqzn00] {
    font-size: 10.5px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-hint.is-warn[b-m161wqzn00] {
    margin: 0;
    color: var(--dcb-warn-text, var(--st-warning-fg));
}

.dcb-tags-seg[b-m161wqzn00] {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
}

.dcb-tags-seg button[b-m161wqzn00] {
    height: 26px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    color: var(--dcb-text, var(--st-text));
    cursor: pointer;
}

.dcb-tags-seg button.is-on[b-m161wqzn00] {
    background: var(--dcb-text, var(--st-text));
    color: var(--dcb-bg, var(--st-surface));
    font-weight: 700;
}

.dcb-tags-colors[b-m161wqzn00] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dcb-tags-swatch[b-m161wqzn00] {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid var(--dcb-bg, var(--st-surface));
    border-radius: 50%;
    background: var(--dcb-tag);
    box-shadow: 0 0 0 1px var(--dcb-border-strong, var(--st-border-strong));
    cursor: pointer;
}

.dcb-tags-swatch.is-on[b-m161wqzn00] {
    box-shadow: 0 0 0 2px var(--dcb-text, var(--st-text));
}

.dcb-tags-swatch:focus-visible[b-m161wqzn00] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: 2px;
}

.dcb-tags-error[b-m161wqzn00] {
    margin: 0 14px 8px;
    font-size: 12px;
    color: var(--dcb-danger-text, var(--st-danger-text));
}

.dcb-tags-form .dcb-tags-error[b-m161wqzn00] {
    margin: 0;
}

.dcb-tags-actions[b-m161wqzn00] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.dcb-tags-foot[b-m161wqzn00] {
    flex: none;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-tags-btn[b-m161wqzn00] {
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--dcb-text, var(--st-text));
    cursor: pointer;
}

.dcb-tags-btn:disabled[b-m161wqzn00] {
    cursor: default;
    opacity: 0.55;
}

.dcb-tags-btn.is-primary[b-m161wqzn00] {
    border-color: var(--dcb-accent, #d81b84);
    background: var(--dcb-accent, #d81b84);
    color: #ffffff;
}

.dcb-tags-btn.is-danger[b-m161wqzn00] {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

/* Las pestañas: el catálogo y «OT por etiqueta». */
.dcb-tags-tabs[b-m161wqzn00] {
    display: flex;
    flex: none;
    gap: 2px;
    margin: 2px 12px 8px;
    padding: 2px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 8px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-tags-tabs button[b-m161wqzn00] {
    flex: 1 1 0;
    height: 26px;
    padding: 0 8px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    cursor: pointer;
}

.dcb-tags-tabs button.is-on[b-m161wqzn00] {
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    color: var(--dcb-text, var(--st-text));
}

.dcb-tags-tabs button:focus-visible[b-m161wqzn00] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

/* «OT por etiqueta»: un grupo plegable por etiqueta. */
.dcb-tags-group + .dcb-tags-group[b-m161wqzn00] {
    border-top: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-tags-pick.is-fold[b-m161wqzn00] {
    cursor: pointer;
}

.dcb-tags-chevron[b-m161wqzn00] {
    flex: none;
    width: 13px;
    height: 13px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    transition: transform 0.12s ease-out;
}

.dcb-tags-chevron.is-closed[b-m161wqzn00] {
    transform: rotate(-90deg);
}

.dcb-tags-orders[b-m161wqzn00] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 6px;
    padding: 0 0 0 22px;
    list-style: none;
}

/* Una OT: número y placa; a la derecha, la promesa en el semáforo de la tarjeta (D71); abajo, su proceso. */
.dcb-tags-order[b-m161wqzn00] {
    --dcb-tone-text: var(--dcb-text-muted, var(--st-text-subtle));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 8px;
    width: 100%;
    padding: 4px 8px;
    border: none;
    border-radius: 7px;
    background: transparent;
    font: inherit;
    text-align: left;
    color: var(--dcb-text, var(--st-text));
    cursor: pointer;
}

.dcb-tags-order:hover[b-m161wqzn00] {
    background: var(--dcb-bg-soft, var(--st-surface-muted));
}

.dcb-tags-order:focus-visible[b-m161wqzn00] {
    outline: 2px solid var(--dcb-accent, #d81b84);
    outline-offset: -2px;
}

.dcb-tags-order.is-late[b-m161wqzn00] { --dcb-tone-text: var(--dcb-danger-text, var(--st-danger-text)); }
.dcb-tags-order.is-tight[b-m161wqzn00] { --dcb-tone-text: var(--dcb-warn-text, var(--st-warning-fg)); }
.dcb-tags-order.is-ok[b-m161wqzn00] { --dcb-tone-text: var(--st-success-fg); }

.dcb-tags-order-no[b-m161wqzn00] {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dcb-tags-order-plate[b-m161wqzn00] {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dcb-tags-order-promise[b-m161wqzn00] {
    font-size: 11px;
    font-weight: 700;
    color: var(--dcb-tone-text);
    white-space: nowrap;
}

.dcb-tags-order-process[b-m161wqzn00] {
    grid-column: 1 / -1;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}

.dcb-tags-order-process:empty[b-m161wqzn00] {
    display: none;
}

.dcb-tags-idle[b-m161wqzn00] {
    margin: 8px 6px;
    font-size: 11.5px;
    color: var(--dcb-text-muted, var(--st-text-subtle));
}
/* /Pages/Home/Components/Calendar/Dcb/DcbYardPanel.razor.rz.scp.css */
/* JS-G10: el patio, a la derecha del tablero sin taparlo, con la caja de la cita y de «Sin mapear». Siempre al 100 % (D130). */
.dcb-yard[b-7tzhbhkdmj] {
    display: flex;
    flex: 0 0 380px;
    flex-direction: column;
    width: 380px;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 12px;
    background: var(--dcb-bg, var(--st-surface));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.dcb-yard-head[b-7tzhbhkdmj] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 8px 14px;
    border-bottom: 1px solid var(--dcb-border, var(--st-border));
}

.dcb-yard-head h3[b-7tzhbhkdmj] {
    margin: 0;
    color: var(--dcb-text, var(--st-text));
    font-size: 14px;
    font-weight: 800;
}

.dcb-yard-pill[b-7tzhbhkdmj] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
}

.dcb-yard-close[b-7tzhbhkdmj] {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 18px;
    cursor: pointer;
}

.dcb-yard-body[b-7tzhbhkdmj] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 10px 14px 14px;
    overflow-y: auto;
}

.dcb-yard-section h4[b-7tzhbhkdmj] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dcb-yard-count[b-7tzhbhkdmj] {
    padding: 0 7px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    color: var(--dcb-text, var(--st-text));
    font-size: 10.5px;
    letter-spacing: 0;
    line-height: 16px;
    text-transform: none;
}

.dcb-yard-notice[b-7tzhbhkdmj] {
    margin: 0;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--st-success-bg);
    color: var(--dcb-text, var(--st-text));
    font-size: 12px;
}

.dcb-yard-notice.is-error[b-7tzhbhkdmj] {
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
}

.dcb-yard-state[b-7tzhbhkdmj],
.dcb-yard-quiet[b-7tzhbhkdmj] {
    margin: 0;
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
}

.dcb-yard-state.is-error[b-7tzhbhkdmj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--st-warning-text);
}

.dcb-yard-warn[b-7tzhbhkdmj] {
    margin: 0 0 6px;
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 700;
}

.dcb-yard-section > .dcb-yard-quiet[b-7tzhbhkdmj] {
    margin-bottom: 6px;
}

.dcb-yard-list[b-7tzhbhkdmj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dcb-yard-list li[b-7tzhbhkdmj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
}

.dcb-yard-list li > span[b-7tzhbhkdmj] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 12px;
}

.dcb-yard-list li.is-warn > span[b-7tzhbhkdmj] {
    color: var(--st-warning-text);
    font-weight: 700;
}

.dcb-yard-grid[b-7tzhbhkdmj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dcb-yard-space[b-7tzhbhkdmj] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--dcb-border, var(--st-border));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
}

.dcb-yard-space.is-free[b-7tzhbhkdmj] {
    border-style: dashed;
}

.dcb-yard-space.is-held[b-7tzhbhkdmj] {
    background: var(--dcb-bg-soft, var(--st-surface-sunken));
}

.dcb-yard-space.is-shared[b-7tzhbhkdmj] {
    border-color: var(--st-warning-text);
    background: var(--st-warning-bg-strong);
}

.dcb-yard-name[b-7tzhbhkdmj] {
    color: var(--dcb-text, var(--st-text));
    font-size: 12.5px;
    font-weight: 800;
}

.dcb-yard-free[b-7tzhbhkdmj] {
    color: var(--dcb-text-faint, var(--st-text-muted));
    font-size: 11.5px;
}

.dcb-yard-occupant[b-7tzhbhkdmj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.dcb-yard-occupant small[b-7tzhbhkdmj] {
    color: var(--dcb-text-muted, var(--st-text-subtle));
    font-size: 10.5px;
}

.dcb-yard-shared[b-7tzhbhkdmj] {
    color: var(--st-warning-text);
    font-size: 10.5px;
    font-weight: 700;
}

.dcb-yard-link[b-7tzhbhkdmj] {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--dcb-border-strong, var(--st-border-strong));
    cursor: pointer;
}

.dcb-yard-select[b-7tzhbhkdmj] {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 28px;
    padding: 3px 6px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 8px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
}

.dcb-yard-select.is-small[b-7tzhbhkdmj] {
    min-height: 24px;
    font-size: 11px;
}

.dcb-yard-btn[b-7tzhbhkdmj] {
    padding: 4px 12px;
    border: 1px solid var(--dcb-border-strong, var(--st-border-strong));
    border-radius: 999px;
    background: var(--dcb-bg, var(--st-surface));
    color: var(--dcb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
/* /Pages/Home/Components/Calendar/Dcb/DcbZoneSpine.razor.rz.scp.css */
/* Barra de la zona de reparación (F1): el mismo estilo que los carriles de «Por programar» del JSCB. Una pista angosta propia en la
   grilla (--dcb-spine-track, que define el tablero) o un elemento de la fila; no recibe entregas. El color es de zona: ningún proceso
   lo usa. La del inicio se recoge; la del fin (.is-end) solo marca. */
.dcb-zone-spine[b-2945jshfco] {
    --dcb-zone-color: #64748b;
    position: relative;
    display: flex;
    flex: 0 0 var(--dcb-spine-track, 40px);
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 8px;
    box-sizing: border-box;
    width: var(--dcb-spine-track, 40px);
    min-height: 100%;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 12px;
    background: var(--dcb-zone-color);
    color: #ffffff;
    font: inherit;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.dcb-zone-spine.is-repair[b-2945jshfco] {
    --dcb-zone-color: #2563eb;
}

.dcb-zone-spine:not(.is-end):hover[b-2945jshfco] {
    filter: brightness(1.12);
}

/* «Fin zona de reparación»: la misma barra, sin contador ni chevrón, y no se puede pulsar. */
.dcb-zone-spine.is-end[b-2945jshfco] {
    cursor: default;
}

.dcb-zone-spine:focus-visible[b-2945jshfco] {
    outline: 2px solid var(--dcb-drop-color, #e5b900);
    outline-offset: 2px;
}

.dcb-zone-count[b-2945jshfco] {
    flex: none;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
}

/* Una OT vencida o detenida adentro: el contador se ve en blanco con el número y el aro rojos. */
.dcb-zone-spine.needs-attention .dcb-zone-count[b-2945jshfco] {
    background: #ffffff;
    color: var(--dcb-danger, #ef4444);
    box-shadow: 0 0 0 2px var(--dcb-danger, #ef4444);
    text-shadow: none;
}

/* Vertical y de abajo hacia arriba, debajo del círculo (todo queda pegado arriba); recortado con puntos si la barra es más baja que el nombre. */
.dcb-zone-name[b-2945jshfco] {
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: start;
}

.dcb-zone-circle[b-2945jshfco] {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--dcb-zone-color);
}

.dcb-zone-circle svg[b-2945jshfco] {
    width: 16px;
    height: 16px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowCanvas.razor.rz.scp.css */
/* The drawing of the map (D119), with the prototype's measures: the map keeps them (the layout computes them) and only
   the text that fits grows. The kind colors (--tc, --tcs, --tci) come from data-kind (ProcessFlowDialog.razor.css). */

/* ─── Lines ─────────────────────────────────────────────────────────────── */
.pf-links[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    pointer-events: none;
}

.pf-links .pf-ln[b-abcml3ftrn] {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.6;
}

/* The trunk beside a «Dependencia»: dotted, «En espera». */
.pf-links .pf-ln.is-wait[b-abcml3ftrn] {
    stroke-dasharray: 5 5;
}

.pf-links .pf-ln-erase[b-abcml3ftrn] {
    fill: none;
    stroke: var(--map-bg, var(--st-surface-muted));
    stroke-width: 6;
}

.pf-links .pf-fork[b-abcml3ftrn] {
    fill: none;
    stroke: var(--tc);
    stroke-width: 2;
}

.pf-links .pf-junc[b-abcml3ftrn] {
    color: var(--tci);
}

.pf-links .pf-junc circle[b-abcml3ftrn] {
    fill: var(--bg);
    stroke: var(--tc);
    stroke-width: 1.6;
}

/* The fork of a branch is touched like the dotted lines: a wide invisible stroke; touched, it is lit and the rest fade. */
.pf-links .pf-fork-line .pf-line-hit[b-abcml3ftrn] {
    fill: none;
    stroke: transparent;
    stroke-width: 12;
    pointer-events: stroke;
    cursor: pointer;
}

.pf-links :is(.pf-fork-line, .pf-junc)[b-abcml3ftrn] {
    transition: opacity .15s ease;
}

.pf-links.has-pick :is(.pf-fork-line, .pf-junc).is-faded[b-abcml3ftrn] {
    opacity: .12;
}

.pf-links.has-pick .pf-fork-line.is-picked .pf-fork[b-abcml3ftrn] {
    stroke-width: 3.4;
}

/* In «Editar» the fork icon is a button: a click asks the type of what opens the branch. */
.pf-junc-hit[b-abcml3ftrn] {
    position: absolute;
    z-index: 3;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.pf-junc-hit:hover[b-abcml3ftrn],
.pf-junc-hit:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

/* The exits of a branch: violet and dashed all the way (the trunk on the right side of the branch too, so the legend
   «Cierra la rama» names every violet line), an arrow to where it closes; café and dotted, the ones that are a return. */
.pf-links.is-rets .pf-ret path[b-abcml3ftrn] {
    fill: none;
    stroke: var(--br, var(--t-vue));
    stroke-width: 2;
    stroke-linecap: round;
    stroke-opacity: 0.8;
}

.pf-links.is-rets .pf-ret path.is-main[b-abcml3ftrn] {
    stroke-opacity: 1;
    stroke-width: 2.4;
}

.pf-links.is-rets .pf-ret path:not(.is-back)[b-abcml3ftrn] {
    stroke-dasharray: 8 4;
}

.pf-links.is-rets .pf-ret path.is-back[b-abcml3ftrn] {
    stroke: var(--t-dev);
    stroke-dasharray: 1.5 5;
    stroke-width: 2.4;
}

.pf-links.is-rets .pf-ret circle[b-abcml3ftrn] {
    fill: var(--br, var(--t-vue));
}

.pf-links .pf-ret-head[b-abcml3ftrn] {
    fill: var(--t-vue);
}

.pf-links .pf-back-head[b-abcml3ftrn] {
    fill: var(--t-dev);
}

/* v11 F4: the channel of returns of the trunk, on the left; café and dotted like the returns of the branches. */
.pf-links.is-rets .pf-back path[b-abcml3ftrn] {
    fill: none;
    stroke: var(--t-dev);
    stroke-dasharray: 1.5 5;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-opacity: 0.85;
}

.pf-links.is-rets .pf-back circle[b-abcml3ftrn] {
    fill: var(--t-dev);
}

.pf-links.is-rets .pf-back.is-bare path[b-abcml3ftrn] {
    stroke-opacity: 1;
    stroke-width: 2.6;
}

/* A dotted line can be touched: a wide invisible stroke over it. Touched, it is lit and the other dotted lines fade. */
.pf-links.is-rets :is(.pf-ret, .pf-back) path.pf-line-hit[b-abcml3ftrn] {
    fill: none;
    stroke: transparent;
    stroke-width: 12;
    stroke-dasharray: none;
    pointer-events: stroke;
    cursor: pointer;
}

.pf-links.is-rets :is(.pf-ret, .pf-back)[b-abcml3ftrn] {
    transition: opacity .15s ease;
}

.pf-links.is-rets.has-pick :is(.pf-ret, .pf-back).is-faded[b-abcml3ftrn],
.pf-back-pill.is-faded[b-abcml3ftrn] {
    opacity: .12;
}

.pf-links.is-rets.has-pick .is-picked path:not(.pf-line-hit)[b-abcml3ftrn] {
    stroke-opacity: 1;
    stroke-width: 3.4;
}

.pf-links.is-rets.has-pick .is-picked circle[b-abcml3ftrn] {
    r: 4.5;
}

/* Under every card, box and line (the canvas is a stacking context): only the empty map reaches it. */
.pf-line-release[b-abcml3ftrn] {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
}

.pf-chan-label[b-abcml3ftrn] {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--t-dev);
    pointer-events: none;
    white-space: nowrap;
}

.pf-back-pill[b-abcml3ftrn] {
    position: absolute;
    z-index: 1;
    height: 18px;
    padding: 0 6px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--t-dev);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--t-dev);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.pf-back-pill.is-bare[b-abcml3ftrn] {
    border-style: dashed;
}

/* v11 F4: the bar above a process that waits for the branches. */
.pf-union[b-abcml3ftrn] {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    border: 1px solid var(--t-par);
    border-radius: 6px;
    background: var(--st-info-bg);
    color: var(--t-par-ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.pf-card[b-abcml3ftrn] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 346px;
    height: 52px;
    padding: 0 10px 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--shadow-card);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.12s ease;
}

.pf-card:hover[b-abcml3ftrn] {
    border-color: var(--faint);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.09);
}

.pf-card:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-card.is-inactive[b-abcml3ftrn] {
    border-style: dashed;
    border-width: 1.5px;
    background: var(--bg-soft);
    box-shadow: none;
    color: var(--muted);
}

/* v11 F1: the filter chips fade what does not match (the canvas carries data-filter; the card its marks). «Activos» does not
   fade: it leaves the inactive processes out of the layout. */
.pf-map-canvas[data-filter="inactive"] .pf-card:not([data-inactive])[b-abcml3ftrn],
.pf-map-canvas[data-filter="alert"] .pf-card:not([data-alert])[b-abcml3ftrn],
.pf-map-canvas[data-filter="branch"] .pf-card:not([data-branch])[b-abcml3ftrn],
.pf-map-canvas[data-filter="missing"] .pf-card:not([data-missing])[b-abcml3ftrn],
.pf-map-canvas[data-filter="review"] .pf-card:not([data-review])[b-abcml3ftrn] {
    opacity: .28;
}

.pf-card[b-abcml3ftrn] {
    transition: opacity .15s ease;
}

/* v12 E1: a process selected on the full map isolates itself and the processes it shares a handover with. */
.pf-map-canvas[data-isolate] .pf-card:not(.is-rel)[b-abcml3ftrn] {
    opacity: .3;
}

.pf-map-canvas[data-isolate] .pf-ln[b-abcml3ftrn],
.pf-map-canvas[data-isolate] .pf-ret[b-abcml3ftrn] {
    opacity: .4;
}

/* While a new line is drawn (process-flow.js sets data-linking) the map steps back: every arrow and the labels of the
   returns fade, each process the line can reach comes back to full strength (even one the isolation faded), and the ones
   it cannot reach (it already hands over to them) fade and refuse the drop. */
.pf-map-canvas[data-linking] .pf-links[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-slink[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-flink[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-hlink[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-chan-label[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-back-pill[b-abcml3ftrn] {
    opacity: .12;
}

.pf-map-canvas[data-linking] .pf-card:not([data-link-off])[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-sl:not([data-link-off])[b-abcml3ftrn],
.pf-map-canvas[data-linking] .pf-bt-card:not([data-link-off])[b-abcml3ftrn] {
    opacity: 1;
}

.pf-map-canvas[data-linking] [data-link-off][b-abcml3ftrn] {
    opacity: .3;
    cursor: not-allowed;
}

/* The other end of a handover of the list: the color of its kind. */
.pf-card.is-target[b-abcml3ftrn] {
    border-color: var(--tc);
    box-shadow: 0 0 0 1px var(--tc);
}

.pf-card.is-openhl[b-abcml3ftrn] {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px var(--navy);
}

.pf-card.is-match[b-abcml3ftrn] {
    box-shadow: 0 0 0 2px var(--navy), 0 0 0 5px var(--st-surface-strong);
}

/* The destination of the row under the mouse (process-flow.js). */
.pf-card.is-hover[b-abcml3ftrn] {
    box-shadow: 0 0 0 2px var(--navy);
}

.pf-card.is-sel[b-abcml3ftrn] {
    border-color: var(--sel);
    background: var(--sel-soft);
    box-shadow: 0 0 0 2px var(--sel);
}

.pf-card.is-sel .pf-pname[b-abcml3ftrn] {
    color: var(--sel-ink);
}

.pf-card.is-sel .pf-psub[b-abcml3ftrn] {
    color: var(--st-text-secondary);
}

/* The other end of the handover open on the right. */
.pf-card.is-focus[b-abcml3ftrn] {
    box-shadow: 0 0 0 3px var(--fc, var(--tc)), 0 0 0 7px var(--fcs, var(--tcs));
}

/* The handover under the mouse, on «Enfocada» and «Corbatín» (process-flow.js). */
.pf-card.is-hl[b-abcml3ftrn] {
    box-shadow: 0 0 0 3px var(--tc), 0 0 0 7px var(--tcs);
}

.pf-map-canvas.has-hl .pf-card.is-target:not(.is-hl)[b-abcml3ftrn] {
    opacity: 0.6;
}

.pf-map-canvas.has-open .pf-card.is-target:not(.is-hl)[b-abcml3ftrn] {
    opacity: 0.4;
}

.pf-ptext[b-abcml3ftrn] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.pf-pname[b-abcml3ftrn] {
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-psub[b-abcml3ftrn] {
    overflow: hidden;
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-pbadges[b-abcml3ftrn] {
    display: flex;
    flex: none;
    gap: 4px;
}

.pf-bdg[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--tcs);
    color: var(--tci);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pf-bdg.is-warn[b-abcml3ftrn] {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

/* v12 G2: something blocks the save on this process (the footer's «N por resolver»). */
.pf-bdg.is-block[b-abcml3ftrn] {
    border: 1px solid var(--danger-ink);
    color: var(--danger-ink);
}

/* v13 N23: the data of this process has a problem; the card keeps its place and the rest of the map is drawn. */
.pf-bdg.is-data[b-abcml3ftrn] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.pf-card.has-data-issue[b-abcml3ftrn] {
    outline: 1.5px solid var(--st-danger-fg);
    outline-offset: 2px;
}

.pf-bdg.is-off[b-abcml3ftrn] {
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--muted);
    font-weight: 600;
}

/* v12 E1: «↩ 2», the returns that leave the card while the channel is off (the café of the channel). */
.pf-bdg[data-kind="ret"][b-abcml3ftrn] {
    background: var(--t-dev-soft);
    color: var(--t-dev-ink);
}

.pf-bdg.is-ot[b-abcml3ftrn] {
    background: var(--navy);
    color: var(--on-navy);
}

/* The number of the handover of the list (P13: touching it opens the handover). */
.pf-rank[b-abcml3ftrn] {
    position: absolute;
    right: calc(100% - 6px);
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 5px;
    transform: translateY(-50%);
    border: 2px solid var(--tc);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--tci);
    box-shadow: 0 0 0 2px var(--bg);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.pf-rank:hover[b-abcml3ftrn] {
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--tc);
}

/* A bigger area to touch than the eye sees. */
.pf-rank[b-abcml3ftrn]::after {
    content: "";
    position: absolute;
    inset: -6px;
}

.pf-rank.at-r[b-abcml3ftrn] {
    left: calc(100% - 6px);
    right: auto;
}

.pf-stepn[b-abcml3ftrn] {
    position: absolute;
    right: -10px;
    top: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid var(--bg);
    border-radius: 999px;
    background: var(--navy);
    color: var(--on-navy);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* A card inside a branch box: narrower, the name in two lines. */
.pf-card.in-br[b-abcml3ftrn] {
    gap: 9px;
    padding: 0 8px;
}

.pf-card.in-br .pf-pname[b-abcml3ftrn] {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    line-height: 1.2;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pf-card.in-br .pf-psub[b-abcml3ftrn] {
    display: none;
}

/* A folded card of «Enfocada» and the other side of «Corbatín»: one line. */
.pf-card.mini[b-abcml3ftrn] {
    gap: 8px;
    padding: 0 8px 0 5px;
    border-radius: 8px;
}

.pf-card.mini .pf-psub[b-abcml3ftrn] {
    display: none;
}

.pf-card.mini .pf-pname[b-abcml3ftrn] {
    font-size: 13px;
}

.pf-card.mini.in-br .pf-pname[b-abcml3ftrn] {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.pf-card.mini .pf-bdg[b-abcml3ftrn] {
    height: 18px;
    padding: 0 5px;
    font-size: 10.5px;
}

.pf-card.mini .pf-rank[b-abcml3ftrn] {
    min-width: 24px;
    height: 24px;
    font-size: 11.5px;
}

/* ─── Branch boxes ──────────────────────────────────────────────────────── */
.pf-branch[b-abcml3ftrn] {
    position: absolute;
    border: 1.5px solid var(--br-edge, #7dd3c8);
    border-radius: 12px;
    background: var(--br-wash, color-mix(in srgb, var(--t-esp) 7%, var(--st-surface)));
}

/* The wash follows the theme (a tint of the kind over the surface); the edge stays the kind's light line. */
.pf-branch[data-kind="esp"][b-abcml3ftrn] {
    --br-wash: color-mix(in srgb, var(--t-esp) 7%, var(--st-surface));
    --br-edge: #7dd3c8;
}

.pf-branch[data-kind="par"][b-abcml3ftrn] {
    --br-wash: var(--st-info-bg);
    --br-edge: #93c5fd;
}

.pf-br-head[b-abcml3ftrn] {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 6px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 8px;
    min-width: 0;
    padding: 3px 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* The head of a branch is a label, not a process: no background, edge or hover, pressed or not (the openers it lights say it). */

.pf-br-head:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* v12: the fold of a branch box sits at the right of its head; the head leaves it room. */
.pf-branch:has(.pf-br-fold) .pf-br-head[b-abcml3ftrn] {
    right: 40px;
}

.pf-br-fold[b-abcml3ftrn] {
    position: absolute;
    top: 10px;
    right: 8px;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
    cursor: pointer;
}

.pf-br-fold:hover[b-abcml3ftrn] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-br-fold:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-br-n[b-abcml3ftrn] {
    justify-self: end;
    font-size: 12px;
    font-weight: 700;
    color: var(--tci);
}

/* «Pueden abrirla N» sits right, centred in the room between the chip row and the first card (from 32 to 54 px). */
.pf-br-meta[b-abcml3ftrn] {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 1px;
    line-height: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tci);
}

.pf-br-foot[b-abcml3ftrn] {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

/* The foot is one line as wide as a card: «Sale a», up to four exits and «+N» fit without touching the edge. */
.pf-br-row[b-abcml3ftrn] {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}

.pf-br-rt[b-abcml3ftrn] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--t-vue-ink);
}

.pf-br-back[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--t-vue-soft);
    color: var(--t-vue-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.pf-br-back:hover[b-abcml3ftrn] {
    border-color: var(--t-vue);
}

.pf-br-back.is-back[b-abcml3ftrn] {
    background: var(--t-dev-soft);
    color: var(--t-dev-ink);
}

.pf-br-back:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-br-more[b-abcml3ftrn] {
    flex: none;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--t-vue-soft);
    color: var(--t-vue-ink);
    font-size: 11px;
    font-weight: 700;
    cursor: default;
}

.pf-br-warn[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12px;
    font-weight: 600;
}

/* «Enfocada»: the box only says its type and its size. */
.pf-fb-head[b-abcml3ftrn] {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-fb-head .pf-br-n[b-abcml3ftrn] {
    margin-left: auto;
}

.pf-wait-pill[b-abcml3ftrn] {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 8px;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--t-esp);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--t-esp-ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

/* ─── Folded names («Enfocada») ─────────────────────────────────────────── */
.pf-strip[b-abcml3ftrn] {
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    overflow: hidden;
    padding: 4px 8px 4px 10px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--muted);
    font-size: 11.5px;
    line-height: 16px;
}

.pf-strip.in-br[b-abcml3ftrn] {
    background: color-mix(in srgb, var(--st-surface) 80%, transparent);
}

.pf-strip.is-open[b-abcml3ftrn] {
    flex-wrap: wrap;
}

.pf-sl[b-abcml3ftrn] {
    display: inline-block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 0 3px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    font-weight: 500;
    vertical-align: top;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.pf-sl b[b-abcml3ftrn] {
    font-weight: 700;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.pf-sl:hover[b-abcml3ftrn],
.pf-sl:focus-visible[b-abcml3ftrn] {
    background: var(--st-surface);
    color: var(--navy);
    text-decoration: underline;
}

.pf-sl.is-match[b-abcml3ftrn] {
    background: var(--navy);
    color: var(--on-navy);
}

.pf-sl.is-match b[b-abcml3ftrn] {
    color: var(--on-navy);
}

.pf-sl-dot[b-abcml3ftrn] {
    flex: none;
    padding: 0 2px;
    color: var(--faint);
}

.pf-sl-more[b-abcml3ftrn] {
    flex: none;
    height: 20px;
    margin-left: 4px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--navy);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
}

.pf-sl-more:hover[b-abcml3ftrn] {
    background: var(--navy);
    color: var(--on-navy);
}

/* ─── Arrows («Enfocada» and «Corbatín») ────────────────────────────────── */
.pf-links.is-arrows[b-abcml3ftrn] {
    z-index: 2;
}

.pf-arrow[b-abcml3ftrn] {
    color: var(--tc);
}

.pf-arrow .pf-ln[b-abcml3ftrn] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.66;
    transition: opacity 0.12s ease, stroke-width 0.12s ease;
}

.pf-arrow .pf-hit[b-abcml3ftrn] {
    fill: none;
    stroke: transparent;
    stroke-width: 12;
    pointer-events: stroke;
    cursor: pointer;
}

.pf-ah[b-abcml3ftrn] {
    fill: var(--tc);
}

/* The shape says the type too (P15): Normal thin, Retorno dotted, «Cierra la rama» dashed, Paralelo double. */
.pf-arrow[data-kind="sigue"] .pf-ln[b-abcml3ftrn] {
    opacity: 0.5;
    stroke-width: 1.5;
}

.pf-arrow[data-kind="dev"] .pf-ln[b-abcml3ftrn] {
    stroke-dasharray: 1.5 5;
    stroke-width: 2.2;
    opacity: 0.8;
}

.pf-arrow[data-kind="vue"] .pf-ln[b-abcml3ftrn] {
    stroke-dasharray: 8 4;
}

.pf-arrow[data-kind="par"] .pf-ln[b-abcml3ftrn] {
    stroke-width: 4.2;
    opacity: 0.75;
}

.pf-arrow .pf-ln-in[b-abcml3ftrn] {
    fill: none;
    stroke: var(--bg);
    stroke-width: 1.4;
    stroke-linecap: round;
    pointer-events: none;
}

/* «Uso real»: a handover not used in 12 months stays faint. */
.pf-arrow .pf-ln.is-unused[b-abcml3ftrn] {
    opacity: 0.22;
}

/* «Pausada» (D536): not offered when handing over, configuration kept. */
.pf-arrow .pf-ln.is-paused[b-abcml3ftrn] {
    opacity: 0.45;
    stroke-dasharray: 5 4;
}

.pf-map-canvas.has-hl .pf-arrow:not(.is-hl)[b-abcml3ftrn] {
    opacity: 0.16;
}

.pf-arrow.is-hl .pf-ln[b-abcml3ftrn] {
    opacity: 1;
    stroke: var(--tci);
    stroke-width: 3.2;
}

.pf-arrow.is-hl[data-kind="par"] .pf-ln[b-abcml3ftrn] {
    stroke-width: 5;
}

/* ─── «Corbatín» ────────────────────────────────────────────────────────── */
.pf-bt-h[b-abcml3ftrn] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pf-bt-n[b-abcml3ftrn] {
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    letter-spacing: 0;
}

.pf-bt-h.is-on[b-abcml3ftrn] {
    color: var(--navy);
}

.pf-bt-h.is-ret[b-abcml3ftrn] {
    color: var(--t-dev-ink);
}

.pf-card.is-bt.is-ret[b-abcml3ftrn] {
    border-color: var(--t-dev-soft);
    box-shadow: inset 3px 0 0 var(--t-dev);
}

.pf-bt-rk[b-abcml3ftrn] {
    position: absolute;
    top: 50%;
    left: -48px;
    display: none;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-50%);
}

.pf-bt-rk.at-r[b-abcml3ftrn] {
    left: auto;
    right: -48px;
}

.pf-card.is-bt:hover .pf-bt-rk[b-abcml3ftrn],
.pf-card.is-bt:focus-within .pf-bt-rk[b-abcml3ftrn] {
    display: flex;
}

.pf-bt-rk > span[b-abcml3ftrn] {
    display: grid;
    place-items: center;
    width: 20px;
    height: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink-2);
    font-size: 9px;
    cursor: pointer;
}

.pf-bt-rk > span:hover[b-abcml3ftrn] {
    border-color: var(--accent);
    color: var(--accent);
}

.pf-bt-none[b-abcml3ftrn] {
    position: absolute;
    margin: 0;
    padding: 10px 12px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--muted);
    font-size: 12.5px;
}

/* «Corbatín»: the side the tab does not show («Salen» or «Llegan») stays readable but steps back. */
.pf-card.is-bt.is-other[b-abcml3ftrn] {
    opacity: 0.5;
}

.pf-card.is-bt.is-other:hover[b-abcml3ftrn],
.pf-card.is-bt.is-other:focus-visible[b-abcml3ftrn] {
    opacity: 1;
}

.pf-bt-h.is-other[b-abcml3ftrn] {
    opacity: 0.55;
}

.pf-arrow.is-other[b-abcml3ftrn] {
    opacity: 0.3;
}

.pf-arrow.is-other:hover[b-abcml3ftrn] {
    opacity: 1;
}

/* v13 N13: the selected process and the two ends of a handover are cards like every other one (same size, sequence on the
   corner, icon, name and line); only the ring of the selection tells them apart. */

/* v13 N13: a handover card of level 2 dragged to another priority, and where it lands. */
.pf-card.is-bt[data-bt-drag][b-abcml3ftrn] {
    cursor: grab;
}

.pf-card.is-bt.is-dragging[b-abcml3ftrn] {
    z-index: 5;
    opacity: .9;
    cursor: grabbing;
    transition: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .28);
}

.pf-card.is-bt.is-rank-before[b-abcml3ftrn] {
    box-shadow: 0 -3px 0 var(--accent);
}

.pf-card.is-bt.is-rank-after[b-abcml3ftrn] {
    box-shadow: 0 3px 0 var(--accent);
}

/* ─── v13 N5: level 3, one handover and its reasons ─────────────────────────── */
.pf-card.is-l3[b-abcml3ftrn] {
    cursor: default;
}

.pf-l3-wire[b-abcml3ftrn] {
    fill: none;
    stroke: var(--border);
    stroke-width: 1.5;
}

.pf-arrow.is-l3 .pf-ln[b-abcml3ftrn] {
    stroke-width: 3;
    opacity: 1;
}

.pf-l3-chip[b-abcml3ftrn] {
    position: absolute;
    /* Over the arrow (its svg is z-index 2), so the line does not cross the word. */
    z-index: 3;
    transform: translate(-50%, -50%);
    padding: 3px 10px;
    border: 1.5px solid var(--tc);
    border-radius: 999px;
    background: var(--bg);
    color: var(--tci);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* v13 N15: the chip that can be changed (double click) and the kinds it offers under it. */
button.pf-l3-chip[b-abcml3ftrn] {
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
}

button.pf-l3-chip:hover[b-abcml3ftrn],
button.pf-l3-chip[aria-expanded="true"][b-abcml3ftrn] {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 30%, transparent);
}

.pf-l3-kinds-back[b-abcml3ftrn] {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.pf-l3-kinds[b-abcml3ftrn] {
    position: absolute;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--st-surface);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.pf-l3-kind[b-abcml3ftrn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

/* The menu of the fork icon: under the icon, only the types it can change to. */
.pf-junc-menu[b-abcml3ftrn] {
    min-width: 230px;
}

.pf-junc-menu-h[b-abcml3ftrn] {
    padding: 4px 10px 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.pf-junc-menu .pf-l3-kind[b-abcml3ftrn] {
    color: var(--tci);
}

.pf-junc-menu .pf-l3-kind small[b-abcml3ftrn] {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
}

.pf-l3-kind:hover[b-abcml3ftrn] {
    background: var(--bg-alt);
}

/* v14 «ramas condicionales»: the sections of the fork icon's menu and the pages that follow it. */
.pf-junc-sec[b-abcml3ftrn] {
    margin-top: 4px;
    padding: 6px 10px 2px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pf-junc-menu-h + .pf-junc-sec[b-abcml3ftrn] {
    border-top: 0;
}

.pf-junc-menu .pf-when-opt[b-abcml3ftrn],
.pf-junc-menu .pf-cond-opt[b-abcml3ftrn] {
    color: var(--ink);
}

.pf-when-opt .pf-dia.is-none[b-abcml3ftrn] {
    background: var(--faint);
}

.pf-when-opt .pf-dia.is-cond[b-abcml3ftrn] {
    background: var(--cond);
}

.pf-when-opt .pf-dia.is-ev[b-abcml3ftrn] {
    background: var(--warn);
}

.pf-l3-kind.is-current[b-abcml3ftrn] {
    background: var(--bg-alt);
}

.pf-junc-cur[b-abcml3ftrn] {
    margin-left: auto;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--cond-bg);
    color: var(--cond-ink);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
}

.pf-cond-menu[b-abcml3ftrn] {
    max-width: 300px;
}

.pf-cond-menu-t[b-abcml3ftrn] {
    padding: 0 10px 4px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.pf-cond-opt > span[b-abcml3ftrn] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pf-cond-opt:disabled[b-abcml3ftrn] {
    opacity: .5;
    cursor: default;
}

.pf-cond-note[b-abcml3ftrn] {
    margin: 4px 10px 2px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.pf-cond-back[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin: 2px 6px 2px;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-cond-back:hover[b-abcml3ftrn] {
    background: var(--bg-alt);
    color: var(--ink);
}

/* v14: ◆ on the fork icon of a conditioned branch; the head of its box says when it is taken. */
.pf-links .pf-junc .pf-junc-cond[b-abcml3ftrn] {
    fill: var(--cond);
    stroke: var(--bg);
    stroke-width: 1.5;
}

.pf-links .pf-junc .pf-junc-cond.is-ev[b-abcml3ftrn] {
    fill: var(--warn);
}

.pf-br-when[b-abcml3ftrn] {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    height: 19px;
    padding: 0 8px;
    overflow: hidden;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-br-when.is-cond[b-abcml3ftrn] {
    border: 1px solid var(--cond);
    background: var(--cond-bg);
    color: var(--cond-ink);
}

.pf-br-when.is-ev[b-abcml3ftrn] {
    border: 1px solid var(--warn);
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.pf-br-head:has(.pf-br-when) .pf-br-meta[b-abcml3ftrn] {
    grid-column: 2;
    grid-row: 2;
}

.pf-l3-kind[aria-checked="true"][b-abcml3ftrn] {
    background: color-mix(in srgb, var(--tc) 18%, transparent);
    color: var(--tci);
}

.pf-l3-head[b-abcml3ftrn] {
    position: absolute;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pf-reason[b-abcml3ftrn] {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.pf-reason:hover[b-abcml3ftrn] {
    border-color: var(--accent);
}

.pf-reason.is-sel[b-abcml3ftrn] {
    border-color: var(--sel);
    box-shadow: 0 0 0 3px var(--sel-soft);
}

.pf-reason-q[b-abcml3ftrn] {
    display: grid;
    flex: none;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    background: var(--st-surface-muted);
    color: var(--muted);
    font-size: 12px;
}

.pf-reason-tx[b-abcml3ftrn] {
    min-width: 0;
}

.pf-reason-tx b[b-abcml3ftrn] {
    display: block;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-reason-tx span[b-abcml3ftrn] {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pf-reason.is-add[b-abcml3ftrn] {
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-style: dashed;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
}

.pf-reason.is-add:hover[b-abcml3ftrn] {
    border-color: var(--accent);
    color: var(--accent);
}

.pf-l3-note[b-abcml3ftrn] {
    position: absolute;
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-l3-note.is-warn[b-abcml3ftrn] {
    color: var(--st-danger-text, var(--tci));
}

.pf-bt-empty[b-abcml3ftrn] {
    position: absolute;
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
}

/* ─── A handover drawn on the full map (the one open, the row under the mouse) ─ */
.pf-flink[b-abcml3ftrn],
.pf-hlink[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    overflow: visible;
    pointer-events: none;
    color: var(--tc);
}

.pf-flink path[b-abcml3ftrn] {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
}

.pf-hlink[b-abcml3ftrn] {
    display: none;
}

.pf-hlink.is-on[b-abcml3ftrn] {
    display: block;
}

.pf-hlink path[b-abcml3ftrn] {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.85;
}

.pf-flink circle[b-abcml3ftrn],
.pf-hlink circle[b-abcml3ftrn] {
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .pf-card[b-abcml3ftrn],
    .pf-arrow .pf-ln[b-abcml3ftrn] {
        transition: none;
    }
}

/* ─── «Editar»: the marks of the draft, the handle, «Deshacer», the «+» and «Elegir en el mapa» (edit.css) ─── */
.pf-grip[b-abcml3ftrn] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 30px;
    margin: 0 -4px;
    color: var(--faint);
    cursor: grab;
    touch-action: none;
}

.pf-card:hover .pf-grip[b-abcml3ftrn],
.pf-card:focus-visible .pf-grip[b-abcml3ftrn] {
    color: var(--ink-2);
}

.pf-card.is-draft[b-abcml3ftrn] {
    outline: 1.5px dashed var(--draft);
    outline-offset: 3px;
}

.pf-dot-draft[b-abcml3ftrn] {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--bg);
    border-radius: 999px;
    background: var(--draft);
}

.pf-card.is-new[b-abcml3ftrn]  .pf-tile {
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--draft);
}

.pf-card.is-del[b-abcml3ftrn] {
    background: var(--bg-soft);
    color: var(--muted);
}

.pf-card.is-del .pf-pname[b-abcml3ftrn] {
    text-decoration: line-through;
}

.pf-card.is-del[b-abcml3ftrn]  .pf-tile {
    filter: grayscale(1);
    opacity: 0.5;
}

.pf-card.is-dragging[b-abcml3ftrn] {
    opacity: 0.35;
}

/* «Editar»: a card that can move is dragged from anywhere on it (process-flow.js). */
.pf-card:has(> .pf-grip)[b-abcml3ftrn] {
    cursor: grab;
    user-select: none;
}

.pf-card.is-pickable[b-abcml3ftrn] {
    cursor: crosshair;
}

.pf-card.is-pickable:hover[b-abcml3ftrn] {
    box-shadow: 0 0 0 2px var(--navy), 0 0 0 6px var(--st-surface-strong);
}

.pf-card.is-unpickable[b-abcml3ftrn] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pf-card.is-taken[b-abcml3ftrn] {
    cursor: pointer;
}

/* Its number just changed: the tile flashes (moved). */
.pf-card.is-moved[b-abcml3ftrn]  .pf-tile {
    animation: pf-tile-flash-b-abcml3ftrn 1.6s ease;
}

@keyframes pf-tile-flash-b-abcml3ftrn {
    0%,
    50% {
        box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--draft);
    }
}

/* «7→8»: it only runs a number because of another change. */
.pf-renum[b-abcml3ftrn] {
    position: absolute;
    left: 8px;
    top: -9px;
    display: inline-flex;
    align-items: center;
    height: 17px;
    padding: 0 6px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--ink-2);
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pf-card-undo[b-abcml3ftrn] {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    transform: translate(-100%, -50%);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.pf-card-undo:hover[b-abcml3ftrn] {
    border-color: var(--draft);
    color: var(--accent-ink);
}

.pf-card-undo:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* v12 E2: the handovers of the process the user touched, always drawn (the rows of a list light one on hover instead). */
.pf-slink[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    overflow: visible;
    pointer-events: none;
    color: var(--tc);
}

.pf-slink path[b-abcml3ftrn] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    opacity: .85;
}

.pf-slink circle[b-abcml3ftrn] {
    fill: currentColor;
}

/* v13 N24: the head of a drawn handover is a filled triangle (the line rules above would leave it hollow and outlined),
   and the line runs into its middle (refX 7: the tip still touches the card), so it always reaches the head. */
.pf-slink .pf-lhead[b-abcml3ftrn],
.pf-flink .pf-lhead[b-abcml3ftrn],
.pf-hlink .pf-lhead[b-abcml3ftrn] {
    fill: currentColor;
    stroke: none;
}

.pf-slink.is-in path[b-abcml3ftrn] {
    opacity: .6;
}

/* v13 N13: the returns of the selected process, the same curve on the left, in café. */
.pf-slink.is-back[b-abcml3ftrn] {
    color: var(--t-dev);
}

.pf-slink.is-paused path[b-abcml3ftrn] {
    stroke-dasharray: 2 4;
    opacity: .5;
}

/* V1 «Flechas en el mapa»: in «Editar» the arrows of the isolated process are clicked on a wide invisible line over each. */
.pf-spick[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    overflow: visible;
    pointer-events: none;
}

.pf-spick-hit[b-abcml3ftrn] {
    fill: none;
    stroke: var(--draft);
    stroke-opacity: 0;
    stroke-width: 12;
    stroke-linecap: round;
    pointer-events: stroke;
    cursor: pointer;
    transition: stroke-opacity 0.12s;
}

.pf-spick-hit:hover[b-abcml3ftrn] {
    stroke-opacity: .16;
}

.pf-spick-hit.is-picked[b-abcml3ftrn] {
    stroke-opacity: .22;
}

.pf-slink.is-picked path[b-abcml3ftrn] {
    stroke-width: 3;
    opacity: 1;
}

/* v12 E2: «Flechas» and «Activar / Inactivar» under the card the user touched, right-aligned in the gap below it. */
.pf-card-tools[b-abcml3ftrn] {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    gap: 4px;
    transform: translateX(-100%);
}

.pf-card-tool[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.pf-card-tool:hover[b-abcml3ftrn] {
    border-color: var(--sel);
    color: var(--ink);
}

.pf-card-tool:focus-visible[b-abcml3ftrn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .pf-card.is-moved[b-abcml3ftrn]  .pf-tile {
        animation: none;
    }
}

/* «Probar un carro»: the cards the car went through, with its steps («2, 5»). */
.pf-card.is-sim[b-abcml3ftrn] {
    box-shadow: 0 0 0 3px var(--navy);
}

.pf-bdg.is-sim[b-abcml3ftrn] {
    background: var(--navy);
    color: var(--on-navy);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .pf-card[b-abcml3ftrn] {
        transition: none;
    }
}

/* ─── «Editar» on the arrows (v11) ───────────────────────────────────────── */
.pf-arrow-end[b-abcml3ftrn],
.pf-connect[b-abcml3ftrn],
.pf-arrow-del[b-abcml3ftrn] {
    position: absolute;
    z-index: 3;
}

/* The handle at the other end: drag it to another process. */
.pf-arrow-end[b-abcml3ftrn] {
    width: 12px;
    height: 12px;
    border: 2px solid var(--draft);
    border-radius: 999px;
    background: var(--surface, #ffffff);
    cursor: grab;
    touch-action: none;
}

.pf-arrow-end:hover[b-abcml3ftrn],
.pf-arrow-end.is-hl[b-abcml3ftrn] {
    background: var(--draft);
}

/* V3: the end at the selected process is hollow, so the two ends of the picked arrow read apart. */
.pf-arrow-end.is-near[b-abcml3ftrn] {
    background: var(--surface, #ffffff);
}

.pf-arrow-end.is-near:hover[b-abcml3ftrn] {
    background: var(--draft);
}

/* The «×» shows with its arrow (under the mouse or open). */
.pf-arrow-del[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid var(--st-danger-text, #dc2626);
    border-radius: 999px;
    background: var(--surface, #ffffff);
    color: var(--st-danger-text, #dc2626);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.12s;
}

.pf-arrow-del.is-hl[b-abcml3ftrn],
.pf-arrow-del:hover[b-abcml3ftrn],
.pf-arrow-del:focus-visible[b-abcml3ftrn] {
    opacity: 1;
}

/* V2: the connection points of the isolated card on the full map; «llega» is the hollow one. */
.pf-connect.is-point[b-abcml3ftrn] {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pf-connect.is-point:hover[b-abcml3ftrn] {
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(216, 27, 132, 0.28);
}

.pf-connect.is-in[b-abcml3ftrn] {
    background: var(--surface, #ffffff);
    color: var(--draft);
    border: 2px solid var(--draft);
    font-size: 11px;
}

/* v13 N16: the «+» and «↓» are drawn icons, so they sit in the middle of the dot (a text glyph sat low). */
.pf-connect[b-abcml3ftrn]  .pf-i {
    display: block;
    stroke-width: 3;
    pointer-events: none;
}

/* The dot of the selected process: drag it to draw a new handover. */
.pf-connect[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--draft);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: crosshair;
    touch-action: none;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.18);
}


/* ─── v13: the sequence on the corner of the card and the process's icon ─────────────────────────────────── */
.pf-card[b-abcml3ftrn]  .pf-tile:not(.is-small) {
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1;
    width: auto;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid var(--bg-alt);
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .25);
    font-size: 12.5px;
}

/* The icon always on white and round, in light and dark (the processes' icons are drawn in grey for a white ground). */
.pf-picon[b-abcml3ftrn] {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
}

.pf-picon img[b-abcml3ftrn] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.pf-card.is-inactive .pf-picon[b-abcml3ftrn] {
    opacity: .55;
    filter: grayscale(1);
}

/* The mark of a card changed in the draft goes beside the sequence, not under it. */
.pf-card:has(.pf-picon) .pf-dot-draft[b-abcml3ftrn] {
    left: 24px;
}

/* A process added in the draft keeps its ring on the sequence. */
.pf-card.is-new[b-abcml3ftrn]  .pf-tile:not(.is-small) {
    box-shadow: 0 0 0 2px var(--draft);
}

/* ─── v13 N19: roles, traits and the repair zone ─────────────────────────── */
/* The role the workshop gives a process sits on the top border, gold like the selection; one that only an integration uses
   is dashed with a plug. The canvas color rings it so the border reads as cut. */
.pf-roles[b-abcml3ftrn] {
    position: absolute;
    top: -9px;
    right: 10px;
    z-index: 1;
    display: flex;
    gap: 4px;
    pointer-events: auto;
}

.pf-role[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 17px;
    padding: 0 7px;
    border: 1px solid var(--sel);
    border-radius: 999px;
    /* Solid: the soft gold over the card colour, so no line behind shows through the tag. */
    background: linear-gradient(var(--sel-soft), var(--sel-soft)), var(--bg);
    box-shadow: 0 0 0 3px var(--bg-alt);
    color: var(--sel-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pf-role.is-int[b-abcml3ftrn] {
    border-style: dashed;
    background: var(--bg);
    color: var(--muted);
}

/* v14: a question the handover asks (◆), solid like the role tags, in the violet of what a datum decides. */
.pf-qtag[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 180px;
    height: 17px;
    padding: 0 7px;
    overflow: hidden;
    border: 1px solid var(--cond);
    border-radius: 999px;
    background: linear-gradient(var(--cond-bg), var(--cond-bg)), var(--bg);
    box-shadow: 0 0 0 3px var(--bg-alt);
    color: var(--cond-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-qtag.is-wait[b-abcml3ftrn] {
    border-color: var(--t-par);
    background: linear-gradient(var(--t-par-soft), var(--t-par-soft)), var(--bg);
    color: var(--t-par-ink);
}

.pf-dia[b-abcml3ftrn] {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
}

.pf-psubrow[b-abcml3ftrn] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.pf-psubrow .pf-psub[b-abcml3ftrn] {
    flex: 0 1 auto;
    min-width: 0;
}

.pf-trait[b-abcml3ftrn] {
    --trait: var(--info);
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 3px;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--trait) 14%, transparent);
    color: color-mix(in srgb, var(--trait) 70%, var(--ink));
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pf-trait[data-trait="imp"][b-abcml3ftrn] {
    --trait: var(--warn);
}

.pf-trait[data-trait="val"][b-abcml3ftrn] {
    --trait: #7c3aed;
}

.pf-trait[data-trait="warn"][b-abcml3ftrn] {
    --trait: #dc2626;
}

.pf-bdg.pf-trait.is-icon[b-abcml3ftrn] {
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
}

/* The band of the repair zone, behind the arrows and the cards; its name runs down the left edge. */
.pf-zone-band[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    background: color-mix(in srgb, var(--t-esp) 6%, transparent);
    box-shadow: inset 3px 0 0 color-mix(in srgb, var(--t-esp) 55%, transparent);
    pointer-events: none;
}

.pf-zone-name[b-abcml3ftrn] {
    position: absolute;
    top: 50%;
    left: 6px;
    color: var(--t-esp-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    opacity: .75;
}

.pf-zone-layer[b-abcml3ftrn] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* A zone line: magenta dashes across the map with its chip on the main path. While editing, the chip drags it. */
.pf-zone-line[b-abcml3ftrn] {
    position: absolute;
    left: 0;
    height: 0;
    border-top: 1.5px dashed var(--accent);
    z-index: 2;
}

.pf-zone-chip[b-abcml3ftrn] {
    position: absolute;
    top: -10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 8px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--bg);
    color: var(--accent-ink);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: auto;
    user-select: none;
}

.pf-zone-line.can-move .pf-zone-chip[b-abcml3ftrn] {
    cursor: ns-resize;
}

.pf-zone-line.can-move .pf-zone-chip:hover[b-abcml3ftrn],
.pf-zone-line.is-dragging .pf-zone-chip[b-abcml3ftrn] {
    background: var(--accent);
    color: #fff;
}

.pf-zone-line.is-dragging[b-abcml3ftrn] {
    border-top-style: solid;
    transition: none;
}

.pf-zone-line.is-refused[b-abcml3ftrn] {
    opacity: .45;
}

/* v14: «Lista antes de» in the foot of a «Paralelo» branch, in its blue. */
.pf-br-waits[b-abcml3ftrn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 9px;
    overflow: hidden;
    border: 1px dashed var(--t-par);
    border-radius: 999px;
    background: var(--t-par-soft);
    color: var(--t-par-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.pf-br-waits.is-ro[b-abcml3ftrn] {
    cursor: default;
}

.pf-br-waits i[b-abcml3ftrn] {
    font-weight: 500;
}

button.pf-br-waits:hover[b-abcml3ftrn] {
    border-style: solid;
}

/* v14: an optional process, dashed in the violet of what a datum decides, with its chip. */
.pf-card.is-opt[b-abcml3ftrn] {
    border-style: dashed;
    border-color: var(--cond);
}

.pf-opt[b-abcml3ftrn] {
    flex: none;
    max-width: 190px;
    padding: 2px 8px;
    overflow: hidden;
    border: 1px dashed var(--cond);
    border-radius: 999px;
    background: var(--cond-bg);
    color: var(--cond-ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-opt.is-act[b-abcml3ftrn] {
    cursor: pointer;
}

.pf-opt.is-act:hover[b-abcml3ftrn] {
    border-style: solid;
}

.pf-tool-dia[b-abcml3ftrn] {
    color: var(--cond);
}

/* v14: an in-line segment of the main path and the bypass the car takes when it is skipped. */
.pf-seg[b-abcml3ftrn] {
    position: absolute;
    border: 1.5px dashed var(--cond);
    border-radius: 14px;
    background: color-mix(in srgb, var(--cond) 5%, transparent);
    pointer-events: none;
}

.pf-seg-chip[b-abcml3ftrn] {
    position: absolute;
    top: -12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 19px;
    padding: 0 8px;
    border: 1px solid var(--cond);
    border-radius: 999px;
    background: linear-gradient(var(--cond-bg), var(--cond-bg)), var(--bg);
    box-shadow: 0 0 0 3px var(--bg-alt);
    color: var(--cond-ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pf-links .pf-bypass[b-abcml3ftrn] {
    fill: none;
    stroke: var(--cond);
    stroke-width: 2;
    stroke-dasharray: 3 5;
    stroke-linecap: round;
}

.pf-links .pf-bypass.is-head[b-abcml3ftrn] {
    stroke-dasharray: none;
    stroke-linejoin: round;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowCatalog.razor.rz.scp.css */
/* The floating catalog of the round «+» (bottom right of the map): search and drag a process onto the map. */
.pf-cat-pop[b-tv6n4uaa57] {
    /* v13 N13: a panel of its own where the properties float, over them, with the whole height for the search. */
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(var(--pf-pane-w, 440px), calc(100% - 24px));
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}

.pf-cat-head[b-tv6n4uaa57] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pf-cat-title[b-tv6n4uaa57] {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.pf-cat-close[b-tv6n4uaa57] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-cat-close:hover[b-tv6n4uaa57] {
    background: var(--bg-soft);
    color: var(--ink);
}

.pf-hint[b-tv6n4uaa57] {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.pf-cat-search[b-tv6n4uaa57] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.pf-cat-search:focus-within[b-tv6n4uaa57] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

.pf-cat-search input[b-tv6n4uaa57] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.pf-cat-scroll[b-tv6n4uaa57] {
    min-height: 0;
    margin: 0 -6px;
    padding: 0 6px 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pf-list-t[b-tv6n4uaa57] {
    margin: 8px 0 4px;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pf-cat-list[b-tv6n4uaa57] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pf-cat-opt[b-tv6n4uaa57] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.pf-cat-opt[data-cat-drag][b-tv6n4uaa57] {
    cursor: grab;
}

.pf-cat-opt:hover[b-tv6n4uaa57] {
    background: var(--bg-soft);
}

.pf-cat-opt.is-dragging[b-tv6n4uaa57] {
    opacity: 0.45;
}

.pf-cat-name[b-tv6n4uaa57] {
    min-width: 0;
}

.pf-cat-sub[b-tv6n4uaa57] {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.pf-cat-close:focus-visible[b-tv6n4uaa57],
.pf-cat-opt:focus-visible[b-tv6n4uaa57] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowDialog.razor.rz.scp.css */
/* «Flujo de procesos» (D118, D119): a large popup over the whole app, with the box of the boards (white in the light
   theme, navy in the dark one; not the modal of Configuración). Above the expanded calendar (1500) and below the side panels (9990+) and the notices. Only
   for the desktop web: a narrower window shows it to scale (process-flow.js sets --pf-scale). */
.pf-overlay[b-i02isn5iid] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.pf-dialog[b-i02isn5iid] {
    /* The tokens of the prototype: every piece inside the popup reads them. The neutrals and the soft tints follow the
       app theme (theme.css): white in light mode, navy in dark mode. The accent, the selection gold, the line gray and
       the color of each kind of handover stay literal. */
    --ink: var(--st-text);
    --ink-2: var(--st-text-body);
    --muted: var(--st-text-subtle);
    --faint: var(--st-text-muted);
    --line: #7c8ba1;
    --bg: var(--st-surface);
    --bg-alt: var(--st-surface-muted);
    --bg-soft: var(--st-surface-sunken);
    --border: var(--st-border);
    --border-strong: var(--st-border-strong);
    --accent: #d81b84;
    --accent-soft: var(--st-accent-bg);
    --accent-ink: var(--st-accent-text);
    --sel: #e5b900;
    --sel-soft: var(--st-gold-bg);
    --sel-ink: var(--st-text-brand);
    /* Navy is the dark accent of the light theme; the dark theme inverts it (a light fill with navy text), so a
       navy fill always paints its text with --on-navy. */
    --navy: var(--st-text-brand);
    --on-navy: var(--st-surface);
    --navy-soft: var(--st-info-bg);
    --navy-line: var(--st-border-strong);
    /* «Editar» (edit.css): what the draft changes is magenta. */
    --draft: #d81b84;
    --draft-soft: var(--st-accent-bg);
    --warn: #d97706;
    --warn-ink: var(--st-warning-text);
    --warn-soft: var(--st-warning-bg-strong);
    --info: #2563eb;
    --info-ink: var(--st-info-text);
    --info-soft: var(--st-info-bg-strong);
    --danger-ink: var(--st-danger-text);
    --t-sigue: var(--st-text-subtle);
    --t-sigue-soft: var(--st-surface-sunken);
    --t-sigue-ink: var(--st-text-body);
    --t-par: #2563eb;
    --t-par-soft: var(--st-info-bg-strong);
    --t-par-ink: var(--st-info-text);
    /* «Dependencia» is teal (D119): amber means «atención» (D45). The theme has no teal, violet or brown tints: their
       soft fill and ink mix the kind color with the surface and the text, so they follow the theme too. */
    --t-esp: #0d9488;
    --t-esp-soft: color-mix(in srgb, var(--t-esp) 16%, var(--st-surface));
    --t-esp-ink: color-mix(in srgb, var(--t-esp) 55%, var(--st-text));
    --t-vue: #7c3aed;
    --t-vue-soft: color-mix(in srgb, var(--t-vue) 16%, var(--st-surface));
    --t-vue-ink: color-mix(in srgb, var(--t-vue) 55%, var(--st-text));
    --t-dev: #9a5b2d;
    --t-dev-soft: color-mix(in srgb, var(--t-dev) 16%, var(--st-surface));
    --t-dev-ink: color-mix(in srgb, var(--t-dev) 55%, var(--st-text));
    /* v14 «ramas condicionales»: what a datum decides is violet (light #7c3aed / dark #a78bfa), mixed by theme. */
    --cond: color-mix(in srgb, #7c3aed calc(var(--st-is-light, 1) * 100%), #a78bfa);
    --cond-bg: color-mix(in srgb, #ede5fe calc(var(--st-is-light, 1) * 100%), #2f2b52);
    --cond-ink: color-mix(in srgb, #5b21b6 calc(var(--st-is-light, 1) * 100%), #c4b5fd);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.07);
    --shadow-menu: 0 8px 24px rgba(15, 23, 42, 0.14);
    --pf-scale: 1;
    position: fixed;
    top: 2.5vh;
    bottom: 2.5vh;
    left: 50%;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1600px);
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--bg);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
    color: var(--ink);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    animation: pf-in-b-i02isn5iid 0.18s ease-out;
}

/* A window narrower than the popup's design: the same popup, to scale (D119). */
.pf-dialog.is-scaled[b-i02isn5iid] {
    bottom: auto;
    width: 1230px;
    height: calc(95vh / var(--pf-scale));
    transform: translateX(-50%) scale(var(--pf-scale));
    transform-origin: top center;
    animation: none;
}

.pf-dialog:focus[b-i02isn5iid] {
    outline: none;
}

@keyframes pf-in-b-i02isn5iid {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/* The colors of each kind of handover (data-kind, data-focus) are in wwwroot/css/process-flow-shared.css. */

/* ─── Header ────────────────────────────────────────────────────────────── */
.pf-head[b-i02isn5iid] {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 16px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid var(--border);
}

.pf-title[b-i02isn5iid] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pf-title-icon[b-i02isn5iid] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
}

.pf-title-text[b-i02isn5iid] {
    min-width: 0;
}

.pf-title h2[b-i02isn5iid] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.pf-subtitle[b-i02isn5iid] {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.pf-grow[b-i02isn5iid] {
    flex: 1;
    min-width: 0;
}

.pf-tools[b-i02isn5iid] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pf-search[b-i02isn5iid] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 250px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.pf-search:focus-within[b-i02isn5iid] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

/* The search finds nothing: the box says so. */
.pf-search.is-none[b-i02isn5iid] {
    border-color: var(--warn);
    box-shadow: 0 0 0 2px var(--warn-soft);
}

.pf-search[b-i02isn5iid]  svg {
    flex: none;
}

.pf-search input[b-i02isn5iid] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.pf-search-none[b-i02isn5iid] {
    flex: none;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pf-icon-btn[b-i02isn5iid] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    cursor: pointer;
}

.pf-icon-btn.is-text[b-i02isn5iid] {
    font-weight: 700;
}

.pf-icon-btn:hover[b-i02isn5iid] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-icon-btn[aria-expanded="true"][b-i02isn5iid] {
    border-color: var(--sel);
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-icon-btn.is-plain[b-i02isn5iid] {
    border-color: transparent;
}

.pf-icon-btn.is-plain:hover[b-i02isn5iid] {
    background: var(--bg-soft);
}

/* The legend is a button like «i», with the colors of the three types. */
.pf-lg-dots[b-i02isn5iid] {
    display: grid;
    grid-template-columns: repeat(2, 8px);
    gap: 3px;
}

.pf-lg-dots i[b-i02isn5iid] {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--tc);
}

/* The help and the legend open under the header. */
.pf-pop[b-i02isn5iid] {
    position: absolute;
    top: calc(100% - 4px);
    right: 14px;
    z-index: 9;
    width: min(380px, calc(100% - 28px));
    max-height: 75vh;
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--shadow-menu);
    font-size: 12.5px;
}

.pf-pop.is-legend[b-i02isn5iid] {
    right: 92px;
    width: min(680px, calc(100% - 28px));
}

/* ─── Body ──────────────────────────────────────────────────────────────── */
/* v13: the map takes the whole body; the panel floats over its right side and can be hidden. --pf-right is where the
   controls of the canvas stop on the right, so the panel never covers them. */
.pf-body[b-i02isn5iid] {
    --pf-pane-w: 440px;
    --pf-legend-h: 31px;
    --pf-right: calc(var(--pf-pane-w) + 28px);
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.pf-body.is-pane-min[b-i02isn5iid] {
    --pf-right: 12px;
}

.pf-body[b-i02isn5iid] >  .pf-map {
    flex: 1 1 auto;
}

.pf-pane-dock[b-i02isn5iid] {
    position: absolute;
    top: 12px;
    right: 12px;
    /* v13 N15: it ends above the legend of the map (one line, --pf-legend-h), never over it. */
    bottom: calc(var(--pf-legend-h) + 10px);
    z-index: 6;
    display: flex;
    flex-direction: column;
    width: min(var(--pf-pane-w), calc(100% - 24px));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}

.pf-pane-dock.is-min[b-i02isn5iid] {
    display: none;
}

.pf-pane-dock[b-i02isn5iid] >  .pf-pane {
    flex: 1 1 auto;
}

.pf-state[b-i02isn5iid] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.pf-state.is-error[b-i02isn5iid] {
    color: var(--danger-ink);
    font-weight: 600;
}

/* The place of the pane while the flow is read (FLOW-03). */
.pf-skel-pane[b-i02isn5iid] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
    background: var(--bg);
}

.pf-skel-line[b-i02isn5iid] {
    height: 14px;
    border-radius: 6px;
    background: var(--bg-alt);
}

.pf-skel-line.is-title[b-i02isn5iid] {
    width: 60%;
    height: 22px;
}

.pf-skel-line.is-tabs[b-i02isn5iid] {
    height: 32px;
}

.pf-skel-line.is-short[b-i02isn5iid] {
    width: 40%;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.pf-foot[b-i02isn5iid] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.pf-foot-ro[b-i02isn5iid] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-foot-error[b-i02isn5iid] {
    color: var(--danger-ink);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-btn[b-i02isn5iid] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-btn:hover[b-i02isn5iid] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-btn:disabled[b-i02isn5iid] {
    color: var(--faint);
    background: var(--bg);
    cursor: default;
}

.pf-btn.is-ghost[b-i02isn5iid] {
    border-color: transparent;
    background: transparent;
}

.pf-btn.is-ghost:hover[b-i02isn5iid] {
    background: var(--bg-soft);
}

.pf-toast[b-i02isn5iid] {
    position: absolute;
    left: 50%;
    bottom: 72px;
    z-index: 30;
    max-width: calc(100% - 32px);
    padding: 9px 14px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: var(--navy);
    color: var(--on-navy);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
    font-size: 12.5px;
}

.pf-icon-btn:focus-visible[b-i02isn5iid],
.pf-btn:focus-visible[b-i02isn5iid] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 1180px) {
    .pf-search[b-i02isn5iid] {
        width: 190px;
    }
}

/* ─── v13 N10: the edit controls live in the foot, under the legend ─── */
/* From the first change they fill the foot: how the draft is, «Deshacer», «Rehacer», «Cancelar» and «Guardar»; on a
   narrow popup they wrap to a second row instead of hiding «Guardar». */
.pf-editbar[b-i02isn5iid] {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    animation: pf-editbar-in-b-i02isn5iid .18s ease-out;
}

/* «Actualizar»: an action of its own, in navy, so it does not read as disabled; it is only dimmed while there are edits. */
.pf-btn.is-refresh[b-i02isn5iid] {
    border-color: var(--navy);
    color: var(--navy);
}

.pf-btn.is-refresh:hover:not(:disabled)[b-i02isn5iid] {
    background: var(--navy-soft);
    border-color: var(--navy);
}

.pf-btn.is-refresh:disabled[b-i02isn5iid] {
    border-color: var(--border-strong);
    color: var(--faint);
    opacity: .7;
}

@keyframes pf-editbar-in-b-i02isn5iid {
    from { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
    .pf-editbar[b-i02isn5iid] { animation: none; }
}

/* The notice goes on top while «Revisar y guardar» covers the foot. */
.pf-toast.is-top[b-i02isn5iid] {
    top: 84px;
    bottom: auto;
}

/* The card that follows the pointer while it is dragged (process-flow.js draws it here). */
.pf-ghost-layer[b-i02isn5iid] {
    position: absolute;
    inset: 0;
    z-index: 40;
    overflow: hidden;
    pointer-events: none;
}

.pf-ghost-layer[b-i02isn5iid]  .pf-drag-ghost {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 346px;
    height: 52px;
    padding: 0 10px;
    border: 1px solid var(--draft);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
    font-size: 12.5px;
    font-weight: 600;
    pointer-events: none;
    transform-origin: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .pf-dialog[b-i02isn5iid] {
        animation: none;
    }
}

/* Where a reason of the round «+» of the map lands while it is dragged (process-flow.js): an arrow or a row, or the reasons
   of the open handover. */
.pf-dialog[b-i02isn5iid]  .is-reason-target:not(path) {
    outline: 2px dashed var(--accent);
    outline-offset: 2px;
    border-radius: 8px;
}

.pf-dialog[b-i02isn5iid]  path.is-reason-target {
    stroke: var(--accent);
    stroke-width: 4px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowEditFooter.razor.rz.scp.css */
/* The foot of «Editar» (D119): the draft in magenta, «Descartar» in navy (red is for the alarms, D45). */
.pf-foot-msg[b-fncjnwajnk] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-foot-msg.is-dirty[b-fncjnwajnk] {
    color: var(--accent-ink);
}

.pf-dot[b-fncjnwajnk] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.pf-grow[b-fncjnwajnk] {
    flex: 1;
}

.pf-last-act[b-fncjnwajnk] {
    max-width: 240px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-fbtn[b-fncjnwajnk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-fbtn:hover:not(:disabled)[b-fncjnwajnk] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-fbtn:disabled[b-fncjnwajnk] {
    color: var(--faint);
    cursor: default;
}

.pf-fbtn.is-ghost[b-fncjnwajnk] {
    border-color: transparent;
    background: transparent;
}

.pf-fbtn.is-ghost:hover:not(:disabled)[b-fncjnwajnk] {
    background: var(--bg-soft);
}

.pf-fbtn.is-pri[b-fncjnwajnk] {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.pf-fbtn.is-pri:hover:not(:disabled)[b-fncjnwajnk] {
    background: #b8166f;
}

.pf-fbtn.is-pri:disabled[b-fncjnwajnk] {
    border-color: var(--border-strong);
    background: var(--bg-soft);
    color: var(--faint);
}

.pf-fbtn.is-navy[b-fncjnwajnk] {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--on-navy);
}

.pf-fbtn.is-navy:hover[b-fncjnwajnk] {
    background: color-mix(in srgb, var(--navy) 85%, var(--st-text-strong));
}

.pf-fbtn:focus-visible[b-fncjnwajnk] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* v12 G2: «3 por resolver antes de guardar». */
.pf-fbtn.pf-resolve[b-fncjnwajnk] {
    color: var(--danger-ink);
    border-color: var(--danger-ink);
    background: var(--st-danger-bg);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowGuidePane.razor.rz.scp.css */
/* An assistant or «Probar un carro» in the right pane (D119, the prototype's wizView / simView): bar, space and foot, and
   the controls both share (the prototype's .btn, .seg, .fld, .hint, .list-t, .wz-count and .ho-rank). */
.pf-gd[b-nmvmfpp8z8] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.pf-gd-bar[b-nmvmfpp8z8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px 12px 8px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.pf-gd-scroll[b-nmvmfpp8z8] {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 10px 16px 28px;
    font-size: 14px;
}

.pf-gd-foot[b-nmvmfpp8z8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

/* The controls both share (buttons, choices, fields, hints, counts, priority) are in wwwroot/css/process-flow-shared.css. */
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHandoverDetail.razor.rz.scp.css */
/* A handover open in «Ver» (D119): the route, the notes, the sections read as text and the preview of the handover
   screen. Text at 14 px and nothing below 12 (P14). */
.pf-back[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px 0 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pf-back:hover[b-58tnsbnehu] {
    background: var(--bg-soft);
    color: var(--ink);
}

.pf-grow[b-58tnsbnehu] {
    flex: 1;
}

.pf-insp-nav[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.pf-tb[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-tb:hover[b-58tnsbnehu] {
    background: var(--bg-soft);
}

.pf-tb:disabled[b-58tnsbnehu] {
    color: var(--border-strong);
    background: transparent;
    cursor: default;
}

.pf-back:focus-visible[b-58tnsbnehu],
.pf-tb:focus-visible[b-58tnsbnehu] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-empty[b-58tnsbnehu] {
    margin: 0;
    padding: 18px 4px;
    color: var(--muted);
}

.pf-form[b-58tnsbnehu] {
    max-width: 760px;
    padding: 0 4px 24px;
    font-size: 14px;
}

.pf-can-note[b-58tnsbnehu] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 4px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12.5px;
}

.pf-can-note[b-58tnsbnehu]  .pf-i {
    flex: none;
    margin-top: 1px;
    color: var(--navy);
}

.pf-fld[b-58tnsbnehu] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pf-fld-l[b-58tnsbnehu] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.pf-ro-val[b-58tnsbnehu] {
    display: block;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--ink);
    font-size: 13px;
}

.pf-ro-val.is-num[b-58tnsbnehu] {
    width: max-content;
    min-width: 84px;
    font-variant-numeric: tabular-nums;
}

.pf-ro-val.is-process[b-58tnsbnehu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-sub[b-58tnsbnehu] {
    font-size: 12px;
    color: var(--muted);
}

.pf-row2[b-58tnsbnehu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pf-hint[b-58tnsbnehu] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-hint.is-strong[b-58tnsbnehu] {
    color: var(--ink-2);
}

.pf-hint.is-warn[b-58tnsbnehu] {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: var(--warn-ink);
}

/* The chosen type and who decides, read as the card of their choice (kind-grid in «Ver»). */
.pf-kind[b-58tnsbnehu] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--tc);
    border-radius: 9px;
    background: var(--tcs);
    box-shadow: inset 0 0 0 1px var(--tc);
}

.pf-kind b[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--tci);
}

.pf-kind small[b-58tnsbnehu] {
    font-size: 12px;
    line-height: 1.35;
    color: var(--ink-2);
}

.pf-kind.is-mode[b-58tnsbnehu] {
    --tc: var(--navy);
    --tcs: var(--navy-soft);
    --tci: var(--navy);
}

.pf-effect[b-58tnsbnehu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
}

.pf-effect.is-good[b-58tnsbnehu] {
    background: var(--st-info-bg);
    color: var(--info-ink);
}

.pf-effect.is-warning[b-58tnsbnehu] {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.pf-effect.is-same[b-58tnsbnehu] {
    background: var(--bg-soft);
    color: var(--muted);
}

.pf-effect-ln[b-58tnsbnehu] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pf-effect-ln[b-58tnsbnehu]  .pf-i {
    flex: none;
    margin-top: 2px;
}

.pf-reason-list[b-58tnsbnehu] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pf-reason[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-sw[b-58tnsbnehu] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.pf-sw-v[b-58tnsbnehu] {
    flex: none;
    min-width: 34px;
    margin-top: 1px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.pf-sw-v.is-on[b-58tnsbnehu] {
    background: var(--navy-soft);
    color: var(--navy);
}

.pf-sw-tx[b-58tnsbnehu] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pf-sw-tx b[b-58tnsbnehu] {
    font-size: 13px;
    font-weight: 600;
}

.pf-sw-tx small[b-58tnsbnehu] {
    font-size: 12px;
    color: var(--muted);
}

/* «Pendiente de revisar» (D119): shown, never changed. */
.pf-pend[b-58tnsbnehu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.pf-pend-chip[b-58tnsbnehu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--info-soft);
    color: var(--info-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* v13 N34: the other end, always in sight (it was the «Destino» section). */
.pf-end-box[b-58tnsbnehu] {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHandoverEdit.razor.rz.scp.css */
/* A handover open in «Editar» (D119): the bar with «←» and ‹ ›; the form controls (.pf-e-*) are in wwwroot/css/process-flow-pane.css. */
.pf-back[b-iwrjm8zau4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px 0 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pf-back:hover[b-iwrjm8zau4] {
    background: var(--bg-soft);
    color: var(--ink);
}

.pf-grow[b-iwrjm8zau4] {
    flex: 1;
}

.pf-insp-nav[b-iwrjm8zau4] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.pf-tb[b-iwrjm8zau4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-tb:hover[b-iwrjm8zau4] {
    background: var(--bg-soft);
}

.pf-tb:disabled[b-iwrjm8zau4] {
    color: var(--border-strong);
    background: transparent;
    cursor: default;
}

.pf-back:focus-visible[b-iwrjm8zau4],
.pf-tb:focus-visible[b-iwrjm8zau4] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* v13 N34: the other end, always in sight (it was the «Destino» section). */
.pf-end-box[b-iwrjm8zau4] {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHandoverList.razor.rz.scp.css */
/* «Salen» and «Llegan» (D119): the bar of chips and search, and the rows hanging from a rail with their number. */
.pf-fchips[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pf-fchip[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 10px 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-fchip[b-eigo4ltnr0]  .pf-i {
    color: var(--tci);
}

.pf-fchip:hover[b-eigo4ltnr0] {
    border-color: var(--faint);
}

.pf-fchip.is-on[b-eigo4ltnr0] {
    border-color: var(--tc, var(--sel));
    background: var(--tcs, var(--sel-soft));
    color: var(--tci, var(--sel-ink));
    box-shadow: inset 0 0 0 1px var(--tc, var(--sel));
}

.pf-fchip:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-fchip-n[b-eigo4ltnr0] {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pf-bar-row[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.pf-search[b-eigo4ltnr0] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 190px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.pf-search:focus-within[b-eigo4ltnr0] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

.pf-search input[b-eigo4ltnr0] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.pf-list-hint[b-eigo4ltnr0] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-list-hint code[b-eigo4ltnr0] {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--bg-soft);
    font-family: 'Segoe UI Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.pf-ho-empty[b-eigo4ltnr0] {
    margin: 0;
    padding: 18px 4px;
    color: var(--muted);
}

/* The rail: each row hangs from it with its number and an elbow in the color of its kind. */
.pf-ho-tree[b-eigo4ltnr0] {
    position: relative;
    padding-left: 40px;
}

.pf-ho-tree[b-eigo4ltnr0]::before {
    content: "";
    position: absolute;
    left: 15px;
    top: -14px;
    height: 14px;
    border-left: 2px solid var(--border-strong);
}

/* v13 N35: the rail, the elbow and the number take the color of the row's kind, as its line on the map: gray and
   solid the normal ones, café and dotted the returns. */
.pf-ho-tree:has(> .pf-row:first-child[data-kind="dev"])[b-eigo4ltnr0]::before {
    border-left: 2px dotted var(--t-dev);
}

.pf-ho-tree:has(> .pf-row:first-child[data-kind="sigue"])[b-eigo4ltnr0]::before {
    border-left-color: var(--line);
}

/* The normal line of the map is --line, a shade darker than the chip gray of «Normal». */
.pf-row[data-kind="sigue"][b-eigo4ltnr0]::before,
.pf-row[data-kind="sigue"][b-eigo4ltnr0]::after,
.pf-row[data-kind="sigue"] > .pf-rank[b-eigo4ltnr0] {
    border-color: var(--line);
}

.pf-row[b-eigo4ltnr0] {
    position: relative;
    padding-bottom: 8px;
}

.pf-row[b-eigo4ltnr0]::before {
    content: "";
    position: absolute;
    left: -25px;
    top: -10px;
    bottom: 0;
    border-left: 2px solid var(--tc, var(--border-strong));
}

.pf-row[data-kind="dev"][b-eigo4ltnr0]::before,
.pf-row[data-kind="dev"][b-eigo4ltnr0]::after {
    border-left-style: dotted;
    border-top-style: dotted;
}

.pf-ho-tree > .pf-row:last-child[b-eigo4ltnr0]::before {
    bottom: auto;
    height: 37px;
}

.pf-row[b-eigo4ltnr0]::after {
    content: "";
    position: absolute;
    left: -24px;
    top: 26px;
    width: 24px;
    border-top: 2px solid var(--tc);
}

.pf-rank[b-eigo4ltnr0] {
    position: absolute;
    left: -36px;
    top: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 5px;
    border: 2px solid var(--tc, var(--navy));
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--tci, var(--navy));
    box-shadow: 0 0 0 2px var(--bg);
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pf-row-card[b-eigo4ltnr0] {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pf-row:hover .pf-row-card[b-eigo4ltnr0] {
    border-color: var(--faint);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* The arrow or the card of the row under the mouse on the map lights the row too (process-flow.js). */
.pf-row.is-hl .pf-row-card[b-eigo4ltnr0] {
    border-color: var(--tc);
    box-shadow: 0 0 0 2px var(--tc);
}

.pf-row.is-dead .pf-row-card[b-eigo4ltnr0] {
    background: var(--bg-alt);
}

.pf-row-top[b-eigo4ltnr0] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 8px 8px 10px;
}

.pf-row-top[b-eigo4ltnr0] >  .pf-tile {
    margin-top: 1px;
}

.pf-row-txt[b-eigo4ltnr0] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pf-row-l1[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
}

.pf-row-open[b-eigo4ltnr0] {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pf-row-open:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.pf-row-name[b-eigo4ltnr0] {
    font-size: 14.5px;
    font-weight: 600;
}

/* v13 N31: the type at the top right of the item, and the line of what it asks for under the whole item. */
.pf-row-kind[b-eigo4ltnr0] {
    display: flex;
    flex: none;
    align-items: center;
    min-height: 26px;
}

.pf-row-foot[b-eigo4ltnr0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 10px 8px;
}

.pf-row-foot:not(:has(.pf-row-l2 > *, .pf-row-rs))[b-eigo4ltnr0] {
    display: none;
}

.pf-row-l2[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-it[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pf-it.is-use[b-eigo4ltnr0] {
    color: var(--navy);
    font-weight: 600;
}

.pf-it.is-use.is-none[b-eigo4ltnr0] {
    color: var(--muted);
    font-weight: 500;
}

/* What does not fit: a short tag; the sentence shows on hover and on focus. */
.pf-flag[b-eigo4ltnr0] {
    position: relative;
    font-weight: 600;
    border-radius: 6px;
}

.pf-flag.is-warn[b-eigo4ltnr0] {
    color: var(--warn-ink);
}

.pf-flag.is-info[b-eigo4ltnr0] {
    color: var(--info-ink);
}

.pf-flag:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* D236: the warning tag is a KodawariWarning (its popup replaces the hover sentence); its button wears the look of the tag. */
.pf-row-l2[b-eigo4ltnr0]  .kwarn-btn.pf-flag {
    gap: 4px;
    color: var(--warn-ink);
    font-weight: 600;
}

.pf-row-l2[b-eigo4ltnr0]  .kwarn-btn.pf-flag:hover,
.pf-row-l2[b-eigo4ltnr0]  .kwarn-btn.pf-flag.is-open {
    background: var(--warn-soft);
}

.pf-flag:hover[b-eigo4ltnr0]::after,
.pf-flag:focus-visible[b-eigo4ltnr0]::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 5;
    width: max-content;
    max-width: 300px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--on-navy);
    box-shadow: var(--shadow-menu);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
}

/* The small chips of a row: suggested, to the same process, backwards, not offered, can be a return. */
.pf-mchip[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 23px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pf-mchip.is-sug[b-eigo4ltnr0] {
    padding: 0 6px;
    background: var(--navy);
    color: var(--on-navy);
}

.pf-mchip.is-mute[b-eigo4ltnr0],
.pf-mchip.is-dead[b-eigo4ltnr0] {
    background: var(--bg-soft);
    color: var(--ink-2);
}

.pf-mchip.is-maybe[b-eigo4ltnr0] {
    background: var(--st-surface);
    color: var(--t-dev-ink);
    box-shadow: inset 0 0 0 1.5px var(--t-dev);
}

/* The reasons of a return, in a third line. */
.pf-row-rs[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.pf-rs[b-eigo4ltnr0] {
    display: inline-block;
    max-width: 200px;
    height: 22px;
    overflow: hidden;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--t-dev-soft);
    color: var(--t-dev-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-rs.is-more[b-eigo4ltnr0] {
    background: var(--bg-soft);
    color: var(--ink-2);
}

.pf-rs.is-none[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--warn-soft);
    color: var(--warn-ink);
}

/* D236: the «missing reason» chip is a KodawariWarning; its button keeps the look of the chip. */
.pf-row-rs[b-eigo4ltnr0]  .kwarn-btn.pf-rs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 240px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
}

.pf-row-rs[b-eigo4ltnr0]  .kwarn-btn.pf-rs:hover,
.pf-row-rs[b-eigo4ltnr0]  .kwarn-btn.pf-rs.is-open {
    filter: brightness(0.96);
}

.pf-row-tools[b-eigo4ltnr0] {
    display: flex;
    flex: none;
    gap: 1px;
}

/* v13 N31: the trash sits at the bottom right corner, out of the line, so the type keeps the top right corner. */
.pf-row-tools:has(.pf-row-x)[b-eigo4ltnr0] {
    position: absolute;
    right: 4px;
    bottom: 4px;
}

.pf-row-card:has(.pf-row-x) .pf-row-foot[b-eigo4ltnr0] {
    padding-right: 42px;
}

.pf-tb[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-tb:hover[b-eigo4ltnr0] {
    background: var(--bg-soft);
}

.pf-tb:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* The small separators of «Llegan» (P3) and the rows a filter folds. */
.pf-ho-sep[b-eigo4ltnr0] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.pf-ho-sep:not(:first-child)[b-eigo4ltnr0] {
    margin-top: 4px;
}

.pf-ho-sep[b-eigo4ltnr0]::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--border);
}

.pf-ho-sep-n[b-eigo4ltnr0] {
    font-weight: 500;
}

.pf-ho-gap[b-eigo4ltnr0] {
    position: relative;
    padding: 0 0 10px 2px;
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
}

.pf-ho-gap[b-eigo4ltnr0]::before {
    content: "";
    position: absolute;
    left: -25px;
    top: -10px;
    bottom: 0;
    border-left: 2px dotted var(--border-strong);
}

/* ─── «Editar»: the marks of the draft, ★ ↑ ↓, the trash, the type menu and «Seleccionar» (edit.css) ─── */
.pf-grow[b-eigo4ltnr0] {
    flex: 1;
}

.pf-row.is-draft .pf-row-card[b-eigo4ltnr0] {
    outline: 1.5px dashed var(--accent);
    outline-offset: 2px;
}

.pf-row.is-del .pf-row-card[b-eigo4ltnr0] {
    opacity: 0.62;
}

.pf-row.is-del .pf-row-name[b-eigo4ltnr0] {
    text-decoration: line-through;
}

.pf-row.is-flash .pf-row-card[b-eigo4ltnr0] {
    animation: pf-row-flash-b-eigo4ltnr0 1.4s ease;
}

@keyframes pf-row-flash-b-eigo4ltnr0 {
    0%,
    45% {
        box-shadow: 0 0 0 3px var(--accent);
    }

    100% {
        box-shadow: var(--shadow-card);
    }
}

.pf-row.is-new .pf-rank[b-eigo4ltnr0] {
    border-color: var(--accent);
    background: var(--st-surface);
    color: var(--accent-ink);
}

.pf-rank.can-drag[b-eigo4ltnr0] {
    cursor: grab;
    touch-action: none;
}

.pf-rank.can-drag:hover[b-eigo4ltnr0] {
    background: var(--tc, var(--navy));
    color: var(--on-navy);
}

.pf-row.is-new .pf-rank.can-drag:hover[b-eigo4ltnr0] {
    background: var(--accent);
    color: #ffffff;
}

.pf-row.is-dragging[b-eigo4ltnr0] {
    opacity: 0.35;
}

.pf-row.is-checked .pf-row-card[b-eigo4ltnr0] {
    border-color: var(--navy);
    background: var(--st-surface-muted);
    box-shadow: 0 0 0 1px var(--navy);
}

.pf-ho-check[b-eigo4ltnr0] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 7px 0 0;
    accent-color: var(--navy);
    cursor: pointer;
}

.pf-row-newhint[b-eigo4ltnr0] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-ink);
    font-weight: 600;
}

.pf-row-tag[b-eigo4ltnr0] {
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.pf-row-hint[b-eigo4ltnr0] {
    align-self: center;
    padding: 0 6px;
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.pf-row-x[b-eigo4ltnr0] {
    opacity: 0;
    color: var(--st-danger-fg);
    transition: opacity 0.15s ease;
}

.pf-row:hover .pf-row-x[b-eigo4ltnr0],
.pf-row:focus-within .pf-row-x[b-eigo4ltnr0] {
    opacity: 1;
}

@media (hover: none) {
    .pf-row-x[b-eigo4ltnr0] {
        opacity: 1;
    }
}

/* The type of a row opens its menu right there (typeTrigger, typeMenu). */
.pf-type-btn[b-eigo4ltnr0] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.pf-type-chev[b-eigo4ltnr0] {
    display: inline-flex;
    margin: 0 -2px 0 2px;
    opacity: 0.75;
}

/* v13 N32: the group of the other process, under its name. */
.pf-row-grp[b-eigo4ltnr0] {
    font-size: 12.5px;
    color: var(--muted);
}

.pf-type-btn:hover[b-eigo4ltnr0]  .pf-chip {
    box-shadow: 0 0 0 1px var(--tc);
}

.pf-type-btn[aria-expanded="true"][b-eigo4ltnr0]  .pf-chip {
    box-shadow: 0 0 0 2px var(--tc);
}

.pf-type-btn:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-type-menu[b-eigo4ltnr0] {
    position: absolute;
    z-index: 9;
    right: 8px;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: min(360px, calc(100% - 64px));
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--shadow-menu);
    cursor: default;
}

.pf-tm-item[b-eigo4ltnr0] {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 8px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pf-tm-item[b-eigo4ltnr0]  .pf-i {
    color: var(--tci);
}

.pf-tm-item span[b-eigo4ltnr0] {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tci);
}

.pf-tm-item small[b-eigo4ltnr0] {
    grid-column: 2;
    font-size: 11px;
    color: var(--muted);
}

.pf-tm-item:hover[b-eigo4ltnr0] {
    background: var(--bg-soft);
}

.pf-tm-item[aria-checked="true"][b-eigo4ltnr0] {
    background: var(--tcs);
    box-shadow: inset 0 0 0 1px var(--tc);
}

.pf-tm-item:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.pf-tm-mode[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-top: 4px;
    padding: 8px 8px 4px;
    border-top: 1px solid var(--border);
}

.pf-tm-l[b-eigo4ltnr0] {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-2);
}

.pf-tm-dev[b-eigo4ltnr0] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 4px 6px;
    font-size: 12px;
    color: var(--t-dev-ink);
}

.pf-tm-dev.is-ret[b-eigo4ltnr0] {
    color: var(--t-vue-ink);
}

/* «Seleccionar»: the links of the hint and the bar at the foot. */
.pf-linkb[b-eigo4ltnr0] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.pf-linkb:disabled[b-eigo4ltnr0] {
    color: var(--faint);
    text-decoration: none;
    cursor: default;
}

.pf-linkb:focus-visible[b-eigo4ltnr0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.pf-bulk-n[b-eigo4ltnr0] {
    font-size: 13px;
    color: var(--navy);
}

.pf-bulk-ask[b-eigo4ltnr0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-basis: 100%;
    margin-top: 8px;
    padding: 9px 11px;
    border-radius: 9px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12.5px;
}

.pf-bulk-ask > span[b-eigo4ltnr0] {
    flex: 1;
    min-width: 220px;
}

/* Where a dragged number lands: process-flow.js draws it in this layer. */
.pf-ho-drop-layer[b-eigo4ltnr0] {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.pf-ho-drop-layer[b-eigo4ltnr0]  .pf-ho-drop {
    position: absolute;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .pf-row-card[b-eigo4ltnr0] {
        transition: none;
    }
    .pf-row.is-flash .pf-row-card[b-eigo4ltnr0] {
        animation: none;
    }
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHandoverPreview.razor.rz.scp.css */
/* The preview of the handover screen (D119, handoverPreview), in «Ver» and in «Editar». */
.pf-hint[b-xhp5f0c0l8] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-hand-prev[b-xhp5f0c0l8] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 12px;
    border: 1px dashed var(--border-strong);
    border-radius: 10px;
    background: var(--bg-alt);
}

.pf-hp-head[b-xhp5f0c0l8] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pf-hp-scr[b-xhp5f0c0l8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg);
}

.pf-hp-top[b-xhp5f0c0l8] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-2);
    font-size: 12.5px;
}

.pf-hp-from[b-xhp5f0c0l8] {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-hp-name[b-xhp5f0c0l8] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-hp-f[b-xhp5f0c0l8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.pf-hp-l[b-xhp5f0c0l8] {
    flex: 0 0 96px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pf-hp-req[b-xhp5f0c0l8] {
    margin-left: 3px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--t-dev-soft);
    color: var(--t-dev-ink);
    font-size: 12px;
}

.pf-hp-sel[b-xhp5f0c0l8] {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    min-height: 26px;
    padding: 2px 8px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    color: var(--ink-2);
    font-size: 12.5px;
}

.pf-hp-sel small[b-xhp5f0c0l8] {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}

.pf-hp-sel.is-bad[b-xhp5f0c0l8] {
    border-color: var(--warn);
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.pf-hp-seg[b-xhp5f0c0l8] {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
}

.pf-hp-seg button[b-xhp5f0c0l8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-hp-seg button:last-child[b-xhp5f0c0l8] {
    border-right: 0;
}

.pf-hp-seg button[aria-pressed="true"][b-xhp5f0c0l8] {
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-hp-seg button:focus-visible[b-xhp5f0c0l8] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.pf-hp-lock[b-xhp5f0c0l8] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.pf-hp-txt[b-xhp5f0c0l8] {
    flex: 1;
    height: 26px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--faint);
    font-size: 12.5px;
    line-height: 26px;
}

.pf-hp-ph[b-xhp5f0c0l8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 8px;
    border: 1px dashed var(--border-strong);
    border-radius: 7px;
    color: var(--ink-2);
    font-size: 12.5px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHandoverRoute.razor.rz.scp.css */
/* The head of a handover open (D119): the route, its tags and its notes, in «Ver» and in «Editar». */
.pf-route[b-1tnqoh29wp] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    margin: 4px 0 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-alt);
}

.pf-route-nm[b-1tnqoh29wp] {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
}

.pf-route-arrow[b-1tnqoh29wp] {
    display: flex;
    justify-content: center;
    color: var(--tc);
}

.pf-route-kind[b-1tnqoh29wp] {
    align-self: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--tci);
}

.pf-insp-tags[b-1tnqoh29wp] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 8px;
}

.pf-sug[b-1tnqoh29wp] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 23px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--on-navy);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-dev-note[b-1tnqoh29wp] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    padding: 9px 11px;
    border-radius: 10px;
    background: var(--tcs);
    color: var(--tci);
    font-size: 12.5px;
}

.pf-dev-note.is-warn[b-1tnqoh29wp] {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.pf-dev-note[b-1tnqoh29wp]  .pf-i {
    flex: none;
    margin-top: 1px;
}

/* «Nueva», «Sin guardar», «Se eliminará» (Editar). */
.pf-tag-draft[b-1tnqoh29wp] {
    display: inline-flex;
    align-items: center;
    height: 23px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 700;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHealth.razor.rz.scp.css */
/* v11 F2: the eight checks of the process. Amber outline while something is missing, quiet once complete. */
.pf-health[b-arn5yrpx3j] {
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
}

/* v13 N30: a soft fill by state: green complete, amber with things to do, rose with something that stops a car. */
.pf-health.is-complete[b-arn5yrpx3j] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.pf-health.is-complete summary[b-arn5yrpx3j] {
    color: var(--st-success-fg);
}

.pf-health.is-risk[b-arn5yrpx3j] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

.pf-health.is-blocked[b-arn5yrpx3j] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.pf-health.is-blocked summary[b-arn5yrpx3j] {
    color: var(--st-danger-fg);
}

.pf-health summary[b-arn5yrpx3j] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-health.is-risk summary[b-arn5yrpx3j] {
    color: var(--warn);
}

.pf-health ul[b-arn5yrpx3j] {
    margin: 6px 0 2px;
    padding: 0;
    list-style: none;
}

.pf-health li[b-arn5yrpx3j] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
}

.pf-health-mark[b-arn5yrpx3j] {
    flex: none;
    width: 14px;
    text-align: center;
    color: var(--muted);
}

.pf-health li.is-ok .pf-health-mark[b-arn5yrpx3j] {
    color: var(--ok, var(--t-esp));
}

.pf-health li.is-off .pf-health-t[b-arn5yrpx3j] {
    color: var(--ink);
    font-weight: 600;
}

.pf-health-t[b-arn5yrpx3j] {
    flex: 1;
    color: var(--muted);
}

.pf-health-go[b-arn5yrpx3j] {
    flex: none;
    padding: 2px 10px;
    border: 1px solid var(--warn);
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--warn);
    cursor: pointer;
}

.pf-health-go:hover[b-arn5yrpx3j],
.pf-health-go:focus-visible[b-arn5yrpx3j] {
    background: var(--warn);
    color: #ffffff;
}

/* v13 N25: folded by default; the line keeps what is missing in view and a chevron says it opens. */
.pf-health summary[b-arn5yrpx3j] {
    list-style: none;
}

.pf-health summary[b-arn5yrpx3j]::-webkit-details-marker {
    display: none;
}

.pf-health-head[b-arn5yrpx3j] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.pf-health-sum[b-arn5yrpx3j] {
    overflow: hidden;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-health-chev[b-arn5yrpx3j] {
    display: inline-flex;
    flex: none;
    color: var(--muted);
    transition: transform .15s ease;
}

.pf-health[open] .pf-health-chev[b-arn5yrpx3j] {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .pf-health-chev[b-arn5yrpx3j] {
        transition: none;
    }
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHelp.razor.rz.scp.css */
/* «i» (D119): how to read the flow. */
h3[b-fisrjvuxqo] {
    margin: 0 0 6px;
    font-size: 14px;
}

ul[b-fisrjvuxqo] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
}

/* The buttons of the guides (btn sm), side by side in their point. */
.pf-help-btn + .pf-help-btn[b-fisrjvuxqo] {
    margin-left: 4px;
}

.pf-help-btn[b-fisrjvuxqo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-help-btn:hover[b-fisrjvuxqo] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-help-btn:focus-visible[b-fisrjvuxqo] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowHistory.razor.rz.scp.css */
/* «Historial de cambios» (D119, P9): the same panel as «Revisar», over the map. */
.pf-review[b-cw8qswhi6a] {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    border-right: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.12);
}

.pf-rv-head[b-cw8qswhi6a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px 10px 14px;
    border-bottom: 1px solid var(--border);
}

.pf-rv-head strong[b-cw8qswhi6a] {
    font-size: 13px;
}

.pf-rv-count[b-cw8qswhi6a] {
    font-size: 12px;
    color: var(--muted);
}

.pf-rv-close[b-cw8qswhi6a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-rv-close:hover[b-cw8qswhi6a] {
    background: var(--bg-soft);
}

.pf-rv-body[b-cw8qswhi6a] {
    flex: 1;
    overflow: auto;
    padding: 12px 10px 18px;
}

.pf-hint[b-cw8qswhi6a] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-hv-state[b-cw8qswhi6a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-hv-state.is-error[b-cw8qswhi6a] {
    color: var(--danger-ink);
    font-weight: 600;
}

.pf-rv-fix[b-cw8qswhi6a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-hv-list[b-cw8qswhi6a] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.pf-hv[b-cw8qswhi6a] {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.pf-hv-h[b-cw8qswhi6a] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin-bottom: 6px;
}

.pf-hv-now[b-cw8qswhi6a] {
    padding: 0 7px;
    border-radius: 999px;
    background: var(--sel-soft);
    color: var(--sel-ink);
    font-size: 12px;
    font-weight: 700;
}

.pf-hv-when[b-cw8qswhi6a] {
    color: var(--muted);
    font-size: 12.5px;
}

.pf-hv-items[b-cw8qswhi6a] {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
}

.pf-hv-more[b-cw8qswhi6a] {
    color: var(--muted);
}

.pf-rv-close:focus-visible[b-cw8qswhi6a],
.pf-rv-fix:focus-visible[b-cw8qswhi6a] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* «Volver a esta versión», at the foot of an older version. */
.pf-hv-restore[b-cw8qswhi6a] {
    margin-top: 8px;
}

.pf-hv-restore:hover[b-cw8qswhi6a] {
    border-color: var(--faint);
    background: var(--bg-alt);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowKindChip.razor.rz.scp.css */
/* The kind of a handover (chip): its colors come from data-kind (ProcessFlowDialog.razor.css). */
.pf-chip[b-f7yclnagts] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 23px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: var(--tcs, var(--st-surface-sunken));
    color: var(--tci, var(--st-text-body));
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.pf-chip small[b-f7yclnagts] {
    font-weight: 500;
    opacity: 0.85;
}

/* «Obligatoria» (opt-dot). */
.pf-chip-req[b-f7yclnagts] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--st-surface) 75%, transparent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowLauncher.razor.rz.scp.css */
/* «¿Qué quieres hacer?» (D119, P21; the prototype's .todo-btn and .todo-pop). The wrapper is not positioned: the list opens
   under the popup's header, at its left, like the help and the legend open under it at its right. */
.pf-launch[b-ied0euk981] {
    display: contents;
}

.pf-todo-btn[b-ied0euk981] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 13px;
    border: 1px solid var(--accent, #d81b84);
    border-radius: 8px;
    background: var(--bg, var(--st-surface));
    color: var(--accent-ink, var(--st-accent-text));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.pf-todo-btn:hover[b-ied0euk981] {
    background: var(--accent-soft, var(--st-accent-bg));
}

.pf-todo-btn:focus-visible[b-ied0euk981],
.pf-todo-it:focus-visible[b-ied0euk981] {
    outline: 2px solid var(--accent, #d81b84);
    outline-offset: 2px;
}

.pf-todo-pop[b-ied0euk981] {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    z-index: 9;
    width: 420px;
    max-width: calc(100% - 28px);
    max-height: min(70vh, 560px);
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid var(--border, var(--st-border));
    border-radius: 10px;
    background: var(--bg, var(--st-surface));
    box-shadow: var(--shadow-menu, 0 8px 24px rgba(15, 23, 42, 0.14));
    color: var(--ink, var(--st-text));
    font-size: 12.5px;
}

.pf-todo-pop h3[b-ied0euk981] {
    margin: 0 0 6px;
    font-size: 13px;
}

.pf-todo-list[b-ied0euk981] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-todo-it[b-ied0euk981] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--ink, var(--st-text));
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pf-todo-it:hover[b-ied0euk981],
.pf-todo-it:focus-visible[b-ied0euk981] {
    border-color: var(--border, var(--st-border));
    background: var(--bg-alt, var(--st-surface-muted));
}

.pf-todo-it[b-ied0euk981]  .pf-i {
    flex: none;
    margin-top: 1px;
    color: var(--navy, var(--st-text-brand));
}

.pf-todo-it b[b-ied0euk981] {
    display: block;
    font-size: 13.5px;
}

.pf-todo-it small[b-ied0euk981] {
    display: block;
    margin-top: 2px;
    color: var(--ink-2, var(--st-text-body));
    font-size: 12.5px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowLeaveBar.razor.rz.scp.css */
/* The question of leaving with changes, under the header (the prototype's .confirm). */
.pf-confirm[b-ocasovntjz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--st-warning-border);
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 13px;
    font-weight: 600;
}

.pf-grow[b-ocasovntjz] {
    flex: 1;
}

.pf-cbtn[b-ocasovntjz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-cbtn:hover[b-ocasovntjz] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-cbtn.is-pri[b-ocasovntjz] {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.pf-cbtn.is-pri:hover[b-ocasovntjz] {
    background: #b8166f;
}

.pf-cbtn.is-ghost[b-ocasovntjz] {
    border-color: transparent;
    background: transparent;
    color: var(--warn-ink);
}

.pf-cbtn:focus-visible[b-ocasovntjz] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowLegend.razor.rz.scp.css */
/* «Colores» (D119, P4): the whole legend of the map in two columns. */
h3[b-w0uz199me6] {
    margin: 0 0 2px;
    font-size: 14px;
}

h4[b-w0uz199me6] {
    margin: 12px 0 6px;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pf-lp-sub[b-w0uz199me6] {
    margin: 0 0 8px;
    color: var(--muted);
}

.pf-lp-cols[b-w0uz199me6] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 4px 20px;
    align-items: start;
}

.pf-lp-cols h4:first-child[b-w0uz199me6] {
    margin-top: 0;
}

.pf-lp-types[b-w0uz199me6],
.pf-lp-marks[b-w0uz199me6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-lp-types li[b-w0uz199me6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    background: var(--tcs);
    color: var(--ink-2);
}

.pf-lp-types b[b-w0uz199me6] {
    display: block;
    color: var(--tci);
    font-size: 13px;
}

.pf-lp-ic[b-w0uz199me6] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--tc);
    box-shadow: inset 0 0 0 1.5px var(--tc);
}

/* The line of each type under its icon. */
.pf-lp-line[b-w0uz199me6] {
    display: block;
    width: 40px;
    height: 0;
    margin: 9px auto 0;
    border-top: 2px solid currentColor;
}

.pf-lp-line.is-dot[b-w0uz199me6] {
    border-top: 3px dotted currentColor;
}

.pf-lp-line.is-dash[b-w0uz199me6] {
    border-top: 2px dashed currentColor;
}

.pf-lp-line.is-dbl[b-w0uz199me6] {
    border-top: 4px double currentColor;
}

.pf-lp-id[b-w0uz199me6] {
    margin: 0 0 0 6px;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--bg-soft);
    color: var(--muted);
    font-family: 'Segoe UI Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 600;
}

.pf-lp-marks li[b-w0uz199me6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pf-lp-marks code[b-w0uz199me6] {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--bg-soft);
    font-family: 'Segoe UI Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.pf-lp-k[b-w0uz199me6] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 20px;
    color: var(--navy);
}

.pf-lp-k.is-warn[b-w0uz199me6] {
    color: var(--warn);
}

/* «No se ofrece» is wider than the column of the marks: it takes its own width instead of covering the text. */
.pf-lp-k.is-wide[b-w0uz199me6] {
    width: auto;
}

.pf-lp-k.is-join[b-w0uz199me6] {
    color: var(--navy);
}

.pf-lp-box[b-w0uz199me6] {
    display: block;
    width: 22px;
    height: 15px;
    border: 1.5px solid #7dd3c8;
    border-radius: 4px;
    background: color-mix(in srgb, var(--t-esp) 7%, var(--st-surface));
}

.pf-lp-wait[b-w0uz199me6] {
    display: block;
    width: 4px;
    height: 20px;
    margin: 0 auto;
    border-left: 2px dashed var(--line);
}

.pf-lp-ret[b-w0uz199me6] {
    position: relative;
    display: block;
    width: 22px;
    height: 0;
    border-top: 2px solid var(--t-vue);
}

.pf-lp-ret[b-w0uz199me6]::after {
    content: "";
    position: absolute;
    left: -1px;
    top: -5px;
    border: 4px solid transparent;
    border-right: 6px solid var(--t-vue);
    border-left: 0;
}

.pf-lp-rank[b-w0uz199me6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--navy);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.pf-lp-bdg[b-w0uz199me6] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--tcs);
    color: var(--tci);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.pf-lp-bdg.is-ot[b-w0uz199me6] {
    background: var(--navy);
    color: var(--on-navy);
}

.pf-lp-maybe[b-w0uz199me6] {
    display: inline-flex;
    align-items: center;
    padding: 2px 5px;
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--t-dev-ink);
    box-shadow: inset 0 0 0 1.5px var(--t-dev);
}

.pf-lp-strip[b-w0uz199me6] {
    display: inline-block;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.pf-lp-dead[b-w0uz199me6] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pf-lp-draft[b-w0uz199me6] {
    display: block;
    width: 22px;
    height: 14px;
    border-radius: 4px;
    outline: 1.5px dashed var(--accent);
    outline-offset: 1px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowMap.razor.rz.scp.css */
/* The left half of the popup (D119): the toolbar, «Camino sugerido» and the scrolling map. */
.pf-map[b-hyr8hjjh98] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--bg-alt);
}

/* v13: .pf-map-bar floats inside the canvas (see «the controls inside the canvas» below). */

.pf-pane-title[b-hyr8hjjh98] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-right: 14px;
    font-size: 13px;
    font-weight: 700;
}

.pf-pane-title span[b-hyr8hjjh98] {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.pf-map-tools[b-hyr8hjjh98] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pf-tgl[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-tgl:hover[b-hyr8hjjh98] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-check[b-hyr8hjjh98] {
    cursor: pointer;
    user-select: none;
}

.pf-check input[b-hyr8hjjh98] {
    margin: 0;
    accent-color: var(--sel);
    cursor: inherit;
}

.pf-check:has(input:checked)[b-hyr8hjjh98] {
    border-color: var(--sel);
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-check:has(input:disabled)[b-hyr8hjjh98] {
    opacity: .55;
    cursor: default;
}

.pf-back-all[b-hyr8hjjh98] {
    border-color: var(--sel);
    color: var(--sel-ink);
    font-weight: 600;
}

.pf-tgl[aria-pressed="true"][b-hyr8hjjh98] {
    border-color: var(--sel);
    background: var(--sel-soft);
    color: var(--sel-ink);
}

/* «Uso real» turned on while the real use is still read: it draws once it arrives. */
.pf-tgl[aria-busy="true"][b-hyr8hjjh98] {
    cursor: progress;
    opacity: .7;
}

/* «Uso real» without the real use: it can be touched, and says why it does not turn on. */
.pf-tgl[aria-disabled="true"][b-hyr8hjjh98] {
    color: var(--faint);
    cursor: default;
}

.pf-tgl[aria-disabled="true"]:hover[b-hyr8hjjh98] {
    border-color: var(--border-strong);
    background: var(--bg);
}

.pf-cnt[b-hyr8hjjh98] {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.pf-cnt.is-warn[b-hyr8hjjh98] {
    background: var(--warn-soft);
    color: var(--warn-ink);
}

/* «Enfocada | Corbatín | Completa». */
.pf-seg[b-hyr8hjjh98] {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
}

.pf-seg button[b-hyr8hjjh98] {
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-seg button:last-child[b-hyr8hjjh98] {
    border-right: 0;
}

.pf-seg button[aria-checked="true"][b-hyr8hjjh98] {
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-zoom[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
}

.pf-zoom button[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.pf-zoom button:hover[b-hyr8hjjh98] {
    background: var(--bg-alt);
}

.pf-zoom button:disabled[b-hyr8hjjh98] {
    color: var(--faint);
    background: transparent;
    cursor: default;
}

.pf-zoom output[b-hyr8hjjh98] {
    min-width: 46px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pf-zoom-sep[b-hyr8hjjh98] {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.pf-tgl:focus-visible[b-hyr8hjjh98],
.pf-seg button:focus-visible[b-hyr8hjjh98],
.pf-zoom button:focus-visible[b-hyr8hjjh98],
.pf-path-step:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* «Camino sugerido». */
.pf-path[b-hyr8hjjh98] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 5px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--st-surface-sunken);
    font-size: 12px;
}

.pf-path-label[b-hyr8hjjh98] {
    margin-right: 4px;
    color: var(--ink-2);
}

.pf-path-step[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: var(--on-navy);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.pf-path-step:hover[b-hyr8hjjh98] {
    background: var(--accent);
}

.pf-path-arrow[b-hyr8hjjh98] {
    color: var(--muted);
}

.pf-path-end[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    font-weight: 600;
    color: var(--warn-ink);
}

.pf-path-ok[b-hyr8hjjh98] {
    margin-left: 4px;
    font-weight: 600;
    color: var(--ink-2);
}

/* The map: dragging moves it (process-flow.js), so it shows the hand. */
.pf-map-body[b-hyr8hjjh98] {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
}

.pf-map-scroll[b-hyr8hjjh98] {
    --map-bg: var(--bg-alt);
    flex: 1;
    min-width: 0;
    overflow: auto;
    overscroll-behavior: contain;
    background-color: var(--bg-alt);
    background-image: radial-gradient(circle, var(--st-surface-stronger) 1px, transparent 1.3px);
    background-size: 18px 18px;
    background-attachment: local;
    cursor: grab;
    /* v13: the row of the levels and the options floats over the top of the map; the map starts below it. */
    padding-top: 56px;
    /* The floating pane covers the right of the map: the map is centred in what is seen (zero with the pane hidden). */
    padding-right: max(0px, calc(var(--pf-right, 12px) - 12px));
}

.pf-map-scroll.is-panning[b-hyr8hjjh98],
.pf-map-scroll.is-panning[b-hyr8hjjh98]  * {
    cursor: grabbing !important;
    user-select: none;
}

/* ─── The skeleton while the flow is read (FLOW-03) ─── */
.pf-map.is-loading .pf-map-tools[b-hyr8hjjh98] {
    opacity: .55;
}

/* The area keeps the scrollbar most flows have, so the width measured is the one the map gets. */
.pf-map.is-loading .pf-map-scroll[b-hyr8hjjh98] {
    overflow-y: scroll;
    cursor: progress;
}

.pf-skel[b-hyr8hjjh98] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
}

.pf-skel-status[b-hyr8hjjh98] {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
}

.pf-skel-card[b-hyr8hjjh98] {
    width: min(300px, 80%);
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%) 0 0 / 200% 100%;
    animation: pf-skel-shine-b-hyr8hjjh98 1.4s ease-in-out infinite;
}

@keyframes pf-skel-shine-b-hyr8hjjh98 {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-skel-card[b-hyr8hjjh98] {
        animation: none;
    }
}

.pf-map-sizer[b-hyr8hjjh98] {
    position: relative;
    margin: 0 auto;
}

.pf-map-canvas[b-hyr8hjjh98] {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
}

/* ─── «Editar» (edit.css) ─── */
/* The magenta of the draft tints the surface and the dots, in both themes. */
.pf-map.is-edit .pf-map-scroll[b-hyr8hjjh98] {
    --map-bg: color-mix(in srgb, var(--accent) 3%, var(--st-surface));
    background-color: var(--map-bg);
    background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, var(--st-surface-strong)) 1px, transparent 1.3px);
}

/* «Elegir en el mapa»: what to choose, above the map. */
.pf-pick-bar[b-hyr8hjjh98] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--navy-line);
    background: var(--navy-soft);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 600;
}

/* Dropping a card beside another one (v11): the two types carry their colours. */
.pf-branch-opt.is-par[b-hyr8hjjh98] {
    border-color: var(--t-par);
    color: var(--t-par-ink);
    background: var(--t-par-soft);
}

.pf-branch-opt.is-dep[b-hyr8hjjh98] {
    border-color: var(--t-esp);
    color: var(--t-esp-ink, var(--t-esp));
    background: var(--t-esp-soft);
}

.pf-branch-others[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
}

.pf-branch-warn[b-hyr8hjjh98] {
    color: var(--st-warning-text, #b45309);
    font-weight: 500;
}

.pf-kbd[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 5px;
    border: 1px solid var(--border-strong);
    border-bottom-width: 2px;
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink-2);
    font-size: 10.5px;
    font-weight: 600;
}

.pf-grow[b-hyr8hjjh98] {
    flex: 1;
}

/* The layer of the drop line of a dragged card (process-flow.js draws in it). */
.pf-drag-layer[b-hyr8hjjh98] {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.pf-drag-layer[b-hyr8hjjh98]  .pf-drop-line {
    position: absolute;
    z-index: 4;
    height: 3px;
    border-radius: 3px;
    background: var(--draft);
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.16);
    pointer-events: none;
}

.pf-drag-layer[b-hyr8hjjh98]  .pf-drop-line::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -4.5px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--draft);
}

.pf-drag-layer[b-hyr8hjjh98]  .pf-drop-line span {
    position: absolute;
    left: 14px;
    top: -11px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--draft);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* v11: an arrow being drawn or dragged to another process. */
.pf-drag-layer[b-hyr8hjjh98]  .pf-link-drag {
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    pointer-events: none;
}

/* A curve with its head, as the arrows of the map; process-flow.js draws it (linkCurve). */
.pf-drag-layer[b-hyr8hjjh98]  .pf-link-drag > path {
    fill: none;
    stroke: var(--draft);
    stroke-width: 2.4;
    stroke-linecap: round;
}

.pf-drag-layer[b-hyr8hjjh98]  .pf-link-drag marker path {
    fill: var(--draft);
}

.pf-map-canvas[b-hyr8hjjh98]  .is-link-target {
    outline: 2px solid var(--draft);
    outline-offset: 2px;
}


/* v11: a card dropped beside another one opens a branch (Paralelo or Dependencia). */
.pf-drag-layer[b-hyr8hjjh98]  .pf-drop-side {
    position: absolute;
    z-index: 4;
    border: 2px dashed var(--draft);
    border-radius: 10px;
    background: rgba(216, 27, 132, 0.06);
    pointer-events: none;
}

.pf-drag-layer[b-hyr8hjjh98]  .pf-drop-side span {
    position: absolute;
    left: 8px;
    top: -11px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--draft);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* After the drop the card waits at that place, with the question, until a type is chosen (the bar above keeps the details). */
.pf-beside-ask[b-hyr8hjjh98] {
    position: absolute;
    z-index: 5;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: 2px dashed var(--draft);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: var(--st-shadow-md);
}

.pf-beside-ask-name[b-hyr8hjjh98] {
    overflow: hidden;
    color: var(--ink);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-beside-ask-acts[b-hyr8hjjh98] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pf-beside-ask-btn[b-hyr8hjjh98] {
    height: 26px;
    padding: 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.pf-beside-ask-btn.is-par[b-hyr8hjjh98] {
    border-color: var(--t-par);
    color: var(--t-par-ink);
    background: var(--t-par-soft);
}

.pf-beside-ask-btn.is-dep[b-hyr8hjjh98] {
    border-color: var(--t-esp);
    color: var(--t-esp-ink, var(--t-esp));
    background: var(--t-esp-soft);
}

.pf-beside-ask-btn:hover[b-hyr8hjjh98] {
    filter: brightness(0.95);
}

.pf-beside-ask-btn:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* v12 E1: «Mostrar ▾» and «Capas ▾» fold the filter chips and the layers, so the toolbar is one row. */
.pf-menu[b-hyr8hjjh98] {
    position: relative;
    z-index: 31;
    display: inline-flex;
}

.pf-menu-btn[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 8px 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-menu-btn b[b-hyr8hjjh98] {
    font-weight: 700;
}

.pf-menu-btn:hover[b-hyr8hjjh98],
.pf-menu-btn[aria-expanded="true"][b-hyr8hjjh98] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-menu-btn[aria-pressed="true"][b-hyr8hjjh98] {
    border-color: var(--sel);
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-menu-btn:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-menu-n[b-hyr8hjjh98] {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--sel);
    color: #ffffff;
    font-size: 11px;
}

.pf-menu-pop[b-hyr8hjjh98] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 200px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: 0 8px 24px rgb(0 0 0 / .14);
}

.pf-menu-pop[hidden][b-hyr8hjjh98] {
    display: none;
}

.pf-menu-pop .pf-fchip[b-hyr8hjjh98],
.pf-menu-pop .pf-tgl[b-hyr8hjjh98] {
    justify-content: flex-start;
}

.pf-menu-pop .pf-fchip .pf-cnt[b-hyr8hjjh98],
.pf-menu-pop .pf-check .pf-cnt[b-hyr8hjjh98] {
    margin-left: auto;
}

/* «Deshabilitados» under the filters of «Todos»: a thin rule apart, since it adds to the filter instead of replacing it. */
.pf-menu-sep[b-hyr8hjjh98] {
    height: 1px;
    margin: 2px 0;
    background: var(--border);
}

.pf-menu-veil[b-hyr8hjjh98] {
    position: fixed;
    inset: 0;
    z-index: 30;
}

.pf-map-filters-lbl[b-hyr8hjjh98] {
    margin-right: 2px;
    font-size: 12px;
    color: var(--muted);
}

.pf-fchip[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 8px 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-fchip:hover[b-hyr8hjjh98] {
    background: var(--bg-alt);
}

.pf-fchip[aria-pressed="true"][b-hyr8hjjh98] {
    border-color: var(--sel);
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-fchip:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-fchip-mark[b-hyr8hjjh98] {
    display: none;
    width: 12px;
    height: 9px;
    border-radius: 3px;
}

.pf-fchip[data-filter="active"] .pf-fchip-mark[b-hyr8hjjh98] {
    display: inline-block;
    border: 1.5px solid var(--border-strong);
    background: var(--bg);
}

.pf-fchip[data-filter="inactive"] .pf-fchip-mark[b-hyr8hjjh98] {
    display: inline-block;
    border: 1.5px dashed var(--border-strong);
    background: var(--bg-soft);
}

.pf-fchip[data-filter="alert"] .pf-fchip-mark[b-hyr8hjjh98] {
    display: inline-block;
    background: var(--warn);
}

.pf-fchip[data-filter="branch"] .pf-fchip-mark[b-hyr8hjjh98] {
    display: inline-block;
    height: 3px;
    border-radius: 2px;
    background: var(--t-esp);
}

/* v11 F2: «Falta configurar», an amber outline without fill. */
.pf-fchip[data-filter="missing"] .pf-fchip-mark[b-hyr8hjjh98] {
    display: inline-block;
    border: 1.5px solid var(--warn);
    background: transparent;
}

/* v11 F1: the legend at the foot of the map. */
.pf-map-legend[b-hyr8hjjh98] {
    display: flex;
    /* v13 N15: one line as tall as --pf-legend-h (the panel ends above it); what does not fit scrolls sideways. */
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 16px;
    box-sizing: border-box;
    height: var(--pf-legend-h, 31px);
    margin: 0;
    padding: 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
    border-top: 1px solid var(--border);
    background: var(--bg);
    list-style: none;
    font-size: 11.5px;
    color: var(--ink-2);
}

.pf-map-legend li[b-hyr8hjjh98] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.pf-map-legend li span[b-hyr8hjjh98] {
    display: inline-block;
    width: 26px;
    height: 0;
    border-top: 2px solid var(--t-sigue);
}

.pf-map-legend li[data-line="par"] span[b-hyr8hjjh98] {
    height: 5px;
    border-top: 2px solid var(--t-par);
    border-bottom: 2px solid var(--t-par);
}

.pf-map-legend li[data-line="esp"] span[b-hyr8hjjh98] {
    border-top: 2.5px solid var(--t-esp);
}

.pf-map-legend li[data-line="wait"] span[b-hyr8hjjh98] {
    border-top: 2px dashed var(--t-sigue);
}

.pf-map-legend li[data-line="vue"] span[b-hyr8hjjh98] {
    border-top: 2px dashed var(--t-vue);
}

.pf-map-legend li[data-line="ret"] span[b-hyr8hjjh98] {
    border-top: 2.5px dotted var(--t-dev);
}

/* D536: a paused handover, faint and dashed as the arrow. */
.pf-map-legend li[data-line="paused"] span[b-hyr8hjjh98] {
    border-top: 2px dashed var(--t-sigue);
    opacity: .45;
}

/* v12 E1: the badge «↩ n» of a card with the channel off. */
.pf-map-legend li[data-line="retb"] span[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border: 0;
    border-radius: 999px;
    background: var(--t-dev-soft);
    color: var(--t-dev-ink);
}

.pf-map-legend li[data-line="off"] span[b-hyr8hjjh98] {
    width: 18px;
    height: 12px;
    border: 1.5px dashed var(--border-strong);
    border-radius: 3px;
    background: var(--bg-soft);
}

/* The round «+» at the bottom right of the map (Editar): opens the floating catalog. */
.pf-add-fab[b-hyr8hjjh98] {
    position: absolute;
    right: var(--pf-right, 16px);
    bottom: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-menu);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.pf-add-fab:hover[b-hyr8hjjh98] {
    transform: scale(1.06);
}

.pf-add-fab.is-open[b-hyr8hjjh98] {
    transform: rotate(45deg);
}

/* «+ Proceso» is a label: it stays upright while the catalog is open. */
.pf-add-fab.is-wide.is-open[b-hyr8hjjh98] {
    transform: none;
}

.pf-add-fab:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .pf-add-fab[b-hyr8hjjh98] {
        transition: none;
    }
}


/* ─── v13: the controls inside the canvas ─────────────────────────────────── */
.pf-ov[b-hyr8hjjh98] {
    position: absolute;
    z-index: 4;
}

/* Top: back and the levels on the left, the options of the level on the right, in one row that never overlaps
   (the levels give way with «…»). Only its children take the pointer, so the map pans under the gap. */
.pf-ov-top[b-hyr8hjjh98] {
    position: absolute;
    top: 12px;
    left: 12px;
    right: var(--pf-right, 12px);
    z-index: 4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
    container-type: inline-size;
}

/* An open menu goes over its veil (the row is its own layer). */
.pf-ov-top.is-menu[b-hyr8hjjh98] {
    z-index: 31;
}

.pf-ov-top > *[b-hyr8hjjh98] {
    pointer-events: auto;
}

/* v13 N14: the levels are three short words; they keep them whole while the row can (see the container query below). */
.pf-ov-nav[b-hyr8hjjh98] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pf-ov-back[b-hyr8hjjh98] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .10);
    cursor: pointer;
}

.pf-ov-back:hover[b-hyr8hjjh98] {
    background: var(--bg-alt);
}

.pf-crumbs[b-hyr8hjjh98] {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .10);
    list-style: none;
}

.pf-crumbs li[b-hyr8hjjh98] {
    display: flex;
    align-items: center;
    min-width: 0;
}

.pf-crumbs li + li[b-hyr8hjjh98]::before {
    content: "›";
    padding: 0 2px;
    color: var(--faint);
}

.pf-crumb[b-hyr8hjjh98] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 260px;
    height: 28px;
    padding: 0 10px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

button.pf-crumb[b-hyr8hjjh98] {
    cursor: pointer;
}

button.pf-crumb:hover[b-hyr8hjjh98] {
    background: var(--bg-alt);
    color: var(--ink);
}

.pf-crumb.is-on[b-hyr8hjjh98] {
    background: var(--bg-alt);
    color: var(--ink);
    font-weight: 600;
}

/* Top right: the options of the level (it was the toolbar above the map), one row: the long words of the buttons
   that carry an icon are kept for the screen reader and the title, not drawn. */
/* v13 N11: no box around them: each button floats on its own, as tall as the levels on the left (36 px). */
.pf-map-bar[b-hyr8hjjh98] {
    flex: 0 0 auto;
    margin-left: auto;
}

.pf-map-bar .pf-map-tools > .pf-tgl[b-hyr8hjjh98],
.pf-map-bar .pf-map-tools > .pf-menu > .pf-menu-btn[b-hyr8hjjh98] {
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .10);
}

.pf-map-bar .pf-map-tools[b-hyr8hjjh98] {
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.pf-map-bar .pf-lbl[b-hyr8hjjh98] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Bottom left: the zoom. */
.pf-ov-zoom[b-hyr8hjjh98] {
    left: 12px;
    bottom: 12px;
}

.pf-ov-zoom .pf-zoom[b-hyr8hjjh98] {
    box-shadow: 0 2px 8px rgba(15, 23, 42, .10);
}

.pf-ov-back:focus-visible[b-hyr8hjjh98],
.pf-crumb:focus-visible[b-hyr8hjjh98] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ─── v13 N4: the options of level 2 ──────────────────────────────────────── */
.pf-add-fab.is-wide[b-hyr8hjjh98] {
    width: auto;
    gap: 6px;
    padding: 0 18px 0 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}


/* v13 N16: a narrow canvas (the panel open on a small window) keeps the levels whole: «Quién le entrega» shows only its
   icon (its title and aria-label keep the words) and the levels tighten. */
@container (max-width: 760px) {
    .pf-map-bar .pf-tgl-t[b-hyr8hjjh98] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .pf-crumb[b-hyr8hjjh98] {
        padding: 0 7px;
    }
}

/* v13 N23: the map could not be drawn with these data; the list and the pane stay. */
.pf-map-failed[b-hyr8hjjh98] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 480px;
    margin: 24px;
    padding: 12px 14px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    font-size: 13px;
}

.pf-map-failed b[b-hyr8hjjh98] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pf-map-failed span[b-hyr8hjjh98] {
    color: var(--muted);
}

.pf-map-failed code[b-hyr8hjjh98] {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.pf-map-retry[b-hyr8hjjh98] {
    padding: 5px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--st-danger-fg);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowMatrixView.razor.rz.scp.css */
/* v11 F6 «Matriz»: it covers the map body (the map stays underneath). The kind colors (--tc, --tcs) come from data-kind,
   as on the map and the chips. */
.pf-matrix[b-81mzbzz9sr] {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
}

.pf-matrix-sum[b-81mzbzz9sr] {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--st-text-muted);
    border-bottom: 1px solid var(--st-border);
}

.pf-matrix-empty[b-81mzbzz9sr] {
    margin: 0;
    padding: 24px 12px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.pf-matrix-scroll[b-81mzbzz9sr] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}

.pf-matrix-table[b-81mzbzz9sr] {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.pf-matrix-table th[b-81mzbzz9sr],
.pf-matrix-table td[b-81mzbzz9sr] {
    border-right: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
    padding: 0;
    text-align: center;
}

.pf-matrix-table thead th[b-81mzbzz9sr] {
    position: sticky;
    top: 0;
    z-index: 2;
    min-width: 32px;
    height: 32px;
    background: var(--st-surface);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pf-matrix-table tbody th[b-81mzbzz9sr] {
    position: sticky;
    left: 0;
    z-index: 1;
    max-width: 220px;
    padding: 0 10px 0 8px;
    background: var(--st-surface);
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-matrix-table thead th.pf-matrix-corner[b-81mzbzz9sr] {
    left: 0;
    z-index: 3;
    padding: 0 10px 0 8px;
    text-align: left;
    font-weight: 500;
    color: var(--st-text-muted);
    white-space: nowrap;
}

.pf-matrix-seq[b-81mzbzz9sr] {
    display: inline-block;
    min-width: 22px;
    margin-right: 6px;
    color: var(--st-text-muted);
    font-variant-numeric: tabular-nums;
}

.pf-matrix-table th.is-off[b-81mzbzz9sr] {
    color: var(--st-text-muted);
    font-style: italic;
}

.pf-matrix-table td.is-self[b-81mzbzz9sr] {
    background: var(--st-surface-stronger);
}

.pf-matrix-cell[b-81mzbzz9sr] {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    border: 0;
    background: var(--tcs, var(--st-surface));
    color: var(--tc, var(--st-text));
    font: inherit;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.pf-matrix-cell:hover[b-81mzbzz9sr],
.pf-matrix-cell:focus-visible[b-81mzbzz9sr] {
    outline: 2px solid var(--tc, var(--st-text));
    outline-offset: -2px;
}

.pf-matrix-cell.is-dead[b-81mzbzz9sr] {
    opacity: .45;
    text-decoration: line-through;
}

/* «Pausada» (D536): faded like a handover that is never offered, without the strike, and «‖» in the corner. */
.pf-matrix-cell.is-paused[b-81mzbzz9sr] {
    opacity: .45;
}

.pf-matrix-cell b[b-81mzbzz9sr] {
    position: absolute;
    top: 1px;
    right: 3px;
    font-size: 10px;
    color: var(--st-danger-text);
}

.pf-matrix-cell b.pf-matrix-pause[b-81mzbzz9sr] {
    right: auto;
    left: 3px;
    color: var(--st-text-muted, var(--st-text));
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowMoveAllPanel.razor.rz.scp.css */
/* v12 G4c «Mover todas a…»: the work orders as chips (green moved, amber waiting, red left with why), the destination,
   the reason and the note; the buttons at the foot. */
.pf-move-all[b-m636k11g65] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.pf-move-all-orders[b-m636k11g65] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-move-all-order[b-m636k11g65] {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 12px;
    font-weight: 600;
}

.pf-move-all-order.is-moved[b-m636k11g65] {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
}

.pf-move-all-order.is-waiting[b-m636k11g65] {
    border-color: #d97706;
    background: #fffbeb;
    color: #92400e;
}

.pf-move-all-order.is-left[b-m636k11g65] {
    border-color: #dc2626;
    background: #fef2f2;
    color: #991b1b;
}

.pf-move-all-why[b-m636k11g65] {
    font-size: 11px;
    font-weight: 400;
}

.pf-move-all-field[b-m636k11g65] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pf-move-all-field select[b-m636k11g65] {
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 13px;
}

.pf-move-all-note[b-m636k11g65],
.pf-move-all-status[b-m636k11g65] {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text-muted);
}

.pf-move-all-status[b-m636k11g65] {
    color: var(--st-text);
    font-weight: 600;
}

.pf-move-all-error[b-m636k11g65] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 12px;
    line-height: 1.4;
}

.pf-move-all-actions[b-m636k11g65] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.pf-move-all-btn[b-m636k11g65] {
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pf-move-all-btn.is-primary[b-m636k11g65] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.pf-move-all-btn:disabled[b-m636k11g65] {
    opacity: 0.55;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowMoveBar.razor.rz.scp.css */
/* v12 G4: the bar of the guided move, over the boards (above the expanded calendar, 1500) and below the side panels and
   the handover modals, so each move still opens its normal handover. */
.pf-move-bar[b-231fupl49z] {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1600;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100vw - 32px);
    padding: 8px 8px 8px 16px;
    border-radius: 12px;
    background: var(--st-text-brand);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
    transform: translateX(-50%);
}

.pf-move-icon[b-231fupl49z] {
    display: inline-flex;
}

.pf-move-text[b-231fupl49z] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.3;
}

.pf-move-sub[b-231fupl49z] {
    opacity: 0.85;
    font-size: 12px;
}

.pf-move-back[b-231fupl49z] {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: #ffffff;
    color: var(--st-text-brand);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-move-back:hover[b-231fupl49z] {
    background: rgba(255, 255, 255, 0.88);
}

/* v12 G4c: «Mover todas a…», the outlined twin of «Volver al flujo». */
.pf-move-all-open[b-231fupl49z] {
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-move-all-open:hover:not(:disabled)[b-231fupl49z] {
    background: rgba(255, 255, 255, 0.14);
}

.pf-move-all-open:disabled[b-231fupl49z] {
    opacity: 0.55;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowProcessPane.razor.rz.scp.css */
/* The right pane (D119): fixed width, text at 14 px and nothing below 12 (P14). */
.pf-pane[b-dx99wt97hk] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--bg);
    /* v13 N15: the whole panel scrolls (header, sections and lists); the tabs stay at the top and the foot at the bottom. */
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pf-pane > *[b-dx99wt97hk] {
    flex-shrink: 0;
}

.pf-empty[b-dx99wt97hk] {
    margin: 0;
    padding: 18px 16px;
    color: var(--muted);
}

.pf-ho-head[b-dx99wt97hk] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px 0;
}

/* v13 N15: «Habilitado», the red «Eliminar» and the fold, on the right of the name. */
.pf-ho-acts[b-dx99wt97hk] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.pf-ho-switch[b-dx99wt97hk],
.pf-ho-del[b-dx99wt97hk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 7px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    font: inherit;
    cursor: pointer;
}

/* v13 N16: the switch alone, without a box around it. */
.pf-ho-switch[b-dx99wt97hk] {
    padding: 0 2px;
    border-color: transparent;
    background: transparent;
}

/* v13 N16: the process's icon in the header, with the sequence on its corner, as on the cards. */
.pf-ho-ico[b-dx99wt97hk] {
    position: relative;
    flex: none;
    margin: 6px 0 0 6px;
}

.pf-ho-ico[b-dx99wt97hk]  .pf-tile {
    position: absolute;
    top: -9px;
    left: -9px;
    z-index: 1;
    width: auto;
    min-width: 26px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid var(--bg-alt);
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .25);
    font-size: 12px;
}

.pf-ho-picon[b-dx99wt97hk] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
}

.pf-ho-picon img[b-dx99wt97hk] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.pf-ho-del[b-dx99wt97hk] {
    width: 28px;
    padding: 0;
    border-color: color-mix(in srgb, var(--danger-ink) 45%, transparent);
    color: var(--danger-ink);
}

.pf-ho-del:hover[b-dx99wt97hk] {
    background: color-mix(in srgb, var(--danger-ink) 14%, transparent);
}

.pf-ho-switch:focus-visible[b-dx99wt97hk],
.pf-ho-del:focus-visible[b-dx99wt97hk] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-sw[b-dx99wt97hk] {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 15px;
    border-radius: 999px;
    background: var(--border-strong);
    transition: background 0.15s ease;
}

.pf-sw[b-dx99wt97hk]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.15s ease;
}

.pf-sw.is-on[b-dx99wt97hk] {
    background: var(--accent);
}

.pf-sw.is-on[b-dx99wt97hk]::after {
    transform: translateX(11px);
}

/* What turning it off touches, asked under the header. */
.pf-ho-off[b-dx99wt97hk] {
    margin: 4px 0 2px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-alt);
    font-size: 13px;
}

.pf-ho-off ul[b-dx99wt97hk] {
    margin: 6px 0 10px;
    padding-left: 18px;
    color: var(--ink-2);
}

.pf-ho-off-acts[b-dx99wt97hk] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.pf-foot-btn.is-danger[b-dx99wt97hk] {
    border-color: var(--danger-ink);
    color: var(--danger-ink);
}

@media (prefers-reduced-motion: reduce) {
    .pf-sw[b-dx99wt97hk],
    .pf-sw[b-dx99wt97hk]::after {
        transition: none;
    }
}

.pf-ho-src[b-dx99wt97hk] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pf-ho-src-t[b-dx99wt97hk] {
    flex: 1;
    min-width: 0;
}

.pf-ho-src-name[b-dx99wt97hk] {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.pf-ho-src-sub[b-dx99wt97hk] {
    font-size: 12.5px;
    color: var(--muted);
}

/* ‹ the process before · the one after › (P13). */
.pf-ho-seqnav[b-dx99wt97hk] {
    display: flex;
    gap: 6px;
}

.pf-seqb[b-dx99wt97hk] {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.pf-seqb.is-next[b-dx99wt97hk] {
    justify-content: flex-end;
}

.pf-seqb:hover[b-dx99wt97hk] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-seqb b[b-dx99wt97hk] {
    flex: none;
}

.pf-seqb-n[b-dx99wt97hk] {
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pf-seqb.is-off[b-dx99wt97hk] {
    visibility: hidden;
}

.pf-ho-ctxs[b-dx99wt97hk] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-ho-ctx[b-dx99wt97hk] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    padding: 2px 9px 2px 7px;
    border-radius: 999px;
    background: var(--tcs);
    color: var(--tci);
    font-size: 12px;
    font-weight: 600;
}

/* The tabs «Propiedades | Salen N | Llegan N», with the count of each list; the one on is underlined. */
.pf-ptabs[b-dx99wt97hk] {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    gap: 2px;
    width: 100%;
    margin-top: 10px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.pf-ptabs [role="tab"][b-dx99wt97hk] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-ptabs [role="tab"]:hover[b-dx99wt97hk] {
    color: var(--ink);
}

.pf-ptabs [role="tab"].is-on[b-dx99wt97hk] {
    color: var(--sel-ink);
}

.pf-ptabs [role="tab"].is-on[b-dx99wt97hk]::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--sel);
}

.pf-ptabs [role="tab"].is-parent[b-dx99wt97hk] {
    color: var(--ink-2);
}

.pf-ptabs [role="tab"]:focus-visible[b-dx99wt97hk],
.pf-seqb:focus-visible[b-dx99wt97hk] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-tab-n[b-dx99wt97hk] {
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pf-ptabs [role="tab"].is-on .pf-tab-n[b-dx99wt97hk] {
    background: var(--sel-soft);
}

/* The tag of the process in the header while editing. */
.pf-tag-draft[b-dx99wt97hk] {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 700;
    vertical-align: 2px;
}

.pf-tag-draft.is-renum[b-dx99wt97hk] {
    background: var(--bg-soft);
    color: var(--ink-2);
}

.pf-foot-btn[b-dx99wt97hk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-foot-btn:hover[b-dx99wt97hk] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-foot-btn.is-quiet[b-dx99wt97hk] {
    color: var(--navy);
}

.pf-foot-btn:focus-visible[b-dx99wt97hk] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-grow[b-dx99wt97hk] {
    flex: 1;
}

/* v13 N11: the button that folds the panel, inside it at the top right; the name of the process leaves it room. */
.pf-pane-collapse[b-dx99wt97hk] {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
    cursor: pointer;
}

.pf-pane-collapse:hover[b-dx99wt97hk] {
    color: var(--ink);
    background: var(--bg-alt);
}

.pf-pane-collapse:focus-visible[b-dx99wt97hk] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-pane-collapse ~ .pf-empty[b-dx99wt97hk] {
    padding-right: 32px;
}

/* v13 N15: with a process, the fold sits in the header row with the switch and «Eliminar». */
.pf-pane-collapse.is-inline[b-dx99wt97hk] {
    position: static;
}

/* v13 N23: the data of the selected process has a problem: what happened, in words. */
.pf-ho-data[b-dx99wt97hk] {
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    font-size: 12px;
}

.pf-ho-data b[b-dx99wt97hk] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pf-ho-data ul[b-dx99wt97hk] {
    margin: 4px 0;
    padding-left: 18px;
}

.pf-ho-data-hint[b-dx99wt97hk] {
    color: var(--muted);
}

/* v13 N36: a handover open is a sheet over its list. The header and the tabs hide; the process stays as one quiet line and
   two edges under it say there is a layer below. */
.pf-pane.is-drill[b-dx99wt97hk] {
    background: var(--bg-soft);
}

.pf-pane.is-drill > .pf-ho-head[b-dx99wt97hk],
.pf-pane.is-drill > .pf-ptabs[b-dx99wt97hk] {
    display: none;
}

.pf-drill-strip[b-dx99wt97hk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px 16px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-drill-crumb[b-dx99wt97hk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-drill-stack[b-dx99wt97hk] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.pf-drill-stack span[b-dx99wt97hk] {
    height: 5px;
    margin: 0 22px;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: color-mix(in srgb, var(--bg) 55%, var(--bg-soft));
}

.pf-drill-stack span + span[b-dx99wt97hk] {
    margin: 0 15px;
    background: color-mix(in srgb, var(--bg) 80%, var(--bg-soft));
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowProperties.razor.rz.scp.css */
/* «Propiedades» in «Ver»: the values read as text (P14: 14 px, nothing below 12). */
.pf-form[b-pzwf0sbqug] {
    max-width: 760px;
    padding: 0 4px 24px;
    font-size: 14px;
}

.pf-can-note[b-pzwf0sbqug] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12.5px;
}

.pf-can-note[b-pzwf0sbqug]  .pf-i {
    margin-top: 1px;
    color: var(--navy);
}

/* Fields read as text. */
.pf-fld[b-pzwf0sbqug] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pf-fld-l[b-pzwf0sbqug] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.pf-ro-val[b-pzwf0sbqug] {
    display: block;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--ink);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.pf-ro-val.is-multi[b-pzwf0sbqug] {
    white-space: pre-line;
}

.pf-ro-val.is-num[b-pzwf0sbqug] {
    width: max-content;
    min-width: 84px;
    font-variant-numeric: tabular-nums;
}

.pf-sub[b-pzwf0sbqug] {
    font-size: 12px;
    color: var(--muted);
}

.pf-row2[b-pzwf0sbqug] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pf-swatch[b-pzwf0sbqug] {
    width: 28px;
    height: 28px;
    border: 2px solid var(--bg);
    border-radius: 6px;
    background: var(--c);
    box-shadow: 0 0 0 2px var(--ink);
}

.pf-hint[b-pzwf0sbqug] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-hint.is-warn[b-pzwf0sbqug] {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: var(--warn-ink);
}

.pf-hint.is-warn[b-pzwf0sbqug]  .pf-i {
    margin-top: 2px;
}

.pf-in-sum[b-pzwf0sbqug] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pf-actions[b-pzwf0sbqug] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* A switch read as text: «Sí» or «No», what it is and what it does. */
.pf-sw[b-pzwf0sbqug] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.pf-sw-v[b-pzwf0sbqug] {
    flex: none;
    min-width: 34px;
    margin-top: 1px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.pf-sw-v.is-on[b-pzwf0sbqug] {
    background: var(--navy-soft);
    color: var(--navy);
}

.pf-sw-tx[b-pzwf0sbqug] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pf-sw-tx b[b-pzwf0sbqug] {
    font-size: 13px;
    font-weight: 600;
}

.pf-sw-tx small[b-pzwf0sbqug] {
    font-size: 12px;
    color: var(--muted);
}

.pf-btn[b-pzwf0sbqug] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-btn:hover[b-pzwf0sbqug] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-btn.is-ghost[b-pzwf0sbqug] {
    border-color: transparent;
    background: transparent;
}

.pf-btn.is-ghost:hover[b-pzwf0sbqug] {
    background: var(--bg-soft);
}

.pf-btn:focus-visible[b-pzwf0sbqug] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowQuestionsEdit.razor.rz.scp.css */
/* v14 «Preguntas que decide esta entrega»: each question with its ◆ in the violet of what a datum decides. */
.pf-q-hint[b-88dfngssuu] {
    margin: 0 0 8px;
}

.pf-q-list[b-88dfngssuu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf-q-row[b-88dfngssuu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
}

.pf-q-row.is-sys[b-88dfngssuu] {
    align-items: center;
    background: var(--bg-alt);
}

.pf-q-dia[b-88dfngssuu] {
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 12px;
    border-radius: 1.5px;
    background: var(--cond);
    transform: rotate(45deg);
}

.pf-q-row.is-sys .pf-q-dia[b-88dfngssuu] {
    margin-top: 0;
}

.pf-q-tx[b-88dfngssuu] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    font-size: 12.5px;
    color: var(--ink);
}

.pf-q-tx small[b-88dfngssuu] {
    font-size: 11.5px;
    color: var(--muted);
}

.pf-q-badge[b-88dfngssuu] {
    flex: none;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--cond-bg);
    color: var(--cond-ink);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.pf-q-edit[b-88dfngssuu] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pf-q-answers[b-88dfngssuu] {
    display: inline-flex;
    gap: 4px;
}

.pf-q-answers b[b-88dfngssuu] {
    padding: 2px 9px;
    border: 1px solid var(--cond);
    border-radius: 999px;
    background: var(--cond-bg);
    color: var(--cond-ink);
    font-size: 11.5px;
}

.pf-q-chk[b-88dfngssuu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-q-chk input[b-88dfngssuu] {
    accent-color: var(--cond);
}

.pf-q-remove[b-88dfngssuu] {
    flex: none;
    width: 34px;
    padding: 0;
}

.pf-q-new[b-88dfngssuu] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-strong);
}

.pf-q-new .pf-e-fld[b-88dfngssuu] {
    align-self: stretch;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowReasonPicker.razor.rz.scp.css */
/* The floating reasons of the round «+» while a handover is open (same look as ProcessFlowCatalog). */
.pf-cat-pop[b-e84jtq9y33] {
    /* v13 N13: a panel of its own where the properties float, over them, with the whole height for the search. */
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(var(--pf-pane-w, 440px), calc(100% - 24px));
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}

.pf-cat-head[b-e84jtq9y33] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pf-cat-title[b-e84jtq9y33] {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.pf-cat-close[b-e84jtq9y33] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-cat-close:hover[b-e84jtq9y33] {
    background: var(--bg-soft);
    color: var(--ink);
}

.pf-hint[b-e84jtq9y33] {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.pf-hint.is-warn[b-e84jtq9y33] {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: var(--warn-ink);
}

.pf-hint.is-warn[b-e84jtq9y33]  .pf-i {
    flex: none;
    margin-top: 2px;
}

.pf-cat-search[b-e84jtq9y33] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.pf-cat-search:focus-within[b-e84jtq9y33] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

.pf-cat-search input[b-e84jtq9y33] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.pf-cat-scroll[b-e84jtq9y33] {
    min-height: 0;
    margin: 0 -6px;
    padding: 0 6px 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pf-list-t[b-e84jtq9y33] {
    margin: 8px 0 4px;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pf-cat-list[b-e84jtq9y33] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pf-cat-opt[b-e84jtq9y33] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.pf-cat-opt[data-reason-drag][b-e84jtq9y33] {
    cursor: grab;
}

.pf-cat-opt:hover[b-e84jtq9y33] {
    background: var(--bg-soft);
}

.pf-cat-opt.is-dragging[b-e84jtq9y33] {
    opacity: 0.45;
}

.pf-cat-name[b-e84jtq9y33] {
    min-width: 0;
}

.pf-cat-route[b-e84jtq9y33] {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.pf-reason-tag[b-e84jtq9y33] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--ink-2);
}

.pf-reason-tag.is-new[b-e84jtq9y33] {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.pf-cat-close:focus-visible[b-e84jtq9y33],
.pf-cat-opt:focus-visible[b-e84jtq9y33] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowReplicaAlert.razor.rz.scp.css */
/* The values the two modules do not share (D119, answer D): in «Ver» it informs; in «Editar» each field is chosen. */
.pf-rep-alert[b-vl1lo8uwxx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 10px;
    padding: 11px 12px;
    border: 1px solid #f5c26b;
    border-radius: 10px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12.5px;
}

.pf-rep-alert p[b-vl1lo8uwxx] {
    margin: 0;
}

.pf-ra-h[b-vl1lo8uwxx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.pf-ra-row[b-vl1lo8uwxx] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 4px 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--st-surface) 70%, transparent);
}

.pf-ra-f[b-vl1lo8uwxx] {
    font-weight: 700;
    color: var(--ink);
}

.pf-ra-v[b-vl1lo8uwxx] {
    font-size: 12px;
    color: var(--ink-2);
    white-space: nowrap;
}

.pf-ra-v b[b-vl1lo8uwxx] {
    color: var(--ink);
}

.pf-ra-uses[b-vl1lo8uwxx] {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    color: var(--warn-ink);
}

.pf-ra-seg[b-vl1lo8uwxx] {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
}

.pf-ra-seg button[b-vl1lo8uwxx] {
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-ra-seg button:last-child[b-vl1lo8uwxx] {
    border-right: 0;
}

.pf-ra-seg button:hover:not(:disabled)[b-vl1lo8uwxx] {
    background: var(--bg-alt);
}

.pf-ra-seg button:disabled[b-vl1lo8uwxx] {
    color: var(--faint);
    cursor: default;
}

.pf-ra-seg button:focus-visible[b-vl1lo8uwxx] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowReviewPanel.razor.rz.scp.css */
/* «Revisar» (D119, P6): a panel over the left edge of the map, by themes. */
.pf-review[b-avv35zcc0t] {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    border-right: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.12);
}

.pf-rv-head[b-avv35zcc0t] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px 10px 14px;
    border-bottom: 1px solid var(--border);
}

.pf-rv-head strong[b-avv35zcc0t] {
    font-size: 13px;
}

.pf-rv-count[b-avv35zcc0t] {
    font-size: 12px;
    color: var(--muted);
}

.pf-rv-close[b-avv35zcc0t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-rv-close:hover[b-avv35zcc0t] {
    background: var(--bg-soft);
}

.pf-rv-body[b-avv35zcc0t] {
    flex: 1;
    overflow: auto;
    padding: 8px 10px 18px;
}

.pf-rv-empty[b-avv35zcc0t] {
    margin: 0;
    padding: 18px 4px;
    color: var(--muted);
}

/* The Processes copy still being read (FLOW-01b): its mismatches are not listed yet. */
.pf-rv-pending[b-avv35zcc0t] {
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    color: var(--muted);
    font-size: 12.5px;
    cursor: progress;
}

.pf-rv-theme[b-avv35zcc0t] {
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
}

.pf-rv-theme.is-warn[b-avv35zcc0t] {
    border-color: #f5d08a;
}

.pf-rv-th[b-avv35zcc0t] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pf-rv-ic[b-avv35zcc0t] {
    color: var(--warn);
}

.pf-rv-theme.is-info .pf-rv-ic[b-avv35zcc0t] {
    color: var(--info);
}

.pf-rv-tt[b-avv35zcc0t] {
    flex: 1;
    min-width: 0;
}

.pf-rv-tt b[b-avv35zcc0t] {
    font-size: 13.5px;
}

.pf-rv-n[b-avv35zcc0t] {
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 12px;
    font-weight: 700;
}

.pf-rv-tt p[b-avv35zcc0t] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--ink-2);
}

.pf-rv-fix[b-avv35zcc0t] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-rv-fix:hover[b-avv35zcc0t] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-rv-items[b-avv35zcc0t] {
    margin-top: 8px;
}

.pf-rv-items summary[b-avv35zcc0t] {
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-rv-items h5[b-avv35zcc0t] {
    margin: 10px 0 4px;
    font-size: 12.5px;
}

.pf-rv-items h5 span[b-avv35zcc0t] {
    color: var(--muted);
    font-weight: 600;
}

.pf-rv-items ul[b-avv35zcc0t] {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.pf-hint[b-avv35zcc0t] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-rv-it[b-avv35zcc0t] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.pf-rv-it:hover[b-avv35zcc0t] {
    background: var(--bg-soft);
}

.pf-rv-it b[b-avv35zcc0t] {
    font-variant-numeric: tabular-nums;
}

.pf-rv-arr[b-avv35zcc0t] {
    color: var(--muted);
}

.pf-rv-close:focus-visible[b-avv35zcc0t],
.pf-rv-fix:focus-visible[b-avv35zcc0t],
.pf-rv-it:focus-visible[b-avv35zcc0t],
.pf-rv-items summary:focus-visible[b-avv35zcc0t] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* «Editar»: the warnings the draft brings go first («Por tus cambios»), then the ones that were there («Ya venían»). */
.pf-rv-theme.is-fresh[b-avv35zcc0t] {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.pf-rv-theme.is-fresh .pf-rv-ic[b-avv35zcc0t] {
    color: var(--accent);
}

.pf-rv-fresh[b-avv35zcc0t] {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.pf-rv-sep[b-avv35zcc0t] {
    margin: 14px 0 8px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pf-rv-items .pf-rv-fix[b-avv35zcc0t] {
    margin: 2px 0 6px;
}

/* v12 E2 (T6): the three priorities, most urgent first, each with «Ver en el mapa». */
.pf-rv-pri[b-avv35zcc0t] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.pf-rv-pri:first-child[b-avv35zcc0t] {
    margin-top: 0;
}

.pf-rv-pri-tt[b-avv35zcc0t] {
    flex: 1;
    min-width: 0;
}

.pf-rv-pri h4[b-avv35zcc0t] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.pf-rv-pri[data-priority="stop"] h4[b-avv35zcc0t] {
    color: var(--danger, #dc2626);
}

.pf-rv-pri p[b-avv35zcc0t] {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.pf-rv-show[b-avv35zcc0t] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: inherit;
    font-size: 12px;
    cursor: pointer;
}

.pf-rv-show[aria-pressed="true"][b-avv35zcc0t] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowRoundTripCard.razor.rz.scp.css */
/* v13 N7 «Ida y vuelta»: what a new process still lacks to have its way in and out, each with its way back. */
.pf-rt[b-tyf9ldg9ak] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid #f5c26b;
    border-radius: 10px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12.5px;
}

.pf-rt.is-ok[b-tyf9ldg9ak] {
    border-color: transparent;
    background: var(--bg-soft);
    color: var(--ink-2);
}

.pf-rt p[b-tyf9ldg9ak] {
    margin: 0;
}

.pf-rt-h[b-tyf9ldg9ak] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pf-rt-list[b-tyf9ldg9ak] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-rt-row[b-tyf9ldg9ak] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 7px 10px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--st-surface) 70%, transparent);
}

.pf-rt-txt[b-tyf9ldg9ak] {
    flex: 1 1 180px;
    min-width: 0;
    color: var(--ink);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowSection.razor.rz.scp.css */
/* A foldable section (details.sec of the prototype), as a button with aria-expanded. */
.pf-sec[b-7pctoagm21] {
    border-bottom: 1px solid var(--border);
}

.pf-sec:last-child[b-7pctoagm21] {
    border-bottom: 0;
}

.pf-sec-t[b-7pctoagm21] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ink-2);
    cursor: pointer;
    user-select: none;
}

/* The chevron: to the right closed, down open. */
.pf-sec-t[b-7pctoagm21]::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    margin: 0 2px 0 1px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.pf-sec.is-open .pf-sec-t[b-7pctoagm21]::before {
    transform: rotate(45deg);
}

.pf-sec-t:hover .pf-sec-name[b-7pctoagm21] {
    color: var(--ink);
}

.pf-sec-t:focus-visible[b-7pctoagm21] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

.pf-sec-name[b-7pctoagm21] {
    min-width: 0;
}

.pf-sec-opt[b-7pctoagm21] {
    max-width: 55%;
    margin-left: auto;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
    color: var(--muted);
}

/* v13 N29: the open body sits on a soft tint of the theme, so it reads where a section starts and ends; the fields keep
   the surface color and stand out on it. */
.pf-sec-b[b-7pctoagm21] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
}

@media (prefers-reduced-motion: reduce) {
    .pf-sec-t[b-7pctoagm21]::before {
        transition: none;
    }
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowSheet.razor.rz.scp.css */
/* «Revisar y guardar» (D119): a sheet from the bottom of the popup, over a scrim; the changes on the left and what changes
   around on the right. What stops the save goes in red; «Eliminar» never does (it goes in navy). */
.pf-sheet-scrim[b-l5jbt0wlim] {
    position: absolute;
    inset: 0;
    z-index: 11;
    background: rgba(15, 23, 42, 0.18);
}

.pf-sheet[b-l5jbt0wlim] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    max-height: 72%;
    border-top: 1px solid var(--border-strong);
    border-radius: 14px 14px 0 0;
    background: var(--bg);
    box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.18);
}

.pf-sheet-head[b-l5jbt0wlim] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
}

.pf-sheet-head h3[b-l5jbt0wlim] {
    margin: 0;
    font-size: 15px;
}

.pf-sheet-head h3:focus[b-l5jbt0wlim] {
    outline: none;
}

.pf-muted[b-l5jbt0wlim] {
    color: var(--muted);
    font-size: 12.5px;
}

.pf-sicon[b-l5jbt0wlim] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.pf-sicon:hover[b-l5jbt0wlim] {
    background: var(--bg-soft);
}

/* Somebody else saved, or the server refused: the draft stays. */
.pf-sheet-alert[b-l5jbt0wlim] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 16px 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--danger-ink);
    font-size: 12.5px;
    font-weight: 600;
}

.pf-sheet-alert.is-conflict[b-l5jbt0wlim] {
    border-color: #f5c26b;
    background: var(--warn-soft);
    color: var(--warn-ink);
}

.pf-sheet-alert-text[b-l5jbt0wlim] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
}

/* v12 G3: the server lists each problem on its own line */
.pf-sheet-alert-msg[b-l5jbt0wlim] {
    white-space: pre-line;
}

.pf-sheet-alert-sub[b-l5jbt0wlim] {
    font-weight: 500;
}

.pf-sheet-alert .pf-sicon[b-l5jbt0wlim] {
    width: 28px;
    height: 28px;
    margin-left: 0;
}

.pf-sheet-body[b-l5jbt0wlim] {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px 22px;
    min-height: 0;
    overflow: auto;
    padding: 0 16px 12px;
}

.pf-chg-g h4[b-l5jbt0wlim],
.pf-imp-g h4[b-l5jbt0wlim] {
    margin: 6px 0;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pf-chg-g ul[b-l5jbt0wlim] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.pf-chg-li[b-l5jbt0wlim] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.pf-chg[b-l5jbt0wlim] {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.pf-chg:hover[b-l5jbt0wlim] {
    background: var(--bg-soft);
}

.pf-op[b-l5jbt0wlim] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pf-op.is-new[b-l5jbt0wlim] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
}

.pf-op.is-upd[b-l5jbt0wlim] {
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.pf-op.is-del[b-l5jbt0wlim] {
    background: var(--st-danger-bg-strong);
    color: var(--danger-ink);
}

.pf-op.is-mov[b-l5jbt0wlim] {
    background: var(--sel-soft);
    color: var(--sel-ink);
}

.pf-d[b-l5jbt0wlim] {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-eff[b-l5jbt0wlim] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 3px;
    color: var(--ink);
    font-weight: 500;
}

.pf-eff[b-l5jbt0wlim]  .pf-i {
    flex: none;
    margin-top: 2px;
    color: var(--navy);
}

.pf-chg-undo[b-l5jbt0wlim] {
    flex: none;
    margin-top: 2px;
    opacity: 0.7;
}

.pf-chg-li:hover .pf-chg-undo[b-l5jbt0wlim],
.pf-chg-undo:focus-visible[b-l5jbt0wlim] {
    opacity: 1;
}

.pf-chg-src[b-l5jbt0wlim] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 2px 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
}

.pf-imp[b-l5jbt0wlim] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 8px;
    font-size: 12.5px;
}

.pf-imp[b-l5jbt0wlim]  .pf-i {
    flex: none;
    margin-top: 1px;
}

.pf-imp.is-warn[b-l5jbt0wlim] {
    color: var(--warn-ink);
}

.pf-imp-go[b-l5jbt0wlim] {
    flex: none;
    margin-left: auto;
    padding: 2px 8px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.pf-imp.is-ok[b-l5jbt0wlim] {
    color: var(--st-success-text);
}

.pf-imp.is-err[b-l5jbt0wlim] {
    color: var(--danger-ink);
    font-weight: 600;
}

.pf-ack[b-l5jbt0wlim] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 9px;
    background: var(--warn-soft);
    color: var(--warn-ink);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-ack input[b-l5jbt0wlim] {
    margin: 2px 0 0;
    accent-color: var(--warn);
}

.pf-kept[b-l5jbt0wlim] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-hint[b-l5jbt0wlim] {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-hint.is-foot[b-l5jbt0wlim] {
    margin-top: 8px;
}

.pf-sheet-foot[b-l5jbt0wlim] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.pf-grow[b-l5jbt0wlim] {
    flex: 1;
}

.pf-note[b-l5jbt0wlim] {
    color: var(--muted);
    font-size: 12.5px;
}

.pf-sbtn[b-l5jbt0wlim] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pf-sbtn:hover:not(:disabled)[b-l5jbt0wlim] {
    border-color: var(--faint);
    background: var(--bg-alt);
}

.pf-sbtn:disabled[b-l5jbt0wlim] {
    color: var(--faint);
    cursor: default;
}

.pf-sbtn.is-sm[b-l5jbt0wlim] {
    height: 30px;
    padding: 0 9px;
}

.pf-sbtn.is-ghost[b-l5jbt0wlim] {
    border-color: transparent;
    background: transparent;
}

.pf-sbtn.is-pri[b-l5jbt0wlim] {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.pf-sbtn.is-pri:hover:not(:disabled)[b-l5jbt0wlim] {
    background: #b8166f;
}

.pf-sbtn.is-pri:disabled[b-l5jbt0wlim] {
    border-color: var(--border-strong);
    background: var(--bg-soft);
    color: var(--faint);
}

.pf-sbtn.is-navy[b-l5jbt0wlim] {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--on-navy);
}

.pf-sbtn.is-navy:hover:not(:disabled)[b-l5jbt0wlim] {
    background: color-mix(in srgb, var(--navy) 85%, var(--st-text-strong));
}

.pf-sbtn:focus-visible[b-l5jbt0wlim],
.pf-sicon:focus-visible[b-l5jbt0wlim],
.pf-chg:focus-visible[b-l5jbt0wlim] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .pf-sheet-body[b-l5jbt0wlim] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* v12 G2 «Guardado seguro»: what blocks the save, what asks for «Entendido» and what is worth knowing. */
.pf-rs[b-l5jbt0wlim] {
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid var(--danger-ink);
    border-radius: 8px;
    background: var(--st-danger-bg);
}

.pf-rs.is-confirm[b-l5jbt0wlim] {
    border-color: var(--warn);
    background: var(--warn-soft);
}

.pf-rs.is-know[b-l5jbt0wlim] {
    border-color: var(--st-border);
    background: transparent;
}

.pf-rs h4[b-l5jbt0wlim] {
    margin: 0 0 6px;
}

.pf-rs:not(.is-confirm):not(.is-know) h4[b-l5jbt0wlim] {
    color: var(--danger-ink);
}

.pf-rs-item[b-l5jbt0wlim] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    font-size: 13px;
}

.pf-rs-text[b-l5jbt0wlim] {
    flex: 1 1 200px;
}

.pf-rs-fix[b-l5jbt0wlim] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-rs-item.is-err[b-l5jbt0wlim] {
    color: var(--danger-ink);
    font-weight: 600;
}

.pf-rs-item[b-l5jbt0wlim]  .pf-i {
    flex: none;
    margin-top: 2px;
}

/* «Entendido» checked while something still blocks the save: a modal lists what is missing, each with «Ir». */
.pf-pend-scrim[b-l5jbt0wlim] {
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: 14px 14px 0 0;
    background: rgba(15, 23, 42, 0.45);
}

.pf-pend[b-l5jbt0wlim] {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 21;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--danger-ink);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
    transform: translate(-50%, -50%);
}

.pf-pend-head[b-l5jbt0wlim] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--danger-ink);
}

.pf-pend-head h4[b-l5jbt0wlim] {
    margin: 0;
    font-size: 14px;
}

.pf-pend-lead[b-l5jbt0wlim] {
    margin: 0;
    color: var(--ink-2);
    font-size: 13px;
}

.pf-pend-list[b-l5jbt0wlim] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-pend-list li[b-l5jbt0wlim] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    background: var(--st-danger-bg);
    color: var(--danger-ink);
    font-size: 13px;
    font-weight: 600;
}

.pf-pend-list li span[b-l5jbt0wlim] {
    flex: 1;
}

.pf-pend-foot[b-l5jbt0wlim] {
    display: flex;
    justify-content: flex-end;
}

/* v12 F1: the settings of the workshop are resolved in the warning, one selector each. */
.pf-rs.is-repoint[b-l5jbt0wlim] {
    border-color: var(--st-border);
    background: transparent;
}

.pf-rs-repoints[b-l5jbt0wlim] {
    display: flex;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
}

.pf-rs-repoint[b-l5jbt0wlim] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.pf-rs-repoint > span[b-l5jbt0wlim] {
    flex: 0 1 auto;
    font-weight: 600;
}

.pf-rs-select[b-l5jbt0wlim] {
    min-width: 200px;
    max-width: 100%;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--st-border);
    border-radius: 6px;
    background: var(--st-surface);
    color: inherit;
    font: inherit;
    font-size: 13px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowSimulatorPane.razor.rz.scp.css */
/* «Probar un carro» (D119, P19; the prototype's .sim styles of edit.css). The bar, the foot and the shared controls are
   ProcessFlowGuidePane's. */
.pf-sim[b-e5lpi0gpif] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 16px;
}

.pf-sim-now[b-e5lpi0gpif] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--sel-soft);
}

.pf-sim-now b[b-e5lpi0gpif] {
    font-size: 15px;
}

/* The branches the car has open (.ho-ctx). */
.pf-sim-open[b-e5lpi0gpif] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-sim-branch[b-e5lpi0gpif] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    padding: 2px 9px 2px 7px;
    border-radius: 999px;
    background: var(--tcs);
    color: var(--tci);
    font-size: 12px;
    font-weight: 600;
}

.pf-sim-muted[b-e5lpi0gpif] {
    color: var(--muted);
    font-weight: 600;
}

.pf-sim-opts[b-e5lpi0gpif] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* An option: its line in the color of what it does for this car. */
.pf-sim-opt[b-e5lpi0gpif] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--tc, var(--border));
    border-radius: 9px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pf-sim-opt:hover[b-e5lpi0gpif] {
    background: var(--bg-alt);
}

.pf-sim-opt.is-on[b-e5lpi0gpif] {
    box-shadow: 0 0 0 2px var(--navy);
}

.pf-sim-opt.is-blocked[b-e5lpi0gpif] {
    opacity: 0.6;
}

.pf-sim-opt:focus-visible[b-e5lpi0gpif] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-sim-t[b-e5lpi0gpif] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.pf-sim-t small[b-e5lpi0gpif] {
    flex-basis: 100%;
    color: var(--ink-2);
    font-size: 12.5px;
}

/* «Es lo primero que propone el sistema» (.chip.sug.icon). */
.pf-sim-sug[b-e5lpi0gpif] {
    display: inline-flex;
    align-items: center;
    height: 23px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--on-navy);
}

/* «Datos del carro»: one row per datum a condition reads, its answer on the right. */
.pf-sim-data[b-e5lpi0gpif] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-sim-data li[b-e5lpi0gpif] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg);
}

.pf-sim-act .pf-ghint[b-e5lpi0gpif] {
    flex-basis: 100%;
    margin: 0;
}

.pf-sim-act[b-e5lpi0gpif] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-alt);
}

.pf-sim-log[b-e5lpi0gpif] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding-left: 22px;
    font-size: 13px;
}

.pf-sim-log small[b-e5lpi0gpif] {
    display: block;
    color: var(--ink-2);
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowTile.razor.rz.scp.css */
/* The sequence of the process on its color (tile). The sizes are the prototype's by place. */
.pf-tile[b-rj1t33ra9z] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pf-tile-bg, #64748b);
    color: var(--pf-tile-ink, #ffffff);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* The selected process in the header of the pane and in the middle of «Corbatín». */
.pf-tile.is-large[b-rj1t33ra9z] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
}

/* A card inside a branch box. */
.pf-tile.is-branch[b-rj1t33ra9z] {
    width: 30px;
    height: 30px;
}

/* A folded card of «Enfocada», the route of a handover preview and the search lists. */
.pf-tile.is-small[b-rj1t33ra9z] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 10.5px;
}

.pf-tile.is-dim[b-rj1t33ra9z] {
    filter: grayscale(1);
    opacity: 0.55;
}

/* v13 N18: a process with its icon: the white round container (the same in light and dark, the icons are drawn for white)
   and the sequence on its color on the top left corner, as on the cards of the map. */
.pf-pmark[b-rj1t33ra9z] {
    position: relative;
    display: inline-flex;
    flex: none;
    width: 32px;
    height: 32px;
    margin: 4px 0 0 4px;
}

.pf-pmark.is-large[b-rj1t33ra9z] {
    width: 40px;
    height: 40px;
}

.pf-pmark.is-branch[b-rj1t33ra9z] {
    width: 30px;
    height: 30px;
}

.pf-pmark.is-small[b-rj1t33ra9z] {
    width: 26px;
    height: 26px;
    margin: 3px 0 0 3px;
}

.pf-pmark-i[b-rj1t33ra9z] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
}

.pf-pmark-i img[b-rj1t33ra9z] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.pf-tile.is-badge[b-rj1t33ra9z] {
    position: absolute;
    top: -5px;
    left: -6px;
    z-index: 1;
    width: auto;
    min-width: 18px;
    height: 15px;
    padding: 0 4px;
    border: 1.5px solid var(--bg, #ffffff);
    border-radius: 5px;
    font-size: 9.5px;
}

.pf-pmark.is-large .pf-tile.is-badge[b-rj1t33ra9z],
.pf-pmark.is-base .pf-tile.is-badge[b-rj1t33ra9z] {
    min-width: 20px;
    height: 16px;
    font-size: 10.5px;
}

.pf-pmark.is-dim[b-rj1t33ra9z] {
    filter: grayscale(1);
    opacity: 0.55;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowWizardPane.razor.rz.scp.css */
/* The assistants (D119, P18; the prototype's .wz styles of edit.css). The bar, the foot and the shared controls are
   ProcessFlowGuidePane's. */
.pf-wz[b-ar7otnffhx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 2px 16px;
}

.pf-wz-t[b-ar7otnffhx] {
    margin: 0;
    font-size: 16px;
}

.pf-wz-steps[b-ar7otnffhx] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pf-wz-steps span[b-ar7otnffhx] {
    width: 26px;
    height: 5px;
    border-radius: 999px;
    background: var(--border);
}

.pf-wz-steps span.is-on[b-ar7otnffhx] {
    background: var(--accent);
}

.pf-wz-steps span.is-done[b-ar7otnffhx] {
    background: var(--navy);
}

.pf-wz-steps small[b-ar7otnffhx] {
    margin-left: 6px;
    color: var(--muted);
    font-size: 12.5px;
}

.pf-wz-select[b-ar7otnffhx] {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.pf-wz-select:focus[b-ar7otnffhx] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

/* «Buscar en el catálogo». */
.pf-wz-search[b-ar7otnffhx] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 250px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.pf-wz-search:focus-within[b-ar7otnffhx] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

.pf-wz-search input[b-ar7otnffhx] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

/* The candidates and the options (.cat-list.wz-list, .combo-opt). */
.pf-wz-list[b-ar7otnffhx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 340px;
    overflow: auto;
}

.pf-wz-opt[b-ar7otnffhx] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 5px 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.pf-wz-opt:hover[b-ar7otnffhx],
.pf-wz-opt.is-active[b-ar7otnffhx] {
    background: var(--bg-soft);
}

.pf-wz-sub[b-ar7otnffhx] {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

/* «Así queda». */
.pf-wz-plan[b-ar7otnffhx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
}

/* «Obligatoria u opcional»: one row per handover. */
.pf-wz-rows[b-ar7otnffhx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-wz-rows li[b-ar7otnffhx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.pf-wz-rn[b-ar7otnffhx] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* The return shown (.route.t-dev). */
.pf-wz-route[b-ar7otnffhx] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-alt);
}

.pf-wz-route-nm[b-ar7otnffhx] {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
}

.pf-wz-route-arrow[b-ar7otnffhx] {
    display: flex;
    justify-content: center;
    color: var(--tc);
}

.pf-wz-route-kind[b-ar7otnffhx] {
    align-self: center;
    color: var(--tci);
    font-size: 12px;
    font-weight: 600;
}

/* The reasons the workshop uses most (.fchip). */
.pf-wz-chips[b-ar7otnffhx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-wz-chip[b-ar7otnffhx] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 10px 0 9px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink-2);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.pf-wz-chip:hover[b-ar7otnffhx] {
    border-color: var(--faint);
}

.pf-wz-chip.is-on[b-ar7otnffhx] {
    border-color: var(--sel);
    background: var(--sel-soft);
    box-shadow: inset 0 0 0 1px var(--sel);
    color: var(--sel-ink);
}

/* «Otra razón» + «Agregar». */
.pf-wz-add[b-ar7otnffhx] {
    display: flex;
    gap: 6px;
}

.pf-wz-add input[b-ar7otnffhx] {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.pf-wz-add input:focus[b-ar7otnffhx] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.18);
}

.pf-wz-opt:focus-visible[b-ar7otnffhx],
.pf-wz-chip:focus-visible[b-ar7otnffhx] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Flow/ProcessFlowWorkshopPanel.razor.rz.scp.css */
/* v13 N3: the workshop panel of level 1. */
.pf-ws[b-r061hrmbi8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 18px;
    overflow-y: auto;
}

.pf-ws-top[b-r061hrmbi8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-ws-title[b-r061hrmbi8] {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.pf-ws-collapse[b-r061hrmbi8] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
    cursor: pointer;
}

.pf-ws-collapse:hover[b-r061hrmbi8] {
    color: inherit;
    background: var(--bg-alt);
}

.pf-ws-collapse:focus-visible[b-r061hrmbi8] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pf-ws-h[b-r061hrmbi8] {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.pf-ws-hint[b-r061hrmbi8] {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.pf-ws-list[b-r061hrmbi8] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-ws-row[b-r061hrmbi8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
}

.pf-ws-row.is-changed .pf-ws-label[b-r061hrmbi8]::after {
    content: " •";
    color: var(--draft);
}

.pf-ws-select[b-r061hrmbi8] {
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: inherit;
    font: inherit;
}

.pf-ws-value[b-r061hrmbi8] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-ws-flag[b-r061hrmbi8] {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.pf-ws-flag.is-on[b-r061hrmbi8] {
    background: rgba(16, 185, 129, .14);
    color: #047857;
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbAssignmentPanel.razor.rz.scp.css */
.jpas-overlay[b-m1hjpo8pwd] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jpas-dialog[b-m1hjpo8pwd] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(760px, calc(100vw - 32px));
    max-height: min(640px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jpas-head[b-m1hjpo8pwd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jpas-title h2[b-m1hjpo8pwd] {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jpas-title p[b-m1hjpo8pwd] {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jpas-close[b-m1hjpo8pwd] {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jpas-close:hover[b-m1hjpo8pwd] {
    background: var(--st-surface-sunken, #f1f5f9);
}

.jpas-close svg[b-m1hjpo8pwd] {
    width: 18px;
    height: 18px;
}

.jpas-error[b-m1hjpo8pwd] {
    margin: 12px 20px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg, #fee2e2);
    color: var(--st-danger-fg, #991b1b);
    font-size: 12.5px;
}

.jpas-body[b-m1hjpo8pwd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px 20px;
    overflow-y: auto;
}

/* La lista de personas se despliega bajo el botón y vive dentro del cuerpo con scroll: con pocos pasos necesita sitio para abrir. */
.jpas-body:has(.jpas-row)[b-m1hjpo8pwd] {
    min-height: min(340px, calc(100dvh - 160px));
}

.jpas-empty[b-m1hjpo8pwd] {
    margin: 18px 0;
    text-align: center;
    color: var(--st-text-muted, #64748b);
    font-size: 14px;
}

.jpas-row[b-m1hjpo8pwd] {
    display: grid;
    grid-template-columns: 12px minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted, #f8fafc);
}

.jpas-row.is-overdue[b-m1hjpo8pwd] {
    border-color: #e5a100;
    background: var(--st-warning-bg, #fff7e0);
}

.jpas-swatch[b-m1hjpo8pwd] {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.jpas-what[b-m1hjpo8pwd],
.jpas-when[b-m1hjpo8pwd] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jpas-process[b-m1hjpo8pwd] {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jpas-order[b-m1hjpo8pwd],
.jpas-hours[b-m1hjpo8pwd] {
    font-size: 12px;
    color: var(--st-text-muted, #64748b);
}

.jpas-when[b-m1hjpo8pwd] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text, #1e293b);
}

@media (max-width: 640px) {
    .jpas-row[b-m1hjpo8pwd] {
        grid-template-columns: 12px minmax(0, 1fr) auto;
    }

    .jpas-when[b-m1hjpo8pwd] {
        grid-column: 2 / 4;
    }
}

/* D306: filtros, el carro como encabezado de sus pasos y el responsable actual de cada paso. */
.jpas-filters[b-m1hjpo8pwd] {
    display: flex;
    gap: 6px;
    padding: 10px 24px 0;
}

.jpas-filter[b-m1hjpo8pwd] {
    padding: 4px 12px;
    border: 1px solid var(--st-border-strong, #cbd5e1);
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-subtle, #64748b);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.jpas-filter b[b-m1hjpo8pwd] {
    margin-left: 4px;
    color: var(--st-text-strong, #0f172a);
}

.jpas-filter.is-active[b-m1hjpo8pwd] {
    border-color: var(--kodawari-selected, #eab308);
    background: var(--kodawari-selected-soft, #fef3c7);
    color: var(--kodawari-selected-text, #1e3a5f);
}

.jpas-car[b-m1hjpo8pwd] {
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--st-text-brand, #1e3a5f);
}

.jpas-car span[b-m1hjpo8pwd] {
    font-weight: 500;
    color: var(--st-text-subtle, #64748b);
}

.jpas-who[b-m1hjpo8pwd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* D311: «apoyo de Equipo 1», la pastilla de las etiquetas de la ficha del proceso (.jscb-pc-tag). */
.jpas-support[b-m1hjpo8pwd] {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border: 1px solid var(--st-border-strong, #cbd5e1);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle, #64748b);
    white-space: nowrap;
}

.jpas-who-photo[b-m1hjpo8pwd] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.jpas-row.is-done[b-m1hjpo8pwd] {
    opacity: 0.6;
}

.jpas-action[b-m1hjpo8pwd] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

/* D362 (ASG-19): «Otras personas», la gente sin el cargo del proceso, junto al selector de siempre y más discreta. */
.jpas-others[b-m1hjpo8pwd] {
    display: inline-flex;
    margin-left: 6px;
}

/* Only the button is dimmed: an opacity on the wrapper would make it a stacking context and the open list would sit under the
   rows painted after it. */
.jpas-others[b-m1hjpo8pwd]  .kpp-add {
    opacity: 0.85;
}

/* D307: la sugerida del asistente de entrega para cada paso, la asignación masiva y lo que hizo. */
.jpas-bulk[b-m1hjpo8pwd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 12.5px;
    color: var(--st-text-subtle, #64748b);
}

.jpas-draft[b-m1hjpo8pwd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 24px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-surface-sunken, #f1f5f9);
    color: var(--st-text-muted, #64748b);
    font-size: 12.5px;
}

.jpas-publish[b-m1hjpo8pwd] {
    flex: none;
    padding: 4px 10px;
    border: 1px solid var(--st-text-brand, #1e3a5f);
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-brand, #1e3a5f);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.jpas-publish:hover[b-m1hjpo8pwd] {
    background: var(--st-info-bg, #eff6ff);
}

.jpas-notice[b-m1hjpo8pwd] {
    margin: 10px 24px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-info-bg, #eff6ff);
    color: var(--st-text-brand, #1e3a5f);
    font-size: 13px;
}

.jpas-suggestion[b-m1hjpo8pwd] {
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -4px;
    font-size: 12.5px;
}

.jpas-sugg-text[b-m1hjpo8pwd] {
    color: var(--st-text-subtle, #64748b);
}

.jpas-sugg-text b[b-m1hjpo8pwd] {
    color: var(--st-text-strong, #0f172a);
}

.jpas-sugg-text.is-none[b-m1hjpo8pwd] {
    color: var(--st-warning-text, #92400e);
}

.jpas-sugg-accept[b-m1hjpo8pwd] {
    padding: 2px 10px;
    border: 1px solid var(--kodawari-selected, #eab308);
    border-radius: 999px;
    background: var(--kodawari-selected-soft, #fef3c7);
    color: var(--kodawari-selected-text, #1e3a5f);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.jpas-sugg-accept:disabled[b-m1hjpo8pwd] {
    opacity: 0.5;
    cursor: default;
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbAttendance.razor.rz.scp.css */
/* Asistencia de hoy (D187): la misma caja que los responsables (fondo hundido, borde, esquinas redondeadas), entre ellos
   y Paradas; con mucha gente se desplaza por dentro y deja a Paradas el resto del alto. Títulos centrados y sin líneas
   entre grupos: el aire los separa. */
.jpcb-attendance[b-w74b7w248n] {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    max-height: 35%;
    min-height: 0;
    padding: 8px 8px 9px 8px;
    overflow-y: auto;
    scrollbar-width: thin;
    border: 1px solid var(--jscb-border);
    border-radius: 10px;
    background: var(--jscb-bg-soft);
}

.jpcb-att-section[b-w74b7w248n] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 6px;
}

.jpcb-att-title[b-w74b7w248n] {
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--jscb-text-muted);
}

/* «Sin llegar»: el título solo, centrado, y el contador pegado a la derecha; debajo, las fotos con aro ámbar (atención,
   D45). Todo el bloque es un botón que abre el panel de asistencia. */
.jpcb-att-pending[b-w74b7w248n] {
    all: unset;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: -4px;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.jpcb-att-pending:hover[b-w74b7w248n] {
    background: var(--jscb-warn-bg);
}

.jpcb-att-pending:focus-visible[b-w74b7w248n] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jpcb-att-pending .jpcb-att-title[b-w74b7w248n] {
    color: var(--jscb-warn-text);
}

.jpcb-att-title.has-count[b-w74b7w248n] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.jpcb-att-title-text[b-w74b7w248n] {
    grid-column: 2;
}

.jpcb-att-count[b-w74b7w248n] {
    grid-column: 3;
    justify-self: end;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--jscb-warn-bg);
    box-shadow: inset 0 0 0 1px var(--jscb-warn-border);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--jscb-warn-text);
}

.jpcb-att-faces[b-w74b7w248n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 2px 3px 3px 3px;
}

.jpcb-att-face[b-w74b7w248n] {
    flex: none;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg);
    box-shadow: 0 0 0 2px var(--jscb-bg-soft), 0 0 0 4px var(--jscb-warn);
}

.jpcb-att-more[b-w74b7w248n] {
    font-size: 11px;
    font-weight: 700;
    color: var(--jscb-warn-text);
}

.jpcb-att-quiet[b-w74b7w248n] {
    font-size: 11px;
    text-align: center;
    color: var(--jscb-text-faint);
}

.jpcb-att-item[b-w74b7w248n] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jpcb-att-row[b-w74b7w248n] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.jpcb-att-photo[b-w74b7w248n] {
    flex: none;
    display: block;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg);
    box-shadow: 0 0 0 1px var(--jscb-border-strong);
}

.jpcb-att-text[b-w74b7w248n] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jpcb-att-name[b-w74b7w248n] {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--jscb-text);
}

.jpcb-att-word[b-w74b7w248n] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11px;
    line-height: 13px;
    word-break: break-word;
    color: var(--jscb-text-muted);
}

.jpcb-att-none[b-w74b7w248n] {
    padding: 4px 0;
    border: 1px dashed var(--jscb-border-strong);
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    color: var(--jscb-text-faint);
}

.jpcb-att-remove[b-w74b7w248n] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--jscb-text-faint);
    cursor: pointer;
}

.jpcb-att-remove:hover:not(:disabled)[b-w74b7w248n] {
    color: var(--jscb-text);
    background: var(--jscb-bg);
}

.jpcb-att-remove svg[b-w74b7w248n] {
    width: 14px;
    height: 14px;
}

.jpcb-att-add[b-w74b7w248n] {
    align-self: flex-start;
    padding: 2px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-info);
    cursor: pointer;
}

.jpcb-att-add:hover:not(:disabled)[b-w74b7w248n] {
    text-decoration: underline;
}

.jpcb-att-add:disabled[b-w74b7w248n],
.jpcb-att-remove:disabled[b-w74b7w248n] {
    opacity: 0.5;
    cursor: default;
}

.jpcb-att-add:focus-visible[b-w74b7w248n],
.jpcb-att-remove:focus-visible[b-w74b7w248n],
.jpcb-attendance.is-closed:focus-visible[b-w74b7w248n] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jpcb-att-error[b-w74b7w248n] {
    padding: 4px 6px;
    border: 1px solid var(--jscb-error-border);
    border-radius: 6px;
    background: var(--jscb-error-bg);
    font-size: 11px;
    line-height: 14px;
    color: var(--jscb-error-text);
}

/* Recogida: el icono y los números (en ámbar los que esperan confirmación); un clic abre la columna. */
.jpcb-attendance.is-closed[b-w74b7w248n] {
    align-items: center;
    gap: 5px;
    max-height: none;
    padding: 6px 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--jscb-text-muted);
    cursor: pointer;
}

.jpcb-attendance.is-closed svg[b-w74b7w248n] {
    width: 18px;
    height: 18px;
}

.jpcb-attendance.is-closed:hover[b-w74b7w248n] {
    color: var(--jscb-text);
}

.jpcb-att-pill[b-w74b7w248n] {
    min-width: 22px;
    height: 18px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--jscb-bg-soft);
    box-shadow: inset 0 0 0 1px var(--jscb-border-strong);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--jscb-text);
}

.jpcb-att-pill.is-pending[b-w74b7w248n] {
    background: var(--jscb-warn-bg);
    box-shadow: inset 0 0 0 1px var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

.jpcb-att-pill.is-free[b-w74b7w248n] {
    box-shadow: inset 0 0 0 1px var(--jscb-ok);
    color: var(--jscb-ok);
}

@media (prefers-reduced-motion: reduce) {
    .jpcb-att-pending[b-w74b7w248n] {
        transition: none;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbAttendancePanel.razor.rz.scp.css */
/* «Asistencia del taller» (D187 v3): el popup grande de los tableros (como «Tableros del calendario», D165) sobre el
   JPCB. Neutros del tema (--st-*, claro u oscuro); los motivos con su color fijo (P5) mezclado con la superficie para
   leerse en los dos modos; ámbar = «sin llegar» (atención, D45). */
.jpa-overlay[b-ddgz0u0hd6] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.jpa-dialog[b-ddgz0u0hd6] {
    position: fixed;
    top: 4vh;
    bottom: 4vh;
    left: 50%;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1220px);
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    animation: jpa-in-b-ddgz0u0hd6 0.18s ease-out;
}

.jpa-dialog:focus[b-ddgz0u0hd6] {
    outline: none;
}

@keyframes jpa-in-b-ddgz0u0hd6 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/* Tonos: fijos por motivo, mezclados con la superficie del modo. */
.tone-training[b-ddgz0u0hd6] { --tone: #2563eb; }
.tone-vacation[b-ddgz0u0hd6] { --tone: #059669; }
.tone-permission[b-ddgz0u0hd6] { --tone: #7c3aed; }
.tone-medical[b-ddgz0u0hd6] { --tone: #0e7490; }
.tone-noshow[b-ddgz0u0hd6] { --tone: #64748b; }
.tone-other[b-ddgz0u0hd6] { --tone: #94a3b8; }
.tone-pending[b-ddgz0u0hd6] { --tone: #d97706; }
.tone-ok[b-ddgz0u0hd6] { --tone: #16a34a; }

/* ─── Cabecera ───────────────────────────────────────────────────────── */
.jpa-head[b-ddgz0u0hd6] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid var(--st-border);
}

.jpa-head-icon[b-ddgz0u0hd6] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--st-accent-bg);
    color: #d81b84;
}

.jpa-head-icon svg[b-ddgz0u0hd6] {
    width: 18px;
    height: 18px;
}

.jpa-title[b-ddgz0u0hd6] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
}

.jpa-title h2[b-ddgz0u0hd6] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jpa-title p[b-ddgz0u0hd6] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-seg[b-ddgz0u0hd6] {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
}

.jpa-seg button[b-ddgz0u0hd6] {
    padding: 5px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: var(--st-text-subtle);
    cursor: pointer;
}

/* Selección de los tableros (D91): amarillo suave con borde amarillo. */
.jpa-seg button[aria-pressed="true"][b-ddgz0u0hd6] {
    border-color: #e5b900;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.jpa-datenav[b-ddgz0u0hd6] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jpa-period[b-ddgz0u0hd6] {
    min-width: 150px;
    font-weight: 600;
    text-align: center;
    color: var(--st-text-strong);
}

.jpa-icon-btn[b-ddgz0u0hd6] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    cursor: pointer;
}

.jpa-icon-btn:hover[b-ddgz0u0hd6] {
    color: var(--st-text);
}

.jpa-icon-btn svg[b-ddgz0u0hd6] {
    width: 16px;
    height: 16px;
}

/* ─── Herramientas ───────────────────────────────────────────────────── */
.jpa-tools[b-ddgz0u0hd6] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
}

.jpa-search[b-ddgz0u0hd6] {
    position: relative;
    flex: 0 1 220px;
    min-width: 140px;
}

.jpa-search svg[b-ddgz0u0hd6] {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
}

.jpa-search input[b-ddgz0u0hd6] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-input-bg, var(--st-surface));
    font: inherit;
    color: var(--st-text);
}

.jpa-chips[b-ddgz0u0hd6] {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 6px;
}

.jpa-chip[b-ddgz0u0hd6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.jpa-chip i[b-ddgz0u0hd6],
.jpa-legend i[b-ddgz0u0hd6],
.jpa-menu i[b-ddgz0u0hd6],
.jpa-reasons i[b-ddgz0u0hd6] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--tone);
}

.jpa-chip[aria-pressed="true"][b-ddgz0u0hd6] {
    border-color: #e5b900;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.jpa-btn[b-ddgz0u0hd6] {
    padding: 7px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
    font: inherit;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jpa-btn:hover:not(:disabled)[b-ddgz0u0hd6] {
    border-color: var(--st-text-muted);
}

.jpa-btn.primary[b-ddgz0u0hd6] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.jpa-btn.primary:hover:not(:disabled)[b-ddgz0u0hd6] {
    background: #c21875;
}

.jpa-btn.warn[b-ddgz0u0hd6] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.jpa-btn.ghost[b-ddgz0u0hd6] {
    border-color: transparent;
    background: transparent;
    color: var(--st-text-subtle);
}

.jpa-btn.ghost:hover:not(:disabled)[b-ddgz0u0hd6] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.jpa-btn.sm[b-ddgz0u0hd6] {
    padding: 4px 9px;
    border-radius: 8px;
    font-size: 12px;
}

.jpa-btn:disabled[b-ddgz0u0hd6] {
    opacity: 0.5;
    cursor: default;
}

.jpa-link[b-ddgz0u0hd6] {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-info-fg);
    cursor: pointer;
}

.jpa-btn:focus-visible[b-ddgz0u0hd6],
.jpa-chip:focus-visible[b-ddgz0u0hd6],
.jpa-seg button:focus-visible[b-ddgz0u0hd6],
.jpa-icon-btn:focus-visible[b-ddgz0u0hd6],
.jpa-cell:focus-visible[b-ddgz0u0hd6],
.jpa-link:focus-visible[b-ddgz0u0hd6],
.jpa-search input:focus-visible[b-ddgz0u0hd6] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.jpa-error[b-ddgz0u0hd6],
.jpa-notice[b-ddgz0u0hd6] {
    flex: none;
    margin: 10px 16px 0;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.jpa-error[b-ddgz0u0hd6] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.jpa-notice[b-ddgz0u0hd6] {
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

/* ─── Cuerpo ─────────────────────────────────────────────────────────── */
.jpa-body[b-ddgz0u0hd6] {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.jpa-body.has-drawer[b-ddgz0u0hd6] {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.jpa-view[b-ddgz0u0hd6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    min-height: 0;
    padding: 14px 16px 18px;
    overflow-y: auto;
}

.jpa-kpis[b-ddgz0u0hd6] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(200px, 1.4fr);
    gap: 10px;
}

.jpa-kpi[b-ddgz0u0hd6],
.jpa-avail[b-ddgz0u0hd6] {
    display: grid;
    gap: 2px;
    padding: 9px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
}

.jpa-kpi span[b-ddgz0u0hd6],
.jpa-avail-top span[b-ddgz0u0hd6] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jpa-kpi b[b-ddgz0u0hd6] {
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-strong);
}

.jpa-kpi.is-pending[b-ddgz0u0hd6] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

.jpa-kpi.is-pending span[b-ddgz0u0hd6],
.jpa-kpi.is-pending b[b-ddgz0u0hd6] {
    color: var(--st-warning-text);
}

.jpa-avail[b-ddgz0u0hd6] {
    align-content: center;
    gap: 6px;
}

.jpa-avail-top[b-ddgz0u0hd6] {
    display: flex;
    justify-content: space-between;
}

.jpa-avail-top b[b-ddgz0u0hd6] {
    font-variant-numeric: tabular-nums;
    color: var(--st-text-strong);
}

.jpa-stack[b-ddgz0u0hd6] {
    display: flex;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--st-surface-sunken);
}

.jpa-stack i[b-ddgz0u0hd6] {
    display: block;
    height: 100%;
    background: var(--tone);
}

.jpa-card[b-ddgz0u0hd6] {
    display: grid;
    min-width: 0;
    border: 1px solid var(--st-border);
    border-radius: 12px;
}

.jpa-card.is-pending[b-ddgz0u0hd6] {
    border-color: var(--st-warning-border);
}

.jpa-card-head[b-ddgz0u0hd6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--st-border);
}

.jpa-card.is-pending .jpa-card-head[b-ddgz0u0hd6] {
    border-bottom-color: var(--st-warning-border);
    border-radius: 12px 12px 0 0;
    background: var(--st-warning-bg);
}

.jpa-card-head h3[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: var(--st-text-strong);
}

.jpa-card.is-pending h3[b-ddgz0u0hd6] {
    color: var(--st-warning-text);
}

.jpa-card-head p[b-ddgz0u0hd6] {
    flex: 1 1 260px;
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-count[b-ddgz0u0hd6] {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--st-text-subtle);
}

.jpa-bulk[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--st-warning-text);
}

.jpa-row[b-ddgz0u0hd6] {
    display: grid;
    grid-template-columns: 16px 34px minmax(140px, 1.4fr) minmax(70px, 0.6fr) minmax(120px, 0.9fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--st-border);
}

.jpa-row:last-child[b-ddgz0u0hd6] {
    border-bottom: 0;
}

.jpa-row.is-out[b-ddgz0u0hd6] {
    grid-template-columns: 34px minmax(140px, 1.3fr) 130px minmax(130px, 1fr) minmax(130px, 1fr) 118px;
}

.jpa-avatar[b-ddgz0u0hd6] {
    flex: none;
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--st-surface-sunken);
    box-shadow: 0 0 0 1px var(--st-border-strong);
}

.jpa-avatar.sm[b-ddgz0u0hd6] {
    width: 26px;
    height: 26px;
}

.jpa-avatar.is-pending[b-ddgz0u0hd6] {
    box-shadow: 0 0 0 2px var(--st-surface), 0 0 0 4px #d97706;
}

.jpa-who[b-ddgz0u0hd6] {
    display: grid;
    min-width: 0;
}

.jpa-who b[b-ddgz0u0hd6] {
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--st-text-strong);
}

.jpa-meta[b-ddgz0u0hd6] {
    display: grid;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-meta b[b-ddgz0u0hd6] {
    font-weight: 600;
    color: var(--st-text);
}

.jpa-meta b.jpa-late[b-ddgz0u0hd6] {
    color: var(--st-warning-text);
}

.jpa-actions[b-ddgz0u0hd6] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.jpa-menu[b-ddgz0u0hd6] {
    position: absolute;
    top: 32px;
    right: 0;
    z-index: 3;
    display: grid;
    min-width: 190px;
    padding: 4px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface-raised, var(--st-surface));
    box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.35);
}

.jpa-menu button[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font: inherit;
    text-align: left;
    color: var(--st-text);
    cursor: pointer;
}

.jpa-menu button:hover[b-ddgz0u0hd6] {
    background: var(--st-surface-sunken);
}

.jpa-reason[b-ddgz0u0hd6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    padding: 2px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tone) 14%, var(--st-surface));
    font-size: 12px;
    font-weight: 600;
    color: color-mix(in srgb, var(--tone) 78%, var(--st-text));
}

.jpa-reason[b-ddgz0u0hd6]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--tone);
}

.jpa-empty[b-ddgz0u0hd6] {
    padding: 14px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.jpa-present[b-ddgz0u0hd6] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 14px;
}

.jpa-present-item[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-present-item span[b-ddgz0u0hd6] {
    display: grid;
}

.jpa-present-item b[b-ddgz0u0hd6] {
    font-size: 12px;
    color: var(--st-text);
}

.jpa-present-item.is-waiting[b-ddgz0u0hd6] {
    opacity: 0.75;
}

.jpa-check[b-ddgz0u0hd6],
.jpa-card-head input[type="checkbox"][b-ddgz0u0hd6] {
    width: 16px;
    height: 16px;
    accent-color: #d81b84;
}

/* ─── Semana y mes ───────────────────────────────────────────────────── */
.jpa-legend[b-ddgz0u0hd6] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-legend span[b-ddgz0u0hd6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jpa-legend-hint[b-ddgz0u0hd6] {
    color: var(--st-text-muted);
}

.jpa-grid-wrap[b-ddgz0u0hd6] {
    overflow: auto;
    border: 1px solid var(--st-border);
    border-radius: 12px;
}

.jpa-grid[b-ddgz0u0hd6] {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.jpa-grid th[b-ddgz0u0hd6],
.jpa-grid td[b-ddgz0u0hd6] {
    padding: 0;
    border-right: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
    text-align: center;
}

.jpa-grid th[b-ddgz0u0hd6] {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 40px;
    background: var(--st-surface-muted);
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jpa-grid .is-weekend[b-ddgz0u0hd6] {
    background: var(--st-surface-sunken);
}

.jpa-grid th.is-today[b-ddgz0u0hd6] {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.jpa-grid td.is-today[b-ddgz0u0hd6] {
    box-shadow: inset 2px 0 0 #e5b900, inset -2px 0 0 #e5b900;
}

.jpa-grid .jpa-person[b-ddgz0u0hd6] {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 190px;
    padding: 4px 10px;
    background: var(--st-surface);
    text-align: left;
}

.jpa-grid th.jpa-person[b-ddgz0u0hd6] {
    z-index: 2;
    background: var(--st-surface-muted);
}

.jpa-grid tfoot td[b-ddgz0u0hd6] {
    height: 32px;
    background: var(--st-surface-muted);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
}

.jpa-person-cell[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jpa-person-cell b[b-ddgz0u0hd6] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--st-text-strong);
}

.jpa-cell[b-ddgz0u0hd6] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 38px;
    padding: 3px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.jpa-cell:hover[b-ddgz0u0hd6] {
    background: var(--st-surface-sunken);
}

.jpa-tag[b-ddgz0u0hd6] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-left: 3px solid var(--tone);
    border-radius: 6px;
    background: color-mix(in srgb, var(--tone) 16%, var(--st-surface));
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    color: color-mix(in srgb, var(--tone) 78%, var(--st-text));
}

.jpa-tag.is-cont[b-ddgz0u0hd6] {
    border-left-color: transparent;
}

.jpa-plus[b-ddgz0u0hd6] {
    font-size: 16px;
    color: var(--st-text-muted);
    opacity: 0;
}

.jpa-cell:hover .jpa-plus[b-ddgz0u0hd6],
.jpa-cell:focus-visible .jpa-plus[b-ddgz0u0hd6] {
    opacity: 1;
}

.jpa-grid.is-month th[b-ddgz0u0hd6] {
    min-width: 30px;
    font-size: 11px;
}

.jpa-grid.is-month .jpa-cell[b-ddgz0u0hd6] {
    height: 32px;
}

.jpa-grid.is-month .jpa-tag[b-ddgz0u0hd6] {
    border-left-width: 0;
    border-radius: 4px;
    font-size: 10px;
}

/* ─── Formulario y detalle ───────────────────────────────────────────── */
.jpa-drawer[b-ddgz0u0hd6] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
    overflow-y: auto;
    border-left: 1px solid var(--st-border);
    background: var(--st-surface-muted);
}

.jpa-drawer h3[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    font-size: 15px;
    color: var(--st-text-strong);
}

.jpa-field[b-ddgz0u0hd6] {
    display: grid;
    gap: 5px;
}

.jpa-field > label[b-ddgz0u0hd6],
.jpa-field > span[b-ddgz0u0hd6] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jpa-field select[b-ddgz0u0hd6],
.jpa-field input[b-ddgz0u0hd6],
.jpa-field textarea[b-ddgz0u0hd6] {
    box-sizing: border-box;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg, var(--st-surface));
    font: inherit;
    color: var(--st-text);
}

.jpa-field textarea[b-ddgz0u0hd6] {
    resize: vertical;
}

.jpa-two[b-ddgz0u0hd6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.jpa-reasons[b-ddgz0u0hd6] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jpa-reasons label[b-ddgz0u0hd6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jpa-reasons input[b-ddgz0u0hd6] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jpa-reasons label.is-on[b-ddgz0u0hd6] {
    border-color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, var(--st-surface));
    color: color-mix(in srgb, var(--tone) 78%, var(--st-text));
}

.jpa-reasons label:focus-within[b-ddgz0u0hd6] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.jpa-toggle[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jpa-conflict[b-ddgz0u0hd6] {
    padding: 8px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    font-size: 12px;
    color: var(--st-warning-text);
}

.jpa-quiet[b-ddgz0u0hd6] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-detail[b-ddgz0u0hd6] {
    display: grid;
    gap: 2px;
}

.jpa-detail span[b-ddgz0u0hd6] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpa-drawer-actions[b-ddgz0u0hd6] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 1100px) {
    .jpa-kpis[b-ddgz0u0hd6] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jpa-avail[b-ddgz0u0hd6] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .jpa-body.has-drawer[b-ddgz0u0hd6] {
        grid-template-columns: minmax(0, 1fr);
    }

    .jpa-drawer[b-ddgz0u0hd6] {
        border-top: 1px solid var(--st-border);
        border-left: 0;
    }

    .jpa-row[b-ddgz0u0hd6],
    .jpa-row.is-out[b-ddgz0u0hd6] {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .jpa-row .jpa-meta[b-ddgz0u0hd6],
    .jpa-row .jpa-check[b-ddgz0u0hd6] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jpa-dialog[b-ddgz0u0hd6] {
        animation: none;
    }

    .jpa-btn[b-ddgz0u0hd6] {
        transition: none;
    }
}

/* The row under the pointer is one band, name included: the day that is clicked is read with its person. */
.jpa-grid tbody tr:hover td[b-ddgz0u0hd6] {
    background: var(--st-surface-sunken);
}

.jpa-grid tbody tr:hover .jpa-plus[b-ddgz0u0hd6] {
    opacity: 0.45;
}

.jpa-grid tbody tr:hover .jpa-cell:hover .jpa-plus[b-ddgz0u0hd6] {
    opacity: 1;
}

/* The person and the days the open form is about. */
.jpa-grid tbody tr.is-draft-row td[b-ddgz0u0hd6] {
    background: var(--st-warning-bg);
}

.jpa-grid tbody tr.is-draft-row td.is-draft-day[b-ddgz0u0hd6] {
    box-shadow: inset 0 0 0 2px var(--st-warning-border);
}

.jpa-who[b-ddgz0u0hd6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-warning-border);
    border-radius: 10px;
    background: var(--st-warning-bg);
}

.jpa-who.is-empty[b-ddgz0u0hd6] {
    border-style: dashed;
    color: var(--st-text-muted);
}

.jpa-who span[b-ddgz0u0hd6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jpa-who small[b-ddgz0u0hd6] {
    font-size: 11px;
    color: var(--st-text-muted);
}

.jpa-who b[b-ddgz0u0hd6] {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jpa-summary[b-ddgz0u0hd6] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text);
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbBaysPanel.razor.rz.scp.css */
/* «Bahías del taller» (D596): la ventana grande de los tableros (como «Asistencia del taller») sobre el JPCB. Neutros del tema (--st-*,
   claro u oscuro); el color de cada bahía es el de su configuración, mezclado con la superficie. */
.jpb-overlay[b-02jhlz8kxw] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.jpb-dialog[b-02jhlz8kxw] {
    position: fixed;
    top: 5vh;
    left: 50%;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(96vw, 880px);
    max-height: 90vh;
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    animation: jpb-in-b-02jhlz8kxw 0.18s ease-out;
}

.jpb-dialog:focus[b-02jhlz8kxw] {
    outline: none;
}

@keyframes jpb-in-b-02jhlz8kxw {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .jpb-dialog[b-02jhlz8kxw] {
        animation: none;
    }
}

/* ─── Cabecera ───────────────────────────────────────────────────────── */
.jpb-head[b-02jhlz8kxw] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid var(--st-border);
}

.jpb-head-icon[b-02jhlz8kxw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--st-accent-bg);
    color: #d81b84;
}

.jpb-head-icon svg[b-02jhlz8kxw] {
    width: 18px;
    height: 18px;
}

.jpb-title[b-02jhlz8kxw] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
}

.jpb-title h2[b-02jhlz8kxw] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jpb-title p[b-02jhlz8kxw] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpb-search[b-02jhlz8kxw] {
    position: relative;
    flex: 0 1 230px;
    min-width: 150px;
    margin: 0;
}

.jpb-search svg[b-02jhlz8kxw] {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
}

.jpb-search[b-02jhlz8kxw]  input {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-input-bg, var(--st-surface));
    font: inherit;
    color: var(--st-text);
}

.jpb-icon-btn[b-02jhlz8kxw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    cursor: pointer;
}

.jpb-icon-btn:hover[b-02jhlz8kxw] {
    color: var(--st-text);
}

.jpb-icon-btn svg[b-02jhlz8kxw] {
    width: 16px;
    height: 16px;
}

/* ─── El técnico ─────────────────────────────────────────────────────── */
.jpb-person[b-02jhlz8kxw] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
}

.jpb-person-photo[b-02jhlz8kxw] {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--st-surface-sunken);
}

.jpb-person-pick[b-02jhlz8kxw],
.jpb-person-bay[b-02jhlz8kxw] {
    display: grid;
    gap: 1px;
    min-width: 0;
    margin: 0;
}

.jpb-person-pick[b-02jhlz8kxw] {
    flex: 0 1 280px;
}

.jpb-person-bay[b-02jhlz8kxw] {
    flex: 1 1 140px;
}

.jpb-person-pick span[b-02jhlz8kxw],
.jpb-person-bay span[b-02jhlz8kxw] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jpb-person-pick select[b-02jhlz8kxw] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg, var(--st-surface));
    font: inherit;
    font-weight: 600;
    color: var(--st-text-strong);
}

.jpb-person-bay b[b-02jhlz8kxw] {
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jpb-person-bay b.is-none[b-02jhlz8kxw] {
    color: var(--st-warning-text);
}

/* ─── Botones ────────────────────────────────────────────────────────── */
.jpb-btn[b-02jhlz8kxw] {
    flex: none;
    padding: 7px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
    font: inherit;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jpb-btn:hover:not(:disabled)[b-02jhlz8kxw] {
    border-color: var(--st-text-muted);
}

.jpb-btn.primary[b-02jhlz8kxw] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.jpb-btn.primary:hover:not(:disabled)[b-02jhlz8kxw] {
    background: #c21875;
}

.jpb-btn.warn[b-02jhlz8kxw] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.jpb-btn.ghost[b-02jhlz8kxw] {
    border-color: transparent;
    background: transparent;
    color: var(--st-text-subtle);
}

.jpb-btn.ghost:hover:not(:disabled)[b-02jhlz8kxw] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.jpb-btn.sm[b-02jhlz8kxw] {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.jpb-btn:disabled[b-02jhlz8kxw] {
    opacity: 0.5;
    cursor: default;
}

.jpb-btn:focus-visible[b-02jhlz8kxw],
.jpb-icon-btn:focus-visible[b-02jhlz8kxw],
.jpb-chip:focus-visible[b-02jhlz8kxw],
.jpb-people-name:focus-visible[b-02jhlz8kxw],
.jpb-people-remove:focus-visible[b-02jhlz8kxw],
.jpb-person-pick select:focus-visible[b-02jhlz8kxw],
.jpb-search[b-02jhlz8kxw]  input:focus-visible {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.jpb-error[b-02jhlz8kxw],
.jpb-notice[b-02jhlz8kxw] {
    flex: none;
    margin: 10px 16px 0;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.jpb-error[b-02jhlz8kxw] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.jpb-notice[b-02jhlz8kxw] {
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

/* ─── Las bahías ─────────────────────────────────────────────────────── */
.jpb-body[b-02jhlz8kxw] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    min-height: 120px;
    padding: 14px 16px 16px;
    overflow-y: auto;
}

.jpb-group h3[b-02jhlz8kxw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jpb-group h3 span[b-02jhlz8kxw] {
    padding: 0 8px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
}

.jpb-empty[b-02jhlz8kxw] {
    margin: 0;
    color: var(--st-text-subtle);
}

.jpb-list[b-02jhlz8kxw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    align-items: start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jpb-bay[b-02jhlz8kxw] {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

/* Selección de los tableros (D91): la bahía del técnico elegido. */
.jpb-bay.is-own[b-02jhlz8kxw] {
    border-color: #e5b900;
    background: var(--st-gold-bg);
}

.jpb-bay-row[b-02jhlz8kxw] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.jpb-bay-mark[b-02jhlz8kxw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--bay-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bay-color) 22%, var(--st-surface));
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-strong);
}

.jpb-bay-text[b-02jhlz8kxw] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}

.jpb-bay-text b[b-02jhlz8kxw] {
    overflow-wrap: anywhere;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jpb-bay-text span[b-02jhlz8kxw] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jpb-own-tag[b-02jhlz8kxw] {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-gold-text);
}

.jpb-people[b-02jhlz8kxw],
.jpb-chips[b-02jhlz8kxw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jpb-people li[b-02jhlz8kxw],
.jpb-chip[b-02jhlz8kxw] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
}

.jpb-chip[b-02jhlz8kxw] {
    gap: 6px;
    padding: 3px 10px 3px 3px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
}

.jpb-chip[aria-pressed="true"][b-02jhlz8kxw],
.jpb-people li.is-person[b-02jhlz8kxw] {
    border-color: #e5b900;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.jpb-chip:disabled[b-02jhlz8kxw],
.jpb-people-name:disabled[b-02jhlz8kxw],
.jpb-people-remove:disabled[b-02jhlz8kxw] {
    cursor: default;
}

.jpb-chip img[b-02jhlz8kxw],
.jpb-people img[b-02jhlz8kxw] {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--st-surface-sunken);
}

.jpb-people-name[b-02jhlz8kxw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 3px 10px 3px 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
}

.jpb-people-name span[b-02jhlz8kxw] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jpb-people-name:hover:not(:disabled) span[b-02jhlz8kxw] {
    text-decoration: underline;
}

.jpb-people-remove[b-02jhlz8kxw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: -6px;
    margin-right: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
}

.jpb-people-remove:hover:not(:disabled)[b-02jhlz8kxw] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.jpb-people-remove svg[b-02jhlz8kxw] {
    width: 12px;
    height: 12px;
}

.jpb-ask[b-02jhlz8kxw] {
    display: grid;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.jpb-ask p[b-02jhlz8kxw] {
    margin: 0;
    overflow-wrap: anywhere;
}

.jpb-ask-actions[b-02jhlz8kxw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jpb-foot[b-02jhlz8kxw] {
    flex: none;
    padding: 9px 16px;
    border-top: 1px solid var(--st-border);
    font-size: 12px;
    color: var(--st-text-subtle);
}

@media (max-width: 640px) {
    .jpb-dialog[b-02jhlz8kxw] {
        top: 0;
        width: 100vw;
        max-height: 100dvh;
        border-radius: 0;
    }

    .jpb-search[b-02jhlz8kxw] {
        flex: 1 1 150px;
    }

    .jpb-list[b-02jhlz8kxw] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbBoothLane.razor.rz.scp.css */
/* «Cabinas de pintura» del JPCB (lámina de Toyota, nota 7): cabecera plegable como «Recursos» y una línea de bahía por
   cabina, «Plan» (flecha y placa) arriba e «Inicio/Fin» (lo fichado) abajo. */
.jpcb-booth-head[b-3aeocwsag8] {
    height: 28px;
    border-top: 1px solid var(--jscb-border-strong);
    background: color-mix(in srgb, var(--jscb-bg-soft) 85%, transparent);
}

.jpcb-booth-head-label[b-3aeocwsag8] {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--jscb-bg-soft);
}

.jpcb-booth-toggle[b-3aeocwsag8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--jscb-text);
    white-space: nowrap;
    cursor: pointer;
}

.jpcb-booth-toggle svg[b-3aeocwsag8] {
    width: 14px;
    height: 14px;
}

.jpcb-booth-toggle:focus-visible[b-3aeocwsag8] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jpcb-booth-head-body[b-3aeocwsag8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
}

.jpcb-booth-summary[b-3aeocwsag8] {
    font-size: 11px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

/* Sobrecarga = naranja (D45); la cabina libre con OT esperando, ámbar de atención. */
.jpcb-booth-summary-cross[b-3aeocwsag8] {
    color: var(--jscb-overload);
    font-weight: 700;
}

/* D236: el ▲ N cruces es un botón (abre su aviso); se lee igual que el resto del resumen. */
.jpcb-booth-summary-cross-btn[b-3aeocwsag8] {
    padding: 0 3px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.jpcb-booth-summary-cross-btn:hover[b-3aeocwsag8] {
    background: var(--st-warning-bg, rgba(245, 158, 11, 0.12));
}

.jpcb-booth-summary-cross-btn:focus-visible[b-3aeocwsag8] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 1px;
}

.jpcb-booth-summary-free[b-3aeocwsag8] {
    color: var(--jscb-warn-text);
    font-weight: 600;
}

/* Contenedor de las cabinas: la retícula (D46) cuelga de aquí, como de las bandas. */
.jpcb-booth-rows[b-3aeocwsag8] {
    position: relative;
}

.jpcb-booth[b-3aeocwsag8] {
    border-top: 1px solid var(--jscb-border-strong);
}

/* ─── Etiqueta fija: cuadro con la letra, nombre, estado AHORA y uso de hoy; a la derecha las leyendas ─── */
.jpcb-booth-label[b-3aeocwsag8] {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: var(--jscb-bg);
}

.jpcb-booth-person[b-3aeocwsag8] {
    flex: 0 0 var(--jscb-person-label-width);
    width: var(--jscb-person-label-width);
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 4px 4px 8px;
}

.jpcb-booth-mark[b-3aeocwsag8] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.35);
}

.jpcb-booth-text[b-3aeocwsag8] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jpcb-booth-name[b-3aeocwsag8] {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    color: var(--jscb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jpcb-booth-status[b-3aeocwsag8],
.jpcb-booth-usage[b-3aeocwsag8] {
    font-size: 10.5px;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jpcb-booth-status[b-3aeocwsag8] {
    font-weight: 600;
    color: var(--jscb-text);
}

.jpcb-booth-status.is-warn[b-3aeocwsag8] {
    color: var(--jscb-warn-text);
}

.jpcb-booth-usage[b-3aeocwsag8] {
    color: var(--jscb-text-muted);
}

.jpcb-booth-legend[b-3aeocwsag8] {
    flex: 0 0 var(--jscb-legend-width);
    width: var(--jscb-legend-width);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--jscb-border);
}

.jpcb-legend-plan[b-3aeocwsag8],
.jpcb-legend-record[b-3aeocwsag8] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jpcb-legend-plan[b-3aeocwsag8] {
    flex: 0 0 auto;
    border-bottom: 1px dashed var(--jscb-border);
}

.jpcb-legend-record[b-3aeocwsag8] {
    flex: 1 1 auto;
}

/* ─── Cuerpo: raya punteada entre «Plan» e «Inicio/Fin», como la línea de bahía (D64) ─── */
.jpcb-booth-body[b-3aeocwsag8] {
    height: 100%;
}

.jpcb-booth-body[b-3aeocwsag8]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 34px;
    border-top: 1px dashed var(--jscb-border);
    pointer-events: none;
}

/* Plan: punto al inicio, la placa, la línea y la punta de flecha al fin, del color de la OT (D63). */
.jpcb-slot[b-3aeocwsag8] {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ot-color);
    font: inherit;
    cursor: pointer;
}

.jpcb-slot:focus-visible[b-3aeocwsag8] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jpcb-slot-dot[b-3aeocwsag8] {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ot-color);
}

.jpcb-slot-tag[b-3aeocwsag8] {
    flex: 0 0 auto;
    margin: 0 3px;
    padding: 0 5px;
    border: 1.5px solid var(--ot-color);
    border-radius: 4px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    white-space: nowrap;
}

.jpcb-slot-line[b-3aeocwsag8] {
    flex: 1 1 auto;
    min-width: 0;
    height: 2px;
    background: var(--ot-color);
}

.jpcb-slot-head[b-3aeocwsag8] {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--ot-color);
}

/* Vencido sin iniciar: ámbar y punteado (lo no comprometido, D45), en su hora (D312). */
.jpcb-slot.is-overdue .jpcb-slot-line[b-3aeocwsag8] {
    /* A 9 px tile and not a `repeating-linear-gradient`: Safari paints the repeating form very slowly (same dashes). */
    background: linear-gradient(90deg, var(--ot-color) 0 5px, transparent 5px) 0 0 / 9px 100%;
}

.jpcb-slot.is-overdue .jpcb-slot-tag[b-3aeocwsag8] {
    border-style: dashed;
}

/* D312: plan vencido, recursos liberados. En su hora, atenuado y con el rojo de error, como en las bandas: ya no ocupa la cabina. */
.jpcb-slot.is-expired[b-3aeocwsag8] {
    opacity: 0.55;
}

.jpcb-slot.is-expired .jpcb-slot-tag[b-3aeocwsag8] {
    color: var(--jscb-danger-text);
}

/* D591: lo que propone el borrador del próximo día hábil, sin relleno: el punto, la línea y la punta en contorno continuo. Lo publicado que
   sale o cambia queda como está, con su placa tachada (y, sin placa, con la línea que la atraviesa). */
.jpcb-slot.is-draft .jpcb-slot-dot[b-3aeocwsag8] {
    box-sizing: border-box;
    border: 2px solid var(--ot-color);
    background: var(--jscb-bg);
}

.jpcb-slot.is-draft .jpcb-slot-line[b-3aeocwsag8] {
    box-sizing: border-box;
    height: 5px;
    border-top: 1.5px solid var(--ot-color);
    border-bottom: 1.5px solid var(--ot-color);
    background: var(--jscb-bg);
}

.jpcb-slot.is-draft .jpcb-slot-head[b-3aeocwsag8] {
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    margin-left: -5px;
    border: 0 solid var(--ot-color);
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

.jpcb-slot.is-leaving .jpcb-slot-tag[b-3aeocwsag8] {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.jpcb-slot.is-leaving .jpcb-slot-line[b-3aeocwsag8] {
    position: relative;
}

.jpcb-slot.is-leaving .jpcb-slot-line[b-3aeocwsag8]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -5px;
    width: 2px;
    height: 12px;
    background: var(--jscb-text);
    transform: rotate(35deg);
}

/* Dos carros a la vez en una cabina de un puesto: franja naranja en el borde de arriba con ▲N (D45). */
.jpcb-booth-cross[b-3aeocwsag8] {
    position: absolute;
    z-index: 2;
    top: 1px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: var(--jscb-overload-line);
    font: inherit;
    cursor: pointer;
}

/* D236: la franja es un botón (abre su aviso) y mide 4 px de alto: la zona que responde al toque es más ancha que lo que se ve. */
.jpcb-booth-cross[b-3aeocwsag8]::before {
    content: "";
    position: absolute;
    inset: -3px -4px -3px;
}

.jpcb-booth-cross:hover[b-3aeocwsag8] {
    filter: brightness(0.9);
}

.jpcb-booth-cross:focus-visible[b-3aeocwsag8] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 2px;
}

.jpcb-booth-cross-mark[b-3aeocwsag8] {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 3px;
    border-radius: 3px;
    background: var(--jscb-bg);
    color: var(--jscb-overload);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 11px;
}

/* Cabina libre en la jornada con OT esperando: rayado ámbar con las horas libres. */
.jpcb-booth-gap[b-3aeocwsag8] {
    position: absolute;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px dashed var(--jscb-warn-border);
    border-radius: 4px;
    /* The hatch as a 14 px tile (two strokes 9.9 px apart, the period that repeats without a seam in a square of that side) and not a
       `repeating-linear-gradient`, which Safari paints very slowly. */
    background: linear-gradient(135deg,
        var(--jscb-warn-bg) 0 4.95px, transparent 4.95px 9.9px,
        var(--jscb-warn-bg) 9.9px 14.85px, transparent 14.85px) 0 0 / 14px 14px;
    color: var(--jscb-warn-text);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    cursor: help;
}

/* Inicio/Fin: lo fichado en el color fuerte de la OT, con la placa y las horas (D64, D68). */
.jpcb-run[b-3aeocwsag8] {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: var(--ot-color);
    font: inherit;
    overflow: hidden;
    cursor: pointer;
}

.jpcb-run:focus-visible[b-3aeocwsag8] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* En curso: el fin llega a AHORA y se ve abierto. */
.jpcb-run.is-open[b-3aeocwsag8] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: inset -3px 0 0 0 color-mix(in srgb, #ffffff 70%, var(--ot-color));
}

.jpcb-run-text[b-3aeocwsag8] {
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Desvíos de ejecución (D66c): ámbar; el rojo sigue reservado a la promesa. */
.jpcb-dev[b-3aeocwsag8] {
    position: absolute;
    z-index: 2;
    cursor: help;
}

.jpcb-dev.is-late-start[b-3aeocwsag8] {
    width: 3px;
    border-radius: 2px;
    background: var(--jscb-warn);
}

.jpcb-dev.is-overrun[b-3aeocwsag8] {
    height: 3px;
    border-radius: 2px;
    background: var(--jscb-warn);
}

/* Foco en una OT (D170): con una OT del tablero bajo el ratón, su paso por la cabina resalta y lo demás queda tenue. */
.jscb-board.jscb-focus-board .jpcb-slot:not(.jscb-focused)[b-3aeocwsag8],
.jscb-board.jscb-focus-board .jpcb-run:not(.jscb-focused)[b-3aeocwsag8] {
    opacity: 0.4;
    transition-delay: 0.08s;
}

.jscb-board.jscb-focus-board .jpcb-slot.jscb-focused[b-3aeocwsag8] {
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.35));
}

.jscb-board.jscb-focus-board .jpcb-run.jscb-focused[b-3aeocwsag8] {
    z-index: 3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Plegada (D193): las cabinas por su letra al final de la cabecera; en verde la que tiene un carro fichando (el verde
   de «trabajando» del estado en vivo) y en gris hueco la libre. */
.jpcb-booth-chips[b-3aeocwsag8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.jpcb-booth-chip[b-3aeocwsag8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    cursor: help;
}

.jpcb-booth-chip.is-busy[b-3aeocwsag8] {
    background: #16a34a;
    color: #fff;
}

.jpcb-booth-chip.is-free[b-3aeocwsag8] {
    background: transparent;
    color: var(--jscb-text-muted);
    box-shadow: inset 0 0 0 1.5px var(--jscb-text-faint);
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbLeaders.razor.rz.scp.css */
/* Responsables del taller (D182): arriba de la columna derecha del JPCB, una caja como los bloques de la columna (fondo
   hundido, borde y esquinas redondeadas) con cada cargo y sus personas; con mucha gente se desplaza por dentro y deja
   al bloque de Paradas el resto del alto. */
.jpcb-leaders[b-c8zraqfhof] {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    max-height: 35%;
    min-height: 0;
    padding: 8px 8px 9px 8px;
    overflow-y: auto;
    scrollbar-width: thin;
    border: 1px solid var(--jscb-border);
    border-radius: 10px;
    background: var(--jscb-bg-soft);
}

.jpcb-leaders-role[b-c8zraqfhof] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Sin líneas entre cargos (D187 v3): el aire los separa. */
.jpcb-leaders-role + .jpcb-leaders-role[b-c8zraqfhof] {
    padding-top: 6px;
}

.jpcb-leaders-title[b-c8zraqfhof] {
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--jscb-text-muted);
}

.jpcb-leader[b-c8zraqfhof] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.jpcb-leader-photo[b-c8zraqfhof] {
    flex: none;
    display: block;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg);
    box-shadow: 0 0 0 1px var(--jscb-border-strong);
}

.jpcb-leader-name[b-c8zraqfhof] {
    flex: 1 1 auto;
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    color: var(--jscb-text);
    word-break: break-word;
}

.jpcb-leaders-none[b-c8zraqfhof] {
    padding: 4px 0;
    border: 1px dashed var(--jscb-border-strong);
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    color: var(--jscb-text-faint);
}

/* Recogida: solo las fotos, una bajo otra y por cargo; un clic abre la columna. */
.jpcb-leaders.is-closed[b-c8zraqfhof] {
    align-items: center;
    gap: 10px;
    max-height: 40%;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.jpcb-leaders.is-closed:hover .jpcb-leader-photo[b-c8zraqfhof] {
    box-shadow: 0 0 0 2px var(--jscb-border-strong);
}

.jpcb-leaders.is-closed:focus-visible[b-c8zraqfhof] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jpcb-leaders-stack[b-c8zraqfhof] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.jpcb-leaders.is-closed .jpcb-leader-photo[b-c8zraqfhof] {
    width: 28px;
    height: 28px;
}

.jpcb-leader-photo.is-empty[b-c8zraqfhof] {
    border: 1px dashed var(--jscb-border-strong);
    background: transparent;
    box-shadow: none;
}
/* /Pages/Home/Components/Calendar/Jscb/JpcbMeetingPanel.razor.rz.scp.css */
/* F17 (F17-1): «Reunión de inicio», con el marco de «Cola de cabinas», a lo ancho para la pantalla grande del taller. */
.jmt-overlay[b-gn34c3zfyk] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.55);
}

.jmt-dialog[b-gn34c3zfyk] {
    position: fixed;
    inset: 24px;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jmt-head[b-gn34c3zfyk] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--st-border);
}

.jmt-title h2[b-gn34c3zfyk] {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jmt-title p[b-gn34c3zfyk] {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text-muted, #64748b);
}

.jmt-title p.is-missing[b-gn34c3zfyk] {
    color: var(--st-danger-fg, #b91c1c);
}

.jmt-close[b-gn34c3zfyk] {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jmt-close svg[b-gn34c3zfyk] {
    width: 20px;
    height: 20px;
}

.jmt-body[b-gn34c3zfyk] {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 24px;
    overflow-y: auto;
}

.jmt-card[b-gn34c3zfyk] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    /* --st-surface-alt does not exist in the theme: the card fell back to near-white while the text tokens turn light in the dark theme. */
    background: var(--st-surface-muted, #f8fafc);
    color: var(--st-text, #1e293b);
}

.jmt-card h3[b-gn34c3zfyk] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jmt-count[b-gn34c3zfyk] {
    min-width: 26px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--st-fill-5, #e2e8f0);
    color: var(--st-text, #1e293b);
    font-size: 13px;
    text-align: center;
}

.jmt-count.is-alert[b-gn34c3zfyk] {
    background: var(--st-danger-bg-strong, #fee2e2);
    color: var(--st-danger-fg, #b91c1c);
}

.jmt-steps[b-gn34c3zfyk],
.jmt-processes[b-gn34c3zfyk],
.jmt-change-list[b-gn34c3zfyk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jmt-step[b-gn34c3zfyk],
.jmt-process-row[b-gn34c3zfyk] {
    display: grid;
    grid-template-columns: 56px 96px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--st-text, #1e293b);
}

.jmt-process-row[b-gn34c3zfyk] {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 1fr);
}

.jmt-time[b-gn34c3zfyk],
.jmt-plate[b-gn34c3zfyk],
.jmt-cars[b-gn34c3zfyk] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jmt-process[b-gn34c3zfyk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jmt-dot[b-gn34c3zfyk] {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--st-text-muted, #94a3b8);
}

.jmt-who[b-gn34c3zfyk],
.jmt-working[b-gn34c3zfyk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--st-text-muted, #64748b);
}

.jmt-change[b-gn34c3zfyk] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 15px;
    background: var(--st-warning-bg-strong, #fef3c7);
    color: var(--st-warning-text, #78350f);
}

.jmt-change.is-danger[b-gn34c3zfyk] {
    background: var(--st-danger-bg-strong, #fee2e2);
    color: var(--st-danger-text, #7f1d1d);
}

.jmt-change.is-info[b-gn34c3zfyk] {
    background: var(--st-info-bg-strong, #e0f2fe);
    color: var(--st-info-text, #0c4a6e);
}

.jmt-change-word[b-gn34c3zfyk] {
    flex: 0 0 auto;
    min-width: 88px;
    font-weight: 800;
}

.jmt-change .jmt-ack[b-gn34c3zfyk] {
    flex: 0 0 auto;
    margin-left: auto;
}

.jmt-crew[b-gn34c3zfyk] {
    grid-column: 1 / -1;
}

.jmt-crew-list[b-gn34c3zfyk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 6px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jmt-crew-row[b-gn34c3zfyk] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    font-size: 15px;
    color: var(--st-text, #1e293b);
}

.jmt-crew-name[b-gn34c3zfyk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.jmt-crew-steps[b-gn34c3zfyk] {
    color: var(--st-text-muted, #64748b);
    white-space: nowrap;
}

.jmt-crew-state[b-gn34c3zfyk] {
    font-weight: 700;
    white-space: nowrap;
    color: var(--st-success-fg, #15803d);
}

.jmt-crew-state.is-pending[b-gn34c3zfyk] {
    font-weight: 600;
    color: var(--st-text-muted, #64748b);
}

.jmt-ack[b-gn34c3zfyk] {
    padding: 5px 14px;
    /* --st-primary does not exist in the theme either: navy on navy in the dark theme. The info tokens read in both. */
    border: 1px solid var(--st-info-fg, #2563eb);
    border-radius: 999px;
    background: transparent;
    color: var(--st-info-fg, #2563eb);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.jmt-ack:hover:not(:disabled)[b-gn34c3zfyk] {
    background: var(--st-info-bg-strong, #dbeafe);
}

.jmt-ack:disabled[b-gn34c3zfyk] {
    opacity: 0.6;
    cursor: default;
}

.jmt-empty[b-gn34c3zfyk] {
    margin: 0;
    font-size: 14px;
    color: var(--st-text-muted, #64748b);
}

.jmt-foot[b-gn34c3zfyk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid var(--st-border);
}

.jmt-held[b-gn34c3zfyk] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-success-fg, #15803d);
}

.jmt-held.is-pending[b-gn34c3zfyk] {
    color: var(--st-text-muted, #64748b);
    font-weight: 600;
}

.jmt-note[b-gn34c3zfyk] {
    flex: 1 1 280px;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-input-bg, #fff);
    color: var(--st-text, #1e293b);
    font-size: 14px;
}

.jmt-mark[b-gn34c3zfyk] {
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    /* Same blue as «Publicar» (JscbPublishPanel), the sibling dialog. */
    background: var(--jscb-info, #2563eb);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.jmt-mark:disabled[b-gn34c3zfyk] {
    opacity: 0.6;
    cursor: default;
}

.jmt-error[b-gn34c3zfyk] {
    flex-basis: 100%;
    margin: 0;
    font-size: 13px;
    color: var(--st-danger-fg, #b91c1c);
}

@media (max-width: 900px) {
    .jmt-dialog[b-gn34c3zfyk] {
        inset: 8px;
    }

    .jmt-body[b-gn34c3zfyk] {
        grid-template-columns: minmax(0, 1fr);
    }

    .jmt-step[b-gn34c3zfyk] {
        grid-template-columns: 48px 84px minmax(0, 1fr);
    }

    .jmt-step .jmt-who[b-gn34c3zfyk] {
        grid-column: 3;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbArrangePanel.razor.rz.scp.css */
/* «Reacomodar taller» (D351–D356, prototype v3) inside the right floating zone. The board's tokens (--jscb-*, --st-*,
   --kodawari-selected*): dark by default like the rest of the JSCB. Labels wrap and are never cut; the foot stays at the bottom with the
   magenta of the proposal. */
.jscb-arrange[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    font-size: 12px;
    color: var(--jscb-text);
}

.jscb-arrange-body[b-grw585f9v0] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
}

.jscb-arrange-foot[b-grw585f9v0] {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--jscb-border);
    border-bottom: 2px solid var(--jscb-accent);
    background: var(--jscb-bg);
}

.jscb-arrange-sum[b-grw585f9v0] {
    font-size: 11.5px;
    color: var(--jscb-text-muted);
}

.jscb-arrange-sum b[b-grw585f9v0] {
    color: var(--st-text-strong);
}

.jscb-arrange-acts[b-grw585f9v0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jscb-arrange-btn[b-grw585f9v0] {
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.jscb-arrange-btn:hover:not(:disabled)[b-grw585f9v0] {
    background: var(--jscb-bg-alt);
}

.jscb-arrange-btn:disabled[b-grw585f9v0] {
    opacity: 0.5;
    cursor: default;
}

.jscb-arrange-btn:focus-visible[b-grw585f9v0],
.jscb-arrange-count:focus-visible[b-grw585f9v0],
.jscb-arrange-link:focus-visible[b-grw585f9v0],
.jscb-arrange-seg button:focus-visible[b-grw585f9v0],
.jscb-arrange-pick-head input:focus-visible[b-grw585f9v0] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* The action of the proposal: magenta (§5.2). */
.jscb-arrange-btn.is-primary[b-grw585f9v0] {
    border-color: var(--jscb-accent);
    background: var(--jscb-accent);
    color: var(--st-on-accent, #fff);
}

.jscb-arrange-btn.is-primary:hover:not(:disabled)[b-grw585f9v0] {
    background: var(--jscb-accent);
    filter: brightness(1.08);
}

/* «Ocultar del tablero» on: the selection of the boards (D75, D91). */
.jscb-arrange-btn.is-on[b-grw585f9v0],
.jscb-arrange-btn.is-on:hover:not(:disabled)[b-grw585f9v0] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-arrange-label[b-grw585f9v0] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jscb-text-faint);
}

/* ─── Notices ───────────────────────────────────────────────────────────── */

.jscb-arrange-msg[b-grw585f9v0] {
    padding: 7px 10px;
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    background: var(--jscb-bg-alt);
    font-size: 11.5px;
    color: var(--st-text-body, var(--jscb-text));
}

/* Amber = attention, as in Imprevistos. */
.jscb-arrange-msg.is-warn[b-grw585f9v0] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

/* ─── Before computing ──────────────────────────────────────────────────── */

.jscb-arrange-scope[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jscb-arrange-pick[b-grw585f9v0] {
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    background: var(--jscb-bg-alt);
}

.jscb-arrange-pick-head[b-grw585f9v0] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 8px 8px 10px;
}

.jscb-arrange-pick-head input[b-grw585f9v0] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--kodawari-selected);
}

.jscb-arrange-pick-head label[b-grw585f9v0] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
    cursor: pointer;
}

.jscb-arrange-pick.is-off .jscb-arrange-pick-head label[b-grw585f9v0] {
    font-weight: 600;
    color: var(--jscb-text-muted);
}

/* D362 (PLN-19): «Incluir las que piden tu decisión», in the amber of «decides tú» (D361). */
.jscb-arrange-pick.is-decide[b-grw585f9v0] {
    border-style: dashed;
}

.jscb-arrange-pick.is-decide > .jscb-arrange-line[b-grw585f9v0] {
    padding: 0 10px 8px 36px;
}

.jscb-arrange-count[b-grw585f9v0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 8px 0 10px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: var(--jscb-bg);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-arrange-count span[b-grw585f9v0] {
    font-size: 10px;
    color: var(--jscb-text-faint);
}

.jscb-arrange-count:hover:not(:disabled)[b-grw585f9v0] {
    background: var(--st-surface-raised, var(--jscb-bg-alt));
}

.jscb-arrange-count:disabled[b-grw585f9v0] {
    cursor: default;
    color: var(--jscb-text-muted);
}

/* The open list: gold like everything open on the boards (D75, D91). */
.jscb-arrange-count.is-open[b-grw585f9v0] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

/* ─── Lists ─────────────────────────────────────────────────────────────── */

.jscb-arrange-rows[b-grw585f9v0] {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--jscb-border);
}

.jscb-arrange-rows-sep[b-grw585f9v0] {
    padding: 6px 10px 2px;
    border-bottom: 1px solid var(--jscb-border);
    font-size: 11px;
    font-weight: 700;
    color: var(--st-warning-fg);
}

.jscb-arrange-row[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--jscb-border);
    font-size: 11.5px;
}

.jscb-arrange-row:last-child[b-grw585f9v0] {
    border-bottom: 0;
}

.jscb-arrange-row:hover[b-grw585f9v0] {
    background: var(--st-fill-2, var(--jscb-bg-row));
}

.jscb-arrange-row-top[b-grw585f9v0] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
}

.jscb-arrange-row-top b[b-grw585f9v0] {
    font-size: 12.5px;
    color: var(--st-text-strong);
}

.jscb-arrange-row.is-blocked .jscb-arrange-row-top b[b-grw585f9v0] {
    color: var(--jscb-text-muted);
}

.jscb-arrange-team[b-grw585f9v0] {
    color: var(--jscb-text-faint);
}

.jscb-arrange-prom[b-grw585f9v0] {
    margin-left: auto;
    color: var(--jscb-text-muted);
}

.jscb-arrange-tag[b-grw585f9v0] {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.jscb-arrange-tag.is-mute[b-grw585f9v0] {
    background: var(--st-fill-3, var(--jscb-bg-row));
    color: var(--jscb-text-muted);
}

.jscb-arrange-tag.is-late[b-grw585f9v0] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.jscb-arrange-line[b-grw585f9v0] {
    color: var(--jscb-text-muted);
}

.jscb-arrange-line b[b-grw585f9v0] {
    color: var(--st-text-strong);
}

.jscb-arrange-line.is-ok[b-grw585f9v0] {
    color: var(--st-success-fg);
    font-weight: 700;
}

.jscb-arrange-line.is-bad[b-grw585f9v0] {
    color: var(--st-danger-fg);
    font-weight: 700;
}

.jscb-arrange-why[b-grw585f9v0] {
    color: var(--st-warning-text);
}

.jscb-arrange-row.is-kept .jscb-arrange-line[b-grw585f9v0] {
    color: var(--jscb-text-faint);
}

/* ─── Computing ─────────────────────────────────────────────────────────── */

.jscb-arrange-calc[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 4px;
    font-size: 12.5px;
    color: var(--jscb-text-muted);
}

.jscb-arrange-calc b[b-grw585f9v0] {
    font-size: 13px;
    color: var(--st-text-strong);
}

.jscb-arrange-spinner[b-grw585f9v0] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--jscb-border-strong);
    border-top-color: var(--jscb-accent);
    border-radius: 50%;
    animation: jscb-arrange-spin-b-grw585f9v0 0.9s linear infinite;
}

@keyframes jscb-arrange-spin-b-grw585f9v0 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-arrange-spinner[b-grw585f9v0] {
        animation: none;
    }
}

/* ─── Result («Así quedaría») ───────────────────────────────────────────── */

.jscb-arrange-result[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jscb-arrange-seg[b-grw585f9v0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    overflow: hidden;
}

.jscb-arrange-seg.is-single[b-grw585f9v0] {
    grid-template-columns: 1fr;
}

.jscb-arrange-seg button[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.jscb-arrange-seg button + button[b-grw585f9v0] {
    border-left: 1px solid var(--jscb-border-strong);
}

.jscb-arrange-seg button b[b-grw585f9v0] {
    font-weight: 700;
    color: var(--jscb-text);
}

.jscb-arrange-seg button span[b-grw585f9v0] {
    font-size: 11px;
    color: var(--jscb-text-faint);
}

.jscb-arrange-seg button.is-active[b-grw585f9v0] {
    background: var(--kodawari-selected-soft);
}

.jscb-arrange-seg button.is-active b[b-grw585f9v0] {
    color: var(--kodawari-selected-text);
}

.jscb-arrange-seg button:disabled[b-grw585f9v0] {
    cursor: default;
}

.jscb-arrange-explain[b-grw585f9v0] {
    font-size: 11.5px;
    color: var(--jscb-text-muted);
}

/* The figures in label → value rows (no tiles, no cuts). */
.jscb-arrange-score[b-grw585f9v0] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    background: var(--jscb-bg-alt);
}

.jscb-arrange-score dt[b-grw585f9v0] {
    color: var(--jscb-text-muted);
}

.jscb-arrange-score dd[b-grw585f9v0] {
    margin: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text);
}

.jscb-arrange-score dd b[b-grw585f9v0] {
    color: var(--st-text-strong);
}

.jscb-arrange-score dd.is-better b[b-grw585f9v0] {
    color: var(--st-success-fg);
}

.jscb-arrange-score dd.is-worse b[b-grw585f9v0] {
    color: var(--st-danger-fg);
}

.jscb-arrange-score-title[b-grw585f9v0] {
    margin: 10px 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jscb-arrange-lever[b-grw585f9v0] {
    padding: 8px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    font-size: 11.5px;
    color: var(--st-text-body, var(--jscb-text));
}

.jscb-arrange-lever b[b-grw585f9v0] {
    color: var(--st-text-strong);
}

.jscb-arrange-lever ul[b-grw585f9v0] {
    margin: 4px 0 0;
    padding-left: 16px;
}

.jscb-arrange-groups[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jscb-arrange-group[b-grw585f9v0] {
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    background: var(--jscb-bg-alt);
}

.jscb-arrange-group-head[b-grw585f9v0] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: start;
    padding: 8px 10px 6px;
}

.jscb-arrange-group-name[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.jscb-arrange-group-title[b-grw585f9v0] {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-arrange-group-what[b-grw585f9v0] {
    font-size: 11.5px;
    color: var(--jscb-text-muted);
}

.jscb-arrange-group-count[b-grw585f9v0] {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-strong);
}

.jscb-arrange-link[b-grw585f9v0] {
    margin: 0 6px 6px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-arrange-link:hover[b-grw585f9v0] {
    color: var(--st-text-strong);
    text-decoration: underline;
}

/* The verdict of D270: ✓ green, amber when it is left tight, ✗ red (the marks come from the server). */
.jscb-arrange-mark.is-ok[b-grw585f9v0] {
    color: var(--st-success-fg);
    font-weight: 700;
}

.jscb-arrange-mark.is-tight[b-grw585f9v0] {
    color: var(--st-warning-fg);
    font-weight: 700;
}

.jscb-arrange-mark.is-bad[b-grw585f9v0] {
    color: var(--st-danger-fg);
    font-weight: 700;
}

/* «−Δ» green only when it reaches its promise thanks to the change; «+Δ» grey, amber or red, as at planning. */
.jscb-arrange-delta[b-grw585f9v0] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    vertical-align: 1px;
}

.jscb-arrange-delta.is-gain[b-grw585f9v0] {
    background: var(--st-success-fg);
    color: #0f172a;
}

.jscb-arrange-delta.is-ok[b-grw585f9v0] {
    background: var(--st-surface-strong);
    color: var(--jscb-text);
}

.jscb-arrange-delta.is-tight[b-grw585f9v0] {
    background: var(--st-warning-fg);
    color: #0f172a;
}

.jscb-arrange-delta.is-late[b-grw585f9v0] {
    background: var(--st-danger-fg);
    color: #0f172a;
}

/* ─── Saved ─────────────────────────────────────────────────────────────── */

.jscb-arrange-saved[b-grw585f9v0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-success-border);
    border-radius: 8px;
    background: var(--st-success-bg);
    color: var(--jscb-text);
}

.jscb-arrange-saved-text[b-grw585f9v0] {
    flex: 1 1 auto;
}

.jscb-arrange-saved b[b-grw585f9v0] {
    color: var(--st-text-strong);
}

/* Heijunka: «Qué se mueve», on top of the groups: every order the option moves, with «Ubicar en el tablero». */
.jscb-arrange-moved[b-grw585f9v0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--jscb-border, var(--st-border));
    border-radius: 8px;
}

.jscb-arrange-locate[b-grw585f9v0] {
    align-self: flex-start;
    margin-top: 2px;
    padding: 2px 8px;
    border: 1px solid var(--jscb-border, var(--st-border));
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-strong);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.jscb-arrange-locate:hover[b-grw585f9v0] {
    border-color: var(--st-text-strong);
}

/* «Ubicar en el tablero» and «¿Por qué?» side by side (D619). */
.jscb-arrange-row-acts[b-grw585f9v0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* What the result leaves out, closed (D619). */
.jscb-arrange-out[b-grw585f9v0] {
    margin: 10px 12px 0;
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    font-size: 12px;
}

.jscb-arrange-out > summary[b-grw585f9v0] {
    padding: 7px 10px;
    color: var(--st-text-body);
    font-weight: 600;
    cursor: pointer;
}

.jscb-arrange-out > summary:focus-visible[b-grw585f9v0] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-arrange-out-kind[b-grw585f9v0] {
    padding: 6px 10px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-arrange-out-kind .jscb-arrange-row[b-grw585f9v0] {
    padding: 5px 0;
}

.jscb-arrange-locate:focus-visible[b-grw585f9v0] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbBacklogGuide.razor.rz.scp.css */
/* Cómo leer la barra de «Por programar»: las mismas marcas que .jscb-backlog-step (JscbBacklogList.razor.css), sobre el color
   neutro de los chips. */
.jscb-bguide[b-zay7trvre3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--jscb-text);
}

.jscb-bguide p[b-zay7trvre3] {
    margin: 0;
    color: var(--jscb-text-muted);
}

.jscb-bguide-title[b-zay7trvre3] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jscb-text-muted);
}

.jscb-bguide-rows[b-zay7trvre3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 0;
    padding: 0;
    list-style: none;
}

.jscb-bguide-rows li[b-zay7trvre3] {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 10px;
}

.jscb-bguide-sample[b-zay7trvre3] {
    display: inline-flex;
    justify-content: center;
}

.jscb-bguide-step[b-zay7trvre3] {
    --chip-color: var(--jscb-chip-neutral);
    width: 32px;
    height: 8px;
    border-radius: 3px;
    background: var(--chip-color);
}

.jscb-bguide-step.is-running[b-zay7trvre3] {
    box-shadow: 0 0 0 2px var(--jscb-text);
}

.jscb-bguide-step.is-done[b-zay7trvre3] {
    background: color-mix(in srgb, var(--chip-color) 35%, transparent);
}

.jscb-bguide-step.is-tentative[b-zay7trvre3] {
    background: transparent;
    outline: 1px dashed var(--chip-color);
    outline-offset: -1px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbBacklogList.razor.rz.scp.css */
/* «Por programar» (lámina L4, D77): cada OT es una tarjeta de panel (JscbPanelCard), la del inbox a lo
   ancho; sin autorizar, con borde punteado. Aquí van los bolsillos, la mini-cadena y la simulación. */
.jscb-backlog-empty[b-6w6ngmesu5] {
    padding: 16px 12px;
    color: var(--jscb-text-muted);
}

.jscb-backlog[b-6w6ngmesu5] {
    list-style: none;
    margin: 0;
    padding: 6px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ─── Bolsillos (D8): cabecera pequeña en mayúsculas con el color del proceso y el conteo ────── */
.jscb-backlog-pocket + .jscb-backlog-pocket[b-6w6ngmesu5] {
    border-top: 1px solid var(--jscb-border);
}

.jscb-backlog-pocket-head[b-6w6ngmesu5] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jscb-text-muted);
}

.jscb-backlog-pocket-dot[b-6w6ngmesu5] {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--pocket-color);
}

.jscb-backlog-pocket-name[b-6w6ngmesu5] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-backlog-pocket-count[b-6w6ngmesu5] {
    font-weight: 600;
    color: var(--jscb-text-faint);
}

.jscb-backlog-pocket.is-workshop .jscb-backlog-pocket-head[b-6w6ngmesu5] {
    color: var(--jscb-warn-text);
}

/* Dos tramos de la lista: «Listas para programar» arriba y «En ejecución» debajo. */
.jscb-backlog-section[b-6w6ngmesu5] {
    padding: 8px 12px 2px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jscb-text-strong, var(--jscb-text-muted));
}

.jscb-backlog-section.is-running[b-6w6ngmesu5] {
    margin-top: 6px;
    border-top: 2px solid var(--jscb-warn, var(--jscb-border));
    padding-top: 10px;
    color: var(--jscb-warn-text);
}

/* La tarjeta ocupa el ancho; el arrastre lo marca jscb-board.js en la tarjeta (is-dragging). */
.jscb-backlog-card[b-6w6ngmesu5] {
    min-width: 0;
}

/* D259: la tarjeta a la que llevó el buscador; la marca jscb-board.js (locateBacklogCard) un momento. */
.jscb-backlog-card.jscb-located[b-6w6ngmesu5] {
    outline: 2px solid var(--jscb-accent);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Mini-cadena bajo el renglón: barras de 8 px con ancho proporcional a las horas del paso, sin texto; el ratón encima dice las horas
   asignadas y las del taller (title del paso). */
.jscb-backlog-chain[b-6w6ngmesu5] {
    display: flex;
    gap: 2px;
    height: 8px;
    margin-top: 4px;
}

.jscb-backlog-step[b-6w6ngmesu5] {
    min-width: 6px;
    border-radius: 3px;
    background: var(--chip-color);
    cursor: help;
}

.jscb-pcard.is-tentative .jscb-backlog-step[b-6w6ngmesu5] {
    background: transparent;
    outline: 1px dashed var(--chip-color);
    outline-offset: -1px;
}

/* Cómo va cada proceso, una marca por significado. Sin planear (lo que falta) queda con su color lleno, como siempre; en curso
   (la OT está en ese proceso) lleva un borde del color del texto; hecho queda tenue, también sobre la tentativa (su punteado sigue). */
.jscb-backlog-step.is-running[b-6w6ngmesu5] {
    margin: 0 2px;
    box-shadow: 0 0 0 2px var(--jscb-text);
}

.jscb-backlog-step.is-done[b-6w6ngmesu5],
.jscb-pcard.is-tentative .jscb-backlog-step.is-done[b-6w6ngmesu5] {
    background: color-mix(in srgb, var(--chip-color) 35%, transparent);
}

/* D373: cuándo llegan los repuestos y si el pedido es de importación (A15): un dato, no un aviso. */
.jscb-backlog-parts[b-6w6ngmesu5] {
    display: block;
    margin-top: 4px;
    color: var(--jscb-text-muted);
    font-size: 11px;
    line-height: 14px;
}

/* D311: qué tan cerca la dejaría «Programar» (marcador perezoso), con la pastilla y los colores de la de la barra. */
.jscb-backlog-peek[b-6w6ngmesu5] {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
}

.jscb-backlog-peek.is-ok[b-6w6ngmesu5] {
    color: var(--st-success-fg);
}

.jscb-backlog-peek.is-up[b-6w6ngmesu5] {
    color: var(--st-accent-text, var(--jscb-accent));
}

.jscb-backlog-peek.is-tight[b-6w6ngmesu5] {
    color: var(--st-warning-fg, var(--jscb-warn));
}

.jscb-backlog-peek.is-late[b-6w6ngmesu5] {
    color: var(--st-danger-fg, var(--jscb-danger-text));
}

/* D257: la lista sin regla guardada. Una pastilla ámbar en la cabecera; al tocarla, la explicación y «Configurar». */
.jscb-backlog-rule[b-6w6ngmesu5] {
    margin: 8px 10px 0;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
}

.jscb-backlog-rule-head[b-6w6ngmesu5] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.jscb-backlog-rule-icon[b-6w6ngmesu5] {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.jscb-backlog-rule-icon svg[b-6w6ngmesu5] {
    width: 100%;
    height: 100%;
}

.jscb-backlog-rule-body[b-6w6ngmesu5] {
    display: grid;
    justify-items: start;
    gap: 6px;
    padding: 0 8px 8px;
    font-size: 12px;
    line-height: 16px;
}

.jscb-backlog-rule-body p[b-6w6ngmesu5] {
    margin: 0;
}

.jscb-backlog-rule-quiet[b-6w6ngmesu5] {
    color: var(--jscb-text-muted);
}

/* D158: tomar una tarjeta (la que se arrastra o la que dice por qué no) no selecciona su texto; todo lo que dice está en su título. */
.jscb-backlog-card[b-6w6ngmesu5]  .jscb-pcard[data-plan-source],
.jscb-backlog-card[b-6w6ngmesu5]  .jscb-pcard[data-plan-refusal] {
    -webkit-user-select: none;
    user-select: none;
}

/* P4, V22: con el foco en una tarjeta de «Por programar», su anillo lleva la lengüeta «Espacio: mover · Enter: abrir» (solo con foco). */
.jscb-backlog-card[b-6w6ngmesu5]  .jscb-pcard[data-plan-keys] {
    position: relative;
}

.jscb-backlog-card[b-6w6ngmesu5]  .jscb-pcard[data-plan-keys]:focus-visible {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-backlog-card[b-6w6ngmesu5]  .jscb-pcard[data-plan-keys]:focus-visible::after {
    content: attr(data-plan-keys);
    position: absolute;
    right: 8px;
    bottom: -11px;
    z-index: 2;
    padding: 1px 8px;
    border-radius: 9999px;
    background: var(--jscb-accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
}

/* D529, D541: the tabs are chips like the filters of «Imprevistos» (the same size, border, count in bold and chosen look), always at
   hand while the list scrolls under them; they wrap so that no group hides off to the side. */
.jscb-backlog-tabs[b-6w6ngmesu5] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--jscb-border);
    background: var(--jscb-bg);
}

.jscb-backlog-tab[b-6w6ngmesu5] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    background: var(--jscb-bg);
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-backlog-tab:focus-visible[b-6w6ngmesu5] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Chosen (D75, D91): as every active button of the boards, soft yellow with a yellow border and navy text. */
.jscb-backlog-tab.is-active[b-6w6ngmesu5] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-backlog-tab-count[b-6w6ngmesu5] {
    font-weight: 700;
}

/* D541: one list per process under its head. */
/* D542: the band of each process head already separates the groups; a folded one leaves only its band. */
.jscb-backlog-process.is-collapsed:last-child[b-6w6ngmesu5] {
    padding-bottom: 8px;
}

/* D371 (F2): «Fuera de Por programar», folded at the end of the zone; open, its orders are the same cards as the rest of the list. */
.jscb-backlog-rest[b-6w6ngmesu5] {
    margin-top: 8px;
}

.jscb-backlog-rest > summary[b-6w6ngmesu5] {
    cursor: pointer;
    list-style: none;
}

/* F10 (F10-4, A11): dónde está el vehículo. Fuera sin llegada acordada y «no llegó», en ámbar. */
.jscb-backlog-where[b-6w6ngmesu5] {
    display: block;
    font-size: 11.5px;
    color: var(--jscb-text-muted);
}

.jscb-backlog-where.is-outside[b-6w6ngmesu5],
.jscb-backlog-where.is-absent[b-6w6ngmesu5] {
    color: var(--st-warning-text);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbBoard.razor.rz.scp.css */
/* JSCB · raíz. Sobre la superficie del panel Calendario (blanca en claro, azul marino en oscuro, D136): los tokens --jscb-* los declara JscbTokens,
   que envuelve la raíz, y los heredan todos los hijos (también la ficha del plan dentro de la ficha de la OT, D117).
   Las medidas en píxeles llegan en línea desde JscbBoardMetrics. */
.jscb-board[b-myt1bb8915] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    font-family: var(--jscb-font);
    font-size: 12px;
    line-height: 1.3;
    color: var(--jscb-text);
    background: var(--jscb-bg);
    box-sizing: border-box;
}

.jscb-board *[b-myt1bb8915],
.jscb-board *[b-myt1bb8915]::before,
.jscb-board *[b-myt1bb8915]::after {
    box-sizing: border-box;
}

/* D286: strengthen only neutral marks; identity, promise colors and the workshop's appearance stay inherited. */
.jscb-board[data-jscb-contrast="more"][b-myt1bb8915] {
    --jscb-mark-ink: var(--st-text-secondary);
    --jscb-mark-hatch-width: 3px;
    --jscb-mark-hatch-opacity: 100%;
    --jscb-mark-pause-bg: var(--st-surface-strong);
    --jscb-mark-frame-width: 3px;
}

.jscb-board[data-jscb-contrast="more"][b-myt1bb8915]  .jscb-chip-break:not(.is-schedule) {
    border-width: 3px;
    border-color: var(--jscb-mark-ink);
    background: var(--jscb-mark-pause-bg);
}

.jscb-board[data-jscb-contrast="more"][b-myt1bb8915]  .jscb-chip-break.is-schedule {
    box-shadow: inset 0 2px 0 var(--jscb-mark-ink), inset 0 -2px 0 var(--jscb-mark-ink);
}

/* Las franjas de estado y los avisos flotantes pasaron a la línea de mensajes (KodawariMessageLine, D544). */

/* ─── Cuerpo: zona izquierda · grilla · zona derecha (L8) ───────────────── */
/* El cuerpo reparte el alto entre las columnas de los lados (sin borde, a la misma altura del calendario) y el calendario.
   Las zonas flotantes se anclan a él (D251): salen del borde de la pantalla, encima de la columna de su lado. */
.jscb-body[b-myt1bb8915] {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
    margin-top: 8px;
    position: relative;
}

/* D553: el pie, igual en los tres tableros: la línea de mensajes ocupa lo que queda y el zoom va a su derecha, 8 px bajo el
   calendario. */
.jscb-foot[b-myt1bb8915] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-top: 8px;
}

/* D299/D300: flechas del periodo anterior/siguiente al llegar al final del scroll horizontal. Cada una vive en un riel sin ancho junto al
   borde del calendario (su margen negativo cancela el hueco del cuerpo: nada se mueve) y ocupa todo el alto, a caballo del borde: un poco
   por fuera, para no tapar lo que se mira. Están siempre en el DOM (Blazor no las toca al desplazar); jscb-board.js pone
   data-edge-left / data-edge-right en la raíz cuando la grilla está pegada a ese borde y data-edge-active mientras se desplaza. */
.jscb-edge-rail[b-myt1bb8915] {
    position: relative;
    z-index: 7;
    flex: 0 0 0;
    align-self: stretch;
    width: 0;
    pointer-events: none;
}

.jscb-edge-rail.is-right[b-myt1bb8915] {
    margin-left: -8px;
}

.jscb-edge-btn[b-myt1bb8915] {
    position: absolute;
    /* Only over the rows of the block in view (jscb-board.js: placeEdgeButtons); without the measure, the whole height as before. */
    top: var(--jscb-edge-top, 0);
    height: var(--jscb-edge-height, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    padding: 0;
    border: 1px solid var(--jscb-border-strong);
    background: color-mix(in srgb, var(--jscb-bg) 86%, transparent);
    box-shadow: 0 0 12px rgba(15, 23, 42, 0.18);
    color: var(--jscb-text);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.15s ease;
}

/* La de la derecha, a caballo del borde: 14 px dentro del calendario y 8 px en el hueco con la columna de ese lado. */
.jscb-edge-rail.is-right .jscb-edge-btn[b-myt1bb8915] {
    left: -14px;
    border-radius: 11px;
}

/* D301: la de la izquierda va dentro del calendario, pegada al final de la columna fija (--jscb-label-width), donde empieza la grilla. */
.jscb-calendar > .jscb-edge-btn.is-left[b-myt1bb8915] {
    left: var(--jscb-label-width);
    z-index: 7;
    border-radius: 0 11px 11px 0;
    border-left: 0;
}

.jscb-edge-btn svg[b-myt1bb8915] {
    width: 18px;
    height: 18px;
}

.jscb-edge-btn:hover:not(:disabled)[b-myt1bb8915] {
    background: var(--jscb-bg-soft);
}

.jscb-edge-btn:focus-visible[b-myt1bb8915] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-edge-btn:disabled[b-myt1bb8915] {
    cursor: default;
}

.jscb-board[data-edge-active][data-edge-right]:not([data-plan-hand]) .jscb-edge-rail.is-right .jscb-edge-btn[b-myt1bb8915],
.jscb-board[data-edge-active][data-edge-left]:not([data-plan-hand]) .jscb-calendar > .jscb-edge-btn.is-left[b-myt1bb8915] {
    visibility: visible;
    opacity: 0.95;
    pointer-events: auto;
}

.jscb-board[data-edge-active]:not([data-plan-hand]) .jscb-edge-btn:disabled[b-myt1bb8915] {
    opacity: 0.5;
}

/* Con un carro en la mano la flecha del periodo se ofrece solo mientras el carro empuja contra ese borde y la grilla ya llegó a él
   (jscb-planning.js pone data-plan-edge en la raíz; jscb-board.js, data-edge-left / data-edge-right). No recibe el puntero: el módulo
   mide dónde está el carro, y si descansa sobre la flecha el tablero pasa al periodo (data-step-dwell lo va llenando). */
.jscb-board[data-plan-hand][data-plan-edge="right"][data-edge-right] .jscb-edge-rail.is-right .jscb-edge-btn[b-myt1bb8915],
.jscb-board[data-plan-hand][data-plan-edge="left"][data-edge-left] .jscb-calendar > .jscb-edge-btn.is-left[b-myt1bb8915] {
    visibility: visible;
    opacity: 0.95;
}

/* La espera se ve como el relleno de la flecha de abajo hacia arriba; jscb-planning.js pone su duración en --jscb-edge-step-ms. */
.jscb-edge-btn[data-step-dwell][b-myt1bb8915] {
    border-color: var(--jscb-accent);
    background-image: linear-gradient(color-mix(in srgb, var(--jscb-accent) 30%, transparent), color-mix(in srgb, var(--jscb-accent) 30%, transparent));
    background-repeat: no-repeat;
    background-position: bottom;
    animation: jscb-edge-step-fill-b-myt1bb8915 var(--jscb-edge-step-ms, 0.9s) linear both;
}

@keyframes jscb-edge-step-fill-b-myt1bb8915 {
    from { background-size: 100% 0; }
    to { background-size: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-edge-btn[data-step-dwell][b-myt1bb8915] {
        animation: none;
    }
}

/* El calendario no lleva borde propio: cada bloque es una tarjeta con el suyo. El velo de recarga se ancla a él. */
.jscb-calendar[b-myt1bb8915] {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Mientras se cambia el ancho de una zona con su agarradera (D91; la clase la pone kodawari-panel-resize.js). */
.jscb-body.is-panel-resizing[b-myt1bb8915] {
    cursor: col-resize;
    user-select: none;
}

/* En Día la única columna es hoy: teñirla entera no distingue nada y confunde (D32). */
.jscb-board.jscb-scale-day[b-myt1bb8915]  .jscb-day-column.is-today {
    background-color: var(--jscb-bg);
}

/* ─── Zonas flotantes (D28): estilos en JscbZone.razor.css ──────────────── */

/* Botón de la columna de espera (D181): al inicio de la fila 2 de la barra (D546), solo el icono, sin pastilla. Abierta, la
   flecha apunta a la columna (recoger); recogida, hacia el calendario (abrir con los tres bloques). */
.jscb-wait-toggle[b-myt1bb8915] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
}

.jscb-wait-toggle:hover[b-myt1bb8915] {
    color: var(--jscb-text);
}

.jscb-wait-toggle:focus-visible[b-myt1bb8915] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-wait-toggle svg[b-myt1bb8915] {
    width: 18px;
    height: 18px;
}

.jscb-wait-toggle .jscb-wait-toggle-arrow[b-myt1bb8915] {
    transform-origin: 14px 12px;
    transition: transform 0.18s ease;
}

.jscb-wait-toggle:not(.is-open) .jscb-wait-toggle-arrow[b-myt1bb8915] {
    transform: rotate(180deg);
}

/* El de la columna derecha (D183), al final de la fila 2 de la barra: la columna dibujada a la derecha y la flecha hacia ella. */
.jscb-wait-toggle.is-right .jscb-wait-toggle-arrow[b-myt1bb8915] {
    transform-origin: 10px 12px;
}

@media (prefers-reduced-motion: reduce) {
    .jscb-wait-toggle .jscb-wait-toggle-arrow[b-myt1bb8915] {
        transition: none;
    }
}

.jscb-empty[b-myt1bb8915] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jscb-text-muted);
}

.jscb-grid[b-myt1bb8915] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    position: relative;
    background: var(--jscb-bg);
    overscroll-behavior: contain;
}

/* Sin la agenda todavía: el calendario solo muestra la carga, entre las columnas de los lados. */
.jscb-grid.is-loading[b-myt1bb8915] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jscb-grid:focus-visible[b-myt1bb8915] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

/* El contenido mide lo que miden sus filas (D32): la retícula y la línea AHORA terminan con la
   última fila y no asoman bajo la columna de nombres al desplazar. */
.jscb-grid-inner[b-myt1bb8915] {
    position: relative;
}

/* Velo de recarga (D35): cubre solo el calendario (el cuerpo), bajo las zonas flotantes (z 8),
   la superficie translúcida (sin desenfoque de fondo, D241: reenfocar todo el calendario en cada cuadro del spinner era caro),
   y el indicador estándar del panel centrado en una tarjeta. */
.jscb-reloading[b-myt1bb8915] {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--jscb-bg) 72%, transparent);
    animation: jscb-reloading-in-b-myt1bb8915 0.15s ease;
}

.jscb-reloading-card[b-myt1bb8915] {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    border: 1px solid var(--jscb-border);
    border-radius: 12px;
    background: var(--jscb-bg);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.jscb-reloading-card[b-myt1bb8915]  .st-panel-loading.compact {
    min-height: 0;
}

@keyframes jscb-reloading-in-b-myt1bb8915 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Columna fija con la grilla desplazada (D35, D40; clase puesta por jscb-board.js al desplazar): una
   sombra gris de verdad en el borde derecho de las etiquetas, para que un chip a medias se lea como
   «sigue bajo los nombres» y no como un trozo roto. */
.jscb-grid.is-scrolled-x[b-myt1bb8915]  .jscb-row-label {
    /* Con la grilla desplazada el borde izquierdo de la tarjeta (y de su bloque) se fue con ella: la etiqueta fija lo lleva. */
    box-shadow: inset 1px 0 0 0 var(--jscb-border-strong), 1px 0 0 0 rgba(15, 23, 42, 0.10), 6px 0 10px -3px rgba(15, 23, 42, 0.24);
}

/* Disposición de fila compartida por todos los hijos: etiqueta fija a la izquierda y cuerpo con el
   ancho exacto de la escala. La define la grilla porque es ella quien hace scroll. */
/* Sin position en la fila: la cabecera de días la define ella misma. */
.jscb-grid-inner[b-myt1bb8915]  .jscb-row {
    display: flex;
    align-items: stretch;
}

/* Cada hijo pone el fondo de su etiqueta (debe ser opaco: tapa la línea AHORA al desplazarse). */
.jscb-grid-inner[b-myt1bb8915]  .jscb-row-label {
    position: sticky;
    left: 0;
    z-index: 5;
    flex: 0 0 var(--jscb-label-width);
    width: var(--jscb-label-width);
    min-width: 0;
    border-right: 1px solid var(--jscb-border-strong);
}

/* La etiqueta con una tarjeta de persona abierta (D34) sube sobre las demás etiquetas fijas. */
.jscb-grid-inner[b-myt1bb8915]  .jscb-row-label.has-card {
    z-index: 6;
}

.jscb-grid-inner[b-myt1bb8915]  .jscb-row-body {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
}

.jscb-no-bands .jscb-row-label[b-myt1bb8915] {
    padding: 12px;
    background: var(--jscb-bg);
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jscb-no-bands .jscb-row-body[b-myt1bb8915] {
    display: flex;
    align-items: center;
    padding: 12px;
    color: var(--jscb-text-muted);
    border-bottom: 1px solid var(--jscb-border);
}

/* Bloques con su propia cabecera de fechas (la carga del TALLER, cada equipo o bahía, las cabinas y los recursos): cada uno es
   una tarjeta grande de esquinas redondeadas con su calendario dentro, separada de la siguiente por un pequeño espacio en el
   fondo blanco del tablero. Cada bloque es el marco de su retícula, su línea AHORA y su fondo de días, que cuelgan bajo su
   cabecera. `overflow: clip` redondea sin crear un contenedor de desplazamiento, así la columna de nombres sigue fija. */
.jscb-grid-inner.is-blocks[b-myt1bb8915] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* D491: al llegar al tope del desplazamiento vertical el último bloque quedaba pegado al borde del tablero y su raya de abajo
       se confundía con él, como si hubiera más cosas debajo. El mismo aire que separa a los bloques deja ver su borde redondeado. */
    padding-bottom: 10px;
    background: var(--jscb-bg);
}

.jscb-grid-inner.is-blocks .jscb-bands[b-myt1bb8915] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jscb-block[b-myt1bb8915] {
    position: relative;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 12px;
    overflow: clip;
    background: var(--jscb-bg);
}

/* Con la tarjeta de una persona abierta, o la lista de la esquina (proceso de los equipos), que flotan sobre la grilla y pueden
   salir del bloque, el bloque deja de recortar. */
.jscb-block:has(.jscb-band-label.has-card)[b-myt1bb8915],
.jscb-block:has(.jscb-dropdown-menu)[b-myt1bb8915],
.jscb-block:has(.jscb-team-menu)[b-myt1bb8915],
.jscb-block:has(.jscb-team-warn-pop)[b-myt1bb8915] {
    overflow: visible;
}

/* Y por encima de los bloques que le siguen: la lista o el aviso abiertos no quedan tapados por el equipo de abajo. */
.jscb-block:has(.jscb-dropdown-menu)[b-myt1bb8915],
.jscb-block:has(.jscb-team-menu)[b-myt1bb8915],
.jscb-block:has(.jscb-team-warn-pop)[b-myt1bb8915] {
    z-index: 60;
}

/* Día, Semana and Mes (H2): the single date header for every team, the first child of the grid, stuck to its top. Inside the
   container that scrolls, so it follows the horizontal scroll and its corner stays over the fixed column with no JS. Above the fixed
   labels (z 5 and 6) and the title rows of the teams (z 6). Joined to the TALLER block, as its header was (without the gap between
   blocks); the board's background behind it fills its rounded corners, so what scrolls under the header does not show through. */
.jscb-global-axis[b-myt1bb8915] {
    position: sticky;
    top: 0;
    z-index: 7;
    margin-bottom: -10px;
    background: var(--jscb-bg);
}

/* The header draws the top of the TALLER block: the border and the rounded top corners (the block keeps the rest), 1 px higher so
   the rows below start where they did inside the block. The clip rounds the corners without cutting what hangs below the header:
   the AHORA pill (D41), the tape of the selected OT and the pill of the rule (D47). */
.jscb-global-axis[b-myt1bb8915]  .jscb-axis {
    height: calc(var(--jscb-axis-height) + 1px);
    border: 1px solid var(--jscb-border-strong);
    border-radius: 12px 12px 0 0;
    clip-path: inset(0 0 -48px 0 round 12px 12px 0 0);
}

/* The list of the process of the teams opens below the header: no clip while it is open. */
.jscb-global-axis:has(.jscb-dropdown-menu)[b-myt1bb8915]  .jscb-axis {
    clip-path: none;
}

.jscb-grid-inner.has-global-axis > .jscb-block-load[b-myt1bb8915] {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* H2: an open team keeps a title row with its header in the fixed column, without dates and not pinned, as high as the date header
   it replaces (the block's --jscb-axis-height): its days, its grid and its AHORA line start below it. z 6, as that header, so its
   menus open over the bands. */
.jscb-team-title[b-myt1bb8915] {
    position: relative;
    z-index: 6;
    height: var(--jscb-axis-height);
    background: var(--jscb-bg-alt);
    border-bottom: 1px solid var(--jscb-border-strong);
}

.jscb-team-title-body[b-myt1bb8915] {
    display: flex;
    align-items: center;
}

/* D616, without teams: the legend of the strip of the workshop in its own short row. */
.jscb-seat-legend-row[b-myt1bb8915] {
    height: 24px;
    background: var(--jscb-bg-alt);
    border-top: 1px solid var(--jscb-border);
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-seat-legend-row .jscb-row-label[b-myt1bb8915] {
    background: var(--jscb-bg-alt);
}

.jscb-seat-legend-row .jscb-row-body[b-myt1bb8915] {
    display: flex;
    align-items: center;
}

.jscb-team-title-label[b-myt1bb8915] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3px 2px 3px 6px;
    background: var(--jscb-bg-alt);
}

/* WCAG 2.4.11 (H2): what the stuck header (44 px at most) and the fixed column cover is left out when the focus brings an
   element into view. Only on the JSCB, whose header sticks. */
.jscb-grid:has(> .jscb-grid-inner.has-global-axis)[b-myt1bb8915] {
    scroll-padding-top: 44px;
    scroll-padding-left: var(--jscb-label-width);
}

/* Below 600 px of width the left column stops being fixed (it would take a third of the screen and cover what gets the focus); the
   headers still stick to the top. */
@media (max-width: 599.98px) {
    .jscb-grid:has(> .jscb-grid-inner.has-global-axis)[b-myt1bb8915] {
        scroll-padding-left: 0;
    }

    .jscb-grid-inner.has-global-axis[b-myt1bb8915]  .jscb-row-label {
        position: relative;
        left: auto;
    }

    .jscb-grid.is-scrolled-x .jscb-grid-inner.has-global-axis[b-myt1bb8915]  .jscb-row-label {
        box-shadow: none;
    }
}

/* Equipo del JSCB: su cabecera de fechas lleva en la esquina el título y la carga, y por eso es más alta: el bloque fija
   --jscb-axis-height (TeamAxisHeightPx) y los fondos de día, la retícula y la línea AHORA la siguen. */
/* Equipo recogido sin resumen: una fila con solo su encabezado. */
.jscb-team-folded-label[b-myt1bb8915] {
    display: flex;
    align-items: center;
}

/* Tarjeta completa, de lado a lado: el mismo fondo en la etiqueta y en lo que sería el calendario, sin la línea que los separa. */
.jscb-block.is-folded[b-myt1bb8915] {
    background: var(--jscb-bg-alt);
}

.jscb-block.is-folded .jscb-team-folded-label[b-myt1bb8915] {
    border-right: 0;
    background: transparent;
}

.jscb-team-folded-label[b-myt1bb8915]  .jscb-team-head {
    padding: 0 6px 0 12px;
}

/* La retícula del bloque empieza bajo su cabecera. */
.jscb-block[b-myt1bb8915]  .jscb-gridlines {
    top: var(--jscb-axis-height);
}

/* Contenedor de las bandas (D46): mide lo que miden ellas y da el marco a la retícula que las
   cruza. Sin z-index: no crea contexto propio, así tarjetas, líneas y cadenas se ordenan entre sí. */
.jscb-bands[b-myt1bb8915] {
    position: relative;
}

/* Línea AHORA: cruza todas las filas bajo la cabecera, encima de las tarjetas de las OT (17-nov: ya no se corta en su
   cabecera); las etiquetas fijas la tapan al desplazarse. Sólida (D46): el punteado queda para lo no comprometido. */
.jscb-now-line[b-myt1bb8915] {
    position: absolute;
    top: var(--jscb-axis-height);
    bottom: 0;
    width: 2px;
    z-index: 4; /* Sobre el aire entre placas (.jscb-lane-gap, z 4, antes en el DOM): AHORA no se corta. */
    pointer-events: none;
}

/* The stroke of NOW, drawn whole over the cards it crosses. */
.jscb-now-stroke[b-myt1bb8915] {
    position: absolute;
    inset: 0;
    border-left: 2px solid var(--jscb-accent);
}

/* Hover de cadena (D13, D41): el módulo JS marca la raíz con .jscb-focus y la cadena con
   .jscb-focused. La cadena bajo el ratón sube de capa y enseña lo que tenía plegado (los chips de otros
   ejecutores en una banda recogida, la placa tras «+N»); la información la da el propio tooltip y, al
   hacer clic, la ficha. */
.jscb-board.jscb-focus[b-myt1bb8915]  .jscb-chain.jscb-focused {
    z-index: 3;
}

/* Foco en una OT (D170, reemplaza lo de D41 de no atenuar): con una OT del tablero bajo el ratón (el JS pone
   .jscb-focus-board solo si la OT tiene cadena o tarjeta en el tablero), las demás quedan tenues y su tarjeta
   sube con sombra. La espera (pasar de largo no parpadea) la hace jscb-board.js al poner .jscb-focus-board; la opacidad cambia de
   una vez, sin transición (D241): cientos de animaciones, cada una en su capa, era lo que más pesaba del hover. Volver es
   inmediato. */
.jscb-board.jscb-focus-board[b-myt1bb8915]  .jscb-chain:not(.jscb-focused),
.jscb-board.jscb-focus-board[b-myt1bb8915]  .jscb-vcard:not(.jscb-focused) {
    opacity: 0.4;
}

/* «Proceso» en «Avance» (D554): las OT de la bahía que no pasan por el proceso elegido quedan tenues, tarjeta y líneas, como las
   demás OT con el foco en una (D170); con el ratón encima, la OT vuelve entera. Sin turnos: eso es de «Plan». Con «.jscb-row» pesa más
   que la opacidad propia de la tarjeta (la de un paso hecho de una línea queda en 1) y que la de lo pendiente. */
.jscb-board[b-myt1bb8915]  .jscb-row .jscb-chain.is-follow-off,
.jscb-board[b-myt1bb8915]  .jscb-row .jscb-vcard.is-follow-off {
    opacity: 0.4;
}

.jscb-board.jscb-focus-board[b-myt1bb8915]  .jscb-row .jscb-chain.is-follow-off.jscb-focused,
.jscb-board.jscb-focus-board[b-myt1bb8915]  .jscb-row .jscb-vcard.is-follow-off.jscb-focused {
    opacity: 1;
}

/* «Así quedaría» (programar con el motor): como con el ratón sobre una OT, las demás quedan tenues y la que se programa se ve entera,
   con su tarjeta subida con sombra. Lo pone la raíz mientras la propuesta está a la vista; al guardar o descartar, todo vuelve. */
.jscb-board.jscb-plan-spotlight[b-myt1bb8915]  .jscb-chain:not(.is-plan-car):not(.is-proposed),
.jscb-board.jscb-plan-spotlight[b-myt1bb8915]  .jscb-vcard:not(.is-plan-car):not(.is-proposed) {
    opacity: 0.4;
}

.jscb-board.jscb-plan-spotlight[b-myt1bb8915]  .jscb-vcard.is-plan-car,
.jscb-board.jscb-plan-spotlight[b-myt1bb8915]  .jscb-vcard.is-proposed {
    box-shadow: 0 0 0 3px var(--jscb-accent-soft), 0 8px 22px rgba(15, 23, 42, 0.22);
}

/* Foco en un proceso: con el ratón sobre uno, los demás procesos de su OT quedan tenues como las demás OT con el foco en una (D170),
   y el que se mira sigue entero. La misma espera de 0,08 s. La marca jscb-focus-proc va en las líneas de la OT enfocada y no en
   la raíz (D243): cambiarla no recalcula el estilo de todo el tablero. */
.jscb-board[b-myt1bb8915]  .jscb-chain.jscb-focused.jscb-focus-proc .jscb-chip:not(.jscb-proc-on) {
    opacity: 0.4;
    transition-delay: 0.08s;
}

.jscb-board.jscb-focus-board[b-myt1bb8915]  .jscb-vcard.jscb-focused {
    border-color: var(--jscb-text-muted);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

/* Trozos de la OT unidos (D180; SVG que jscb-board.js pone en .jscb-bands): con el foco en una OT del JPCB, una línea de
   su color va del fin de cada trozo al inicio del siguiente, con un punto al salir y una flecha al entrar, y un halo del
   fondo para leerse sobre lo tenue. Sobre las tarjetas y cadenas (z 0 y 1), bajo la cadena enfocada, el cambio de día y
   AHORA (z 3) y las etiquetas fijas (z 5), que la tapan al desplazar. Aparece con la espera que atenúa el resto (D170). */
.jscb-board[b-myt1bb8915]  .jscb-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
    animation: jscb-links-in-b-myt1bb8915 0.15s ease 0.08s both;
}

.jscb-board[b-myt1bb8915]  .jscb-link-halo,
.jscb-board[b-myt1bb8915]  .jscb-link-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jscb-board[b-myt1bb8915]  .jscb-link-halo {
    stroke: var(--jscb-bg);
    stroke-width: 5;
    opacity: 0.85;
}

.jscb-board[b-myt1bb8915]  .jscb-link-line {
    stroke: var(--jscb-link-color);
    stroke-width: 2;
}

.jscb-board[b-myt1bb8915]  .jscb-link-dot,
.jscb-board[b-myt1bb8915]  .jscb-link-arrow {
    fill: var(--jscb-link-color);
    stroke: var(--jscb-bg);
    stroke-width: 1.5;
    stroke-linejoin: round;
    paint-order: stroke;
}

@keyframes jscb-links-in-b-myt1bb8915 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Cadena recién guardada (foco de sesión): halo magenta hasta el siguiente gesto. */
.jscb-board[b-myt1bb8915]  .jscb-chain.is-selected .jscb-chip {
    box-shadow: 0 0 0 2px var(--jscb-accent);
}

/* ─── Inicio y fin de cada proceso sobre el eje (D47; nodos creados por jscb-board.js) ───────── */
/* Corchete bajo la cabecera con «proceso · inicio → fin · horas» al pasar el ratón por una barra, y
   dos guías hasta ella. Tinta, nunca magenta: el magenta es AHORA. */
.jscb-board[b-myt1bb8915]  .jscb-proc-bracket {
    position: absolute;
    bottom: 1px;
    z-index: 4;
    box-sizing: border-box;
    height: 7px;
    border: 2px solid var(--jscb-ink);
    border-top: 0;
    border-radius: 0 0 3px 3px;
    pointer-events: none;
}

.jscb-board[b-myt1bb8915]  .jscb-proc-tag {
    position: absolute;
    bottom: 10px;
    z-index: 5;
    transform: translateX(-50%);
    padding: 1px 8px;
    border-radius: 9999px;
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

.jscb-board[b-myt1bb8915]  .jscb-proc-guide {
    position: absolute;
    z-index: 4;
    width: 0;
    border-left: 1.5px dashed color-mix(in srgb, var(--jscb-ink) 55%, transparent);
    pointer-events: none;
}

/* Regla que sigue al cursor (solo ratón): línea fina de tinta y la hora en la cabecera. */
.jscb-board[b-myt1bb8915]  .jscb-cursor-rule {
    position: absolute;
    bottom: 0;
    z-index: 4;
    width: 0;
    border-left: 1px solid color-mix(in srgb, var(--jscb-ink) 35%, transparent);
    pointer-events: none;
}

.jscb-board[b-myt1bb8915]  .jscb-cursor-pill {
    position: absolute;
    bottom: 0;
    z-index: 3;
    transform: translate(-50%, 50%);
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 12px;
    white-space: nowrap;
    pointer-events: none;
}

/* Cinta de la OT seleccionada: cuelga bajo la cabecera con el tramo de cada proceso en su color y
   la hora en que arranca; desaparece al cerrar la ficha. */
.jscb-board[b-myt1bb8915]  .jscb-chain-tape {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    height: 20px;
    background: var(--jscb-bg);
    border-bottom: 1px solid var(--jscb-border-strong);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    pointer-events: none;
}

.jscb-board[b-myt1bb8915]  .jscb-tape-bar {
    position: absolute;
    bottom: 3px;
    height: 5px;
    border-radius: 3px;
    pointer-events: auto;
}

.jscb-board[b-myt1bb8915]  .jscb-tape-time {
    position: absolute;
    top: 1px;
    padding-left: 1px;
    color: var(--jscb-text);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 11px;
    white-space: nowrap;
    pointer-events: auto;
}

/* F8: foco visible y uniforme en todo control del tablero (teclado). */
.jscb-board[b-myt1bb8915]  :is(button, a[href], [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* ─── Inspector al pasar el ratón (D204; lo dibuja jscb-board.js) ───────────────────────────────────────────────────────
   La cota de la OT o del proceso —guías punteadas desde sus extremos, línea de medida con inicio y fin— y, bajo ella, un
   panel con el detalle. Todo en .jscb-grid-inner, sobre las filas y las etiquetas fijas (z 7); sin ratón. */
.jscb-board[b-myt1bb8915]  .jscb-insp {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    z-index: 7;
    overflow: visible;
    pointer-events: none;
    color: var(--jscb-info);
    font-size: 12px;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-leader {
    position: absolute;
    width: 0;
    border-left: 1px dashed currentColor;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-dim {
    position: absolute;
    overflow: visible;
    color: var(--jscb-info);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-label {
    position: absolute;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    white-space: nowrap;
    color: var(--jscb-info);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-start { transform: translate(-100%, -50%); }
.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-end,
.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-after { transform: translate(0, -50%); }
.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-before { transform: translate(-100%, -50%); }
.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-mid { transform: translate(-50%, -50%); }

/* Dentro de la cota (sin sitio fuera) y la duración total sobre la línea: con el fondo, para que la línea no los cruce. */
.jscb-board[b-myt1bb8915]  .jscb-insp-label.is-inside {
    padding: 0 5px;
    border-radius: 4px;
    background: var(--jscb-bg);
}

/* La duración del proceso, centrada dentro de su propia barra. */
.jscb-board[b-myt1bb8915]  .jscb-insp-dur {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-dur > span {
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.78);
    color: #1e293b;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    white-space: nowrap;
}

.jscb-board[b-myt1bb8915]  .jscb-chip.is-inspected {
    outline: 1.5px solid var(--jscb-ink);
    outline-offset: 1px;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-panel {
    position: absolute;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
    color: var(--jscb-text);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-head {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-swatch {
    flex: 0 0 auto;
    align-self: center;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* D296: the vehicle of the order, as on its card (56 px, the placeholder of the cards on gray when it has no photo); the head
   and the badges go beside it and the rest under it. */
.jscb-board[b-myt1bb8915]  .jscb-insp-photo {
    float: left;
    width: 56px;
    height: 56px;
    margin: 0 10px 6px 0;
    overflow: hidden;
    border-radius: 10px;
    background: darkgrey;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-photo img.is-error {
    object-fit: contain;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-panel.has-photo .jscb-insp-ribbon,
.jscb-board[b-myt1bb8915]  .jscb-insp-panel.has-photo .jscb-insp-bar,
.jscb-board[b-myt1bb8915]  .jscb-insp-panel.has-photo .jscb-insp-rows {
    clear: both;
}

/* D296: the logo of the process, as in the inbox: a white circle in a ring of the color of the process. */
.jscb-board[b-myt1bb8915]  .jscb-insp-logo {
    flex: 0 0 auto;
    align-self: center;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    padding: 2px;
    border-radius: 50%;
    background: var(--insp-ring, var(--jscb-border-strong));
}

.jscb-board[b-myt1bb8915]  .jscb-insp-logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--st-surface);
    object-fit: contain;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-sub {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-badge {
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--jscb-bg-soft);
    color: var(--jscb-text-muted);
    font-size: 11px;
    font-weight: 600;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-badge.is-info { background: var(--jscb-info-soft); color: var(--jscb-info); }
.jscb-board[b-myt1bb8915]  .jscb-insp-badge.is-ok { background: var(--st-success-bg-strong, rgba(34, 197, 94, 0.16)); color: var(--st-success-fg, #15803d); }
.jscb-board[b-myt1bb8915]  .jscb-insp-badge.is-warn { background: var(--jscb-warn-bg); color: var(--st-warning-fg, #b45309); }
.jscb-board[b-myt1bb8915]  .jscb-insp-badge.is-late { background: var(--jscb-error-bg); color: var(--jscb-danger-strong); }

/* La cinta de la OT: cada proceso donde cae en la tarjeta, el hecho sólido, el planeado claro y el que corre, lleno hasta lo ejecutado. */
.jscb-board[b-myt1bb8915]  .jscb-insp-ribbon {
    position: relative;
    height: 16px;
    margin-top: 8px;
    border-radius: 3px;
    background: var(--jscb-bg-soft);
    overflow: hidden;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-step {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: color-mix(in srgb, var(--step-color, var(--jscb-chip-neutral, #a78bfa)) 38%, transparent);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-step.is-done { background: var(--step-color, var(--jscb-chip-neutral, #a78bfa)); }

.jscb-board[b-myt1bb8915]  .jscb-insp-step-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--step-color, var(--jscb-chip-neutral, #a78bfa));
}

.jscb-board[b-myt1bb8915]  .jscb-insp-step > em {
    position: relative;
    padding: 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    color: #1e293b;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-now {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: var(--jscb-accent);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-bar {
    position: relative;
    height: 6px;
    margin-top: 8px;
    border-radius: 3px;
    background: var(--jscb-bg-soft);
    overflow: hidden;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-bar > i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 3px;
    background: var(--jscb-info);
}

.jscb-board[b-myt1bb8915]  .jscb-insp-bar > i.is-warn { background: var(--jscb-overload); }

.jscb-board[b-myt1bb8915]  .jscb-insp-rows {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 10px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.jscb-board[b-myt1bb8915]  .jscb-insp-key { color: var(--jscb-text-muted); }

.jscb-board[b-myt1bb8915]  .jscb-insp-val.is-warn { color: var(--st-warning-fg, #b45309); }
.jscb-board[b-myt1bb8915]  .jscb-insp-val.is-late { color: var(--jscb-danger-strong); font-weight: 600; }
.jscb-board[b-myt1bb8915]  .jscb-insp-val.is-ok { color: var(--st-success-fg, #15803d); }
.jscb-board[b-myt1bb8915]  .jscb-insp-val.is-muted { color: var(--jscb-text-muted); }

/* D259: la OT a la que llevó el buscador (o «Ir al plan»): un contorno magenta que late un momento sobre su cadena; lo pone y lo quita
   jscb-board.js (locateChain). */
.jscb-board[b-myt1bb8915]  .jscb-located {
    outline: 2px solid var(--jscb-accent);
    outline-offset: 2px;
    border-radius: 6px;
    animation: jscb-located-pulse-b-myt1bb8915 0.8s ease-in-out 3;
}

@keyframes jscb-located-pulse-b-myt1bb8915 {
    0%, 100% { outline-color: var(--jscb-accent); }
    50% { outline-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-board[b-myt1bb8915]  .jscb-located {
        animation: none;
    }
}

/* ─── Planear un vehículo (D262–D272) ─────────────────────────────────────────────────────────────── */

/* D267: con el carro en la mano, lo único que cambia de cara es que «Por programar» (el origen) se oculta. data-plan-hand lo pone y
   lo quita el módulo de gesto (desde que se toma hasta que .NET contesta el soltado), nunca Blazor. */
.jscb-board[data-plan-hand][b-myt1bb8915]  .jscb-zone-backlog {
    visibility: hidden;
    pointer-events: none;
}

/* V13: la barra va dentro del layout, al pie: la grilla se acorta y nunca queda tapada. */
.jscb-calendar.has-plan-bar[b-myt1bb8915] {
    flex-direction: column;
}

/* Los botones de la franja que dibuja el tablero (cola de cabinas F15, reunión y revisión F17): el estilo de «Publicar», que vive en
   JscbPublishStatus y no les llega por el aislamiento de estilos. */
.jbq-open[b-myt1bb8915],
.jmt-open[b-myt1bb8915],
.jrv-open[b-myt1bb8915] {
    padding: 4px 10px;
    border: 1px solid var(--jscb-info);
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-info);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.jbq-open:hover[b-myt1bb8915],
.jmt-open:hover[b-myt1bb8915],
.jrv-open:hover[b-myt1bb8915] {
    background-color: color-mix(in srgb, var(--jscb-info) 12%, transparent);
}

.jrv-open.has-problems[b-myt1bb8915] {
    border-color: var(--jscb-warn, #c98a12);
    color: var(--jscb-warn, #c98a12);
}

/* Inside the menu «Plan de mañana» these buttons are rows: the whole width, the name to the left and its count to the right. */
.jplan-rows .jbq-open[b-myt1bb8915],
.jplan-rows .jmt-open[b-myt1bb8915],
.jplan-rows .jrv-open[b-myt1bb8915] {
    display: block;
    width: 100%;
    padding: 7px 10px;
    text-align: left;
}

.jplan-rows .jrv-open:disabled[b-myt1bb8915] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* The day of the plan is not in memory (the board looks far from today): the header of the menu, and the zone of the review with its button. */
.jplan-away[b-myt1bb8915] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--jscb-text-muted);
}

.jplan-away-zone[b-myt1bb8915] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
}

/* While «Programar» waits for the server (calculating where it goes, saving, undoing), the pointer says so anywhere on the board; the
   decision bar says what it is doing. Nothing is blocked: Descartar and Esc still work. */
.jscb-board[data-plan-phase="Calculando"][b-myt1bb8915],
.jscb-board[data-plan-phase="Guardando"][b-myt1bb8915],
.jscb-board[data-plan-phase="Deshaciendo"][b-myt1bb8915] {
    cursor: progress;
}

/* Heijunka (2026-11-19): the layer that holds the screen while the arrangement works (see BusyText). */
.jscb-busy[b-myt1bb8915] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 14, 28, 0.55);
    cursor: progress;
}

.jscb-busy-card[b-myt1bb8915] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 360px;
    padding: 20px 24px;
    border: 1px solid var(--jscb-border);
    border-radius: 12px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    text-align: center;
    font-size: 13px;
    cursor: default;
}

.jscb-busy-card span:not(.jscb-busy-spinner)[b-myt1bb8915] {
    color: var(--jscb-text-muted);
    font-size: 12px;
}

.jscb-busy-spinner[b-myt1bb8915] {
    width: 22px;
    height: 22px;
    border: 3px solid var(--jscb-border);
    border-top-color: var(--jscb-accent);
    border-radius: 50%;
    animation: jscb-busy-spin-b-myt1bb8915 0.9s linear infinite;
}

.jscb-busy-cancel[b-myt1bb8915] {
    margin-top: 4px;
    padding: 4px 14px;
    border: 1px solid var(--jscb-border);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.jscb-busy-cancel:focus-visible[b-myt1bb8915] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

@keyframes jscb-busy-spin-b-myt1bb8915 {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-busy-spinner[b-myt1bb8915] {
        animation: none;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbBoothQueuePanel.razor.rz.scp.css */
/* F15 (P5-F4, P5-F6): «Cola de cabinas», con el mismo marco que «Publicar». */
.jbq-overlay[b-x0duntk3fr] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jbq-dialog[b-x0duntk3fr] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(720px, calc(100vw - 32px));
    max-height: min(720px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jbq-head[b-x0duntk3fr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jbq-title h2[b-x0duntk3fr] {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jbq-title p[b-x0duntk3fr] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jbq-close[b-x0duntk3fr] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jbq-close svg[b-x0duntk3fr] {
    width: 18px;
    height: 18px;
}

.jbq-body[b-x0duntk3fr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
    overflow-y: auto;
}

.jbq-days[b-x0duntk3fr],
.jbq-tabs[b-x0duntk3fr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jbq-day[b-x0duntk3fr],
.jbq-tab[b-x0duntk3fr],
.jbq-btn[b-x0duntk3fr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #1e293b);
    font-size: 12.5px;
    cursor: pointer;
}

.jbq-day.is-active[b-x0duntk3fr],
.jbq-tab.is-active[b-x0duntk3fr] {
    border-color: var(--st-accent, #2563eb);
    background: var(--st-accent-bg);
    font-weight: 700;
}

.jbq-btn.is-primary[b-x0duntk3fr] {
    border-color: var(--st-accent, #2563eb);
    background: var(--st-accent, #2563eb);
    color: #fff;
}

.jbq-btn:disabled[b-x0duntk3fr] {
    opacity: 0.6;
    cursor: default;
}

.jbq-link[b-x0duntk3fr] {
    border: 0;
    background: none;
    color: var(--st-accent, #2563eb);
    font-size: 12px;
    cursor: pointer;
}

.jbq-mark[b-x0duntk3fr] {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.jbq-count[b-x0duntk3fr] {
    color: var(--st-text-muted, #64748b);
}

.jbq-alert[b-x0duntk3fr] {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d97706;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.jbq-out[b-x0duntk3fr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
}

.jbq-usage[b-x0duntk3fr] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: 13px;
}

.jbq-list[b-x0duntk3fr],
.jbq-outages[b-x0duntk3fr] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jbq-entry[b-x0duntk3fr] {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
}

.jbq-entry.is-conflict[b-x0duntk3fr] {
    border-color: #d97706;
    background: #fffbeb;
}

.jbq-entry.is-done[b-x0duntk3fr] {
    opacity: 0.6;
}

.jbq-position[b-x0duntk3fr] {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--st-surface-sunken, #f1f5f9);
    font-weight: 800;
    font-size: 12px;
}

.jbq-what[b-x0duntk3fr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    min-width: 0;
}

.jbq-what small[b-x0duntk3fr] {
    color: var(--st-text-muted, #64748b);
    font-size: 12px;
}

.jbq-what .jbq-conflict[b-x0duntk3fr] {
    color: #b45309;
}

.jbq-state[b-x0duntk3fr] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-muted, #64748b);
}

.jbq-entry.is-ready .jbq-state[b-x0duntk3fr] {
    color: #15803d;
}

.jbq-entry.is-in .jbq-state[b-x0duntk3fr] {
    color: #2563eb;
}

.jbq-actions[b-x0duntk3fr] {
    display: inline-flex;
    gap: 6px;
}

.jbq-change[b-x0duntk3fr] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--st-border);
}

.jbq-grow[b-x0duntk3fr] {
    flex: 1 1 200px;
}

.jbq-section[b-x0duntk3fr] {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 800;
}

.jbq-outages li[b-x0duntk3fr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.jbq-take-out summary[b-x0duntk3fr] {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.jbq-form[b-x0duntk3fr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
}

.jbq-field[b-x0duntk3fr] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.jbq-field select[b-x0duntk3fr],
.jbq-field input[b-x0duntk3fr] {
    padding: 6px 8px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 13px;
}

.jbq-wide[b-x0duntk3fr] {
    grid-column: 1 / -1;
}

.jbq-empty[b-x0duntk3fr],
.jbq-error[b-x0duntk3fr] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted, #64748b);
}

.jbq-error[b-x0duntk3fr] {
    color: #b91c1c;
}

@media (max-width: 640px) {
    .jbq-entry[b-x0duntk3fr] {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .jbq-form[b-x0duntk3fr] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbCapacityLane.razor.rz.scp.css */
/* Bloque «Recursos» (F6, D49, D75): debajo de los operarios; cabecera plegable y una franja por recurso. */
/* Las dos filas de cabecera (Recursos y «+N sin trabajo») son opacas y de lado a lado, con su línea arriba y abajo: la
   retícula y los fondos de día del bloque no pasan por ellas. La fila no es una capa: el cuerpo (z 1) tapa la retícula (z 0) y
   deja pasar la línea AHORA (z 3), y la etiqueta sigue siendo la fija (z 5) que tapa esa línea al desplazarse. Las líneas van
   en la etiqueta y en el cuerpo (no en la fila, que la retícula taparía). */
.jscb-capacity-head[b-sy2bp2gs0s],
.jscb-capacity-row.jscb-capacity-more[b-sy2bp2gs0s] {
    border-top: 0;
    background: transparent;
}

.jscb-capacity-head > .jscb-row-label[b-sy2bp2gs0s],
.jscb-capacity-head > .jscb-row-body[b-sy2bp2gs0s],
.jscb-capacity-more > .jscb-row-label[b-sy2bp2gs0s],
.jscb-capacity-more > .jscb-row-body[b-sy2bp2gs0s] {
    border-top: 1px solid var(--jscb-border-strong);
    background: var(--jscb-bg-soft);
}

.jscb-capacity-head > .jscb-row-body[b-sy2bp2gs0s],
.jscb-capacity-more > .jscb-row-body[b-sy2bp2gs0s] {
    z-index: 1;
}

.jscb-capacity-head[b-sy2bp2gs0s] {
    height: 28px;
}

.jscb-capacity-head > .jscb-row-label[b-sy2bp2gs0s],
.jscb-capacity-head > .jscb-row-body[b-sy2bp2gs0s] {
    border-bottom: 1px solid var(--jscb-border-strong);
}

/* La línea de abajo de la cabecera ya separa: la primera fila de recurso no repite la suya. */
.jscb-capacity-head + .jscb-capacity-row[b-sy2bp2gs0s] {
    border-top: 0;
}

.jscb-capacity-head-label[b-sy2bp2gs0s] {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--jscb-bg-soft);
}

.jscb-capacity-head-body[b-sy2bp2gs0s] {
    display: flex;
    align-items: center;
    padding: 0 12px;
}

/* Plegado (D69): el resumen de todos los recursos en la cabecera, con los mismos tramos que cada fila. */
.jscb-capacity-head-body.is-summary[b-sy2bp2gs0s] {
    padding: 0;
}

.jscb-capacity-head-body.is-summary .jscb-cap-seg[b-sy2bp2gs0s] {
    top: 5px;
}

.jscb-capacity-empty[b-sy2bp2gs0s] {
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-capacity-row[b-sy2bp2gs0s] {
    height: calc(var(--jscb-capacity-row-height) + 16px);
    border-top: 1px solid var(--jscb-border);
    background: color-mix(in srgb, var(--jscb-bg) 80%, transparent);
}

.jscb-capacity-label[b-sy2bp2gs0s] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    overflow: hidden;
    background: var(--jscb-bg);
}

.jscb-capacity-swatch[b-sy2bp2gs0s] {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.jscb-capacity-name[b-sy2bp2gs0s] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: var(--jscb-text);
}

/* «+N sin trabajo»: fila plegable con los recursos sin chips en el periodo. */
.jscb-capacity-more .jscb-capacity-label[b-sy2bp2gs0s] {
    padding: 0 6px;
    background: var(--jscb-bg-soft);
}

.jscb-capacity-more-btn[b-sy2bp2gs0s] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 6px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-capacity-more-btn svg[b-sy2bp2gs0s] {
    width: 12px;
    height: 12px;
}

.jscb-capacity-more-btn:hover[b-sy2bp2gs0s] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-capacity-more-btn:focus-visible[b-sy2bp2gs0s] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-capacity-more .jscb-capacity-body[b-sy2bp2gs0s]::before {
    display: none;
}

/* Fondo gris liso = sin cupo (Capacity 0); los tramos con cupo se pintan encima. */
.jscb-capacity-body[b-sy2bp2gs0s] {
    height: 100%;
    padding: 4px 0;
}

.jscb-capacity-body[b-sy2bp2gs0s]::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    right: 0;
    /* Sin cupo en gris liso (revisión UX): los tramos con cupo lo tapan. */
    background: var(--jscb-bg-soft);
    pointer-events: none;
}

.jscb-cap-seg[b-sy2bp2gs0s] {
    position: absolute;
    top: 4px;
    height: var(--jscb-capacity-row-height);
    overflow: hidden;
    background: var(--jscb-bg);
    box-shadow: inset 0 0 0 1px var(--jscb-border);
}

.jscb-cap-fill[b-sy2bp2gs0s] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--st-border-stronger);
    transition: height 0.2s ease;
}

.jscb-cap-seg.is-idle .jscb-cap-fill[b-sy2bp2gs0s] {
    display: none;
}

.jscb-cap-seg.is-idle[b-sy2bp2gs0s] {
    background: var(--jscb-bg);
}

/* ─── F6: encabezado plegable, estado AHORA, más cola y sobrecarga en horas ── */
.jscb-capacity-toggle[b-sy2bp2gs0s] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: var(--jscb-text);
    cursor: pointer;
}

.jscb-capacity-toggle svg[b-sy2bp2gs0s] {
    width: 14px;
    height: 14px;
}

.jscb-capacity-summary[b-sy2bp2gs0s] {
    font-size: 11px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

.jscb-capacity-text[b-sy2bp2gs0s] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.jscb-capacity-status[b-sy2bp2gs0s] {
    font-size: 10.5px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-capacity-neck[b-sy2bp2gs0s] {
    margin-left: 4px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
    font-size: 10.5px;
    font-weight: 700;
}

/* Sobrecarga = naranja (D45), no rojo: el rojo es de la promesa incumplida. */
.jscb-capacity-over[b-sy2bp2gs0s] {
    margin-left: 4px;
    color: var(--jscb-overload);
    font-weight: 700;
}

.jscb-cap-seg.is-overload[b-sy2bp2gs0s] {
    background: var(--jscb-overload-soft);
    box-shadow: inset 0 0 0 1px var(--jscb-overload-line);
}

.jscb-cap-seg.is-overload .jscb-cap-fill[b-sy2bp2gs0s] {
    background: var(--jscb-overload-line);
}

/* Puestos libres por tramo, solo en Día. */
.jscb-cap-free[b-sy2bp2gs0s] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--jscb-text);
    pointer-events: none;
}

/* Plegado (D193): dos burbujas al final de la cabecera, con trabajo en verde y sin trabajo en gris. */
.jscb-capacity-counts[b-sy2bp2gs0s] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.jscb-capacity-count[b-sy2bp2gs0s] {
    display: inline-flex;
}

.jscb-capacity-count.is-busy[b-sy2bp2gs0s] {
    --st-badge-bg: #16a34a;
}

.jscb-capacity-count.is-idle[b-sy2bp2gs0s] {
    --st-badge-bg: var(--jscb-text-faint);
}

/* D556: «Ver en Recursos» de las cifras de capacidad lleva aquí: la etiqueta del recurso con más cola late un momento con el contorno magenta del
   buscador (D259) y queda como estaba. */
.jscb-capacity-label.is-located[b-sy2bp2gs0s] {
    outline: 2px solid transparent;
    outline-offset: -2px;
    border-radius: 6px;
    animation: jscb-capacity-located-b-sy2bp2gs0s 0.8s ease-in-out 3 forwards;
}

@keyframes jscb-capacity-located-b-sy2bp2gs0s {
    0%, 100% { outline-color: transparent; }
    50% { outline-color: var(--jscb-accent); }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-capacity-label.is-located[b-sy2bp2gs0s] {
        animation: none;
        outline-color: var(--jscb-accent);
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbCardMenu.razor.rz.scp.css */
/* Menú ⋮ de la tarjeta de JSCB (D68): lista corta anclada al ⋮, sobre la grilla como la ficha. */
.jscb-card-menu[b-svzi65pzp1] {
    position: absolute;
    z-index: 20;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 4px;
    border: 1px solid var(--jscb-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    color: var(--jscb-text);
    font-size: 12.5px;
    line-height: 1.3;
    cursor: default;
    overflow: auto;
    overscroll-behavior: contain;
}

.jscb-menu-item[b-svzi65pzp1] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.jscb-menu-item svg[b-svzi65pzp1] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--jscb-text-muted);
}

.jscb-menu-item:hover:not(:disabled)[b-svzi65pzp1],
.jscb-menu-item:focus-visible[b-svzi65pzp1] {
    background: var(--jscb-bg-soft);
    outline: none;
}

.jscb-menu-item:disabled[b-svzi65pzp1] {
    color: var(--jscb-text-faint);
    cursor: not-allowed;
}

.jscb-menu-item:disabled svg[b-svzi65pzp1] {
    color: var(--jscb-text-faint);
}

.jscb-menu-item.is-danger:not(:disabled)[b-svzi65pzp1],
.jscb-menu-item.is-danger:not(:disabled) svg[b-svzi65pzp1] {
    color: var(--jscb-danger-text);
}

.jscb-menu-sep[b-svzi65pzp1] {
    height: 1px;
    margin: 4px 6px;
    background: var(--jscb-border);
}

.jscb-menu-error[b-svzi65pzp1] {
    margin: 4px 6px 2px;
    color: var(--jscb-danger-text);
    font-size: 11.5px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbCardPreview.razor.rz.scp.css */
/* F1a: the preview of «Tarjeta del JSCB». The drawing (bands, cards, bars) is the board's own; here only the box of the preview and
   the least of the layout the board gives its rows from its own isolated CSS (JscbBoard.razor.css, .jscb-grid-inner ::deep): the row
   in a line, its body as the frame of the cards and bars, and no column of names (the preview names each order itself). Colors only
   from the tokens. */
.jscbp[b-ury9zca8bs] {
    overflow-x: auto;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    scrollbar-width: thin;
}

.jscbp-board[b-ury9zca8bs] {
    display: grid;
    gap: 2px;
    width: max-content;
    min-width: 100%;
    padding: 8px 12px 8px 0;
    box-sizing: border-box;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-family: var(--jscb-font);
    font-size: 12px;
    line-height: 1.3;
}

.jscbp-row[b-ury9zca8bs] {
    display: flex;
    align-items: center;
}

/* The name of the example, fixed on the left while the lines scroll on a narrow screen. */
.jscbp-name[b-ury9zca8bs] {
    position: sticky;
    left: 0;
    z-index: 6;
    display: grid;
    flex: 0 0 104px;
    align-self: stretch;
    align-content: center;
    padding: 0 10px 0 12px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-size: 12px;
    font-weight: 700;
}

.jscbp-name small[b-ury9zca8bs] {
    color: var(--jscb-text-muted);
    font-size: 11px;
    font-weight: 500;
}

.jscbp-lane[b-ury9zca8bs] {
    position: relative;
    flex: 0 0 auto;
    height: var(--jscb-lane-height);
    overflow: hidden;
}

/* D580: the name of a band of the board (its team), over its orders. */
.jscbp-band[b-ury9zca8bs] {
    position: sticky;
    left: 0;
    width: max-content;
    margin: 4px 0 0;
    padding: 2px 10px 2px 12px;
    background: var(--jscb-bg);
    color: var(--jscb-text-muted);
    font-size: 11px;
    font-weight: 700;
}

.jscbp-more[b-ury9zca8bs] {
    margin: 4px 0 0;
    padding: 0 12px;
    color: var(--jscb-text-muted);
    font-size: 11px;
}

/* NOW, as the line of the board: magenta, 2 px, over the cards and the bars. */
.jscbp-now[b-ury9zca8bs] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 2px solid var(--jscb-accent);
    z-index: 4;
    pointer-events: none;
}

/* The layout of the rows of the board (JscbBoard.razor.css, .jscb-grid-inner ::deep), the least of it. */
.jscbp-lane[b-ury9zca8bs]  .jscb-row {
    display: flex;
    align-items: stretch;
    max-height: var(--jscb-lane-height);
}

.jscbp-lane[b-ury9zca8bs]  .jscb-row-label {
    display: none;
}

.jscbp-lane[b-ury9zca8bs]  .jscb-row-body {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
}

.jscbp-lane[b-ury9zca8bs]  *,
.jscbp-lane[b-ury9zca8bs]  *::before,
.jscbp-lane[b-ury9zca8bs]  *::after {
    box-sizing: border-box;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbChip.razor.rz.scp.css */
/* Chip: 20 px de alto, esquinas de 3 px, sin texto (D16). El color llega por --chip-color en línea.
   Planeado (D68, diseño de Johan): el pastel del color del proceso, para que la placa y la promesa manden
   en la tarjeta. En bandeja sin planear: blanca y punteada en gris. Fichado (JPCB): sólido. El fantasma
   va sobre todo. Sin puente entre tramos: la tarjeta de la OT (banda) une lo de cada cadena. */
.jscb-chip[b-8u0e2dfyhk] {
    position: absolute;
    display: block;
    height: var(--jscb-chip-height);
    /* JscbBoardMetrics.ChipMinWidthPx: the frame of the card of one line reaches past it (F2). */
    min-width: 2px;
    border-radius: 3px;
    /* F1b: the look of the JSCB may change the fill and the outline (JscbCardLookCss); without it, 42 % and 22 % as always. */
    background: color-mix(in srgb, var(--chip-color) var(--jscb-chip-fill, 42%), var(--jscb-bg, var(--st-surface)));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-color) var(--jscb-chip-outline, 22%), transparent);
    cursor: default;
    transition: opacity 0.15s ease;
}

/* Fila de ocupación (D74): bloques sueltos con sus cuatro esquinas; los cortes de D47 siguen mandando. */
.jscb-chip.is-occupancy[b-8u0e2dfyhk] {
    border-radius: 4px;
}

/* Dónde empieza y termina cada proceso (D47): esquina redonda solo en su inicio y su fin reales;
   donde el proceso sigue (la noche, fuera del periodo) el corte es recto. */
.jscb-chip.is-cont-l[b-8u0e2dfyhk] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.jscb-chip.is-cont-r[b-8u0e2dfyhk] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Lista de procesos de la tarjeta (D67, D68): secciones con esquinas pequeñas; la primera y la última siguen
   el radio de la tarjeta en sus esquinas de abajo (8 px de la tarjeta menos su relleno). */
.jscb-chip.is-card-start[b-8u0e2dfyhk] {
    border-bottom-left-radius: 6px;
}

.jscb-chip.is-card-end[b-8u0e2dfyhk] {
    border-bottom-right-radius: 6px;
}

.jscb-chip.is-tray[b-8u0e2dfyhk] { z-index: 1; }
.jscb-chip.is-plan[b-8u0e2dfyhk] { z-index: 2; }
.jscb-chip.is-clock[b-8u0e2dfyhk] { z-index: 3; }

/* Un chip real abre la ficha (R24): mano y un aro leve al pasar, sin mover nada ni pisar las
   sombras de estado (en curso, tentativa). */
.jscb-chip.is-clickable[b-8u0e2dfyhk] {
    cursor: pointer;
    transition: opacity 0.15s ease, outline-color 0.15s ease;
    outline: 2px solid transparent;
    outline-offset: 0;
}

.jscb-chip.is-clickable:hover[b-8u0e2dfyhk] {
    outline-color: var(--st-fill-6);
}

.jscb-chip.is-clickable:focus-visible[b-8u0e2dfyhk] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* ─── Planeado ──────────────────────────────────────────────────────────── */
/* Tentativa (D11): relleno al 35 % y borde punteado del color del proceso. */
.jscb-chip.is-plan.is-tentative[b-8u0e2dfyhk] {
    background: transparent;
    border: 1.5px dashed var(--chip-color);
    box-shadow: none;
}

.jscb-chip.is-plan.is-tentative[b-8u0e2dfyhk]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: var(--chip-color);
    opacity: 0.35;
}

/* Hecho (R10, D46): baja a 16 px pegado al pie (lo pone JscbChip en línea) y conserva su color:
   se sigue leyendo qué proceso fue sin competir con lo que falta. */

/* Vencido sin iniciar (F3, D312): en su hora, con una marca ámbar al inicio (atención, D45). */
/* D502: hours set by hand («Editar tiempo»): a dotted line along the bottom of the bar, the rest of its look untouched. */
.jscb-chip.is-plan.is-hand-time[b-8u0e2dfyhk]::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 2px;
    border-bottom: 1.5px dotted color-mix(in srgb, var(--chip-color) 75%, var(--jscb-text, var(--st-text)));
    pointer-events: none;
}

.jscb-chip.is-plan.is-overdue[b-8u0e2dfyhk] {
    box-shadow: inset 3px 0 0 var(--jscb-warn), inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* En curso (R10): sin marca propia (D69). JSCB planea y no enseña ejecución ni fichajes; la raya al pie se
   leía como lo fichado. Lo que se está trabajando lo cuenta JPCB en «Inicio/Fin». */

/* Sin ejecutor (R25): borde punteado gris; si además es tentativa gana el punteado del proceso. */
.jscb-chip.is-plan.is-unassigned:not(.is-tentative)[b-8u0e2dfyhk] {
    border: 1.5px dashed var(--jscb-text-faint);
    box-shadow: none;
}

/* A step without a person says it is late like the others (D312): its dashes stay («sin ejecutor») and its late mark wins over
   them, since a shop that plans by seats has no person in any step. */
.jscb-chip.is-plan.is-unassigned.is-overdue:not(.is-tentative)[b-8u0e2dfyhk] {
    box-shadow: inset 3px 0 0 var(--jscb-warn);
}

.jscb-chip.is-plan.is-unassigned.is-expired:not(.is-tentative)[b-8u0e2dfyhk] {
    border-color: var(--jscb-danger);
    box-shadow: inset 3px 0 0 var(--jscb-danger);
}

/* ─── En bandeja ────────────────────────────────────────────────────────── */
/* Estadía leída de las entregas: el color al 25 %, sin borde, detrás del plan. Sola sube al 45 %
   para que siga leyéndose sin el plan encima. */
/* D67, D68: en JSCB la bandeja que todavía no se planeó va blanca y punteada en gris (el diseño): el hueco
   que el jefe tiene que planear. Un toque del color del proceso deja saber cuál es. */
.jscb-chip.is-tray[b-8u0e2dfyhk] {
    box-sizing: border-box;
    background: color-mix(in srgb, var(--chip-color) 8%, var(--jscb-bg, var(--st-surface)));
    border: 1.5px dashed var(--jscb-text-faint);
    box-shadow: none;
}

/* OT sin autorizar (D11) y sin ejecutor (R25) se marcan por dentro para no estirar la geometría. */
.jscb-chip.is-tray.is-tentative[b-8u0e2dfyhk] {
    outline: 1px dashed color-mix(in srgb, var(--chip-color) 70%, transparent);
    outline-offset: -1px;
}

.jscb-chip.is-tray.is-unassigned:not(.is-tentative)[b-8u0e2dfyhk] {
    outline: 1px dashed var(--jscb-text-faint);
    outline-offset: -1px;
}

/* Tramo actual: llega hasta AHORA y su borde derecho es punteado porque termina en el reloj. */
.jscb-chip.is-tray.is-current-edge[b-8u0e2dfyhk] {
    border-right: 2px dotted var(--jscb-text-muted);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Salida registrada = historia: baja apenas; la capa ya es tenue de por sí. */
.jscb-chip.is-tray.is-done[b-8u0e2dfyhk] {
    opacity: 0.8;
}

/* ─── Fichado ───────────────────────────────────────────────────────────── */
/* Intervalo fichado (revisión UX 2026-09-21: sólido, sin franjas): el color en tono oscuro (30 %
   de negro) en una banda de 8 px al borde inferior del chip planeado. Sola, ocupa los 20 px. */
.jscb-chip.is-clock[b-8u0e2dfyhk] {
    box-sizing: border-box;
    height: var(--jscb-clock-height);
    border: 0;
    border-radius: 2px;
    background: color-mix(in srgb, var(--chip-color) 70%, black);
    box-shadow: none;
}

.jscb-chip.is-clock.is-sole[b-8u0e2dfyhk] {
    height: var(--jscb-chip-height);
    border-radius: 4px;
}

/* Fichaje abierto: llega hasta AHORA con el borde derecho punteado en blanco sobre el tono oscuro. */
.jscb-chip.is-clock.is-current-edge[b-8u0e2dfyhk] {
    border-right: 2px dotted rgba(255, 255, 255, 0.85);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* H-06: fichaje que SysTime cerró solo al terminar la jornada. Su fin es el de la jornada, no una hora que alguien confirmó: borde punteado y
   relleno rayado y claro (no sólido) para que el Real no se lea como tiempo trabajado de verdad. El texto accesible va en su title. */
.jscb-chip.is-clock.is-autoclosed[b-8u0e2dfyhk],
.jscb-chip.is-clock.is-exec.is-autoclosed[b-8u0e2dfyhk] {
    border: 2px dotted var(--chip-color);
    /* As an 11 px tile (two bands per 7.78 px, the period that repeats without a seam in a square of that side) and not a
       `repeating-linear-gradient`, which Safari paints very slowly. */
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--chip-color) 30%, transparent) 0 3.889px, color-mix(in srgb, var(--chip-color) 12%, transparent) 3.889px 7.778px,
        color-mix(in srgb, var(--chip-color) 30%, transparent) 7.778px 11.667px, color-mix(in srgb, var(--chip-color) 12%, transparent) 11.667px) 0 0 / 11px 11px;
}

.jscb-chip.is-autoclosed .jscb-chip-hours[b-8u0e2dfyhk] {
    color: var(--jscb-text);
    text-shadow: none;
}

/* Tick de pausa: rayita vertical del color fuerte al inicio del intervalo que reanuda. */
.jscb-pause-tick[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 3;
    width: 2px;
    border-radius: 1px;
    background: color-mix(in srgb, var(--chip-color) 70%, black);
    cursor: help;
}

/* ─── Marca de imprevisto (R14, R27) ────────────────────────────────────── */
/* Círculo de 14 px sobre el primer tramo del chip planeado: ámbar (en paralelo) o rojo (detenida). Es un botón (D236): al tocarlo
   abre su aviso; el resto del chip sigue siendo del chip (hover, clic y arrastre). */
.jscb-chip-mark[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--jscb-mark-size);
    height: var(--jscb-mark-size);
    border-radius: 9999px;
    box-sizing: content-box;
    padding: 0;
    border: 1.5px solid #fff;
    color: #fff;
    font-family: inherit;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

.jscb-chip-mark:hover[b-8u0e2dfyhk] {
    filter: brightness(0.92);
}

.jscb-chip-mark:focus-visible[b-8u0e2dfyhk] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 1px;
}

.jscb-chip-mark svg[b-8u0e2dfyhk] {
    width: 9px;
    height: 9px;
}

.jscb-chip-mark.is-concurrent[b-8u0e2dfyhk] {
    background: var(--jscb-warn);
}

.jscb-chip-mark.is-stopped[b-8u0e2dfyhk] {
    background: var(--jscb-danger);
}

/* Aviso del plan (D126–D128): «!» en ámbar, atención; nunca rojo (D45). */
.jscb-chip-mark.is-warning[b-8u0e2dfyhk] {
    background: var(--jscb-warn);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

/* Pin del jefe (Motor 2b): tinta con el icono y el aro de la superficie al final del primer tramo del chip planeado. */
.jscb-chip-pin[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--jscb-mark-size);
    height: var(--jscb-mark-size);
    border-radius: 9999px;
    border: 1.5px solid var(--jscb-on-ink);
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

.jscb-chip-pin svg[b-8u0e2dfyhk] {
    width: 9px;
    height: 9px;
}

/* F11 (A12): «en bandeja de X» en lo planeado que ya se entregó y nadie empezó: la bandeja, sobre el color del proceso. */
.jscb-chip-tray[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--jscb-mark-size);
    height: var(--jscb-mark-size);
    border-radius: 4px;
    border: 1.5px solid var(--jscb-ink);
    background: var(--jscb-on-ink);
    color: var(--jscb-ink);
    pointer-events: none;
}

.jscb-chip-tray svg[b-8u0e2dfyhk] {
    width: 9px;
    height: 9px;
}

/* F17 (F17-8; MOV-09): entregado y sin iniciar pasada la tolerancia del taller. */
.jscb-chip-tray.is-late[b-8u0e2dfyhk] {
    border-color: var(--jscb-danger);
    background: var(--jscb-danger);
    color: #fff;
}

/* D312: plan vencido, recursos liberados. Sigue en su hora, atenuado como lo que ya no manda y con el
   borde de error: no ocupa a nadie hasta que el jefe lo replanee. */
.jscb-chip.is-plan.is-expired[b-8u0e2dfyhk] {
    opacity: 0.55;
    box-shadow: inset 3px 0 0 var(--jscb-danger), inset 0 0 0 1px var(--jscb-danger);
}

/* El plan de una cadena detenida se atenúa: sigue en la grilla, pero ya no manda (R14). Sin rayas
   (revisión UX): la marca ⏸ y la tarjeta ámbar de la OT ya lo dicen. */
.jscb-chip.is-plan.is-stopped[b-8u0e2dfyhk] {
    opacity: 0.45;
}

/* OT sin plan (D40): el trabajo existe —la OT está en un proceso o alguien fichó— pero nadie lo
   programó. El trazo punteado del propio color lo dice sin quitarle el relleno. */
.jscb-chip.is-unplanned:not(.is-tentative)[b-8u0e2dfyhk] {
    border: 1.5px dashed color-mix(in srgb, var(--chip-color) 70%, black);
    box-shadow: none;
}

/* D68: la bandeja sin planear ya dice «sin plan» con su blanco y su punteado gris (el diseño); el trazo del
   color del proceso queda para lo planeado o fichado sin plan. */
.jscb-chip.is-tray.is-unplanned:not(.is-tentative)[b-8u0e2dfyhk] {
    border-color: var(--jscb-text-faint);
}

/* La banda del fichado mide 8 px: ahí el punteado va más fino para que siga leyéndose. */
.jscb-chip.is-clock.is-unplanned:not(.is-sole)[b-8u0e2dfyhk] {
    border-width: 1px;
}

/* ─── Lo ya trabajado (F4a, tarjeta de 1 línea) ─────────────────────────── */
/* The step done and, of the one in progress, up to NOW, at the full height of the bar (the card of two lines keeps D46: the step done
   lower at the foot). wk-lighter: the same color of the process, mixed solid with the board at the intensity of the look (16 % by
   default; not a real opacity, so the 0.4 of the focus, D170, does not leave it at 20 % and the grid and the thread do not show through).
   wk-hollow: only an outline of 1.5 px in the color of the process, without fill. The step in progress is worked only up to NOW: its
   piece carries where it starts (--jscb-seg-x) and the block of its team carries NOW (--jscb-now-x); nothing repaints with the clock.
   Without a value of NOW (outside a block) nothing of it is worked. Not authorized and without plan stay dashed (JscbChip). */
.jscb-chip.is-plan.has-worked[b-8u0e2dfyhk] {
    --jscb-worked-w: clamp(0px, calc(var(--jscb-now-x, -100000px) - var(--jscb-seg-x, 0px)), 100%);
}

.jscb-chip.is-plan.is-worked.wk-lighter[b-8u0e2dfyhk] {
    background: color-mix(in srgb, var(--chip-color) var(--jscb-cfg-worked, 16%), var(--jscb-bg, var(--st-surface)));
}

.jscb-chip.is-plan.has-worked.wk-lighter[b-8u0e2dfyhk] {
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--chip-color) var(--jscb-cfg-worked, 16%), var(--jscb-bg, var(--st-surface))) var(--jscb-worked-w),
        color-mix(in srgb, var(--chip-color) var(--jscb-chip-fill, 42%), var(--jscb-bg, var(--st-surface))) var(--jscb-worked-w));
}

.jscb-chip.is-plan.is-worked.wk-hollow[b-8u0e2dfyhk] {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--chip-color);
}

.jscb-chip.is-plan.has-worked.wk-hollow[b-8u0e2dfyhk] {
    background: linear-gradient(90deg,
        transparent var(--jscb-worked-w),
        color-mix(in srgb, var(--chip-color) var(--jscb-chip-fill, 42%), var(--jscb-bg, var(--st-surface))) var(--jscb-worked-w));
}

.jscb-chip.is-plan.has-worked.wk-hollow[b-8u0e2dfyhk]::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--jscb-worked-w);
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    box-shadow: inset 0 0 0 1.5px var(--chip-color);
    pointer-events: none;
}

/* ─── Tiempo muerto dentro del chip (D38) ───────────────────────────────── */
/* Gris liso sobre el color del proceso: el ejecutor de ESTE chip no puede trabajar ahí (almuerzo,
   descanso, novedad o fuera de jornada). No recibe el ratón: el clic sigue abriendo la ficha del
   chip que hay debajo. */
/* El borde segmentado (D39) distingue el rato muerto del trabajo: no es un proceso más, es una
   interrupción. */
.jscb-chip-break[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 2;
    border: 1px dashed color-mix(in srgb, var(--st-text-subtle) 55%, transparent);
    border-radius: 3px;
    background: var(--jscb-bg-soft);
    pointer-events: none;
}

/* Almuerzo o descanso: dentro de la jornada el gris va un punto más vivo que el de la noche. */
.jscb-chip-break.is-within-shift[b-8u0e2dfyhk] {
    background: var(--jscb-bg-row);
}

/* Novedad de la persona (permiso, cita): el trazo más marcado. */
.jscb-chip-break.is-blocked[b-8u0e2dfyhk] {
    background: var(--jscb-bg-row);
    border-color: color-mix(in srgb, var(--st-text-secondary) 75%, transparent);
}

/* En la banda del fichado el chip mide 8 px: el gris se recorta igual. */
.jscb-chip-break.is-clock[b-8u0e2dfyhk] {
    border-radius: 1px;
}

/* D279: an interruption occupies its place inside the process, without changing its recorded spans or hours. */
.jscb-chip-break.is-schedule[b-8u0e2dfyhk] {
    --pause-ink: color-mix(in srgb, var(--jscb-mark-ink, var(--st-text-secondary)) var(--jscb-mark-hatch-opacity, 65%), transparent);
    --pause-w: var(--jscb-mark-hatch-width, 2px);
    border: 0;
    border-radius: 0;
    /* The hatch of `repeating-linear-gradient(135deg, ink 0 w, transparent w 6px)` drawn as an 8 px tile (two strokes 5.66 px apart, the
       period that repeats without a seam in a square of that side): Safari paints the repeating form so slowly that every hover took
       seconds, and this one measures as fast as having no hatch at all. */
    background: linear-gradient(135deg,
        var(--pause-ink) 0 var(--pause-w), transparent var(--pause-w) 5.657px,
        var(--pause-ink) 5.657px calc(5.657px + var(--pause-w)), transparent calc(5.657px + var(--pause-w))) 0 0 / 8px 8px,
        var(--jscb-mark-pause-bg, var(--jscb-bg-row));
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--chip-color) var(--jscb-chip-outline, 22%), transparent),
        inset 0 -1px 0 color-mix(in srgb, var(--chip-color) var(--jscb-chip-outline, 22%), transparent);
}

/* A narrow interruption remains a neutral cut; fine hatching would be unreadable at this scale. */
.jscb-chip-break.is-schedule.is-cut[b-8u0e2dfyhk] {
    background: var(--jscb-mark-pause-bg, var(--jscb-bg-row));
}

.jscb-chip-break-hit[b-8u0e2dfyhk] {
    position: absolute;
    z-index: 2;
    background: transparent;
    pointer-events: auto;
    cursor: pointer;
}

/* ─── JPCB: lo fichado dentro de la barra de ejecución (D67) ───────────────── */
/* El color de la OT, sólido, con sus horas dentro si caben. Esquinas pequeñas; la sección que toca el
   borde de la barra sigue su radio (9 px de la barra menos 2 de aire). */
.jscb-chip.is-clock.is-exec[b-8u0e2dfyhk] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chip-color);
    border-radius: 3px;
    overflow: hidden;
}

.jscb-chip.is-exec.is-card-start[b-8u0e2dfyhk] {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.jscb-chip.is-exec.is-card-end[b-8u0e2dfyhk] {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.jscb-chip-hours[b-8u0e2dfyhk] {
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.3);
    white-space: nowrap;
    pointer-events: none;
}

/* Keyboard selection has the same readable detail as a pointer selection, without changing time geometry. */
.jscb-chip-readout[b-8u0e2dfyhk] {
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 12;
    display: none;
    width: max-content;
    max-width: 320px;
    padding: 8px 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    box-shadow: var(--st-shadow-md);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    white-space: normal;
    pointer-events: none;
}

.jscb-chip.is-clickable:focus-visible[b-8u0e2dfyhk] {
    z-index: 10;
}

.jscb-chip.is-clickable:focus-visible .jscb-chip-readout[b-8u0e2dfyhk] {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .jscb-chip[b-8u0e2dfyhk] {
        transition: none;
    }
}

/* D511: the followed process stands out and the others step back; the geometry of the bars does not change. */
.jscb-chip.is-followed[b-8u0e2dfyhk] {
    background: color-mix(in srgb, var(--chip-color) 72%, var(--jscb-bg, var(--st-surface)));
}

/* «.is-plan» also, so the ones that are already dimmed (an expired plan, a stopped order) step back as much as the rest. */
.jscb-chip.is-follow-off[b-8u0e2dfyhk],
.jscb-chip.is-plan.is-follow-off[b-8u0e2dfyhk] {
    opacity: 0.16;
}

.jscb-chip-turn[b-8u0e2dfyhk] {
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.5);
    pointer-events: none;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbColorGuide.razor.rz.scp.css */
.jscb-contrast-toggle[b-ulwj8rq6bl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-contrast-toggle small[b-ulwj8rq6bl] {
    display: block;
    margin-top: 4px;
    color: var(--st-text-secondary);
    font-size: 11px;
}

.jscb-contrast-track[b-ulwj8rq6bl] {
    flex: 0 0 44px;
    height: 24px;
    padding: 3px;
    border-radius: 12px;
    background: var(--st-surface-stronger);
    box-shadow: inset 0 0 0 1px var(--st-border-strong);
}

.jscb-contrast-track > span[b-ulwj8rq6bl] {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--st-text-secondary);
}

.jscb-contrast-toggle[aria-checked="true"] .jscb-contrast-track[b-ulwj8rq6bl] {
    background: var(--st-gold-bg);
    box-shadow: inset 0 0 0 2px var(--st-gold-text);
}

.jscb-contrast-toggle[aria-checked="true"] .jscb-contrast-track > span[b-ulwj8rq6bl] {
    transform: translateX(20px);
    background: var(--st-gold-text);
}

.jscb-contrast-system[b-ulwj8rq6bl] {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.jscb-contrast-toggle:focus-visible[b-ulwj8rq6bl],
.jscb-contrast-system:focus-visible[b-ulwj8rq6bl] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbDecisionBar.razor.rz.scp.css */
/* Barra de decisión (V13): al pie del calendario, dentro del layout; borde magenta al 45 % (el de la propuesta, §5.2), radio 12. */
.jscb-dbar[b-aoe953h7o7] {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0 0;
    padding: 8px 12px;
    border: 1px solid rgba(216, 27, 132, 0.45);
    border-radius: 12px;
    background: var(--jscb-bg);
    box-shadow: var(--st-shadow-lg);
    color: var(--st-text-body);
    font-size: 13px;
    outline: none;
}

.jscb-dbar:focus-visible[b-aoe953h7o7] {
    box-shadow: 0 0 0 2px var(--jscb-accent), var(--st-shadow-lg);
}

.jscb-dbar.is-compact[b-aoe953h7o7] {
    padding: 6px 12px;
    border-color: var(--st-border-strong);
}

.jscb-dbar.is-compact.is-warning[b-aoe953h7o7] {
    border-color: var(--jscb-warn-border);
}

/* Paso 3c: la OT no se puede programar todavía; borde y fondo del aviso (los tokens de advertencia del tablero). */
.jscb-dbar.is-blocked[b-aoe953h7o7] {
    border-color: var(--jscb-warn-border);
}

.jscb-dbar-blocked-head[b-aoe953h7o7] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text-strong);
}

.jscb-dbar-blocked-icon[b-aoe953h7o7] {
    flex: none;
}

/* D362: lo que decide el jefe (regla de negocio), en el ámbar del aviso, no con ⛔. */
.jscb-dbar-blocked-head.is-decision .jscb-dbar-blocked-icon[b-aoe953h7o7] {
    color: var(--st-warning-text);
}

.jscb-dbar-imp.is-decision[b-aoe953h7o7]::marker {
    color: var(--st-warning-text);
}

.jscb-dbar-entry.is-offer .jscb-dbar-entry-row[b-aoe953h7o7] {
    align-items: center;
}

.jscb-dbar-entry.is-offer .jscb-dbar-entry-text[b-aoe953h7o7] {
    flex: 1 1 auto;
}

/* Todos los impedimentos juntos, en el orden de los pasos; con muchos, la lista se desplaza y los botones del pie siguen a la vista. */
.jscb-dbar-imps[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 22px;
    max-height: min(40vh, 360px);
    overflow-y: auto;
}

.jscb-dbar-imp[b-aoe953h7o7] {
    padding: 6px 10px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font-size: 12px;
}

.jscb-dbar-imp[b-aoe953h7o7]::marker {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-dbar-imp-text[b-aoe953h7o7] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-dbar-imp-line[b-aoe953h7o7] {
    margin-top: 2px;
    color: var(--st-text-body);
}

.jscb-dbar-imp-hint[b-aoe953h7o7] {
    margin-top: 2px;
    color: var(--st-text-subtle);
}

.jscb-dbar-imp-ask[b-aoe953h7o7] {
    margin-top: 4px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.jscb-dbar-fix[b-aoe953h7o7] {
    margin-top: 6px;
    height: 28px;
    font-size: 12px;
}

.jscb-dbar-fix:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* V21: los avisos van en una línea ámbar sobre R1. */
.jscb-dbar-notice[b-aoe953h7o7] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.jscb-dbar-notice.is-warning[b-aoe953h7o7] {
    color: var(--st-warning-text);
}

.jscb-dbar-r1[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.jscb-dbar-lead[b-aoe953h7o7] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-dbar-plate[b-aoe953h7o7] {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text-strong);
}

.jscb-dbar-fact + .jscb-dbar-fact[b-aoe953h7o7]::before,
.jscb-dbar-plate + .jscb-dbar-fact[b-aoe953h7o7]::before,
.jscb-dbar-fact + .jscb-dbar-verdict[b-aoe953h7o7]::before {
    content: '·';
    margin-right: 10px;
    color: var(--st-text-faint, var(--jscb-text-faint));
}

.jscb-dbar-verdict[b-aoe953h7o7] {
    font-weight: 600;
}

.jscb-dbar-verdict.is-ok[b-aoe953h7o7] {
    color: var(--st-success-fg);
}

.jscb-dbar-verdict.is-tight[b-aoe953h7o7] {
    color: var(--st-warning-fg, var(--jscb-warn));
}

.jscb-dbar-verdict.is-late[b-aoe953h7o7] {
    color: var(--st-danger-fg, var(--jscb-danger-text));
}

.jscb-dbar-more[b-aoe953h7o7],
.jscb-dbar-fold[b-aoe953h7o7] {
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-dbar-more[b-aoe953h7o7] {
    height: 24px;
}

.jscb-dbar-fold.is-open[b-aoe953h7o7] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.jscb-dbar-fold:disabled[b-aoe953h7o7] {
    color: var(--st-text-muted);
    cursor: default;
}

.jscb-dbar-sub[b-aoe953h7o7] {
    font-size: 12px;
    color: var(--st-text-secondary);
    padding-left: 2px;
}

.jscb-dbar-sub[b-aoe953h7o7]::before {
    content: '↳ ';
    color: var(--st-accent-text, var(--jscb-accent));
}

.jscb-dbar-r2[b-aoe953h7o7] {
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-dbar-r3[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.jscb-dbar-save[b-aoe953h7o7] {
    height: 30px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--st-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.jscb-dbar-save.is-pause[b-aoe953h7o7] {
    background: var(--jscb-warn);
}

/* D361: «Programar igual» es una decisión del jefe sobre un aviso: en ámbar, como el aviso. */
.jscb-dbar-save.is-entry:not(:disabled)[b-aoe953h7o7] {
    background: var(--jscb-warn);
}

.jscb-dbar-entry[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 12px;
    line-height: 1.4;
}

.jscb-dbar-entry-row[b-aoe953h7o7] {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.jscb-dbar-entry-icon[b-aoe953h7o7] {
    flex: none;
    font-weight: 700;
}

.jscb-dbar-entry-fix[b-aoe953h7o7] {
    display: block;
    color: var(--st-text-secondary);
}

.jscb-dbar-entry-decide[b-aoe953h7o7] {
    font-weight: 700;
}

/* Esperando al servidor (calculando, guardando, deshaciendo, revisando): el giro de las esperas del tablero (JscbArrangePanel) a 14 px,
   el texto de lo que hace en negrita y el cursor de progreso sobre la barra. */
.jscb-dbar.is-working[b-aoe953h7o7] {
    cursor: progress;
}

.jscb-dbar.is-working .jscb-dbar-fact[b-aoe953h7o7] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.jscb-dbar-spinner[b-aoe953h7o7] {
    flex: none;
    align-self: center;
    display: inline-block;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid var(--jscb-border-strong);
    border-top-color: var(--jscb-accent);
    border-radius: 50%;
    animation: jscb-dbar-spin-b-aoe953h7o7 0.9s linear infinite;
}

.jscb-dbar-spinner.is-in-button[b-aoe953h7o7] {
    margin-right: 6px;
    vertical-align: -2px;
}

.jscb-dbar.is-working .jscb-dbar-save:disabled[b-aoe953h7o7] {
    cursor: progress;
}

@keyframes jscb-dbar-spin-b-aoe953h7o7 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-dbar-spinner[b-aoe953h7o7] {
        animation: none;
    }
}

.jscb-dbar-save:disabled[b-aoe953h7o7] {
    background: var(--st-surface-strong);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.jscb-dbar-btn[b-aoe953h7o7] {
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--st-text-body);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.jscb-dbar-locate[b-aoe953h7o7] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jscb-dbar-btn:disabled[b-aoe953h7o7] {
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.jscb-dbar-close[b-aoe953h7o7] {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 16px;
    cursor: pointer;
}

.jscb-dbar-compact-actions[b-aoe953h7o7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.jscb-dbar-save:focus-visible[b-aoe953h7o7],
.jscb-dbar-btn:focus-visible[b-aoe953h7o7],
.jscb-dbar-fold:focus-visible[b-aoe953h7o7],
.jscb-dbar-more:focus-visible[b-aoe953h7o7],
.jscb-dbar-close:focus-visible[b-aoe953h7o7],
.jscb-dbar-way:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-dbar-rec[b-aoe953h7o7],
.jscb-dbar-readonly[b-aoe953h7o7] {
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-dbar-status[b-aoe953h7o7] {
    margin-left: auto;
    font-size: 11px;
    color: var(--st-text-muted);
}

/* V14: «Otras maneras» crece hacia arriba con ≤ 3 filas; la elegida en el amarillo de la selección y con ●. */
.jscb-dbar-ways[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
}

.jscb-dbar-way[b-aoe953h7o7] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.jscb-dbar-way:hover[b-aoe953h7o7] {
    background: var(--st-surface-muted);
}

.jscb-dbar-way.is-on[b-aoe953h7o7] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
}

.jscb-dbar-way:disabled[b-aoe953h7o7] {
    cursor: default;
}

.jscb-dbar-way-radio[b-aoe953h7o7] {
    flex: none;
    width: 12px;
    color: var(--st-text-strong);
}

.jscb-dbar-way-name[b-aoe953h7o7] {
    flex: none;
    min-width: 170px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-dbar-way-facts[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
}

.jscb-dbar-way-why[b-aoe953h7o7] {
    flex-basis: 100%;
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

.jscb-dbar-none[b-aoe953h7o7] {
    padding: 4px 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

/* D311: la pastilla de cercanía usa el estilo de «Otras maneras: 1 llega ▾»; verde si ya es lo más pronto posible, acento si algo la
   adelanta. «↳ Antes» lleva su «Ver cómo quedaría» en la misma línea. */
.jscb-dbar-more.is-ok[b-aoe953h7o7] {
    color: var(--st-success-fg);
}

.jscb-dbar-more.is-up[b-aoe953h7o7] {
    color: var(--st-accent-text, var(--jscb-accent));
}

.jscb-dbar-more:disabled[b-aoe953h7o7] {
    color: var(--st-text-muted);
    cursor: default;
}

.jscb-dbar-sub .jscb-dbar-more[b-aoe953h7o7] {
    margin-left: 8px;
}

/* «Cómo podría entrar antes»: crece hasta min(40vh, 360px) y luego se desplaza por dentro, como la lista de impedimentos. */
.jscb-dbar-levers[b-aoe953h7o7] {
    max-height: min(40vh, 360px);
    overflow-y: auto;
}

/* El título de la sección y el de cada familia: el tamaño y el color de .jscb-dbar-none, en seminegrita. */
.jscb-dbar-group[b-aoe953h7o7] {
    padding: 4px 8px 0;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jscb-dbar-group.is-title[b-aoe953h7o7] {
    padding-top: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* Una palanca: el cambio en una línea y, debajo, sus hechos y sus líneas grises. La que se hace en otra pantalla no se elige aquí. */
.jscb-dbar-way.is-lever[b-aoe953h7o7] {
    flex-wrap: wrap;
}

.jscb-dbar-way.is-lever .jscb-dbar-way-name[b-aoe953h7o7] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-dbar-way.is-lever .jscb-dbar-way-facts[b-aoe953h7o7] {
    flex-basis: 100%;
    padding-left: 20px;
}

.jscb-dbar-way.is-static[b-aoe953h7o7] {
    cursor: default;
}

.jscb-dbar-way.is-static:hover[b-aoe953h7o7] {
    background: transparent;
}

.jscb-dbar-levers-foot[b-aoe953h7o7] {
    padding: 4px 8px 0;
}

.jscb-dbar-whys[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
    font-size: 12px;
    color: var(--st-text-secondary);
}

/* «Por qué aquí» se lee sin abrir nada: etiqueta del color de su respuesta, la frase y el acceso al detalle. */
.jscb-dbar-reason[b-aoe953h7o7] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-fill-2);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.jscb-dbar-reason:hover[b-aoe953h7o7],
.jscb-dbar-reason.is-open[b-aoe953h7o7] {
    border-color: var(--kodawari-selected);
}

.jscb-dbar-reason:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* «Por qué» se lee como botón: abre las validaciones y el recorrido en lugar de las pestañas. */
.jscb-dbar-reason .jscb-dbar-reason-more[b-aoe953h7o7] {
    padding: 2px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 12px;
}

.jscb-dbar-reason-tag[b-aoe953h7o7] {
    flex: none;
    padding: 2px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.jscb-dbar-reason-tag.is-ok[b-aoe953h7o7] {
    color: var(--st-success-fg);
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
}

.jscb-dbar-reason-tag.is-warn[b-aoe953h7o7] {
    color: var(--jscb-warn-text);
    background: var(--jscb-warn-bg);
    border-color: var(--jscb-warn-border);
}

.jscb-dbar-reason-text[b-aoe953h7o7] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-dbar-reason-more[b-aoe953h7o7] {
    flex: none;
    color: var(--kodawari-selected-text);
    font-weight: 700;
    white-space: nowrap;
}

.jscb-dbar-live[b-aoe953h7o7] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* V18: el carro cae fuera del periodo a la vista; la pastilla lo dice y lleva hasta ahí (nada se desplaza solo). */
.jscb-dbar-edge[b-aoe953h7o7] {
    height: 24px;
    padding: 0 10px;
    border: 1px solid var(--jscb-accent);
    border-radius: 9999px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.jscb-dbar-edge:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* Lo que se intentó cuando la OT no se programó: las barras de los procesos (ancho por horas) y, debajo, cada proceso con sus horas y
   quién lo haría. */
.jscb-dbar-attempt[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.jscb-dbar-attempt-bars[b-aoe953h7o7] {
    display: flex;
    gap: 2px;
    height: 10px;
}

.jscb-dbar-attempt-bar[b-aoe953h7o7] {
    min-width: 6px;
    border-radius: 3px;
    cursor: help;
}

.jscb-dbar-attempt-list[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--jscb-text-muted);
}

.jscb-dbar-attempt-list li[b-aoe953h7o7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jscb-dbar-attempt-list b[b-aoe953h7o7] {
    color: var(--jscb-text);
}

.jscb-dbar-attempt-dot[b-aoe953h7o7] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.jscb-dbar-attempt-who[b-aoe953h7o7] {
    padding: 0 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    color: var(--jscb-text);
}

/* D349: la cabecera con el bloque de fechas. A quién corre va junto a la placa y los accesos a la OT a la derecha («▾» se despliega
   aquí, «↗» se abre aparte, como en el resto de la barra). */
.jscb-dbar-head[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.jscb-dbar-head .jscb-dbar-plate[b-aoe953h7o7] {
    font-size: 15px;
}

.jscb-dbar-moved[b-aoe953h7o7] {
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-dbar-moved[b-aoe953h7o7]::before {
    content: '·';
    margin-right: 10px;
    color: var(--st-text-faint, var(--jscb-text-faint));
}

.jscb-dbar-tools[b-aoe953h7o7] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

/* La pastilla de cercanía y, a su lado, el cambio que la adelanta con «Ver cómo quedaría»: una sola línea. */
.jscb-dbar-sooner[b-aoe953h7o7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 12px;
    color: var(--st-text-secondary);
}

/* Los datos que afectan el plan: su número siempre a la vista, en el ámbar de su caja; la caja se despliega debajo. */
.jscb-dbar-data-line[b-aoe953h7o7] {
    align-self: flex-start;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 6px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.jscb-dbar-data-line[aria-expanded="true"][b-aoe953h7o7] {
    border-color: var(--kodawari-selected);
}

.jscb-dbar-data-line:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* «Asignaciones»: lo registrado en la OT, bajo la línea de la barra como los otros pliegues. Las horas del taller primero y las
   asignadas en gris al lado; lo hecho, atenuado. */
.jscb-dbar-asg[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
}

.jscb-dbar-asg-scroll[b-aoe953h7o7] {
    max-height: min(40vh, 360px);
    overflow: auto;
}

.jscb-dbar-asg-table[b-aoe953h7o7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.jscb-dbar-asg-table th[b-aoe953h7o7] {
    padding: 4px 8px;
    border-bottom: 1px solid var(--st-border);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.jscb-dbar-asg-table td[b-aoe953h7o7] {
    padding: 4px 8px;
    border-bottom: 1px solid var(--st-border);
    color: var(--st-text-body);
}

.jscb-dbar-asg-table .is-num[b-aoe953h7o7] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.jscb-dbar-asg-table td .jscb-dbar-attempt-dot[b-aoe953h7o7] {
    display: inline-block;
    margin-right: 6px;
}

.jscb-dbar-asg-table b[b-aoe953h7o7] {
    color: var(--st-text-strong);
}

.jscb-dbar-asg-assigned[b-aoe953h7o7] {
    margin-left: 6px;
    color: var(--st-text-muted);
}

.jscb-dbar-asg-table tr.is-done td[b-aoe953h7o7],
.jscb-dbar-asg-table td.is-none[b-aoe953h7o7] {
    color: var(--st-text-muted);
}

.jscb-dbar-asg-table tfoot td[b-aoe953h7o7] {
    border-bottom: 0;
    font-weight: 700;
}

/* Las opciones por decisión del jefe. Dorado = lo que está en el tablero; el contador es CountBadge. */
.jscb-dbar-tabs[b-aoe953h7o7] {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    border-bottom: 1px solid var(--st-border);
}

.jscb-dbar-tab[b-aoe953h7o7] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 128px;
    padding: 5px 12px 6px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 6px 6px 0 0;
    background: none;
    color: var(--st-text-body);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-dbar-tab:hover[b-aoe953h7o7] {
    background: var(--st-fill-2);
}

.jscb-dbar-tab:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

.jscb-dbar-tab.is-active[b-aoe953h7o7] {
    border-bottom-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
}

.jscb-dbar-tab-name[b-aoe953h7o7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
}

.jscb-dbar-tab-sub[b-aoe953h7o7] {
    font-size: 11px;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.jscb-dbar-tab-sub.is-good[b-aoe953h7o7] {
    font-weight: 600;
    color: var(--st-success-fg);
}

.jscb-dbar-tab-sub.is-late[b-aoe953h7o7] {
    font-weight: 600;
    color: var(--st-danger-fg);
}

.jscb-dbar-tab-star[b-aoe953h7o7] {
    color: var(--st-text-brand);
}

.jscb-dbar-tab-on[b-aoe953h7o7] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--kodawari-selected);
}

.jscb-dbar-opts[b-aoe953h7o7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(30vh, 250px);
    overflow-y: auto;
}

.jscb-dbar-opt-cols[b-aoe953h7o7],
.jscb-dbar-opt[b-aoe953h7o7] {
    display: grid;
    grid-template-columns: 14px minmax(190px, 1fr) 108px 80px 96px minmax(150px, 230px) 104px;
    column-gap: 12px;
    align-items: center;
}

.jscb-dbar-opt-cols[b-aoe953h7o7] {
    padding: 2px 8px;
}

.jscb-dbar-opt-col[b-aoe953h7o7] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.jscb-dbar-opt-cols > :first-child[b-aoe953h7o7] {
    grid-column: 2;
}

.jscb-dbar-opt[b-aoe953h7o7] {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    text-align: left;
}

button.jscb-dbar-opt[b-aoe953h7o7] {
    cursor: pointer;
}

button.jscb-dbar-opt:hover:not(:disabled)[b-aoe953h7o7] {
    background: var(--st-fill-2);
}

button.jscb-dbar-opt:disabled[b-aoe953h7o7] {
    cursor: default;
    opacity: 0.7;
}

.jscb-dbar-opt:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-dbar-opt.is-on[b-aoe953h7o7] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
}

.jscb-dbar-opt-what[b-aoe953h7o7] {
    min-width: 0;
}

.jscb-dbar-opt-what b[b-aoe953h7o7] {
    display: block;
    color: var(--st-text-strong);
}

.jscb-dbar-opt-what > span[b-aoe953h7o7] {
    display: block;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-dbar-opt-num[b-aoe953h7o7] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--st-text-strong);
}

.jscb-dbar-opt-gain[b-aoe953h7o7] {
    font-weight: 700;
    color: var(--st-success-fg);
}

.jscb-dbar-opt-touch[b-aoe953h7o7] {
    min-width: 0;
    color: var(--st-text-secondary);
}

.jscb-dbar-opt-touch .is-lost[b-aoe953h7o7] {
    font-weight: 600;
    color: var(--st-danger-fg);
}

.jscb-dbar-opt-act[b-aoe953h7o7] {
    justify-self: end;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--kodawari-selected-text);
    white-space: nowrap;
}

.jscb-dbar-opt-go[b-aoe953h7o7] {
    justify-self: end;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-dbar-opt-go:focus-visible[b-aoe953h7o7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-dbar-opt-ask[b-aoe953h7o7] {
    justify-self: end;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-dbar-opt-foot[b-aoe953h7o7] {
    padding: 3px 8px;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-dbar-saves[b-aoe953h7o7] {
    flex: 1 1 200px;
    min-width: 0;
    font-size: 12px;
    text-align: right;
    color: var(--st-text-secondary);
}

.jscb-dbar-saves b[b-aoe953h7o7] {
    color: var(--st-text-strong);
}

@media (max-width: 900px) {
    .jscb-dbar-opt-cols[b-aoe953h7o7] {
        display: none;
    }

    .jscb-dbar-opt[b-aoe953h7o7] {
        grid-template-columns: 14px minmax(0, 1fr) auto;
        row-gap: 2px;
    }

    .jscb-dbar-opt > :nth-child(n + 3)[b-aoe953h7o7] {
        grid-column: 2 / -1;
        justify-self: start;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbDecisionDates.razor.rz.scp.css */
/* D349: las fechas del plan. Solo tokens --st-* (el bloque también va en el modal, fuera de los tokens del tablero). «Entra» y «Sale»
   en un recuadro con la fecha en 16 px; lo demás, del tamaño de la barra. */
.jscb-dd[b-kusbdaytuv] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}

.jscb-dd-date[b-kusbdaytuv] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    padding: 2px 0;
}

.jscb-dd-date.is-key[b-kusbdaytuv] {
    padding: 5px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-raised);
}

.jscb-dd-label[b-kusbdaytuv] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.jscb-dd-value[b-kusbdaytuv] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jscb-dd-date.is-key .jscb-dd-value[b-kusbdaytuv] {
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong);
}

.jscb-dd-date.is-promise .jscb-dd-value[b-kusbdaytuv] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-dd-sub[b-kusbdaytuv] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-dd-arrow[b-kusbdaytuv] {
    align-self: center;
    color: var(--st-text-faint);
    font-size: 14px;
}

/* El veredicto de D270 en la pastilla de su tono: el mismo verde, ámbar o rojo del veredicto de hoy. */
.jscb-dd-verdict[b-kusbdaytuv] {
    align-self: center;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.jscb-dd-verdict.is-ok[b-kusbdaytuv] {
    color: var(--st-success-fg);
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
}

.jscb-dd-verdict.is-tight[b-kusbdaytuv] {
    color: var(--st-warning-fg);
    background: var(--st-warning-bg-strong);
    border-color: var(--st-warning-border);
}

.jscb-dd-verdict.is-late[b-kusbdaytuv] {
    color: var(--st-danger-fg);
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
}

@media (max-width: 640px) {
    .jscb-dd-arrow[b-kusbdaytuv] {
        display: none;
    }
}

/* F10 (F10-3): «Llega» antes de «Entra»: la hora del cliente, con «Cambiar» debajo. */
.jscb-dd-sub.is-note[b-kusbdaytuv] {
    color: var(--st-warning-text);
}

.jscb-dd-change[b-kusbdaytuv] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-accent-text);
    text-decoration: underline;
    cursor: pointer;
}

/* F18: the margins of the arrival, in the size of «Cambiar». */
.jscb-dd-margin[b-kusbdaytuv] {
    align-self: flex-start;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-accent-text);
    cursor: pointer;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbDetentionDialog.razor.rz.scp.css */
.jdet-overlay[b-zbzxgnxilq] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jdet-dialog[b-zbzxgnxilq] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(480px, calc(100vw - 32px));
    max-height: min(560px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jdet-head[b-zbzxgnxilq] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jdet-title h2[b-zbzxgnxilq] {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jdet-title p[b-zbzxgnxilq] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jdet-close[b-zbzxgnxilq] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jdet-close:hover[b-zbzxgnxilq] {
    background: var(--st-surface-sunken, #f1f5f9);
}

.jdet-body[b-zbzxgnxilq] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    overflow-y: auto;
}

.jdet-field[b-zbzxgnxilq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-strong, #0f172a);
}

.jdet-field input[b-zbzxgnxilq] {
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #334155);
    font: inherit;
    font-weight: 400;
}

.jdet-field input[readonly][b-zbzxgnxilq] {
    cursor: pointer;
}

.jdet-warning[b-zbzxgnxilq] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-warning-bg, #fef3c7);
    color: var(--st-warning-fg, #92400e);
    font-size: 12.5px;
}

.jdet-error[b-zbzxgnxilq] {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg, #fee2e2);
    color: var(--st-danger-fg, #991b1b);
    font-size: 12.5px;
}

.jdet-foot[b-zbzxgnxilq] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--st-border);
}

.jdet-cancel[b-zbzxgnxilq],
.jdet-confirm[b-zbzxgnxilq] {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.jdet-cancel[b-zbzxgnxilq] {
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text, #334155);
}

.jdet-confirm[b-zbzxgnxilq] {
    border: 0;
    background: var(--jscb-info, #2563eb);
    color: #fff;
}

.jdet-confirm:disabled[b-zbzxgnxilq] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbDropdown.razor.rz.scp.css */
/* Desplegable de los tableros: el botón con las medidas de los de la barra (28 px, borde gris, radio 8); abierto, en
   el amarillo suave de la selección con borde amarillo y texto azul marino (D75, D91) y la ▾ volteada. La lista se
   ancla debajo, a la izquierda del botón, con la caja de los popovers de la barra (D79). Como el engranaje, los neutros
   salen del tema (claro u oscuro, D136) y no de los tokens del JSCB: el desplegable vive en la barra y en la grilla. */
.jscb-dropdown[b-f89z7iyhay] {
    position: relative;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
}

.jscb-dropdown-btn[b-f89z7iyhay] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 240px;
    height: 28px;
    padding: 0 8px 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-dropdown-btn:hover:not(:disabled)[b-f89z7iyhay] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.jscb-dropdown-btn:focus-visible[b-f89z7iyhay] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.jscb-dropdown-btn:disabled[b-f89z7iyhay] {
    color: var(--st-text-muted);
    cursor: default;
}

.jscb-dropdown-btn.is-open[b-f89z7iyhay],
.jscb-dropdown-btn.is-open:hover[b-f89z7iyhay] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.jscb-dropdown-chevron[b-f89z7iyhay] {
    flex: none;
    width: 11px;
    height: 11px;
    color: var(--st-text-subtle);
    transition: transform 0.12s ease;
}

.jscb-dropdown-btn.is-open .jscb-dropdown-chevron[b-f89z7iyhay] {
    transform: rotate(180deg);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* En la esquina de la grilla: más bajo y con la letra de las etiquetas. */
.jscb-dropdown.is-compact .jscb-dropdown-btn[b-f89z7iyhay] {
    height: 24px;
    max-width: 100%;
    padding: 0 6px 0 8px;
    border-radius: 6px;
    font-size: 11px;
}

.jscb-dropdown-backdrop[b-f89z7iyhay] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.jscb-dropdown-menu[b-f89z7iyhay] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    min-width: 100%;
    width: max-content;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--st-text);
    text-align: left;
    white-space: normal;
    cursor: default;
}

.jscb-dropdown-menu:focus[b-f89z7iyhay] {
    outline: none;
}

.jscb-dropdown-head[b-f89z7iyhay] {
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbEngineFlowChart.razor.rz.scp.css */
/* «Cómo planea», the flow diagram: a drawing board (dot grid) with the flow on the left and what a box does on the right.
   Neutral colors come from --st-*; gold #dea301 marks the leveling rules, as everywhere in «Nivelación del taller». The sizes of the letters in the
   drawing are the ones JscbFlowLayout measures with (TitleSize, ChipSize, LabelSize, TagSize, FrameSize).
   D613: no letter under 11 px, text at 4.5:1 and what is drawn at 3:1 in both themes (JscbEngineGuideStyleTests). So the edges of the boxes and
   the arrows take the colors of text, not the ones of a border. */

/* It never takes more width than the dialog: without the 0, on a phone the crumbs (one line) made the whole diagram scroll sideways. */
.ef[b-dh12p5ushe] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 0;
}

/* Where the reader is: «Volver» and the way from the root, with the zoom at the right; the rules go below. Inside, both rows always show, so
   the drawing does not jump from one flow to the next. */
.ef-top[b-dh12p5ushe],
.ef-bar[b-dh12p5ushe] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

.ef-nav[b-dh12p5ushe] {
    display: flex;
    flex: 1 1 300px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
}

.ef-back[b-dh12p5ushe] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px 0 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: var(--st-shadow-sm);
    cursor: pointer;
}

.ef-back:hover[b-dh12p5ushe] {
    background: var(--st-fill-2);
}

.ef-back svg[b-dh12p5ushe] {
    width: 15px;
    height: 15px;
}

.ef-crumbs[b-dh12p5ushe] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-crumbs li[b-dh12p5ushe] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 40px;
}

.ef-crumbs li:last-child[b-dh12p5ushe] {
    flex-shrink: 0.4;
}

.ef-crumbs li + li[b-dh12p5ushe]::before {
    flex: none;
    padding: 0 2px;
    color: var(--st-text-secondary);
    content: "›";
}

.ef-crumb[b-dh12p5ushe] {
    overflow: hidden;
    max-width: 260px;
    padding: 4px 8px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button.ef-crumb[b-dh12p5ushe] {
    cursor: pointer;
}

button.ef-crumb:hover[b-dh12p5ushe] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.ef-crumb.is-on[b-dh12p5ushe] {
    color: var(--st-text-strong);
    font-weight: 700;
}

/* What the ⊞ of a box means. */
.ef-tip[b-dh12p5ushe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

/* For the screen reader only: which box or which diagram is on the detail. */
.ef-said[b-dh12p5ushe] {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ef-tip-mark[b-dh12p5ushe] {
    flex: none;
    width: 14px;
    height: 14px;
}

.ef-tip-mark rect[b-dh12p5ushe],
.ef-tip-mark path[b-dh12p5ushe],
.ef-open-mark rect[b-dh12p5ushe],
.ef-open-mark path[b-dh12p5ushe] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.ef-rules[b-dh12p5ushe],
.ef-zoom[b-dh12p5ushe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.ef-bar-label[b-dh12p5ushe] {
    margin-right: 2px;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ef-rule[b-dh12p5ushe],
.ef-fit[b-dh12p5ushe],
.ef-zoom-btn[b-dh12p5ushe] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.ef-rule > i[b-dh12p5ushe] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #dea301;
    transform: rotate(45deg);
}

.ef-rule:hover[b-dh12p5ushe],
.ef-fit:hover[b-dh12p5ushe],
.ef-zoom-btn:hover:not([aria-disabled="true"])[b-dh12p5ushe] {
    border-color: var(--st-border-strong);
}

.ef-rule.is-on[b-dh12p5ushe] {
    border-color: #dea301;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #dea301;
}

.ef-fit.is-on[b-dh12p5ushe] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.ef-zoom-btn[b-dh12p5ushe] {
    justify-content: center;
    width: 28px;
    padding: 4px 0;
    font-size: 15px;
    line-height: 1;
}

.ef-zoom-btn[aria-disabled="true"][b-dh12p5ushe] {
    opacity: 0.4;
    cursor: default;
}

.ef-zoom-value[b-dh12p5ushe] {
    min-width: 62px;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.ef-back:focus-visible[b-dh12p5ushe],
.ef-crumb:focus-visible[b-dh12p5ushe],
.ef-rule:focus-visible[b-dh12p5ushe],
.ef-fit:focus-visible[b-dh12p5ushe],
.ef-zoom-btn:focus-visible[b-dh12p5ushe],
.ef-way:focus-visible[b-dh12p5ushe],
.ef-go:focus-visible[b-dh12p5ushe],
.ef-summary-btn:focus-visible[b-dh12p5ushe] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
}

/* The legend: the shape of each kind of box, the dashed way back. */
.ef-legend[b-dh12p5ushe] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-top: 8px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.ef-legend-item[b-dh12p5ushe] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ef-swatch[b-dh12p5ushe] {
    width: 16px;
    height: 11px;
    border: 1.5px solid var(--st-text-subtle);
    border-radius: 3px;
    background: var(--st-surface);
}

.ef-swatch.is-start[b-dh12p5ushe] {
    border-radius: 999px;
    background: var(--st-fill-3);
}

.ef-swatch.is-decision[b-dh12p5ushe] {
    border-color: var(--st-accent-text);
    background: var(--st-accent-bg);
    clip-path: polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
    border-radius: 0;
}

.ef-swatch.is-ok[b-dh12p5ushe] { border-color: var(--st-success-fg); background: var(--st-success-bg); box-shadow: inset 3px 0 0 var(--st-success-fg); }
.ef-swatch.is-warn[b-dh12p5ushe] { border-color: var(--st-warning-fg); background: var(--st-warning-bg); box-shadow: inset 3px 0 0 var(--st-warning-fg); }
.ef-swatch.is-fail[b-dh12p5ushe] { border-color: var(--st-danger-fg); background: var(--st-danger-bg); box-shadow: inset 3px 0 0 var(--st-danger-fg); }
.ef-swatch.is-note[b-dh12p5ushe] { border-style: dashed; background: var(--st-surface-sunken); }
.ef-swatch.is-link[b-dh12p5ushe] { border-color: var(--st-info-fg); background: var(--st-info-bg); }

.ef-swatch-line[b-dh12p5ushe] {
    width: 18px;
    height: 0;
    border-top: 2px dashed var(--st-text-subtle);
}

/* The board and the detail beside it; on a phone the detail goes below. */
.ef-main[b-dh12p5ushe] {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
    gap: 12px;
    min-height: 0;
}

.ef-canvas[b-dh12p5ushe] {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background-color: var(--st-surface);
    background-image: radial-gradient(var(--st-border-subtle) 1px, transparent 1px);
    background-size: 18px 18px;
}

.ef-svg[b-dh12p5ushe] {
    display: block;
    margin: 0 auto;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* The arrows: grey, the way back dashed; the ones of the chosen box dark; the ones the filter leaves out, light. */
.ef-wire[b-dh12p5ushe] {
    fill: none;
    stroke: var(--st-text-subtle);
    stroke-width: 1.4;
    transition: stroke 0.15s ease;
}

.ef-wire.is-back[b-dh12p5ushe] {
    stroke-dasharray: 5 4;
}

.ef-wire.is-dim[b-dh12p5ushe] {
    stroke: var(--st-border-strong);
}

.ef-wire.is-on[b-dh12p5ushe] {
    stroke: var(--st-text-strong);
    stroke-width: 2;
}

.ef-arrow-head[b-dh12p5ushe] {
    fill: var(--st-text-subtle);
}

.ef-arrow-head.is-dim[b-dh12p5ushe] {
    fill: var(--st-border-strong);
}

.ef-arrow-head.is-on[b-dh12p5ushe] {
    fill: var(--st-text-strong);
}

.ef-label rect[b-dh12p5ushe] {
    fill: var(--st-surface);
    stroke: var(--st-border);
    stroke-width: 1;
}

.ef-label text[b-dh12p5ushe] {
    fill: var(--st-text-secondary);
    font-size: 12px;
    text-anchor: middle;
}

.ef-label.is-dim text[b-dh12p5ushe] {
    fill: var(--st-text-subtle);
}

.ef-label.is-on rect[b-dh12p5ushe] {
    stroke: var(--st-text-strong);
}

.ef-label.is-on text[b-dh12p5ushe] {
    fill: var(--st-text-strong);
    font-weight: 600;
}

/* The frame around what repeats for each order, behind the boxes. */
.ef-frame rect[b-dh12p5ushe] {
    fill: var(--st-fill-1);
    stroke: var(--st-text-subtle);
    stroke-width: 1.2;
    stroke-dasharray: 2 4;
}

.ef-frame text[b-dh12p5ushe] {
    fill: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

/* The boxes: the shape says what kind of box it is (the legend), the gold tags on top which rule of the leveling decides there, the ⊞ that it
   opens. A double click must not select their text, nor zoom the page on a touch screen. */
.ef-node[b-dh12p5ushe] {
    outline: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.ef-node.is-open[b-dh12p5ushe] {
    cursor: zoom-in;
}

.ef-open-mark[b-dh12p5ushe] {
    color: var(--st-text-secondary);
}

.ef-node.is-open:hover .ef-open-mark[b-dh12p5ushe],
.ef-node.is-open.is-selected .ef-open-mark[b-dh12p5ushe] {
    color: var(--st-text-strong);
}

.ef-shape[b-dh12p5ushe] {
    fill: var(--st-surface);
    stroke: var(--st-text-subtle);
    stroke-width: 1.2;
    transition: stroke 0.12s ease, stroke-width 0.12s ease, fill 0.15s ease;
}

.ef-node.is-start .ef-shape[b-dh12p5ushe] { fill: var(--st-fill-3); }
.ef-node.is-decision .ef-shape[b-dh12p5ushe] { fill: var(--st-accent-bg); stroke: var(--st-accent-text); }
.ef-node.is-ok .ef-shape[b-dh12p5ushe] { fill: var(--st-success-bg); stroke: var(--st-success-fg); }
.ef-node.is-warn .ef-shape[b-dh12p5ushe] { fill: var(--st-warning-bg); stroke: var(--st-warning-fg); }
.ef-node.is-fail .ef-shape[b-dh12p5ushe] { fill: var(--st-danger-bg); stroke: var(--st-danger-fg); }
.ef-node.is-note .ef-shape[b-dh12p5ushe] { fill: var(--st-surface-sunken); stroke-dasharray: 4 3; }
.ef-node.is-link .ef-shape[b-dh12p5ushe] { fill: var(--st-info-bg); stroke: var(--st-info-fg); }

.ef-node:hover .ef-shape[b-dh12p5ushe] {
    stroke-width: 2;
}

.ef-node.is-ok .ef-stripe[b-dh12p5ushe] { fill: var(--st-success-fg); }
.ef-node.is-warn .ef-stripe[b-dh12p5ushe] { fill: var(--st-warning-fg); }
.ef-node.is-fail .ef-stripe[b-dh12p5ushe] { fill: var(--st-danger-fg); }

.ef-link-mark[b-dh12p5ushe] {
    fill: none;
    stroke: var(--st-info-fg);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ef-title[b-dh12p5ushe] {
    fill: var(--st-text-strong);
    font-size: 13px;
    font-weight: 600;
    text-anchor: middle;
}

.ef-node.is-note .ef-title[b-dh12p5ushe] {
    fill: var(--st-text-secondary);
    font-weight: 500;
}

.ef-chip text[b-dh12p5ushe] {
    fill: var(--st-text-secondary);
    font-size: 12px;
    text-anchor: middle;
}

.ef-chip circle[b-dh12p5ushe] { fill: var(--st-text-subtle); }
.ef-chip.is-on circle[b-dh12p5ushe] { fill: var(--st-success-fg); }
.ef-chip.is-on text[b-dh12p5ushe] { fill: var(--st-success-text); font-weight: 600; }
.ef-chip.is-fact circle[b-dh12p5ushe] { fill: var(--st-info-fg); }

.ef-tag rect[b-dh12p5ushe] {
    fill: #dea301;
}

.ef-tag text[b-dh12p5ushe] {
    fill: #1f1600;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-anchor: middle;
}

/* What the filter leaves out goes grey and still reads: at a quarter of its ink, as it was until D613, a title was 1.7:1. */
.ef-node.is-dim .ef-shape[b-dh12p5ushe] { fill: var(--st-surface); stroke: var(--st-border-strong); }
.ef-node.is-dim .ef-stripe[b-dh12p5ushe],
.ef-node.is-dim .ef-chip circle[b-dh12p5ushe] { fill: var(--st-border-strong); }
.ef-node.is-dim .ef-link-mark[b-dh12p5ushe] { stroke: var(--st-border-strong); }
.ef-node.is-dim .ef-open-mark[b-dh12p5ushe] { color: var(--st-text-subtle); }
.ef-node.is-dim .ef-tag rect[b-dh12p5ushe] { fill: var(--st-surface); stroke: var(--st-border-strong); stroke-width: 1; }
.ef-node.is-dim .ef-tag text[b-dh12p5ushe] { fill: var(--st-text-secondary); }

.ef-node.is-dim .ef-title[b-dh12p5ushe],
.ef-node.is-dim .ef-chip text[b-dh12p5ushe] {
    fill: var(--st-text-subtle);
    font-weight: 500;
}

/* «Explícame esta OT» (D617): what the order did not go through goes grey and thin, and still reads; what it went through
   has its mark on the top edge, a sign in a circle (the shape says it, the color helps), and the arrows it took are the thick ones. A rule
   of the filter wins: it says which boxes the reader asked to see. */
.ef-node.is-away .ef-shape[b-dh12p5ushe] { fill: var(--st-surface); stroke: var(--st-text-subtle); stroke-width: 1; }
.ef-node.is-away .ef-stripe[b-dh12p5ushe],
.ef-node.is-away .ef-chip circle[b-dh12p5ushe] { fill: var(--st-text-subtle); }
.ef-node.is-away .ef-link-mark[b-dh12p5ushe] { stroke: var(--st-text-subtle); }
.ef-node.is-away .ef-open-mark[b-dh12p5ushe] { color: var(--st-text-subtle); }
.ef-node.is-away .ef-tag rect[b-dh12p5ushe] { fill: var(--st-surface); stroke: var(--st-text-subtle); stroke-width: 1; }
.ef-node.is-away .ef-tag text[b-dh12p5ushe] { fill: var(--st-text-secondary); }

.ef-node.is-away .ef-title[b-dh12p5ushe],
.ef-node.is-away .ef-chip text[b-dh12p5ushe] {
    fill: var(--st-text-subtle);
    font-weight: 500;
}

.ef-node.is-run .ef-shape[b-dh12p5ushe] { stroke-width: 2; }
.ef-node.is-run-delayed .ef-shape[b-dh12p5ushe] { stroke: var(--st-info-fg); }
.ef-node.is-run-warned .ef-shape[b-dh12p5ushe] { stroke: var(--st-warning-text); }
.ef-node.is-run-decided .ef-shape[b-dh12p5ushe] { stroke: var(--st-accent-text); }
.ef-node.is-run-stopped .ef-shape[b-dh12p5ushe] { stroke: var(--st-danger-fg); }

.ef-mark circle[b-dh12p5ushe] {
    fill: var(--st-text-secondary);
    stroke: var(--st-surface);
    stroke-width: 1.5;
}

.ef-mark path[b-dh12p5ushe] {
    fill: none;
    stroke: var(--st-surface);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ef-mark.is-met circle[b-dh12p5ushe] { fill: var(--st-success-fg); }
.ef-mark.is-delayed circle[b-dh12p5ushe] { fill: var(--st-info-fg); }
.ef-mark.is-warned circle[b-dh12p5ushe] { fill: var(--st-warning-text); }
.ef-mark.is-decided circle[b-dh12p5ushe] { fill: var(--st-accent-text); }
.ef-mark.is-stopped circle[b-dh12p5ushe] { fill: var(--st-danger-fg); }

.ef-mark.is-skipped circle[b-dh12p5ushe] {
    fill: var(--st-surface);
    stroke: var(--st-text-subtle);
}

.ef-mark.is-skipped path[b-dh12p5ushe] {
    stroke: var(--st-text-subtle);
}

.ef-wire.is-went[b-dh12p5ushe] {
    stroke: var(--st-text-strong);
    stroke-width: 2.2;
}

/* Lit by the filter, chosen and with the keyboard, in that order: the last one says where the reader is, also over a lit or a dimmed box. The
   keyboard also draws a ring outside the box, so it does not look like the gold of a lit one. */
.ef-node.is-lit .ef-shape[b-dh12p5ushe] {
    stroke: var(--st-gold-text);
    stroke-width: 2.4;
}

.ef-node.is-selected .ef-shape[b-dh12p5ushe] {
    stroke: var(--st-text-strong);
    stroke-width: 2.4;
}

.ef-node:focus-visible[b-dh12p5ushe] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 3px;
}

.ef-node:focus-visible .ef-shape[b-dh12p5ushe] {
    stroke: var(--st-accent-text);
    stroke-width: 3;
}

@media (prefers-reduced-motion: reduce) {
    .ef-shape[b-dh12p5ushe],
    .ef-wire[b-dh12p5ushe] {
        transition: none;
    }
}

/* What the chosen box does and where it goes: each way out is a button that walks the diagram. */
.ef-detail[b-dh12p5ushe] {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

.ef-detail h3[b-dh12p5ushe] {
    margin: 2px 0 0;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

.ef-detail h4[b-dh12p5ushe] {
    margin: 14px 0 6px;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ef-kicker[b-dh12p5ushe] {
    display: inline-block;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ef-kicker.is-decision[b-dh12p5ushe] { color: var(--st-accent-text); }
.ef-kicker.is-ok[b-dh12p5ushe] { color: var(--st-success-text); }
.ef-kicker.is-warn[b-dh12p5ushe] { color: var(--st-warning-text); }
.ef-kicker.is-fail[b-dh12p5ushe] { color: var(--st-danger-text); }
.ef-kicker.is-link[b-dh12p5ushe] { color: var(--st-info-text); }

.ef-what[b-dh12p5ushe] {
    margin: 6px 0 0;
    color: var(--st-text-body);
}

.ef-keys[b-dh12p5ushe] {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--st-text-body);
}

.ef-keys li + li[b-dh12p5ushe] {
    margin-top: 3px;
}

.ef-hint[b-dh12p5ushe] {
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.ef-table[b-dh12p5ushe] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ef-table th[b-dh12p5ushe],
.ef-table td[b-dh12p5ushe] {
    padding: 5px 6px;
    border-bottom: 1px solid var(--st-border);
    color: var(--st-text-body);
    text-align: left;
    vertical-align: top;
}

.ef-table th[b-dh12p5ushe] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.ef-table thead th[b-dh12p5ushe] {
    color: var(--st-text-secondary);
    font-size: 11px;
}

.ef-detail-tags[b-dh12p5ushe] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.ef-detail-tag[b-dh12p5ushe] {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-size: 11px;
    font-weight: 700;
}

.ef-detail-chip[b-dh12p5ushe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 10px 0 0;
    padding: 5px 9px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-fill-1);
    color: var(--st-text-secondary);
    font-size: 12px;
}

.ef-detail-chip > i[b-dh12p5ushe] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-text-subtle);
}

.ef-detail-chip b[b-dh12p5ushe] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.ef-detail-chip.is-on[b-dh12p5ushe] { border-color: var(--st-success-border); background: var(--st-success-bg); }
.ef-detail-chip.is-on > i[b-dh12p5ushe] { background: var(--st-success-fg); }
.ef-detail-chip.is-fact[b-dh12p5ushe] { border-color: var(--st-info-border); background: var(--st-info-bg); }
.ef-detail-chip.is-fact > i[b-dh12p5ushe] { background: var(--st-info-fg); }

.ef-go[b-dh12p5ushe] {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid var(--st-info-border);
    border-radius: 9px;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.ef-go:hover[b-dh12p5ushe] {
    border-color: var(--st-info-fg);
}

/* «Ver por dentro»: the same gold as what is chosen in this window. */
.ef-go.is-inside[b-dh12p5ushe] {
    display: flex;
    align-items: center;
    gap: 8px;
    border-color: #dea301;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.ef-go.is-inside:hover[b-dh12p5ushe] {
    box-shadow: inset 0 0 0 1px #dea301;
}

.ef-ways[b-dh12p5ushe] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-way[b-dh12p5ushe] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--st-border);
    border-radius: 9px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ef-way:hover[b-dh12p5ushe] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-1);
}

.ef-way-when[b-dh12p5ushe] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.ef-way-to[b-dh12p5ushe] {
    color: var(--st-text-strong);
    font-size: 12.5px;
    font-weight: 600;
}

.ef-way.is-out[b-dh12p5ushe] {
    border-color: var(--st-info-border);
    background: var(--st-info-bg);
}

.ef-way.is-back .ef-way-to[b-dh12p5ushe] {
    color: var(--st-text-secondary);
    font-weight: 500;
}

.ef-summary-btn[b-dh12p5ushe] {
    margin-top: 14px;
    padding: 2px 0;
    border: none;
    background: none;
    color: var(--st-text-brand, var(--st-accent-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* The detail keeps its height whatever it says: if the first tap changed it, the diagram would move and the second one of a double tap would
   fall on another box. */
/* In the root, where the width is enough, the name, what the box opens, the rules and the zoom share one row: the row of the order over them
   (D617) took the height «Planear» needs to fit whole. Inside, the way is longer and needs its own. */
@media (min-width: 1280px) {
    .ef.is-root[b-dh12p5ushe] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        grid-template-rows: auto minmax(0, 1fr);
        gap: 8px 12px;
    }

    .ef.is-root .ef-top[b-dh12p5ushe],
    .ef.is-root .ef-bar[b-dh12p5ushe] {
        display: contents;
    }

    .ef.is-root .ef-nav[b-dh12p5ushe],
    .ef.is-root .ef-tip[b-dh12p5ushe],
    .ef.is-root .ef-rules[b-dh12p5ushe],
    .ef.is-root .ef-zoom[b-dh12p5ushe] {
        grid-row: 1;
    }

    .ef.is-root .ef-nav[b-dh12p5ushe] { grid-column: 1; }
    .ef.is-root .ef-tip[b-dh12p5ushe] { grid-column: 2; }
    .ef.is-root .ef-rules[b-dh12p5ushe] { grid-column: 3; }
    .ef.is-root .ef-zoom[b-dh12p5ushe] { grid-column: 4; }

    .ef.is-root .ef-bar-label[b-dh12p5ushe] {
        display: none;
    }

    .ef.is-root .ef-main[b-dh12p5ushe] {
        grid-row: 2;
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .ef-main[b-dh12p5ushe] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(300px, 1fr) 42vh;
    }

    .ef-nav[b-dh12p5ushe] {
        flex-basis: 100%;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbEngineGuide.razor.rz.scp.css */
/* «Cómo planea»: a popup like «Nivelación del taller» (.hj-dialog), narrower, with the engine's steps as boxes joined by arrows.
   Neutral colors come from --st-*; gold #dea301 marks the leveling rules, as in «Nivelación del taller». The same as its diagram (D613): no letter
   under 11 px, text at 4.5:1, and the ring of the keyboard at 3:1. */

.eg-overlay[b-qkdlqtnyis] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: var(--st-backdrop-tint, rgba(15, 23, 42, 0.38));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.eg-dialog[b-qkdlqtnyis] {
    position: fixed;
    top: 2.5vh;
    bottom: 2.5vh;
    left: 50%;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1400px);
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px var(--st-border-subtle);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    animation: eg-in-b-qkdlqtnyis 0.18s ease-out;
    outline: none;
}

@keyframes eg-in-b-qkdlqtnyis {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .eg-dialog[b-qkdlqtnyis] {
        animation: none;
    }
}

.eg-head[b-qkdlqtnyis] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 12px 14px 10px 16px;
}

.eg-title-icon[b-qkdlqtnyis] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.eg-title-icon svg[b-qkdlqtnyis] {
    width: 20px;
    height: 20px;
}

.eg-title-text[b-qkdlqtnyis] {
    flex: 1 1 240px;
    min-width: 0;
}

.eg-title-text h2[b-qkdlqtnyis] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 16px;
    font-weight: 700;
}

.eg-title-text p[b-qkdlqtnyis] {
    margin: 1px 0 0;
    color: var(--st-text-secondary);
    font-size: 12.5px;
}

.eg-icon-btn[b-qkdlqtnyis] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--st-text-secondary);
    cursor: pointer;
}

.eg-icon-btn:hover[b-qkdlqtnyis] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.eg-icon-btn svg[b-qkdlqtnyis] {
    width: 18px;
    height: 18px;
}

/* The three ways of asking the engine: a segmented row; the chosen one changes the start and the end of the flow. */
.eg-modes[b-qkdlqtnyis] {
    display: grid;
    flex: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 16px 8px;
}

/* How to see it: the flow diagram (decisions and ways back) or the steps with their details. In the header, so the diagram has the room. */
.eg-views[b-qkdlqtnyis] {
    display: inline-flex;
    flex: none;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-fill-1);
}

.eg-view[b-qkdlqtnyis] {
    padding: 5px 12px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.eg-view:hover[b-qkdlqtnyis] {
    color: var(--st-text-strong);
}

.eg-view.is-on[b-qkdlqtnyis] {
    background: var(--st-surface);
    color: var(--st-text-strong);
    box-shadow: var(--st-shadow-sm), inset 0 -2px 0 #dea301;
}

.eg-view:focus-visible[b-qkdlqtnyis] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: -2px;
}

.eg-mode[b-qkdlqtnyis] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.eg-mode b[b-qkdlqtnyis] {
    color: var(--st-text-strong);
    font-size: 13px;
}

.eg-mode small[b-qkdlqtnyis] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.eg-mode:hover[b-qkdlqtnyis] {
    border-color: var(--st-border-strong);
}

.eg-mode.is-on[b-qkdlqtnyis] {
    border-color: #dea301;
    background: var(--st-gold-bg);
    box-shadow: inset 0 0 0 1px #dea301;
}

.eg-mode:focus-visible[b-qkdlqtnyis],
.eg-more:focus-visible[b-qkdlqtnyis],
.eg-btn:focus-visible[b-qkdlqtnyis],
.eg-icon-btn:focus-visible[b-qkdlqtnyis] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
}

.eg-body[b-qkdlqtnyis] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 16px 18px;
    background: var(--st-surface-sunken);
}

/* The diagram fills the body: its board and its detail scroll on their own, so the detail stays in sight. */
.eg-body.is-flow[b-qkdlqtnyis] {
    display: flex;
    overflow: hidden;
    padding-bottom: 12px;
}

@media (max-width: 760px) {
    .eg-body.is-flow[b-qkdlqtnyis] {
        overflow-y: auto;
    }
}

.eg-legend[b-qkdlqtnyis] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 auto 12px;
    max-width: 720px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.eg-tag-sample[b-qkdlqtnyis] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* The flow: one box per step, joined by a line with an arrowhead (the order the engine runs them). */
.eg-flow[b-qkdlqtnyis] {
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    list-style: none;
}

.eg-step[b-qkdlqtnyis] {
    position: relative;
    padding-top: 26px;
}

.eg-step:first-child[b-qkdlqtnyis] {
    padding-top: 0;
}

.eg-step + .eg-step[b-qkdlqtnyis]::before {
    position: absolute;
    top: 0;
    left: 27px;
    width: 2px;
    height: 20px;
    background: var(--st-text-subtle);
    content: "";
}

.eg-step + .eg-step[b-qkdlqtnyis]::after {
    position: absolute;
    top: 17px;
    left: 23px;
    width: 0;
    height: 0;
    border-top: 6px solid var(--st-text-subtle);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
}

.eg-box[b-qkdlqtnyis] {
    display: flex;
    gap: 12px;
    padding: 12px 14px 12px 12px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: var(--st-shadow-sm);
}

.eg-step.is-leveling .eg-box[b-qkdlqtnyis] {
    border-color: var(--st-gold-border);
    box-shadow: inset 4px 0 0 #dea301, var(--st-shadow-sm);
}

.eg-step.is-result .eg-box[b-qkdlqtnyis] {
    border-color: var(--st-info-border);
    background: var(--st-info-bg);
}

.eg-step.is-save .eg-box[b-qkdlqtnyis] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.eg-num[b-qkdlqtnyis] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.eg-step.is-leveling .eg-num[b-qkdlqtnyis] {
    background: #dea301;
    color: #1f1600;
}

.eg-content[b-qkdlqtnyis] {
    flex: 1;
    min-width: 0;
}

.eg-step-head[b-qkdlqtnyis] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-height: 30px;
}

.eg-step-head h3[b-qkdlqtnyis] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 700;
    text-wrap: balance;
}

.eg-tag[b-qkdlqtnyis] {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eg-applies[b-qkdlqtnyis] {
    margin: 2px 0 0;
    color: var(--st-gold-text);
    font-size: 12px;
    font-weight: 600;
}

.eg-summary[b-qkdlqtnyis] {
    margin: 3px 0 0;
    color: var(--st-text-body);
}

.eg-points[b-qkdlqtnyis] {
    margin: 6px 0 0;
    padding-left: 18px;
    color: var(--st-text-body);
}

.eg-points li + li[b-qkdlqtnyis] {
    margin-top: 2px;
}

.eg-settings[b-qkdlqtnyis] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

/* A value of the shop: green dot = on, grey = off, blue = a fact the engine reads. */
.eg-chip[b-qkdlqtnyis] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 3px 9px 3px 7px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 12px;
}

.eg-chip > i[b-qkdlqtnyis] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-text-subtle);
}

.eg-chip b[b-qkdlqtnyis] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.eg-chip.is-on[b-qkdlqtnyis] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.eg-chip.is-on > i[b-qkdlqtnyis] {
    background: var(--st-success-fg);
}

.eg-chip.is-off[b-qkdlqtnyis] {
    background: var(--st-fill-1);
    color: var(--st-text-secondary);
}

.eg-chip.is-off b[b-qkdlqtnyis] {
    color: var(--st-text-secondary);
}

.eg-chip.is-fact[b-qkdlqtnyis] {
    border-color: var(--st-info-border);
    background: var(--st-info-bg);
}

.eg-chip.is-fact > i[b-qkdlqtnyis] {
    background: var(--st-info-fg);
}

.eg-chip-name[b-qkdlqtnyis] {
    color: var(--st-text-secondary);
}

.eg-more[b-qkdlqtnyis] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 0;
    border: none;
    background: none;
    color: var(--st-text-brand, var(--st-accent-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.eg-more svg[b-qkdlqtnyis] {
    width: 14px;
    height: 14px;
    transition: transform 0.15s ease;
}

.eg-more svg.is-open[b-qkdlqtnyis] {
    transform: rotate(180deg);
}

.eg-details[b-qkdlqtnyis] {
    margin: 6px 0 0;
    padding: 8px 10px 8px 26px;
    border-radius: 8px;
    background: var(--st-fill-1);
    color: var(--st-text-body);
    font-size: 12.5px;
}

.eg-details li + li[b-qkdlqtnyis] {
    margin-top: 3px;
}

/* The way back of a run (the day it really enters had no slot or room): under the box, before the next arrow. */
.eg-loop[b-qkdlqtnyis] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 0 54px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.eg-loop svg[b-qkdlqtnyis] {
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: var(--st-gold-text);
}

.eg-foot[b-qkdlqtnyis] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--st-border);
    color: var(--st-text-secondary);
    font-size: 12px;
}

.eg-foot > span[b-qkdlqtnyis] {
    flex: 1;
    min-width: 0;
}

.eg-btn[b-qkdlqtnyis] {
    flex: none;
    padding: 6px 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-btn-secondary-bg, var(--st-surface));
    color: var(--st-btn-secondary-text, var(--st-text-strong));
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.eg-btn:hover[b-qkdlqtnyis] {
    background: var(--st-fill-2);
}

@media (max-width: 640px) {
    .eg-modes[b-qkdlqtnyis] {
        grid-template-columns: minmax(0, 1fr);
    }

    .eg-foot[b-qkdlqtnyis] {
        flex-wrap: wrap;
    }
}

/* A low screen (a laptop of 768 or 900): the letters of the drawing are not made smaller, so the window gives the room (D613, and up to 900 since
   the row of the order, D617). What it says is the same. */
@media (max-height: 900px) {
    .eg-dialog[b-qkdlqtnyis] {
        top: 8px;
        bottom: 8px;
    }

    .eg-head[b-qkdlqtnyis] {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .eg-modes[b-qkdlqtnyis] {
        padding-bottom: 6px;
    }

    .eg-mode[b-qkdlqtnyis] {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .eg-mode b[b-qkdlqtnyis] {
        flex: none;
    }

    .eg-mode small[b-qkdlqtnyis] {
        overflow: hidden;
        min-width: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .eg-body.is-flow[b-qkdlqtnyis] {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .eg-foot[b-qkdlqtnyis] {
        padding-top: 3px;
        padding-bottom: 3px;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbEngineOrderBar.razor.rz.scp.css */
/* «Explícame esta OT» (D617): the plate to look up and what is told of the one chosen, in one row over the diagram. */
.eo[b-ntf87opkbm] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-height: 38px;
    margin: 0 16px 10px;
    padding: 5px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-fill-1);
}

.eo-search[b-ntf87opkbm] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eo-label[b-ntf87opkbm] {
    color: var(--st-text-strong);
    font-size: 12.5px;
    font-weight: 700;
}

.eo-input[b-ntf87opkbm] {
    width: 170px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 13px;
    text-transform: uppercase;
}

.eo-input[b-ntf87opkbm]::placeholder {
    color: var(--st-text-secondary);
    text-transform: none;
}

.eo-list[b-ntf87opkbm],
.eo-none[b-ntf87opkbm] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 3;
    overflow-y: auto;
    width: max-content;
    min-width: 100%;
    max-width: min(86vw, 420px);
    max-height: 300px;
    margin: 0;
    padding: 4px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
    box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.35);
    list-style: none;
}

.eo-list li[b-ntf87opkbm] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    padding: 6px 9px;
    border-radius: 7px;
    color: var(--st-text-body);
    font-size: 12.5px;
    cursor: pointer;
}

.eo-list li.is-on[b-ntf87opkbm],
.eo-list li:hover[b-ntf87opkbm] {
    background: var(--st-fill-2);
}

.eo-none[b-ntf87opkbm] {
    padding: 10px 13px;
    color: var(--st-text-secondary);
    font-size: 12.5px;
}

.eo-list b[b-ntf87opkbm] {
    color: var(--st-text-strong);
    font-weight: 700;
}

.eo-list small[b-ntf87opkbm] {
    margin-left: auto;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.eo-hint[b-ntf87opkbm] {
    color: var(--st-text-secondary);
    font-size: 12px;
}

.eo-plate[b-ntf87opkbm] {
    padding: 2px 10px;
    border: 1px solid #dea301;
    border-radius: 7px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eo-state[b-ntf87opkbm] {
    display: inline-flex;
    flex: 1 1 260px;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    min-width: 0;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.eo-state b[b-ntf87opkbm] {
    color: var(--st-text-strong);
    font-weight: 700;
}

.eo-error[b-ntf87opkbm] {
    color: var(--st-danger-text);
}

.eo-spin[b-ntf87opkbm] {
    width: 13px;
    height: 13px;
    border: 2px solid var(--st-border-strong);
    border-top-color: var(--st-accent-text);
    border-radius: 50%;
    animation: eo-turn-b-ntf87opkbm 0.8s linear infinite;
}

@keyframes eo-turn-b-ntf87opkbm {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .eo-spin[b-ntf87opkbm] {
        animation: none;
    }
}

/* A low screen: as the rest of the window (D613). */
@media (max-height: 900px) {
    .eo[b-ntf87opkbm] {
        min-height: 34px;
        margin-bottom: 6px;
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

.eo-btn[b-ntf87opkbm],
.eo-view[b-ntf87opkbm] {
    height: 28px;
    padding: 0 11px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.eo-btn:hover[b-ntf87opkbm],
.eo-view:hover[b-ntf87opkbm] {
    border-color: var(--st-border-strong);
    color: var(--st-text-strong);
}

.eo-views[b-ntf87opkbm] {
    display: inline-flex;
    gap: 4px;
}

.eo-view.is-on[b-ntf87opkbm] {
    border-color: #dea301;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    box-shadow: inset 0 0 0 1px #dea301;
}

.eo-input:focus-visible[b-ntf87opkbm],
.eo-btn:focus-visible[b-ntf87opkbm],
.eo-view:focus-visible[b-ntf87opkbm] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbExitList.razor.rz.scp.css */
/* Bolsillo «Salida del taller» (D7), bajo Imprevistos en el riel derecho. Tokens --jscb-* de la raíz. */
.jscb-exit[b-lx7uhvjyd3] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-top: 1px solid var(--jscb-border-strong);
    margin-top: 8px;
}

.jscb-exit-head[b-lx7uhvjyd3] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 12px 6px;
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-exit-title[b-lx7uhvjyd3] {
    font-size: 12px;
}

.jscb-exit-count[b-lx7uhvjyd3] {
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-exit-hint[b-lx7uhvjyd3] {
    margin-left: auto;
    font-size: 11px;
    color: var(--jscb-text-faint);
    white-space: nowrap;
}

.jscb-exit-empty[b-lx7uhvjyd3] {
    padding: 12px;
    color: var(--jscb-text-muted);
}

.jscb-exit-pocket-head[b-lx7uhvjyd3] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jscb-text-muted);
}

.jscb-exit-dot[b-lx7uhvjyd3] {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--pocket-color);
}

.jscb-exit-pocket-name[b-lx7uhvjyd3] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-exit-pocket-count[b-lx7uhvjyd3] {
    font-weight: 600;
    color: var(--jscb-text-faint);
}

.jscb-exit-list[b-lx7uhvjyd3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 6px 10px 10px;
}

/* Cada OT es una tarjeta de panel (D77, JscbPanelCard): vencida en rojo; sin franja lateral. */
.jscb-exit-item[b-lx7uhvjyd3] {
    min-width: 0;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbGridLines.razor.rz.scp.css */
/* Retícula sobre las bandas (D46). Las dos capas cuelgan de .jscb-bands, justo a la derecha de la
   columna fija, y no reciben el ratón. Horas: z 0, bajo las tarjetas del JSCB (z 1, D143) y las cadenas
   (z 1), sobre las tarjetas del JPCB (z 0, pintadas antes). Días: z 3, por encima de las cadenas y de la enfocada, por debajo de la línea
   AHORA (z 4), de las etiquetas fijas (z 5) y de las fichas. */
.jscb-gridlines[b-605vr7ymqb] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--jscb-label-width);
    pointer-events: none;
}

.jscb-gridlines.is-hours[b-605vr7ymqb] {
    z-index: 0;
}

.jscb-gridlines.is-days[b-605vr7ymqb] {
    z-index: 3;
}

.jscb-gl-hour[b-605vr7ymqb],
.jscb-gl-quarter[b-605vr7ymqb],
.jscb-gl-noon[b-605vr7ymqb],
.jscb-gl-day[b-605vr7ymqb] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
}

/* Hora: tenue, se lee sobre la superficie del tablero y desaparece bajo las barras. */
.jscb-gl-hour[b-605vr7ymqb] {
    border-left: 1px solid color-mix(in srgb, var(--st-text-subtle) 16%, transparent);
}

/* Cuarto de hora (Día, R33): casi imperceptible; sólido, el punteado es para lo no comprometido (D45). */
.jscb-gl-quarter[b-605vr7ymqb] {
    border-left: 1px solid color-mix(in srgb, var(--st-text-subtle) 7%, transparent);
}

/* Mediodía (D11): la hora con un punto más de tinta, para leer medias jornadas; segmentada, como en la cabecera,
   para no confundirse con el cambio de día, que es continuo (D134). Trazos de 6 px con 6 px de aire (D135): el
   punteado del navegador queda muy menudo. Un solo trazo de 12 px repetido como mosaico y no un `repeating-linear-gradient`: en
   Safari ese degradado, en estas 60 líneas de 1 × 1800 px, hacía que cada hover tardara 2,5 s en pintarse (medido: 0,5 → 50
   cuadros por segundo). */
.jscb-gl-noon[b-605vr7ymqb] {
    width: 1px;
    background: linear-gradient(to bottom, rgba(100, 116, 139, 0.42) 0 6px, transparent 6px) 0 0 / 1px 12px repeat-y;
}

/* Cambio de día por encima de las barras: 1 px de negro translúcido, así oscurece el color de la barra
   sin taparla; el lunes, 2 px más marcados. Antes era el pizarra (15, 23, 42) a 0,30 y 0,45 con
   mix-blend-mode: multiply, que obliga al navegador a mezclar con lo de debajo en cada cuadro. Multiplicar
   por ese color a alfa α deja el fondo por 1 − α·(1 − c) en cada canal; el negro a alfa a lo deja por 1 − a,
   así que a = α·(1 − c), con el canal más oscuro (c = 15/255): 0,28 y 0,42. Vale en los dos temas: el
   resultado sigue siendo el fondo oscurecido en la misma proporción. */
.jscb-gl-day[b-605vr7ymqb] {
    margin-left: -1px;
    border-left: 1px solid rgba(0, 0, 0, 0.28);
}

.jscb-gl-day.is-week[b-605vr7ymqb] {
    margin-left: -1px;
    border-left: 2px solid rgba(0, 0, 0, 0.42);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbGroupLegend.razor.rz.scp.css */
/* D562, D578: leyenda de los colores del calendario en el centro de la fila 1 del JSCB, siempre a la vista. Un chip por grupo de
   procesos y por proceso suelto, cuadrito de su color y nombre, sin borde (no es un control que elija un valor). El sitio se reparte
   por igual y ninguno pasa de su nombre entero: un proceso va con su nombre corto y no se corta (D582); de los grupos, los cortos
   («Chapa», «Pulido») quedan enteros y los largos pierden letras con «…», hasta un cuarto de su ancho; el resto pasa a «+N»
   (jscb-legend.js lo mide y escribe data-fit: all, some o none; sin él, se ven todos). Sin sitio para ninguno queda el botón con los primeros colores. Nunca empuja ni parte la fila: el ancho que pide
   (--jscb-legend-width, el de todas las entradas enteras) no depende de cuántas se vean. */
.jscb-group-legend[b-mwj7srwnps] {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 2px;
    box-sizing: border-box;
    width: var(--jscb-legend-width, auto);
    min-width: 0;
    max-width: 100%;
}

.jscb-group-chips[b-mwj7srwnps] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    gap: 2px;
    min-width: 0;
}

.jscb-group-item[b-mwj7srwnps] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: max-content;
    display: flex;
}

.jscb-group-item[hidden][b-mwj7srwnps] {
    display: none;
}

/* Mientras se mide: cada entrada con su nombre entero y sin el botón del resto, también en la barra angosta (abajo), para que al
   ensancharla la leyenda ya sepa cuánto pide. */
.jscb-group-legend[data-fit='measuring'] .jscb-group-chips[b-mwj7srwnps] {
    display: flex;
    flex: none;
    width: max-content;
}

.jscb-group-legend[data-fit='measuring'] .jscb-group-item[b-mwj7srwnps] {
    flex: none;
    max-width: none;
}

.jscb-group-legend[data-fit='none'] .jscb-group-chips[b-mwj7srwnps] {
    display: none;
}

.jscb-group-chip[b-mwj7srwnps] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    height: 28px;
    padding: 0 6px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-group-chip:hover[b-mwj7srwnps] {
    background: var(--jscb-bg-alt);
}

.jscb-group-chip:focus-visible[b-mwj7srwnps] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Abierto: el amarillo de la selección (D75, D91), como los desplegables de la barra. */
.jscb-group-chip.is-open[b-mwj7srwnps],
.jscb-group-chip.is-open:hover[b-mwj7srwnps] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.jscb-group-swatch[b-mwj7srwnps] {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--jscb-group-color);
}

.jscb-group-swatch.is-small[b-mwj7srwnps] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

/* D600: cuántas OT lo tienen, entre el color y el nombre; nunca se corta. */
.jscb-group-count[b-mwj7srwnps] {
    flex: none;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jscb-group-count.is-zero[b-mwj7srwnps] {
    color: var(--jscb-text-muted);
    font-weight: 500;
}

.jscb-group-name[b-mwj7srwnps] {
    min-width: 0;
    overflow: hidden;
    line-height: 1.3;
    text-overflow: ellipsis;
}

/* D578: el botón del resto. «+N» con sitio para algunas; sin sitio para ninguna, los primeros colores. */
.jscb-group-more[b-mwj7srwnps] {
    position: relative;
    display: none;
    flex: none;
}

.jscb-group-legend:is([data-fit='some'], [data-fit='none']) .jscb-group-more[b-mwj7srwnps] {
    display: flex;
}

.jscb-group-more-btn[b-mwj7srwnps] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 34px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-group-more-btn:hover[b-mwj7srwnps] {
    background: var(--jscb-bg-alt);
    color: var(--jscb-text);
}

.jscb-group-more-btn:focus-visible[b-mwj7srwnps] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-group-more-btn.is-open[b-mwj7srwnps],
.jscb-group-more-btn.is-open:hover[b-mwj7srwnps] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.jscb-group-more-dots[b-mwj7srwnps] {
    display: none;
    align-items: center;
    gap: 2px;
}

/* Solo los colores, sin ningún nombre al lado: con borde, para que se lea como el botón que es. */
.jscb-group-legend[data-fit='none'] .jscb-group-more-btn:not(.is-open)[b-mwj7srwnps] {
    border-color: var(--jscb-border);
    background: var(--jscb-bg);
}

.jscb-group-legend[data-fit='none'] .jscb-group-more-btn:not(.is-open):hover[b-mwj7srwnps] {
    background: var(--jscb-bg-alt);
}

.jscb-group-legend[data-fit='none'] .jscb-group-more-dots[b-mwj7srwnps] {
    display: flex;
}

.jscb-group-legend[data-fit='none'] .jscb-group-more-count[b-mwj7srwnps] {
    display: none;
}

/* La lista del grupo, debajo del chip y centrada en él. */
.jscb-group-backdrop[b-mwj7srwnps] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.jscb-group-pop[b-mwj7srwnps] {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    width: max-content;
    min-width: 200px;
    max-width: min(400px, calc(100vw - 32px));
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    color: var(--st-text);
    font-size: 12.5px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    cursor: default;
}

.jscb-group-pop:focus[b-mwj7srwnps] {
    outline: none;
}

.jscb-group-pop-head[b-mwj7srwnps] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jscb-group-pop-title[b-mwj7srwnps] {
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
}

.jscb-group-pop-sub[b-mwj7srwnps] {
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

.jscb-group-pop-list[b-mwj7srwnps] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
}

.jscb-group-pop-item[b-mwj7srwnps] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.jscb-group-pop-name[b-mwj7srwnps] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.jscb-group-pop-go[b-mwj7srwnps] {
    align-self: flex-start;
    margin-top: 2px;
    padding: 5px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-group-pop-go:hover[b-mwj7srwnps] {
    background: var(--st-surface-muted);
}

.jscb-group-pop-go:focus-visible[b-mwj7srwnps] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* D578: en la lista entera, los procesos de cada grupo bajo su nombre. */
.jscb-group-pop-name small[b-mwj7srwnps] {
    display: block;
    color: var(--st-text-subtle);
    font-size: 11px;
}

.jscb-group-pop.is-all .jscb-group-pop-item.is-button[b-mwj7srwnps] {
    align-items: flex-start;
}

.jscb-group-pop-item.is-button .jscb-group-swatch[b-mwj7srwnps] {
    margin-top: 2px;
}

.jscb-group-pop-item.is-button .jscb-group-count[b-mwj7srwnps] {
    min-width: 2ch;
    text-align: right;
}

/* D600: cada color de la lista abre sus OT en el mismo sitio. */
.jscb-group-pop-item.is-button[b-mwj7srwnps] {
    box-sizing: border-box;
    width: calc(100% + 12px);
    margin: 0 -6px;
    padding: 4px 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-group-pop-item.is-button:hover[b-mwj7srwnps],
.jscb-group-pop-back:hover[b-mwj7srwnps] {
    background: var(--st-surface-muted);
}

.jscb-group-pop-item.is-button:focus-visible[b-mwj7srwnps],
.jscb-group-pop-back:focus-visible[b-mwj7srwnps] {
    outline: var(--jscb-focus-ring);
    outline-offset: -1px;
}

.jscb-group-pop-back[b-mwj7srwnps] {
    align-self: flex-start;
    margin: -2px -6px 0;
    padding: 3px 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

/* D600: las OT del proceso. Dónde está cada una se lee en la marca (lleno con el color del proceso, anillo vacío, visto) y en el título
   de su parte, no solo en el color; la que ya pasó va apagada. */
.jscb-group-orders-summary[b-mwj7srwnps] {
    margin-top: -4px;
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

.jscb-group-orders[b-mwj7srwnps] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--st-border);
}

.jscb-group-state[b-mwj7srwnps] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.jscb-group-state-count[b-mwj7srwnps] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.jscb-group-mark[b-mwj7srwnps] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid var(--jscb-group-color);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.jscb-group-orders.is-here .jscb-group-mark[b-mwj7srwnps] {
    background: var(--jscb-group-color);
    box-shadow: 0 0 0 2px var(--st-surface-raised), 0 0 0 3px var(--jscb-group-color);
}

.jscb-group-orders.is-passed .jscb-group-mark[b-mwj7srwnps] {
    border-color: transparent;
    color: var(--st-text-subtle);
    font-size: 13px;
}

.jscb-group-rows[b-mwj7srwnps] {
    display: flex;
    flex-direction: column;
}

.jscb-group-row[b-mwj7srwnps] {
    display: flex;
    flex-direction: column;
    margin-left: 6px;
    padding: 3px 0 3px 14px;
    border-left: 2px solid var(--st-border);
    line-height: 1.3;
}

.jscb-group-orders.is-here .jscb-group-row[b-mwj7srwnps] {
    border-left-color: var(--jscb-group-color);
}

.jscb-group-order[b-mwj7srwnps] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.jscb-group-order b[b-mwj7srwnps] {
    flex: none;
    font-weight: 600;
}

.jscb-group-vehicle[b-mwj7srwnps] {
    min-width: 0;
    overflow: hidden;
    color: var(--st-text-subtle);
    font-size: 11.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-group-detail[b-mwj7srwnps] {
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

.jscb-group-orders.is-passed .jscb-group-order b[b-mwj7srwnps] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

/* Por debajo de 1100 px de barra no le queda sitio a los nombres en la fila 1 (JscbHeaderBar.razor.css): queda el botón con los
   primeros colores, que abre la lista entera (D578; D562 la ocultaba). */
@container jscb-bar (max-width: 1099px) {
    .jscb-group-legend[b-mwj7srwnps] {
        flex: none;
        width: auto;
    }

    .jscb-group-legend .jscb-group-chips[b-mwj7srwnps] {
        display: none;
    }

    .jscb-group-legend .jscb-group-more[b-mwj7srwnps],
    .jscb-group-legend .jscb-group-more-dots[b-mwj7srwnps] {
        display: flex;
    }

    .jscb-group-legend .jscb-group-more-count[b-mwj7srwnps] {
        display: none;
    }

    .jscb-group-legend .jscb-group-more-btn:not(.is-open)[b-mwj7srwnps] {
        border-color: var(--jscb-border);
        background: var(--jscb-bg);
    }

    .jscb-group-legend .jscb-group-more-btn:not(.is-open):hover[b-mwj7srwnps] {
        background: var(--jscb-bg-alt);
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbGuide.razor.rz.scp.css */
/* Cómo leer el JSCB y el JPCB (I, D79): el botón «i», el popover y sus secciones son de KodawariBarPopover;
   aquí solo las muestras dibujadas en CSS junto a cada explicación (copian el trazo real en pequeño). Leen
   los tokens --jscb-* de la raíz del tablero. */
.jscb-g-card[b-94sc2hb49p] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: 68px;
    height: 22px;
    padding: 0 4px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 5px;
    background: var(--jscb-bg);
}

.jscb-g-card.is-dashed[b-94sc2hb49p] {
    border-style: dashed;
}

.jscb-g-chip[b-94sc2hb49p] {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 12px;
    border-radius: 3px;
    /* Planeado (D68): el pastel del color, como en el tablero. */
    background: color-mix(in srgb, #3b82f6 42%, var(--jscb-bg, var(--st-surface)));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #3b82f6 22%, transparent);
}

.jscb-g-chip.is-2[b-94sc2hb49p] {
    background: color-mix(in srgb, #d946ef 42%, var(--jscb-bg, var(--st-surface)));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #d946ef 22%, transparent);
}

.jscb-g-chip.is-wide[b-94sc2hb49p] {
    width: 56px;
    height: 14px;
}

.jscb-g-chip.is-tentative[b-94sc2hb49p] {
    background: rgba(59, 130, 246, 0.35);
    border: 1.5px dashed #3b82f6;
    box-shadow: none;
}

/* Hecho (D46): la barra baja de altura y conserva su color. */
.jscb-g-chip.is-done[b-94sc2hb49p] {
    height: 8px;
    margin-top: 6px;
}

/* Inicio y fin de cada proceso (D47): corte recto donde sigue. */
.jscb-g-chip.is-cont-r[b-94sc2hb49p] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.jscb-g-chip.is-cont-l[b-94sc2hb49p] {
    margin-left: 2px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Tiempo muerto dentro de la barra (D38, D39). */
.jscb-g-break[b-94sc2hb49p] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 22px;
    width: 12px;
    border: 1px dashed color-mix(in srgb, var(--st-text-subtle) 55%, transparent);
    border-radius: 2px;
    background: var(--jscb-bg-row);
}

/* ▲N de la fila del latonero (D74): el mismo globo naranja de la sobrecarga. */
.jscb-g-over[b-94sc2hb49p] {
    display: inline-block;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--jscb-overload);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 13px;
}

/* El aro azul de quien hace el proceso elegido en un equipo. */
.jscb-g-ring[b-94sc2hb49p] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: var(--jscb-bg-soft);
    box-shadow: 0 0 0 1.5px var(--jscb-bg), 0 0 0 3px var(--jscb-info);
}

.jscb-g-mark[b-94sc2hb49p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    border: 1.5px solid #fff;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

.jscb-g-mark.is-stopped[b-94sc2hb49p] { background: var(--jscb-danger); }
.jscb-g-mark.is-concurrent[b-94sc2hb49p] { background: var(--jscb-warn); }
.jscb-g-mark.is-warning[b-94sc2hb49p] { background: var(--jscb-warn); font-weight: 800; }
.jscb-g-mark.is-pin[b-94sc2hb49p] { border-color: var(--jscb-on-ink); background: var(--jscb-ink); color: var(--jscb-on-ink); }

/* The sample of the mark of a car outside the shop (the one of the card: the plate color as the fill, the card color as the text). */
.jscb-g-vft[b-94sc2hb49p] {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-text-brand);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--jscb-bg);
}

/* The sample of the mark of a car that came by appointment (the one of the card: outline in the blue of information). */
.jscb-g-appt[b-94sc2hb49p] {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 16px;
    padding: 0 5px;
    border: 1px solid var(--st-info-fg);
    border-radius: 999px;
    background: var(--st-info-bg);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--st-info-fg);
}

.jscb-g-promise[b-94sc2hb49p] {
    position: relative;
    display: inline-block;
    width: 0;
    height: 16px;
    border-left: 2px solid var(--jscb-text-muted);
}

.jscb-g-promise[b-94sc2hb49p]::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--jscb-text-muted);
}

.jscb-g-now[b-94sc2hb49p] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--jscb-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 12px;
}

/* JPCB (D67): la OT cortada donde sigue en otra bahía. */
.jscb-g-card.is-cut[b-94sc2hb49p] {
    border-right: 2px dashed var(--jscb-text-faint);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* JPCB (D64, D67): arriba el plan en el tono claro de la OT; abajo la barra gris con lo fichado encima. */
.jscb-g-jp[b-94sc2hb49p] {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 72px;
}

.jscb-g-jp-plan[b-94sc2hb49p] {
    height: 14px;
    border: 1px solid #2563eb;
    border-radius: 4px;
    background: color-mix(in srgb, #2563eb 26%, var(--jscb-bg));
}

.jscb-g-jp-exec[b-94sc2hb49p] {
    position: relative;
    height: 12px;
    border-radius: 4px;
    background: var(--st-surface-stronger);
}

.jscb-g-jp-clock[b-94sc2hb49p] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    border-radius: 3px;
    background: #2563eb;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbHandLines.razor.rz.scp.css */
/* La vista de arrastre: un renglón por línea del calendario. Cada carro va en su línea: lleno donde se trabaja y tenue donde solo la tiene
   ocupada; lo libre queda vacío para que se lea de un vistazo, y donde nadie trabaja es gris liso (sin rayas: Safari repinta muy lento los
   degradados repetidos). */
.jscb-hand-lines[b-xa3f0l4rp7] {
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-hand-labels[b-xa3f0l4rp7] {
    display: flex;
    flex-direction: column;
    background: var(--jscb-bg-alt);
}

.jscb-hand-label[b-xa3f0l4rp7] {
    flex: 0 0 var(--jscb-hand-line-height);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 8px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--jscb-border);
    border-left: 3px solid transparent;
    color: var(--jscb-text-muted);
    font-size: 11px;
    font-weight: 600;
}

.jscb-hand-label:last-child[b-xa3f0l4rp7] {
    border-bottom: none;
}

/* El renglón bajo la OT en la mano. */
.jscb-hand-label.is-hot[b-xa3f0l4rp7] {
    border-left-color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, var(--jscb-bg-alt));
    color: var(--jscb-text);
}

.jscb-hand-dot[b-xa3f0l4rp7] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
}

.jscb-hand-name[b-xa3f0l4rp7] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jscb-hand-at[b-xa3f0l4rp7] {
    flex: none;
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jscb-hand-body[b-xa3f0l4rp7] {
    height: calc(var(--jscb-hand-line-height) * var(--jscb-hand-lines));
    /* The lines and the tones of the map share one stacking order: the map's layer has no z-index of its own in this view. */
    isolation: isolate;
}

.jscb-hand-line[b-xa3f0l4rp7] {
    position: relative;
    height: var(--jscb-hand-line-height);
    box-sizing: border-box;
    /* Una placa que no cabe en su carro no ensancha la grilla (clip no es contenedor de scroll: la placa sigue pegajosa). */
    overflow: clip;
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-hand-line:last-child[b-xa3f0l4rp7] {
    border-bottom: none;
}

.jscb-hand-span[b-xa3f0l4rp7] {
    position: absolute;
    top: 3px;
    bottom: 3px;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 4px;
    pointer-events: none;
}

.jscb-hand-span.is-off[b-xa3f0l4rp7] {
    top: 0;
    bottom: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--jscb-text-muted) 16%, var(--jscb-bg));
}

/* Después del horizonte del plan: el servidor no midió, así que no es ni libre ni cerrado. Sin relleno y debajo de los tonos del mapa. */
.jscb-hand-span.is-unknown[b-xa3f0l4rp7] {
    top: 0;
    bottom: 0;
    z-index: 0;
    padding: 4px 8px;
    overflow: hidden;
    border-left: 1px dashed var(--jscb-text-muted);
    border-radius: 0;
    color: var(--jscb-text-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
}

/* Un carro en su línea: de su primer paso al último. Los que se cruzan (▲) se reparten el alto. */
.jscb-hand-car[b-xa3f0l4rp7],
.jscb-hand-cushion[b-xa3f0l4rp7] {
    position: absolute;
    top: calc(3px + (100% - 6px) * var(--sub, 0) / var(--subs, 1));
    height: calc((100% - 6px) / var(--subs, 1) - (var(--subs, 1) - 1) * 1px / var(--subs, 1));
    z-index: 2;
    box-sizing: border-box;
    pointer-events: none;
}

.jscb-hand-car[b-xa3f0l4rp7] {
    display: flex;
    align-items: center;
    border-radius: 4px;
    background: color-mix(in srgb, var(--c) 28%, var(--jscb-bg));
}

.jscb-hand-bar[b-xa3f0l4rp7] {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: color-mix(in srgb, var(--c) 72%, var(--jscb-bg));
}

/* D623: lo que ya pasó y nadie registró, tenue; el carro lleva a la izquierda la marca ámbar del vencido. */
.jscb-hand-bar.is-unrecorded[b-xa3f0l4rp7] {
    background: color-mix(in srgb, var(--c) 40%, var(--jscb-bg));
}

.jscb-hand-car.is-unrecorded[b-xa3f0l4rp7]::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    border-radius: 4px 0 0 4px;
    background: var(--jscb-warn);
}

/* Sigue a la vista cuando el carro empieza antes de lo que se ve. En un carro más corto que su placa sale por la derecha, hasta el carro
   siguiente (que la tapa). Donde dos carros comparten la línea, la letra se ajusta a la parte de cada uno. */
.jscb-hand-plate[b-xa3f0l4rp7] {
    --jscb-hand-car-height: calc((var(--jscb-hand-line-height) - 6px) / var(--subs, 1));
    position: sticky;
    left: calc(var(--jscb-label-width, 0px) + 3px);
    z-index: 1;
    flex: none;
    margin: 0 3px;
    padding: 0 5px;
    border-radius: 3px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-size: clamp(8px, calc(var(--jscb-hand-car-height) + 1px), 10px);
    font-weight: 700;
    line-height: min(14px, var(--jscb-hand-car-height));
    white-space: nowrap;
}

/* El ▲ de la tarjeta, con su mismo color. */
.jscb-hand-car.is-over[b-xa3f0l4rp7] {
    border: 1px solid var(--st-warning-fg);
}

.jscb-hand-car.is-over .jscb-hand-plate[b-xa3f0l4rp7] {
    color: var(--st-warning-fg);
}

/* El carro que va en la mano, donde estaba: no ocupa. */
.jscb-hand-car.is-ghost[b-xa3f0l4rp7] {
    z-index: 1;
    border: 1px dashed var(--jscb-text-muted);
    background: none;
}

.jscb-hand-car.is-ghost .jscb-hand-bar[b-xa3f0l4rp7] {
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

.jscb-hand-car.is-ghost .jscb-hand-plate[b-xa3f0l4rp7] {
    color: var(--jscb-text-muted);
    font-weight: 600;
}

/* El colchón después de un paso: se ve y no ocupa la línea. */
.jscb-hand-cushion[b-xa3f0l4rp7] {
    border-radius: 0 4px 4px 0;
    background: color-mix(in srgb, var(--jscb-text-muted) 22%, transparent);
}

@media (forced-colors: active) {
    .jscb-hand-car[b-xa3f0l4rp7] {
        border: 1px solid CanvasText;
    }

    .jscb-hand-bar:not(.is-unrecorded)[b-xa3f0l4rp7] {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .jscb-hand-car.is-unrecorded[b-xa3f0l4rp7]::before {
        background: Highlight;
        forced-color-adjust: none;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbHeaderBar.razor.rz.scp.css */
/* Barra superior del JSCB en dos filas fijas (D29), fondo suave: arriba navegar y actuar, abajo
   mirar. Dos filas deliberadas leen mejor que una que se parte donde cae. */
.jscb-header[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    /* Hija de una columna flex con min-height explícito: sin esto la columna la encoge. */
    flex: 0 0 auto;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--jscb-bg-soft);
    /* D546: lo que la fila 1 acorta lo decide el ancho de la barra (cambia con la ventana, el menú y las columnas). */
    container: jscb-bar / inline-size;
}

.jscb-header-row[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-height: 28px;
}

/* Fila 2 (D30, D33): dos lados, «Por programar» y lo que se mira · las cifras de capacidad e «Imprevistos» (D594: el centro desapareció).
   Nunca se encogen por debajo de su contenido: el botón no se parte al estrechar. */
.jscb-header-row.is-secondary[b-g6la4bvo1a] {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) max-content;
    align-items: center;
}

/* D562, D578: con la leyenda de los colores, la fila 1 va en tres columnas, así la leyenda queda centrada en la barra
   y no en el hueco entre los lados. Los lados nunca se encogen por debajo de su contenido; el
   centro toma lo que sobra, nunca menos de los 46 px del botón de los colores, y lo que no cabe va en «+N» (JscbGroupLegend.razor.css).
   Por debajo de 1100 px vuelve a la fila de siempre, con ese botón (ver abajo). */
.jscb-header-row.is-primary.has-legend[b-g6la4bvo1a] {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) minmax(46px, auto) minmax(max-content, 1fr);
}

.jscb-header-side[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.jscb-header-side.is-right[b-g6la4bvo1a] {
    justify-content: flex-end;
}

.jscb-header-group[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Zona de acción: siempre pegada a la derecha, aunque la barra se parta en dos filas. Las acciones del día terminan en el borde de la
   barra, el mismo en el JSCB y el JPCB (D546); la configuración que iba a su derecha pasó a la cabecera (D583). */
.jscb-header-actions[b-g6la4bvo1a] {
    margin-left: auto;
    gap: 6px;
}

/* D546: las acciones del día (JSCB: «Plan de mañana» y «Reacomodar taller»; JPCB: «Reunión de inicio» y «Asignación del día»),
   juntas y sin partirse. */
.jscb-day-actions[b-g6la4bvo1a] {
    gap: 6px;
    white-space: nowrap;
}

/* «Reunión de inicio» hecha: un ✓ verde en la esquina, sin cambiar el ancho del botón (antes decía « · hecha»). */
.jscb-meeting-btn[b-g6la4bvo1a] {
    position: relative;
}

.jscb-meeting-done[b-g6la4bvo1a] {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--jscb-ok);
    box-shadow: 0 0 0 2px var(--jscb-bg-soft);
}

.jscb-meeting-btn .jscb-meeting-done svg[b-g6la4bvo1a] {
    width: 9px;
    height: 9px;
    color: #fff;
}

/* Accesos a las zonas (D29): icono + nombre + contador; abierta, en el amarillo suave de lo encendido (D75). */
.jscb-zone-toggle[b-g6la4bvo1a] {
    flex: 0 0 auto;
    gap: 6px;
    padding: 0 8px;
    white-space: nowrap;
}

/* Globos de Imprevistos (D33): amarillo en paralelo, rojo detenidas; el componente lee los tokens. */
.jscb-badge[b-g6la4bvo1a] {
    display: inline-flex;
}

.jscb-badge.is-warn[b-g6la4bvo1a] {
    --st-badge-bg: var(--jscb-warn);
}

.jscb-badge.is-danger[b-g6la4bvo1a] {
    --st-badge-bg: var(--jscb-danger);
}

.jscb-zone-toggle svg[b-g6la4bvo1a] {
    width: 15px;
    height: 15px;
    color: var(--jscb-text-muted);
}

.jscb-zone-toggle.is-warn svg[b-g6la4bvo1a] {
    color: var(--jscb-warn);
}

/* Abierta también con el ratón encima: el hover de .jscb-btn pesa más y la apagaba. El icono de
   Imprevistos sigue en ámbar: es su aviso, no la selección. */
.jscb-zone-toggle.is-active[b-g6la4bvo1a],
.jscb-zone-toggle.is-active:hover:not(:disabled)[b-g6la4bvo1a] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.jscb-zone-toggle.is-active:not(.is-warn) svg[b-g6la4bvo1a] {
    color: var(--kodawari-selected-text);
}

.jscb-header-label[b-g6la4bvo1a] {
    margin-right: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

/* El periodo es un botón silencioso: vuelve a hoy al tocarlo (D31, sustituye a «Hoy»). */
.jscb-range[b-g6la4bvo1a] {
    margin-left: 6px;
    padding: 0 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 26px;
    color: var(--jscb-text);
    white-space: nowrap;
    cursor: pointer;
}

.jscb-range:hover:not(:disabled)[b-g6la4bvo1a] {
    background: var(--jscb-bg-alt);
    border-color: var(--jscb-border-strong);
}

.jscb-range:focus-visible[b-g6la4bvo1a] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* Botones: píldoras bajas para no robar alto al tablero; foco visible en magenta. */
.jscb-btn[b-g6la4bvo1a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 28px;
    min-width: 28px;
    padding: 0 10px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-btn svg[b-g6la4bvo1a] {
    width: 16px;
    height: 16px;
}

.jscb-btn:hover:not(:disabled)[b-g6la4bvo1a] {
    background: var(--jscb-bg-alt);
    border-color: var(--jscb-text-faint);
}

.jscb-btn:focus-visible[b-g6la4bvo1a] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-btn:disabled[b-g6la4bvo1a] {
    color: var(--jscb-text-faint);
    cursor: default;
}

.jscb-btn-icon[b-g6la4bvo1a] {
    padding: 0;
    width: 28px;
}

.jscb-scale[b-g6la4bvo1a] {
    gap: 0;
}

.jscb-scale-btn[b-g6la4bvo1a] {
    border-radius: 0;
    margin-left: -1px;
}

.jscb-scale-btn:first-child[b-g6la4bvo1a] {
    border-radius: 8px 0 0 8px;
    margin-left: 0;
}

.jscb-scale-btn:last-child[b-g6la4bvo1a] {
    border-radius: 0 8px 8px 0;
}

/* Segmentado de una sola opción (D75): lo elegido, lleno en el amarillo de la app con texto azul marino.
   Mismo peso de letra que los demás para que el control no cambie de ancho al elegir. */
.jscb-scale-btn[b-g6la4bvo1a] {
    font-weight: 600;
}

/* Activo como todo botón de los tableros (D91): amarillo suave, borde amarillo y texto azul marino. */
.jscb-scale-btn.is-active[b-g6la4bvo1a],
.jscb-scale-btn.is-active:hover:not(:disabled)[b-g6la4bvo1a] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
    cursor: default;
    z-index: 1;
}

/* D551: una escala que el taller no ofrece en este tablero se ve atenuada, sin hover; su título dice dónde se habilita. */
.jscb-scale-btn.is-off[b-g6la4bvo1a],
.jscb-scale-btn.is-off:hover[b-g6la4bvo1a] {
    background: var(--jscb-bg);
    border-color: var(--jscb-border-strong);
    color: var(--jscb-text-faint);
    cursor: not-allowed;
}

/* El selector de tablero (DCB · JSCB · JPCB) es KodawariBoardSwitch, compartido con el DCB (D75). */

.jscb-layer-btn:disabled[b-g6la4bvo1a] {
    opacity: 0.5;
    cursor: default;
}

/* ─── Turnos (D31): un desplegable con una casilla por turno ─────────────── */
.jscb-shift-filter[b-g6la4bvo1a] {
    gap: 4px;
    min-width: 0;
}

/* Los turnos marcados en el botón; si no caben, con puntos suspensivos (el título los dice enteros). */
.jscb-shift-value[b-g6la4bvo1a] {
    min-width: 0;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-shift-option[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--jscb-text-muted, #64748b);
    cursor: pointer;
}

.jscb-shift-option:hover[b-g6la4bvo1a] {
    background: var(--st-surface-sunken);
}

.jscb-shift-option.is-on[b-g6la4bvo1a] {
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* El último turno marcado no se quita: la casilla se ve apagada y el título dice por qué. */
.jscb-shift-option.is-locked[b-g6la4bvo1a] {
    cursor: default;
}

.jscb-shift-check[b-g6la4bvo1a] {
    flex: none;
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--kodawari-selected-text, var(--st-text-brand));
    cursor: inherit;
}

.jscb-shift-check:focus-visible[b-g6la4bvo1a] {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: 2px;
}

.jscb-shift-option .jscb-layer-icon[b-g6la4bvo1a] {
    flex: none;
    width: 15px;
    height: 15px;
}

.jscb-shift-text[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jscb-shift-name[b-g6la4bvo1a] {
    font-size: 12.5px;
    font-weight: 600;
}

.jscb-shift-hours[b-g6la4bvo1a] {
    font-size: 11px;
    color: var(--jscb-text-muted, #64748b);
}

/* ─── Capas de tiempo ───────────────────────────────────────────────────── */
/* Botones-etiqueta de selección múltiple (los estados del JPCB y Turnos, D31b, D35; las capas del JSCB están en el panel «Vista», D549). Encendido =
   amarillo suave con borde amarillo y texto azul marino (D75); apagado = fondo blanco y texto gris. */
.jscb-layers[b-g6la4bvo1a] {
    gap: 4px;
}

.jscb-layer-btn[b-g6la4bvo1a] {
    gap: 6px;
    padding: 0 10px 0 8px;
    color: var(--jscb-text-muted);
}

.jscb-layer-btn.is-on[b-g6la4bvo1a],
.jscb-layer-btn.is-on:hover:not(:disabled)[b-g6la4bvo1a] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

/* La única capa visible no se apaga: sigue encendida y lo dice al pasar. */
.jscb-layer-btn.is-locked[b-g6la4bvo1a] {
    cursor: default;
}

/* Icono de línea (D35): azul marino con el botón encendido, gris apagado. */
.jscb-layer-btn .jscb-layer-icon[b-g6la4bvo1a] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--jscb-text-faint);
}

.jscb-layer-btn.is-on .jscb-layer-icon[b-g6la4bvo1a] {
    color: var(--kodawari-selected-text);
}

/* Vista y proceso: dos desplegables de una sola elección, con la caja de los de Turnos. */
.jscb-view-filter[b-g6la4bvo1a] {
    gap: 6px;
}

/* D548: «Proceso» (antes «Proceso» y «Seguir», D544) mide siempre lo mismo, con «Todos los procesos» o un nombre largo: el nombre lleva
   «…» (entero en el título, en el menú y en la línea de mensajes) y el embudo de «Ocultar las otras OTs» tiene su sitio, encendido o no. */
.jscb-process-filter[b-g6la4bvo1a]  .jscb-dropdown-btn {
    width: 196px;
    max-width: 196px;
}

.jscb-process-name[b-g6la4bvo1a] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* El embudo: gris con «Ocultar las otras OTs» apagado; dorado (D91) encendido, aunque no haya proceso, porque se recuerda; tenue en Resumen. */
.jscb-process-funnel[b-g6la4bvo1a] {
    flex: none;
    width: 13px;
    height: 13px;
    color: var(--jscb-text-faint, #94a3b8);
}

.jscb-process-funnel.is-on[b-g6la4bvo1a] {
    color: var(--kodawari-selected, #e5b900);
}

.jscb-process-funnel.is-resting[b-g6la4bvo1a] {
    opacity: 0.45;
}

.jscb-view-option[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 200px;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--jscb-text-muted, #64748b);
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.jscb-view-option:hover[b-g6la4bvo1a],
.jscb-view-option:focus-visible[b-g6la4bvo1a] {
    background: var(--st-surface-sunken);
    outline: none;
}

.jscb-view-option.is-on[b-g6la4bvo1a] {
    color: var(--kodawari-selected-text, var(--st-text-brand));
    font-weight: 600;
}

.jscb-view-text[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jscb-view-text small[b-g6la4bvo1a] {
    color: var(--jscb-text-faint, #94a3b8);
    font-size: 11px;
    font-weight: 400;
}

.jscb-view-check[b-g6la4bvo1a] {
    margin-left: auto;
}

/* D540: la nota de arriba del menú «Renglones», en texto normal (el título del menú va en mayúsculas). */
.jscb-view-note[b-g6la4bvo1a] {
    margin: 0;
    padding: 4px 8px 6px;
    color: var(--jscb-text-muted, #64748b);
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
}

.jscb-view-dot[b-g6la4bvo1a] {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

/* D548: los procesos de un grupo van sangrados bajo él; el grupo lleva su rótulo y, debajo, sus procesos. */
.jscb-view-option.is-member[b-g6la4bvo1a] {
    padding-left: 24px;
}

.jscb-process-tag[b-g6la4bvo1a] {
    margin-left: 4px;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--jscb-text-faint, #94a3b8);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 1px;
}

/* D577: la nota del menú «Proceso» y, arriba a la derecha, el engranaje de los grupos de procesos. */
.jscb-process-head[b-g6la4bvo1a] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.jscb-process-head .jscb-view-note[b-g6la4bvo1a] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-process-gear[b-g6la4bvo1a] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.jscb-process-gear svg[b-g6la4bvo1a] {
    width: 15px;
    height: 15px;
}

.jscb-process-gear:hover[b-g6la4bvo1a],
.jscb-process-gear:focus-visible[b-g6la4bvo1a] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.jscb-process-gear:focus-visible[b-g6la4bvo1a] {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: -2px;
}

.jscb-process-sep[b-g6la4bvo1a] {
    flex: none;
    height: 1px;
    margin: 4px 2px;
    background: var(--st-border);
}

/* «Ocultar las otras OTs»: el interruptor de «Más contraste» (JscbColorGuide), a la medida de la lista. */
.jscb-process-only[b-g6la4bvo1a] {
    max-width: 300px;
    white-space: normal;
}

.jscb-process-only .jscb-process-funnel[b-g6la4bvo1a] {
    width: 15px;
    height: 15px;
}

.jscb-process-only:disabled[b-g6la4bvo1a] {
    cursor: default;
    opacity: 0.6;
}

.jscb-process-switch[b-g6la4bvo1a] {
    flex: 0 0 32px;
    height: 18px;
    margin-left: auto;
    padding: 2px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--st-surface-stronger);
    box-shadow: inset 0 0 0 1px var(--st-border-strong);
}

.jscb-process-switch > span[b-g6la4bvo1a] {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--st-text-secondary);
    transition: transform 0.15s ease;
}

.jscb-process-only[aria-checked="true"] .jscb-process-switch[b-g6la4bvo1a] {
    background: var(--st-gold-bg);
    box-shadow: inset 0 0 0 2px var(--st-gold-text);
}

.jscb-process-only[aria-checked="true"] .jscb-process-switch > span[b-g6la4bvo1a] {
    transform: translateX(14px);
    background: var(--st-gold-text);
}

/* ─── D549: el botón «Vista» y su panel ──────────────────────────────────── */
/* El botón: qué se dibuja y los renglones, con el ancho de lo más largo que puede decir, y las miniaturas de las capas (las de «Mostrar» de
   antes, D35): encendida en el amarillo suave con borde amarillo (D91), apagada solo el icono en gris, atenuada si no aplica (Retrasos en
   Resumen). */
.jscb-vista-filter[b-g6la4bvo1a]  .jscb-dropdown-btn {
    max-width: none;
}

.jscb-vista-value[b-g6la4bvo1a] {
    display: inline-grid;
}

.jscb-vista-value > *[b-g6la4bvo1a] {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.jscb-vista-ghost[b-g6la4bvo1a] {
    visibility: hidden;
}

.jscb-vista-value b[b-g6la4bvo1a] {
    font-weight: 600;
}

.jscb-vista-sep[b-g6la4bvo1a] {
    font-style: normal;
    color: var(--jscb-text-faint, #94a3b8);
}

.jscb-vista-pips[b-g6la4bvo1a] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 18px;
    padding-left: 6px;
    border-left: 1px solid var(--st-border-strong);
}

.jscb-vista-pip[b-g6la4bvo1a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    color: var(--jscb-text-faint, #94a3b8);
}

.jscb-vista-pip .jscb-layer-icon[b-g6la4bvo1a] {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.jscb-vista-pip.is-on[b-g6la4bvo1a] {
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kodawari-selected) 70%, transparent);
}

.jscb-vista-pip.is-na[b-g6la4bvo1a] {
    opacity: 0.4;
}

/* El panel: la caja de los popovers de la barra (D79), más ancha para las fichas de los renglones. */
.jscb-vista-filter[b-g6la4bvo1a]  .jscb-dropdown-menu {
    width: 340px;
    max-width: min(340px, calc(100vw - 32px));
    max-height: 80vh;
    padding: 6px 6px 8px;
}

.jscb-vista-sec[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 8px 4px;
}

.jscb-vista-sec + .jscb-vista-sec[b-g6la4bvo1a] {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--st-border);
}

.jscb-vista-title[b-g6la4bvo1a] {
    font-size: 12px;
    font-weight: 700;
    color: var(--jscb-text);
}

/* La línea gris de cada opción: --jscb-text-muted (no -faint) para que el 11 px pase AA sobre la caja. */
.jscb-vista-hint[b-g6la4bvo1a] {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    color: var(--jscb-text-muted, #64748b);
}

.jscb-vista-hint.is-2[b-g6la4bvo1a] {
    min-height: 2.7em;
}

.jscb-vista-hint b[b-g6la4bvo1a] {
    color: var(--jscb-text);
    font-weight: 600;
}

.jscb-vista-hint.is-na[b-g6la4bvo1a] {
    color: var(--st-warning-text);
}

/* Qué se dibuja: segmentado de una sola opción, como la escala (D75). */
.jscb-vista-seg[b-g6la4bvo1a] {
    display: flex;
}

.jscb-vista-seg-btn[b-g6la4bvo1a] {
    position: relative;
    flex: 1 1 0;
    height: 28px;
    margin-left: -1px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 0;
    background: var(--st-surface);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-vista-seg-btn:first-child[b-g6la4bvo1a] {
    margin-left: 0;
    border-radius: 8px 0 0 8px;
}

.jscb-vista-seg-btn:last-child[b-g6la4bvo1a] {
    border-radius: 0 8px 8px 0;
}

.jscb-vista-seg-btn:hover:not([aria-checked="true"])[b-g6la4bvo1a] {
    z-index: 1;
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.jscb-vista-seg-btn[aria-checked="true"][b-g6la4bvo1a] {
    z-index: 2;
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
    cursor: default;
}

/* Renglones: tres fichas con el dibujo de cómo se acomodan las OT dentro de la línea de un latonero. */
.jscb-vista-tiles[b-g6la4bvo1a] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.jscb-vista-tile[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 7px 4px 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--jscb-text);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-vista-drawing[b-g6la4bvo1a] {
    display: block;
    width: 84px;
    height: 30px;
}

.jscb-vista-lane[b-g6la4bvo1a] {
    fill: var(--st-surface-sunken);
}

.jscb-vista-stub[b-g6la4bvo1a] {
    fill: var(--jscb-text-muted, #64748b);
    opacity: 0.55;
}

.jscb-vista-tile:hover:not([aria-checked="true"]):not(:disabled)[b-g6la4bvo1a] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.jscb-vista-tile[aria-checked="true"][b-g6la4bvo1a] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
    cursor: default;
}

.jscb-vista-tile:disabled[b-g6la4bvo1a] {
    cursor: default;
    opacity: 0.45;
}

.jscb-vista-tile:disabled .jscb-vista-drawing[b-g6la4bvo1a] {
    filter: grayscale(1);
}

/* En Resumen la elegida queda punteada: vuelve así al pasar a OT. */
.jscb-vista-tile:disabled[aria-checked="true"][b-g6la4bvo1a] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    border-style: dashed;
    color: var(--jscb-text);
}

.jscb-vista-seg-btn:focus-visible[b-g6la4bvo1a],
.jscb-vista-tile:focus-visible[b-g6la4bvo1a],
.jscb-vista-switch:focus-visible[b-g6la4bvo1a],
.jscb-vista-reset:focus-visible[b-g6la4bvo1a] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Mostrar: interruptores de fila entera, con lo que dibuja cada capa debajo. */
.jscb-vista-switch[b-g6la4bvo1a] {
    display: grid;
    grid-template-columns: 16px 1fr auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 1px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--jscb-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-vista-switch:hover:not(:disabled):not(.is-locked)[b-g6la4bvo1a] {
    background: var(--st-surface-sunken);
}

.jscb-vista-switch > .jscb-layer-icon[b-g6la4bvo1a] {
    grid-row: 1;
    grid-column: 1;
    width: 15px;
    height: 15px;
    color: var(--jscb-text-faint, #94a3b8);
}

.jscb-vista-switch-name[b-g6la4bvo1a] {
    grid-row: 1;
    grid-column: 2;
    font-size: 12.5px;
    font-weight: 600;
}

.jscb-vista-switch-hint[b-g6la4bvo1a] {
    grid-row: 2;
    grid-column: 2 / 4;
    font-size: 11px;
    line-height: 1.35;
    color: var(--jscb-text-muted, #64748b);
}

.jscb-vista-toggle[b-g6la4bvo1a] {
    position: relative;
    grid-row: 1;
    grid-column: 3;
    width: 30px;
    height: 18px;
    border-radius: 999px;
    background: var(--st-surface-stronger);
    box-shadow: inset 0 0 0 1px var(--st-border-strong);
    transition: background-color 0.2s ease;
}

.jscb-vista-toggle[b-g6la4bvo1a]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.jscb-vista-switch[aria-pressed="true"] > .jscb-layer-icon[b-g6la4bvo1a] {
    color: var(--kodawari-selected-text);
}

.jscb-vista-switch[aria-pressed="true"] .jscb-vista-toggle[b-g6la4bvo1a] {
    background: var(--kodawari-selected);
    box-shadow: none;
}

.jscb-vista-switch[aria-pressed="true"] .jscb-vista-toggle[b-g6la4bvo1a]::after {
    transform: translateX(12px);
    background: #1f2f45;
}

/* La única capa visible no se apaga: sigue encendida, el interruptor más tenue y la línea dice por qué (una regla, no una falta). */
.jscb-vista-switch.is-locked[b-g6la4bvo1a] {
    cursor: default;
}

.jscb-vista-switch.is-locked .jscb-vista-toggle[b-g6la4bvo1a] {
    opacity: 0.55;
}

/* Retrasos en Resumen: no aplica, y la línea lo dice en ámbar. */
.jscb-vista-switch:disabled[b-g6la4bvo1a] {
    cursor: default;
}

.jscb-vista-switch:disabled > .jscb-layer-icon[b-g6la4bvo1a],
.jscb-vista-switch:disabled .jscb-vista-switch-name[b-g6la4bvo1a],
.jscb-vista-switch:disabled .jscb-vista-toggle[b-g6la4bvo1a] {
    opacity: 0.45;
}

.jscb-vista-switch:disabled .jscb-vista-switch-hint[b-g6la4bvo1a] {
    color: var(--st-warning-text);
}

.jscb-vista-rule[b-g6la4bvo1a] {
    height: 1px;
    margin: 2px 8px;
    background: var(--st-border);
}

/* Al pie, «Restablecer la vista» (D547), con el aspecto de la de la «i». */
.jscb-vista-foot[b-g6la4bvo1a] {
    margin-top: 8px;
    padding: 10px 2px 0;
    border-top: 1px solid var(--st-border);
}

.jscb-vista-reset[b-g6la4bvo1a] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-vista-reset:hover:not(:disabled)[b-g6la4bvo1a] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-sunken);
}

.jscb-vista-reset svg[b-g6la4bvo1a] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0 1px;
    color: var(--st-text-secondary);
}

.jscb-vista-reset:disabled[b-g6la4bvo1a],
.jscb-vista-reset:disabled svg[b-g6la4bvo1a] {
    cursor: default;
    color: var(--st-text-subtle);
}

.jscb-vista-reset-text[b-g6la4bvo1a] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.jscb-vista-reset-text b[b-g6la4bvo1a] {
    font-size: 13px;
}

.jscb-vista-reset-text small[b-g6la4bvo1a] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

/* ─── D593: «Cómo planea», en la cabecera del panel ──────────────────────── */
/* Entre los colores y la «i» (KodawariBarPopover), con sus medidas y los colores del tema: en la cabecera no existen los --jscb-*. */
.jscb-engine-btn[b-g6la4bvo1a] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    height: 28px;
    min-width: 28px;
    padding: 0 9px 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-engine-btn svg[b-g6la4bvo1a] {
    flex: none;
    width: 15px;
    height: 15px;
}

.jscb-engine-btn:hover[b-g6la4bvo1a] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.jscb-engine-btn:focus-visible[b-g6la4bvo1a] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* En una cabecera estrecha queda en su icono (el título y el lector de pantalla lo dicen entero), antes de que cedan el buscador y la
   configuración: con el texto (117 px) caben los dos enteros desde 913 px, 927 con el punto de «vista temporal». El ancho es el de la
   cabecera del panel (CalendarPanel.razor.css). */
@container kodawari-head (max-width: 960px) {
    .jscb-engine-btn[b-g6la4bvo1a] {
        width: 28px;
        padding: 0;
    }

    .jscb-engine-text[b-g6la4bvo1a] {
        display: none;
    }
}

/* ─── D546: lo que la barra acorta cuando se estrecha ───────────────────── */
/* Fila 1, por etapas. Cada umbral es el ancho de la fila en la etapa anterior más 12 px de aire, medido con la barra real en su
   caso más ancho (Mes · Semana · Día, Turnos con tres turnos, «Miércoles 30 sept», los contadores en «99+»), así un cambio de
   escala, de turnos o de cifra no la parte. JSCB: 1144 px; con «Plan ▾», 1077; con «Reacomodar» sin «taller» en sus tres
   estados, 1038. JPCB: 1128 px; con «Reunión» y «Asignación», 1036. Turnos nunca pierde su rótulo; los títulos y el
   aria-label dicen siempre el texto entero. D583: se midió con la configuración al final de la fila; ya no está y los umbrales se
   conservan (lo que deja libre es para la leyenda en el JSCB). */
@container jscb-bar (max-width: 1155px) {
    .jscb-day-actions[b-g6la4bvo1a]  .jplan-label-rest {
        display: none;
    }
}

/* D578: en el JSCB la leyenda de los colores siempre está y ocupa al menos 54 px (su botón de 46 y una separación): cada etapa llega
   54 px antes. Por debajo de 1100 px, con las acciones ya acortadas, la fila vuelve a ser la de siempre y de la leyenda queda ese botón
   (JscbGroupLegend.razor.css). */
@container jscb-bar (max-width: 1209px) {
    .jscb-header-row.has-legend .jscb-day-actions[b-g6la4bvo1a]  .jplan-label-rest {
        display: none;
    }
}

@container jscb-bar (max-width: 1142px) {
    .jscb-header-row.has-legend .jscb-day-actions[b-g6la4bvo1a]  .jscb-optimize-wide {
        display: none;
    }

    .jscb-header-row.has-legend .jscb-day-actions[b-g6la4bvo1a]  .jscb-optimize-narrow {
        display: inline-flex;
    }
}

@container jscb-bar (max-width: 1099px) {
    .jscb-header-row.is-primary.has-legend[b-g6la4bvo1a] {
        display: flex;
    }
}

@container jscb-bar (max-width: 1139px) {
    .jscb-day-fold[b-g6la4bvo1a] {
        display: none;
    }
}

@container jscb-bar (max-width: 1088px) {
    .jscb-day-actions[b-g6la4bvo1a]  .jscb-optimize-wide {
        display: none;
    }

    .jscb-day-actions[b-g6la4bvo1a]  .jscb-optimize-narrow {
        display: inline-flex;
    }
}

/* Fila 2 del JSCB (D549, D552): con «Vista» en un botón y sin «Promesas», que pasó al DCB (le quitó 181 px, 120 con solo iconos), mide
   931 px en su caso más ancho (los contadores en «99+», «Vista» con el ancho de su texto más largo, «Proceso» en su tope de 196 px), sin
   contar las cifras de capacidad. Acorta por etapas, cada umbral con 12 px de aire sobre el ancho de la etapa anterior, así una cifra que
   crece no la parte. D556: las cifras (JscbIndicatorsButton), antes de «Imprevistos» (D594), van tras 8 px de separación. Las tres cifras miden hasta 396 px y
   ganan a los rótulos: por debajo de 1347 px (931 + 8 + 396 + 12) los rótulos «Vista» y «Proceso» se ocultan a la vista (845 px sin
   ellos). Luego se acortan las cifras (Ingresos · WIP · cuello hasta 1261, WIP · cuello hasta 1145) y queda el WIP de titular, de
   112 px, que va en cada etapa siguiente: por debajo de 977, «Proceso» baja a 150 px con su nombre en «…» (799 px); por debajo de 931,
   «Por programar» e «Imprevistos» quedan con su icono y sus globos (641 px); por debajo de 773 las cifras quedan en su icono. Lo oculto
   lo siguen diciendo el título y el lector de pantalla. En el JPCB, sin cifras, «Proceso» baja a 150 px por debajo de 857. */
@container jscb-bar (max-width: 1346px) {
    .jscb-header-row.is-planning .jscb-view-filter > .jscb-header-label[b-g6la4bvo1a] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@container jscb-bar (max-width: 976px) {
    .jscb-header-row.is-planning .jscb-process-filter[b-g6la4bvo1a]  .jscb-dropdown-btn {
        width: 150px;
        max-width: 150px;
    }
}

@container jscb-bar (max-width: 856px) {
    .jscb-process-filter[b-g6la4bvo1a]  .jscb-dropdown-btn {
        width: 150px;
        max-width: 150px;
    }
}

@container jscb-bar (max-width: 930px) {
    .jscb-header-row.is-planning .jscb-zone-text[b-g6la4bvo1a] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* /Pages/Home/Components/Calendar/Jscb/JscbImpedimentList.razor.rz.scp.css */
/* Zona «Imprevistos» (R28–R30). Tokens --jscb-* heredados de la raíz del tablero. */
.jscb-imp[b-50s313hd4t] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.jscb-imp-filters[b-50s313hd4t] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-imp-filter[b-50s313hd4t] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    background: var(--jscb-bg);
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
    cursor: pointer;
}

/* Filtro elegido (D75, D91): como todo botón activo de los tableros, amarillo suave con borde amarillo y texto
   azul marino. */
.jscb-imp-filter.is-active[b-50s313hd4t] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-imp-filter:focus-visible[b-50s313hd4t] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-imp-count[b-50s313hd4t] {
    font-weight: 700;
}

.jscb-imp-empty[b-50s313hd4t] {
    padding: 16px 12px;
    color: var(--jscb-text-muted);
}

.jscb-imp-section[b-50s313hd4t] {
    padding: 10px 12px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jscb-text-faint);
    border-top: 1px solid var(--jscb-border);
}

.jscb-imp-list[b-50s313hd4t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 10px 10px 8px;
}

/* D541: one group per process, its head over its cards; the head already gives the air above. */
.jscb-imp-group .jscb-imp-list[b-50s313hd4t] {
    padding-top: 6px;
}

/* D542: the band of each process head already separates the groups; a folded one leaves only its band. */
.jscb-imp-group.is-collapsed:last-child[b-50s313hd4t] {
    padding-bottom: 8px;
}

.jscb-imp-list.is-pools[b-50s313hd4t] {
    gap: 0;
    padding: 4px 0;
}

/* Cada imprevisto es una tarjeta de panel (D77, JscbPanelCard): sin franja lateral; detenida en rojo y en
   paralelo en ámbar, en el anillo del proceso, la cifra y la palabra. */
.jscb-imp-item[b-50s313hd4t] {
    min-width: 0;
}

.jscb-imp-icon[b-50s313hd4t] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 9999px;
    color: #fff;
}

.jscb-imp-icon svg[b-50s313hd4t] {
    width: 12px;
    height: 12px;
}

.jscb-imp-icon.is-stopped[b-50s313hd4t] {
    background: var(--jscb-danger);
}

.jscb-imp-icon.is-concurrent[b-50s313hd4t] {
    background: var(--jscb-warn);
}

.jscb-imp-body[b-50s313hd4t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.jscb-imp-pool[b-50s313hd4t] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px 6px 8px;
    border-bottom: 1px solid var(--jscb-border);
}

/* Trabajo sin autorización (D43): anomalía de registro, ámbar (D45). */
.jscb-imp-anomaly[b-50s313hd4t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 8px;
    padding: 8px 10px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font-size: 12px;
}

/* D362 (PLN-34): one row per plate with «Programar». */
.jscb-imp-anomaly-list[b-50s313hd4t] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.jscb-imp-anomaly-list li[b-50s313hd4t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.jscb-imp-anomaly-act[b-50s313hd4t] {
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--jscb-border-strong, var(--st-border-strong));
    border-radius: 7px;
    background: var(--st-surface);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    cursor: pointer;
}

.jscb-imp-anomaly-act:hover:not(:disabled)[b-50s313hd4t] {
    border-color: var(--jscb-text-faint, var(--st-border-stronger));
    background: var(--jscb-bg-alt, var(--st-surface-muted));
}

.jscb-imp-anomaly-act:disabled[b-50s313hd4t] {
    opacity: 0.5;
    cursor: not-allowed;
}

.jscb-imp-anomaly-act:focus-visible[b-50s313hd4t] {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: 1px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbIndicatorsButton.razor.rz.scp.css */
/* D556: las cifras de capacidad en la fila 2 del JSCB, junto a «Imprevistos» (D594). Sin paleta nueva: gris = normal; ámbar (--jscb-warn) = pasa un
   límite (A14, avisa sin bloquear); naranja claro (≥ 90 %) y naranja fuerte (> 100 %) = el uso de la cabina, la regla de las celdas de
   TALLER (D45). Nada verde para un porcentaje. */
.jscb-kpi[b-8ukgb5s4fg] {
    display: inline-flex;
    flex: none;
}

.jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-btn {
    max-width: none;
    padding: 0 6px;
    font-variant-numeric: tabular-nums;
}

/* Cerrado se lee como texto (Johan, 23-nov): sin caja; al pasar el ratón, el fondo suave de los botones de la barra dice que se toca.
   Abierto conserva el amarillo de la selección, como los demás desplegables (D75, D91). */
.jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-btn:not(.is-open) {
    border-color: transparent;
    background: none;
}

.jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-btn:not(.is-open):hover {
    border-color: transparent;
    background: var(--st-surface-muted);
}

.jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-btn:not(.is-open) .jscb-dropdown-chevron {
    opacity: 0.6;
}

/* El panel: la caja de los paneles de la barra (D79); cabe en dos columnas de tarjetas mientras la barra es ancha (ver abajo). D594: el
   botón va a la derecha de la barra, así que el panel se ancla a su derecha y crece hacia la izquierda. D602: con este ancho, el embudo de
   todos los procesos de un taller cabe sin correrse de lado. */
.jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-menu {
    right: 0;
    left: auto;
    width: 680px;
    max-width: min(680px, calc(100vw - 32px));
    max-height: 80vh;
    padding: 6px 6px 8px;
}

/* ─── Etapas del botón ───────────────────────────────────────────────────── */
/* El botón mide lo que dice, sin hueco al final (Johan, 19-nov). Se ve una sola etapa a la vez, según el ancho de la barra (los
   umbrales, abajo). */
.jscb-kpi-stage[b-8ukgb5s4fg] {
    display: none;
}

.jscb-kpi-stage.s0[b-8ukgb5s4fg] {
    display: inline-grid;
}

.jscb-kpi-stage > *[b-8ukgb5s4fg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jscb-kpi-f[b-8ukgb5s4fg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.jscb-kpi-l[b-8ukgb5s4fg] {
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-v[b-8ukgb5s4fg] {
    font-size: 12px;
    font-weight: 700;
    color: var(--jscb-text, var(--st-text));
}

.jscb-kpi-of[b-8ukgb5s4fg] {
    font-weight: 500;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-sep[b-8ukgb5s4fg] {
    color: var(--jscb-text-faint, #94a3b8);
}

/* El nombre del proceso cuello, recortado en su tope: entero, en el panel y en el título del botón. */
.jscb-kpi-name[b-8ukgb5s4fg] {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
    color: var(--jscb-text, var(--st-text));
}

/* D614: las cifras son de las OT del periodo; ocupa menos que el límite que reemplaza. */
.jscb-kpi-mark[b-8ukgb5s4fg] {
    flex: none;
    width: 12px;
    height: 12px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

/* El uso, en texto: en el botón solo lo marca un punto desde 90 % (naranja claro) y sobre 100 % (naranja fuerte, D45). */
.jscb-kpi-pct[b-8ukgb5s4fg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--jscb-text, var(--st-text));
}

.jscb-kpi-pct.is-high[b-8ukgb5s4fg]::before,
.jscb-kpi-pct.is-over[b-8ukgb5s4fg]::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fb923c;
}

.jscb-kpi-pct.is-over[b-8ukgb5s4fg]::before {
    background: var(--jscb-overload, #ea580c);
}

/* Pasa un límite: la cifra en ámbar (A14). */
.jscb-kpi-f.is-warn .jscb-kpi-v[b-8ukgb5s4fg],
.jscb-kpi-f.is-warn .jscb-kpi-of[b-8ukgb5s4fg] {
    color: var(--jscb-warn-text, var(--st-warning-fg));
}

.jscb-kpi-gauge[b-8ukgb5s4fg] {
    width: 15px;
    height: 15px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-dot[b-8ukgb5s4fg] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jscb-text-faint, #94a3b8);
}

.jscb-kpi-dot.is-high[b-8ukgb5s4fg] {
    background: #fb923c;
}

.jscb-kpi-dot.is-warn[b-8ukgb5s4fg] {
    background: var(--jscb-warn, #d97706);
}

/* Umbrales: el ancho de contenido de la barra con la fila 2 en su caso más ancho sin los rótulos de «Vista» y «Proceso» (845 px, ver
   JscbHeaderBar.razor.css), los 8 px de separación, el botón en su etapa con lo más largo que puede decir (medido en la web: 395, 279,
   107 y 60 px, con tres cifras en ingresos, WIP y cuello y el nombre del cuello en su tope) y 12 px de aire: lo que dice de verdad es igual
   o más corto, así nunca parte la fila. Las cinco cifras (559 px) solo salen donde caben con los rótulos (931 px): 931 + 8 + 559 + 12 («Cómo planea»
   subió a la cabecera, D593). El WIP queda de titular: «Proceso» se recorta y «Por programar» e «Imprevistos» quedan en su
   icono antes que él (por debajo de 977 y de 931, con 799 y 641 px). */
@container jscb-bar (max-width: 1509px) {
    .jscb-kpi-stage.s0[b-8ukgb5s4fg] {
        display: none;
    }

    .jscb-kpi-stage.s1[b-8ukgb5s4fg] {
        display: inline-grid;
    }
}

@container jscb-bar (max-width: 1260px) {
    .jscb-kpi-stage.s1[b-8ukgb5s4fg] {
        display: none;
    }

    .jscb-kpi-stage.s2[b-8ukgb5s4fg] {
        display: inline-grid;
    }
}

@container jscb-bar (max-width: 1144px) {
    .jscb-kpi-stage.s2[b-8ukgb5s4fg] {
        display: none;
    }

    .jscb-kpi-stage.s3[b-8ukgb5s4fg] {
        display: inline-grid;
    }
}

@container jscb-bar (max-width: 772px) {
    .jscb-kpi-stage.s3[b-8ukgb5s4fg] {
        display: none;
    }

    .jscb-kpi-stage.s4[b-8ukgb5s4fg] {
        display: inline-grid;
    }
}

/* ─── El panel ───────────────────────────────────────────────────────────── */
/* D601: dos grupos, cada uno dice de qué habla: «Taller hoy» (los vehículos de ahora) y «Plan …» (el periodo del tablero). */
.jscb-kpi-group[b-8ukgb5s4fg] {
    padding: 0 2px;
}

.jscb-kpi-group + .jscb-kpi-group[b-8ukgb5s4fg] {
    margin-top: 8px;
}

.jscb-kpi-group-head[b-8ukgb5s4fg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 10px;
    padding: 2px 4px 5px;
}

.jscb-kpi-group-name[b-8ukgb5s4fg] {
    flex: none;
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--jscb-text, var(--st-text));
}

.jscb-kpi-group-what[b-8ukgb5s4fg] {
    min-width: 0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

/* D614: qué OT se cuentan, con el control segmentado de «Vista» (JscbHeaderBar.razor.css); el texto parte en dos líneas en el panel angosto. */
.jscb-kpi-scope[b-8ukgb5s4fg] {
    display: flex;
    padding-bottom: 6px;
}

.jscb-kpi-scope-btn[b-8ukgb5s4fg] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 28px;
    margin-left: -1px;
    padding: 4px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 0;
    background: var(--st-surface);
    color: var(--jscb-text, var(--st-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-kpi-scope-btn:first-child[b-8ukgb5s4fg] {
    margin-left: 0;
    border-radius: 8px 0 0 8px;
}

.jscb-kpi-scope-btn:last-child[b-8ukgb5s4fg] {
    border-radius: 0 8px 8px 0;
}

.jscb-kpi-scope-btn:hover:not([aria-checked="true"])[b-8ukgb5s4fg] {
    z-index: 1;
    border-color: var(--st-border-stronger);
    background: var(--st-surface-muted);
}

.jscb-kpi-scope-btn[aria-checked="true"][b-8ukgb5s4fg] {
    z-index: 2;
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
    cursor: default;
}

.jscb-kpi-scope-btn:focus-visible[b-8ukgb5s4fg] {
    z-index: 3;
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.jscb-kpi-scope-hint[b-8ukgb5s4fg] {
    margin: 0;
    padding: 0 4px 6px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-panel[b-8ukgb5s4fg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.jscb-kpi-card.is-wide[b-8ukgb5s4fg] {
    grid-column: 1 / -1;
}

.jscb-kpi-ic[b-8ukgb5s4fg] {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-card[b-8ukgb5s4fg] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 9px 11px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.jscb-kpi-card-top[b-8ukgb5s4fg] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
}

.jscb-kpi-card-name[b-8ukgb5s4fg] {
    font-size: 12px;
    font-weight: 600;
    color: var(--jscb-text-muted, var(--st-text-secondary));
}

.jscb-kpi-card-fig[b-8ukgb5s4fg] {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jscb-kpi-card-fig.is-name[b-8ukgb5s4fg] {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
}

.jscb-kpi-card-fig .jscb-kpi-of[b-8ukgb5s4fg] {
    font-size: 15px;
}

.jscb-kpi-card-what[b-8ukgb5s4fg] {
    margin: 0;
    font-size: 11.5px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-meter[b-8ukgb5s4fg] {
    position: relative;
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--jscb-bg-row, var(--st-surface-strong));
}

.jscb-kpi-meter > i[b-8ukgb5s4fg] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 3px;
    background: var(--st-border-stronger);
}

.jscb-kpi-meter.is-high > i[b-8ukgb5s4fg] {
    background: #fb923c;
}

.jscb-kpi-meter.is-over > i[b-8ukgb5s4fg] {
    background: var(--jscb-overload, #ea580c);
}

/* Cada cabina, cuando hay más de una: nombre, barra y su uso. */
.jscb-kpi-booths[b-8ukgb5s4fg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
}

.jscb-kpi-booths li[b-8ukgb5s4fg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px 40px;
    align-items: center;
    gap: 8px;
}

.jscb-kpi-booth-name[b-8ukgb5s4fg] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-kpi-booths .jscb-kpi-meter[b-8ukgb5s4fg] {
    height: 4px;
}

.jscb-kpi-booths b[b-8ukgb5s4fg] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* El detalle: qué y cuánto, una línea cada uno. */
.jscb-kpi-rows[b-8ukgb5s4fg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 0;
    font-size: 11.5px;
}

/* En la tarjeta a todo lo ancho, de a dos: qué y cuánto quedan cerca. */
.jscb-kpi-card.is-wide .jscb-kpi-rows[b-8ukgb5s4fg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 28px;
}

.jscb-kpi-rows > div[b-8ukgb5s4fg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.jscb-kpi-rows dt[b-8ukgb5s4fg] {
    min-width: 0;
    font-weight: 400;
    color: var(--jscb-text-muted, var(--st-text-secondary));
}

.jscb-kpi-rows dd[b-8ukgb5s4fg] {
    flex: none;
    margin: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text, var(--st-text));
}

.jscb-kpi-rows .is-warn dt[b-8ukgb5s4fg],
.jscb-kpi-rows .is-warn dd[b-8ukgb5s4fg] {
    color: var(--jscb-warn-text, var(--st-warning-fg));
}

.jscb-kpi-card-note[b-8ukgb5s4fg] {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.35;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-kpi-card.is-warn[b-8ukgb5s4fg] {
    border-color: var(--jscb-warn-border, var(--st-warning-border));
    background: var(--st-warning-bg);
}

.jscb-kpi-card.is-warn .jscb-kpi-card-fig[b-8ukgb5s4fg],
.jscb-kpi-card.is-warn .jscb-kpi-card-fig .jscb-kpi-of[b-8ukgb5s4fg] {
    color: var(--jscb-warn-text, var(--st-warning-fg));
}

.jscb-kpi-card.is-warn .jscb-kpi-meter > i[b-8ukgb5s4fg] {
    background: var(--jscb-warn, #d97706);
}

.jscb-kpi-link[b-8ukgb5s4fg] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-fg);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-kpi-link:hover[b-8ukgb5s4fg] {
    text-decoration: underline;
}

.jscb-kpi-link:focus-visible[b-8ukgb5s4fg] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
    border-radius: 3px;
}

.jscb-kpi-chev[b-8ukgb5s4fg] {
    width: 12px;
    height: 12px;
}

.jscb-kpi-links[b-8ukgb5s4fg] {
    display: flex;
    padding: 4px 8px 0;
}

/* Una columna donde la barra ya no tiene el ancho de dos. */
@container jscb-bar (max-width: 1144px) {
    .jscb-kpi[b-8ukgb5s4fg]  .jscb-dropdown-menu {
        width: 360px;
        max-width: min(360px, calc(100vw - 32px));
    }

    .jscb-kpi-panel[b-8ukgb5s4fg],
    .jscb-kpi-card.is-wide .jscb-kpi-rows[b-8ukgb5s4fg] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbLoadFigures.razor.rz.scp.css */
/* Las cifras de carga de las cabeceras: gris claro, un poco más pequeñas que el título; la unidad, aún más clara y pequeña. */
.jscb-figures[b-bzpahldvgd] {
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    color: var(--jscb-text-faint);
}

.jscb-unit[b-bzpahldvgd] {
    font-size: 9.5px;
    color: color-mix(in srgb, var(--jscb-text-faint) 60%, var(--jscb-bg));
}
/* /Pages/Home/Components/Calendar/Jscb/JscbLoadRow.razor.rz.scp.css */
/* Fila de carga TALLER (32 px) y, desplegadas, las de turno (28 px), láminas L5/L8 revisadas: una
   sola fila por defecto. El fondo es traslúcido para que la retícula de días siga viéndose debajo. */
.jscb-load-row[b-vszn813i4y] {
    border-top: 1px solid var(--jscb-border-strong);
}

.jscb-load-workshop[b-vszn813i4y] {
    height: 32px;
    background: color-mix(in srgb, var(--jscb-bg-soft) 85%, transparent);
}

.jscb-load-shift[b-vszn813i4y] {
    height: 28px;
    border-top-width: 1px;
    border-top-color: var(--jscb-border);
    background: color-mix(in srgb, var(--jscb-bg) 80%, transparent);
}

/* Despliega o pliega las filas por turno desde la etiqueta del TALLER. */
.jscb-load-toggle[b-vszn813i4y] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: -2px;
    padding: 0 2px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--jscb-text-muted);
    font: inherit;
    line-height: 16px;
    cursor: pointer;
}

.jscb-load-toggle svg[b-vszn813i4y] {
    width: 14px;
    height: 14px;
}

/* Plegado, la letra de cada turno (como las cabinas del JPCB): fichas neutras, al final del título. */
.jscb-load-chips[b-vszn813i4y] {
    /* Fuera del renglón del título (más alto que él con las fichas de 20 px dejaba sin sitio al texto de abajo): centradas en la fila. */
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jscb-load-chip[b-vszn813i4y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 3px;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--jscb-text-muted);
    box-shadow: inset 0 0 0 1.5px var(--jscb-text-faint);
    cursor: help;
}

.jscb-load-toggle:hover[b-vszn813i4y] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-load-toggle:focus-visible[b-vszn813i4y] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-load-label[b-vszn813i4y] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 0 12px;
    overflow: hidden;
    background: var(--jscb-bg-soft);
}

/* Turno A / B: fondo claro; la cabecera TALLER conserva su gris. */
.jscb-load-shift .jscb-load-label[b-vszn813i4y] {
    background: var(--jscb-bg);
}

.jscb-load-title[b-vszn813i4y] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.jscb-load-title-shift[b-vszn813i4y] {
    font-size: 11px;
}

.jscb-load-title-shift b[b-vszn813i4y] {
    margin-left: auto;
    font-weight: 700;
}

.jscb-load-sub[b-vszn813i4y] {
    font-size: 10.5px;
    line-height: 1.2;
    color: var(--jscb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-load-sub-shift[b-vszn813i4y] {
    font-size: 10.5px;
    color: var(--jscb-text-muted);
}

/* Las cifras (componente aparte) en su renglón de 10,5 px: sin la altura de línea del título de un equipo. */
.jscb-load-sub[b-vszn813i4y]  .jscb-figures {
    line-height: 1.2;
}

.jscb-load-tent[b-vszn813i4y] {
    color: var(--jscb-text-muted);
}

.jscb-load-body[b-vszn813i4y] {
    height: 100%;
}

/* Celda por día: relleno proporcional (gris; naranja ≥ 90 %; rojo en sobrecarga), tentativa
   punteada, % y horas en una sola línea encima. */
.jscb-load-cell[b-vszn813i4y] {
    position: absolute;
    top: 3px;
    bottom: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
    transition: background-color 0.2s ease;
}

.jscb-load-cell.is-empty[b-vszn813i4y] {
    background: var(--jscb-bg-soft);
    color: var(--jscb-text-faint);
}

/* Desde el 90 %: el relleno naranja claro es igual en los dos modos, y el texto encima va oscuro en los dos. */
.jscb-load-cell.is-high[b-vszn813i4y] {
    color: #1e293b;
}

/* Sobrecarga: el relleno naranja fuerte cubre la celda (F6); el texto pasa a blanco. */
.jscb-load-cell.is-overload[b-vszn813i4y] {
    color: #ffffff;
}

.jscb-load-fill[b-vszn813i4y] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.jscb-load-fill-tent[b-vszn813i4y] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    border: 1px dashed var(--jscb-text-muted);
    border-left: none;
    background: color-mix(in srgb, var(--jscb-bg) 60%, transparent);
}

.jscb-load-cell.is-high .jscb-load-fill-tent[b-vszn813i4y] {
    border-color: #64748b;
    background: rgba(255, 255, 255, 0.6);
}

.jscb-load-cell.is-overload .jscb-load-fill-tent[b-vszn813i4y] {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

/* Columna estrecha (D28): el texto no cabe; queda el relleno y el title. */
.jscb-load-cell.is-narrow .jscb-load-percent[b-vszn813i4y],
.jscb-load-cell.is-narrow .jscb-load-hours[b-vszn813i4y],
.jscb-load-cell.is-narrow .jscb-load-dash[b-vszn813i4y] {
    display: none;
}

.jscb-load-percent[b-vszn813i4y],
.jscb-load-hours[b-vszn813i4y],
.jscb-load-dash[b-vszn813i4y] {
    position: relative;
    z-index: 1;
    white-space: nowrap;
    line-height: 1;
}

.jscb-load-percent[b-vszn813i4y] {
    font-size: 12px;
    font-weight: 700;
}

.jscb-load-cell.is-small .jscb-load-percent[b-vszn813i4y] {
    font-size: 10px;
}

.jscb-load-hours[b-vszn813i4y] {
    font-size: 10.5px;
    opacity: 0.85;
}

.jscb-load-cell.is-small .jscb-load-hours[b-vszn813i4y] {
    font-size: 8.5px;
}

.jscb-load-dash[b-vszn813i4y] {
    font-size: 10.5px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOptimizeButton.razor.rz.scp.css */
/* «Reacomodar taller» en la fila 1 de la barra (D79, D546): la caja de los botones de la barra (28 px, radio 8), con icono.
   With its zone open it is lit (D75); with a proposal not saved it carries the magenta and the count of the work orders that change (D356). */
.jscb-optimize[b-5pay1h5638] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.jscb-optimize-btn[b-5pay1h5638] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 28px;
    padding: 0 10px 0 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* D546: the faces of the three states, one on top of the other; the hidden ones keep the slot as wide as the widest, so the button
   never changes width when the state changes. */
.jscb-optimize-slot[b-5pay1h5638] {
    display: inline-grid;
}

.jscb-optimize-face[b-5pay1h5638] {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.jscb-optimize-face.is-ghost[b-5pay1h5638] {
    visibility: hidden;
}

.jscb-optimize-btn svg[b-5pay1h5638] {
    width: 14px;
    height: 14px;
    flex: none;
}

.jscb-optimize-icon[b-5pay1h5638] {
    display: inline-flex;
}

/* Lo que solo se ve con la barra estrecha (JscbHeaderBar.razor.css lo enciende y apaga lo ancho). */
.jscb-optimize-narrow[b-5pay1h5638] {
    display: none;
}

/* El spinner de la zona de Reacomodar (JscbArrangePanel.razor.css), a 14 px, en lugar del icono al calcular con la barra estrecha. */
.jscb-optimize-spinner[b-5pay1h5638] {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid var(--jscb-border-strong);
    border-top-color: var(--jscb-accent);
    border-radius: 50%;
    animation: jscb-optimize-spin-b-5pay1h5638 0.9s linear infinite;
}

@keyframes jscb-optimize-spin-b-5pay1h5638 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-optimize-spinner[b-5pay1h5638] {
        animation: none;
    }
}

.jscb-optimize-btn:hover:not(:disabled)[b-5pay1h5638] {
    background: var(--jscb-bg-alt);
    border-color: var(--jscb-text-faint);
}

.jscb-optimize-btn:focus-visible[b-5pay1h5638] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-optimize-btn:disabled[b-5pay1h5638] {
    color: var(--jscb-text-faint);
    cursor: default;
}

/* Menu or zone open: lit like every board button that opens something (D75). */
.jscb-optimize-btn.is-open[b-5pay1h5638],
.jscb-optimize-btn.is-open:hover:not(:disabled)[b-5pay1h5638] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.jscb-optimize-btn.is-pending[b-5pay1h5638] {
    border-color: var(--jscb-accent);
    color: var(--jscb-accent);
}

/* With the proposal in view, active like every board button (D91). */
.jscb-optimize-btn.is-pending.is-active[b-5pay1h5638],
.jscb-optimize-btn.is-pending.is-active:hover[b-5pay1h5638] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.jscb-optimize-backdrop[b-5pay1h5638] {
    position: fixed;
    inset: 0;
    z-index: 59;
}

/* Antes de la configuración, a la derecha de la fila 1: el menú se abre hacia la izquierda y por encima de la grilla. */
.jscb-optimize-menu[b-5pay1h5638] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 60;
    min-width: 210px;
    padding: 4px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--st-surface-raised);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.jscb-optimize-item[b-5pay1h5638] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 100%;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-optimize-item span[b-5pay1h5638] {
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-optimize-item:hover[b-5pay1h5638] {
    background: var(--jscb-bg-soft);
}

.jscb-optimize-item:focus-visible[b-5pay1h5638] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOrderCard.razor.rz.scp.css */
/* Ficha de la OT (R24): tarjeta flotante de 360 px (480 px con bandeja o fichado), en la superficie elevada del
   tema, anclada dentro de .jscb-grid-inner, por encima de
   chips (z 1–3), guía de arrastre (4), etiquetas fijas (5), cabecera (6) y aviso de recarga (7).
   Rejilla de 4 px; el color del proceso solo aparece como cuadrado de 10 px. */
.jscb-order-card[b-1we1y2llz2] {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--jscb-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    color: var(--jscb-text);
    font-size: 12px;
    line-height: 1.3;
    cursor: default;
    /* Ajustada a la ventana visible (R24): con max-height en línea, el contenido se desplaza. */
    overflow: auto;
    overscroll-behavior: contain;
}

.jscb-order-card.is-tentative[b-1we1y2llz2] {
    border-style: dashed;
    border-color: var(--jscb-border-strong);
}

/* ─── Cabecera ──────────────────────────────────────────────────────────── */
.jscb-card-head[b-1we1y2llz2] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jscb-card-photo[b-1we1y2llz2] {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--jscb-bg-soft);
}

.jscb-card-identity[b-1we1y2llz2] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jscb-card-title[b-1we1y2llz2] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
}

.jscb-card-model[b-1we1y2llz2] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text-muted);
}

.jscb-card-plate[b-1we1y2llz2] {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--jscb-text);
}

.jscb-card-order[b-1we1y2llz2] {
    flex: 0 0 auto;
    color: var(--jscb-text-muted);
}

.jscb-card-sep[b-1we1y2llz2] {
    color: var(--jscb-text-faint);
}

.jscb-card-badges[b-1we1y2llz2] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jscb-card-badge[b-1we1y2llz2] {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 14px;
}

.jscb-card-badge.is-firm[b-1we1y2llz2] {
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.jscb-card-badge.is-tentative[b-1we1y2llz2] {
    background: var(--jscb-bg-alt);
    border-style: dotted;
    border-color: var(--jscb-text-faint);
    color: var(--jscb-text-muted);
}

/* En ejecución sin programar: ámbar suave (pendiente de atención), con el texto legible. La
   segunda parte va en minúsculas y sin el espaciado de versalitas: «EN EJECUCIÓN · sin programar». */
.jscb-card-badge.is-unplanned[b-1we1y2llz2] {
    background: var(--jscb-warn-bg);
    border-color: var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

/* Terminada: gris neutro, es historia. */
.jscb-card-badge.is-done[b-1we1y2llz2] {
    background: var(--jscb-bg-soft);
    border-color: var(--jscb-border-strong);
    color: var(--jscb-text-muted);
}

.jscb-card-badge-sub[b-1we1y2llz2] {
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.jscb-card-state[b-1we1y2llz2] {
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-card-state.is-in-progress[b-1we1y2llz2] {
    font-weight: 600;
    color: var(--jscb-text);
}

.jscb-card-meta[b-1we1y2llz2] {
    font-size: 11px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-card-close[b-1we1y2llz2] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-card-close svg[b-1we1y2llz2] {
    width: 16px;
    height: 16px;
}

.jscb-card-close:hover:not(:disabled)[b-1we1y2llz2] {
    background: var(--jscb-bg-soft);
    color: var(--jscb-text);
}

.jscb-card-close:disabled[b-1we1y2llz2] {
    opacity: 0.5;
    cursor: default;
}

/* ─── Fechas ────────────────────────────────────────────────────────────── */
/* Entre tres y cinco fechas según lo que la cadena tenga: se reparten el ancho. */
.jscb-card-dates[b-1we1y2llz2] {
    display: grid;
    /* Cinco datos en dos filas si hace falta, nunca palabras partidas (revisión UX). */
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px 12px;
    margin: 0;
    padding: 8px 0;
    border-top: 1px solid var(--jscb-border);
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-card-date[b-1we1y2llz2] {
    min-width: 0;
}

.jscb-card-date dt[b-1we1y2llz2] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jscb-text-faint);
}

.jscb-card-date dd[b-1we1y2llz2] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--jscb-text);
    overflow-wrap: normal;
}

.jscb-card-muted[b-1we1y2llz2] {
    color: var(--jscb-text-muted);
}

.jscb-card-continues[b-1we1y2llz2] {
    display: block;
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-card-promise.is-risk[b-1we1y2llz2] {
    color: var(--jscb-danger-text);
    font-weight: 600;
}

/* Bandera «en riesgo» (R20): píldora roja suave bajo la fecha. */
.jscb-card-flag[b-1we1y2llz2] {
    display: inline-block;
    margin-top: 2px;
    padding: 1px 6px;
    border-radius: 9999px;
    background: var(--jscb-danger-soft);
    color: var(--jscb-danger-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
}

/* ─── Cadena ────────────────────────────────────────────────────────────── */
/* La tabla toma el ancho natural de sus columnas (las fechas van en una línea, sin recortar); si
   supera el de la ficha se desplaza dentro de este contenedor en vez de truncarse. */
.jscb-card-table[b-1we1y2llz2] {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.jscb-card-chain[b-1we1y2llz2] {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 11px;
}

.jscb-card-chain th[b-1we1y2llz2],
.jscb-card-chain td[b-1we1y2llz2] {
    padding: 4px 4px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.jscb-card-chain th[b-1we1y2llz2] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jscb-text-faint);
    border-bottom: 1px solid var(--jscb-border);
}

/* El ejecutor es la única columna que se recorta: mínimo 110 px y puntos suspensivos; el nombre
   del proceso también cede antes que las fechas. */
.jscb-card-chain .col-executor[b-1we1y2llz2] {
    min-width: 110px;
}

.jscb-card-chain .col-executor .jscb-card-executor[b-1we1y2llz2] {
    display: block;
    min-width: 102px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* «Cambiar ejecutor» (acciones en vivo): desplegable discreto con el mismo recorte que el nombre;
   al pasar el ratón se ve como control para que se sepa que se puede cambiar. */
.jscb-card-chain .col-executor .jscb-card-executor-select[b-1we1y2llz2] {
    display: block;
    min-width: 102px;
    max-width: 150px;
    height: 22px;
    padding: 0 18px 0 6px;
    margin-left: -4px;
    /* Se ve como control (revisión UX): borde y chevron siempre, no solo al pasar. */
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--jscb-text-faint) 50%), linear-gradient(135deg, var(--jscb-text-faint) 50%, transparent 50%);
    background-position: calc(100% - 10px) 9px, calc(100% - 6px) 9px;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}

.jscb-card-chain .col-executor .jscb-card-executor-select:hover[b-1we1y2llz2],
.jscb-card-chain .col-executor .jscb-card-executor-select:focus-visible[b-1we1y2llz2] {
    border-color: var(--jscb-border-strong);
    background-color: var(--jscb-bg);
    outline: none;
}

.jscb-card-chain .col-executor .jscb-card-executor-select:disabled[b-1we1y2llz2] {
    cursor: default;
    opacity: 0.6;
}

/* D502: «Editar tiempo» of the step (its cushion is the gray tail of its bar), under «Cambiar ejecutor», and the hours set by hand. */
.jscb-card-chain .col-executor .jscb-card-time-btn[b-1we1y2llz2] {
    display: block;
    max-width: 190px;
    height: 22px;
    margin: 3px 0 0 -4px;
    padding: 0 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-card-chain .col-executor .jscb-card-time-btn:focus-visible[b-1we1y2llz2] {
    outline: 2px solid var(--jscb-border-strong);
    outline-offset: 1px;
}

.jscb-card-chain .col-executor .jscb-card-time-btn:disabled[b-1we1y2llz2] {
    cursor: default;
    opacity: 0.6;
}

.jscb-card-chain .col-executor .jscb-card-hand-time[b-1we1y2llz2] {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--jscb-text-faint);
}

.jscb-card-cell[b-1we1y2llz2] {
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text);
}

/* Totales por columna. */
.jscb-card-totals td[b-1we1y2llz2] {
    padding-top: 6px;
    border-top: 1px solid var(--jscb-border);
    font-weight: 600;
    color: var(--jscb-text);
}

/* Fichado: la celda es un botón que despliega los intervalos; solo el clic viaja al servidor. */
.jscb-card-expand[b-1we1y2llz2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    height: 20px;
    padding: 0 4px 0 2px;
    margin: 0 -2px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-card-expand > span[b-1we1y2llz2] {
    white-space: nowrap;
}

.jscb-card-expand svg[b-1we1y2llz2] {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    color: var(--jscb-text-muted);
    transition: transform 0.2s ease;
}

.jscb-card-expand[aria-expanded="true"] svg[b-1we1y2llz2] {
    transform: rotate(180deg);
}

.jscb-card-expand:hover[b-1we1y2llz2] {
    background: var(--jscb-bg-soft);
    border-color: var(--jscb-border);
}

.jscb-card-expand:focus-visible[b-1we1y2llz2] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Intervalos desplegados bajo la fila del proceso: inicio → fin · horas · quién · motivo. */
.jscb-card-intervals td[b-1we1y2llz2] {
    padding: 0 4px 6px 4px;
    white-space: normal;
}

.jscb-card-interval-list[b-1we1y2llz2] {
    list-style: none;
    margin: 0;
    padding: 4px 0 0 16px;
    border-left: 2px solid var(--jscb-border);
    font-size: 11px;
}

.jscb-card-interval-list li[b-1we1y2llz2] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding: 2px 0;
    color: var(--jscb-text);
}

.jscb-card-interval-when[b-1we1y2llz2] {
    font-variant-numeric: tabular-nums;
}

.jscb-card-interval-hours[b-1we1y2llz2] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.jscb-card-interval-who[b-1we1y2llz2] {
    color: var(--jscb-text-muted);
}

.jscb-card-interval-reason[b-1we1y2llz2] {
    color: var(--jscb-warn-text);
}

.jscb-card-interval-list li.is-open .jscb-card-interval-reason[b-1we1y2llz2] {
    color: var(--jscb-text);
    font-weight: 600;
}

.jscb-card-row td[b-1we1y2llz2] {
    border-bottom: 1px solid var(--jscb-bg-soft);
}

.jscb-card-row:last-child td[b-1we1y2llz2] {
    border-bottom: 0;
}

/* Hecho es historia (R11): la fila baja de tono. */
.jscb-card-row.is-done td[b-1we1y2llz2] {
    color: var(--jscb-text-muted);
}

.jscb-card-row.is-in-progress .jscb-card-cell[b-1we1y2llz2] {
    font-weight: 600;
}

/* Estadía vieja sin cierre: la celda de bandeja avisa en ámbar, la fila no baja de tono. */
.jscb-card-row.is-unclosed .jscb-card-cell[b-1we1y2llz2] {
    color: var(--jscb-warn-text);
}

/* Dentro de la celda (no sobre el td, que dejaría de ser celda de tabla). */
.jscb-card-process[b-1we1y2llz2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    vertical-align: middle;
}

.jscb-card-swatch[b-1we1y2llz2] {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--chip-color);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.jscb-card-process-name[b-1we1y2llz2] {
    min-width: 0;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ejecutor «sin asignar» se ve (R25): borde punteado gris. */
.jscb-card-unassigned[b-1we1y2llz2] {
    display: inline-block;
    max-width: 100%;
    padding: 0 6px;
    border: 1px dashed var(--jscb-text-faint);
    border-radius: 4px;
    color: var(--jscb-text-muted);
    line-height: 16px;
}

/* ─── Error y pie ───────────────────────────────────────────────────────── */
.jscb-card-error[b-1we1y2llz2] {
    padding: 6px 8px;
    border: 1px solid var(--jscb-error-border);
    border-radius: 8px;
    background: var(--jscb-error-bg);
    color: var(--jscb-error-text);
    font-size: 11px;
}

.jscb-card-foot[b-1we1y2llz2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-card-total[b-1we1y2llz2] {
    font-weight: 600;
    color: var(--jscb-text);
}

.jscb-card-actions[b-1we1y2llz2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.jscb-card-actions .jscb-card-btn[b-1we1y2llz2] {
    white-space: nowrap;
}

/* ─── Pines (Motor 2b): botón de banderín junto al dueño y en cada fila de proceso ────────── */
.jscb-card-owner[b-1we1y2llz2] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.jscb-card-pin[b-1we1y2llz2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 7px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    background: var(--jscb-bg);
    color: var(--jscb-text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
}

.jscb-card-pin svg[b-1we1y2llz2] {
    width: 11px;
    height: 11px;
}

.jscb-card-pin:hover:not(:disabled)[b-1we1y2llz2] {
    border-color: var(--jscb-ink);
    color: var(--jscb-ink);
}

/* Fijado (D75): encendido en el amarillo suave de la selección, con texto azul marino. */
.jscb-card-pin.is-on[b-1we1y2llz2],
.jscb-card-pin.is-on:hover:not(:disabled)[b-1we1y2llz2] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-card-pin.is-small[b-1we1y2llz2] {
    height: 18px;
    padding: 0 4px;
}

.jscb-card-pin:disabled[b-1we1y2llz2] {
    opacity: 0.45;
    cursor: default;
}

.jscb-card-pin:focus-visible[b-1we1y2llz2] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-card-pins[b-1we1y2llz2] {
    display: inline-flex;
    gap: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.jscb-card-btn[b-1we1y2llz2] {
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 12px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jscb-card-btn.is-primary[b-1we1y2llz2] {
    background: var(--jscb-accent);
    border-color: var(--jscb-accent);
    color: #ffffff;
}

.jscb-card-btn.is-primary:hover:not(:disabled)[b-1we1y2llz2] {
    background: #eb5bb6;
    border-color: #eb5bb6;
}

.jscb-card-btn.is-danger[b-1we1y2llz2] {
    background: var(--jscb-danger-soft);
    border-color: var(--jscb-error-border);
    color: var(--jscb-error-text);
}

.jscb-card-btn.is-danger:hover:not(:disabled)[b-1we1y2llz2] {
    background: var(--jscb-error-bg);
}

/* Acción destructiva discreta (revisión UX): texto rojo sin fondo; el peso lo lleva la primaria. */
.jscb-card-btn.is-quiet-danger[b-1we1y2llz2] {
    padding: 0 6px;
    border-color: transparent;
    background: transparent;
    color: var(--st-danger-text);
    font-weight: 500;
}

.jscb-card-btn.is-quiet-danger:hover:not(:disabled)[b-1we1y2llz2] {
    background: var(--jscb-danger-soft);
}

/* Enlace: navega, no actúa sobre el plan. */
.jscb-card-btn.is-link[b-1we1y2llz2] {
    padding: 0 6px;
    border-color: transparent;
    background: transparent;
    color: var(--st-info-fg);
}

.jscb-card-btn.is-link:hover:not(:disabled)[b-1we1y2llz2] {
    text-decoration: underline;
}

/* «Ver detalle»: Real y Fichajes plegados bajo la tabla. */
.jscb-card-detail-toggle[b-1we1y2llz2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-top: -4px;
    padding: 2px 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--st-info-fg);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-card-detail-toggle svg[b-1we1y2llz2] {
    width: 12px;
    height: 12px;
}

.jscb-card-detail-toggle:hover[b-1we1y2llz2] {
    background: var(--jscb-bg-soft);
}

.jscb-card-detail-toggle:focus-visible[b-1we1y2llz2] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-card-btn:disabled[b-1we1y2llz2] {
    opacity: 0.55;
    cursor: default;
}

/* Ayuda al pie de una cadena sin plan: qué hacer para que deje de estarlo. */
.jscb-card-hint[b-1we1y2llz2] {
    margin-top: -4px;
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-card-btn:focus-visible[b-1we1y2llz2],
.jscb-card-close:focus-visible[b-1we1y2llz2] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .jscb-card-btn[b-1we1y2llz2],
    .jscb-card-close[b-1we1y2llz2],
    .jscb-card-expand[b-1we1y2llz2],
    .jscb-card-expand svg[b-1we1y2llz2] {
        transition: none;
    }
}

/* ─── Imprevistos de la OT (R14, R28) ───────────────────────────────────── */
.jscb-card-impediment[b-1we1y2llz2] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 0 2px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.35;
}

.jscb-card-impediment.is-stopped[b-1we1y2llz2] {
    background: var(--jscb-error-bg);
    border-color: var(--jscb-error-border);
    color: var(--jscb-error-text);
}

.jscb-card-impediment.is-concurrent[b-1we1y2llz2] {
    background: var(--jscb-warn-bg);
    border-color: var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

.jscb-card-impediment-kind[b-1we1y2llz2] {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 9999px;
    background: var(--st-surface);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 14px;
}

.jscb-card-impediment-text[b-1we1y2llz2] {
    min-width: 0;
}

.jscb-card-impediment-due.is-overdue[b-1we1y2llz2] {
    font-weight: 700;
}

/* ─── Pronóstico (D48, F5) ──────────────────────────────────────────────── */
/* Cuatro cifras arriba (Q1–Q4); el atraso manda el tono: rojo tarde, ámbar justa, neutro a tiempo. */
.jscb-card-forecast[b-1we1y2llz2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--jscb-border);
    border-left-width: 4px;
    border-radius: 8px;
    background: var(--jscb-bg-soft);
}

.jscb-card-forecast.is-late[b-1we1y2llz2],
.jscb-card-forecast.is-stopped[b-1we1y2llz2] {
    border-left-color: var(--jscb-danger);
}

.jscb-card-forecast.is-tight[b-1we1y2llz2] {
    border-left-color: var(--jscb-warn);
}

.jscb-card-figures[b-1we1y2llz2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 10px;
    margin: 0;
}

.jscb-card-figures dt[b-1we1y2llz2] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--jscb-text-muted);
}

.jscb-card-figures dd[b-1we1y2llz2] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--jscb-text);
    white-space: nowrap;
}

.jscb-card-forecast.is-late .is-slack dd[b-1we1y2llz2],
.jscb-card-forecast.is-stopped .is-slack dd[b-1we1y2llz2] {
    color: var(--jscb-danger-text);
}

.jscb-card-forecast.is-tight .is-slack dd[b-1we1y2llz2] {
    color: var(--jscb-warn);
}

.jscb-card-cause[b-1we1y2llz2],
.jscb-card-recover[b-1we1y2llz2],
.jscb-card-basis[b-1we1y2llz2] {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--jscb-text);
}

.jscb-card-basis[b-1we1y2llz2] {
    color: var(--jscb-text-muted);
    font-size: 11px;
}

/* «Por qué» (F5): barra cuyas partes miden lo que aporta cada causa. */
.jscb-card-why[b-1we1y2llz2] {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    gap: 1px;
    background: var(--jscb-border);
}

.jscb-card-why-legend[b-1we1y2llz2] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-card-why-dot[b-1we1y2llz2] {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-radius: 2px;
    vertical-align: -1px;
}

.jscb-card-why-part.is-resourcewait[b-1we1y2llz2], .jscb-card-why-dot.is-resourcewait[b-1we1y2llz2] { background: #6366f1; }
.jscb-card-why-part.is-overdueunstarted[b-1we1y2llz2], .jscb-card-why-dot.is-overdueunstarted[b-1we1y2llz2] { background: var(--jscb-warn); }
.jscb-card-why-part.is-overrun[b-1we1y2llz2], .jscb-card-why-dot.is-overrun[b-1we1y2llz2] { background: var(--jscb-overload-line); }
.jscb-card-why-part.is-latestart[b-1we1y2llz2], .jscb-card-why-dot.is-latestart[b-1we1y2llz2] { background: #eab308; }
.jscb-card-why-part.is-unplanned[b-1we1y2llz2], .jscb-card-why-dot.is-unplanned[b-1we1y2llz2] { background: var(--st-text-muted); }
.jscb-card-why-part.is-planlate[b-1we1y2llz2], .jscb-card-why-dot.is-planlate[b-1we1y2llz2] { background: var(--st-text-secondary); }
.jscb-card-why-part.is-stopped[b-1we1y2llz2], .jscb-card-why-dot.is-stopped[b-1we1y2llz2] { background: var(--jscb-danger); }

.jscb-card-step-forecast[b-1we1y2llz2] {
    display: block;
    margin-top: 1px;
    font-size: 11px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

.jscb-card-step-forecast.is-over[b-1we1y2llz2] {
    color: var(--jscb-warn);
}

/* ─── Dentro de la ficha de la OT (D117) ────────────────────────────────── */
/* La pestaña «Plan» de la ficha pone la tarjeta blanca y el aire; aquí la ficha del plan solo fluye. */
.jscb-order-card.is-embedded[b-1we1y2llz2] {
    position: static;
    z-index: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

/* D379 (CT-04): the published plan of the process, green when the draft keeps it, amber when it changed it. */
.jscb-card-published[b-1we1y2llz2] {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
}

.jscb-card-published.is-same[b-1we1y2llz2] {
    color: var(--jscb-ok, #2e9e6b);
}

.jscb-card-published.is-changed[b-1we1y2llz2] {
    color: var(--jscb-warn, #c98a12);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOrderPlanReader.razor.rz.scp.css */
/* Plan de la OT en solo lectura (D117): mientras lee, si falla o si la OT no tiene plan, una línea; con plan, la
   ficha del plan del JSCB y la nota de que se planea allí. */
.jscb-plan-reader-state[b-h07aeziafj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    color: var(--jscb-text-muted);
    font-family: var(--jscb-font);
    font-size: 12.5px;
    text-align: center;
}

.jscb-plan-reader-state.is-error[b-h07aeziafj] {
    color: var(--jscb-error-text);
}

.jscb-plan-reader-retry[b-h07aeziafj] {
    padding: 5px 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-plan-reader-note[b-h07aeziafj] {
    margin: 10px 0 0;
    color: var(--jscb-text-faint);
    font-family: var(--jscb-font);
    font-size: 11.5px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOrderRunBox.razor.rz.scp.css */
/* How a box came out for the order (D617), in its detail. */
.rb[b-6a7qhao4ua] {
    margin: 10px 0 0;
    padding: 9px 11px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-fill-1);
}

.rb.is-met[b-6a7qhao4ua] { border-color: var(--st-success-border); background: var(--st-success-bg); }
.rb.is-delayed[b-6a7qhao4ua] { border-color: var(--st-info-border); background: var(--st-info-bg); }
.rb.is-warned[b-6a7qhao4ua] { border-color: var(--st-warning-border); background: var(--st-warning-bg); }
.rb.is-decided[b-6a7qhao4ua] { border-color: var(--st-accent-border, var(--st-border-strong)); background: var(--st-accent-bg); }
.rb.is-stopped[b-6a7qhao4ua] { border-color: var(--st-danger-border); background: var(--st-danger-bg); }

.rb-head[b-6a7qhao4ua] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--st-text-strong);
}

.rb-kicker[b-6a7qhao4ua] {
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rb-none[b-6a7qhao4ua] {
    margin: 4px 0 0;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.rb-events[b-6a7qhao4ua] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.rb-events li[b-6a7qhao4ua] {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.rb-events div[b-6a7qhao4ua] {
    min-width: 0;
}

.rb-events b[b-6a7qhao4ua] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rb-events p[b-6a7qhao4ua] {
    margin: 0;
}

.rb-events small[b-6a7qhao4ua] {
    display: block;
    margin-top: 2px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.rb-events .rb-skip[b-6a7qhao4ua] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rb-link[b-6a7qhao4ua] {
    padding: 0;
    border: none;
    background: none;
    color: var(--st-text-brand, var(--st-accent-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.rb-link:hover[b-6a7qhao4ua] {
    text-decoration: underline;
}

.rb-link:focus-visible[b-6a7qhao4ua] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOrderRunPanel.razor.rz.scp.css */
/* «Explícame esta OT» (D617), in the detail of the diagram, over its summary. No letter under 11 px, text at 4.5:1 (JscbEngineGuideStyleTests). */
.rp[b-cnxi9aabwv] {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--st-border);
}

.rp-kicker[b-cnxi9aabwv] {
    color: var(--st-gold-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rp h3[b-cnxi9aabwv] {
    margin: 2px 0 0;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

.rp h4[b-cnxi9aabwv] {
    margin: 14px 0 6px;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rp-by[b-cnxi9aabwv],
.rp-note[b-cnxi9aabwv],
.rp-none[b-cnxi9aabwv],
.rp-error[b-cnxi9aabwv] {
    margin: 6px 0 0;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.rp-verdict[b-cnxi9aabwv] {
    margin: 6px 0 0;
    color: var(--st-text-strong);
    font-size: 12.5px;
    font-weight: 600;
}

.rp-note[b-cnxi9aabwv] {
    padding: 6px 9px;
    border-left: 3px solid #dea301;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.rp-error[b-cnxi9aabwv] {
    color: var(--st-danger-text);
}

.rp-list[b-cnxi9aabwv],
.rp-lines[b-cnxi9aabwv],
.rp-ways[b-cnxi9aabwv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rp-hold[b-cnxi9aabwv] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 9px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.rp-hold:hover[b-cnxi9aabwv] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-1);
}

.rp-hold.is-stopped[b-cnxi9aabwv] { border-color: var(--st-danger-border); background: var(--st-danger-bg); }
.rp-hold.is-warned[b-cnxi9aabwv] { border-color: var(--st-warning-border); background: var(--st-warning-bg); }
.rp-hold.is-delayed[b-cnxi9aabwv] { border-color: var(--st-info-border); background: var(--st-info-bg); }

.rp-hold-text[b-cnxi9aabwv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rp-hold-text b[b-cnxi9aabwv],
.rp-lines b[b-cnxi9aabwv],
.rp-ways b[b-cnxi9aabwv],
.rp-tries b[b-cnxi9aabwv] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rp-hold-text small[b-cnxi9aabwv],
.rp-tries ol[b-cnxi9aabwv] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.rp-hold-text .rp-skip[b-cnxi9aabwv] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rp-lines li[b-cnxi9aabwv] {
    color: var(--st-text-body);
    font-size: 12.5px;
}

.rp-link[b-cnxi9aabwv] {
    padding: 0;
    border: none;
    background: none;
    color: var(--st-text-brand, var(--st-accent-text));
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.rp-link:hover[b-cnxi9aabwv] {
    text-decoration: underline;
}

.rp-ask[b-cnxi9aabwv] {
    margin-top: 8px;
    padding: 7px 12px;
    border: 1px solid #dea301;
    border-radius: 9px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rp-tries[b-cnxi9aabwv] {
    margin-top: 12px;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.rp-tries summary[b-cnxi9aabwv] {
    color: var(--st-text-strong);
    font-weight: 600;
    cursor: pointer;
}

.rp-tries ol[b-cnxi9aabwv] {
    margin: 6px 0 0;
    padding-left: 22px;
}

.rp-tries li + li[b-cnxi9aabwv] {
    margin-top: 4px;
}

.rp-ways > li[b-cnxi9aabwv] {
    padding: 7px 10px;
    border: 1px solid var(--st-border);
    border-radius: 9px;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.rp-ways > li.is-shown[b-cnxi9aabwv] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.rp-ways p[b-cnxi9aabwv],
.rp-ways ul[b-cnxi9aabwv] {
    margin: 3px 0 0;
}

.rp-ways ul[b-cnxi9aabwv] {
    padding-left: 18px;
}

.rp-outcome[b-cnxi9aabwv] {
    margin-left: 6px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.rp-legend[b-cnxi9aabwv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 14px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.rp-legend-item[b-cnxi9aabwv] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rp-hold:focus-visible[b-cnxi9aabwv],
.rp-link:focus-visible[b-cnxi9aabwv],
.rp-ask:focus-visible[b-cnxi9aabwv],
.rp-tries summary:focus-visible[b-cnxi9aabwv] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbOwnerBand.razor.rz.scp.css */
/* Banda (D61, D67). JSCB: fila de ocupación de 58 px (la única si está recogida) y, abierta, una línea de
   58 px por carril de OT con la tarjeta y su lista de procesos. JPCB: una línea de 60 px por OT con
   «Plan» (la tarjeta del color de la OT) e «Inicio/Fin» (la barra de lo trabajado). */
/* Cada banda va en su propio bloque, bajo la cabecera de fechas (que ya lleva su borde): sin línea doble arriba. */
.jscb-stopped-point[b-iym3qvpngc] {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 16px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: var(--jscb-bg);
    color: var(--jscb-danger);
    cursor: pointer;
    pointer-events: auto;
}

.jscb-stopped-point svg[b-iym3qvpngc] { width: 12px; height: 12px; }
.jscb-stopped-point:focus-visible[b-iym3qvpngc] { outline: var(--jscb-focus-ring); }

.jscb-band[b-iym3qvpngc] {
    border-top: 0;
}

/* Equipo recogido con el resumen oculto (en todo el tablero): solo su título y el chevrón, centrados en el renglón. */
.jscb-band.is-folded .jscb-band-person[b-iym3qvpngc] {
    justify-content: center;
}

.jscb-band.is-folded .jscb-band-top[b-iym3qvpngc] {
    align-items: center;
}

/* ─── Etiqueta fija ─────────────────────────────────────────────────────── */
/* El equipo (título · chevrón, la fila de fotos, la carga) con, a su derecha, la persona de cada línea de
   ocupación; o la bahía (cuadro · texto y la fila de quienes trabajan en ella) y, solo en JPCB (D67), la
   columna de leyendas que nombra las dos filas de cada línea de OT. */
.jscb-band-label[b-iym3qvpngc] {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: var(--jscb-bg);
}

.jscb-band-person[b-iym3qvpngc] {
    flex: 0 0 var(--jscb-person-label-width);
    width: var(--jscb-person-label-width);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 4px 4px 8px;
}

.jscb-band-legend[b-iym3qvpngc] {
    flex: 0 0 var(--jscb-legend-width);
    width: var(--jscb-legend-width);
    border-left: 1px solid var(--jscb-border);
    display: flex;
    flex-direction: column;
}

.jscb-legend-summary[b-iym3qvpngc] {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--jscb-border-strong);
}

.jscb-legend-lane[b-iym3qvpngc] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--jscb-border);
}

.jscb-legend-lane:last-child[b-iym3qvpngc] {
    border-bottom: 0;
}

.jscb-legend-plan[b-iym3qvpngc],
.jscb-legend-record[b-iym3qvpngc] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jscb-legend-plan[b-iym3qvpngc] {
    flex: 0 0 auto;
    border-bottom: 1px dashed var(--jscb-border);
}

.jscb-legend-record[b-iym3qvpngc] {
    flex: 1 1 auto;
}

/* Resumen de la bahía: «Ocupación» en el renglón de su carga («16 personas»), arriba, no al centro del alto de la fila. */
.jscb-legend-lane.is-summary .jscb-legend-record[b-iym3qvpngc] {
    align-items: flex-start;
    padding-top: 4px;
    line-height: 14px;
}

.jscb-band-top[b-iym3qvpngc] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.jscb-band-top .jscb-chevron[b-iym3qvpngc] {
    margin-left: auto;
}

/* Equipo: el título y el chevrón en un renglón de 20 px, para que quepan las fotos, la carga y «Libre desde». */
.jscb-band-label.is-team .jscb-band-top[b-iym3qvpngc] {
    align-items: center;
}

.jscb-band-label.is-team .jscb-chevron[b-iym3qvpngc] {
    height: 20px;
    margin-top: 0;
}

/* Abierta = mismo fondo claro que cerrada; la distinción la dan el chevrón y el contenido. */
.jscb-band.is-open .jscb-band-label[b-iym3qvpngc] {
    background: var(--jscb-bg);
}

.jscb-chevron[b-iym3qvpngc] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 4px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-chevron svg[b-iym3qvpngc] {
    width: 16px;
    height: 16px;
}

.jscb-chevron:hover[b-iym3qvpngc] {
    background: var(--jscb-bg-soft);
    color: var(--jscb-text);
}

.jscb-chevron:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Bahía (eje alterno): cuadro con el color de configuración y el número de bahía. */
.jscb-band-bay-mark[b-iym3qvpngc] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.35);
}

.jscb-band-load.is-over[b-iym3qvpngc] {
    color: var(--jscb-overload);
}

.jscb-band-text[b-iym3qvpngc] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jscb-band-name[b-iym3qvpngc] {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text);
}

.jscb-band-load[b-iym3qvpngc] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text);
}

.jscb-band-tent[b-iym3qvpngc] {
    color: var(--jscb-text-muted);
}

/* Estado en vivo (R35): punto de color junto al nombre en toda escala; línea de texto solo en Día.
   Verde = fichando, rojo = retraso, ámbar = sin iniciar, azul = en pausa, gris = libre / fuera de turno. */
.jscb-live-dot[b-iym3qvpngc] {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--jscb-text-faint);
    vertical-align: 1px;
}

.jscb-live-dot.is-working[b-iym3qvpngc] { background: #16a34a; }
/* Sobretiempo (D50) y fichaje sin cerrar (D44) son atención, no incumplimiento: ámbar (D45). */
.jscb-live-dot.is-delayed[b-iym3qvpngc],
.jscb-live-dot.is-unclosed[b-iym3qvpngc] { background: #d97706; box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2); }
.jscb-live-dot.is-not-started[b-iym3qvpngc] { background: #d97706; box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2); }
.jscb-live-dot.is-paused[b-iym3qvpngc] { background: #2563eb; }
.jscb-live-dot.is-off[b-iym3qvpngc] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--jscb-text-faint); }

.jscb-band-live[b-iym3qvpngc] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text-muted);
}

.jscb-band-live.is-working[b-iym3qvpngc] { color: var(--st-success-fg); font-weight: 600; }
.jscb-band-live.is-delayed[b-iym3qvpngc],
.jscb-band-live.is-unclosed[b-iym3qvpngc] { color: var(--st-warning-fg); font-weight: 600; }
.jscb-band-live.is-not-started[b-iym3qvpngc] { color: var(--st-warning-fg); font-weight: 600; }
.jscb-band-live.is-paused[b-iym3qvpngc] { color: var(--st-info-fg); }

/* Ejecutores que participan en las OT de la banda (revisión UX, D34): fotos redondas de 22 px
   (~80 % de la del dueño) en fila propia, solo con la banda abierta (D61). Cada foto es un botón:
   nombre al pasar, tarjeta al hacer clic. La fila propia se separa del medidor (D35). */
.jscb-band-crew[b-iym3qvpngc] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
}

/* Fila propia bajo el nombre de la bahía: arranca en el borde izquierdo de la etiqueta. */
.jscb-band-crew.is-below[b-iym3qvpngc] {
    align-self: flex-start;
    margin: 4px 0 0;
}

/* Equipo: todos, el latonero también y del mismo tamaño, en su renglón bajo el título; aire entre fotos para que
   se lea el aro azul (D135: 10 px, el TeamCrewGapPx de JscbBoardMetrics). */
.jscb-band-crew.is-team[b-iym3qvpngc] {
    align-self: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    max-width: calc(100% - 2px);
    margin: 7px 0 7px 2px;
}

/* Equipo: una sección por grupo de proceso (o proceso, sin grupo), en el orden de la ruta. La franja lleva solo un tinte
   suave del color del grupo (sin barra de color fuerte); abajo, las fotos de quienes tienen tareas en él. Las medidas
   (franja de 20 px, 5 px hasta las fotos, 8 px entre secciones) son TeamSection* de JscbBoardMetrics: fijan el alto de la banda. */
.jscb-crew-sections[b-iym3qvpngc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
    min-width: 0;
}

/* El aire de arriba y de abajo (TeamCrewInsetPx) es el del bloque de fotos, no de la etiqueta: el mismo sobre la primera franja
   y bajo las últimas fotos. */
.jscb-band-label.is-team .jscb-band-person[b-iym3qvpngc] {
    padding-top: 0;
    padding-bottom: 0;
}

.jscb-crew-section[b-iym3qvpngc] {
    min-width: 0;
}

.jscb-crew-section-head[b-iym3qvpngc] {
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 20px;
    padding: 0 8px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--jscb-section-color) 16%, var(--jscb-bg));
    color: var(--jscb-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
}

.jscb-crew-section-name[b-iym3qvpngc] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jscb-crew-section-count[b-iym3qvpngc] {
    flex: none;
    font-weight: 400;
}

/* En bloque (no en línea): una caja en línea suma el espacio del renglón de texto bajo las fotos y el alto de la banda,
   que se calcula exacto (TeamCrewBlockPx), deja de coincidir con lo dibujado. */
.jscb-crew-section .jscb-band-crew.is-team[b-iym3qvpngc] {
    display: flex;
    margin: 5px 0 0 3px;
}

/* Equipo (D134): aire entre la carga, su medidor y «Libre desde», también con la banda de un solo carril. */
.jscb-band-label.is-team .jscb-band-text[b-iym3qvpngc],
.jscb-band.is-single .jscb-band-label.is-team .jscb-band-text[b-iym3qvpngc] {
    gap: 4px;
}

.jscb-crew-btn[b-iym3qvpngc] {
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Quien tiene trabajo en las OT del equipo sin ser integrante va en la sección de su proceso, al final, con un ＋ sobre la foto
   para agregarlo al equipo (D239). El ＋ va encima de la foto: no cambia el ancho del renglón. */
.jscb-crew-slot[b-iym3qvpngc] {
    position: relative;
    display: inline-flex;
}

.jscb-crew-add[b-iym3qvpngc] {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    padding: 0;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 9999px;
    background: var(--jscb-bg);
    color: var(--jscb-warn-text);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

.jscb-crew-add:hover[b-iym3qvpngc] {
    background: var(--jscb-warn-bg);
}

.jscb-crew-add:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* D292: la planeación de un paso de la sección está forzada a esta persona (AssignedProcess): un aro azul sobre su foto, también
   atenuada. El aire del color de la superficie lo separa de la foto. */
.jscb-crew-btn.is-forced[b-iym3qvpngc] {
    box-shadow: 0 0 0 1.5px var(--jscb-bg), 0 0 0 3px var(--jscb-info);
}

/* Sin trabajo (D233): en su proceso, pero atenuada; al pasar el ratón o abrir su tarjeta se ve entera. */
.jscb-crew-btn.is-idle .jscb-crew-photo[b-iym3qvpngc] {
    opacity: 0.4;
    filter: grayscale(0.35);
}

.jscb-crew-btn.is-idle:hover .jscb-crew-photo[b-iym3qvpngc],
.jscb-crew-btn.is-idle.is-open .jscb-crew-photo[b-iym3qvpngc],
.jscb-crew-btn.is-idle:focus-visible .jscb-crew-photo[b-iym3qvpngc] {
    opacity: 1;
    filter: none;
}

/* Con un proceso elegido en «Proceso»: quien lo trabaja se ve entero con un aro de su color; los demás, tenues (al pasar el ratón o abrir
   su tarjeta se ven enteros). El aro azul de «forzada» (D292), el del hover y el de la tarjeta abierta mandan sobre el del proceso. */
.jscb-crew-btn.is-process-on:not(.is-forced):not(:hover):not(.is-open)[b-iym3qvpngc] {
    box-shadow: 0 0 0 1.5px var(--jscb-bg), 0 0 0 3px var(--jscb-chosen-tint, var(--kodawari-selected));
}

.jscb-crew-btn.is-process-on .jscb-crew-photo[b-iym3qvpngc] {
    opacity: 1;
    filter: none;
}

.jscb-crew-btn.is-process-off .jscb-crew-photo[b-iym3qvpngc] {
    opacity: 0.3;
    filter: grayscale(0.85);
}

.jscb-crew-btn.is-process-off:hover .jscb-crew-photo[b-iym3qvpngc],
.jscb-crew-btn.is-process-off.is-open .jscb-crew-photo[b-iym3qvpngc],
.jscb-crew-btn.is-process-off:focus-visible .jscb-crew-photo[b-iym3qvpngc] {
    opacity: 1;
    filter: none;
}

.jscb-crew-btn:hover[b-iym3qvpngc],
.jscb-crew-btn.is-open[b-iym3qvpngc] {
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px var(--jscb-accent-soft), 0 0 0 3px var(--jscb-accent);
}

.jscb-crew-btn.is-open[b-iym3qvpngc],
.jscb-crew-btn.is-open:hover[b-iym3qvpngc] {
    box-shadow: 0 0 0 2px var(--kodawari-selected-soft), 0 0 0 3.5px var(--kodawari-selected);
}

.jscb-crew-btn:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-crew-photo[b-iym3qvpngc] {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg-soft);
    box-shadow: 0 0 0 1px var(--jscb-bg);
}

.jscb-crew-more[b-iym3qvpngc] {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--jscb-bg-row);
    color: var(--jscb-text-muted);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
}

/* Con la tarjeta de una persona abierta la etiqueta deja de recortar: la tarjeta flota sobre la
   grilla (el z-index por encima de las demás etiquetas lo pone la raíz, que manda en .jscb-row-label). */
.jscb-band-label.has-card[b-iym3qvpngc] {
    overflow: visible;
}

/* Medidor de carga (8 px, D35): gris; negro desde el 90 %; rojo si supera lo disponible. */
.jscb-meter[b-iym3qvpngc] {
    height: 8px;
    border-radius: 4px;
    background: var(--jscb-bg-row);
    overflow: hidden;
}

.jscb-meter-fill[b-iym3qvpngc] {
    height: 100%;
    border-radius: 4px;
    background: var(--jscb-text-faint);
    transition: width 0.2s ease;
}

.jscb-meter-fill.is-high[b-iym3qvpngc] {
    background: var(--jscb-ink);
}

.jscb-meter-fill.is-overload[b-iym3qvpngc] {
    background: var(--jscb-overload);
}

/* ─── Cuerpo ────────────────────────────────────────────────────────────── */
.jscb-band-body[b-iym3qvpngc] {
    height: 100%;
    overflow: hidden;
}

/* Fuera de jornada en gris liso (revisión UX 2026-09-20): sin rayas; una novedad con motivo va un
   tono más oscuro y conserva el tooltip. */
.jscb-unavailable[b-iym3qvpngc] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--jscb-bg-soft);
    pointer-events: none;
}

.jscb-unavailable.is-line[b-iym3qvpngc] {
    bottom: auto;
}

.jscb-unavailable.is-blocked[b-iym3qvpngc] {
    background: var(--jscb-bg-row);
    pointer-events: auto;
}

.jscb-lane-line[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid var(--jscb-border);
    pointer-events: none;
}

/* Líneas de OT del JSCB: en vez de una raya fina, cada una es una placa (borde + sombra) y entre una y otra queda un hueco de aire
   (el que ya había sobre y bajo la tarjeta) donde se ve la sombra. Las rayas siguen en el DOM (geometría y pruebas) pero sin pintar;
   la fuerte entre recursos (is-resource) se conserva. La placa es transparente: una sombra externa solo se dibuja fuera de su caja, así
   no tapa la no disponibilidad ni el fondo de la línea. */
.jscb-lane-line:not(.is-person):not(.is-summary):not(.is-resource):not(.is-split)[b-iym3qvpngc] {
    border-top-color: transparent;
}

.jscb-lane-plate[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    border: 1px solid var(--jscb-border-strong);
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22), 0 2px 4px -1px rgba(15, 23, 42, 0.14);
    pointer-events: none;
}

[data-st-theme="dark"] .jscb-lane-plate[b-iym3qvpngc] {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.45);
}

/* El aire entre placas lleva fondo propio: sobre la retícula de días (z 3, después en el DOM) para que no lo cruce, y con la sombra de la
   placa de arriba por dentro, porque tapa la que la placa proyecta hacia fuera. */
.jscb-lane-gap[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 4;
    background: var(--jscb-bg);
    box-shadow: inset 0 3px 3px -2px rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

[data-st-theme="dark"] .jscb-lane-gap[b-iym3qvpngc] {
    box-shadow: inset 0 3px 3px -2px rgba(0, 0, 0, 0.6);
}

/* Rótulo vertical «Latonería N» en el borde derecho de la columna fija; el contenido de la etiqueta deja ese ancho libre. Columna continua:
   cada rótulo ocupa la altura de su línea, plano, con su raya inferior (cae en el centro del hueco entre dos placas). */
.jscb-band-label.has-lane-tags .jscb-band-person[b-iym3qvpngc] {
    padding-right: 28px;
}

.jscb-lane-tags[b-iym3qvpngc] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 26px;
    pointer-events: none;
}

/* D540: «Por vehículo»: la columna de los carros, a la derecha de la del equipo; el rótulo de la línea queda a su izquierda. */
.jscb-band-label.has-vehicle-col .jscb-lane-tags[b-iym3qvpngc] {
    right: var(--jscb-vehicle-col-width);
}

.jscb-vehicle-col[b-iym3qvpngc] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--jscb-vehicle-col-width);
    border-left: 1px solid var(--jscb-border-strong);
}

/* Cada línea de capacidad cierra con la misma raya que su rótulo. */
.jscb-vehicle-span[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--jscb-border-strong);
    pointer-events: none;
}

/* La tarjeta de la columna no lleva barras debajo: llena el renglón como en el boceto de Johan (17-nov). Arriba, el círculo junto a la
   placa y la promesa («Prom:»), con el ⋮ en la esquina; abajo, la OT a todo el ancho desde el borde izquierdo, bajo el círculo. La
   columna mide 131 px (D542): la placa y la promesa son celdas propias de la grilla (la identidad se disuelve con display: contents) para
   que la promesa use también el ancho bajo el ⋮, que solo ocupa la altura de la placa. Placa y promesa van juntas como un bloque de dos
   líneas centrado con el círculo, y la OT se aparta un poco más de ese bloque que las dos líneas entre sí: en el renglón de 53 px queda
   el mismo aire arriba y abajo. En la grilla la tarjeta angosta suelta la OT primero y, a este ancho, las marcas VFT y «Cita» (consultas
   de contenedor de JscbVehicleCard); aquí la OT y las marcas son lo que se pidió ver. Selectores con un nivel más para ganarle a esas
   consultas. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 5px;
    row-gap: 2px;
    height: auto;
    margin-top: 0;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
}

/* El círculo del alto de las dos líneas de al lado, como en el boceto. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-glyph,
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-glyph svg {
    width: 20px;
    height: 20px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-id {
    display: contents;
}

/* A 131 px a la placa le quedan 72 px: una de letras anchas («WRM691») con su espaciado de siempre y la marca de detenida (⏸) pide
   unos 69, así que cabe entera con 5 px entre celdas y el ⋮ de 12 px de ancho. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-plate {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-width: 0;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-plate .jscb-vcard-mark {
    margin-right: 2px;
}

/* Bajo el ⋮ queda aire: la promesa llega hasta antes de sus puntos. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-promise {
    grid-column: 2 / -1;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    margin-right: 4px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-order {
    grid-column: 1 / -1;
    grid-row: 3;
    align-items: flex-start;
    margin: 4px 0 0;
    text-align: left;
}

/* La salida de reparación del plan (D338) ya se lee en las barras y en el título; aquí la promesa va sola para no recortarse. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-promise .jscb-vcard-plan {
    display: none;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-order .jscb-vcard-ot {
    display: block;
    font-size: 10.5px;
    line-height: 12px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-menu {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
    width: 12px;
}

/* «VFT» y «Cita» en la columna: con tres renglones, su propia celda a la derecha de la OT, que cede ese ancho (se recorta con puntos;
   el título la dice entera). Píldoras de ancho fijo para que la OT guarde justo el resto (has-marks-1, has-marks-2) y una celda de la
   misma altura que la línea de la OT, así una tarjeta con marcas no se corre frente a una sin ellas. Selectores con un nivel más para
   ganarle a las consultas de contenedor de JscbVehicleCard, que las sueltan a este ancho en la grilla. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-marks {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    align-self: center;
    gap: 3px;
    /* 3 + 14 - 1 = los 16 de la línea de la OT (4 de aire y 12 de alto). */
    margin: 3px 0 -1px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-marks .jscb-vcard-vft,
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-marks .jscb-vcard-appt {
    display: inline-flex;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 14px;
    padding: 0;
    font-size: 8px;
    letter-spacing: 0.02em;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.has-marks-1 .jscb-vcard-order {
    margin-right: 27px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.has-marks-2 .jscb-vcard-order {
    margin-right: 54px;
}

/* D560: el círculo de la columna es el nivel del siniestro, con la letra y el color del DCB (L leve en verde, M medio en ámbar, F fuerte
   en pizarra, E express en azul; sin nivel, gris con «–»). El fondo de la tarjeta sigue diciendo el estado, como siempre. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    background: var(--jscb-text-faint);
    opacity: 1;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-level.is-light { background: #22c55e; }
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-level.is-medium { background: #f59e0b; }
/* La pizarra del F no se distinguía del fondo oscuro de la tarjeta: un aro claro por dentro dibuja su borde sin cambiar su tamaño. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-level.is-heavy { background: #334155; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75); }
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-pill.is-level.is-express { background: #0ea5e9; }

/* D559/D560: el zoom cambia el alto del renglón y la tarjeta muestra lo que cabe. Dos renglones: placa y promesa, sin la OT (la grilla
   no guarda su fila vacía, que correría el bloque un píxel). Uno: el nivel (Ø16) y la placa en una línea, con el ⋮ a su altura. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-2 .jscb-vcard-head {
    grid-template-rows: auto auto;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-head {
    grid-template-rows: auto;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-pill,
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-menu {
    grid-row: 1;
    align-self: center;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-pill.is-level {
    width: 16px;
    height: 16px;
    font-size: 9.5px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-plate {
    align-self: center;
}

/* Las marcas al alejar. Dos renglones: a 131 px la promesa y una marca no caben junto al ⋮, así que las marcas van en lugar de la
   promesa, bajo la placa (la promesa sigue en el título y en el fondo de la tarjeta); su celda mide los 11 px de la promesa. Un renglón:
   solo cabe la placa; el título de la tarjeta dice las marcas. */
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-2.has-marks-1 .jscb-vcard-promise,
.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-2.has-marks-2 .jscb-vcard-promise {
    display: none;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-2 .jscb-vcard-marks {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    /* -1 + 14 - 2 = los 11 de la promesa. */
    margin: -1px 0 -2px;
}

.jscb-vehicle-col[b-iym3qvpngc]  .jscb-vcard.is-lines-1 .jscb-vcard-marks {
    display: none;
}

/* D560: al acercar (más de 100 %), la columna se ensancha en la proporción del zoom (197 px al 150 %) y el contenido de su tarjeta se
   dibuja así de grande: la tarjeta se arma igual que al 100 %, con la letra, el círculo y los espacios más grandes, para leer de lejos.
   Las marcas (VFT, «Cita») crecen con ella en su misma celda: la misma regla que al 100 %. */
.jscb-vehicle-col.is-zoomed[b-iym3qvpngc]  .jscb-vcard .jscb-vcard-head {
    zoom: var(--jscb-vcol-zoom);
}

.jscb-lane-tag[b-iym3qvpngc] {
    position: absolute;
    right: 0;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 2px 0;
    overflow: hidden;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--jscb-text-muted);
    background: var(--jscb-bg-soft);
    border-left: 1px solid var(--jscb-border-strong);
    border-bottom: 1px solid var(--jscb-border-strong);
    border-radius: 0;
    gap: 3px;
    container-type: size;
}

/* D608, D609: «Latonería 4», «Pintor 12»: donde la placa es corta se corta la palabra, nunca el número (el nombre entero lo dice al pasar el
   ratón). El alto de línea deja sitio a los trazos que el recorte se llevaría. */
.jscb-lane-trade[b-iym3qvpngc],
.jscb-lane-number[b-iym3qvpngc] {
    font-size: clamp(9px, 14.5cqh, 10px);
    line-height: 1.4;
    letter-spacing: 0;
}

.jscb-lane-trade[b-iym3qvpngc] {
    flex: 0 1 auto;
    min-inline-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-lane-number[b-iym3qvpngc] {
    flex: none;
}

/* Con un proceso elegido en «Proceso», el rótulo de cada línea toma su color: un tinte suave de fondo (mezclado con la superficie, así el texto se
   lee en claro y en oscuro), el borde y una franja de 3 px del color entero. Sin elegir, el rótulo de siempre. */
.jscb-lane-tags.is-tinted .jscb-lane-tag[b-iym3qvpngc] {
    color: var(--jscb-text);
    background: color-mix(in srgb, var(--jscb-chosen-tint) 22%, var(--jscb-bg));
    border-left-color: color-mix(in srgb, var(--jscb-chosen-tint) 70%, var(--jscb-border-strong));
    box-shadow: inset 3px 0 0 var(--jscb-chosen-tint);
}

/* D569: con un proceso elegido cada línea es de un técnico (su nombre); «Sin técnico» y «Otras OT» van atenuadas y en cursiva, y la línea
   del aviso (nadie hace el proceso) en el ámbar de las advertencias. */
.jscb-lane-tags .jscb-lane-tag.is-rest[b-iym3qvpngc] {
    color: var(--jscb-text-muted);
    font-style: italic;
    font-weight: 500;
    background: var(--jscb-bg-soft);
    box-shadow: none;
}

.jscb-lane-tags .jscb-lane-tag.is-none[b-iym3qvpngc] {
    color: var(--jscb-warn-text);
    background: var(--jscb-warn-bg);
    border-left-color: var(--jscb-warn-border);
    box-shadow: none;
}

/* El aviso de un equipo sin técnicos del proceso: a lo ancho de su primera línea, con el texto fijo a la izquierda al desplazar. */
.jscb-no-line[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.jscb-no-line-text[b-iym3qvpngc] {
    position: sticky;
    left: calc(var(--jscb-label-width, 0px) + 8px);
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--jscb-warn-text);
    background: var(--jscb-warn-bg);
    border: 1px solid var(--jscb-warn-border);
    border-radius: 6px;
    pointer-events: auto;
}

/* Entre las líneas de las personas de un equipo, punteada y suave: es el mismo equipo. */
.jscb-lane-line.is-person[b-iym3qvpngc] {
    border-top-style: dashed;
}

/* Bajo la fila de ocupación, la misma raya fuerte que separa bandas; entre «Plan» e «Inicio/Fin», punteada. */
.jscb-lane-line.is-summary[b-iym3qvpngc] {
    border-top-color: var(--jscb-border-strong);
}

.jscb-lane-line.is-split[b-iym3qvpngc] {
    border-top-style: dashed;
}

/* Sin pintar: la placa y la etiqueta «Latonería N» de cada recurso ya lo separan (la raya clara sobraba). Antes: D491, la raya pesaba más que la de las líneas de OT (2 px, un tono claro del texto): centrada en el aire que
   los separa (el margen negativo la sube la mitad de su grosor sin mover el top que miden las pruebas). Borde normal, no degradado. */
.jscb-lane-line.is-resource[b-iym3qvpngc] {
    margin-top: -1px;
    border-top: 2px solid transparent;
}

/* La cadena no tiene área propia: solo sus hijos reciben el ratón (hover en JS, D13). */
.jscb-chain[b-iym3qvpngc] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Ya es su propio contexto de apilado (z-index): atenuarlo (D170) no cambia qué queda encima de qué. Sin transición de
       opacidad: con una OT enfocada se atenúan todas las demás a la vez y cientos de animaciones, cada una en su capa, eran lo que
       más pesaba del hover; la espera de antes (pasar de largo no parpadea) la hace ahora jscb-board.js al poner jscb-focus-board. */
}

.jscb-chain[b-iym3qvpngc]  .jscb-chip,
.jscb-chain[b-iym3qvpngc]  .jscb-pause-tick,
.jscb-card-layer[b-iym3qvpngc]  .jscb-vcard,
.jscb-chain .jscb-occ-plate[b-iym3qvpngc],
.jscb-chain .jscb-occ-start[b-iym3qvpngc] {
    pointer-events: auto;
}

/* Hilo de la OT (F4a, tarjeta de 1 línea): 1 px sólido, del color del borde de la tarjeta (el gris de su línea), a media altura de
   las barras y solo en los huecos entre ellas. Sin z-index, debajo de los chips (z 1–3) de su cadena; se atenúa con ella (D170) y no
   recibe el ratón. Nunca punteado: punteado es lo no comprometido. */
.jscb-thread[b-iym3qvpngc] {
    position: absolute;
    height: 1px;
    background: var(--jscb-cfg-card-border, var(--jscb-card-line));
    pointer-events: none;
}

/* The cushion after a process (a step not done): a flat gray tail (no hatch, so the board reads lighter), behind the bars, never takes
   the mouse. Dashed edge when the foreman set it for this step; plain gray when it is the shop's. */
.jscb-cushion[b-iym3qvpngc] {
    position: absolute;
    box-sizing: border-box;
    border-radius: 0 6px 6px 0;
    background: color-mix(in srgb, var(--jscb-card-line, #8a8f98) 30%, transparent);
    opacity: .75;
    pointer-events: none;
}

/* Heijunka: the empty stretch between two steps of a vehicle. Invisible until the pointer or the focus is on it; then a faint dashed box
   and the reason in its title («Espacio de 3 h antes de «Pintura»: la cabina CAB-01 está ocupada por ABC123 hasta…»). Behind the bars. */
.jscb-gap[b-iym3qvpngc] {
    position: absolute;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: help;
}

.jscb-gap:hover[b-iym3qvpngc],
.jscb-gap:focus-visible[b-iym3qvpngc] {
    border: 1px dashed var(--jscb-card-line, #8a8f98);
    background: color-mix(in srgb, var(--jscb-card-line, #8a8f98) 12%, transparent);
    outline: none;
}

.jscb-cushion.is-own[b-iym3qvpngc] {
    border: 1px dashed var(--jscb-card-line, #8a8f98);
    border-left: 0;
}

@media (forced-colors: active) {
    .jscb-cushion[b-iym3qvpngc] {
        background: transparent;
        border: 1px dashed CanvasText;
        forced-color-adjust: none;
    }

    .jscb-thread[b-iym3qvpngc] {
        background: CanvasText;
        forced-color-adjust: none;
    }
}

/* ─── Fila de ocupación (D74) ──────────────────────────────────────────── */
/* Solo los bloques del latonero: arriba la placa donde empieza cada carro, con su marca hasta el pie de
   los bloques; debajo los bloques (JscbChip con is-occupancy). Dos trabajos a la vez se reparten el alto
   y el tramo va en naranja con ▲N (sobrecarga, D45); */
.jscb-occ-start[b-iym3qvpngc] {
    position: absolute;
    width: 2px;
    border-radius: 1px;
    background: var(--jscb-ink);
}

.jscb-occ-plate[b-iym3qvpngc] {
    position: absolute;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 0.2px;
    color: var(--st-text-brand);
    white-space: nowrap;
    cursor: pointer;
}

.jscb-occ-plate:hover[b-iym3qvpngc],
.jscb-chain.jscb-focused .jscb-occ-plate[b-iym3qvpngc],
.jscb-chain.is-selected .jscb-occ-plate[b-iym3qvpngc] {
    color: var(--jscb-accent);
}

.jscb-occ-plate:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

.jscb-occ-cont[b-iym3qvpngc] {
    margin-right: 1px;
    color: var(--jscb-text-faint);
    font-weight: 700;
}

/* El carro bajo el ratón (hover de cadena, D13) se enmarca en todas sus filas. */
.jscb-chain.jscb-focused[b-iym3qvpngc]  .jscb-chip.is-occupancy {
    box-shadow: 0 0 0 2px var(--jscb-accent);
}

.jscb-occ-over[b-iym3qvpngc] {
    position: absolute;
    z-index: 0;
    border-radius: 4px;
    background: var(--jscb-overload-soft);
    box-shadow: inset 0 0 0 1px var(--jscb-overload-line);
    pointer-events: none;
}

.jscb-occ-over-badge[b-iym3qvpngc] {
    position: absolute;
    z-index: 2;
    transform: translateX(-100%);
    padding: 0 4px;
    border-radius: 4px;
    background: var(--jscb-overload);
    color: #ffffff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 13px;
    white-space: nowrap;
    /* D236: es un botón (abre su aviso); sin borde ni relleno propios del botón. */
    border: 0;
    cursor: pointer;
}

.jscb-occ-over-badge:hover[b-iym3qvpngc] {
    filter: brightness(0.92);
}

.jscb-occ-over-badge:focus-visible[b-iym3qvpngc] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 1px;
}


/* Nadie del equipo hace el proceso elegido en el periodo: la línea vacía lo dice, apagado. */
.jscb-team-empty[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--jscb-text-faint);
    font-size: 11px;
    font-style: italic;
    white-space: nowrap;
    pointer-events: none;
}

/* ─── Tarjeta de la OT (revisión UX 2026-09-20/21) ──────────────────────── */
/* Capa propia bajo todas las cadenas (z 0 frente al z 1 de .jscb-chain): recogida la banda, dos OT
   que se solapan cruzan sus tarjetas y los chips de ambas siguen encima. */
.jscb-card-layer[b-iym3qvpngc] {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* JSCB (D143): la capa sube sobre la retícula de horas (z 0, pintada después en el DOM), que se adivina bajo el
   fondo semitransparente sin cruzar la placa; las cadenas (z 1, después en la banda) siguen encima y el cambio de día
   (z 3) cruza todo. En JPCB la tarjeta es pastel opaco y las horas siguen encima (D46). */
.jscb-band:not(.is-bay) .jscb-card-layer[b-iym3qvpngc] {
    z-index: 1;
}

/* Con foco (hover, clase del JS) o seleccionada, la tarjeta sube sobre las que cruza en una banda
   recogida; el borde lo pone su propia hoja (D67). */
.jscb-card-layer[b-iym3qvpngc]  .jscb-vcard.jscb-focused,
.jscb-card-layer[b-iym3qvpngc]  .jscb-vcard.is-selected {
    z-index: 1;
}

/* ─── JPCB: barra de «Inicio/Fin» (D67) ───────────────────────────────────── */
/* Gris claro y algo transparente (D146, D209): el tiempo que el operario tuvo la OT en su bandeja, de que la recibió a que la
   entregó, coincida o no con lo planeado; deja ver la grilla. Radio grande en sus extremos reales; recta y punteada donde
   sigue fuera del periodo. Lo fichado va encima, del color de la OT y más oscuro (inicio y parada de cada fichaje), y al
   final de la OT las horas de todo lo asignado. */
.jscb-exec[b-iym3qvpngc] {
    position: absolute;
    z-index: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 8px;
    background: color-mix(in srgb, var(--st-surface-stronger) 55%, transparent);
    pointer-events: none;
}

.jscb-exec.is-cut-start[b-iym3qvpngc] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 2px dashed var(--jscb-bg);
}

.jscb-exec.is-cut-end[b-iym3qvpngc] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 2px dashed var(--jscb-bg);
}

.jscb-exec-total[b-iym3qvpngc] {
    padding: 0 8px;
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Marca de entrega (D9, D240). Quieta por defecto: la tarjeta ya dice si llega (semáforo y «+N», D67) y sobre el calendario solo
   queda una banderita en la promesa justa o incumplida que cae dentro de la vista (is-flag). Con la OT enfocada (jscb-focused, el
   hover de D170) salen el tick a todo el alto de la tarjeta (gris si llega, ámbar si llega justa, rojo si no), el tramo rayado hasta
   la entrega prevista y la etiqueta con las dos fechas (el título, `attr(title)`: no se repite en otro atributo). */
.jscb-promise[b-iym3qvpngc] {
    --promise: var(--jscb-text-muted);
    position: absolute;
    width: 0;
    height: var(--jscb-chip-height);
    margin-left: -1px;
    border-left: 2px solid var(--promise);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
    /* Each marker that fades in with the focus (this one, the late stretch, the «since» label and the arrival) is its own layer from
       the start: when the browser promotes it only for the fade it repaints the whole board layer twice per hover (measured in
       Safari: 53 -> 61 frames per second with the focus moving between chains). Same fade, same look. */
    will-change: opacity;
}

.jscb-promise[b-iym3qvpngc]::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--promise);
}

/* D284: the JSCB's flag stays inside its process bar; execution keeps D240. */
.jscb-promise.is-schedule[b-iym3qvpngc]::before {
    top: 0;
}

.jscb-promise.is-risk[b-iym3qvpngc] {
    --promise: var(--jscb-danger);
}

/* F5: justa en ámbar (atención, D45); tarde sigue en rojo (promesa incumplida). */
.jscb-promise.is-tight[b-iym3qvpngc] {
    --promise: var(--jscb-warn);
}

/* Sin foco, solo la banderita; el tick va transparente. */
.jscb-promise.is-flag[b-iym3qvpngc] {
    opacity: 1;
    pointer-events: auto;
    border-left-color: transparent;
}

.jscb-chain.jscb-focused .jscb-promise[b-iym3qvpngc] {
    opacity: 1;
    pointer-events: auto;
    border-left-color: var(--promise);
}

/* Promesa fuera del periodo: tope punteado en el borde (solo con el foco), sin banderita. */
.jscb-promise.is-clamped-left[b-iym3qvpngc],
.jscb-promise.is-clamped-right[b-iym3qvpngc] {
    border-left-style: dashed;
}

.jscb-promise.is-clamped-left[b-iym3qvpngc]::before,
.jscb-promise.is-clamped-right[b-iym3qvpngc]::before {
    display: none;
}

.jscb-promise.is-clamped-right[b-iym3qvpngc] {
    margin-left: -2px;
}

/* Etiqueta bajo la tarjeta, con las dos fechas y lo que se pasa; se abre hacia la izquierda cerca del borde derecho. */
.jscb-promise[b-iym3qvpngc]::after {
    content: attr(title);
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: -6px;
    max-width: 420px;
    padding: 1px 9px;
    border: 1px solid var(--promise);
    border-radius: 999px;
    background: var(--jscb-bg);
    color: var(--jscb-ink);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    pointer-events: none;
    z-index: 6;
}

.jscb-chain.jscb-focused .jscb-promise[b-iym3qvpngc]::after {
    display: block;
}

/* Con el inspector abierto, su cota va en esta misma franja y su panel ya dice promesa y salida. */
.jscb-inspecting .jscb-chain.jscb-focused .jscb-promise[b-iym3qvpngc]::after {
    display: none;
}

.jscb-promise.is-flip[b-iym3qvpngc]::after {
    left: auto;
    right: -6px;
}

.jscb-promise.is-clamped-left[b-iym3qvpngc]::after {
    left: 6px;
}

/* Tarde, solo en el JPCB: tramo rayado de 4 px de la promesa a la entrega prevista, al pie de la tarjeta (el JSCB usa la etiqueta y la
   guía de abajo, D487). Solo con el foco; con «Retrasos» encendido (data-jscb-gaps en la raíz) queda siempre, más apagado. */
.jscb-promise-late[b-iym3qvpngc] {
    position: absolute;
    height: 4px;
    /* As an 11 px tile (two bands per 7.78 px, the period that repeats without a seam in a square of that side) and not a
       `repeating-linear-gradient`, which Safari paints very slowly. */
    background: linear-gradient(-45deg,
        var(--jscb-danger) 0 3.889px, var(--jscb-danger-soft) 3.889px 7.778px,
        var(--jscb-danger) 7.778px 11.667px, var(--jscb-danger-soft) 11.667px) 0 0 / 11px 11px;
    border-radius: 3px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease;
    will-change: opacity;
}

[data-jscb-gaps="all"] .jscb-promise-late[b-iym3qvpngc] {
    opacity: 0.6;
}

.jscb-chain.jscb-focused .jscb-promise-late[b-iym3qvpngc] {
    opacity: 1;
}

/* D487: una OT que llega tarde lleva una etiqueta compacta en la promesa —«+1 d 3 h · vie 23 oct →»: cuánto se pasa, el día en que
   está lista y una flecha hacia él— siempre visible; al tocarla abre el detalle. Sobre la fila de la cabeza de la tarjeta, a la derecha
   de la promesa (a la izquierda cerca del borde derecho). */
.jscb-promise-chip[b-iym3qvpngc] {
    position: absolute;
    z-index: 5;
    height: 14px;
    margin: 0;
    padding: 0 5px;
    border: 0;
    border-radius: 3px;
    background: var(--jscb-danger-strong);
    color: #fff;
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 14px;
    white-space: nowrap;
    cursor: pointer;
}

/* Solo la flecha, cuando junto a la tarjeta no queda lugar para más: el título y el aviso dicen el resto. */
.jscb-promise-chip.is-arrow[b-iym3qvpngc] {
    width: 22px;
    padding: 0;
    text-align: center;
}

.jscb-promise-chip:hover[b-iym3qvpngc],
.jscb-promise-chip:focus-visible[b-iym3qvpngc] {
    outline: 2px solid var(--jscb-danger);
    outline-offset: 1px;
}

/* La guía: una línea punteada de la promesa a la fecha en que la OT está lista, con un corte en la fecha. Solo con el foco; con
   «Retrasos» encendido (data-jscb-gaps en la raíz) queda siempre, más apagada. */
.jscb-promise-guide[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    height: 0;
    border-top: 2px dotted var(--jscb-danger);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease;
    will-change: opacity;
}

.jscb-promise-guide:not(.is-open-right)[b-iym3qvpngc]::after {
    content: "";
    position: absolute;
    top: -8px;
    right: -1px;
    height: 14px;
    border-right: 2px solid var(--jscb-danger);
}

[data-jscb-gaps="all"] .jscb-promise-guide[b-iym3qvpngc] {
    opacity: 0.6;
}

.jscb-chain.jscb-focused .jscb-promise-guide[b-iym3qvpngc] {
    opacity: 1;
}

/* «+N» tras la entrega prevista (o en el borde derecho si cae después del periodo). */
.jscb-promise-delay[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    padding: 0 4px;
    height: 16px;
    line-height: 16px;
    border-radius: 4px;
    background: var(--jscb-danger-strong);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: auto;
    cursor: help;
}

.jscb-promise-delay.is-edge[b-iym3qvpngc] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ─── Q1 por latonero (F6) ─────────────────────────────────────────────── */
.jscb-band-free[b-iym3qvpngc] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--st-success-text);
    font-weight: 600;
}

.jscb-free-notch[b-iym3qvpngc] {
    position: absolute;
    top: 0;
    /* Por debajo de las etiquetas fijas (z 5, D134): al desplazar la grilla, la ▲ pasa por detrás de la columna. */
    z-index: 4;
    width: 0;
    height: 0;
    margin-left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #059669;
    pointer-events: auto;
    cursor: help;
}

/* F8: con la tipografía mínima de 10,5 px, la banda de un solo carril (recogida o no) se compacta para
   que quepan nombre, carga, medidor y «Libre desde» sin cortarse. */
.jscb-band.is-single .jscb-band-label[b-iym3qvpngc] {
    padding-top: 2px;
    padding-bottom: 2px;
}

/* El equipo no lleva ese aire: su cabecera ya mide lo que piden sus renglones (D133). */
.jscb-band.is-single .jscb-band-label.is-team[b-iym3qvpngc] {
    padding-top: 0;
    padding-bottom: 0;
}

.jscb-band.is-single .jscb-band-text[b-iym3qvpngc] {
    gap: 1px;
}

.jscb-band.is-single :is(.jscb-band-load, .jscb-band-live, .jscb-band-free)[b-iym3qvpngc] {
    line-height: 1.15;
}

.jscb-band.is-single .jscb-meter[b-iym3qvpngc] {
    height: 6px;
}

/* JPCB ejecuta (D66): desvíos de lo fichado contra lo planeado en la fila «Inicio/Fin». Ámbar, como
   «justa»: el rojo sigue reservado a la promesa. La raya marca un arranque tardío en el inicio real;
   el tramo bajo la fila, lo fichado después del fin planeado. */
.jscb-deviation[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    pointer-events: auto;
    cursor: help;
}

.jscb-deviation.is-late-start[b-iym3qvpngc] {
    width: 3px;
    border-radius: 2px;
    background: var(--jscb-warn);
}

.jscb-deviation.is-overrun[b-iym3qvpngc] {
    height: 3px;
    border-radius: 2px;
    background: var(--jscb-warn);
}

/* H-06 (DJ-17): el último paso de la Ronda por voz del día en la fila Real: una raya del color informativo y, a su derecha (o a su izquierda si
   no cabe), «revisado 10:32 · ronda» sobre un fondo velado para que se lea encima de la barra. Es un dato: no atrapa el ratón salvo para su título. */
.jscb-round[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    width: 0;
    border-left: 2px solid var(--jscb-info);
    cursor: help;
}

.jscb-round-text[b-iym3qvpngc] {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 1px 5px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--jscb-bg) 88%, transparent);
    color: var(--jscb-text);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.jscb-round.is-flip .jscb-round-text[b-iym3qvpngc] {
    left: auto;
    right: 4px;
}

/* H-06 (GOG p79): la OT lleva más del intervalo del taller sin ronda ni fichaje. Ámbar, en la fila Real a la derecha de AHORA. */
.jscb-round-alert[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    height: 16px;
    margin-left: 6px;
    padding: 0 6px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    white-space: nowrap;
    cursor: help;
}

.jscb-round-alert.is-flip[b-iym3qvpngc] {
    margin-left: 0;
    transform: translateX(calc(-100% - 6px));
}

/* F14 (JP-G08): «revisar a la mitad», punteada sobre la tarjeta del plan; informativa, sin el ámbar de los desvíos. */
.jscb-midreview[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    width: 3px;
    border-left: 2px dotted var(--jscb-info);
    pointer-events: auto;
    cursor: help;
}

/* JPCB (D207): la línea de un operario dentro de la bahía. La foto va donde iba el cuadro de la bahía; el nombre y su carga, a su lado;
   sin chevrón (la bahía se recoge desde su resumen). El renglón de texto se centra en el alto de la línea de 62 px. */
.jscb-band.is-operator .jscb-band-label[b-iym3qvpngc] {
    align-items: center;
}

.jscb-operator-top[b-iym3qvpngc] {
    align-items: center;
    width: 100%;
    padding-left: 6px;
}

/* The column of the operator (the board of Distoyota): the color of the process on the left edge of the line, with the number of the bay. */
.jscb-operator-top[b-iym3qvpngc] {
    position: relative;
}

.jscb-operator-top.has-mark[b-iym3qvpngc] {
    padding-left: 30px;
}

.jscb-operator-mark[b-iym3qvpngc] {
    position: absolute;
    left: -8px;
    top: -4px;
    bottom: -4px;
    width: 24px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: var(--mark-color);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.45);
    cursor: pointer;
}

/* Sin bahía asignada: el recuadro va punteado, vacío, con el color del proceso solo en el borde. */
.jscb-operator-mark.is-unassigned[b-iym3qvpngc] {
    background: transparent;
    border: 2px dashed var(--mark-color);
    text-shadow: none;
}

.jscb-operator-mark:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

.jscb-operator-photo[b-iym3qvpngc] {
    flex: 0 0 auto;
}

.jscb-operator-photo .jscb-crew-photo[b-iym3qvpngc] {
    width: 28px;
    height: 28px;
}

/* «Sin operario»: el trabajo que nadie tiene, con un signo de interrogación en lugar de la foto. */
.jscb-operator-none[b-iym3qvpngc] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    border: 1px dashed var(--jscb-border-strong);
    color: var(--jscb-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.jscb-band.is-operator .jscb-band-load[b-iym3qvpngc] {
    color: var(--jscb-text-muted);
}

/* Resumen de la bahía (D208): sin el nombre (va en la cabecera de la tarjeta), la carga contra el cupo hace de título. */
.jscb-band.is-bay:not(.is-operator) .jscb-band-name[b-iym3qvpngc] {
    font-weight: 500;
    color: var(--jscb-text-muted);
}

.jscb-band.is-bay:not(.is-operator) .jscb-band-name.is-over[b-iym3qvpngc] {
    color: var(--jscb-overload);
    font-weight: 600;
}

/* ─── «Así quedaría» (D267, V7–V10): marcas del preview sobre la banda ─────────────────────────── */

/* Los pasos del carro propuesto: chips fantasma (contorno discontinuo con halo magenta, §5.2). */
.jscb-chain.is-plan-car[b-iym3qvpngc]  .jscb-chip {
    outline: 1.5px dashed var(--jscb-accent);
    outline-offset: -1px;
    box-shadow: 0 0 0 3px var(--jscb-accent-soft);
}

/* Escena 07: el carro cae en la hora soltada, contorno discontinuo, al 85 %, «Calculando…». */
.jscb-pv-drop[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    box-sizing: border-box;
    border: 2px dashed var(--jscb-accent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--jscb-bg) 82%, transparent);
    opacity: 0.85;
    pointer-events: none;
    overflow: hidden;
}

.jscb-pv-drop-text[b-iym3qvpngc] {
    position: absolute;
    left: 6px;
    top: 4px;
    font-size: 12px;
    font-weight: 800;
    color: var(--st-text-brand, var(--jscb-text));
    white-space: nowrap;
}

/* V10: la huella «estaba» de lo corrido: discontinuo tenue, sin relleno. */
.jscb-pv-before[b-iym3qvpngc] {
    position: absolute;
    z-index: 1;
    box-sizing: border-box;
    border: 1px dashed var(--jscb-text-faint);
    border-radius: 8px;
    pointer-events: none;
}

.jscb-pv-before-tag[b-iym3qvpngc] {
    position: absolute;
    left: 6px;
    top: 6px;
    font-size: 10px;
    color: var(--jscb-text-faint);
    white-space: nowrap;
}

/* V10: la cifra +Δ al final del carro: gris sigue a tiempo, rojo lleno pierde la promesa; aparece tras deslizarse (350 ms). */
.jscb-pv-delta[b-iym3qvpngc] {
    position: absolute;
    z-index: 5;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    animation: jscb-pv-in-b-iym3qvpngc 0.2s ease 0.35s both;
}

.jscb-pv-delta.is-tight[b-iym3qvpngc] {
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    box-shadow: inset 0 0 0 1px var(--jscb-warn-border);
}

.jscb-pv-delta.is-lost[b-iym3qvpngc] {
    background: var(--jscb-danger-strong);
    color: #fff;
}

/* D356: «Reacomodar taller» says «−Δ» in green only when the work order reaches its promise thanks to the change. */
.jscb-pv-delta.is-gain[b-iym3qvpngc] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
    box-shadow: inset 0 0 0 1px var(--st-success-border);
}

/* V9: «pediste 08:00», la hora soltada, y el rastro hasta donde entra. */
.jscb-pv-asked[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    width: 0;
    border-left: 2px dashed var(--jscb-accent);
    pointer-events: none;
}

.jscb-pv-asked b[b-iym3qvpngc] {
    position: absolute;
    left: 4px;
    top: 2px;
    padding: 0 3px;
    border-radius: 3px;
    background: var(--jscb-bg);
    color: var(--st-accent-text, var(--jscb-accent));
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.jscb-pv-trail[b-iym3qvpngc] {
    position: absolute;
    z-index: 4;
    height: 0;
    border-top: 1.5px dashed var(--jscb-accent);
    pointer-events: none;
}

.jscb-pv-trail[b-iym3qvpngc]::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -5px;
    border-left: 6px solid var(--jscb-accent);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@keyframes jscb-pv-in-b-iym3qvpngc {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .jscb-pv-delta[b-iym3qvpngc] {
        animation: none;
    }
}

/* V12: el renglón de reserva al pie de cada banda (30 px), con un trazo discontinuo y la palabra «reserva». */
.jscb-pv-reserve[b-iym3qvpngc] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
    border-top: 1px dashed var(--jscb-border-strong);
    /* A 20 px tile and not a `repeating-linear-gradient`: Safari paints the repeating form very slowly, and this row spans the whole board. */
    background: linear-gradient(90deg, transparent 0 10px, color-mix(in srgb, var(--st-text-muted) 5%, transparent) 10px) 0 0 / 20px 100%;
    pointer-events: none;
}

.jscb-pv-reserve-tag[b-iym3qvpngc] {
    position: sticky;
    left: 6px;
    display: inline-block;
    margin: 8px 0 0 6px;
    font-size: 9.5px;
    color: var(--jscb-text-faint);
}

/* V18: la pastilla del borde, en la columna fija de la banda (siempre a la vista). */
.jscb-pv-edge[b-iym3qvpngc] {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 6px;
    z-index: 3;
    padding: 2px 10px;
    border: 1px solid var(--jscb-accent);
    border-radius: 9999px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.jscb-pv-edge:focus-visible[b-iym3qvpngc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* F10 (F10-4): la llegada del vehículo en la línea de su OT, quieta como la promesa (D240): sale con el foco. */
.jscb-arrival[b-iym3qvpngc] {
    position: absolute;
    width: 0;
    margin-left: -1px;
    border-left: 2px dashed var(--jscb-text-muted);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
    will-change: opacity;
}

.jscb-arrival[b-iym3qvpngc]::before {
    content: "↘";
    position: absolute;
    top: -14px;
    left: -6px;
    font-size: 11px;
    line-height: 1;
    color: var(--jscb-text-muted);
}

.jscb-chain.jscb-focused .jscb-arrival[b-iym3qvpngc] {
    opacity: 1;
    pointer-events: auto;
}

/* D591: the line over the published steps that leave or change when the next open day is published, when the text of the card cannot say it. */
.jscb-draft-strike[b-iym3qvpngc] {
    position: absolute;
    z-index: 1;
    height: 2px;
    border-radius: 1px;
    background: var(--jscb-text);
    pointer-events: none;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPanelCard.razor.rz.scp.css */
/* Tarjeta de los paneles (D77): la del inbox a lo ancho. En la superficie del tema (D136), radio 16, foto de 60 px con radio 12 y el
   logo del proceso abajo a la izquierda dentro de un anillo del color del estado; la persona abajo a la
   derecha. --pcard-ring pinta el anillo; --pcard-text y --pcard-soft, la cifra y la palabra. */
.jscb-pcard[b-jo6zmol1q9] {
    --pcard-ring: var(--st-surface-stronger);
    --pcard-text: var(--jscb-text-muted, var(--st-text-subtle));
    --pcard-soft: var(--jscb-bg-soft, var(--st-surface-sunken));

    position: relative;
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 6px;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: var(--st-surface);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    color: var(--st-text-brand);
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Sin transform al pasar: la capa del ⋮ es fixed y un transform la encerraría en la tarjeta. */
.jscb-pcard:hover[b-jo6zmol1q9] {
    border-color: var(--st-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.jscb-pcard:focus-visible[b-jo6zmol1q9] {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: 2px;
}

.jscb-pcard.is-late[b-jo6zmol1q9] { --pcard-ring: #e57373; --pcard-text: var(--jscb-danger-text, var(--st-danger-text)); --pcard-soft: var(--st-danger-bg-strong); }
.jscb-pcard.is-tight[b-jo6zmol1q9] { --pcard-ring: #f5a524; --pcard-text: var(--jscb-warn-text, var(--st-warning-text)); --pcard-soft: var(--st-warning-bg-strong); }
.jscb-pcard.is-ontime[b-jo6zmol1q9] { --pcard-ring: #5cc27a; --pcard-text: var(--st-success-fg); --pcard-soft: var(--st-success-bg-strong); }

/* Sin autorizar: punteado, lo no comprometido (D45). */
.jscb-pcard.is-tentative[b-jo6zmol1q9] {
    border: 1.5px dashed var(--jscb-text-faint, var(--st-border-stronger));
}

/* «Por programar» lista para programar (D158): se arrastra entera al calendario. La agarradera del borde izquierdo y la mano lo
   dicen antes de intentarlo; la agarradera ocupa poco (la foto se corre unos 11 px). */
.jscb-pcard.is-draggable[b-jo6zmol1q9] {
    cursor: grab;
}

/* D542: del alto de la foto y arriba, así sus puntos quedan a la mitad de la foto y no a la mitad de la tarjeta, que es más alta. */
.jscb-pcard-grip[b-jo6zmol1q9] {
    flex: none;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 60px;
    margin: 0 -6px 0 -3px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
    transition: color 0.2s ease;
}

.jscb-pcard-grip svg[b-jo6zmol1q9] {
    width: 9px;
    height: 16px;
}

.jscb-pcard.is-draggable:hover .jscb-pcard-grip[b-jo6zmol1q9],
.jscb-pcard.is-draggable:focus-visible .jscb-pcard-grip[b-jo6zmol1q9] {
    color: var(--st-text-brand);
}

/* «Por programar» arrastrándose (clase puesta por jscb-board.js). */
.jscb-pcard.is-dragging[b-jo6zmol1q9] {
    opacity: 0.4;
}

/* ─── Foto ───────────────────────────────────────────────────────────────── */
.jscb-pcard-photo[b-jo6zmol1q9] {
    position: relative;
    flex: none;
    width: 60px;
    height: 60px;
}

.jscb-pcard-car[b-jo6zmol1q9] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    /* D295: the same placeholder as the cards of the inbox (AssetCard): the white camera on dark gray. */
    background: darkgrey;
}

.jscb-pcard-car img[b-jo6zmol1q9] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The error icon of the inbox is a glyph: whole in the square, not cropped. */
.jscb-pcard-car img.is-error[b-jo6zmol1q9] {
    object-fit: contain;
}

/* Logo del proceso como en el inbox: círculo blanco dentro del anillo del estado. */
.jscb-pcard-proc[b-jo6zmol1q9] {
    position: absolute;
    left: -5px;
    bottom: -5px;
    z-index: 1;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    padding: 2px;
    border-radius: 50%;
    background: var(--pcard-ring);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}

.jscb-pcard-proc-in[b-jo6zmol1q9] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    /* The icons of the processes are drawn for a light ground: white in the light and in the dark theme. */
    background: #fff;
}

.jscb-pcard-proc-code[b-jo6zmol1q9] {
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #475569;
}

.jscb-pcard-proc-in img[b-jo6zmol1q9] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.jscb-pcard-person[b-jo6zmol1q9] {
    position: absolute;
    right: -5px;
    bottom: -5px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    overflow: hidden;
    border: 1.5px solid var(--st-surface);
    border-radius: 50%;
    background: var(--st-surface-stronger);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
}

.jscb-pcard-initials[b-jo6zmol1q9] {
    font-size: 8.5px;
    font-weight: 800;
    color: var(--st-text);
}

.jscb-pcard-person img[b-jo6zmol1q9] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Texto ──────────────────────────────────────────────────────────────── */
.jscb-pcard-body[b-jo6zmol1q9] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 1px 2px 0 0;
}

/* Relativo: el aviso del ícono junto a la placa (D348) se ancla a este renglón. */
.jscb-pcard-top[b-jo6zmol1q9] {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

/* D348: el ícono que se toca junto a la placa. Su aviso (KodawariWarning) baja bajo el renglón de la placa, a lo ancho del texto:
   anclado al ícono se saldría de la zona angosta y la zona lo recortaría. */
.jscb-pcard-mark[b-jo6zmol1q9] {
    display: inline-flex;
    flex: none;
    align-self: center;
    font-size: 14px;
    line-height: 20px;
    cursor: default;
}

.jscb-pcard-mark[b-jo6zmol1q9]  .kwarn {
    position: static;
}

.jscb-pcard-mark[b-jo6zmol1q9]  .kwarn-pop {
    left: 0;
    right: 0;
    width: auto;
}

/* La placa como en el inbox: grande, negrita y en azul marino. */
.jscb-pcard-plate[b-jo6zmol1q9] {
    flex: none;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 20px;
    color: var(--st-text-brand);
    white-space: nowrap;
}

.jscb-pcard-model[b-jo6zmol1q9] {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jscb-pcard-figure[b-jo6zmol1q9] {
    /* D298: a long figure (the name of a process) shrinks with dots instead of leaving the card; the status pill yields first. */
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 800;
    color: var(--pcard-text);
    white-space: nowrap;
}

.jscb-pcard-detail[b-jo6zmol1q9] {
    min-width: 0;
    overflow: hidden;
    font-size: 11.5px;
    color: var(--st-text-brand);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* La palabra se recorta antes que la cifra si la placa es larga. */
.jscb-pcard-status[b-jo6zmol1q9] {
    flex: 0 100 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    align-self: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--pcard-soft);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 18px;
    color: var(--pcard-text);
    white-space: nowrap;
}

.jscb-pcard-foot[b-jo6zmol1q9] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
    min-height: 22px;
}

/* Hasta dos líneas: una fecha y un aviso («Reanuda 24 Sep · promesa en riesgo») caben junto a la acción. */
.jscb-pcard-note[b-jo6zmol1q9] {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11px;
    line-height: 14px;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-pcard-actions[b-jo6zmol1q9] {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    cursor: default;
}

/* Botones de la tarjeta: los de las listas los usan con ::deep. */
.jscb-pcard-actions[b-jo6zmol1q9]  .jscb-pcard-act {
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--jscb-border-strong, var(--st-border-strong));
    border-radius: 7px;
    background: var(--st-surface);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    cursor: pointer;
}

.jscb-pcard-actions[b-jo6zmol1q9]  .jscb-pcard-act:hover:not(:disabled) {
    border-color: var(--jscb-text-faint, var(--st-border-stronger));
    background: var(--jscb-bg-alt, var(--st-surface-muted));
}

.jscb-pcard-actions[b-jo6zmol1q9]  .jscb-pcard-act:disabled,
.jscb-pcard-actions[b-jo6zmol1q9]  .jscb-pcard-act.is-locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.jscb-pcard-actions[b-jo6zmol1q9]  .jscb-pcard-act:focus-visible {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: 1px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPendingsDialog.razor.rz.scp.css */
.jpend-overlay[b-1ghs3n1k7s] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jpend-dialog[b-1ghs3n1k7s] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 32px));
    max-height: min(620px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jpend-head[b-1ghs3n1k7s] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jpend-title h2[b-1ghs3n1k7s] {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jpend-title p[b-1ghs3n1k7s] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jpend-close[b-1ghs3n1k7s] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jpend-close:hover[b-1ghs3n1k7s] {
    background: var(--st-surface-sunken, #f1f5f9);
}

.jpend-list[b-1ghs3n1k7s] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 16px 20px;
    list-style: none;
    overflow-y: auto;
}

.jpend-row[b-1ghs3n1k7s] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--st-warning-bg, #fef3c7);
}

.jpend-text[b-1ghs3n1k7s] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-warning-fg, #92400e);
}

.jpend-detail[b-1ghs3n1k7s] {
    font-size: 12.5px;
    color: var(--st-text, #334155);
}

.jpend-ask[b-1ghs3n1k7s] {
    font-size: 12px;
    color: var(--st-text-muted, #64748b);
}

.jpend-fix[b-1ghs3n1k7s],
.jpend-secondary[b-1ghs3n1k7s],
.jpend-primary[b-1ghs3n1k7s] {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.jpend-fix[b-1ghs3n1k7s] {
    border: 1px solid var(--jscb-info, #2563eb);
    background: var(--st-surface, #fff);
    color: var(--jscb-info, #2563eb);
}

.jpend-foot[b-1ghs3n1k7s] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--st-border);
}

.jpend-secondary[b-1ghs3n1k7s] {
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text, #334155);
}

.jpend-primary[b-1ghs3n1k7s] {
    border: 0;
    background: var(--jscb-info, #2563eb);
    color: #fff;
}

.jpend-secondary:disabled[b-1ghs3n1k7s] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPersonCard.razor.rz.scp.css */
/* Tarjeta de persona (D34): flota a la derecha de la etiqueta de la banda, sobre la grilla. */
.jscb-person-backdrop[b-dyvi4e8vhs] {
    position: fixed;
    inset: 0;
    z-index: 8;
}

.jscb-person-card[b-dyvi4e8vhs] {
    position: absolute;
    top: 4px;
    left: calc(100% - 6px);
    z-index: 9;
    width: 300px;
    max-width: calc(100vw - 24px);
    padding: 10px 12px 12px;
    border: 1px solid var(--jscb-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    font-size: 12px;
    line-height: 1.35;
    color: var(--jscb-text);
    white-space: normal;
    cursor: default;
}

.jscb-person-head[b-dyvi4e8vhs] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.jscb-person-photo[b-dyvi4e8vhs] {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg-soft);
}

.jscb-person-text[b-dyvi4e8vhs] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-person-name[b-dyvi4e8vhs] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.jscb-person-name[b-dyvi4e8vhs],
.jscb-person-sub[b-dyvi4e8vhs] {
    /* Un cargo o un nombre largo sin espacios no se sale de la tarjeta: baja de renglón. */
    overflow-wrap: anywhere;
}

.jscb-person-sub[b-dyvi4e8vhs] {
    margin-top: 2px;
    color: var(--jscb-text-muted);
}

/* D233: lo primero que dice la tarjeta: si la persona tiene trabajo. */
.jscb-person-load[b-dyvi4e8vhs] {
    margin-top: 8px;
}

.jscb-person-load-tag[b-dyvi4e8vhs] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    background: var(--jscb-bg-soft);
    color: var(--jscb-text-muted);
}

.jscb-person-load-tag.is-planned[b-dyvi4e8vhs] {
    border-color: var(--jscb-info, #2563eb);
    background: color-mix(in srgb, var(--jscb-info, #2563eb) 12%, var(--jscb-bg));
    color: var(--jscb-text);
}

.jscb-person-load-tag.is-unplanned[b-dyvi4e8vhs] {
    border-color: var(--jscb-warn-border);
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
}

.jscb-person-close[b-dyvi4e8vhs] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
}

.jscb-person-close svg[b-dyvi4e8vhs] {
    width: 14px;
    height: 14px;
}

.jscb-person-close:hover[b-dyvi4e8vhs] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-person-summary[b-dyvi4e8vhs] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-person-orders[b-dyvi4e8vhs] {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    max-height: 220px;
    overflow: auto;
}

.jscb-person-order[b-dyvi4e8vhs] {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: baseline;
    gap: 6px;
    padding: 3px 4px;
    border-radius: 6px;
}

.jscb-person-order:hover[b-dyvi4e8vhs] {
    background: var(--jscb-bg-soft);
}

.jscb-person-order-process[b-dyvi4e8vhs] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--jscb-text-muted);
}

.jscb-person-order-hours[b-dyvi4e8vhs] {
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text-muted);
}

/* «Ver su asistencia del mes» (D187, P6): enlace al panel de asistencia del taller. */
.jscb-person-attendance[b-dyvi4e8vhs] {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--jscb-info);
    cursor: pointer;
}

.jscb-person-attendance:hover[b-dyvi4e8vhs] {
    text-decoration: underline;
}

.jscb-person-attendance:focus-visible[b-dyvi4e8vhs] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* «Editar al operario», under «Ver su asistencia del mes». */
.jscb-person-config[b-dyvi4e8vhs] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* D596: the bay of the operator, a button that opens the bays of the workshop. */
.jscb-person-bay[b-dyvi4e8vhs] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 7px 10px 7px 7px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 10px;
    background: var(--jscb-bg);
    font: inherit;
    text-align: left;
    color: var(--jscb-text);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jscb-person-bay:hover[b-dyvi4e8vhs] {
    border-color: var(--jscb-text-muted);
    background: var(--jscb-bg-soft);
}

.jscb-person-bay:focus-visible[b-dyvi4e8vhs] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-person-bay-mark[b-dyvi4e8vhs] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--bay-color, var(--jscb-border-strong));
    border-radius: 8px;
    background: color-mix(in srgb, var(--bay-color, transparent) 22%, var(--jscb-bg));
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Without a bay: the dashed box of the column of the operators. */
.jscb-person-bay.is-unassigned .jscb-person-bay-mark[b-dyvi4e8vhs] {
    border: 1px dashed var(--jscb-border-strong);
    background: transparent;
}

.jscb-person-bay-text[b-dyvi4e8vhs] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
}

.jscb-person-bay-label[b-dyvi4e8vhs] {
    font-size: 11px;
    color: var(--jscb-text-muted);
}

.jscb-person-bay-text b[b-dyvi4e8vhs] {
    overflow-wrap: anywhere;
    font-weight: 700;
}

.jscb-person-bay svg[b-dyvi4e8vhs] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--jscb-text-muted);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPlanAnalysisModal.razor.rz.scp.css */
/* «Ver análisis» (D311, D350): el modal central del sitio. Arriba se lee de un vistazo (la franja del veredicto y las fechas en orden);
   debajo, una sección por pregunta, separadas por la línea de la barra. Una marca por significado y todas ya existían: verde, ámbar y rojo
   son la promesa; el rosa del acento, el tiempo que se gana; el amarillo de la selección, lo que está en pantalla; el ámbar de aviso, un
   dato que distorsiona el plan; el naranja, la sobrecarga (D45). «Lo frena» es una etiqueta neutra. */
.jscb-pa[b-58bkxf0bm6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--st-text-body);
    font-size: 13px;
}

.jscb-pa-outdated[b-58bkxf0bm6] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-warning-text);
}

.jscb-pa-sec[b-58bkxf0bm6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    outline: none;
}

.jscb-pa-sec + .jscb-pa-sec[b-58bkxf0bm6] {
    padding-top: 14px;
    border-top: 1px solid var(--st-border);
}

.jscb-pa h4[b-58bkxf0bm6] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* La franja de los accesos (cercanía y datos), bajo el bloque de fechas de la barra (D349). */
.jscb-pa-band[b-58bkxf0bm6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 10px 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-fill-2);
}

.jscb-pa-margin.is-ok[b-58bkxf0bm6] {
    color: var(--st-success-fg);
}

.jscb-pa-margin.is-tight[b-58bkxf0bm6] {
    color: var(--st-warning-fg, var(--jscb-warn));
}

.jscb-pa-margin.is-late[b-58bkxf0bm6] {
    color: var(--st-danger-fg, var(--jscb-danger-text));
}

/* La cercanía y los datos, con el estilo de la pastilla de la barra; llevan a su sección. */
.jscb-pa-jumps[b-58bkxf0bm6] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jscb-pa-jump[b-58bkxf0bm6] {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

button.jscb-pa-jump[b-58bkxf0bm6] {
    cursor: pointer;
}

.jscb-pa-jump.is-up[b-58bkxf0bm6] {
    color: var(--st-accent-text, var(--jscb-accent));
}

.jscb-pa-jump.is-ok[b-58bkxf0bm6] {
    color: var(--st-success-fg);
}

.jscb-pa-jump.is-data[b-58bkxf0bm6] {
    border-color: var(--jscb-warn-border, var(--st-warning-border));
    background: var(--jscb-warn-bg, var(--st-warning-bg-strong));
    color: var(--jscb-warn-text, var(--st-warning-text));
}

.jscb-pa-fig dt[b-58bkxf0bm6] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.jscb-pa-detail[b-58bkxf0bm6] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.jscb-pa-meta[b-58bkxf0bm6] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-pa-meta > span + span[b-58bkxf0bm6]::before {
    content: '·';
    margin-right: 10px;
    color: var(--st-text-muted);
}

.jscb-pa-note[b-58bkxf0bm6] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

/* Las tablas de los pasos y de las opciones: una fila por cosa y, debajo, sus líneas grises. */
.jscb-pa-scroll[b-58bkxf0bm6] {
    overflow-x: auto;
}

.jscb-pa-table[b-58bkxf0bm6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.jscb-pa-table thead th[b-58bkxf0bm6] {
    padding: 0 8px 6px;
    border-bottom: 1px solid var(--st-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--st-text-muted);
}

/* The promise's date under its heading, so the column stays as narrow as its margins. */
.jscb-pa-th-detail[b-58bkxf0bm6] {
    display: block;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--st-text-subtle);
}

.jscb-pa-table tbody th[b-58bkxf0bm6],
.jscb-pa-table tbody td[b-58bkxf0bm6] {
    padding: 7px 8px 2px;
    font-weight: 400;
    text-align: left;
    vertical-align: baseline;
    color: var(--st-text-body);
}

.jscb-pa-table tbody tr:last-child > *[b-58bkxf0bm6] {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.jscb-pa-table .jscb-pa-more > td[b-58bkxf0bm6] {
    padding-top: 0;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-pa-more span[b-58bkxf0bm6] {
    display: block;
}

.jscb-pa-more span span[b-58bkxf0bm6] {
    display: inline;
}

.jscb-pa-table .is-when[b-58bkxf0bm6] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.jscb-pa-table .is-num[b-58bkxf0bm6] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.jscb-pa-table tbody .is-num[b-58bkxf0bm6] {
    color: var(--st-text-secondary);
}

/* F20-5: el colchón de una barra que aún no se guarda se elige aquí. */
.jscb-pa-cushion-select[b-58bkxf0bm6] {
    height: 24px;
    max-width: 150px;
    padding: 0 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-fill-4);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.jscb-pa-cushion-select:disabled[b-58bkxf0bm6] {
    cursor: default;
    opacity: 0.6;
}

.jscb-pa-table .jscb-pa-step-name[b-58bkxf0bm6],
.jscb-pa-table .jscb-pa-option[b-58bkxf0bm6] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-pa-dot[b-58bkxf0bm6] {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 50%;
}

/* El paso que frena: un fondo apenas más claro y la etiqueta neutra que lleva a «Lo frena». */
.jscb-pa-steps tbody.is-neck > tr > *[b-58bkxf0bm6] {
    background: var(--st-fill-2);
}

.jscb-pa-tag[b-58bkxf0bm6] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin-left: 6px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

button.jscb-pa-tag[b-58bkxf0bm6] {
    cursor: pointer;
}

/* «Lo frena»: la frase una vez y sus cifras. */
.jscb-pa-lead[b-58bkxf0bm6] {
    margin: 0;
    color: var(--st-text-body);
}

.jscb-pa-figs[b-58bkxf0bm6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin: 0;
}

.jscb-pa-fig[b-58bkxf0bm6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-fill-2);
}

.jscb-pa-fig dd[b-58bkxf0bm6] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.jscb-pa-fig dd.jscb-pa-detail[b-58bkxf0bm6] {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--st-text-subtle);
}

.jscb-pa-load[b-58bkxf0bm6] {
    display: block;
    height: 6px;
    margin-top: 4px;
    border-radius: 3px;
    background: var(--st-fill-4);
    overflow: hidden;
}

.jscb-pa-load > span[b-58bkxf0bm6] {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--st-text-subtle);
}

.jscb-pa-load.is-over > span[b-58bkxf0bm6] {
    background: var(--jscb-overload, #ea580c);
}

.jscb-pa-plates[b-58bkxf0bm6] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.jscb-pa-plate[b-58bkxf0bm6] {
    padding: 0 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* «Cómo podría entrar antes»: la opción en pantalla, con el amarillo de la selección (como la fila elegida de la barra). */
.jscb-pa-options tbody.is-on > tr > *[b-58bkxf0bm6] {
    background: var(--kodawari-selected-soft);
}

.jscb-pa-options tbody.is-on > tr > :first-child[b-58bkxf0bm6] {
    box-shadow: inset 2px 0 0 var(--kodawari-selected);
}

.jscb-pa-options .jscb-pa-option[b-58bkxf0bm6] {
    min-width: 190px;
}

.jscb-pa-table tbody tr.jscb-pa-group > th[b-58bkxf0bm6] {
    padding: 10px 8px 2px;
    border-bottom: 0;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.jscb-pa-gain[b-58bkxf0bm6] {
    font-weight: 700;
    white-space: nowrap;
    color: var(--st-accent-text, var(--jscb-accent));
}

.jscb-pa-none[b-58bkxf0bm6] {
    color: var(--st-text-muted);
}

.jscb-pa-table .jscb-pa-margin[b-58bkxf0bm6] {
    font-weight: 600;
    white-space: nowrap;
}

.jscb-pa-table td.jscb-pa-act[b-58bkxf0bm6] {
    text-align: right;
    white-space: nowrap;
}

.jscb-pa-onscreen[b-58bkxf0bm6] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.jscb-pa-choose[b-58bkxf0bm6],
.jscb-pa-fix[b-58bkxf0bm6] {
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-pa-choose[b-58bkxf0bm6] {
    height: 24px;
    border-radius: 6px;
}

.jscb-pa-fix[b-58bkxf0bm6] {
    flex: none;
    height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--jscb-bg, var(--st-surface));
}

.jscb-pa-choose:disabled[b-58bkxf0bm6] {
    color: var(--st-text-muted);
    cursor: default;
}

.jscb-pa-lost[b-58bkxf0bm6] {
    font-weight: 600;
    color: var(--st-danger-fg, var(--jscb-danger-text));
}

.jscb-pa-ask[b-58bkxf0bm6] {
    font-weight: 600;
    color: var(--st-text-secondary);
}

/* «Datos que afectan este plan»: un renglón con el ámbar de aviso por dato, con su acceso a la derecha. */
.jscb-pa-issues[b-58bkxf0bm6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jscb-pa-issue[b-58bkxf0bm6] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid var(--jscb-warn-border, var(--st-warning-border));
    border-radius: 8px;
    background: var(--jscb-warn-bg, var(--st-warning-bg-strong));
    color: var(--st-text-body);
    font-size: 12.5px;
}

.jscb-pa-issue > span[b-58bkxf0bm6] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-pa-list[b-58bkxf0bm6] {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-pa-jump:focus-visible[b-58bkxf0bm6],
.jscb-pa-tag:focus-visible[b-58bkxf0bm6],
.jscb-pa-choose:focus-visible[b-58bkxf0bm6],
.jscb-pa-fix:focus-visible[b-58bkxf0bm6] {
    outline: var(--jscb-focus-ring, 2px solid #d81b84);
    outline-offset: 2px;
}

.jscb-pa-sr[b-58bkxf0bm6] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .jscb-pa-issue[b-58bkxf0bm6] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPlanLeveling.razor.rz.scp.css */
/* La nivelación en «Por qué aquí» (D617): sin letra menor de 11 px, y los colores son los del sistema (claro y oscuro). */
.jscb-lvl[b-l4uhbmrg3a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--st-border);
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-lvl-head[b-l4uhbmrg3a] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 12px;
}

.jscb-lvl-label[b-l4uhbmrg3a] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-secondary);
}

.jscb-lvl-note[b-l4uhbmrg3a] {
    margin: 0;
    color: var(--st-text-secondary);
}

.jscb-lvl-note.is-error[b-l4uhbmrg3a] {
    color: var(--st-danger-text);
}

.jscb-lvl-list[b-l4uhbmrg3a] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jscb-lvl-row[b-l4uhbmrg3a] {
    display: grid;
    grid-template-columns: 16px 100px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: baseline;
}

.jscb-lvl-name[b-l4uhbmrg3a] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.jscb-lvl-text[b-l4uhbmrg3a] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.jscb-lvl-link[b-l4uhbmrg3a] {
    padding: 0 2px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.jscb-lvl-link:focus-visible[b-l4uhbmrg3a] {
    outline: 2px solid var(--st-accent-text);
    outline-offset: 2px;
    border-radius: 3px;
}

@media (max-width: 720px) {
    .jscb-lvl-row[b-l4uhbmrg3a] {
        grid-template-columns: 16px minmax(0, 1fr) auto;
    }

    .jscb-lvl-text[b-l4uhbmrg3a] {
        grid-row: 2;
        grid-column: 2 / -1;
    }

    .jscb-lvl-row > .jscb-lvl-link[b-l4uhbmrg3a] {
        grid-row: 1;
        grid-column: 3;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPlanMenu.razor.rz.scp.css */
/* «Plan de mañana»: the button in row 1 of the bar (D546) and the panel that opens under it, to its right edge, so it opens towards
   the board. The rows come from the board and are styled there (.jplan-rows in JscbBoard.razor.css). */
.jplan-menu[b-1yuvo2ia4i] {
    position: relative;
    display: inline-flex;
}

/* The height and the corner of the buttons of the bar (28 px, radius 8), next to «Reacomodar taller». */
.jplan-trigger[b-1yuvo2ia4i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--jscb-info);
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-info);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.jplan-trigger:hover[b-1yuvo2ia4i],
.jplan-menu.is-open .jplan-trigger[b-1yuvo2ia4i] {
    background-color: color-mix(in srgb, var(--jscb-info) 12%, transparent);
}

.jplan-trigger:focus-visible[b-1yuvo2ia4i] {
    outline: 2px solid var(--jscb-info);
    outline-offset: 2px;
}

.jplan-dot[b-1yuvo2ia4i] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jscb-text-muted);
}

.jplan-trigger.is-published .jplan-dot[b-1yuvo2ia4i] {
    background: var(--jscb-ok, #2e9e6b);
}

.jplan-trigger.is-changed .jplan-dot[b-1yuvo2ia4i] {
    background: var(--jscb-warn, #c98a12);
}

/* The rest of the label keeps its own space before it; the bar hides it when it narrows (JscbHeaderBar.razor.css). */
.jplan-label-rest[b-1yuvo2ia4i] {
    white-space: pre;
}

.jplan-badge[b-1yuvo2ia4i] {
    min-width: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--jscb-warn, #c98a12);
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.jplan-chevron[b-1yuvo2ia4i] {
    width: 12px;
    height: 12px;
    transition: transform 0.15s ease;
}

.jplan-menu.is-open .jplan-chevron[b-1yuvo2ia4i] {
    transform: rotate(180deg);
}

.jplan-backdrop[b-1yuvo2ia4i] {
    position: fixed;
    inset: 0;
    z-index: 69;
}

.jplan-panel[b-1yuvo2ia4i] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 10px;
    border: 1px solid var(--jscb-border);
    border-radius: 12px;
    background: var(--jscb-bg, #ffffff);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
    white-space: normal;
}

.jplan-head[b-1yuvo2ia4i] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--jscb-border);
}

.jplan-rows[b-1yuvo2ia4i] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPlanReviewList.razor.rz.scp.css */
/* F17 (F17-4): «Revisión de mañana», dentro de la zona derecha, como «Imprevistos». */
.jrv[b-d9qe65enpl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 12px;
}

.jrv-day[b-d9qe65enpl] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text, #1e293b);
}

.jrv-all-ok[b-d9qe65enpl] {
    color: var(--st-success-fg, #15803d);
}

.jrv-check[b-d9qe65enpl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface, #fff);
}

.jrv-check.has-problems[b-d9qe65enpl] {
    border-color: var(--st-warning-border, #fde68a);
    background: var(--st-warning-bg, #fffbeb);
}

.jrv-head[b-d9qe65enpl] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jrv-head h4[b-d9qe65enpl] {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jrv-code[b-d9qe65enpl] {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--st-border, #e2e8f0);
    color: var(--st-text-strong, #0f172a);
    font-size: 11px;
    font-weight: 800;
}

.jrv-count[b-d9qe65enpl] {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.jrv-link[b-d9qe65enpl] {
    padding: 2px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #1e293b);
    font-size: 12px;
    cursor: pointer;
}

.jrv-help[b-d9qe65enpl] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle, #64748b);
}

.jrv-items[b-d9qe65enpl] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jrv-item[b-d9qe65enpl] {
    font-size: 12.5px;
    color: var(--st-warning-text, #92400e);
}

.jrv-item.is-info[b-d9qe65enpl] {
    color: var(--st-text-subtle, #64748b);
}

.jrv-item-open[b-d9qe65enpl] {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
    cursor: pointer;
}

.jrv-item-acts[b-d9qe65enpl] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.jrv-ok[b-d9qe65enpl] {
    margin: 0;
    font-size: 12px;
    color: var(--st-success-fg, #15803d);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPlanWhy.razor.rz.scp.css */
/* «Por qué» desplegado: alto limitado para no comerse el tablero; lo demás baja con su propio scroll. */
.jscb-why[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: min(46vh, 440px);
    overflow-y: auto;
    padding-top: 8px;
    border-top: 1px solid var(--st-border);
    font-size: 12px;
    color: var(--st-text-secondary);
}

.jscb-why-label[b-x2j24zt9zc] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

/* El camino hasta la fecha: se lee de izquierda a derecha, con el color solo donde algo frena o donde queda la promesa. */
.jscb-why-path[b-x2j24zt9zc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.25fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
    gap: 6px;
    align-items: stretch;
}

.jscb-why-node[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-fill-2);
}

.jscb-why-node b[b-x2j24zt9zc] {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.jscb-why-node small[b-x2j24zt9zc] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-why-node.is-neck[b-x2j24zt9zc] {
    border-color: var(--jscb-warn-border);
    background: var(--jscb-warn-bg);
}

.jscb-why-node.is-neck b[b-x2j24zt9zc],
.jscb-why-node.is-neck small[b-x2j24zt9zc] {
    color: var(--jscb-warn-text);
}

.jscb-why-node.is-ok[b-x2j24zt9zc] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.jscb-why-node.is-ok b[b-x2j24zt9zc],
.jscb-why-node.is-ok small[b-x2j24zt9zc] {
    color: var(--st-success-fg);
}

.jscb-why-node.is-late[b-x2j24zt9zc] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.jscb-why-node.is-late b[b-x2j24zt9zc],
.jscb-why-node.is-late small[b-x2j24zt9zc] {
    color: var(--st-danger-fg);
}

.jscb-why-arrow[b-x2j24zt9zc] {
    align-self: center;
    text-align: center;
    font-size: 14px;
    color: var(--st-text-faint);
}

.jscb-why-split[b-x2j24zt9zc] {
    display: grid;
    grid-template-columns: minmax(300px, 5fr) minmax(0, 8fr);
    gap: 16px;
    align-items: start;
}

.jscb-why-col[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.jscb-why-col-head[b-x2j24zt9zc] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 2px 12px;
    padding: 2px 0;
}

.jscb-why-tally[b-x2j24zt9zc] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.jscb-why-checks[b-x2j24zt9zc] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.jscb-why-check[b-x2j24zt9zc] {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 6px;
    align-items: start;
    padding: 5px 7px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
}

button.jscb-why-check[b-x2j24zt9zc] {
    cursor: pointer;
}

button.jscb-why-check:hover[b-x2j24zt9zc] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-2);
}

.jscb-why-check:focus-visible[b-x2j24zt9zc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-why-check:last-child:nth-child(odd)[b-x2j24zt9zc] {
    grid-column: 1 / -1;
}

.jscb-why-icon[b-x2j24zt9zc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.jscb-why-icon.is-ok[b-x2j24zt9zc] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

.jscb-why-icon.is-hold[b-x2j24zt9zc] {
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
}

.jscb-why-icon.is-bad[b-x2j24zt9zc] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.jscb-why-check b[b-x2j24zt9zc] {
    display: block;
    font-size: 12px;
    color: var(--st-text-strong);
}

.jscb-why-check span span[b-x2j24zt9zc] {
    display: block;
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--st-text-subtle);
}

.jscb-why-neck[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
}

.jscb-why-neck-text[b-x2j24zt9zc] {
    font-weight: 600;
    color: var(--jscb-warn-text);
}

.jscb-why-figures[b-x2j24zt9zc] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.jscb-why-figures:empty[b-x2j24zt9zc] {
    display: none;
}

.jscb-why-figure[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 96px;
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.jscb-why-load[b-x2j24zt9zc] {
    display: block;
    height: 5px;
    border-radius: 3px;
    background: var(--st-fill-4);
    overflow: hidden;
}

.jscb-why-load > span[b-x2j24zt9zc] {
    display: block;
    height: 100%;
    background: var(--st-text-muted);
}

.jscb-why-load.is-over > span[b-x2j24zt9zc] {
    background: var(--jscb-warn, #c98a12);
}

.jscb-why-plates[b-x2j24zt9zc] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.jscb-why-plate[b-x2j24zt9zc] {
    padding: 0 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* El recorrido: un renglón por proceso con las mismas columnas que la regla de días, para leerlo de una mirada. */
.jscb-why-chart[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jscb-why-chart-head[b-x2j24zt9zc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 2px 0;
}

.jscb-why-scale[b-x2j24zt9zc],
.jscb-why-head[b-x2j24zt9zc] {
    display: grid;
    grid-template-columns: minmax(150px, 170px) minmax(0, 1fr) minmax(84px, 120px) 12px;
    column-gap: 10px;
    align-items: center;
}

.jscb-why-scale[b-x2j24zt9zc] {
    padding: 0 6px;
}

.jscb-why-scale > .jscb-why-ruler[b-x2j24zt9zc] {
    grid-column: 2;
}

.jscb-why-head[b-x2j24zt9zc] {
    width: 100%;
    min-height: 28px;
    padding: 3px 6px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-why-head:hover[b-x2j24zt9zc] {
    background: var(--st-fill-2);
}

.jscb-why-head:focus-visible[b-x2j24zt9zc] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

.jscb-why-state[b-x2j24zt9zc] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--st-text-muted);
}

.jscb-why-state.is-held[b-x2j24zt9zc] {
    font-weight: 600;
    color: var(--jscb-warn-text);
}

.jscb-why-chevron[b-x2j24zt9zc] {
    color: var(--st-text-muted);
    font-size: 10px;
    text-align: center;
}

.jscb-why-ruler[b-x2j24zt9zc] {
    position: relative;
    height: 16px;
}

.jscb-why-day[b-x2j24zt9zc] {
    position: absolute;
    top: 0;
    font-size: 10.5px;
    color: var(--st-text-muted);
    white-space: nowrap;
}

.jscb-why-row[b-x2j24zt9zc] {
    border-top: 1px solid var(--st-border);
}

/* El proceso que frena se distingue del resto sin abrir nada. */
.jscb-why-row.is-neck[b-x2j24zt9zc] {
    border-radius: 6px;
    background: var(--jscb-warn-bg);
}

.jscb-why-row.is-neck .jscb-why-head:hover[b-x2j24zt9zc] {
    background: none;
}

.jscb-why-name[b-x2j24zt9zc] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--st-text-strong);
}

.jscb-why-name b[b-x2j24zt9zc] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-why-dot[b-x2j24zt9zc] {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.jscb-why-neck-tag[b-x2j24zt9zc] {
    flex: none;
    padding: 0 6px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 9999px;
    background: var(--st-surface);
    color: var(--jscb-warn-text);
    font-size: 10.5px;
    font-weight: 700;
}

.jscb-why-track[b-x2j24zt9zc] {
    position: relative;
    height: 16px;
    border-radius: 4px;
    background: var(--st-fill-2);
    overflow: hidden;
}

.jscb-why-track > span[b-x2j24zt9zc] {
    position: absolute;
    top: 0;
    bottom: 0;
}

.jscb-why-gridline[b-x2j24zt9zc] {
    width: 1px;
    background: var(--st-border);
}

.jscb-why-block[b-x2j24zt9zc] {
    min-width: 2px;
    background: color-mix(in srgb, var(--jscb-warn, #c98a12) 55%, transparent);
}

.jscb-why-block.is-closed[b-x2j24zt9zc] {
    background: var(--st-fill-4);
    box-shadow: none;
}

.jscb-why-bar[b-x2j24zt9zc] {
    top: 2px !important;
    bottom: 2px !important;
    min-width: 3px;
    border-radius: 3px;
}

.jscb-why-mark[b-x2j24zt9zc] {
    width: 2px;
    transform: translateX(-1px);
    background: var(--st-text-strong);
}

.jscb-why-mark.is-ok[b-x2j24zt9zc] { background: var(--st-success-fg); }
.jscb-why-mark.is-tight[b-x2j24zt9zc] { background: var(--st-warning-fg); }
.jscb-why-mark.is-late[b-x2j24zt9zc] { background: var(--st-danger-fg); }

.jscb-why-detail[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 6px 6px 21px;
    color: var(--st-text-body);
}

.jscb-why-facts[b-x2j24zt9zc] {
    color: var(--st-text-subtle);
}

.jscb-why-reasons[b-x2j24zt9zc] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.jscb-why-reasons li[b-x2j24zt9zc] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.jscb-why-kind[b-x2j24zt9zc] {
    flex: none;
    padding: 0 6px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 4px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font-size: 10.5px;
    font-weight: 700;
}

.jscb-why-kind.is-closed[b-x2j24zt9zc] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-4);
    color: var(--st-text-secondary);
}

.jscb-why-toggle[b-x2j24zt9zc] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--kodawari-selected-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.jscb-why-toggle:focus-visible[b-x2j24zt9zc] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-why-legend[b-x2j24zt9zc] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 11px;
    color: var(--st-text-subtle);
}

.jscb-why-legend > span[b-x2j24zt9zc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jscb-why-key[b-x2j24zt9zc] {
    width: 12px;
    height: 10px;
    border-radius: 2px;
}

.jscb-why-key.is-work[b-x2j24zt9zc] { background: var(--jscb-chip-neutral); }
.jscb-why-key.is-busy[b-x2j24zt9zc] { background: color-mix(in srgb, var(--jscb-warn, #c98a12) 55%, transparent); }
.jscb-why-key.is-closed[b-x2j24zt9zc] { background: var(--st-fill-4); }
.jscb-why-key.is-line[b-x2j24zt9zc] { width: 2px; background: var(--st-text-strong); }
.jscb-why-key.is-line.is-ok[b-x2j24zt9zc] { background: var(--st-success-fg); }
.jscb-why-key.is-line.is-tight[b-x2j24zt9zc] { background: var(--st-warning-fg); }
.jscb-why-key.is-line.is-late[b-x2j24zt9zc] { background: var(--st-danger-fg); }

.jscb-why-note[b-x2j24zt9zc] {
    color: var(--st-text-subtle);
}

.jscb-why-note[b-x2j24zt9zc]::first-letter {
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .jscb-why-split[b-x2j24zt9zc] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .jscb-why-checks[b-x2j24zt9zc] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Angosto, la regla y las barras pasan a su propio renglón; el nombre y lo que lo retuvo quedan arriba. */
@media (max-width: 900px) {
    .jscb-why-path[b-x2j24zt9zc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .jscb-why-arrow[b-x2j24zt9zc] {
        display: none;
    }

    .jscb-why-scale[b-x2j24zt9zc] {
        display: none;
    }

    .jscb-why-head[b-x2j24zt9zc] {
        grid-template-columns: minmax(0, 1fr) auto 12px;
        row-gap: 3px;
    }

    .jscb-why-track[b-x2j24zt9zc] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbProcessCard.razor.rz.scp.css */
/* Ficha del proceso (D41): misma familia que la ficha de la OT pero más corta; se ancla dentro de
   .jscb-grid-inner y va por encima de todo lo de la grilla. */
.jscb-process-card[b-qrcfq1cgu1] {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--jscb-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    color: var(--jscb-text);
    font-size: 12px;
    line-height: 1.3;
    cursor: default;
    overflow: auto;
    overscroll-behavior: contain;
}

/* ─── Cabecera ──────────────────────────────────────────────────────────── */
.jscb-pc-head[b-qrcfq1cgu1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jscb-pc-swatch[b-qrcfq1cgu1] {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 3px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.jscb-pc-identity[b-qrcfq1cgu1] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-pc-title[b-qrcfq1cgu1] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-pc-sub[b-qrcfq1cgu1] {
    margin-top: 2px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-pc-sep[b-qrcfq1cgu1] {
    margin: 0 4px;
    color: var(--jscb-text-faint);
}

.jscb-pc-close[b-qrcfq1cgu1] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-pc-close svg[b-qrcfq1cgu1] {
    width: 15px;
    height: 15px;
}

.jscb-pc-close:hover[b-qrcfq1cgu1] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-pc-close:focus-visible[b-qrcfq1cgu1] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* ─── Etiquetas de estado ───────────────────────────────────────────────── */
.jscb-pc-tags[b-qrcfq1cgu1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.jscb-pc-tag[b-qrcfq1cgu1] {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

.jscb-pc-tag.is-progress[b-qrcfq1cgu1] {
    border-color: var(--jscb-ink);
    color: var(--jscb-text);
}

.jscb-pc-tag.is-done[b-qrcfq1cgu1] {
    background: var(--jscb-bg-soft);
}

/* Fichaje cerrado con el paso aún abierto (F1): pausa, no fin. */
.jscb-pc-tag.is-paused[b-qrcfq1cgu1] {
    border-color: var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

/* D312: plan vencido, recursos liberados: error. */
.jscb-pc-tag.is-expired[b-qrcfq1cgu1] {
    border-color: var(--jscb-danger);
    color: var(--jscb-danger-text);
}

/* F3: vencido sin iniciar y horas por encima de la referencia, en ámbar (atención, D45). */
.jscb-pc-tag.is-overdue[b-qrcfq1cgu1],
.jscb-pc-tag.is-over-ref[b-qrcfq1cgu1] {
    border-color: var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

.jscb-pc-tag.is-tentative[b-qrcfq1cgu1] {
    border-style: dashed;
}

.jscb-pc-tag.is-unplanned[b-qrcfq1cgu1] {
    border-style: dotted;
}

.jscb-pc-tag.is-pin[b-qrcfq1cgu1] {
    border-color: var(--jscb-ink);
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
}

/* ─── Datos del paso ────────────────────────────────────────────────────── */
.jscb-pc-facts[b-qrcfq1cgu1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0;
}

.jscb-pc-facts > div[b-qrcfq1cgu1] {
    min-width: 0;
}

.jscb-pc-facts dt[b-qrcfq1cgu1] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--jscb-text-muted);
}

.jscb-pc-facts dd[b-qrcfq1cgu1] {
    margin: 1px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Capas del paso ────────────────────────────────────────────────────── */
.jscb-pc-layers[b-qrcfq1cgu1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-pc-layer[b-qrcfq1cgu1] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.jscb-pc-layer-name[b-qrcfq1cgu1] {
    flex: 0 0 76px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jscb-pc-layer-hours[b-qrcfq1cgu1] {
    flex: 0 0 auto;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jscb-pc-layer-range[b-qrcfq1cgu1] {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    color: var(--jscb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-pc-layer.is-current .jscb-pc-layer-range[b-qrcfq1cgu1] {
    color: var(--jscb-accent);
    font-weight: 600;
}

/* ─── Tiempo muerto ─────────────────────────────────────────────────────── */
.jscb-pc-breaks[b-qrcfq1cgu1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-pc-breaks-head[b-qrcfq1cgu1] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--jscb-text-muted);
}

.jscb-pc-break[b-qrcfq1cgu1] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jscb-pc-break-mark[b-qrcfq1cgu1] {
    flex: 0 0 auto;
    width: 14px;
    height: 8px;
    border: 1px dashed color-mix(in srgb, var(--st-text-subtle) 55%, transparent);
    border-radius: 2px;
    background: var(--jscb-bg-row);
}

/* ─── Imprevisto ────────────────────────────────────────────────────────── */
.jscb-pc-impediment[b-qrcfq1cgu1] {
    padding: 6px 8px;
    border: 1px solid var(--jscb-warn-border);
    border-radius: 8px;
    background: var(--jscb-warn-bg);
    color: var(--jscb-warn-text);
    font-weight: 600;
}

.jscb-pc-impediment.is-stopped[b-qrcfq1cgu1] {
    border-color: var(--jscb-error-border);
    background: var(--jscb-error-bg);
    color: var(--jscb-error-text);
}

/* ─── Pie ───────────────────────────────────────────────────────────────── */
.jscb-pc-foot[b-qrcfq1cgu1] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-pc-btn[b-qrcfq1cgu1] {
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.jscb-pc-btn.is-primary[b-qrcfq1cgu1] {
    border-color: var(--jscb-ink);
    background: var(--jscb-ink);
    color: var(--jscb-on-ink);
}

.jscb-pc-btn:hover[b-qrcfq1cgu1] {
    border-color: var(--jscb-text-faint);
}

.jscb-pc-btn.is-primary:hover[b-qrcfq1cgu1] {
    background: var(--jscb-text);
}

.jscb-pc-btn:focus-visible[b-qrcfq1cgu1] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

/* ─── Pronóstico del paso (F5) ─────────────────────────────────────────── */
/* Flex con wrap, no grid: las fechas no parten línea y en columnas fijas se montaban sobre la vecina. */
.jscb-pc-forecast[b-qrcfq1cgu1] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0;
    padding: 6px 0;
    border-top: 1px solid var(--jscb-border);
}

.jscb-pc-forecast > div[b-qrcfq1cgu1] {
    min-width: 0;
    max-width: 100%;
}

.jscb-pc-forecast dt[b-qrcfq1cgu1] {
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

.jscb-pc-forecast dd[b-qrcfq1cgu1] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-pc-forecast dd.is-over[b-qrcfq1cgu1] {
    color: var(--jscb-warn-text);
}

.jscb-pc-push[b-qrcfq1cgu1] {
    margin: 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--jscb-warn-bg, var(--st-warning-bg-strong));
    color: var(--jscb-warn-text, var(--st-warning-text));
    font-size: 12px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbProcessGroupHead.razor.rz.scp.css */
/* D541, D542: the head of a process in the lists of the side panels. A band with the colors turned around (Johan, 17-nov): in the dark
   theme its ground is the color the letters of the panel had (--jscb-text-muted) and its letters the navy of the panel (--jscb-bg); in
   the light one, a pale navy ground with the navy letters of the brand. It lines up with the cards (10 px from the edges) and folds them
   like an accordion. Tokens --jscb-* come from the root of the board; --st-is-light is 1 in the light theme and 0 in the dark one. */
.jscb-process-head[b-ay4d80t1qz] {
    --process-head-ground: color-mix(in srgb,
        color-mix(in srgb, var(--st-text-brand) 12%, var(--jscb-bg)) calc(var(--st-is-light, 0) * 100%),
        var(--jscb-text-muted));
    --process-head-ink: color-mix(in srgb, var(--st-text-brand) calc(var(--st-is-light, 0) * 100%), var(--jscb-bg));
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: calc(100% - 20px);
    margin: 8px 10px 0;
    padding: 3px 8px 3px 3px;
    border: 0;
    border-radius: 8px;
    background: var(--process-head-ground);
    color: var(--process-head-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.jscb-process-head:hover[b-ay4d80t1qz] {
    filter: brightness(1.04);
}

.jscb-process-head:focus-visible[b-ay4d80t1qz] {
    outline: 2px solid var(--kodawari-selected, #e5b900);
    outline-offset: 2px;
}

/* The icons of the processes are drawn for a light ground: the circle is white in the light and in the dark theme, with the ring of the
   color of the process; without icon, its letters in a fixed grey. It is bigger than the band and spills a little out of it at the left,
   above and below (Johan, 17-nov): the negative margins keep the height of the band as it was. */
.jscb-process-head-icon[b-ay4d80t1qz] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    margin: -6px 0 -6px -7px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 2px var(--process-color), 0 1px 3px rgba(15, 23, 42, 0.25);
}

.jscb-process-head-code[b-ay4d80t1qz] {
    color: #64748b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.jscb-process-head-icon img[b-ay4d80t1qz] {
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    object-fit: contain;
    background: #ffffff;
}

.jscb-process-head-name[b-ay4d80t1qz] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-process-head-count[b-ay4d80t1qz] {
    flex: 0 0 auto;
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--process-head-ink) 14%, transparent);
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.jscb-process-head-chevron[b-ay4d80t1qz] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    transition: transform 0.15s ease;
}

.jscb-process-head.is-collapsed .jscb-process-head-chevron[b-ay4d80t1qz] {
    transform: rotate(-90deg);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPromiseList.razor.rz.scp.css */
/* Panel Promesas (F5). Con aire por dentro (D69), como los demás paneles: nada pegado al borde. */
.jscb-prom[b-s66copgb1o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 12px;
    font-size: 12px;
}

.jscb-prom-tabs[b-s66copgb1o] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.jscb-prom-tab[b-s66copgb1o] {
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* Pestaña y filtro elegidos (D75, D91): como todo botón activo de los tableros, amarillo suave con borde
   amarillo y texto azul marino. */
.jscb-prom-tab.is-active[b-s66copgb1o] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-prom-risk[b-s66copgb1o] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--jscb-text);
    cursor: pointer;
}

.jscb-prom-filters[b-s66copgb1o] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.jscb-prom-filter[b-s66copgb1o] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    cursor: pointer;
}

.jscb-prom-filter.is-active[b-s66copgb1o] {
    border-color: var(--kodawari-selected);
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
    font-weight: 700;
}

.jscb-prom-filter.is-active .jscb-prom-count[b-s66copgb1o] {
    color: var(--kodawari-selected-text);
}

.jscb-prom-count[b-s66copgb1o] {
    color: var(--jscb-text-muted);
    font-size: 11px;
}

/* D550: como sus globos en el botón «Promesas» de la barra: Tarde en ámbar y Sin plan punteado, como las barras sin plan. */
.jscb-prom-filter[data-prom-filter="Late"]:not(.is-active) .jscb-prom-count[b-s66copgb1o] {
    color: var(--jscb-warn);
    font-weight: 700;
}

.jscb-prom-filter[data-prom-filter="Unplanned"][b-s66copgb1o] {
    border-style: dashed;
}

.jscb-prom-empty[b-s66copgb1o] {
    padding: 16px 0;
    color: var(--jscb-text-muted);
    text-align: center;
}

/* D496: a group per process the orders are in now, like the pockets of «Salida del taller»: the colour dot, the name and how many. */
.jscb-prom-group[b-s66copgb1o] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jscb-prom-group + .jscb-prom-group[b-s66copgb1o] {
    margin-top: 4px;
}

.jscb-prom-group-head[b-s66copgb1o] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jscb-text-muted);
}

.jscb-prom-dot[b-s66copgb1o] {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--group-color);
}

.jscb-prom-group-name[b-s66copgb1o] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-prom-group-count[b-s66copgb1o] {
    font-weight: 600;
    color: var(--jscb-text-faint);
}

.jscb-prom-list[b-s66copgb1o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Cada OT es una tarjeta de panel (D77, JscbPanelCard): el estado va en el anillo, la cifra y la palabra. */
.jscb-prom-item[b-s66copgb1o] {
    min-width: 0;
}

.jscb-prom-foot[b-s66copgb1o] {
    padding-top: 6px;
    border-top: 1px solid var(--jscb-border);
    color: var(--jscb-text-muted);
    font-size: 11px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPublishPanel.razor.rz.scp.css */
.jpub-overlay[b-zgjgp5db6y] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jpub-dialog[b-zgjgp5db6y] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-height: min(640px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jpub-head[b-zgjgp5db6y] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jpub-title h2[b-zgjgp5db6y] {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jpub-title p[b-zgjgp5db6y] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jpub-close[b-zgjgp5db6y] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jpub-close:hover[b-zgjgp5db6y] {
    background: var(--st-surface-sunken, #f1f5f9);
}

.jpub-close svg[b-zgjgp5db6y] {
    width: 18px;
    height: 18px;
}

.jpub-body[b-zgjgp5db6y] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
    overflow-y: auto;
}

.jpub-days[b-zgjgp5db6y] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jpub-day[b-zgjgp5db6y] {
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: transparent;
    color: var(--st-text, #334155);
    font-size: 12.5px;
    cursor: pointer;
}

.jpub-day.is-active[b-zgjgp5db6y] {
    border-color: var(--jscb-info, #2563eb);
    background: color-mix(in srgb, var(--jscb-info, #2563eb) 12%, transparent);
    color: var(--jscb-info, #2563eb);
    font-weight: 700;
}

.jpub-version[b-zgjgp5db6y],
.jpub-note[b-zgjgp5db6y] {
    margin: 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jpub-summary[b-zgjgp5db6y] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.jpub-summary div[b-zgjgp5db6y] {
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--st-surface-sunken, #f1f5f9);
}

.jpub-summary dt[b-zgjgp5db6y] {
    font-size: 11px;
    color: var(--st-text-muted, #64748b);
}

.jpub-summary dd[b-zgjgp5db6y] {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jpub-section[b-zgjgp5db6y] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong, #0f172a);
}

.jpub-changes[b-zgjgp5db6y],
.jpub-warnings[b-zgjgp5db6y] {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--st-text, #334155);
}

.jpub-warnings[b-zgjgp5db6y] {
    padding: 8px 12px 8px 28px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--jscb-warn, #c98a12) 12%, transparent);
}

.jpub-reason[b-zgjgp5db6y] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-strong, #0f172a);
}

.jpub-reason textarea[b-zgjgp5db6y] {
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #334155);
    font: inherit;
    font-weight: 400;
    resize: vertical;
}

.jpub-error[b-zgjgp5db6y] {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg, #fee2e2);
    color: var(--st-danger-fg, #991b1b);
    font-size: 12.5px;
}

.jpub-foot[b-zgjgp5db6y] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--st-border);
}

.jpub-cancel[b-zgjgp5db6y],
.jpub-confirm[b-zgjgp5db6y] {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.jpub-cancel[b-zgjgp5db6y] {
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text, #334155);
}

.jpub-confirm[b-zgjgp5db6y] {
    border: 0;
    background: var(--jscb-info, #2563eb);
    color: #fff;
}

.jpub-confirm:disabled[b-zgjgp5db6y] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbPublishStatus.razor.rz.scp.css */
.jpub-strip[b-wmd5pq6fal] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jpub-state[b-wmd5pq6fal] {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.jpub-state.is-draft[b-wmd5pq6fal] {
    color: var(--jscb-text-muted);
    background-color: var(--jscb-bg-row);
}

.jpub-state.is-published[b-wmd5pq6fal] {
    color: var(--jscb-ok, #2e9e6b);
    background-color: color-mix(in srgb, var(--jscb-ok, #2e9e6b) 14%, transparent);
}

.jpub-state.is-changed[b-wmd5pq6fal] {
    color: var(--jscb-warn, #c98a12);
    background-color: color-mix(in srgb, var(--jscb-warn, #c98a12) 14%, transparent);
}

.jpub-open[b-wmd5pq6fal] {
    padding: 4px 10px;
    border: 1px solid var(--jscb-info);
    border-radius: 8px;
    background: transparent;
    color: var(--jscb-info);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.jpub-open:hover[b-wmd5pq6fal] {
    background-color: color-mix(in srgb, var(--jscb-info) 12%, transparent);
}

/* In the menu «Plan de mañana» the button is the last row and takes its whole width. */
.jpub-strip.is-action[b-wmd5pq6fal] {
    display: flex;
}

.jpub-strip.is-action .jpub-open[b-wmd5pq6fal] {
    width: 100%;
    padding: 7px 10px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbRunMarkIcon.razor.rz.scp.css */
/* The marks of an order on the diagram (D617): 3:1 over the surface in both themes, and the sign in the ink of the surface over its color. */
.rm[b-sr03dkpku3] {
    flex: none;
    width: 18px;
    height: 18px;
}

.rm circle[b-sr03dkpku3] {
    fill: var(--st-text-secondary);
}

.rm path[b-sr03dkpku3] {
    fill: none;
    stroke: var(--st-surface);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm.is-met circle[b-sr03dkpku3] { fill: var(--st-success-fg); }
.rm.is-delayed circle[b-sr03dkpku3] { fill: var(--st-info-fg); }
.rm.is-warned circle[b-sr03dkpku3] { fill: var(--st-warning-text); }
.rm.is-decided circle[b-sr03dkpku3] { fill: var(--st-accent-text); }
.rm.is-stopped circle[b-sr03dkpku3] { fill: var(--st-danger-fg); }

.rm.is-skipped circle[b-sr03dkpku3] {
    fill: var(--st-surface);
    stroke: var(--st-text-subtle);
    stroke-width: 1.5;
}

.rm.is-skipped path[b-sr03dkpku3] {
    stroke: var(--st-text-subtle);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbSeatLegend.razor.rz.scp.css */
/* Queda a la vista al desplazar el tablero: pegada a la columna fija. */
.jscb-seat-legend[b-ijf75btj32] {
    position: sticky;
    left: calc(var(--jscb-label-width) + 14px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 16px;
    max-width: calc(100vw - var(--jscb-label-width) - 64px);
    margin-left: 14px;
    font-size: 12px;
    line-height: 16px;
    color: var(--jscb-text-muted);
}

.jscb-seat-legend span[b-ijf75btj32] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* What the strip does not show: after the keys, and cut rather than in another line while there is room for a couple of words. */
.jscb-seat-legend .jscb-seat-left-out[b-ijf75btj32] {
    display: block;
    flex: 1 1 96px;
    min-width: 0;
    max-width: max-content;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-seat-key[b-ijf75btj32] {
    flex: none;
    width: 16px;
    height: 12px;
    box-sizing: border-box;
}

.jscb-seat-key.is-busy[b-ijf75btj32] {
    background: color-mix(in srgb, var(--jscb-text-muted) 72%, var(--jscb-bg));
    border-top: 2px solid var(--st-text-strong);
}

.jscb-seat-key.is-free[b-ijf75btj32] {
    background: color-mix(in srgb, var(--jscb-text-muted) 13%, var(--jscb-bg));
    border-top: 1px solid var(--jscb-text-muted);
}

.jscb-seat-key.is-elsewhere[b-ijf75btj32] {
    background: color-mix(in srgb, var(--jscb-text-muted) 48%, var(--jscb-bg));
}

.jscb-seat-key.is-held[b-ijf75btj32] {
    background: color-mix(in srgb, var(--jscb-text-muted) 22%, var(--jscb-bg));
}

.jscb-seat-key.is-unrecorded[b-ijf75btj32] {
    background: color-mix(in srgb, var(--jscb-text-muted) 26%, var(--jscb-bg));
    border-top: 2px solid var(--jscb-warn);
}

.jscb-seat-key.is-off[b-ijf75btj32] {
    background: var(--jscb-bg-soft);
    border: 1px solid var(--jscb-border-strong);
}

.jscb-seat-key.is-unknown[b-ijf75btj32] {
    border: 1px dashed var(--jscb-text-muted);
}

/* La columna de los equipos deja de ser fija (H2): la leyenda queda al borde. */
@media (max-width: 599.98px) {
    .jscb-seat-legend[b-ijf75btj32] {
        left: 14px;
        max-width: calc(100vw - 64px);
    }
}
/* /Pages/Home/Components/Calendar/Jscb/JscbSeatStrip.razor.rz.scp.css */
/* Franja de cupo (V2, D290, D497, D616): una escalera por renglón. De arriba abajo, 47 px: 3 de aire, 15 de la cifra, 1, 25 del gráfico, 2 y la
   línea que lo cierra; encima de las tarjetas (is-over-cards), 36: 1, 12, 3, 18, 1 y la línea. Las mismas medidas, en JscbSeatStrip.razor.cs. */
.jscb-seat-strip[b-pr0ciozt07] {
    --seat-row: 47px;
    --seat-fig-top: 3px;
    --seat-fig-height: 15px;
    --seat-graph-top: 19px;
    --seat-graph-height: 25px;
    --seat-base: 2px;
}

.jscb-seat-strip.is-over-cards[b-pr0ciozt07] {
    --seat-row: 36px;
    --seat-fig-top: 1px;
    --seat-fig-height: 12px;
    --seat-graph-top: 16px;
    --seat-graph-height: 18px;
    --seat-base: 1px;
}

.jscb-seat-label[b-pr0ciozt07] {
    position: relative;
    background: var(--jscb-bg-alt);
}

/* El nombre queda arriba, a la altura de su gráfico, aunque el grupo se abra con sus líneas. */
.jscb-seat-name[b-pr0ciozt07] {
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    padding: 0 8px;
    border-bottom: 1px solid var(--jscb-border);
    color: var(--jscb-text);
    overflow: hidden;
}

/* «Resumen», el proceso elegido en «Proceso»: el mismo tinte y la misma franja que su color da a los rótulos de las líneas del calendario. Los
   demás renglones quedan como están: se siguen leyendo. */
.jscb-seat-name.is-chosen[b-pr0ciozt07] {
    background: color-mix(in srgb, var(--c) 22%, var(--jscb-bg));
    box-shadow: inset 3px 0 0 var(--c);
}

.jscb-seat-name.is-chosen .jscb-seat-now:not(.is-over)[b-pr0ciozt07],
.jscb-seat-name.is-chosen .jscb-seat-line-name[b-pr0ciozt07] {
    color: var(--st-text-strong);
}

/* El nombre del grupo es el botón que abre sus líneas: chevrón, punto con el color del proceso y dos renglones, el nombre y lo que es AHORA. */
.jscb-seat-toggle[b-pr0ciozt07] {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: calc(var(--seat-row) - 1px);
    margin-left: -5px;
    padding: 0 3px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-seat-toggle:disabled[b-pr0ciozt07] {
    margin-left: 0;
    padding: 0;
    cursor: default;
}

.jscb-seat-toggle:not(:disabled):hover[b-pr0ciozt07] {
    background: var(--jscb-bg-row);
}

/* Por dentro: el renglón recorta lo que se sale. */
.jscb-seat-toggle:focus-visible[b-pr0ciozt07] {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

.jscb-seat-toggle svg[b-pr0ciozt07] {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--jscb-text-muted);
}

.jscb-seat-dot[b-pr0ciozt07] {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.jscb-seat-text[b-pr0ciozt07] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.jscb-seat-head[b-pr0ciozt07] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.jscb-seat-group-name[b-pr0ciozt07] {
    flex: 1 1 auto;
    min-width: 0;
}

.jscb-seat-group-name[b-pr0ciozt07],
.jscb-seat-now[b-pr0ciozt07] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-seat-group-name[b-pr0ciozt07] {
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    color: var(--st-text-strong);
}

.jscb-seat-now[b-pr0ciozt07] {
    font-size: 11.5px;
    font-weight: 500;
    line-height: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text-muted);
}

.jscb-seat-now.is-over[b-pr0ciozt07] {
    font-weight: 700;
    color: color-mix(in srgb, var(--jscb-overload) calc(30% + var(--st-is-light, 0) * 40%), var(--st-text-strong));
}

.jscb-seat-now.jscb-seat-nobody[b-pr0ciozt07] {
    font-weight: 700;
    color: var(--jscb-warn-text);
}

.is-over-cards .jscb-seat-dot[b-pr0ciozt07] {
    width: 8px;
    height: 8px;
}

.is-over-cards .jscb-seat-group-name[b-pr0ciozt07] {
    font-size: 12px;
    line-height: 15px;
}

.is-over-cards .jscb-seat-now[b-pr0ciozt07] {
    font-size: 11px;
    line-height: 13px;
}

/* Las fotos van con el nombre y se montan una sobre otra: lo de AHORA tiene todo el ancho de su renglón. */
.jscb-seat-people[b-pr0ciozt07] {
    flex: none;
    display: inline-flex;
    align-items: center;
}

.jscb-seat-photo[b-pr0ciozt07] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--jscb-bg);
}

.jscb-seat-photo + .jscb-seat-photo[b-pr0ciozt07] {
    margin-left: -5px;
}

.jscb-seat-more[b-pr0ciozt07] {
    margin-left: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    color: var(--jscb-text-muted);
}

.jscb-seat-body[b-pr0ciozt07] {
    background: var(--jscb-bg);
}

/* El módulo de gesto pinta el «+1» dentro de cada renglón: necesita que sea su referencia de posición. Los colores del gráfico salen del
   proceso: lo ocupado, firme; su borde de arriba, más oscuro que el relleno (en el tema oscuro, el color entero); lo libre, apenas un tinte. */
.jscb-seat-group[b-pr0ciozt07] {
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--jscb-border);
    --seat-bar: color-mix(in srgb, var(--c) 72%, var(--jscb-bg));
    --seat-level: color-mix(in srgb, var(--c) calc(100% - var(--st-is-light, 0) * 40%), var(--st-text-strong));
    --seat-free: color-mix(in srgb, var(--c) 13%, var(--jscb-bg));
    --seat-soft: color-mix(in srgb, var(--c) 26%, var(--jscb-bg));
    --seat-away: color-mix(in srgb, var(--jscb-text-muted) 48%, var(--jscb-bg));
    --seat-held: color-mix(in srgb, var(--jscb-text-muted) 22%, var(--jscb-bg));
    --seat-ink-muted: color-mix(in srgb, var(--jscb-text-muted) 85%, var(--st-text-strong));
}

/* D497, «no trabajan»: el gris liso de lo no disponible (el mismo de las bandas), de un solo elemento por renglón, solo en lo que
   el servidor midió; fuera, «Sin datos». Los tramos y las líneas se respaldan con el fondo para que el gris no asome por su aire. */
.jscb-seat-off[b-pr0ciozt07] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--jscb-bg-soft);
    pointer-events: none;
}

/* Fuera de lo que el servidor midió, la franja no dice ni libre ni cerrado: el mismo «Sin datos» de la vista de arrastre (D604). */
.jscb-seat-unknown[b-pr0ciozt07] {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    padding: 6px 8px;
    overflow: hidden;
    border-left: 1px dashed var(--jscb-text-muted);
    color: var(--jscb-text-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* El hueco del gráfico, sin dibujo: lo que enmarca el «+1» de la OT en la mano. */
.jscb-seat-graph[b-pr0ciozt07] {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--seat-graph-top);
    height: var(--seat-graph-height);
    pointer-events: none;
}

/* D616: un tramo, de un solo elemento y del alto del renglón (su título sale también desde la cifra). De abajo arriba: el aire, lo ocupado
   (--u) con su borde de 2 px, de lo que pasó lo planeado sin registro (--r, D623: tenue y con su borde ámbar, el del vencido), quien está en otro
   proceso (--e, gris) y quien retiene un colchón (--h, el gris de los colchones de las líneas) (D626), lo libre hasta el techo (--k, una línea de
   1 px: la capacidad) y el fondo, que tapa el gris. */
.jscb-seat-seg[b-pr0ciozt07] {
    position: absolute;
    top: 0;
    height: calc(var(--seat-row) - 1px);
    background: linear-gradient(to top,
        var(--jscb-bg) var(--seat-base),
        var(--seat-bar) 0 calc(var(--u, 0px) - 2px),
        var(--seat-level) 0 var(--u, 0px),
        var(--seat-soft) 0 calc(var(--r, 0px) - 2px),
        var(--jscb-warn) 0 var(--r, 0px),
        var(--seat-away) 0 var(--e, 0px),
        var(--seat-held) 0 var(--h, 0px),
        var(--seat-free) 0 calc(var(--k, 0px) - 1px),
        var(--jscb-border-strong) 0 var(--k, 0px),
        var(--jscb-bg) 0);
}

/* Sobrecarga en naranja, nunca rojo (D45): el techo lleno; cuánto se pasa lo dice la cifra. */
.jscb-seat-seg.is-over[b-pr0ciozt07] {
    --seat-bar: color-mix(in srgb, var(--jscb-overload) 62%, var(--jscb-bg));
    --seat-level: var(--jscb-overload);
}

/* La cifra, en su renglón y siempre del mismo tamaño: encima del velo del pasado y de la retícula, nunca sobre el gráfico. */
.jscb-seat-fig[b-pr0ciozt07] {
    position: absolute;
    z-index: 2;
    top: var(--seat-fig-top);
    height: var(--seat-fig-height);
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: var(--seat-fig-height);
    text-align: center;
    white-space: nowrap;
    color: var(--st-text-strong);
}

.is-over-cards .jscb-seat-fig[b-pr0ciozt07] {
    font-size: 12px;
}

.jscb-seat-fig.is-0[b-pr0ciozt07] {
    font-weight: 600;
    color: var(--seat-ink-muted);
}

.jscb-seat-fig.is-past[b-pr0ciozt07] {
    color: var(--seat-ink-muted);
}

/* D623: nada de lo planeado tiene registro («sin registro», «–/7») y lo fichado fuera de jornada («8,2 h fuera»): palabras, no una cifra de cupo. */
.jscb-seat-fig.is-unrecorded[b-pr0ciozt07],
.jscb-seat-fig.is-off-shift[b-pr0ciozt07] {
    font-size: 11px;
    font-weight: 500;
    color: var(--seat-ink-muted);
}

.jscb-seat-fig.is-over[b-pr0ciozt07] {
    color: color-mix(in srgb, var(--jscb-overload) calc(30% + var(--st-is-light, 0) * 40%), var(--st-text-strong));
}

/* D482 (F20-7), D497: el grupo abierto, una línea por puesto bajo su gráfico. Tomada = el color de lo ocupado, en otro proceso y en colchón = sus
   grises (D626), libre = solo su borde, pasada la capacidad = el naranja de la sobrecarga (D45); la que la capacidad no alcanza no se dibuja. */
.jscb-seat-lines[b-pr0ciozt07] {
    position: absolute;
    top: calc(var(--seat-row) - 1px);
    bottom: 1px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--jscb-bg);
    box-shadow: 0 0 0 1px var(--jscb-bg);
}

.jscb-seat-line[b-pr0ciozt07] {
    display: block;
    flex: 1 1 0;
    min-height: 0;
    border-radius: 1px;
    box-sizing: border-box;
}

.jscb-seat-line.is-busy[b-pr0ciozt07] {
    background: var(--seat-bar);
}

.jscb-seat-line.is-free[b-pr0ciozt07] {
    box-shadow: inset 0 0 0 1px var(--seat-bar);
}

.jscb-seat-line.is-over[b-pr0ciozt07] {
    background: var(--jscb-overload);
}

.jscb-seat-line.is-unrecorded[b-pr0ciozt07] {
    background: var(--seat-soft);
    box-shadow: inset 0 0 0 1px var(--jscb-warn);
}

.jscb-seat-line.is-elsewhere[b-pr0ciozt07] {
    background: var(--seat-away);
}

.jscb-seat-line.is-held[b-pr0ciozt07] {
    background: var(--seat-held);
}

.jscb-seat-line.is-none[b-pr0ciozt07] {
    visibility: hidden;
}

/* D622, «Resumen»: el renglón del proceso que lleva las líneas se abre con las del calendario, de 24 px (más alta donde se cruzan carros). El nombre de cada una, en la columna fija. */
.jscb-seat-line-name[b-pr0ciozt07] {
    position: absolute;
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 32px;
    border-top: 1px solid var(--jscb-border);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--jscb-text-muted);
}

.jscb-seat-line-text[b-pr0ciozt07] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-seat-line-free[b-pr0ciozt07] {
    flex: none;
    font-weight: 400;
}

.jscb-seat-cars[b-pr0ciozt07] {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--seat-row) - 1px);
    bottom: 0;
    background: var(--jscb-bg);
}

/* Donde nadie trabaja, una vez detrás de todas las líneas: el mismo gris del renglón. */
.jscb-seat-cars-off[b-pr0ciozt07] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--jscb-bg-soft);
    pointer-events: none;
}

.jscb-seat-car-line[b-pr0ciozt07] {
    position: relative;
    box-sizing: border-box;
    border-top: 1px solid var(--jscb-border);
    /* Una placa que no cabe en su carro no ensancha la grilla (clip no es contenedor de scroll: la placa sigue pegajosa). */
    overflow: clip;
}

/* Un carro en su línea: de su primer paso al último, tenue donde solo la tiene ocupada y firme donde se trabaja, como en la vista de arrastre.
   Los que se cruzan (▲) se reparten el alto. Es un botón: abre su ficha. */
.jscb-seat-car[b-pr0ciozt07],
.jscb-seat-cushion[b-pr0ciozt07] {
    position: absolute;
    top: calc(1px + (100% - 3px) * var(--sub, 0) / var(--subs, 1));
    height: calc((100% - 3px) / var(--subs, 1) - (var(--subs, 1) - 1) * 1px / var(--subs, 1));
    box-sizing: border-box;
}

.jscb-seat-car[b-pr0ciozt07] {
    z-index: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: color-mix(in srgb, var(--c) 28%, var(--jscb-bg));
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-seat-bar[b-pr0ciozt07] {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--seat-bar);
}

/* D623: lo que ya pasó y nadie registró, tenue; el carro lleva a la izquierda la marca ámbar del vencido. */
.jscb-seat-bar.is-unrecorded[b-pr0ciozt07] {
    background: color-mix(in srgb, var(--c) 40%, var(--jscb-bg));
}

.jscb-seat-car.is-unrecorded[b-pr0ciozt07]::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    border-radius: 4px 0 0 4px;
    background: var(--jscb-warn);
    pointer-events: none;
}

/* Sigue a la vista cuando el carro empieza antes de lo que se ve; en uno más corto que su placa sale por la derecha, hasta el carro siguiente. */
.jscb-seat-plate[b-pr0ciozt07] {
    position: sticky;
    left: calc(var(--jscb-label-width, 0px) + 3px);
    z-index: 1;
    flex: none;
    margin: 0 3px;
    padding: 0 5px;
    border-radius: 3px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    white-space: nowrap;
}

/* Pasada la capacidad: el borde y el ▲ de su placa. La placa se queda con la tinta del texto: bajo el velo del pasado, la del aviso no se lee. */
.jscb-seat-car.is-over[b-pr0ciozt07] {
    border: 1px solid var(--st-warning-fg);
}

/* El colchón después de un paso: se ve y no ocupa la línea. */
.jscb-seat-cushion[b-pr0ciozt07] {
    border-radius: 0 4px 4px 0;
    background: color-mix(in srgb, var(--jscb-text-muted) 22%, transparent);
    pointer-events: none;
}

/* El borde del carro va por dentro y sobre sus tramos (detrás de la placa): por fuera lo cortaría la línea. */
.jscb-seat-car[b-pr0ciozt07]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.jscb-seat-car:hover[b-pr0ciozt07]::after {
    box-shadow: inset 0 0 0 1px var(--jscb-text);
}

/* La OT con su ficha abierta: el mismo halo del calendario. */
.jscb-seat-car.is-selected[b-pr0ciozt07]::after {
    box-shadow: inset 0 0 0 2px var(--jscb-accent);
}

.jscb-seat-car:focus-visible[b-pr0ciozt07] {
    outline: none;
}

.jscb-seat-car:focus-visible[b-pr0ciozt07]::after {
    outline: var(--jscb-focus-ring);
    outline-offset: -2px;
}

/* «Sin datos» va encima de todo el alto: no le quita el clic a un carro. */
.jscb-seat-strip.has-cars .jscb-seat-unknown[b-pr0ciozt07] {
    pointer-events: none;
}

@media (forced-colors: active) {
    .jscb-seat-car[b-pr0ciozt07] {
        border: 1px solid CanvasText;
    }

    .jscb-seat-bar:not(.is-unrecorded)[b-pr0ciozt07] {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .jscb-seat-car.is-unrecorded[b-pr0ciozt07]::before {
        background: Highlight;
        forced-color-adjust: none;
    }
}

/* D290: what already passed stays, under the veil of the past like the cards: left of NOW (--jscb-now-x, carried by the block of the
   team or of TALLER) the strip is drawn at the intensity of the look. Only with the veil on. A layer over the graph and under the
   figures: those go muted and stay legible. */
.jscb-seat-strip.has-veil .jscb-seat-body[b-pr0ciozt07]::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--jscb-bg) calc(var(--jscb-cfg-veil, 0.35) * 100%), transparent) var(--jscb-now-x, -100000px),
        transparent 0);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbShopFunnel.razor.rz.scp.css */
/* D601, D602: «Cuello de botella» de Reportes, dentro de la tarjeta del panel de las cifras (JscbIndicatorsButton). */
.jscb-shop[b-16255lg9zt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* El cuello, del tamaño de los nombres de las otras tarjetas. */
.jscb-shop-neck[b-16255lg9zt] {
    margin: 0;
    overflow: hidden;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--jscb-text, var(--st-text));
}

.jscb-shop-lead[b-16255lg9zt] {
    margin: 0;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

/* Un proceso más angosto no deja leer su nombre: con muchos, la gráfica se corre de lado dentro de la tarjeta. */
.jscb-shop-scroll[b-16255lg9zt] {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.jscb-shop-note[b-16255lg9zt] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    color: var(--jscb-text-muted, var(--st-text-subtle));
}

.jscb-shop-note.is-error[b-16255lg9zt] {
    color: var(--st-danger-fg);
}

.jscb-shop-retry[b-16255lg9zt] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-fg);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-shop-retry:hover[b-16255lg9zt] {
    text-decoration: underline;
}

.jscb-shop-retry:focus-visible[b-16255lg9zt] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
    border-radius: 3px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbStepTimeDialog.razor.rz.scp.css */
.jstd-overlay[b-gtwpkvy054] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
}

.jstd-dialog[b-gtwpkvy054] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(480px, calc(100vw - 32px));
    max-height: min(560px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.jstd-head[b-gtwpkvy054] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.jstd-title h2[b-gtwpkvy054] {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--st-text-strong, #0f172a);
}

.jstd-title p[b-gtwpkvy054] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-muted, #64748b);
}

.jstd-close[b-gtwpkvy054] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-muted, #64748b);
    cursor: pointer;
}

.jstd-close:hover[b-gtwpkvy054] {
    background: var(--st-surface-sunken, #f1f5f9);
}

.jstd-body[b-gtwpkvy054] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    overflow-y: auto;
}

.jstd-field[b-gtwpkvy054] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-strong, #0f172a);
}

.jstd-field input[b-gtwpkvy054],
.jstd-field select[b-gtwpkvy054] {
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #334155);
    font: inherit;
    font-weight: 400;
}

.jstd-field input:disabled[b-gtwpkvy054],
.jstd-field select:disabled[b-gtwpkvy054] {
    opacity: 0.6;
    cursor: not-allowed;
}

.jstd-field small[b-gtwpkvy054] {
    font-weight: 400;
    color: var(--st-text-muted, #64748b);
}

.jstd-when[b-gtwpkvy054] {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 8px;
}

.jstd-locked[b-gtwpkvy054] {
    margin: 0;
    font-weight: 400;
    color: var(--st-text-muted, #64748b);
}

.jstd-reset[b-gtwpkvy054] {
    margin-right: auto;
}

.jstd-field input[readonly][b-gtwpkvy054] {
    cursor: pointer;
}

.jstd-warning[b-gtwpkvy054] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-warning-bg, #fef3c7);
    color: var(--st-warning-fg, #92400e);
    font-size: 12.5px;
}

.jstd-error[b-gtwpkvy054] {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg, #fee2e2);
    color: var(--st-danger-fg, #991b1b);
    font-size: 12.5px;
}

.jstd-foot[b-gtwpkvy054] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--st-border);
}

.jstd-cancel[b-gtwpkvy054],
.jstd-confirm[b-gtwpkvy054] {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.jstd-cancel[b-gtwpkvy054] {
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text, #334155);
}

.jstd-confirm[b-gtwpkvy054] {
    border: 0;
    background: var(--jscb-info, #2563eb);
    color: #fff;
}

.jstd-confirm:disabled[b-gtwpkvy054] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbTeamHeader.razor.rz.scp.css */
/* Encabezado del equipo en la esquina de su barra de fechas: título y chevrón en un renglón de 20 px y debajo la carga, su
   medidor y «Libre desde» (las medidas suman JscbBoardMetrics.TeamAxisHeightPx). Fondo de la esquina de la barra. */
.jscb-team-head[b-1xtrhy1pwv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
}

.jscb-team-top[b-1xtrhy1pwv] {
    display: flex;
    align-items: center;
    gap: 6px;
    /* El mismo aire a la derecha del texto de carga que a la izquierda del chevrón (13 px hasta el borde de la tarjeta). */
    padding-right: 11px;
    min-width: 0;
    height: 20px;
}

.jscb-team-name[b-1xtrhy1pwv] {
    /* Más cerca del chevrón: la separación es la del margen izquierdo del icono (13 px), no los 16 px del botón. */
    margin-left: -3px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Recorte por el inicio: «Equipo 1» y «Equipo 2» se leían igual («Equi…»); el final es lo que los distingue («…po 1»).
       En rtl lo que no cabe sale por la izquierda y los «…» van ahí; el texto, aislado en ltr (span dir), se lee en su orden
       y, si cabe, queda a la izquierda como antes. */
    direction: rtl;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--jscb-text);
}

.jscb-team-top .jscb-chevron[b-1xtrhy1pwv] {
    margin-top: 0;
    height: 20px;
}

/* La carga, enfrente del título, a la derecha: gris claro, un poco más pequeña, horas enteras pegadas al número. */
.jscb-team-load[b-1xtrhy1pwv] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    color: var(--jscb-text-faint);
}

.jscb-team-top .jscb-chevron[b-1xtrhy1pwv] {
    margin-left: -4px;
}

.jscb-team-head.is-compact[b-1xtrhy1pwv] {
    padding-top: 0;
}

/* Recogido: el título no se estira, así lo que trae el equipo queda pegado a él y la carga a la derecha. */
.jscb-team-head.is-compact .jscb-team-name[b-1xtrhy1pwv] {
    flex: 0 1 auto;
}

.jscb-chevron[b-1xtrhy1pwv] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 4px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-chevron svg[b-1xtrhy1pwv] {
    width: 16px;
    height: 16px;
}

.jscb-chevron:hover[b-1xtrhy1pwv] {
    background: var(--jscb-bg-soft);
    color: var(--jscb-text);
}

.jscb-chevron:focus-visible[b-1xtrhy1pwv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-band-load[b-1xtrhy1pwv] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text);
}

.jscb-band-tent[b-1xtrhy1pwv] {
    color: var(--jscb-text-muted);
}

.jscb-live-dot[b-1xtrhy1pwv] {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--jscb-text-faint);
    vertical-align: 1px;
}

.jscb-live-dot.is-working[b-1xtrhy1pwv] { background: #16a34a; }
/* Sobretiempo (D50) y fichaje sin cerrar (D44) son atención, no incumplimiento: ámbar (D45). */
.jscb-live-dot.is-delayed[b-1xtrhy1pwv],
.jscb-live-dot.is-unclosed[b-1xtrhy1pwv] { background: #d97706; box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2); }
.jscb-live-dot.is-not-started[b-1xtrhy1pwv] { background: #d97706; box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2); }
.jscb-live-dot.is-paused[b-1xtrhy1pwv] { background: #2563eb; }
.jscb-live-dot.is-off[b-1xtrhy1pwv] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--jscb-text-faint); }

.jscb-band-live[b-1xtrhy1pwv] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text-muted);
}

.jscb-band-live.is-working[b-1xtrhy1pwv] { color: var(--st-success-fg); font-weight: 600; }
.jscb-band-live.is-delayed[b-1xtrhy1pwv],
.jscb-band-live.is-unclosed[b-1xtrhy1pwv] { color: var(--st-warning-fg); font-weight: 600; }
.jscb-band-live.is-not-started[b-1xtrhy1pwv] { color: var(--st-warning-fg); font-weight: 600; }
.jscb-band-live.is-paused[b-1xtrhy1pwv] { color: var(--st-info-fg); }

.jscb-band-live[b-1xtrhy1pwv] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--jscb-text-muted);
}

.jscb-meter[b-1xtrhy1pwv] {
    height: 8px;
    border-radius: 4px;
    background: var(--jscb-bg-row);
    overflow: hidden;
}

.jscb-meter-fill[b-1xtrhy1pwv] {
    height: 100%;
    border-radius: 4px;
    background: var(--jscb-info);
    transition: width 0.2s ease;
}

.jscb-meter-fill.is-high[b-1xtrhy1pwv] {
    background: var(--jscb-ink);
}

.jscb-meter-fill.is-overload[b-1xtrhy1pwv] {
    background: var(--jscb-overload);
}

.jscb-band-free[b-1xtrhy1pwv] {
    font-size: 10.5px;
    line-height: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--st-success-text);
    font-weight: 600;
}

/* Equipo recogido: lo que trae el equipo, entre el título y la carga; cede espacio antes que ellos (nunca sale de la columna). */
.jscb-team-counts[b-1xtrhy1pwv] {
    flex: 0 3 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 4px;
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    color: var(--jscb-text-muted);
}

/* El ⋮ al final del renglón, tras la carga, y su menú. D557: siempre a la vista (antes solo al pasar el ratón por la cabecera, y en
   «Todo el taller» nadie sabía que estaba ahí). */
.jscb-team-menu-wrap[b-1xtrhy1pwv] {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
}

.jscb-team-kebab[b-1xtrhy1pwv] {
    position: relative;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--jscb-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.jscb-team-kebab svg[b-1xtrhy1pwv] {
    width: 4px;
    height: 14px;
}

/* D213: el ⚠ ya no ocupa su sitio; va como insignia en la esquina inferior derecha del ⋮. */
.jscb-team-warn-badge[b-1xtrhy1pwv] {
    position: absolute;
    right: -5px;
    bottom: -5px;
    font-size: 10px;
    line-height: 1;
    color: var(--st-warning-fg, #b45309);
    pointer-events: none;
}

.jscb-team-kebab:hover[b-1xtrhy1pwv],
.jscb-team-kebab.is-open[b-1xtrhy1pwv] {
    background: var(--jscb-bg-soft);
    border-color: var(--jscb-border-strong);
    color: var(--jscb-text);
}

.jscb-team-kebab:focus-visible[b-1xtrhy1pwv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-team-menu-backdrop[b-1xtrhy1pwv] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.jscb-team-menu[b-1xtrhy1pwv] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    margin-top: 4px;
    min-width: 176px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

.jscb-team-menu-item[b-1xtrhy1pwv] {
    padding: 6px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.jscb-team-menu-item:hover[b-1xtrhy1pwv],
.jscb-team-menu-item:focus-visible[b-1xtrhy1pwv] {
    background: var(--jscb-bg-soft);
    outline: none;
}

.jscb-team-menu-item.is-danger[b-1xtrhy1pwv] {
    color: var(--jscb-danger-strong);
}

.jscb-team-menu-item.is-warn[b-1xtrhy1pwv] {
    color: var(--st-warning-fg, #b45309);
}

/* La explicación de la advertencia (D213) y la información del equipo, bajo el ⋮. */
.jscb-team-warn-pop[b-1xtrhy1pwv] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    margin-top: 4px;
    width: min(300px, calc(100vw - 32px));
    /* Con muchas advertencias el texto pasa del alto de la pantalla: se recorre dentro del aviso. */
    max-height: min(380px, 55dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
    color: var(--jscb-text);
    font-size: 12.5px;
    line-height: 1.35;
    white-space: normal;
    cursor: default;
}

.jscb-team-warn-title[b-1xtrhy1pwv] {
    font-size: 13px;
    font-weight: 700;
}

.jscb-team-warn-item[b-1xtrhy1pwv] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.jscb-team-warn-item + .jscb-team-warn-item[b-1xtrhy1pwv] {
    padding-top: 8px;
    border-top: 1px solid var(--jscb-border);
}

.jscb-team-info-line[b-1xtrhy1pwv] {
    color: var(--jscb-text-muted);
}

.jscb-team-warn-fix[b-1xtrhy1pwv] {
    color: var(--jscb-text-muted);
}

/* Fuera del equipo (D230): una ficha por persona con lo que hace, sus OT y las dos salidas (agregarla, reprogramar sus OT). */
.jscb-team-out-list[b-1xtrhy1pwv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.jscb-team-out[b-1xtrhy1pwv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid var(--jscb-border);
    border-radius: 6px;
    background: var(--jscb-bg-soft);
}

.jscb-team-out-head[b-1xtrhy1pwv] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jscb-team-out-photo[b-1xtrhy1pwv] {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--jscb-bg-soft);
    box-shadow: 0 0 0 1px var(--jscb-border);
}

.jscb-team-out-name[b-1xtrhy1pwv] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--jscb-text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jscb-team-out-what[b-1xtrhy1pwv] {
    color: var(--jscb-text-muted);
}

.jscb-team-out-orders[b-1xtrhy1pwv] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.jscb-team-out-add[b-1xtrhy1pwv],
.jscb-team-out-replan[b-1xtrhy1pwv] {
    flex: none;
    padding: 2px 8px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 9999px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-team-out-add[b-1xtrhy1pwv] {
    border-color: var(--jscb-warn-border);
    color: var(--jscb-warn-text);
}

.jscb-team-out-add:hover[b-1xtrhy1pwv],
.jscb-team-out-replan:hover[b-1xtrhy1pwv] {
    background: var(--jscb-bg-alt);
}

.jscb-team-out-add:focus-visible[b-1xtrhy1pwv],
.jscb-team-out-replan:focus-visible[b-1xtrhy1pwv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

.jscb-team-warn-go[b-1xtrhy1pwv] {
    align-self: flex-start;
    padding: 5px 12px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 6px;
    background: var(--jscb-bg-soft);
    color: var(--jscb-text);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.jscb-team-warn-go:hover[b-1xtrhy1pwv],
.jscb-team-warn-go:focus-visible[b-1xtrhy1pwv] {
    background: var(--jscb-bg-alt);
    outline: none;
}

/* JSCB (H2 fix, the column of 200 px cut the name to «…ipo 1»): name > scale > load. The box of the name never gets narrower than
   the name, so when the full name does not fit, the scale of «Equipos» gives way first (the name of the group of the header still
   says it) and then the load, cut with dots (the meter and its title still say it); only with neither of them the name is cut, at its
   start. No measuring in JS: `overflow: clip` keeps the size of the name as the least its box can take (`hidden` would let it
   shrink) and the scale wraps to a second line that is clipped. The JPCB keeps the header of always. */
.jscb-team-fit[b-1xtrhy1pwv] {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 20px;
    /* The name's pull toward the chevron, here: inside the box it would be clipped. */
    margin-left: -3px;
    overflow: clip;
}

/* The name with its scale: never narrower than the name (unless the name alone is wider than everything), as wide as the room the
   load leaves; the scale wraps away when it does not fit after the name. */
.jscb-team-title-fit[b-1xtrhy1pwv] {
    display: flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    max-width: 100%;
    height: 20px;
    overflow: clip;
}

.jscb-team-title-fit .jscb-team-name[b-1xtrhy1pwv] {
    flex: 0 1 auto;
    margin-left: 0;
}

.jscb-team-load.is-percent[b-1xtrhy1pwv] {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--jscb-text-muted);
}

/* The load (and what a folded team brings) at the right end, after the name: it gives way to it. */
.jscb-team-fit .jscb-team-load[b-1xtrhy1pwv],
.jscb-team-fit .jscb-team-counts[b-1xtrhy1pwv] {
    margin-left: 0;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbTimeAxis.razor.rz.scp.css */
/* ─── Retícula de fondo (bajo todas las filas) ──────────────────────────── */
.jscb-day-layer[b-yqakx0isyv] {
    position: absolute;
    top: var(--jscb-axis-height);
    bottom: 0;
    left: var(--jscb-label-width);
    right: 0;
    z-index: 0;
    pointer-events: none;
}

.jscb-day-column[b-yqakx0isyv] {
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--jscb-border-strong);
    background: var(--jscb-bg);
}

/* Sin columnas en dos tonos (D46): el gris ya significa «no disponible»; el cambio de día lo dice la
   línea que cruza por encima de las barras (JscbGridLines). */

.jscb-day-column.is-past[b-yqakx0isyv] {
    background-color: var(--jscb-past-tint);
}

.jscb-day-column.is-off[b-yqakx0isyv] {
    /* Día sin jornada en gris liso (revisión UX): sin rayas. */
    background-color: var(--jscb-bg-row);
}

/* Lunes: línea más fuerte para leer las semanas cuando el eje abarca un mes (D27). */
.jscb-day-column.is-week-start[b-yqakx0isyv],
.jscb-axis-day.is-week-start[b-yqakx0isyv] {
    border-left-width: 2px;
}

.jscb-day-column.is-today[b-yqakx0isyv] {
    background-color: var(--jscb-today-tint);
}

.jscb-day-column:last-child[b-yqakx0isyv] {
    border-right: 1px solid var(--jscb-border-strong);
}

.jscb-day-tick[b-yqakx0isyv] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px solid var(--jscb-border);
}

/* Malla de 15 min (R33, solo en Día): más tenue que la hora; la hora completa la dibuja la marca de hora. */
.jscb-day-quarter[b-yqakx0isyv] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px dotted var(--jscb-border);
    opacity: 0.6;
}

/* Mediodía (D11): línea segmentada algo más fuerte que las marcas de hora, para leer en medias jornadas; el mismo
   trazo de 6 px con 6 px de aire que en la grilla (D135). Mosaico de 12 px y no `repeating-linear-gradient`, por lo mismo que
   `.jscb-gl-noon`: en Safari el repetido tardaba segundos en pintarse con el hover. */
.jscb-day-noon[b-yqakx0isyv] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--jscb-border-strong) 0 6px, transparent 6px) 0 0 / 1px 12px repeat-y;
}

/* ─── Cabecera de días (una por bloque; se desplaza con él) ─────────────────────────────────────── */
.jscb-axis[b-yqakx0isyv] {
    position: relative;
    z-index: 6;
    height: var(--jscb-axis-height);
    background: var(--jscb-bg-alt);
    border-bottom: 1px solid var(--jscb-border-strong);
}

/* Esquina (D35, D69): título + abrir/cerrar, centrados; el zoom pasó a la franja de compromisos. */
.jscb-axis-corner[b-yqakx0isyv] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3px 6px 3px 12px;
    background: var(--jscb-bg-alt);
}

.jscb-axis-corner-top[b-yqakx0isyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
    /* Aire a la derecha de los iconos para que la agarradera del ancho no quede encima (el mismo que en el encabezado del equipo). */
    padding-right: 11px;
}

/* Icono de «solo OT» en todas las bandas (D157), después del selector; encendido, la selección (D91). */
.jscb-axis-summary[b-yqakx0isyv] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 18px;
    margin-left: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jscb-axis-summary svg[b-yqakx0isyv] {
    width: 14px;
    height: 14px;
}

.jscb-axis-summary:hover:not(:disabled)[b-yqakx0isyv] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-axis-summary.is-on[b-yqakx0isyv],
.jscb-axis-summary.is-on:hover:not(:disabled)[b-yqakx0isyv] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.jscb-axis-summary:disabled[b-yqakx0isyv] {
    opacity: 0.4;
    cursor: default;
}

.jscb-axis-summary:focus-visible[b-yqakx0isyv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Icono de abrir/cerrar todas las bandas (D34), a la izquierda, sin texto. */
.jscb-axis-summary.jscb-axis-add[b-yqakx0isyv] {
    margin-left: -2px;
}

.jscb-axis-toggle[b-yqakx0isyv] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 18px;
    margin-left: auto;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-axis-toggle svg[b-yqakx0isyv] {
    width: 15px;
    height: 15px;
}

.jscb-axis-toggle:hover:not(:disabled)[b-yqakx0isyv] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-axis-toggle:disabled[b-yqakx0isyv] {
    opacity: 0.4;
    cursor: default;
}

.jscb-axis-toggle:focus-visible[b-yqakx0isyv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* D499: el chevrón abre un menú con las cuatro vistas de todos los equipos (recogidos, abiertos, solo OT, solo resumen). */
.jscb-axis-menu-wrap[b-yqakx0isyv] {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
}

.jscb-axis-toggle.is-open[b-yqakx0isyv] {
    background: var(--jscb-bg-soft);
    border-color: var(--jscb-border-strong);
    color: var(--jscb-text);
}

.jscb-axis-menu-backdrop[b-yqakx0isyv] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.jscb-axis-menu[b-yqakx0isyv] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    margin-top: 4px;
    min-width: 230px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 8px;
    background: var(--jscb-bg);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

.jscb-axis-menu-item[b-yqakx0isyv] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 10px 6px 6px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--jscb-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-axis-menu-item:hover:not(:disabled)[b-yqakx0isyv],
.jscb-axis-menu-item:focus-visible[b-yqakx0isyv] {
    background: var(--jscb-bg-row);
    outline: none;
}

.jscb-axis-menu-item.is-current[b-yqakx0isyv] {
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

.jscb-axis-menu-item:disabled[b-yqakx0isyv] {
    opacity: 0.4;
    cursor: default;
}

.jscb-axis-menu-check[b-yqakx0isyv] {
    flex: 0 0 14px;
    width: 14px;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.jscb-axis-menu-text[b-yqakx0isyv] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jscb-axis-menu-text b[b-yqakx0isyv] {
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.jscb-axis-menu-text small[b-yqakx0isyv] {
    font-size: 11px;
    line-height: 14px;
    color: var(--jscb-text-muted);
}

.jscb-axis-menu-item.is-current .jscb-axis-menu-text small[b-yqakx0isyv] {
    color: inherit;
    opacity: 0.8;
}

.jscb-axis-corner-text[b-yqakx0isyv] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    color: var(--jscb-text-muted);
}

/* La agarradera del ancho de la columna (D134), más baja que la de los paneles: cabe en la esquina. */
.jscb-axis-corner[b-yqakx0isyv]  .kodawari-panel-grip {
    height: 36px;
}

.jscb-axis-corner[b-yqakx0isyv]  .kodawari-panel-grip-bar {
    height: 26px;
    padding: 6px 0;
}

.jscb-axis-corner[b-yqakx0isyv]  .kodawari-panel-grip:hover .kodawari-panel-grip-bar,
.jscb-axis-corner[b-yqakx0isyv]  .kodawari-panel-grip.is-active .kodawari-panel-grip-bar {
    height: 30px;
}

/* Esquina de un equipo: el encabezado con poco aire a los lados, para que quepan el título, la carga y el chevrón. */
.jscb-axis-corner.is-team[b-yqakx0isyv] {
    padding-left: 6px;
    padding-right: 2px;
}

.jscb-axis-body[b-yqakx0isyv] {
    height: 100%;
    background: var(--jscb-bg-alt);
}

.jscb-axis-day[b-yqakx0isyv] {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    border-left: 1px solid var(--jscb-border-strong);
    color: var(--jscb-text);
}

/* Línea del día (revisión UX 2026-09-21): nombre y ventana lado a lado, centrados arriba; la
   ventana cede con puntos suspensivos si la columna es estrecha. Sin jornada, apilados. */
.jscb-axis-day-head[b-yqakx0isyv] {
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    line-height: 16px;
    white-space: nowrap;
}

/* Mes (D27, D37): la banda «Semana N · Mes» arriba y «Lu 14» en el renglón de abajo, en la columna
   estrecha sin ventana ni marcas de hora. La banda va centrada en el ancho de su semana (D293). */
.jscb-axis-day-head.is-compact[b-yqakx0isyv] {
    top: 21px;
    padding: 0 2px;
}

.jscb-axis-week[b-yqakx0isyv] {
    position: absolute;
    top: 3px;
    height: 16px;
    padding: 0 6px;
    border-left: 1px solid var(--jscb-border-strong);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    color: var(--jscb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.jscb-axis-week.is-openable[b-yqakx0isyv],
.jscb-axis-day-head[b-yqakx0isyv] {
    user-select: none;
}

/* D305: la banda de la semana (Mes) se puede pulsar dos veces para ir a esa semana. */
.jscb-axis-week.is-openable[b-yqakx0isyv] {
    pointer-events: auto;
    cursor: pointer;
}

.jscb-axis-week.is-first[b-yqakx0isyv] {
    border-left: 0;
}

.jscb-axis-day-head.is-compact .jscb-axis-day-name[b-yqakx0isyv] {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
}

.jscb-axis-day:last-of-type[b-yqakx0isyv] {
    border-right: 1px solid var(--jscb-border-strong);
}

.jscb-axis-day.is-past[b-yqakx0isyv] {
    background-color: var(--jscb-past-tint);
}

.jscb-axis-day.is-off[b-yqakx0isyv] {
    background-color: var(--jscb-bg-row);
    color: var(--jscb-text-faint);
}

.jscb-axis-day.is-today[b-yqakx0isyv] {
    background-color: var(--jscb-today-tint);
    box-shadow: inset 0 -3px 0 var(--jscb-info);
}

.jscb-axis-day.is-today .jscb-axis-day-name[b-yqakx0isyv] {
    color: var(--jscb-info);
}

.jscb-axis-day-name[b-yqakx0isyv] {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.jscb-axis-day-window[b-yqakx0isyv] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10.5px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

.jscb-axis-day:not(.is-off) .jscb-axis-day-window[b-yqakx0isyv]::before {
    content: '·';
    margin-right: 5px;
}

/* D379: the stamp of the published plan of the day in the JPCB: green when published, amber «Real sin Plan». */
.jscb-axis-day-stamp[b-yqakx0isyv] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.jscb-axis-day-stamp.is-published[b-yqakx0isyv] {
    color: var(--jscb-ok, #2e9e6b);
    background-color: color-mix(in srgb, var(--jscb-ok, #2e9e6b) 14%, transparent);
}

.jscb-axis-day-stamp.is-unpublished[b-yqakx0isyv] {
    color: var(--jscb-warn, #c98a12);
    background-color: color-mix(in srgb, var(--jscb-warn, #c98a12) 14%, transparent);
}

/* D591: quien publica ve además lo que cambiaría al publicar el próximo día hábil, en contorno como su borrador, y el paso a ese día. */
.jscb-axis-day-draft[b-yqakx0isyv] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
    border: 1.5px solid var(--jscb-draft);
    border-radius: 8px;
    background: var(--jscb-bg);
    color: var(--jscb-text);
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 13px;
    white-space: nowrap;
}

/* Sin ancho para todo, se recorta primero la jornada, luego el sello (lo dice su título) y al final lo que falta por publicar. */
.jscb-axis-day-head:has(.jscb-axis-day-draft) .jscb-axis-day-window[b-yqakx0isyv] {
    flex-shrink: 100000;
}

.jscb-axis-day-head:has(.jscb-axis-day-draft) .jscb-axis-day-stamp[b-yqakx0isyv] {
    flex-shrink: 1000;
}

.jscb-axis-day-draft.is-link[b-yqakx0isyv],
.jscb-axis-day-dot.is-link[b-yqakx0isyv] {
    cursor: pointer;
}

.jscb-axis-day-draft.is-link:hover[b-yqakx0isyv] {
    background: color-mix(in srgb, var(--jscb-draft) 14%, var(--jscb-bg));
}

.jscb-axis-day-draft.is-link:focus-visible[b-yqakx0isyv],
.jscb-axis-day-dot.is-link:focus-visible[b-yqakx0isyv] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* En Mes, un punto a la derecha del día. */
.jscb-axis-day-dot[b-yqakx0isyv] {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 2px solid var(--jscb-draft);
    border-radius: 50%;
    background: var(--jscb-bg);
}

/* Marcas de hora: rayita corta al pie de la cabecera con su hora en 8,5 px. */
.jscb-axis-tick[b-yqakx0isyv] {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 6px;
    border-left: 1px solid var(--jscb-border-strong);
}

.jscb-axis-tick i[b-yqakx0isyv] {
    position: absolute;
    bottom: 6px;
    left: 0;
    transform: translateX(-50%);
    font-style: normal;
    font-size: 10.5px;
    line-height: 1;
    color: var(--jscb-text-faint);
}

/* Etiqueta AHORA: solo aquí se usa el magenta junto con la línea (D4). Va al pie de la cabecera,
   sobre las marcas de hora, para no tapar el rótulo del día (D28). */
/* La cápsula baja la mitad de su alto (D41): la línea que cierra la cabecera de días le pasa justo
   por el centro, así se lee como el punto donde arranca la línea AHORA. */
.jscb-now-pill[b-yqakx0isyv] {
    position: absolute;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 2;
    /* Bajo la columna fija no se ve (D134): su mitad de abajo caía sobre la fila TALLER. Se recorta por la izquierda
       lo que el desplazamiento horizontal deja detrás de la columna (--jscb-scroll-x lo pone jscb-board.js). */
    clip-path: inset(-4px -4px -4px clamp(0px, calc(var(--jscb-scroll-x, 0px) - var(--jscb-now-x, 0px) + 50%), 100%));
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--jscb-accent);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 12px;
    white-space: nowrap;
    pointer-events: none;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbTokens.razor.rz.scp.css */
/* Tokens --jscb-* del JSCB, en un solo sitio: los hereda el tablero y, dentro de la ficha de la OT (D117), la ficha
   del plan, que vive fuera del tablero. display: contents: la envoltura no ocupa lugar ni cambia la disposición de lo
   que envuelve; solo deja los tokens. Los neutros salen del tema global (--st-*, claro u oscuro, D136); los colores
   con significado (promesa, sobrecarga, atención, acento) quedan iguales en los dos modos. */
.jscb-tokens[b-8rmz4645ot] {
    display: contents;
    --jscb-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --jscb-text: var(--st-text);
    --jscb-text-muted: var(--st-text-subtle);
    --jscb-text-faint: var(--st-text-muted);
    /* Tinta: texto y borde fuertes y el relleno de las marcas y botones de acción; lo que va encima, --jscb-on-ink
       (blanco en claro, azul marino en oscuro). */
    --jscb-ink: var(--st-text);
    --jscb-on-ink: var(--st-surface);
    --jscb-border: var(--st-border);
    --jscb-border-strong: var(--st-border-strong);
    --jscb-bg: var(--st-surface);
    --jscb-bg-alt: var(--st-surface-muted);
    --jscb-bg-soft: var(--st-surface-sunken);
    --jscb-bg-row: color-mix(in srgb, var(--st-surface-sunken) 80%, var(--st-surface-strong));
    --jscb-hatch: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--st-text-subtle) 18%, transparent) 6px 8px);
    --jscb-hatch-strong: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--st-text-subtle) 32%, transparent) 6px 8px);
    /* Las opciones de «Programar» (D237): la letra de cada tarjeta y su barra en el calendario llevan el mismo color, igual en los dos modos. */
    --jscb-opt-a: #15803d;
    --jscb-opt-b: #1d4ed8;
    --jscb-opt-c: #7e22ce;
    --jscb-opt-d: #b45309;
    --jscb-accent: #d81b84;
    --jscb-accent-soft: rgba(216, 27, 132, 0.08);
    --jscb-danger: #ef4444;
    --jscb-danger-soft: rgba(239, 68, 68, 0.12);
    /* Texto rojo (placa tarde, atraso, «pierde la promesa»): ≥ 6,5:1 sobre la superficie (F8.2) en los dos modos. */
    --jscb-danger-text: var(--st-danger-text);
    /* Relleno rojo con texto blanco encima: igual en los dos modos. */
    --jscb-danger-strong: #a61b1b;
    /* Sobrecarga (D45): naranja, nunca rojo; el rojo es de la promesa incumplida y la OT detenida. */
    --jscb-overload: #ea580c;
    --jscb-overload-line: #f97316;
    --jscb-overload-soft: color-mix(in srgb, #fdba74 28%, var(--st-surface));
    /* Información (azul de systime-design): quien hace el proceso elegido en un equipo del JSCB (el aro de su foto).
       No es la selección (amarillo), el foco (magenta) ni un aviso (ámbar, naranja, rojo). */
    --jscb-info: #2563eb;
    /* D303: el día de hoy en azul y lo que ya pasó en un azul más claro (columnas y su cabecera); AHORA sigue en magenta. */
    --jscb-today-tint: rgba(37, 99, 235, 0.10);
    --jscb-past-tint: rgba(37, 99, 235, 0.045);
    --jscb-info-soft: var(--st-info-bg-strong);
    --jscb-warn: #d97706;
    --jscb-warn-bg: var(--st-warning-bg-strong);
    --jscb-warn-border: var(--st-warning-border);
    --jscb-warn-text: var(--st-warning-text);
    --jscb-error-bg: var(--st-danger-bg-strong);
    --jscb-error-border: var(--st-danger-border);
    --jscb-error-text: var(--st-danger-text);
    /* Proceso sin color configurado (D39): violeta, no gris; el gris es el tiempo muerto del chip. */
    --jscb-chip-neutral: #a78bfa;
    --jscb-focus-ring: 2px solid #d81b84;
    /* El borrador del próximo día hábil en «Avance» (D591): el contorno de lo que dice su día. */
    --jscb-draft: #7f77dd;
    /* The green of the semaphore of the card (it was a literal in JscbVehicleCard.razor.css). */
    --jscb-ok: #16a34a;
    /* F1b, the card of one line (prototype v5). Its frame: the line of the prototype, a step darker than --jscb-text-faint. */
    --jscb-card-line: color-mix(in srgb, var(--st-text-subtle) 75%, var(--st-text-muted));
    /* The background by the promise: kept, tight, not kept and, without promise, a gray (white in dark), at the opacity of the look
       (16 % by default: CalendarJscbAppearanceRules.DefaultTintOpacity, the most that keeps the plate at 4.5:1 and the circle at 3:1). */
    --jscb-card-tint-ok: #10b981;
    --jscb-card-tint-tight: #f59e0b;
    --jscb-card-tint-late: #ef4444;
    --jscb-card-tint-none: color-mix(in srgb, #737373 calc(var(--st-is-light, 0) * 100%), #ffffff);
    --jscb-card-tint-neutral: color-mix(in srgb, #3b82f6 calc(var(--st-is-light, 0) * 100%), #ffffff);
    --jscb-card-tint-opacity: 16%;
    /* The circle with signs: darker in light so it keeps 3:1 over its tint; the gray of «sin promesa» follows the theme. */
    --jscb-cs-ok: color-mix(in srgb, #138a3c calc(var(--st-is-light, 0) * 100%), #16a34a);
    --jscb-cs-tight: color-mix(in srgb, #c06305 calc(var(--st-is-light, 0) * 100%), #d97706);
    --jscb-cs-late: color-mix(in srgb, #ef4444 calc(var(--st-is-light, 0) * 100%), #f25252);
    --jscb-cs-none: var(--st-text-subtle);
}
/* /Pages/Home/Components/Calendar/Jscb/JscbVehicleCard.razor.rz.scp.css */
/* Tarjeta de vehículo (D67, D68, diseño de Johan). Radio grande (8 px) solo en el inicio y el final reales
   de la OT; el lado cortado va recto y con borde punteado: la OT sigue en otra parte del tiempo o en
   otra bahía. JSCB: la superficie del tema (D136) semitransparente y apenas desenfocada, sobre la retícula de horas:
   las líneas se adivinan debajo sin cruzar la placa ni la promesa (D132, D143), con el ⋮ y la lista de procesos al
   pie (la dibuja la banda), con borde gris para que dos OT seguidas se separen a la vista (D156). JPCB: pastel del
   color de la OT con el texto
   en su tono fuerte (oscuro en claro, claro en oscuro), sin lista ni ⋮. La tarjeta es contenedor: al
   estrecharse retira, en este orden, la OT, los días y luego la placa y la promesa; la foto se queda. */
/* Arrastrable (D231): arrastrar la tarjeta reprograma la OT entera; mientras se arrastra se atenúa como el chip. */
.jscb-vcard[draggable="true"][b-pez811u0x7] {
    cursor: grab;
}

.jscb-vcard[draggable="true"].is-dragging[b-pez811u0x7] {
    opacity: 0.45;
    cursor: grabbing;
}

.jscb-vcard[b-pez811u0x7] {
    position: absolute;
    box-sizing: border-box;
    container-name: jscb-vcard;
    container-type: inline-size;
    /* F1b: the look of the shop may change the border and the background (JscbCardLookCss); without it, the values of always. */
    border: 1px solid var(--jscb-cfg-card-border, var(--jscb-text-faint));
    border-radius: 8px;
    /* Every variant below sets --jscb-vcard-tint (not the background): the rule of the card looked at lifts it toward opaque. */
    --jscb-vcard-tint: var(--jscb-cfg-card-bg, color-mix(in srgb, var(--jscb-bg) 82%, transparent));
    background-color: var(--jscb-vcard-tint);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Sin desenfoque de fondo (D241): era un `backdrop-filter` por tarjeta, una capa que el navegador recompone en cada cuadro y que en el
   JPCB (fondo opaco) no se veía. UI-02 solo lo quitaba de las tarjetas lejos de la vista; con el filtro fuera, ese vigilante se fue también. */
.jscb-vcard:hover[b-pez811u0x7] {
    border-color: var(--jscb-text-muted);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

.jscb-vcard:focus-visible[b-pez811u0x7] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* Con foco (hover de la OT, clase del JS): el borde lo dice, también en las otras bahías de la OT. */
.jscb-vcard.jscb-focused[b-pez811u0x7] {
    border-color: var(--jscb-text-muted);
}

.jscb-vcard.is-selected[b-pez811u0x7] {
    border-color: var(--jscb-accent);
    box-shadow: 0 0 0 2px var(--jscb-accent-soft);
}

/* The card looked at (hover, focus of the OT, selected, the car of «Así quedaría», the proposed one) reads better with less of the grid
   behind it: the color it already shows (its tint over the surface of the board), 85 % of the way to opaque. Never the tint itself made
   opaque: the one without promise is white in dark and hid the plate. A tint with no opacity at all (the look with no background) stays
   as it is: the min() keeps a zero alpha at zero. Without relative colors the card keeps its tint.
   --jscb-vcard-over is the tint over the surface: color-mix weighs each color by its alpha, so a tint of alpha a that enters at
   a / (24 (1 - a)) with 96 %, against the opaque surface with 4 %, weighs a to 1 - a. The alpha left by that mix is 0.04 / (1 - a), and
   the background reads a back from it. */
@supports (color: rgb(from red r g b / alpha)) {
    .jscb-vcard:hover[b-pez811u0x7],
    .jscb-vcard.jscb-focused[b-pez811u0x7],
    .jscb-vcard.is-selected[b-pez811u0x7],
    .jscb-vcard.is-plan-car[b-pez811u0x7],
    .jscb-vcard.is-proposed[b-pez811u0x7] {
        --jscb-vcard-over: color-mix(in srgb, rgb(from var(--jscb-vcard-tint) r g b / calc(alpha / (24 * max(0.04, 1 - alpha)))) 96%, var(--jscb-bg));
        background-color: rgb(from var(--jscb-vcard-over) r g b / calc(1 - 0.04 / alpha * (1 - 0.85 * min(1, 50 * (1 - 0.04 / alpha)))));
    }
}

/* Cortes: recto y punteado donde la OT sigue. */
.jscb-vcard.is-cut-start[b-pez811u0x7] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 2px dashed var(--jscb-text-faint);
}

.jscb-vcard.is-cut-end[b-pez811u0x7] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 2px dashed var(--jscb-text-faint);
}

/* Sin autorizar o sin plan: la tarjeta entera punteada, como sus barras. */
.jscb-vcard.is-tentative[b-pez811u0x7],
.jscb-vcard.is-unplanned[b-pez811u0x7] {
    border-style: dashed;
}

.jscb-vcard.is-impeded[b-pez811u0x7] {
    border-color: var(--jscb-warn-border);
}

.jscb-vcard.is-stopped[b-pez811u0x7] {
    border-color: var(--jscb-warn-border);
    --jscb-vcard-tint: var(--jscb-warn-bg);
}

.jscb-vcard.is-done[b-pez811u0x7] {
    opacity: 0.7;
}

/* JPCB (D68): el pastel del color de la OT de fondo, su color fuerte en el borde y el texto en su tono
   oscuro. Texto blanco sobre pastel no se lee a 12 px en una tarjeta densa. */
.jscb-vcard.is-filled[b-pez811u0x7] {
    --ot-strong: var(--ot-color, var(--jscb-chip-neutral));
    --ot-ink: color-mix(in srgb, var(--ot-strong) 58%, var(--st-text-strong));
    border-color: var(--ot-strong);
    --jscb-vcard-tint: color-mix(in srgb, var(--ot-strong) 26%, var(--jscb-bg));
    color: var(--ot-ink);
}

.jscb-vcard.is-filled.is-cut-start[b-pez811u0x7] {
    border-left-color: var(--ot-strong);
}

.jscb-vcard.is-filled.is-cut-end[b-pez811u0x7] {
    border-right-color: var(--ot-strong);
}

.jscb-vcard.is-filled.is-tentative[b-pez811u0x7],
.jscb-vcard.is-filled.is-unplanned[b-pez811u0x7] {
    --jscb-vcard-tint: color-mix(in srgb, var(--ot-strong) 12%, var(--jscb-bg));
}

/* D559: el JPCB alejado. La tarjeta del plan de menos de 28 px de alto deja una sola línea, centrada en su alto: la foto, el semáforo,
   la placa y la OT; la promesa y los días se leen en su título. */
.jscb-vcard.is-filled.is-short .jscb-vcard-head[b-pez811u0x7] {
    height: 100%;
    margin-top: 0;
}

.jscb-vcard.is-filled.is-short .jscb-vcard-photo[b-pez811u0x7] {
    height: calc(100% - 2px);
}

.jscb-vcard.is-filled.is-short .jscb-vcard-pill[b-pez811u0x7] {
    height: calc(100% - 4px);
}

.jscb-vcard.is-filled.is-short .jscb-vcard-pill.is-glyph[b-pez811u0x7],
.jscb-vcard.is-filled.is-short .jscb-vcard-pill.is-glyph svg[b-pez811u0x7] {
    width: 12px;
    height: 12px;
}

.jscb-vcard.is-filled.is-short .jscb-vcard-promise[b-pez811u0x7],
.jscb-vcard.is-filled.is-short .jscb-vcard-days[b-pez811u0x7] {
    display: none;
}

/* ─── Identidad ─────────────────────────────────────────────────────────── */
.jscb-vcard-head[b-pez811u0x7] {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    margin: 2px 3px 0 4px;
    min-width: 0;
}

.jscb-vcard-photo[b-pez811u0x7] {
    flex: 0 0 auto;
    display: inline-flex;
    width: 38px;
    height: 24px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--jscb-bg-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 13l1.6-4.6A2 2 0 0 1 6.5 7h11a2 2 0 0 1 1.9 1.4L21 13'/><path d='M3 13h18v4a1 1 0 0 1-1 1h-1a2 2 0 0 1-4 0H8a2 2 0 0 1-4 0H4a1 1 0 0 1-1-1z'/></svg>") center / 60% no-repeat;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);
}

.jscb-vcard.is-filled .jscb-vcard-photo[b-pez811u0x7] {
    box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--jscb-bg) 85%, transparent);
}

.jscb-vcard-photo img[b-pez811u0x7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Semáforo de la promesa: rojo no llega (o detenida), ámbar justa, verde llega, gris sin promesa. */
.jscb-vcard-pill[b-pez811u0x7] {
    flex: 0 0 auto;
    width: 6px;
    height: 24px;
    border-radius: 3px;
    background: var(--jscb-cfg-ci-none, var(--jscb-text-faint));
    opacity: var(--jscb-cfg-ci-opacity, 1);
}

.jscb-vcard-pill.is-late[b-pez811u0x7] { background: var(--jscb-cfg-ci-late, var(--jscb-danger)); }
.jscb-vcard-pill.is-tight[b-pez811u0x7] { background: var(--jscb-cfg-ci-tight, var(--jscb-warn)); }
.jscb-vcard-pill.is-ok[b-pez811u0x7] { background: var(--jscb-cfg-ci-ok, var(--jscb-ok)); }

.jscb-vcard.is-filled .jscb-vcard-pill[b-pez811u0x7] {
    box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--jscb-bg) 90%, transparent);
}

.jscb-vcard-id[b-pez811u0x7] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.1;
}

/* F1a: the size of the look (--jscb-plate-size, JscbCardLookCss) on the card of two lines too; without it, 13 px as always. */
.jscb-vcard-plate[b-pez811u0x7] {
    overflow: hidden;
    color: var(--st-text-brand);
    font-size: var(--jscb-plate-size, 13px);
    font-weight: 800;
    line-height: var(--jscb-plate-size, 13px);
    letter-spacing: 0.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-vcard-promise[b-pez811u0x7] {
    overflow: hidden;
    color: var(--st-text-brand);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-vcard-note[b-pez811u0x7] {
    color: var(--jscb-text-muted);
}

.jscb-vcard.is-filled .jscb-vcard-plate[b-pez811u0x7],
.jscb-vcard.is-filled .jscb-vcard-promise[b-pez811u0x7],
.jscb-vcard.is-filled .jscb-vcard-note[b-pez811u0x7] {
    color: var(--ot-ink);
}

.jscb-vcard.is-filled .jscb-vcard-promise[b-pez811u0x7] {
    opacity: 0.85;
}

.jscb-vcard-mark[b-pez811u0x7] {
    margin-right: 3px;
    font-size: 10px;
}

/* D236: con tablero la marca es un botón (abre su aviso); se ve igual, sin lo propio del botón. */
button.jscb-vcard-mark[b-pez811u0x7] {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer;
}

button.jscb-vcard-mark:hover[b-pez811u0x7] {
    filter: brightness(0.85);
}

button.jscb-vcard-mark:focus-visible[b-pez811u0x7] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 1px;
}

.jscb-vcard-mark.is-stopped[b-pez811u0x7] { color: var(--jscb-danger); }
.jscb-vcard-mark.is-concurrent[b-pez811u0x7] { color: var(--jscb-warn); }

.jscb-vcard-pin[b-pez811u0x7] {
    margin-left: 3px;
    color: var(--jscb-ink);
    font-size: 10px;
}

/* VFT (D101): el vehículo está fuera del taller. La misma palabra y la misma píldora que en la tarjeta del DCB (la placa de fondo y el
   color de la tarjeta de texto: se ve en claro y en oscuro), pegada a la placa; la identidad deja de estirarse para que la marca la siga
   y no se vaya con la OT a la derecha. La tarjeta recorta lo que se sale (overflow), así que va dentro de la fila y no en la esquina. */
.jscb-vcard.is-out-of-shop .jscb-vcard-id[b-pez811u0x7],
.jscb-vcard.is-by-appointment .jscb-vcard-id[b-pez811u0x7] {
    flex: 0 1 auto;
}

/* The mark and the order keep their width: what gives way when the card narrows is the plate and the promise (they cut with dots), so
   nothing of the order paints over the mark. */
.jscb-vcard.is-out-of-shop .jscb-vcard-order[b-pez811u0x7],
.jscb-vcard.is-by-appointment .jscb-vcard-order[b-pez811u0x7] {
    flex-shrink: 0;
}

/* The marks of the vehicle (VFT, «Cita») go one after the other beside the plate as items of the line of identity: their wrapper takes no
   room and changes nothing of how the card lays out. The column of «Por vehículo» gives it a cell of its own (JscbOwnerBand.razor.css). */
.jscb-vcard-marks[b-pez811u0x7] {
    display: contents;
}

.jscb-vcard-vft[b-pez811u0x7] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-text-brand);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--jscb-bg);
}

/* «Cita»: the car came, or comes, by appointment. The geometry of VFT (it sits beside it, the same height), but in outline and in the blue
   of information, so it reads as a fact of the order and not as a warning, and VFT, filled, stays the stronger of the two. */
.jscb-vcard-lane[b-pez811u0x7] {
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 16px;
    cursor: help;
}

.jscb-vcard-lane.is-overloaded[b-pez811u0x7] {
    color: var(--st-warning-fg);
    font-weight: 800;
}

.jscb-vcard-appt[b-pez811u0x7] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 16px;
    padding: 0 5px;
    border: 1px solid var(--st-info-fg);
    border-radius: 999px;
    background: var(--st-info-bg);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--st-info-fg);
}

/* ─── OT y días (derecha) ───────────────────────────────────────────────── */
.jscb-vcard-order[b-pez811u0x7] {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    margin-left: auto;
    line-height: 1.1;
    text-align: right;
}

/* Trozo del medio (D68): solo la OT, centrada en el trozo. */
.jscb-vcard-order.is-center[b-pez811u0x7] {
    flex: 1 1 auto;
    align-items: center;
    margin-left: 0;
    text-align: center;
}

.jscb-vcard-ot[b-pez811u0x7] {
    overflow: hidden;
    color: #4e99c5;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jscb-vcard-days[b-pez811u0x7] {
    color: #c65d08;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 11px;
    white-space: nowrap;
}

.jscb-vcard-days.is-tight[b-pez811u0x7] { color: var(--jscb-warn); }
.jscb-vcard-days.is-late[b-pez811u0x7] { color: var(--jscb-danger-text); }
/* D338: the plan does not say it arrives (partial, or no plan date): the days without a verdict. */
.jscb-vcard-days.is-none[b-pez811u0x7] { color: var(--jscb-text-muted); }

/* JPCB: la OT en el tono oscuro; los días en el color fuerte de la OT, como en el diseño. «Justa» sigue
   en ámbar y el atraso en su pastilla roja: el rojo es de la promesa. */
.jscb-vcard.is-filled .jscb-vcard-ot[b-pez811u0x7] {
    color: var(--ot-ink);
}

.jscb-vcard.is-filled .jscb-vcard-days[b-pez811u0x7] {
    color: color-mix(in srgb, var(--ot-strong) 78%, var(--st-text-strong));
    font-weight: 700;
}

.jscb-vcard.is-filled .jscb-vcard-days.is-tight[b-pez811u0x7] {
    color: var(--jscb-warn);
}

.jscb-vcard.is-filled .jscb-vcard-days.is-late[b-pez811u0x7] {
    padding: 0 4px;
    border-radius: 4px;
    background: var(--jscb-danger);
    color: #ffffff;
}

/* ─── ⋮ de JSCB (D68) ───────────────────────────────────────────────────── */
/* Arriba a la derecha de cada trozo, gris; abre el menú de la OT (no la ficha). */
.jscb-vcard-menu[b-pez811u0x7] {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 20px;
    margin: 0 -1px 0 auto;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: color-mix(in srgb, var(--st-text-muted), var(--st-text-faint));
    cursor: pointer;
}

.jscb-vcard-menu svg[b-pez811u0x7] {
    width: 4px;
    height: 14px;
}

.jscb-vcard-menu:hover[b-pez811u0x7],
.jscb-vcard-menu:focus-visible[b-pez811u0x7] {
    background: var(--jscb-bg-soft);
    color: var(--jscb-text-muted);
    outline: none;
}

/* Con su menú abierto: como todo botón abierto de los tableros (D91); el borde, por dentro (no mueve nada). */
.jscb-vcard-menu.is-open[b-pez811u0x7],
.jscb-vcard-menu.is-open:hover[b-pez811u0x7] {
    background: var(--kodawari-selected-soft);
    box-shadow: inset 0 0 0 1px var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

/* ─── Tarjeta estrecha ──────────────────────────────────────────────────── */
/* Primero se va la OT; luego los días; luego placa y promesa (se recortan con puntos antes de irse). */
@container jscb-vcard (max-width: 229px) {
    .jscb-vcard:not(.is-bare) .jscb-vcard-ot[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 169px) {
    .jscb-vcard:not(.is-bare) .jscb-vcard-days[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 99px) {
    .jscb-vcard-id[b-pez811u0x7],
    .jscb-vcard-vft[b-pez811u0x7],
    .jscb-vcard-appt[b-pez811u0x7] {
        display: none;
    }
}

/* The card of two lines keeps the mark only while the plate still shows more than a sliver beside it (the one-line card holds it down
   to the width where its plate leaves, above). «Cita» leaves before VFT, at the same width alone and a little earlier with VFT beside it,
   so the plate never shrinks to a sliver for the two marks; the title of the card keeps saying both. */
@container jscb-vcard (max-width: 149px) {
    .jscb-vcard:not(.is-compact) .jscb-vcard-vft[b-pez811u0x7],
    .jscb-vcard-appt[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 179px) {
    .jscb-vcard.has-marks-2 .jscb-vcard-appt[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 71px) {
    .jscb-vcard:not(.is-bare) .jscb-vcard-menu[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 51px) {
    .jscb-vcard-pill[b-pez811u0x7] {
        display: none;
    }
}

/* Trozo sin identidad (continuación): solo OT y días a la derecha, que ceden más tarde. */
@container jscb-vcard (max-width: 89px) {
    .jscb-vcard.is-bare .jscb-vcard-ot[b-pez811u0x7] {
        display: none;
    }
}

@container jscb-vcard (max-width: 39px) {
    .jscb-vcard.is-bare .jscb-vcard-days[b-pez811u0x7],
    .jscb-vcard.is-bare .jscb-vcard-menu[b-pez811u0x7] {
        display: none;
    }
}

/* ─── Tarjeta de una línea (F1b) ────────────────────────────────────────── */
/* One line (prototype v5, «Mi selección» of Johan): the circle of Ø16 with its sign, the plate 14/600 and nothing else (no photo,
   promise, order number nor days: the window of the inspector D204 says them); a full frame of 1 px with the line of the prototype
   and the background by the promise (kept · tight · not kept · no promise) at the opacity of the look. F2: its own geometry
   (JscbLaneGeometry.Compact, published by the board as variables): a line of identity of 18 px right under the top line and the bars
   of 22 px under it, drawn by the band, with 3 px of air to the frame at the left, the right and below. Colors only from tokens
   (JscbTokens) or from the look (--jscb-cfg-*). */
.jscb-vcard.is-compact[b-pez811u0x7] {
    border-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
    --jscb-vcard-tint: var(--jscb-cfg-card-bg, color-mix(in srgb, var(--jscb-bg) 82%, transparent));
}

/* Both boards share the configured card language; the JPCB keeps its bay lanes and its separate execution below. */
.jscb-vcard.is-filled.has-look[b-pez811u0x7] {
    border-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
    --jscb-vcard-tint: var(--jscb-cfg-card-bg, color-mix(in srgb, var(--jscb-bg) 82%, transparent));
    color: var(--jscb-text);
}

.jscb-vcard.is-filled.has-look .jscb-vcard-plate[b-pez811u0x7],
.jscb-vcard.is-filled.has-look .jscb-vcard-promise[b-pez811u0x7],
.jscb-vcard.is-filled.has-look .jscb-vcard-note[b-pez811u0x7] {
    color: var(--jscb-text);
}

/* F1a: the background by the promise is read by the card of two lines too (it carries bg-promise and st-* only when the shop chose it). */
.jscb-vcard.bg-promise.st-ok[b-pez811u0x7],
.jscb-vcard.bg-promise.st-ready[b-pez811u0x7] {
    --jscb-vcard-tint: var(--jscb-cfg-card-bg-ok, color-mix(in srgb, var(--jscb-card-tint-ok) var(--jscb-card-tint-opacity), transparent));
}

.jscb-vcard.bg-promise.st-tight[b-pez811u0x7] {
    --jscb-vcard-tint: var(--jscb-cfg-card-bg-tight, color-mix(in srgb, var(--jscb-card-tint-tight) var(--jscb-card-tint-opacity), transparent));
}

.jscb-vcard.bg-promise.st-late[b-pez811u0x7],
.jscb-vcard.bg-promise.st-stopped[b-pez811u0x7] {
    --jscb-vcard-tint: var(--jscb-cfg-card-bg-late, color-mix(in srgb, var(--jscb-card-tint-late) var(--jscb-card-tint-opacity), transparent));
}

.jscb-vcard.bg-promise.st-none[b-pez811u0x7] {
    --jscb-vcard-tint: var(--jscb-cfg-card-bg-none, color-mix(in srgb, var(--jscb-card-tint-none) var(--jscb-card-tint-opacity), transparent));
}

/* ─── Marco de la OT (F4a) ──────────────────────────────────────────────── */
/* The card of one line may join its bars in other ways than the full frame (the full one carries no class and is drawn as before):
   frame-start, a line of 3 px where the order starts with the tint over the rest; frame-l, 2 px below and on the left with no line on
   the right; frame-none, only the background. Their lines take the color of the border of the look. The card reaches beyond the frame
   of always just what its thicker line takes (JscbVehicleCard.FrameReach), so the 3 px of air to the bars of F2 stay. These rules go
   before the hover, the selection and the car of «Así quedaría», which still win at the same weight: hovered or selected, the card
   shows its whole frame. A cut edge keeps its dashed line (the order goes on there), except the right one of the «L», which has no
   line on that side: its bottom line fades out instead. */
.jscb-vcard.is-compact:is(.frame-start, .frame-l, .frame-none)[b-pez811u0x7] {
    border-color: transparent;
    box-shadow: none;
}

.jscb-vcard.is-compact.is-cut-start:where(.frame-start, .frame-none)[b-pez811u0x7] {
    border-left-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
}

.jscb-vcard.is-compact.is-cut-end:where(.frame-start, .frame-none)[b-pez811u0x7] {
    border-right-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
}

/* The start line: painted on the left of the card (its box reaches 2 px further), the content 2 px further in so the circle still
   starts where the first bar starts. Dashed when the order is not committed (not authorized or without plan), as its frame was. */
.jscb-vcard.is-compact.frame-start:not(.is-cut-start)[b-pez811u0x7] {
    padding-left: 2px;
    background-image: linear-gradient(var(--jscb-cfg-card-border, var(--jscb-card-line)), var(--jscb-cfg-card-border, var(--jscb-card-line)));
    background-origin: border-box;
    background-position: left top;
    background-size: 3px 100%;
    background-repeat: no-repeat;
}

.jscb-vcard.is-compact.frame-start:not(.is-cut-start):is(.is-tentative, .is-unplanned)[b-pez811u0x7] {
    /* A 3 x 7 px tile repeated down and not a `repeating-linear-gradient`: Safari paints the repeating form very slowly. */
    background-image: linear-gradient(180deg, var(--jscb-cfg-card-border, var(--jscb-card-line)) 0 4px, transparent 4px);
    background-size: 3px 7px;
    background-repeat: repeat-y;
}

/* The «L»: its two lines in the color of the border (the hover and the selection still paint all four sides), only the corner
   between them rounded. */
.jscb-vcard.is-compact.frame-l[b-pez811u0x7] {
    border-left-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
    border-bottom-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* 2 px thick (the car of «Así quedaría» keeps its dashed 2 px all around). */
.jscb-vcard.is-compact.frame-l:not(.is-plan-car)[b-pez811u0x7] {
    border-left-width: 2px;
    border-bottom-width: 2px;
}

.jscb-vcard.is-compact.frame-l.is-cut-end:not(.is-plan-car)[b-pez811u0x7] {
    border-bottom-color: transparent;
    background-image: linear-gradient(90deg, var(--jscb-cfg-card-border, var(--jscb-card-line)) calc(100% - 24px), transparent);
    background-origin: border-box;
    background-position: left bottom;
    background-size: 100% 2px;
    background-repeat: no-repeat;
}

/* The circle and the veil say what the dimming of a done card said: the ✓ of «lista a tiempo» is not faded. */
.jscb-vcard.is-compact.is-done[b-pez811u0x7] {
    opacity: 1;
}

.jscb-vcard.is-compact:hover[b-pez811u0x7],
.jscb-vcard.is-compact.jscb-focused[b-pez811u0x7] {
    border-color: var(--jscb-cfg-card-border, var(--jscb-card-line));
    box-shadow: 0 0 0 1px var(--jscb-cfg-card-border, var(--jscb-card-line)), 0 3px 10px rgba(15, 23, 42, 0.14);
}

.jscb-vcard.is-compact.is-selected[b-pez811u0x7] {
    border-color: var(--jscb-accent);
    box-shadow: 0 0 0 2px var(--jscb-accent-soft);
}

/* D267 stays magenta on the card of one line too (its rule below sets the dashed 2 px; the hover above must not take its color). */
.jscb-vcard.is-compact.is-plan-car[b-pez811u0x7],
.jscb-vcard.is-compact.is-plan-car:hover[b-pez811u0x7] {
    border-color: var(--jscb-accent);
    box-shadow: 0 0 0 3px var(--jscb-accent-soft);
}

/* F2: the line of identity of 18 px, on the top line of the frame, and the circle 3 px inside it: the same air as the bars, so the
   circle starts where the first bar starts. */
.jscb-vcard.is-compact .jscb-vcard-head[b-pez811u0x7] {
    gap: 6px;
    height: var(--jscb-card-head-height, 24px);
    margin: 0 var(--jscb-card-inset, 3px) 0 var(--jscb-card-inset, 3px);
}

/* F2: the ⋮ fits the line of identity (it would hang over the bars). */
.jscb-vcard.is-compact .jscb-vcard-menu[b-pez811u0x7] {
    height: var(--jscb-card-head-height);
}

.jscb-vcard.is-compact .jscb-vcard-id[b-pez811u0x7] {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/* The plate of the prototype: 600 and the size of the look (14 by default), with a halo of the board to read over the hour lines. */
.jscb-vcard.is-compact .jscb-vcard-plate[b-pez811u0x7] {
    font-weight: 600;
    font-size: var(--jscb-plate-size, 14px);
    line-height: 16px;
    text-shadow: 0 0 2px var(--jscb-bg), 0 0 2px var(--jscb-bg), 0 0 1px var(--jscb-bg);
}

.jscb-vcard.is-compact .jscb-vcard-order[b-pez811u0x7] {
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

/* ─── Círculo de estado con glifos (F1b) ─────────────────────────────────── */
/* Ø16, one sign per circle; its color by state (the look's or the token of the circle) and the white inside, .cs-on. */
.jscb-vcard-pill.is-glyph[b-pez811u0x7] {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: none;
}

.jscb-vcard-pill.is-glyph svg[b-pez811u0x7] {
    display: block;
    width: 16px;
    height: 16px;
}

.jscb-vcard-pill.is-glyph .cs-on[b-pez811u0x7] { fill: var(--st-on-accent); }
.jscb-vcard-pill.is-glyph .cs-on-line[b-pez811u0x7] { stroke: var(--st-on-accent); }

.jscb-vcard-pill.cs-ok[b-pez811u0x7],
.jscb-vcard-pill.cs-ready[b-pez811u0x7] { color: var(--jscb-cfg-ci-ok, var(--jscb-cs-ok)); }
.jscb-vcard-pill.cs-tight[b-pez811u0x7] { color: var(--jscb-cfg-ci-tight, var(--jscb-cs-tight)); }
.jscb-vcard-pill.cs-late[b-pez811u0x7],
.jscb-vcard-pill.cs-stopped[b-pez811u0x7] { color: var(--jscb-cfg-ci-late, var(--jscb-cs-late)); }
.jscb-vcard-pill.cs-none[b-pez811u0x7] { color: var(--jscb-cfg-ci-none, var(--jscb-cs-none)); }

/* ─── Velo del pasado (F1b) ─────────────────────────────────────────────── */
/* A paper laid over what already passed (Johan, v6): left of NOW the border, the background, the plate and the circle look fainter
   by the intensity of the look (35 %). Nothing repaints with the clock: the card carries its left edge (--jscb-card-x) and the block
   of its team carries NOW (--jscb-now-x); the mask cuts at their difference. The bars live in another layer and do not change. Off
   while the card is looked at (hover, focus, selected, proposed, the car of «Así quedaría», dragged): the mask would also cut its
   shadow and its halo. */
.jscb-vcard.has-veil[b-pez811u0x7] {
    --jscb-past: clamp(0px, calc(var(--jscb-now-x, -100000px) - var(--jscb-card-x, 0px)), 100%);
    --jscb-past-alpha: calc(1 - var(--jscb-cfg-veil, 0.35));
    -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / var(--jscb-past-alpha)) var(--jscb-past), #000 var(--jscb-past));
    mask-image: linear-gradient(90deg, rgb(0 0 0 / var(--jscb-past-alpha)) var(--jscb-past), #000 var(--jscb-past));
}

.jscb-vcard.has-veil:hover[b-pez811u0x7],
.jscb-vcard.has-veil:focus-within[b-pez811u0x7],
.jscb-vcard.has-veil.jscb-focused[b-pez811u0x7],
.jscb-vcard.has-veil.is-selected[b-pez811u0x7],
.jscb-vcard.has-veil.is-proposed[b-pez811u0x7],
.jscb-vcard.has-veil.is-plan-car[b-pez811u0x7],
.jscb-vcard.has-veil.is-dragging[b-pez811u0x7] {
    -webkit-mask-image: none;
    mask-image: none;
}

/* ─── Tarjeta de una línea estrecha (F1b) ───────────────────────────────── */
/* The circle never goes (it is the state); the plate is cut with dots and only leaves when not even its first letters fit. */
@container jscb-vcard (max-width: 99px) {
    .jscb-vcard.is-compact .jscb-vcard-id[b-pez811u0x7] {
        display: flex;
    }
}

@container jscb-vcard (max-width: 51px) {
    .jscb-vcard.is-compact .jscb-vcard-pill[b-pez811u0x7] {
        display: inline-flex;
    }
}

@container jscb-vcard (max-width: 43px) {
    .jscb-vcard.is-compact .jscb-vcard-id[b-pez811u0x7] {
        display: none;
    }
}

/* D267, V8: el carro de «Así quedaría» en su renglón, con contorno magenta discontinuo de 2 px y halo; al guardar vuelve a liso
   en el mismo sitio (la clase se va con la fase). */
.jscb-vcard.is-plan-car[b-pez811u0x7] {
    border: 2px dashed var(--jscb-accent);
    box-shadow: 0 0 0 3px var(--jscb-accent-soft);
}

/* ─── Borrador del próximo día hábil en «Avance» (D591) ─────────────────── */
/* Who publishes sees, apart from the published plan (filled, as always), what comes in when the day is published: the same card without its
   fill and with a continuous outline in the color of the order (dashed already means «the order goes on», not authorized or overdue). What
   is published and leaves or changes keeps its fill, struck. */
.jscb-vcard.is-filled.is-draft[b-pez811u0x7] {
    border-width: 2px;
    border-color: var(--ot-strong);
    --jscb-vcard-tint: var(--jscb-bg);
}

.jscb-vcard.is-leaving .jscb-vcard-plate[b-pez811u0x7],
.jscb-vcard.is-leaving .jscb-vcard-promise[b-pez811u0x7],
.jscb-vcard.is-leaving .jscb-vcard-ot[b-pez811u0x7],
.jscb-vcard.is-leaving .jscb-vcard-days[b-pez811u0x7] {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbWaitColumn.razor.rz.scp.css */
/* Columna de espera (D181): a la izquierda del calendario y de arriba abajo del cuerpo del tablero, a su misma altura y
   sin borde ni aire propios (el borde redondeado es solo del calendario). Abierta, cada bloque mide lo mismo que una columna del DCB (--dcb-column-width, 190 px de diseño; el zoom del aside la lleva a la escala del
   DCB, D200) y por dentro usa sus mismas medidas —cabecera, aire y tarjeta—; recogida, lo justo para las cabeceras. Los
   bloques se reparten todo el alto por igual (o uno solo se lo lleva) y cada uno se desplaza por dentro. */
.jscb-wait[b-fjot9d57xk] {
    /* Las medidas del DCB (DcbBoard.razor.css): sus tarjetas, que no cuelgan de .dcb-board aquí, miden igual. */
    --dcb-column-width: 190px;
    --dcb-card-height: 90px;

    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    width: var(--dcb-column-width);
    min-height: 0;
    transition: width 0.18s ease;
}

.jscb-wait.is-closed[b-fjot9d57xk] {
    width: 48px;
}

/* Un bloque es una columna del DCB (.dcb-column): fondo hundido, borde y esquinas redondeadas. */
.jscb-wait-block[b-fjot9d57xk] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid var(--jscb-border);
    border-radius: 10px;
    background: var(--jscb-bg-soft);
    overflow: hidden;
}

/* Con un bloque solo, los otros quedan en su cabecera y él se lleva el resto del alto. */
.jscb-wait-block.is-folded[b-fjot9d57xk] {
    flex: 0 0 auto;
    padding-bottom: 3px;
}

.jscb-wait.is-closed .jscb-wait-block[b-fjot9d57xk] {
    border: 0;
    background: transparent;
}

/* Cabecera del DCB (.dcb-column-head, D76, D87), con sus mismas medidas: del color del proceso, texto blanco, el icono en
   un círculo blanco y el número en una pastilla; el nombre en dos renglones como mucho. Un clic deja solo ese bloque (o
   vuelve a los tres). */
.jscb-wait-head[b-fjot9d57xk] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    height: 46px;
    margin: 3px 6px 0 4px;
    padding: 6px 8px 6px 10px;
    border: 0;
    border-radius: 10px;
    background: var(--jscb-wait-color, #64748b);
    color: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jscb-wait-head:hover[b-fjot9d57xk] {
    filter: brightness(1.06);
}

/* Un solo bloque abierto: la cabecera solo rotula (D182). */
.jscb-wait-head.is-static[b-fjot9d57xk] {
    cursor: default;
}

.jscb-wait-head.is-static:hover[b-fjot9d57xk] {
    filter: none;
}

.jscb-wait-head:focus-visible[b-fjot9d57xk] {
    outline: var(--jscb-focus-ring);
    outline-offset: 2px;
}

.jscb-wait-icon[b-fjot9d57xk] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.jscb-wait-icon img[b-fjot9d57xk] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jscb-wait-icon.is-broken img[b-fjot9d57xk] {
    display: none;
}

.jscb-wait-name[b-fjot9d57xk] {
    flex: 1 1 auto;
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 15px;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
    word-break: break-word;
}

.jscb-wait-count[b-fjot9d57xk] {
    flex: none;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
}

/* Recogida: la cabecera ocupa todo el bloque; abajo el icono y sobre él el nombre girado 90° en un renglón (se lee de
   abajo arriba, con «…» si no cabe); el número, arriba del todo en los tres bloques. Solo gira el nombre: el icono y el
   número quedan derechos y con el mismo aire. Un clic abre la columna con solo ese bloque. */
.jscb-wait-head.is-vertical[b-fjot9d57xk] {
    flex: 1 1 auto;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 10px 0;
    gap: 10px;
    cursor: pointer;
}

.jscb-wait-head.is-vertical .jscb-wait-icon[b-fjot9d57xk] {
    width: 28px;
    height: 28px;
}

.jscb-wait-head.is-vertical .jscb-wait-count[b-fjot9d57xk] {
    margin-bottom: auto;
}

.jscb-wait-head.is-vertical .jscb-wait-name[b-fjot9d57xk] {
    display: block;
    flex: 0 1 auto;
    min-height: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Las tarjetas del DCB una bajo otra, con el aire de .dcb-column-body: arriba y a la derecha para el nivel que sobresale
   de la esquina y sin barra visible (la rueda, el arrastre y el teclado siguen funcionando). */
.jscb-wait-body[b-fjot9d57xk] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px 12px 10px 8px;
    overflow-y: auto;
    scrollbar-width: none;
}

.jscb-wait-body[b-fjot9d57xk]::-webkit-scrollbar {
    display: none;
}

.jscb-wait-card[b-fjot9d57xk] {
    flex: 0 0 auto;
    min-width: 0;
}

.jscb-wait-card[draggable="true"][b-fjot9d57xk],
.jscb-wait-card[draggable="true"][b-fjot9d57xk]  .dcb-card {
    cursor: grab;
}

/* D249: sin autorizar no se arrastra al tablero; el candado lo dice antes de intentarlo. */
.jscb-wait-card.is-warned[b-fjot9d57xk] {
    position: relative;
}

.jscb-wait-lock[b-fjot9d57xk] {
    position: absolute;
    right: 10px;
    bottom: -7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px 1px 5px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 999px;
    background: var(--jscb-bg);
    color: var(--jscb-text-muted, var(--st-text-subtle));
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    pointer-events: none;
}

/* D361: lo que pide la decisión del jefe va en ámbar, no gris de bloqueo. */
.jscb-wait-lock.is-warning[b-fjot9d57xk] {
    border-color: var(--st-warning-border, #f59e0b);
    background: var(--st-warning-bg, #fffbeb);
    color: var(--st-warning-fg, #b45309);
}

.jscb-wait-card.is-dragging[b-fjot9d57xk] {
    opacity: 0.4;
    cursor: grabbing;
}

.jscb-wait-empty[b-fjot9d57xk] {
    padding: 10px 0;
    border: 1px dashed var(--jscb-border-strong);
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--jscb-text-faint);
}

@media (prefers-reduced-motion: reduce) {
    .jscb-wait[b-fjot9d57xk] {
        transition: none;
    }
}

/* D250: un bloque repartido —«En curso» y «Por iniciar»—. Cada tramo tiene un separador que queda pegado arriba del cuerpo al hacer
   scroll (así siempre se sabe en qué parte de la lista se está), y la cabecera dice cuántas van en cada uno. */
.jscb-wait-titles[b-fjot9d57xk] {
    flex: 1 1 auto;
    display: grid;
    min-width: 0;
}

.jscb-wait-titles .jscb-wait-name[b-fjot9d57xk] {
    -webkit-line-clamp: 1;
}

.jscb-wait-sub[b-fjot9d57xk] {
    overflow: hidden;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 13px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jscb-wait-sep[b-fjot9d57xk] {
    position: sticky;
    top: -14px;
    z-index: 3;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin: -4px -2px -4px -2px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--jscb-bg-alt);
    box-shadow: 0 0 0 1px var(--jscb-border), 0 4px 0 var(--jscb-bg-soft);
    color: var(--jscb-text-muted, var(--st-text-subtle));
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.jscb-wait-sep.is-started[b-fjot9d57xk] {
    color: var(--st-success-fg, #1f8a4c);
}

.jscb-wait-sep-count[b-fjot9d57xk] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.jscb-wait-sep-dot[b-fjot9d57xk] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.jscb-wait-sep-ring[b-fjot9d57xk] {
    flex: none;
    box-sizing: border-box;
    width: 9px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.jscb-wait-sep-empty[b-fjot9d57xk] {
    flex: 0 0 auto;
    padding: 0 9px;
    font-size: 11.5px;
    color: var(--jscb-text-faint, var(--st-text-subtle));
}

/* La tarjeta en curso se entiende sola aunque su separador haya quedado fuera de la vista. */
.jscb-wait-card.is-started[b-fjot9d57xk] {
    position: relative;
}

.jscb-wait-run[b-fjot9d57xk] {
    position: absolute;
    right: 10px;
    bottom: -7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px 1px 5px;
    border: 1px solid var(--jscb-border-strong);
    border-radius: 999px;
    background: var(--jscb-bg);
    color: var(--st-success-fg, #1f8a4c);
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    pointer-events: none;
}

.jscb-wait-run .jscb-wait-sep-dot[b-fjot9d57xk] {
    width: 6px;
    height: 6px;
}

/* D377 (A9), D476: what an order lacks to enter «Por programar» is a ⚠ on the bottom-left edge of its card (the right one holds the
   pills); touched, it opens the list. The icon is a solid white pill (kwarn-pill) and the notice floats over the board (Float):
   it leaves the column, so it is neither cut by the scrolling body nor adds to its height. Open, the icon rises above the board's
   layers so its notice does too. */
.jscb-wait-card.is-noticed[b-fjot9d57xk] {
    position: relative;
}

.jscb-wait-notice[b-fjot9d57xk] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    z-index: 3;
    height: 18px;
    pointer-events: none;
    font-size: 12px;
    line-height: 16px;
}

.jscb-wait-notice:has(.kwarn-btn.is-open)[b-fjot9d57xk] {
    z-index: 100;
}

.jscb-wait-notice[b-fjot9d57xk]  .kwarn {
    position: static;
    margin-left: 10px;
    pointer-events: auto;
}

/* A26 (F5), D495: the reason and the resume date of a stopped order are the content of the notice of the ⚠ of its card (the same icon as
   the one of what an order lacks), not a list under it. The notice is its own surface (--st-*), so its colours follow the theme: what is
   missing in the warning colour, an overdue date in red, «Motivo y fecha» as a link. */
.jscb-wait-detention[b-fjot9d57xk] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jscb-wait-detention li + li[b-fjot9d57xk] { margin-top: 2px; }

.jscb-wait-detention .is-missing[b-fjot9d57xk] { color: var(--st-warning-fg, #b45309); font-weight: 600; }

.jscb-wait-detention .is-overdue[b-fjot9d57xk] { color: var(--st-danger-fg, #c0392b); font-weight: 600; }

.jscb-wait-detention-edit[b-fjot9d57xk] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--st-info-fg, #2563eb);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbWarningPopover.razor.rz.scp.css */
/* Aviso anclado de un ícono de advertencia de la grilla (D236). Es el aviso de KodawariWarning (.kwarn-pop) —mismos tokens
   --st-*, tamaños y espacios— pero colocado por el tablero sobre la grilla, como la ficha de la OT. Si cambia uno, cambia el otro. */
.jscb-warn-pop[b-jwjszssyc4] {
    position: absolute;
    z-index: 20;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--st-border-strong, #cbd5e1);
    border-radius: 8px;
    background: var(--st-surface-raised, #fff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
    color: var(--st-text, #0f172a);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: default;
}

.jscb-warn-title[b-jwjszssyc4] {
    font-weight: 700;
}

.jscb-warn-why[b-jwjszssyc4] {
    color: var(--st-text, #0f172a);
}

.jscb-warn-list[b-jwjszssyc4] {
    margin: 0;
    padding-left: 18px;
}

.jscb-warn-fix[b-jwjszssyc4] {
    color: var(--st-text-muted, #64748b);
}

.jscb-warn-fix b[b-jwjszssyc4] {
    color: var(--st-text, #0f172a);
}

/* D487: los datos de la entrega tarde («Prometida», «Listo en taller», «Atraso») en dos columnas, y los botones al pie. */
.jscb-warn-facts[b-jwjszssyc4] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jscb-warn-facts > div[b-jwjszssyc4] {
    display: flex;
    gap: 8px;
}

.jscb-warn-facts dt[b-jwjszssyc4] {
    flex: 0 0 118px;
    color: var(--st-text-muted, #64748b);
}

.jscb-warn-facts dd[b-jwjszssyc4] {
    margin: 0;
    font-weight: 600;
}

.jscb-warn-actions[b-jwjszssyc4] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jscb-warn-action[b-jwjszssyc4] {
    padding: 4px 10px;
    border: 1px solid var(--st-border-strong, #cbd5e1);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text, #0f172a);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.jscb-warn-action:hover[b-jwjszssyc4],
.jscb-warn-action:focus-visible[b-jwjszssyc4] {
    border-color: var(--st-accent, #d81b84);
    outline: none;
}
/* /Pages/Home/Components/Calendar/Jscb/JscbZone.razor.rz.scp.css */
/* Zona flotante del JSCB (D28, D29): estilos propios del componente, antes en JscbBoard vía ::deep (F10). */
/* Panel de 300 px que flota sobre la grilla, de arriba abajo del cuerpo: la grilla no cambia de
   ancho al abrirlo. La sombra lo separa del plan; entra con un deslizamiento corto. Se ancla al cuerpo
   del tablero, no al calendario (D251): sale del borde de la pantalla, encima de la columna de su lado
   (abierta o recogida), que no se mueve. La de la izquierda («Por programar») va pegada al borde
   izquierdo, sobre la columna de espera y los latoneros (D31); al arrastrar se aparta y los nombres
   quedan a la vista. La zona del plan propuesto es una de estas, a la derecha. D294: la que se abre con un botón de la barra
   sube hasta la fila de ese botón y lo tapa (top negativo, --jscb-zone-top-<clave>, que mide jscb-board.js); por eso va sobre
   la barra. */
.jscb-zone[b-ud50qihi2n] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    width: var(--jscb-zone-width);
    max-width: 100%;
    background: var(--jscb-bg);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18), 0 0 0 1px var(--jscb-border);
    animation: jscb-zone-in-b-ud50qihi2n 0.15s ease;
}

@keyframes jscb-zone-in-b-ud50qihi2n {
    from { opacity: 0; transform: translateX(var(--jscb-zone-shift, -8px)); }
    to { opacity: 1; transform: none; }
}

.jscb-zone.is-left[b-ud50qihi2n] {
    left: 0;
    border-right: 1px solid var(--jscb-border-strong);
}

.jscb-zone.is-right[b-ud50qihi2n] {
    right: 0;
    border-left: 1px solid var(--jscb-border-strong);
}

.jscb-zone.is-right[b-ud50qihi2n] {
    --jscb-zone-shift: 8px;
}

.jscb-zone-head[b-ud50qihi2n] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 36px;
    padding: 0 8px 0 12px;
    border-bottom: 1px solid var(--jscb-border);
    background: var(--jscb-bg-soft);
}

.jscb-zone-title[b-ud50qihi2n] {
    flex: 1 1 auto;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jscb-zone-sub[b-ud50qihi2n] {
    font-size: 10.5px;
    color: var(--jscb-text-muted);
    white-space: nowrap;
}

.jscb-zone-btn[b-ud50qihi2n] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--jscb-text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jscb-zone-btn svg[b-ud50qihi2n] {
    width: 16px;
    height: 16px;
}

.jscb-zone-btn:hover[b-ud50qihi2n] {
    background: var(--jscb-bg-row);
    color: var(--jscb-text);
}

.jscb-zone-btn:focus-visible[b-ud50qihi2n] {
    outline: var(--jscb-focus-ring);
    outline-offset: 1px;
}

/* «i» abierta: el amarillo suave de la selección, como la «i» de la barra (D75, D79). */
.jscb-zone-btn.is-on[b-ud50qihi2n],
.jscb-zone-btn.is-on:hover[b-ud50qihi2n] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

/* Cómo leer la zona: bajo la cabecera, fuera del scroll de la lista, para que se vea al abrirla. */
.jscb-zone-info[b-ud50qihi2n] {
    flex: 0 0 auto;
    max-height: 50%;
    overflow: auto;
    padding: 10px 12px;
    border-bottom: 1px solid var(--jscb-border);
    background: var(--jscb-bg-soft);
}

.jscb-zone-body[b-ud50qihi2n] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* Plan propuesto (D28): zona propia con el acento del tablero en la cabecera, fuera de Imprevistos. */
.jscb-zone.jscb-zone-plan .jscb-zone-head[b-ud50qihi2n] {
    background: var(--jscb-accent-soft);
    border-bottom-color: rgba(216, 27, 132, 0.25);
}
/* /Pages/Home/Components/Calendar/KodawariActiveWorkDialog.razor.rz.scp.css */
/* D362: the board's question when someone is clocked in on what is about to change. The amber of the warnings (ConfirmModal,
   is-warning) and the measures of the Kodawari dialogs; above the «Asignación del día» panel. */
.kaw-overlay[b-0x7pz8xdlq] {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.35);
}

.kaw-dialog[b-0x7pz8xdlq] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9991;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    box-sizing: border-box;
    padding: 20px 22px 18px;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.kaw-head[b-0x7pz8xdlq] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kaw-head h3[b-0x7pz8xdlq] {
    flex: 1 1 auto;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.kaw-icon[b-0x7pz8xdlq] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
}

.kaw-icon svg[b-0x7pz8xdlq],
.kaw-close svg[b-0x7pz8xdlq] {
    width: 20px;
    height: 20px;
}

.kaw-close[b-0x7pz8xdlq] {
    display: inline-flex;
    padding: 4px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--st-text-muted);
    cursor: pointer;
}

.kaw-close:hover[b-0x7pz8xdlq] {
    background: var(--st-surface-sunken);
}

.kaw-text[b-0x7pz8xdlq],
.kaw-consequence[b-0x7pz8xdlq],
.kaw-remedy[b-0x7pz8xdlq],
.kaw-decide[b-0x7pz8xdlq] {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.4;
}

.kaw-consequence[b-0x7pz8xdlq],
.kaw-remedy[b-0x7pz8xdlq] {
    color: var(--st-text-subtle);
}

.kaw-decide[b-0x7pz8xdlq] {
    color: var(--st-text-muted);
    font-size: 0.8rem;
}

.kaw-reasons[b-0x7pz8xdlq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.kaw-reasons-title[b-0x7pz8xdlq] {
    flex: 1 0 100%;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.kaw-loading[b-0x7pz8xdlq] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

.kaw-reason[b-0x7pz8xdlq] {
    padding: 5px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.kaw-reason.is-selected[b-0x7pz8xdlq] {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.14);
    font-weight: 600;
}

.kaw-foot[b-0x7pz8xdlq] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.kaw-cancel[b-0x7pz8xdlq],
.kaw-confirm[b-0x7pz8xdlq] {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
}

.kaw-cancel[b-0x7pz8xdlq] {
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text);
}

/* The confirm button of the ConfirmModal (magenta), so «Continuar igual» and «Pausar y continuar» look the same. */
.kaw-confirm[b-0x7pz8xdlq] {
    border: 1px solid transparent;
    background: #d81b84;
    color: #fff;
}

.kaw-confirm:not(:disabled):hover[b-0x7pz8xdlq] {
    background: #c21774;
}

.kaw-confirm:disabled[b-0x7pz8xdlq] {
    opacity: 0.5;
    cursor: default;
}
/* /Pages/Home/Components/Calendar/KodawariAssignPanel.razor.rz.scp.css */
/* La asignación llena el alto del panel: se desplaza por dentro y deja sus botones abajo (D116). */
.kodawari-assign-body[b-tqaqh3x99j] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

/* Right edge at half (D160): the panel already brings its side air (15 + 5 px), so the assignment drops its own
   (14 px, and 12 px more in the level row and the groups). Everything ends on the same line, 24 px from the edge
   instead of 38 to 50. The 4 px of its scroll stay: the order pill's counter sticks out 2 px. The inbox keeps its own,
   its panel has none. */
.kodawari-assign-body[b-tqaqh3x99j]  .assign-glass-container {
    padding-right: 0 !important;
}

.kodawari-assign-body[b-tqaqh3x99j]  .assign-mid-section,
.kodawari-assign-body[b-tqaqh3x99j]  .assign-selected-group-section {
    padding-right: 0;
}
/* /Pages/Home/Components/Calendar/KodawariBarPopover.razor.rz.scp.css */
/* Botones «i» y colores de la barra de los tres tableros (D79) y su popover. Medidas de los botones de la
   barra (28 px, borde gris, radio 8, como KodawariBoardSwitch); abierto, en el amarillo suave de la
   selección (D75). Los neutros salen del tema (--st-*): el componente vive en el DCB y en el JSCB, cada uno
   con sus tokens. */
.kodawari-pop[b-p7ltqod6ds] {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.kodawari-pop-btn[b-p7ltqod6ds] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 28px;
    min-width: 28px;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kodawari-pop-btn:hover[b-p7ltqod6ds] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.kodawari-pop-btn:focus-visible[b-p7ltqod6ds] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.kodawari-pop-btn.is-open[b-p7ltqod6ds],
.kodawari-pop-btn.is-open:hover[b-p7ltqod6ds] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kodawari-info-btn[b-p7ltqod6ds] {
    width: 28px;
}

.kodawari-info-btn svg[b-p7ltqod6ds] {
    width: 17px;
    height: 17px;
}

/* Solo los colores (D79): cinco cuadritos, los primeros del tablero. Mide lo mismo con menos colores: así
   el zoom cae en el mismo sitio en los tres tableros. */
.kodawari-colors-btn[b-p7ltqod6ds] {
    min-width: 75px;
    padding: 0 8px;
}

.kodawari-pop-dots[b-p7ltqod6ds] {
    display: inline-flex;
    gap: 3px;
}

.kodawari-pop-dot[b-p7ltqod6ds] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2.5px;
    background: var(--kp-color, var(--st-surface-stronger));
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* Dos procesos con el mismo color: un punto ámbar en la esquina; el popover dice cuáles. */
.kodawari-pop-warn[b-p7ltqod6ds] {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 2px var(--st-surface);
}

.kodawari-pop-backdrop[b-p7ltqod6ds] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* Anclado a la derecha del botón: los dos están al final de la barra. */
.kodawari-pop-panel[b-p7ltqod6ds] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: min(72vh, 640px);
    overflow: auto;
    padding: 10px 14px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text);
    text-align: left;
    white-space: normal;
    cursor: default;
}

/* Recibe el foco al hacer clic dentro (tabindex -1), así Esc lo sigue cerrando; sin marco por eso. */
.kodawari-pop-panel:focus[b-p7ltqod6ds] {
    outline: none;
}

.kodawari-pop.is-info .kodawari-pop-panel[b-p7ltqod6ds] {
    width: 400px;
}

.kodawari-pop-head[b-p7ltqod6ds] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.kodawari-pop-close[b-p7ltqod6ds] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.kodawari-pop-close svg[b-p7ltqod6ds] {
    width: 14px;
    height: 14px;
}

.kodawari-pop-close:hover[b-p7ltqod6ds] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.kodawari-pop-close:focus-visible[b-p7ltqod6ds] {
    outline: 2px solid #d81b84;
    outline-offset: 1px;
}

.kodawari-pop-lead[b-p7ltqod6ds] {
    margin: -6px 0 0;
    color: var(--st-text-subtle);
}

/* Las dos pestañas de la ayuda: «Información» y «Recorridos». El cuerpo conserva la columna del panel. */
.kodawari-pop-tabs[b-p7ltqod6ds] {
    display: flex;
    gap: 4px;
    padding: 3px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.kodawari-pop-tab[b-p7ltqod6ds] {
    flex: 1 1 0;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kodawari-pop-tab:hover[b-p7ltqod6ds] {
    color: var(--st-text);
}

.kodawari-pop-tab.is-active[b-p7ltqod6ds] {
    border-color: var(--st-border);
    background: var(--st-surface-raised);
    color: var(--st-text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.kodawari-pop-tab:focus-visible[b-p7ltqod6ds] {
    outline: 2px solid #d81b84;
    outline-offset: 1px;
}

.kodawari-pop-tabpanel[b-p7ltqod6ds] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Recorridos por funcionalidad (D222): la lista de recorridos del tablero, uno bajo otro. */
.kodawari-pop-tours[b-p7ltqod6ds] {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

/* Los recorridos se hacen (D252): una línea lo dice; con grupos, cada grupo con su título pequeño. */
.kodawari-pop-tours-lead[b-p7ltqod6ds] {
    margin: -2px 0 2px;
    color: var(--st-text-subtle);
    font-size: 12px;
}

.kodawari-pop-tours-group[b-p7ltqod6ds] {
    margin-top: 6px;
    color: var(--st-text-subtle);
    font-size: 11.5px;
    font-weight: 700;
}

/* Recorrido rápido (D135): bajo la idea del tablero, en el azul de información, antes de la guía. */
.kodawari-pop-tour[b-p7ltqod6ds] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--st-info-border);
    border-radius: 8px;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kodawari-pop-tour:hover[b-p7ltqod6ds] {
    border-color: color-mix(in srgb, var(--st-info-fg) 45%, var(--st-surface));
    background: var(--st-info-bg-strong);
}

.kodawari-pop-tour:focus-visible[b-p7ltqod6ds] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.kodawari-pop-tour svg[b-p7ltqod6ds] {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--st-info-fg);
}

.kodawari-pop-tour-text[b-p7ltqod6ds] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.kodawari-pop-tour-text b[b-p7ltqod6ds] {
    font-size: 13px;
}

.kodawari-pop-tour-text small[b-p7ltqod6ds] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

/* D547: sobre las pestañas, «Qué cambió en los controles» (la pieza del recorrido, en el azul de información) y «Restablecer la vista»,
   neutra: devuelve el tablero a como abre y no es ayuda. Deshabilitada si ya está así. */
.kodawari-pop-quick[b-p7ltqod6ds] {
    display: grid;
    gap: 6px;
}

.kodawari-pop-reset[b-p7ltqod6ds] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kodawari-pop-reset:hover:not(:disabled)[b-p7ltqod6ds] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-sunken);
}

.kodawari-pop-reset:focus-visible[b-p7ltqod6ds] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.kodawari-pop-reset svg[b-p7ltqod6ds] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0 1px;
    color: var(--st-text-secondary);
}

.kodawari-pop-reset:disabled[b-p7ltqod6ds] {
    cursor: default;
    color: var(--st-text-subtle);
}

.kodawari-pop-reset:disabled svg[b-p7ltqod6ds] {
    color: var(--st-text-subtle);
}

/* ─── Piezas del contenido (las escribe cada tablero) ────────────────────── */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}

/* Qué parte del tablero pinta ese color, en minúsculas junto al título. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-title small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 10px;
}

/* Muestras más anchas (una tarjeta con sus barras). */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-row.is-wide {
    grid-template-columns: 84px 1fr;
}

/* Muestras con texto (una cabecera, un botón de la barra): más aire, y lo que no cabe baja a un segundo renglón en
   vez de salirse de su columna. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-row.is-wider {
    grid-template-columns: 104px 1fr;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-row.is-text {
    grid-template-columns: 1fr;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-sample {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 20px;
}

/* Muestras: el color va en --kp-color. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch {
    display: inline-block;
    flex: none;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--kp-color, var(--st-surface-stronger));
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-bar {
    width: 36px;
    height: 12px;
}

/* Tarjeta con el borde del color (el semáforo del DCB). */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-card {
    position: relative;
    width: 34px;
    height: 20px;
    border: 2px solid var(--kp-color, var(--st-border-strong));
    border-radius: 6px;
    background: var(--st-surface);
    box-shadow: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-card::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--kp-color, var(--st-surface-stronger));
}

/* Pastel del color con borde fuerte (el plan del JSCB y del JPCB). */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-tint {
    width: 36px;
    height: 16px;
    border: 1px solid var(--kp-color, var(--st-border-strong));
    border-radius: 4px;
    background: color-mix(in srgb, var(--kp-color, var(--st-surface-stronger)) 26%, var(--st-surface));
    box-shadow: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-dashed {
    border: 1.5px dashed var(--kp-color, var(--st-border-stronger));
    background: var(--st-surface);
    box-shadow: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-faded {
    opacity: 0.55;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
}

/* Raya de un desvío o de AHORA. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-line {
    width: 3px;
    height: 18px;
    border-radius: 2px;
    box-shadow: none;
}

/* Semáforo de la tarjeta: la píldora vertical al lado de la foto. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-pill {
    width: 6px;
    height: 18px;
    border-radius: 3px;
    box-shadow: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-swatch.is-under {
    width: 34px;
    height: 3px;
    border-radius: 2px;
    box-shadow: none;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--kp-color, #1e293b);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
}

/* Lista de procesos: color, código corto y nombre. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item b {
    flex: 0 0 38px;
    font-size: 11px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* «Procesos en el tablero» del JSCB (D216): el título con el engranaje de los grupos a la derecha; cada entrada con sus OT. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-gear {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-gear svg {
    width: 15px;
    height: 15px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-gear:hover {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item-count {
    margin-left: auto;
    padding-left: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item.is-group .kp-item-name {
    font-weight: 700;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item.is-rest {
    color: var(--st-text-subtle);
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-item.is-rest .kp-swatch {
    opacity: 0.55;
}

/* Lista corrida (las OT del JPCB): color y placa, varias por renglón. */
.kodawari-pop-panel[b-p7ltqod6ds]  .kp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-chip .kp-swatch {
    width: 11px;
    height: 11px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-palette {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-palette .kp-swatch {
    width: 12px;
    height: 12px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-note {
    color: var(--st-text-subtle);
    font-size: 11px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-empty {
    color: var(--st-text-subtle);
}

.kodawari-pop-panel[b-p7ltqod6ds]  .kp-warning {
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    font-size: 11px;
}

.kodawari-pop-panel[b-p7ltqod6ds]  kbd {
    display: inline-block;
    min-width: 18px;
    padding: 0 4px;
    border: 1px solid var(--st-border-strong);
    border-bottom-width: 2px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    font-family: inherit;
    font-size: 11px;
    text-align: center;
}
/* /Pages/Home/Components/Calendar/KodawariBoardsDialog.razor.rz.scp.css */
/* «Tableros del calendario» (D165): el mismo popup grande de «Flujo de procesos» (D118) —sobre toda la app, encima del
   calendario expandido (1500) y debajo de los paneles laterales (9990+) y los avisos—, con la caja de los tableros
   (blanca en el tema claro, azul marino en el oscuro). */
.kb-overlay[b-v7jkdvqaed] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.kb-dialog[b-v7jkdvqaed] {
    position: fixed;
    top: 2.5vh;
    bottom: 2.5vh;
    left: 50%;
    z-index: 9981;
    /* El foco, legible en los dos temas (el fucsia fijo daba 2,8:1 en el oscuro). Las pestañas lo heredan. */
    --kb-focus: var(--st-accent-text, #d81b84);
    display: flex;
    flex-direction: column;
    width: min(96vw, 1600px);
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    animation: kb-in-b-v7jkdvqaed 0.18s ease-out;
}

.kb-dialog:focus[b-v7jkdvqaed] {
    outline: none;
}

@keyframes kb-in-b-v7jkdvqaed {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .kb-dialog[b-v7jkdvqaed] {
        animation: none;
    }
}

.kb-head[b-v7jkdvqaed] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid var(--st-border);
}

.kb-title-icon[b-v7jkdvqaed] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--st-accent-bg);
    color: #d81b84;
}

.kb-title-icon svg[b-v7jkdvqaed] {
    width: 18px;
    height: 18px;
}

.kb-title-text[b-v7jkdvqaed] {
    flex: 1 1 auto;
    min-width: 0;
}

.kb-title-text h2[b-v7jkdvqaed] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.kb-subtitle[b-v7jkdvqaed] {
    margin: 1px 0 0;
    color: var(--st-text-subtle);
    font-size: 12px;
}

.kb-icon-btn[b-v7jkdvqaed] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    cursor: pointer;
}

.kb-icon-btn svg[b-v7jkdvqaed] {
    width: 18px;
    height: 18px;
}

.kb-icon-btn:hover[b-v7jkdvqaed] {
    background: var(--st-surface-sunken);
}

.kb-icon-btn:focus-visible[b-v7jkdvqaed] {
    outline: 2px solid var(--kb-focus, #d81b84);
    outline-offset: 1px;
}

/* D580: mientras se busca, la cabecera queda encima del velo y el resto de la ventana, debajo. */
.kb-head.is-searching[b-v7jkdvqaed] { position: relative; z-index: 4; }

.kb-search-veil[b-v7jkdvqaed] {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: color-mix(in srgb, var(--st-surface) 45%, transparent);
}

/* D580: la lista de la pestaña a la izquierda y la sección a la derecha; Inicio y Solo para ti, sin lista. */
.kb-main[b-v7jkdvqaed] {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 0;
}

.kb-main.is-solo[b-v7jkdvqaed] { grid-template-columns: minmax(0, 1fr); }

.kb-side[b-v7jkdvqaed] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid var(--st-border);
    background: var(--st-surface);
}

/* F4: el asistente de la primera configuración, arriba de la sección. */
.kb-setup[b-v7jkdvqaed] {
    display: grid;
    gap: 8px;
    max-width: 1180px;
    margin: 14px 24px 0;
    padding: 12px 14px;
    border: 1px solid var(--st-info-border);
    border-radius: 10px;
    background: var(--st-info-bg);
    box-sizing: border-box;
}

.kb-setup-head[b-v7jkdvqaed] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    color: var(--st-text);
    font-size: 13px;
}

.kb-setup-count[b-v7jkdvqaed] { color: var(--st-text-secondary); font-size: 12px; }

.kb-setup-end[b-v7jkdvqaed] {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-info-fg);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.kb-setup-steps[b-v7jkdvqaed] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-setup-steps button[b-v7jkdvqaed] {
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--st-border);
    border-radius: 13px;
    background: var(--st-surface);
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.kb-setup-steps .is-past button[b-v7jkdvqaed] { color: var(--st-text-body); }

.kb-setup-steps .is-on button[b-v7jkdvqaed] {
    border-color: var(--st-info-fg);
    color: var(--st-info-text);
    font-weight: 700;
}

.kb-setup-steps button:focus-visible[b-v7jkdvqaed],
.kb-setup-end:focus-visible[b-v7jkdvqaed] {
    outline: 2px solid var(--st-info-fg);
    outline-offset: 1px;
}

.kb-setup-why[b-v7jkdvqaed] { margin: 0; color: var(--st-text-body); font-size: 12.5px; }

.kb-setup-nav[b-v7jkdvqaed] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.kb-setup-note[b-v7jkdvqaed] { color: var(--st-text-secondary); font-size: 12px; }

.kb-setup + .kb-sec-head[b-v7jkdvqaed],
.kb-back + .kb-sec-head[b-v7jkdvqaed] { padding-top: 10px; }

/* F4: el campo al que se llegó (buscador, Inicio o un ⚠ de un tablero) se ilumina un momento. */
.kb-body[b-v7jkdvqaed]  .kbs-flash {
    border-radius: 6px;
    animation: kbs-flash-b-v7jkdvqaed 1.8s ease-out;
}

@keyframes kbs-flash-b-v7jkdvqaed {
    0%, 35% { box-shadow: 0 0 0 3px var(--st-info-fg); }
    100% { box-shadow: 0 0 0 3px transparent; }
}

.kb-body[b-v7jkdvqaed] {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background: var(--st-surface-muted);
}

.kb-loading[b-v7jkdvqaed] { padding: 24px; }

/* D580: se llegó desde otra pestaña: la vuelta, antes del título. */
.kb-back[b-v7jkdvqaed] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    margin: 12px 24px 0;
    padding: 4px 10px 4px 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.kb-back:hover[b-v7jkdvqaed] { background: var(--st-surface-sunken); }
.kb-back:focus-visible[b-v7jkdvqaed] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kb-back svg[b-v7jkdvqaed] { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* D580: el nombre de la sección y, en la misma franja, a qué afecta (F2): el alcance, qué mueve y los tableros a los que les cambia algo. */
.kb-sec-head[b-v7jkdvqaed] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    max-width: 1180px;
    padding: 16px 24px 0;
    box-sizing: border-box;
}

.kb-sec-title[b-v7jkdvqaed] { margin: 0; color: var(--st-text-strong); font-size: 18px; font-weight: 700; line-height: 1.25; }

.kb-scope[b-v7jkdvqaed] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

.kb-body[b-v7jkdvqaed]  .kb-sec-head + .kbs-pane { padding-top: 10px; }

.kb-chip[b-v7jkdvqaed] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.kb-chip svg[b-v7jkdvqaed] { width: 12px; height: 12px; fill: currentColor; }
.kb-chip.is-view[b-v7jkdvqaed] { color: var(--st-text-brand); }
/* D580: qué mueve un cambio aquí. Lo que lee el motor, en el color de la información; lo demás, sin color. */
.kb-chip.is-plan[b-v7jkdvqaed] { border-color: var(--st-info-border); background: var(--st-info-bg); color: var(--st-info-text); }
.kb-chip.is-effect[b-v7jkdvqaed] { border-color: transparent; background: var(--st-surface-sunken); color: var(--st-text-secondary); }
.kb-chip.is-was[b-v7jkdvqaed] { border-style: dashed; color: var(--st-text-subtle); font-weight: 500; }

.kb-scope-boards[b-v7jkdvqaed] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.kb-scope-label[b-v7jkdvqaed] { color: var(--st-text-subtle); font-size: 11.5px; }

.kb-board-chip[b-v7jkdvqaed] {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kb-foot[b-v7jkdvqaed] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface);
}

.kb-foot-status[b-v7jkdvqaed] { flex: 1 1 240px; min-width: 0; font-size: 12.5px; color: var(--st-text-subtle); }
.kb-foot-status.is-dirty[b-v7jkdvqaed] { color: var(--st-warning-fg); font-weight: 600; }
.kb-foot-status.is-error[b-v7jkdvqaed] { color: var(--st-danger-text); font-weight: 600; }
.kb-foot-status.is-ok[b-v7jkdvqaed] { color: var(--st-success-fg); font-weight: 600; }

.kb-foot-actions[b-v7jkdvqaed] { display: flex; flex: none; gap: 8px; }

/* F2: «Ir al problema», un enlace junto al mensaje. */
.kb-link[b-v7jkdvqaed] {
    flex: none;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-text-brand);
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.kb-link:focus-visible[b-v7jkdvqaed] { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; border-radius: 3px; }

/* D580: a dónde sigue lo de una sección. */
.kb-go-on[b-v7jkdvqaed] { margin: 0; padding-top: 10px; border-top: 1px solid var(--st-border); color: var(--st-text-secondary); font-size: 12.5px; }

/* D580: lo que se abre encima del popup (la guía del motor), que tiene su propia capa. */
.kb-over[b-v7jkdvqaed] { position: relative; z-index: 9990; }

/* F2: «Revisar cambios»: la lista de lo que cambió, encima del pie, a la derecha. */
.kb-review[b-v7jkdvqaed] {
    position: absolute;
    right: 16px;
    bottom: 64px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(440px, calc(100% - 32px));
    max-height: 60%;
    padding: 12px 14px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 18px 44px -14px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.08);
    color: var(--st-text);
    font-size: 12.5px;
}

.kb-review-head[b-v7jkdvqaed] { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 700; }

.kb-icon-btn.is-small[b-v7jkdvqaed] { width: 28px; height: 28px; }
.kb-icon-btn.is-small svg[b-v7jkdvqaed] { width: 16px; height: 16px; }

/* D326 y D336: la configuración sin leer, o leída hace mucho o cambiada por otra persona; con su botón. */
.kb-alert[b-v7jkdvqaed] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 12.5px;
    font-weight: 600;
}

.kb-alert.is-error[b-v7jkdvqaed] {
    border-bottom-color: var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.kb-alert-text[b-v7jkdvqaed] { flex: 1 1 auto; min-width: 0; }

.kb-alert .kb-btn[b-v7jkdvqaed] { flex: none; height: 28px; }

.kb-btn[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn {
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.kb-btn:hover:not(:disabled)[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn:hover:not(:disabled) { background: var(--st-surface-sunken); }

.kb-btn:disabled[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.kb-btn:focus-visible[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

/* «Guardar» en el fucsia de la acción principal, como el editor del DCB. */
.kb-btn.is-primary[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn.is-primary { border-color: #d81b84; background: #d81b84; color: #ffffff; }

.kb-btn.is-primary:hover:not(:disabled)[b-v7jkdvqaed],
.kb-body[b-v7jkdvqaed]  .kb-btn.is-primary:hover:not(:disabled) { background: #c21875; }

.kb-btn.is-danger[b-v7jkdvqaed] { border-color: var(--st-danger-border); color: var(--st-danger-text); }

/* ---------- Lo común de las pestañas ---------- */
.kb-body[b-v7jkdvqaed]  .kbs-pane {
    display: grid;
    align-content: start;
    gap: 16px;
    max-width: 1180px;
    padding: 20px 24px 28px;
}

/* D580: «Inicio» has the whole width, for its two columns. */
.kb-body[b-v7jkdvqaed]  .kbs-pane.kbr-home { max-width: none; }

.kb-body[b-v7jkdvqaed]  .kbs-intro { display: grid; gap: 4px; }
.kb-body[b-v7jkdvqaed]  .kbs-intro h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--st-text-strong); }
.kb-body[b-v7jkdvqaed]  .kbs-intro p { margin: 0; max-width: 92ch; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbs-readonly { margin: 4px 0 0; color: var(--st-text-subtle); font-size: 12px; }
.kb-body[b-v7jkdvqaed]  .kbs-quiet { margin: 0; color: var(--st-text-subtle); font-size: 12px; }
.kb-body[b-v7jkdvqaed]  .kbs-empty { margin: 0; padding: 16px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbs-problem {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-weight: 600;
}

.kb-body[b-v7jkdvqaed]  .kbs-problem-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }

.kb-body[b-v7jkdvqaed]  .kbs-field { display: grid; gap: 5px; min-width: 0; }
.kb-body[b-v7jkdvqaed]  .kbs-label { font-size: 11.5px; font-weight: 700; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbs-hint { font-size: 11.5px; color: var(--st-text-subtle); }

/* KodawariMore: una línea de ayuda y el resto detrás de «?». */
.kb-body[b-v7jkdvqaed]  .kbs-more { font-size: 11.5px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbs-more.is-lead { max-width: 92ch; font-size: inherit; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbs-more-line { display: block; list-style: none; cursor: pointer; border-radius: 4px; }
.kb-body[b-v7jkdvqaed]  .kbs-more-line::-webkit-details-marker { display: none; }
.kb-body[b-v7jkdvqaed]  .kbs-more-line:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }
.kb-body[b-v7jkdvqaed]  .kbs-more-mark {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 50%;
    color: var(--st-text-subtle);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    vertical-align: 1px;
}
.kb-body[b-v7jkdvqaed]  .kbs-more-line:hover .kbs-more-mark,
.kb-body[b-v7jkdvqaed]  .kbs-more[open] .kbs-more-mark { border-color: var(--st-text-subtle); color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbs-more-text { margin-top: 4px; padding: 2px 0 2px 10px; border-left: 2px solid var(--st-border-strong); }
.kb-body[b-v7jkdvqaed]  .kbs-more-text p { margin: 0; }
.kb-body[b-v7jkdvqaed]  .kbs-more-text p + p { margin-top: 4px; }

.kb-body[b-v7jkdvqaed]  .kbs-input {
    box-sizing: border-box;
    max-width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg, var(--st-surface));
    color: var(--st-text);
    font: inherit;
    font-size: 12.5px;
}

.kb-body[b-v7jkdvqaed]  .kbs-input:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

/* ---------- Tableros ---------- */
.kb-body[b-v7jkdvqaed]  .kbs-boards { display: grid; gap: 8px; max-width: 760px; }

.kb-body[b-v7jkdvqaed]  .kbs-board {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

.kb-body[b-v7jkdvqaed]  .kbs-board.is-off { background: var(--st-surface-muted); }
.kb-body[b-v7jkdvqaed]  .kbs-board.is-default { border-color: var(--kodawari-selected, #e5b900); }
.kb-body[b-v7jkdvqaed]  .kbs-board-text { display: grid; gap: 2px; min-width: 0; }
.kb-body[b-v7jkdvqaed]  .kbs-board-name { font-weight: 800; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbs-board-key { margin-left: 4px; font-size: 11px; font-weight: 600; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbs-board-desc { font-size: 12px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbs-board-note { font-size: 11.5px; color: var(--st-warning-fg); }

.kb-body[b-v7jkdvqaed]  .kbs-switch { position: relative; display: inline-flex; cursor: pointer; }
.kb-body[b-v7jkdvqaed]  .kbs-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.kb-body[b-v7jkdvqaed]  .kbs-switch-track {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: var(--st-border-strong);
    transition: background 0.15s ease;
}

.kb-body[b-v7jkdvqaed]  .kbs-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.15s ease;
}

.kb-body[b-v7jkdvqaed]  .kbs-switch input:checked + .kbs-switch-track { background: #d81b84; }
.kb-body[b-v7jkdvqaed]  .kbs-switch input:checked + .kbs-switch-track::after { transform: translateX(16px); }
.kb-body[b-v7jkdvqaed]  .kbs-switch input:disabled + .kbs-switch-track { opacity: 0.55; }
.kb-body[b-v7jkdvqaed]  .kbs-switch input:focus-visible + .kbs-switch-track { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }

.kb-body[b-v7jkdvqaed]  .kbs-start { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbs-start input { accent-color: #d81b84; }
.kb-body[b-v7jkdvqaed]  .kbs-foot { margin: 0; color: var(--st-text-subtle); font-size: 12px; }

/* ---------- Procesos y zona (la zona de reparación) ---------- */
.kb-body[b-v7jkdvqaed]  .kbz-pickers { display: flex; flex-wrap: wrap; gap: 16px; }
.kb-body[b-v7jkdvqaed]  .kbz-pickers .kbs-field { width: min(320px, 100%); }

.kb-body[b-v7jkdvqaed]  .kbz-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--st-text-brand); }

.kb-body[b-v7jkdvqaed]  .kbz-summary { margin: 0; font-weight: 600; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbz-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.kb-body[b-v7jkdvqaed]  .kbz-note { padding: 12px 14px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface); }
.kb-body[b-v7jkdvqaed]  .kbz-note h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbz-note ul { display: grid; gap: 3px; margin: 0; padding-left: 18px; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbz-note p { margin: 0; color: var(--st-text-body); }

/* Cabinas de pintura (D196): una fila por cabina con su letra, nombre, código, cupo y color. */
.kb-body[b-v7jkdvqaed]  .kbb-list { display: grid; gap: 8px; max-width: 960px; }
.kb-body[b-v7jkdvqaed]  .kbb-row {
    display: grid;
    grid-template-columns: 32px minmax(160px, 1.6fr) minmax(96px, 0.8fr) minmax(104px, 0.7fr) 64px minmax(96px, auto) auto;
    align-items: end;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}
.kb-body[b-v7jkdvqaed]  .kbb-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.35);
}
.kb-body[b-v7jkdvqaed]  .kbb-color-input {
    width: 44px;
    height: 34px;
    padding: 2px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    cursor: pointer;
}
.kb-body[b-v7jkdvqaed]  .kbb-color-input:disabled { opacity: 0.55; cursor: not-allowed; }
.kb-body[b-v7jkdvqaed]  .kbb-state { align-self: center; font-size: 11.5px; color: var(--st-text-subtle); white-space: nowrap; }
.kb-body[b-v7jkdvqaed]  .kbb-remove { align-self: center; }
.kb-body[b-v7jkdvqaed]  .kbb-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.kb-body[b-v7jkdvqaed]  .kbb-convert { width: min(360px, 100%); }

/* Grupos de procesos del JSCB (D202): a la izquierda los grupos, a la derecha los procesos en el orden de la ruta. */
.kb-body[b-v7jkdvqaed]  .kbg-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.kb-body[b-v7jkdvqaed]  .kbg-col { display: grid; align-content: start; gap: 10px; min-width: 0; }
.kb-body[b-v7jkdvqaed]  .kbg-col-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.kb-body[b-v7jkdvqaed]  .kbg-col-head h4 { margin: 0; font-size: 13px; font-weight: 700; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbg-list { display: grid; gap: 8px; }

.kb-body[b-v7jkdvqaed]  .kbg-group {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

.kb-body[b-v7jkdvqaed]  .kbg-group-head { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: end; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbg-swatch { align-self: stretch; width: 8px; border-radius: 4px; background: var(--st-text-brand); }
.kb-body[b-v7jkdvqaed]  .kbg-remove { align-self: end; }

.kb-body[b-v7jkdvqaed]  .kbg-hint { margin: -4px 0 0; }

/* Un proceso que va solo: su color y su nombre, tal como lo dibujará el tablero (no se edita aquí). */
.kb-body[b-v7jkdvqaed]  .kbg-solo {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px dashed var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-surface-muted);
}

.kb-body[b-v7jkdvqaed]  .kbg-solo .kbg-swatch { align-self: stretch; }
.kb-body[b-v7jkdvqaed]  .kbg-solo.is-hidden { opacity: 0.6; background: transparent; }
.kb-body[b-v7jkdvqaed]  .kbg-solo.is-hidden .kbg-pname { text-decoration: line-through; }

/* Color del grupo como desplegable: un botón con el color y una flecha, no una fila de colores. */
.kb-body[b-v7jkdvqaed]  .kbg-colorpick { position: relative; align-self: end; }

.kb-body[b-v7jkdvqaed]  .kbg-colorbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbg-colorbtn:disabled { cursor: not-allowed; opacity: 0.55; }
.kb-body[b-v7jkdvqaed]  .kbg-colorbtn:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }
.kb-body[b-v7jkdvqaed]  .kbg-colordot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px var(--st-border-strong); }

.kb-body[b-v7jkdvqaed]  .kbg-color-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
}

.kb-body[b-v7jkdvqaed]  .kbg-colormenu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 5;
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 10px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.kb-body[b-v7jkdvqaed]  .kbg-colorgrid { display: grid; grid-template-columns: repeat(5, 22px); gap: 8px; }

.kb-body[b-v7jkdvqaed]  .kbg-color {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 2px solid var(--st-surface);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--st-border-strong);
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbg-color.is-on { box-shadow: 0 0 0 2px var(--kodawari-selected, #e5b900); }
.kb-body[b-v7jkdvqaed]  .kbg-color:disabled,
.kb-body[b-v7jkdvqaed]  .kbg-auto:disabled { cursor: not-allowed; opacity: 0.55; }
.kb-body[b-v7jkdvqaed]  .kbg-color:focus-visible,
.kb-body[b-v7jkdvqaed]  .kbg-auto:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 2px; }

.kb-body[b-v7jkdvqaed]  .kbg-auto {
    height: 24px;
    padding: 0 9px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbg-auto.is-on {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kb-body[b-v7jkdvqaed]  .kbg-members { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 26px; }

.kb-body[b-v7jkdvqaed]  .kbg-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px 2px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-size: 11.5px;
    font-weight: 600;
}

.kb-body[b-v7jkdvqaed]  .kbg-chip-x {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--st-text-subtle);
    font: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbg-chip-x:hover:not(:disabled) { background: var(--st-surface-sunken); color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbg-chip-x:disabled { cursor: not-allowed; opacity: 0.45; }
.kb-body[b-v7jkdvqaed]  .kbg-chip-x:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kb-body[b-v7jkdvqaed]  .kbg-plist {
    display: grid;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

.kb-body[b-v7jkdvqaed]  .kbg-prow {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) minmax(120px, 170px);
    align-items: center;
    gap: 10px;
    padding: 4px 6px;
    border-radius: 8px;
}

.kb-body[b-v7jkdvqaed]  .kbg-prow:hover { background: var(--st-surface-muted); }
.kb-body[b-v7jkdvqaed]  .kbg-phead { padding-block: 2px 4px; color: var(--st-text-subtle); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.kb-body[b-v7jkdvqaed]  .kbg-phead:hover { background: none; }
.kb-body[b-v7jkdvqaed]  .kbg-chip.is-member { padding-right: 8px; }
.kb-body[b-v7jkdvqaed]  .kbg-pname { overflow: hidden; font-size: 12.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.kb-body[b-v7jkdvqaed]  .kbg-select { width: 100%; }
.kb-body[b-v7jkdvqaed]  .kbg-select:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Tarjeta ---------- */
.kb-body[b-v7jkdvqaed]  .kbc {
    display: grid;
    /* El editor más ancho (D247): con 360 px los modos de la línea se partían en dos filas y los títulos en dos renglones. */
    grid-template-columns: 232px minmax(0, 1fr) 400px;
    min-height: 100%;
}

.kb-body[b-v7jkdvqaed]  .kbc-parts {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 14px 12px;
    border-right: 1px solid var(--st-border);
    background: var(--st-surface);
}

.kb-body[b-v7jkdvqaed]  .kbc-parts-title {
    margin: 8px 4px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}

.kb-body[b-v7jkdvqaed]  .kbc-part {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 1px 8px;
    width: 100%;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbc-part:hover { background: var(--st-surface-sunken); }
.kb-body[b-v7jkdvqaed]  .kbc-part:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kb-body[b-v7jkdvqaed]  .kbc-part.is-on { border-color: var(--kodawari-selected, #e5b900); background: var(--kodawari-selected-soft, var(--st-gold-bg)); }
.kb-body[b-v7jkdvqaed]  .kbc-part-icon { grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-part-icon svg { width: 18px; height: 18px; }
.kb-body[b-v7jkdvqaed]  .kbc-part-name { font-size: 12.5px; font-weight: 700; }
.kb-body[b-v7jkdvqaed]  .kbc-part.is-on .kbc-part-name { color: var(--kodawari-selected-text, var(--st-text-brand)); }

/* Lo que siempre sale (D247): un bloque que se lee, no seis botones que llevaban a un panel vacío. */
.kb-body[b-v7jkdvqaed]  .kbc-fixed { display: grid; gap: 6px; margin-top: 6px; }
.kb-body[b-v7jkdvqaed]  .kbc-fixed-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 4px; padding: 0; list-style: none; }
.kb-body[b-v7jkdvqaed]  .kbc-fixed-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 6px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface-muted);
    color: var(--st-text-body);
    font-size: 11.5px;
    font-weight: 600;
    cursor: help;
}
.kb-body[b-v7jkdvqaed]  .kbc-fixed-icon { display: inline-flex; width: 12px; height: 12px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-fixed-icon svg { width: 12px; height: 12px; }
.kb-body[b-v7jkdvqaed]  .kbc-fixed-note { margin: 0 4px; font-size: 11.5px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-part-value { overflow: hidden; font-size: 11.5px; color: var(--st-text-subtle); text-overflow: ellipsis; }

.kb-body[b-v7jkdvqaed]  .kbc-preview { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 16px 20px 24px; }
.kb-body[b-v7jkdvqaed]  .kbc-pvbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-pvbar .kbs-input { max-width: min(320px, 100%); }

/* La tarjeta del DCB ampliada sobre una cuadrícula de puntos; las zonas que se tocan van encima, en px de la tarjeta. */
.kb-body[b-v7jkdvqaed]  .kbc-stage {
    --kbc-scale: 1.9;
    display: flex;
    justify-content: center;
    padding: 34px 16px 44px;
    border-radius: 12px;
    background-color: var(--st-surface-sunken);
    background-image: radial-gradient(var(--st-border-strong) 1px, transparent 1px);
    background-size: 16px 16px;
}

.kb-body[b-v7jkdvqaed]  .kbc-stage-box { flex: none; width: calc(168px * var(--kbc-scale)); height: calc(90px * var(--kbc-scale)); }
.kb-body[b-v7jkdvqaed]  .kbc-scale { position: relative; width: 168px; height: 90px; transform: scale(var(--kbc-scale)); transform-origin: 0 0; }
.kb-body[b-v7jkdvqaed]  .kbc-card { width: 168px; pointer-events: none; }

.kb-body[b-v7jkdvqaed]  .kbc-hit {
    position: absolute;
    z-index: 3;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    /* Se ven sin pasar el ratón (D247): antes eran invisibles y nadie sabía que la tarjeta se podía tocar. */
    outline: 1px dashed color-mix(in srgb, #d81b84 45%, transparent);
    outline-offset: 0;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbc-hit:hover { outline-color: var(--kb-focus, #d81b84); }
.kb-body[b-v7jkdvqaed]  .kbc-hit:focus-visible { outline: 1.5px solid var(--kb-focus, #d81b84); }
.kb-body[b-v7jkdvqaed]  .kbc-hit.is-picked { outline: 1.5px solid var(--kodawari-selected, #e5b900); background: rgba(229, 185, 0, 0.14); }

.kb-body[b-v7jkdvqaed]  .kbc-hit-bar { left: 5px; top: 8px; width: 12px; height: 51px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-ot { left: 20px; top: 10px; width: 94px; height: 16px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-plate { left: 20px; top: 26px; width: 94px; height: 24px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-line1 { left: 20px; top: 50px; width: 94px; height: 16px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-corner { left: 120px; top: 15px; width: 40px; height: 18px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-photo { left: 132px; top: 38px; width: 28px; height: 28px; border-radius: 50%; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-line2 { left: 20px; top: 66px; width: 140px; height: 16px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-level { left: 150px; top: -6px; width: 24px; height: 24px; border-radius: 50%; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-vft { left: -4px; top: -6px; width: 34px; height: 18px; border-radius: 999px; }
.kb-body[b-v7jkdvqaed]  .kbc-hit-tags { left: 54px; top: 80px; width: 60px; height: 20px; border-radius: 999px; }

.kb-body[b-v7jkdvqaed]  .kbc-hint { margin: -4px 0 0; color: var(--st-text-subtle); font-size: 12px; text-align: center; }

/* Una línea vacía en la vista previa dice por qué (D247), en vez de un recuadro vacío que parecía un error. */
.kb-body[b-v7jkdvqaed]  .kbc-empty-note {
    margin: -4px auto 0;
    max-width: 520px;
    padding: 8px 12px;
    border: 1px dashed var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 12.5px;
    text-align: center;
}

.kb-body[b-v7jkdvqaed]  .kbc-editor {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    padding: 16px 16px 24px;
    border-left: 1px solid var(--st-border);
    background: var(--st-surface);
}

.kb-body[b-v7jkdvqaed]  .kbc-ed-head { display: grid; gap: 2px; }
.kb-body[b-v7jkdvqaed]  .kbc-ed-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--st-text-strong); }
.kb-body[b-v7jkdvqaed]  .kbc-ed-sub { margin: 1px 0 0; font-size: 12px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-ed-note { margin: 0; font-size: 12.5px; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbc-ed-h4 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbc-lock { width: 18px; height: 18px; margin-top: 1px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-lock svg { width: 18px; height: 18px; }
.kb-body[b-v7jkdvqaed]  .kbc-sep { height: 1px; background: var(--st-border); }

.kb-body[b-v7jkdvqaed]  .kbc-items { display: grid; gap: 12px; }
.kb-body[b-v7jkdvqaed]  .kbc-options { display: grid; gap: 4px; }

.kb-body[b-v7jkdvqaed]  .kbc-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 9px;
    background: var(--st-surface);
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbc-option:hover { background: var(--st-surface-sunken); }
.kb-body[b-v7jkdvqaed]  .kbc-option.is-on { border-color: var(--kodawari-selected, #e5b900); background: var(--kodawari-selected-soft, var(--st-gold-bg)); }
.kb-body[b-v7jkdvqaed]  .kbc-option.is-off { opacity: 0.55; cursor: not-allowed; }
.kb-body[b-v7jkdvqaed]  .kbc-option input { margin: 0; accent-color: #d81b84; }
.kb-body[b-v7jkdvqaed]  .kbc-option-text { display: grid; gap: 1px; min-width: 0; }
.kb-body[b-v7jkdvqaed]  .kbc-option-text b { font-size: 12.5px; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbc-option-text small { font-size: 11px; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbc-option-text em { font-size: 11px; font-style: normal; color: var(--st-warning-fg); }

.kb-body[b-v7jkdvqaed]  .kbc-plist {
    display: grid;
    gap: 2px;
    /* Todos los procesos a la vista (D247): con 236 px y la barra oculta, los últimos parecían no existir. */
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.kb-body[b-v7jkdvqaed]  .kbc-prow {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    align-items: center;
    gap: 1px 8px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbc-prow:hover { background: var(--st-surface); }
.kb-body[b-v7jkdvqaed]  .kbc-prow:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: -1px; }
.kb-body[b-v7jkdvqaed]  .kbc-prow.is-on { border-color: var(--kodawari-selected, #e5b900); background: var(--kodawari-selected-soft, var(--st-gold-bg)); }
.kb-body[b-v7jkdvqaed]  .kbc-pdot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--st-text-brand); }
.kb-body[b-v7jkdvqaed]  .kbc-pdot.is-all { background: conic-gradient(#2563eb 0 25%, #d81b84 0 50%, #65a30d 0 75%, #f97316 0); }
.kb-body[b-v7jkdvqaed]  .kbc-pname { overflow: hidden; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.kb-body[b-v7jkdvqaed]  .kbc-pname small { font-size: 11px; font-weight: 500; color: var(--st-text-subtle); }
/* Lo que dice de verdad cada proceso, debajo de su nombre (D247): antes «Como todos» nueve veces y recortado a 150 px. */
.kb-body[b-v7jkdvqaed]  .kbc-pval { grid-column: 2; font-size: 11.5px; font-weight: 600; color: var(--st-text-brand); }
.kb-body[b-v7jkdvqaed]  .kbc-pval.is-inherit { color: var(--st-text-subtle); font-weight: 500; }
.kb-body[b-v7jkdvqaed]  .kbc-ptag {
    display: inline-block;
    margin-right: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-accent-bg);
    color: var(--st-text-brand);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
}
.kb-body[b-v7jkdvqaed]  .kbc-plist-foot { margin: -6px 2px 0; font-size: 11.5px; color: var(--st-text-subtle); }

/* ---------- Editor de una línea ---------- */
.kb-body[b-v7jkdvqaed]  .kbl { display: grid; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbl-seg { display: flex; flex-wrap: wrap; gap: 4px; }

.kb-body[b-v7jkdvqaed]  .kbl-seg-btn {
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.kb-body[b-v7jkdvqaed]  .kbl-seg-btn:hover:not(:disabled) { background: var(--st-surface-sunken); }
.kb-body[b-v7jkdvqaed]  .kbl-seg-btn:disabled { cursor: not-allowed; }
.kb-body[b-v7jkdvqaed]  .kbl-seg-btn:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kb-body[b-v7jkdvqaed]  .kbl-seg-btn.is-on {
    border-color: var(--kodawari-selected, #e5b900);
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kb-body[b-v7jkdvqaed]  .kbl-result { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--st-surface-sunken); }
.kb-body[b-v7jkdvqaed]  .kbl-result-title { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbl-result-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.kb-body[b-v7jkdvqaed]  .kbl-result-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 12.5px; }
.kb-body[b-v7jkdvqaed]  .kbl-result-plate { font-weight: 800; color: var(--st-text-brand); font-variant-numeric: tabular-nums; }
.kb-body[b-v7jkdvqaed]  .kbl-result-text { min-width: 0; overflow-wrap: anywhere; font-weight: 700; color: var(--st-text-body); }
.kb-body[b-v7jkdvqaed]  .kbl-result-text.is-muted { color: var(--st-text-muted); }
.kb-body[b-v7jkdvqaed]  .kbl-result-text.is-warn { color: var(--st-warning-fg); }
.kb-body[b-v7jkdvqaed]  .kbl-result-cut { font-size: 11px; font-weight: 600; color: var(--st-warning-fg); }
.kb-body[b-v7jkdvqaed]  .kbl-result-gloss { font-weight: 500; color: var(--st-text-subtle); }

/* «Usar la línea general» (D247): un interruptor aparte en vez de un quinto botón entre los modos. */
.kb-body[b-v7jkdvqaed]  .kbl-inherit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.kb-body[b-v7jkdvqaed]  .kbl-inherit input { margin-top: 2px; accent-color: #d81b84; }
.kb-body[b-v7jkdvqaed]  .kbl-inherit small { font-weight: 500; color: var(--st-text-subtle); }
.kb-body[b-v7jkdvqaed]  .kbl-result-warn {
    margin: 2px 0 0;
    padding: 6px 8px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    font-size: 11.5px;
    color: var(--st-warning-text);
}

/* Estrecho: las pestañas arriba y las columnas de la tarjeta una debajo de otra. */
@media (max-width: 1180px) {
    .kb-body[b-v7jkdvqaed]  .kbc { grid-template-columns: minmax(0, 1fr) 340px; }

    .kb-body[b-v7jkdvqaed]  .kbc-parts {
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        border-right: 0;
        border-bottom: 1px solid var(--st-border);
    }

    .kb-body[b-v7jkdvqaed]  .kbc-parts-title { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
    .kb-body[b-v7jkdvqaed]  .kbg-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
    .kb-body[b-v7jkdvqaed]  .kbb-row { grid-template-columns: 32px 1fr 1fr; }
    .kb-body[b-v7jkdvqaed]  .kbb-state { grid-column: 2 / -1; }
    .kb-main[b-v7jkdvqaed] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .kb-main.is-solo[b-v7jkdvqaed] { grid-template-rows: minmax(0, 1fr); }
    .kb-side[b-v7jkdvqaed] { max-height: 34vh; border-right: 0; border-bottom: 1px solid var(--st-border); }
    .kb-head[b-v7jkdvqaed] { flex-wrap: wrap; }
    .kb-head .kb-title-text[b-v7jkdvqaed] { flex: 1 1 55%; }
    .kb-head > .kb-icon-btn[b-v7jkdvqaed] { order: 1; }
    .kb-head > .kb-btn[b-v7jkdvqaed] { order: 3; }
    .kb-sec-head[b-v7jkdvqaed] { padding-inline: 16px; }
    .kb-chip.is-was[b-v7jkdvqaed] { height: auto; min-height: 22px; white-space: normal; }
    .kb-body[b-v7jkdvqaed]  .kbs-pane { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
    .kb-back[b-v7jkdvqaed] { margin-inline: 16px; }
    .kb-body[b-v7jkdvqaed]  .kbc { grid-template-columns: minmax(0, 1fr); }
    .kb-body[b-v7jkdvqaed]  .kbc-editor { border-top: 1px solid var(--st-border); border-left: 0; }
    .kb-body[b-v7jkdvqaed]  .kbc-stage { --kbc-scale: 1.45; }
}

/* El pie ocupa tres renglones en un celular: «Revisar cambios» va encima de él. */
@media (max-width: 640px) {
    .kb-review[b-v7jkdvqaed] { bottom: 124px; }
    .kb-foot-actions[b-v7jkdvqaed] { flex: 1 1 100%; }
    .kb-foot-actions .kb-btn[b-v7jkdvqaed] { flex: 1 1 auto; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .kb-body[b-v7jkdvqaed]  .kbs-switch-track,
    .kb-body[b-v7jkdvqaed]  .kbs-switch-track::after { transition: none; }
}

/* ─── Columnas laterales (D210) ──────────────────────────────────────────── */
.kb-body[b-v7jkdvqaed]  .kbp-sides { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbp-side {
    display: grid;
    gap: 1px;
    padding: 8px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.kb-body[b-v7jkdvqaed]  .kbp-side-name { font-weight: 700; }
.kb-body[b-v7jkdvqaed]  .kbp-side.is-on { background: var(--kodawari-selected-soft, var(--st-gold-bg)); border-color: var(--kodawari-selected, #e5b900); color: var(--kodawari-selected-text, var(--st-text-brand)); }
.kb-body[b-v7jkdvqaed]  .kbp-side:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }

.kb-body[b-v7jkdvqaed]  .kbp-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.8fr); align-items: start; gap: 20px; }
.kb-body[b-v7jkdvqaed]  .kbp-actions { display: flex; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbp-list { display: grid; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbp-block {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}
.kb-body[b-v7jkdvqaed]  .kbp-block-head { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbp-title { flex: 1 1 160px; }
.kb-body[b-v7jkdvqaed]  .kbp-stage { flex: 0 1 190px; grid-template-columns: minmax(0, 1fr); }
.kb-body[b-v7jkdvqaed]  .kbp-move { display: flex; gap: 6px; margin-left: auto; }
.kb-body[b-v7jkdvqaed]  .kbp-add { width: auto; min-width: 130px; }

/* La columna real, a su tamaño (a la escala del DCB). Sus bloques se reparten todo el alto, así que el marco lo fija. */
.kb-body[b-v7jkdvqaed]  .kbp-stage-frame {
    display: flex;
    justify-content: center;
    height: min(520px, 70vh);
    overflow: hidden;
    padding: 8px;
    border: 1px dashed var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

@media (max-width: 900px) {
    .kb-body[b-v7jkdvqaed]  .kbp-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ─── Equipos de los tableros (D211) ─────────────────────────────────────── */
.kb-body[b-v7jkdvqaed]  .kbt-set { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface); }
.kb-body[b-v7jkdvqaed]  .kbt-set-title { margin: 0; font-size: 14px; font-weight: 800; color: var(--st-text-strong); }
.kb-body[b-v7jkdvqaed]  .kbt-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-mode {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.kb-body[b-v7jkdvqaed]  .kbt-mode:disabled { cursor: not-allowed; opacity: 0.6; }
.kb-body[b-v7jkdvqaed]  .kbt-mode-name { font-weight: 800; }
.kb-body[b-v7jkdvqaed]  .kbt-mode.is-on { background: var(--kodawari-selected-soft, var(--st-gold-bg)); border-color: var(--kodawari-selected, #e5b900); color: var(--kodawari-selected-text, var(--st-text-brand)); }
.kb-body[b-v7jkdvqaed]  .kbt-mode:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kb-body[b-v7jkdvqaed]  .kbt-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-warn { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--st-warning-bg, #fff7e0); color: var(--st-warning-fg, #8a5a00); font-size: 12px; }
.kb-body[b-v7jkdvqaed]  .kbt-teams { display: grid; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbt-team { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface-muted); }
.kb-body[b-v7jkdvqaed]  .kbt-team-head { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbt-team-head.has-fold { justify-content: flex-start; }
.kb-body[b-v7jkdvqaed]  .kbt-team-head.has-fold > .kbg-remove { margin-left: auto; }
.kb-body[b-v7jkdvqaed]  .kbt-team-head.has-fold > .kbt-team-name { align-self: center; }
.kb-body[b-v7jkdvqaed]  .kbt-fold { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 2px; padding: 0; border: 1px solid var(--st-border); border-radius: 8px; background: var(--st-surface); color: var(--st-text-muted); cursor: pointer; }
.kb-body[b-v7jkdvqaed]  .kbt-fold svg { width: 16px; height: 16px; }
.kb-body[b-v7jkdvqaed]  .kbt-fold:hover { color: var(--st-text); background: var(--st-surface-muted); }
.kb-body[b-v7jkdvqaed]  .kbt-fold:focus-visible { outline: 2px solid var(--kb-focus, #d81b84); outline-offset: 1px; }
.kb-body[b-v7jkdvqaed]  .kbt-fold-summary { margin: 0; color: var(--st-text-muted); font-size: 12.5px; }
.kb-body[b-v7jkdvqaed]  .kbt-team-field { flex: 1 1 200px; max-width: 320px; }
.kb-body[b-v7jkdvqaed]  .kbt-team-name { font-weight: 800; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbt-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-line-label { padding-top: 5px; }
.kb-body[b-v7jkdvqaed]  .kbt-cov-row { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-body[b-v7jkdvqaed]  .kbt-cov {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    font-size: 12px;
    color: var(--st-text-body);
}
.kb-body[b-v7jkdvqaed]  .kbt-cov.is-ok b { color: var(--st-success-fg, #15803d); }
.kb-body[b-v7jkdvqaed]  .kbt-cov.is-gap { border-color: #e5a100; background: var(--st-warning-bg, #fff7e0); color: var(--st-warning-fg, #8a5a00); }
.kb-body[b-v7jkdvqaed]  .kbt-procs { display: grid; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-proc { display: grid; gap: 6px; padding: 8px 10px; border: 1px solid var(--st-border); border-radius: 10px; background: var(--st-surface); }
.kb-body[b-v7jkdvqaed]  .kbt-proc.is-gap { border-color: #e5a100; }
.kb-body[b-v7jkdvqaed]  .kbt-proc-head { display: flex; align-items: center; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-proc-swatch { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 4px; }
.kb-body[b-v7jkdvqaed]  .kbt-proc-name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 800; color: var(--st-text-strong); }
.kb-body[b-v7jkdvqaed]  .kbt-proc-people { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-body[b-v7jkdvqaed]  .kbt-person {
    display: inline-flex; align-items: center; gap: 8px; padding: 3px 6px 3px 3px;
    border: 1px solid var(--st-border); border-radius: 999px; background: var(--st-surface-muted);
    font-size: 12.5px; font-weight: 600; color: var(--st-text);
}
.kb-body[b-v7jkdvqaed]  .kbt-face { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--st-surface-sunken); }
.kb-body[b-v7jkdvqaed]  .kbt-person-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.kb-body[b-v7jkdvqaed]  .kbt-person-name { white-space: nowrap; }
.kb-body[b-v7jkdvqaed]  .kbt-person-sub { display: flex; align-items: center; gap: 6px; min-width: 0; }
.kb-body[b-v7jkdvqaed]  .kbt-person-title { white-space: nowrap; font-size: 11px; font-weight: 500; color: var(--st-text-muted); }
.kb-body[b-v7jkdvqaed]  .kbt-person-more { flex: 0 0 auto; padding: 0 6px; border-radius: 999px; background: var(--st-surface-sunken, #e8edf3); font-size: 10.5px; font-weight: 700; line-height: 16px; color: var(--st-text-muted); cursor: help; }
.kb-body[b-v7jkdvqaed]  .kbt-ask { display: grid; gap: 8px; padding: 8px 10px; border: 1px solid var(--st-gold-border); border-radius: 8px; background: var(--st-gold-bg); font-size: 12.5px; color: var(--st-text); }
.kb-body[b-v7jkdvqaed]  .kbt-ask-options { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-body[b-v7jkdvqaed]  .kbt-ask-option { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.kb-body[b-v7jkdvqaed]  .kbt-ask-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-body[b-v7jkdvqaed]  .kbt-same { padding-left: 2px; }

@media (max-width: 900px) {
    .kb-body[b-v7jkdvqaed]  .kbt-modes { grid-template-columns: minmax(0, 1fr); }
    .kb-body[b-v7jkdvqaed]  .kbt-line { grid-template-columns: minmax(0, 1fr); }
}

/* Cerrar con cambios sin guardar (D245): un popup encima del de los tableros, centrado, con lo que cambió por pestaña y las
   tres salidas. El velo cubre solo el popup grande (un clic en él vuelve a editar). */
.kb-confirm-backdrop[b-v7jkdvqaed] {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(15, 23, 42, 0.32);
}

.kb-confirm[b-v7jkdvqaed] {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(92%, 560px);
    max-height: 80%;
    padding: 20px 22px 18px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.08);
    color: var(--st-text);
}

.kb-confirm-title[b-v7jkdvqaed] { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.kb-confirm-text[b-v7jkdvqaed] { margin: 0; font-size: 13.5px; color: var(--st-text-body); }

.kb-confirm-blocker[b-v7jkdvqaed] { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--st-danger-text); }

.kb-confirm-actions[b-v7jkdvqaed] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

/* «Por programar» sin configurar (D257): avisa en ámbar y ofrece confirmar la de siempre. */
.kb-body[b-v7jkdvqaed]  .kbb-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 8px 10px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}
/* /Pages/Home/Components/Calendar/KodawariBoardSwitch.razor.rz.scp.css */
/* Selector de tablero (D75): segmentado, con las medidas de los botones de la barra del JSCB (28 px,
   borde gris, radio 8). El peso de la letra no cambia al seleccionar: así el control mide lo mismo en
   el DCB y en el JSCB y no salta al cambiar de tablero. Lo seleccionado: fondo amarillo suave y texto azul
   marino (--kodawari-selected*, declarado en la raíz del calendario), con el mismo borde gris de los demás
   segmentos; sin el borde amarillo de D91 (D137). */
.kodawari-switch[b-tpsxwiur4x] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.kodawari-switch-btn[b-tpsxwiur4x] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 28px;
    margin-left: -1px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 0;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kodawari-switch-btn:first-child[b-tpsxwiur4x] {
    margin-left: 0;
    border-radius: 8px 0 0 8px;
}

.kodawari-switch-btn:last-child[b-tpsxwiur4x] {
    border-radius: 0 8px 8px 0;
}

.kodawari-switch-btn:hover:not(:disabled):not(.is-active)[b-tpsxwiur4x] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
    z-index: 1;
}

.kodawari-switch-btn:focus-visible[b-tpsxwiur4x] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
    z-index: 3;
}

.kodawari-switch-btn.is-active[b-tpsxwiur4x] {
    z-index: 2;
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    color: var(--kodawari-selected-text, var(--st-text-brand));
    cursor: default;
}

.kodawari-switch-btn:disabled[b-tpsxwiur4x] {
    color: var(--st-text-muted);
    cursor: not-allowed;
}

/* Bloqueado mientras se configura (D78): el seleccionado sigue diciendo dónde se está, apagado. */
.kodawari-switch.is-locked .kodawari-switch-btn[b-tpsxwiur4x] {
    cursor: not-allowed;
}

.kodawari-switch.is-locked .kodawari-switch-btn.is-active[b-tpsxwiur4x] {
    color: var(--kodawari-selected-text, var(--st-text-brand));
    opacity: 0.55;
}

/* Un solo tablero (D108): su nombre en el sitio del selector, con la caja del botón elegido pero sin serlo. */
.kodawari-switch-name[b-tpsxwiur4x] {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: default;
}
/* /Pages/Home/Components/Calendar/KodawariConfigPicker.razor.rz.scp.css */
/* El selector de la configuración de los tableros en el JSCB y el JPCB (D215): el del DCB, en la cabecera (D583). Sus avisos van a la línea de
   mensajes (D544). Se encoge con la cabecera. */
.kcp[b-vl62v0jyw7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
/* /Pages/Home/Components/Calendar/KodawariFlexibilityPanel.razor.rz.scp.css */
/* Flexibilidad del taller del JSCB (D314): vive en un LeftSidebar (navy, ancho fijo) como el panel de equipos; mismos tokens --st-*. */
.kfp-body[b-615j9vev8b] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.kfp-scroll[b-615j9vev8b] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 4px 12px;
}

.kfp-summary[b-615j9vev8b] {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--st-text);
}

.kfp-notice[b-615j9vev8b],
.kfp-more[b-615j9vev8b],
.kfp-state[b-615j9vev8b] {
    padding: 6px 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.kfp-error[b-615j9vev8b] {
    padding: 6px 0;
    font-size: 12px;
    color: var(--st-danger-text);
}

.kfp-list[b-615j9vev8b] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kfp-change[b-615j9vev8b] {
    padding: 10px 8px;
    border-top: 1px solid var(--st-border);
}

.kfp-change-head[b-615j9vev8b] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.kfp-change-title[b-615j9vev8b] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
}

.kfp-kind[b-615j9vev8b] {
    flex: 0 0 auto;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-size: 10.5px;
    font-weight: 600;
}

.kfp-change-detail[b-615j9vev8b] {
    margin-top: 2px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.kfp-figures[b-615j9vev8b] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--st-text);
}

.kfp-figure.is-promise[b-615j9vev8b] {
    font-weight: 600;
    color: var(--st-accent-text);
}

.kfp-plates[b-615j9vev8b] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.kfp-plate[b-615j9vev8b] {
    padding: 1px 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 11px;
    color: var(--st-text);
    white-space: nowrap;
}

.kfp-plate.is-promise[b-615j9vev8b] {
    border-color: var(--st-accent-text);
}

.kfp-plate-gain[b-615j9vev8b] {
    margin-left: 4px;
    color: var(--st-text-subtle);
}

.kfp-footer[b-615j9vev8b] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 4px 4px;
    border-top: 1px solid var(--st-border);
}

.kfp-runs[b-615j9vev8b] {
    margin-right: auto;
    font-size: 11px;
    color: var(--st-text-muted);
}

.kfp-btn[b-615j9vev8b] {
    padding: 7px 14px;
    border: 1px solid var(--st-border-stronger);
    border-radius: 8px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.kfp-btn:hover:not(:disabled)[b-615j9vev8b] {
    background: var(--st-border);
}

.kfp-btn:disabled[b-615j9vev8b] {
    opacity: 0.55;
    cursor: default;
}
/* /Pages/Home/Components/Calendar/KodawariMessageLine.razor.rz.scp.css */
/* La línea de mensajes (D544): 28 px fijos, en la misma caja de la barra (fondo suave, radio 8), con o sin aviso. D553: al pie del
   tablero, en una fila con el zoom a la derecha; el tablero pone la separación con el calendario y la línea ocupa lo que queda.
   Los colores son los de las franjas de antes (.jscb-strip-*) y del aviso verde (.kcp-notice, .dcb-saved), con los tokens globales
   para que valgan igual en los tres tableros. */
.kml[b-be7smlfw1s] {
    /* Sin capa propia. Lo que se abre desde aquí (el texto entero, el detalle y la cola) lleva su capa, 41 a 43: sobre los resultados
       del buscador (.kodawari-hits, 40) y las columnas, bajo los menús de la barra (99-100). */
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    height: 28px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    font-size: 12px;
}

/* La ranura de estado: 200 px fijos, así el aviso empieza siempre en la misma x. */
.kml-status[b-be7smlfw1s] {
    display: flex;
    flex: 0 0 200px;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 28px;
    padding-left: 10px;
    overflow: hidden;
    color: var(--st-text-subtle);
    font-size: 11px;
    white-space: nowrap;
}

.kml-dot[b-be7smlfw1s] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-success-fg);
}

.kml-status.is-warn[b-be7smlfw1s] {
    color: var(--st-warning-fg);
    font-weight: 600;
}

.kml-status.is-warn .kml-dot[b-be7smlfw1s] {
    background: var(--st-warning-fg);
}

.kml-status-text[b-be7smlfw1s] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.kml-zone[b-be7smlfw1s] {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    height: 28px;
    margin-left: 6px;
    padding-left: 6px;
    border-left: 1px solid var(--st-border);
}

.kml-rest[b-be7smlfw1s] {
    min-width: 0;
    padding-left: 4px;
    overflow: hidden;
    color: var(--st-text-subtle);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kml-rest.is-empty[b-be7smlfw1s] {
    font-size: 11px;
}

.kml-rest b[b-be7smlfw1s] {
    color: var(--st-text);
    font-weight: 700;
}

.kml-stat.is-risk[b-be7smlfw1s],
.kml-stat.is-risk b[b-be7smlfw1s] {
    color: var(--st-danger-text);
}

.kml-stat.is-warn[b-be7smlfw1s],
.kml-stat.is-warn b[b-be7smlfw1s] {
    color: var(--st-warning-text);
}

/* El aviso: una sola línea en el alto fijo; lo que no cabe se corta con «…». */
.kml-msg[b-be7smlfw1s] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 28px;
    padding: 0 2px 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.kml-icon[b-be7smlfw1s] {
    flex: none;
    width: 14px;
    height: 14px;
}

.kml-text[b-be7smlfw1s] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kml-text:focus-visible[b-be7smlfw1s] {
    outline: 2px solid #d81b84;
    outline-offset: 1px;
}

.kml-msg.is-error[b-be7smlfw1s] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.kml-msg.is-warn[b-be7smlfw1s],
.kml-msg.is-wait[b-be7smlfw1s],
.kml-msg.is-stale[b-be7smlfw1s] {
    background: var(--st-warning-bg-strong);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.kml-msg.is-note[b-be7smlfw1s] {
    color: var(--st-text-subtle);
}

.kml-msg.is-note .kml-text[b-be7smlfw1s] {
    color: var(--st-text);
}

.kml-msg.is-ok[b-be7smlfw1s] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.kml-msg.is-mode[b-be7smlfw1s] {
    background: var(--kodawari-selected-soft);
    color: var(--kodawari-selected-text);
}

/* Botones del aviso: los de la franja (.jscb-strip-btn) a 22 px, en el tono de su aviso. */
.kml-btn[b-be7smlfw1s] {
    flex: none;
    height: 22px;
    padding: 0 10px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: var(--st-surface);
    color: inherit;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.kml-msg.is-error .kml-btn[b-be7smlfw1s] {
    border-color: var(--st-danger-border);
}

.kml-msg.is-warn .kml-btn[b-be7smlfw1s],
.kml-msg.is-wait .kml-btn[b-be7smlfw1s],
.kml-msg.is-stale .kml-btn[b-be7smlfw1s] {
    border-color: var(--st-warning-border);
}

.kml-msg.is-ok .kml-btn[b-be7smlfw1s] {
    border-color: var(--st-success-border);
    border-radius: 999px;
}

.kml-msg.is-note .kml-btn[b-be7smlfw1s] {
    border-color: var(--st-border-strong);
    color: var(--st-text);
}

.kml-btn.is-quiet[b-be7smlfw1s] {
    opacity: 0.75;
}

.kml-btn:hover:not(:disabled)[b-be7smlfw1s] {
    background: var(--st-surface-muted);
}

.kml-btn:disabled[b-be7smlfw1s] {
    opacity: 0.6;
    cursor: default;
}

/* «Quitar filtro»: el enlace magenta de la barra (.jscb-view-clear). */
.kml-link[b-be7smlfw1s] {
    flex: none;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #d81b84;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.kml-link:hover[b-be7smlfw1s] {
    text-decoration: underline;
}

.kml-more[b-be7smlfw1s] {
    flex: none;
    min-width: 32px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    cursor: pointer;
}

.kml-more[aria-expanded="true"][b-be7smlfw1s] {
    background: var(--kodawari-selected-soft);
    border-color: var(--kodawari-selected);
    color: var(--kodawari-selected-text);
}

.kml-x[b-be7smlfw1s] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.kml-x:hover[b-be7smlfw1s] {
    background: color-mix(in srgb, currentColor 14%, transparent);
}

.kml-x svg[b-be7smlfw1s] {
    width: 12px;
    height: 12px;
}

.kml-btn:focus-visible[b-be7smlfw1s],
.kml-link:focus-visible[b-be7smlfw1s],
.kml-more:focus-visible[b-be7smlfw1s],
.kml-x:focus-visible[b-be7smlfw1s] {
    outline: 2px solid #d81b84;
    outline-offset: 1px;
}

/* Lo que flota sobre la línea sin empujar nada: el texto entero, la lista de lo que falta y los avisos que esperan. D553: la línea
   está al pie, así que se abre hacia arriba, sobre el calendario, con la sombra hacia arriba. */
.kml-full[b-be7smlfw1s],
.kml-details[b-be7smlfw1s],
.kml-queue[b-be7smlfw1s] {
    position: absolute;
    bottom: calc(100% + 6px);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16);
    color: var(--st-text);
    font-size: 12px;
    line-height: 1.4;
}

.kml-full[b-be7smlfw1s] {
    left: 6px;
    z-index: 41;
    display: none;
    max-width: 560px;
    padding: 8px 10px;
    white-space: normal;
}

.kml-msg.is-long:hover ~ .kml-full[b-be7smlfw1s],
.kml-msg.is-long:focus-within ~ .kml-full[b-be7smlfw1s] {
    display: block;
}

.kml-details[b-be7smlfw1s] {
    left: 6px;
    z-index: 42;
    max-width: 560px;
    margin: 0;
    padding: 8px 12px 8px 26px;
}

.kml-queue[b-be7smlfw1s] {
    right: 0;
    z-index: 43;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(560px, 100%);
    padding: 6px;
}

.kml-queue-head[b-be7smlfw1s] {
    padding: 2px 4px;
    color: var(--st-text-subtle);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kml-queue .kml-msg[b-be7smlfw1s] {
    height: auto;
    min-height: 28px;
    padding: 4px 2px 4px 10px;
}

.kml-queue .kml-text[b-be7smlfw1s] {
    white-space: normal;
}

/* Las dos regiones vivas: en el DOM siempre, fuera de la vista. */
.kml-sr[b-be7smlfw1s] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
/* /Pages/Home/Components/Calendar/KodawariOrderSheet.razor.rz.scp.css */
/* Ficha de la OT (D115, D116): el panel derecho de la app (RightSidebar, con la superficie del tema). La OT y la placa
   van en su cabecera, a la altura de la × (la variante .kodawari-order-sheet de su hoja le quita el título centrado y
   la línea); debajo, sobre ese fondo, el vehículo, su estado y los botones; luego la tarjeta del resumen (radio
   20 px, como las de la entrega) y la línea de tiempo de siempre. El cuerpo del panel es el que se desplaza. */
.kos[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 2px 8px;
    color: var(--st-text-body);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── Encabezado, sobre el fondo del panel ─────────────────────────────── */
.kos-head[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* En la cabecera del panel, junto a la ×. */
.kos-title[b-843bzu3d0t] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
}

.kos-order[b-843bzu3d0t] {
    overflow: hidden;
    color: var(--st-text-strong);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kos-plate[b-843bzu3d0t] {
    flex: 0 0 auto;
    padding: 2px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.kos-vehicle[b-843bzu3d0t] {
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 500;
}

.kos-chips[b-843bzu3d0t] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kos-chip[b-843bzu3d0t] {
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.kos-chip.is-auth-authorized[b-843bzu3d0t],
.kos-chip.is-ok[b-843bzu3d0t] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.kos-chip.is-auth-pending[b-843bzu3d0t],
.kos-chip.is-tight[b-843bzu3d0t] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.kos-chip.is-auth-rejected[b-843bzu3d0t],
.kos-chip.is-late[b-843bzu3d0t] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.kos-chip.is-none[b-843bzu3d0t] {
    border-color: var(--st-border-strong);
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
}

/* Asignar (el fucsia de la app) y Ver detalle de la OT, a lo ancho. */
.kos-actions[b-843bzu3d0t] {
    display: flex;
    gap: 8px;
}

.kos-btn[b-843bzu3d0t] {
    flex: 1 1 0;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.kos-btn:hover:not(:disabled)[b-843bzu3d0t] {
    border-color: var(--st-border-stronger);
    background: var(--st-fill-4);
}

.kos-btn.is-primary[b-843bzu3d0t] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.kos-btn.is-primary:hover:not(:disabled)[b-843bzu3d0t] {
    border-color: #be1674;
    background: #be1674;
}

.kos-btn:disabled[b-843bzu3d0t] {
    opacity: 0.45;
    cursor: not-allowed;
}

.kos-btn:focus-visible[b-843bzu3d0t] {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* VFT, como en la tarjeta del DCB. */
.kos-chip.is-vft[b-843bzu3d0t] {
    border-color: #d98c1f;
    background: #d98c1f;
    color: #ffffff;
}

/* ─── Tarjeta del resumen ───────────────────────────────────────────────── */
.kos-card[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.kos-main[b-843bzu3d0t] {
    display: flex;
    gap: 12px;
    min-width: 0;
}

.kos-photo[b-843bzu3d0t] {
    position: relative;
    display: flex;
    flex: 0 0 96px;
    align-items: center;
    justify-content: center;
    height: 96px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--st-surface-sunken);
}

/* Silueta por defecto: debajo de la foto, visible cuando no hay o no carga. */
.kos-photo-placeholder[b-843bzu3d0t] {
    width: 62%;
    height: auto;
    fill: var(--st-text-faint);
}

.kos-photo img[b-843bzu3d0t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kos-facts[b-843bzu3d0t] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.kos-insurance[b-843bzu3d0t] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-body);
    font-size: 12.5px;
    font-weight: 700;
}

.kos-insurance img[b-843bzu3d0t] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.kos-process[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kos-process-name[b-843bzu3d0t] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--st-text-strong);
    font-size: 13px;
}

.kos-process-name b[b-843bzu3d0t] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kos-process-icon[b-843bzu3d0t] {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
}

.kos-process-icon img[b-843bzu3d0t] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kos-person[b-843bzu3d0t] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
}

.kos-avatar[b-843bzu3d0t] {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    overflow: hidden;
    border-radius: 50%;
    background: #334d6e;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
}

.kos-avatar img[b-843bzu3d0t] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kos-person-name[b-843bzu3d0t] {
    overflow: hidden;
    color: var(--st-text-body);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kos-since[b-843bzu3d0t],
.kos-days[b-843bzu3d0t] {
    flex: 0 0 auto;
    color: var(--st-text-subtle);
    font-size: 11.5px;
}

/* Los días en reparación son la cifra principal (desde la primera entrega a la zona de reparación); los días en el
   taller quedan debajo, apagados. */
.kos-repair-days[b-843bzu3d0t] {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 800;
}

.kos-repair-days + .kos-days[b-843bzu3d0t] {
    margin-top: -6px;
}

.kos-progress[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--st-border);
}

.kos-progress-row[b-843bzu3d0t] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.kos-progress-row b[b-843bzu3d0t] {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 800;
}

.kos-hours[b-843bzu3d0t] {
    margin-left: auto;
    color: var(--st-text-subtle);
    font-weight: 500;
}

/* Falta el tiempo del taller: ámbar de atención, como la llegada vencida del DCB (el rojo es de la promesa vencida y
   la detención). */
.kos-hours-alert[b-843bzu3d0t] {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 11.5px;
    font-weight: 700;
}

.kos-bar[b-843bzu3d0t] {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--st-surface-strong);
}

.kos-bar i[b-843bzu3d0t] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #dea301;
}

.kos-dates[b-843bzu3d0t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
}

.kos-dates div[b-843bzu3d0t] {
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.kos-dates dt[b-843bzu3d0t] {
    color: var(--st-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kos-dates dd[b-843bzu3d0t] {
    margin: 2px 0 0;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 700;
}

/* ─── Pestañas «Plan · Línea de tiempo» (D117), sobre el fondo del panel ─────────────── */
.kos-tabs[b-843bzu3d0t] {
    display: flex;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: var(--st-fill-3);
}

.kos-tab[b-843bzu3d0t] {
    flex: 1 1 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.kos-tab:hover:not(.is-on)[b-843bzu3d0t] {
    color: var(--st-text-strong);
}

.kos-tab.is-on[b-843bzu3d0t] {
    background: var(--st-surface-raised);
    color: var(--st-text);
    box-shadow: var(--st-shadow-sm);
}

.kos-tab:focus-visible[b-843bzu3d0t] {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* El plan del JSCB en una tarjeta, como el resumen; su tabla se desplaza por dentro si no cabe. */
.kos-plan[b-843bzu3d0t] {
    padding: 12px;
    border-radius: 20px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.kos-plan[hidden][b-843bzu3d0t],
.kos-timeline[hidden][b-843bzu3d0t] {
    display: none;
}

/* ─── Línea de tiempo: el control de siempre, a su altura natural (el panel desplaza) ───── */
.kos-timeline[b-843bzu3d0t] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kos-timeline[b-843bzu3d0t]  .timeline-panel {
    height: auto;
    min-width: 0;
}

/* A14: «Aprobación para reparar» asked by a pending of «Por programar», on top of the summary card. */
.kos-approval[b-843bzu3d0t]  .wo-appr {
    margin-top: 0;
}
/* /Pages/Home/Components/Calendar/KodawariPanelGrip.razor.rz.scp.css */
/* La agarradera del ancho (D85): una barrita vertical en el borde del panel que da al tablero (el izquierdo, salvo
   en un panel a la izquierda), a media altura, mitad fuera del panel (en el aire que lo separa del tablero). El área
   para agarrarla es más ancha que la barrita. */
.kodawari-panel-grip[b-ail22zz48k] {
    position: absolute;
    top: 50%;
    left: -9px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 60px;
    border-radius: 8px;
    cursor: col-resize;
    touch-action: none;
    transform: translateY(-50%);
}

/* Un panel a la izquierda del tablero (D91): la agarradera en su borde derecho. */
.kodawari-panel-grip.is-left-panel[b-ail22zz48k] {
    left: auto;
    right: -9px;
}

/* Una píldora blanca con una columna de puntos, como las asas de los bloques: se lee como algo que se agarra. */
.kodawari-panel-grip-bar[b-ail22zz48k] {
    box-sizing: border-box;
    width: 10px;
    height: 40px;
    padding: 9px 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    /* Los puntos solo en el centro (content-box, por el padding) y enteros (space); el color, en toda la píldora. */
    background: radial-gradient(circle, var(--st-text-muted) 1.2px, transparent 1.6px) center top / 8px 5px no-repeat space content-box, var(--st-surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
    transition: border-color 0.15s ease, height 0.15s ease;
}

/* Encima o arrastrando: en el fucsia de la app y un poco más alta. */
.kodawari-panel-grip:hover .kodawari-panel-grip-bar[b-ail22zz48k],
.kodawari-panel-grip.is-active .kodawari-panel-grip-bar[b-ail22zz48k] {
    height: 48px;
    border-color: #d81b84;
    background: radial-gradient(circle, #ffffff 1.2px, transparent 1.6px) center top / 8px 5px no-repeat space content-box, #d81b84;
}

.kodawari-panel-grip:focus[b-ail22zz48k] {
    outline: none;
}

.kodawari-panel-grip:focus-visible .kodawari-panel-grip-bar[b-ail22zz48k] {
    border-color: #d81b84;
    background: radial-gradient(circle, #ffffff 1.2px, transparent 1.6px) center top / 8px 5px no-repeat space content-box, #d81b84;
    outline: 2px solid rgba(216, 27, 132, 0.35);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Calendar/KodawariSearchHits.razor.rz.scp.css */
/* Resultados del buscador del calendario (D259): flotan bajo el buscador de la cabecera, arriba a la derecha del tablero. Los neutros
   salen del tema global (--st-*): el mismo aspecto en el DCB, el JSCB y el JPCB, en claro y en oscuro. */
.kodawari-hits[b-yh88gcbuna] {
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 40;
    width: min(400px, calc(100% - 24px));
    max-height: 380px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    font-size: 12px;
}

.kodawari-hits-head[b-yh88gcbuna] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 4px 6px;
    color: var(--st-text-subtle);
}

.kodawari-hits-close[b-yh88gcbuna] {
    border: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    color: var(--st-text-subtle);
}

.kodawari-hits-group[b-yh88gcbuna] {
    padding: 6px 4px 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--st-text-subtle);
}

.kodawari-hits-item[b-yh88gcbuna] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kodawari-hits-item:hover[b-yh88gcbuna],
.kodawari-hits-item:focus-visible[b-yh88gcbuna] {
    background: var(--st-surface-sunken);
}

.kodawari-hits-item:focus-visible[b-yh88gcbuna] {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

.kodawari-hits-name[b-yh88gcbuna] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.kodawari-hits-order[b-yh88gcbuna],
.kodawari-hits-model[b-yh88gcbuna] {
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.kodawari-hits-model[b-yh88gcbuna] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.kodawari-hits-where[b-yh88gcbuna] {
    margin-left: auto;
    color: var(--st-text-subtle);
    font-size: 11px;
    white-space: nowrap;
}
/* /Pages/Home/Components/Calendar/KodawariSettingsMenu.razor.rz.scp.css */
/* El engranaje de la barra de los tableros (D90). Medidas de los botones de la barra (28 px, borde gris,
   radio 8, como KodawariBarPopover); abierto, en el amarillo suave de la selección (D75). El menú se ancla a
   su derecha, con la caja de los popovers de la barra (D79). Los neutros salen del tema (--st-*), como en esos. */
.kodawari-settings[b-9x0x8ojk9d] {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.kodawari-settings-btn[b-9x0x8ojk9d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    height: 28px;
    padding: 0 5px 0 6px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kodawari-settings-btn:hover:not(:disabled)[b-9x0x8ojk9d] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

/* Apagado mientras se mueven las OT de un proceso (v12 G4b). */
.kodawari-settings-btn:disabled[b-9x0x8ojk9d] {
    color: var(--st-text-muted);
    opacity: 0.55;
    cursor: not-allowed;
}

.kodawari-settings-btn:focus-visible[b-9x0x8ojk9d] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.kodawari-settings-btn.is-open[b-9x0x8ojk9d],
.kodawari-settings-btn.is-open:hover[b-9x0x8ojk9d] {
    background: var(--kodawari-selected-soft, var(--st-gold-bg));
    border-color: var(--kodawari-selected, #e5b900);
    color: var(--kodawari-selected-text, var(--st-text-brand));
}

.kodawari-settings-gear[b-9x0x8ojk9d] {
    flex: none;
    width: 16px;
    height: 16px;
}

.kodawari-settings-chevron[b-9x0x8ojk9d] {
    flex: none;
    width: 11px;
    height: 11px;
    color: var(--st-text-subtle);
    transition: transform 0.12s ease;
}

.kodawari-settings-btn.is-open .kodawari-settings-chevron[b-9x0x8ojk9d] {
    transform: rotate(180deg);
}

.kodawari-settings-backdrop[b-9x0x8ojk9d] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.kodawari-settings-menu[b-9x0x8ojk9d] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    width: 288px;
    max-width: calc(100vw - 32px);
    padding: 6px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    font-size: 12px;
    line-height: 1.35;
    color: var(--st-text);
    text-align: left;
    white-space: normal;
    cursor: default;
}

.kodawari-settings-menu:focus[b-9x0x8ojk9d] {
    outline: none;
}

.kodawari-settings-head[b-9x0x8ojk9d],
.kodawari-settings-group[b-9x0x8ojk9d] {
    padding: 4px 8px 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}

/* Lo de la configuración del taller, separado de lo del tablero. */
.kodawari-settings-group[b-9x0x8ojk9d] {
    margin-top: 4px;
    padding-top: 9px;
    border-top: 1px solid var(--st-border);
}

.kodawari-settings-item[b-9x0x8ojk9d] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.kodawari-settings-item:hover[b-9x0x8ojk9d] {
    background: var(--st-surface-sunken);
}

.kodawari-settings-item:focus-visible[b-9x0x8ojk9d] {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

.kodawari-settings-item:disabled[b-9x0x8ojk9d] {
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.kodawari-settings-item:disabled:hover[b-9x0x8ojk9d] {
    background: transparent;
}

.kodawari-settings-icon[b-9x0x8ojk9d] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-brand);
}

.kodawari-settings-icon svg[b-9x0x8ojk9d] {
    width: 16px;
    height: 16px;
}

.kodawari-settings-item:disabled .kodawari-settings-icon[b-9x0x8ojk9d] {
    background: var(--st-surface-muted);
    color: var(--st-text-muted);
}

.kodawari-settings-text[b-9x0x8ojk9d] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.kodawari-settings-label[b-9x0x8ojk9d] {
    font-size: 13px;
    font-weight: 600;
}

.kodawari-settings-desc[b-9x0x8ojk9d] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.kodawari-settings-item:disabled .kodawari-settings-desc[b-9x0x8ojk9d] {
    color: var(--st-text-muted);
}
/* /Pages/Home/Components/Calendar/KodawariTour.razor.rz.scp.css */
/* El ancla no tiene caja: la raíz del recorrido (fija) vive en ella y, mientras se ve un paso, kodawari-tour.js la pasa al final
   de <body> (D223). */
.kodawari-tour-anchor[b-5bdc93pc68] {
    display: contents;
}

/* Recorridos de los tableros (D135, D222, D223, D252), con el aspecto del recorrido de «Flujo de procesos» (D119): el foco atenúa el
   resto con su sombra y kodawari-tour.js lo coloca, con la tarjeta, en las medidas de la raíz. Sin el script la tarjeta
   va en el centro. Encima de todo, también de las pantallas que un paso abre y el panel monta en su raíz (los paneles
   laterales llegan a 200000). Los neutros salen del tema (claro u oscuro, D136), como en el de «Flujo de procesos». */
.kodawari-tour[b-5bdc93pc68] {
    position: fixed;
    inset: 0;
    z-index: 200100;
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.kodawari-tour[hidden][b-5bdc93pc68] {
    display: none;
}

.kodawari-tour-hole[b-5bdc93pc68] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.55);
    outline: 3px solid #ffffff;
    pointer-events: none;
    /* Only its box moves (briefly): an animated outline or a transition of «all» repainted the screen-wide shadow every frame. */
    transition: left 0.2s ease, top 0.2s ease, width 0.2s ease, height 0.2s ease;
}

/* What pulses in a hands-on step: only its opacity changes, so the compositor animates it without repainting the board. */
.kodawari-tour-hole[b-5bdc93pc68]::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid #d81b84;
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
}

/* La parte del paso ya no está en el tablero: todo atenuado, sin marco. */
.kodawari-tour-hole[data-empty][b-5bdc93pc68] {
    outline: none;
}

.kodawari-tour-card[b-5bdc93pc68] {
    position: absolute;
    top: max(16px, calc(50% - 95px));
    left: max(16px, calc(50% - 170px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100% - 24px);
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
}

.kodawari-tour-card h3[b-5bdc93pc68] {
    margin: 0;
    font-size: 17px;
}

.kodawari-tour-card p[b-5bdc93pc68] {
    margin: 0;
    line-height: 1.5;
}

.kodawari-tour-n[b-5bdc93pc68] {
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.kodawari-tour-acts[b-5bdc93pc68] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.kodawari-tour-gap[b-5bdc93pc68] {
    flex: 1;
}

.kodawari-tour-btn[b-5bdc93pc68] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 13px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.kodawari-tour-btn:hover[b-5bdc93pc68] {
    border-color: var(--st-border-stronger);
    background: var(--st-surface-muted);
}

.kodawari-tour-btn.is-ghost[b-5bdc93pc68] {
    border-color: transparent;
    background: transparent;
}

.kodawari-tour-btn.is-ghost:hover[b-5bdc93pc68] {
    background: var(--st-surface-sunken);
}

.kodawari-tour-btn.is-pri[b-5bdc93pc68] {
    border-color: #d81b84;
    background: #d81b84;
    color: #ffffff;
}

.kodawari-tour-btn.is-pri:hover[b-5bdc93pc68] {
    border-color: #bf1573;
    background: #bf1573;
}

.kodawari-tour-btn:focus-visible[b-5bdc93pc68] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Abriendo la pantalla del paso que sigue: todo atenuado y sin botones que apretar. */
.kodawari-tour[data-busy] .kodawari-tour-hole[b-5bdc93pc68] {
    transition: none;
}

/* Un paso «hazlo tú» (D252): la parte iluminada recibe el ratón. La raíz lo deja pasar; lo atajan la tarjeta y los cuatro velos que
   kodawari-tour.js pone alrededor del foco (con «free» no hay velos: se arrastra una tarjeta a otro bloque o se llena un formulario,
   y el resto se atenúa menos para ver a dónde). Abriendo la pantalla que sigue, nada recibe el ratón. El foco late en el magenta del
   recorrido para invitar al clic. */
.kodawari-tour[data-hands][b-5bdc93pc68] {
    pointer-events: none;
}

.kodawari-tour[data-hands] .kodawari-tour-card[b-5bdc93pc68],
.kodawari-tour[data-hands][data-busy][b-5bdc93pc68] {
    pointer-events: auto;
}

.kodawari-tour-shade[b-5bdc93pc68] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: auto;
}

/* DRG-08: while kodawari-tour.js measures (hit tests), nothing of the tour takes the mouse; it used to write this inline on each
   part, which beat every rule above, hence !important. */
.kodawari-tour.is-measuring[b-5bdc93pc68],
.kodawari-tour.is-measuring .kodawari-tour-card[b-5bdc93pc68],
.kodawari-tour.is-measuring .kodawari-tour-shade[b-5bdc93pc68] {
    pointer-events: none !important;
}

.kodawari-tour[data-hands] .kodawari-tour-hole:not([data-empty])[b-5bdc93pc68] {
    outline-color: #d81b84;
}

.kodawari-tour[data-hands] .kodawari-tour-hole:not([data-empty])[b-5bdc93pc68]::after {
    animation: kodawari-tour-invite-b-5bdc93pc68 1.6s ease-in-out infinite;
}

.kodawari-tour[data-hands='free'] .kodawari-tour-hole[b-5bdc93pc68] {
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.32);
}

@keyframes kodawari-tour-invite-b-5bdc93pc68 {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kodawari-tour[data-hands] .kodawari-tour-hole:not([data-empty])[b-5bdc93pc68]::after {
        animation: none;
    }
}

.kodawari-tour-do[b-5bdc93pc68] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 11px;
    border: 1px solid color-mix(in srgb, #d81b84 38%, var(--st-surface));
    border-radius: 10px;
    background: color-mix(in srgb, #d81b84 9%, var(--st-surface));
}

.kodawari-tour-do svg[b-5bdc93pc68] {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: #d81b84;
}

.kodawari-tour-do span[b-5bdc93pc68] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kodawari-tour-do b[b-5bdc93pc68] {
    font-size: 13.5px;
}

.kodawari-tour-do small[b-5bdc93pc68] {
    color: var(--st-text-subtle);
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .kodawari-tour-hole[b-5bdc93pc68] {
        transition: none;
    }

    .kodawari-tour[data-hands] .kodawari-tour-hole:not([data-empty])[b-5bdc93pc68] {
        animation: none;
    }
}
/* /Pages/Home/Components/Calendar/KodawariWarning.razor.rz.scp.css */
/* Advertencia estándar (D234): el ícono y su aviso. Solo usa los tokens globales (--st-*) para verse igual en el tablero y en la
   configuración. El aviso baja desde el ícono; con .is-end se ancla a la derecha y se abre hacia la izquierda. */
.kwarn[b-g54vd0uiwk] {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.kwarn-btn[b-g54vd0uiwk] {
    display: inline-flex;
    align-items: center;
    padding: 0 3px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--st-warning-fg, #b45309);
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer;
}

.kwarn-btn:hover[b-g54vd0uiwk],
.kwarn-btn.is-open[b-g54vd0uiwk] {
    background: var(--st-warning-bg, rgba(245, 158, 11, 0.12));
}

.kwarn-btn:focus-visible[b-g54vd0uiwk] {
    outline: 2px solid var(--st-focus, #2563eb);
    outline-offset: 1px;
}

.kwarn-backdrop[b-g54vd0uiwk] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.kwarn-pop[b-g54vd0uiwk] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    margin-top: 4px;
    width: min(320px, calc(100vw - 32px));
    max-height: min(380px, 55dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--st-border-strong, #cbd5e1);
    border-radius: 8px;
    background: var(--st-surface-raised, #fff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
    color: var(--st-text, #0f172a);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: default;
}

.kwarn.is-end .kwarn-pop[b-g54vd0uiwk] {
    left: auto;
    right: 0;
}

/* Con «Float» el aviso flota sobre el tablero: fijo, sale de su contenedor y no recibe su recorte ni cuenta en su alto. Sin su
   módulo (jscb-board.js, que fija el lugar junto al ícono) queda bajo el ícono. */
.kwarn.is-float .kwarn-pop[b-g54vd0uiwk] {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    width: min(320px, calc(100vw - 32px));
    margin-top: 22px;
}

/* El ícono de las tarjetas de bolsillo: píldora blanca y sólida, para que se lea sobre cualquier color de tarjeta y en el tema
   oscuro; el glifo, en ámbar oscuro. */
.kwarn-btn.kwarn-pill[b-g54vd0uiwk],
.kwarn-btn.kwarn-pill:hover[b-g54vd0uiwk],
.kwarn-btn.kwarn-pill.is-open[b-g54vd0uiwk] {
    padding: 0 6px;
    border: 1px solid var(--st-warning-border, #f59e0b);
    border-radius: 999px;
    background: #fff;
    color: #b45309;
}

.kwarn-btn.kwarn-pill.is-open[b-g54vd0uiwk] {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.4);
}

.kwarn-title[b-g54vd0uiwk] {
    font-weight: 700;
}

.kwarn-why[b-g54vd0uiwk] {
    color: var(--st-text, #0f172a);
}

.kwarn-pop[b-g54vd0uiwk]  .kwarn-list {
    margin: 0;
    padding-left: 18px;
}

.kwarn-fix[b-g54vd0uiwk] {
    color: var(--st-text-muted, #64748b);
}

.kwarn-fix b[b-g54vd0uiwk] {
    color: var(--st-text, #0f172a);
}
/* /Pages/Home/Components/Calendar/KodawariZoomControl.razor.rz.scp.css */
/* Zoom (D79): «− 105 % +» como un segmentado, con las medidas de los botones de la barra (28 px). El valor va
   en cifras de ancho fijo y en una caja de ancho fijo (cabe «150 %»): el control mide lo mismo con cualquier zoom
   y cae en el mismo sitio en los cuatro tableros. */
.kodawari-zoom[b-z3ioye5prr] {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.kodawari-zoom-btn[b-z3ioye5prr] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 0;
    background: var(--st-surface);
    color: var(--st-text);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kodawari-zoom-btn.is-out[b-z3ioye5prr] {
    border-radius: 8px 0 0 8px;
}

.kodawari-zoom-btn.is-in[b-z3ioye5prr] {
    border-radius: 0 8px 8px 0;
}

/* El zoom de ahora, entre los dos botones: comparte sus bordes de arriba y abajo. */
.kodawari-zoom-value[b-z3ioye5prr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 54px;
    height: 28px;
    padding: 0 4px;
    border-top: 1px solid var(--st-border-strong);
    border-bottom: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}

.kodawari-zoom-btn svg[b-z3ioye5prr] {
    width: 14px;
    height: 14px;
}

.kodawari-zoom-btn:hover:not(.is-disabled)[b-z3ioye5prr] {
    z-index: 1;
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
}

.kodawari-zoom-btn:active:not(.is-disabled)[b-z3ioye5prr] {
    background: var(--st-surface-sunken);
}

.kodawari-zoom-btn:focus-visible[b-z3ioye5prr] {
    z-index: 2;
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* En el tope: gris y sin efecto, pero enfocable (aria-disabled). */
.kodawari-zoom-btn.is-disabled[b-z3ioye5prr] {
    color: var(--st-text-faint);
    cursor: default;
}

/* Solo para el lector de pantalla. */
.kodawari-zoom-live[b-z3ioye5prr] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingChartsTab.razor.rz.scp.css */
.hj-ch[b-eywdmbh1s2] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* The charts follow the width of the tab (a canvas measured before the scrollbar showed must not scroll it sideways). */
.hj-fl-scroll[b-eywdmbh1s2] {
    overflow-x: hidden;
}

.hj-ch.is-busy .hj-ch-kpis[b-eywdmbh1s2],
.hj-ch.is-busy .hj-ch-grid[b-eywdmbh1s2] {
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.hj-ch-head[b-eywdmbh1s2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hj-ch-title[b-eywdmbh1s2] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
}

.hj-ch-sub[b-eywdmbh1s2] {
    margin: 2px 0 0;
    color: var(--st-text-muted);
    font-size: 12px;
}

.hj-ch-draft[b-eywdmbh1s2] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--st-warning-fg);
    font-size: 12px;
}

.hj-ch-kpis[b-eywdmbh1s2] {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, 1fr));
    gap: 12px;
}

.hj-ch-total[b-eywdmbh1s2] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    --hj-ch-tone: var(--st-text-muted);
}

.hj-ch-ring[b-eywdmbh1s2] {
    flex: none;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: conic-gradient(var(--hj-ch-tone) var(--hj-ch-pct), var(--st-surface-muted) 0);
}

.hj-ch-ring[b-eywdmbh1s2]::before {
    content: "";
    grid-area: 1 / 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--st-surface-raised);
}

.hj-ch-ring-value[b-eywdmbh1s2] {
    grid-area: 1 / 1;
    position: relative;
    color: var(--st-text-strong);
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hj-ch-total-text[b-eywdmbh1s2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hj-ch-total.is-good[b-eywdmbh1s2] { --hj-ch-tone: var(--st-success-fg); }
.hj-ch-total.is-fair[b-eywdmbh1s2] { --hj-ch-tone: var(--st-warning-fg); }
.hj-ch-total.is-poor[b-eywdmbh1s2] { --hj-ch-tone: var(--st-danger-fg); }

.hj-ch-kpis .is-good .hj-fl-kpi-value[b-eywdmbh1s2] { color: var(--st-success-text); }
.hj-ch-kpis .is-fair .hj-fl-kpi-value[b-eywdmbh1s2] { color: var(--st-warning-text); }
.hj-ch-kpis .is-poor .hj-fl-kpi-value[b-eywdmbh1s2] { color: var(--st-danger-text); }

.hj-ch-grid[b-eywdmbh1s2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hj-ch-card[b-eywdmbh1s2] {
    margin: 0;
    padding: 10px 12px 6px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    min-width: 0;
    overflow: hidden;
}

.hj-ch-card.is-wide[b-eywdmbh1s2] {
    grid-column: 1 / -1;
}

.hj-ch-card figcaption[b-eywdmbh1s2] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hj-ch-empty[b-eywdmbh1s2] {
    padding: 14px;
    color: var(--st-text-muted);
    font-size: 12.5px;
}

.hj-ch-how[b-eywdmbh1s2] {
    margin: 0;
    color: var(--st-text-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hj-ch-kpis[b-eywdmbh1s2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hj-ch-grid[b-eywdmbh1s2] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingDialog.razor.rz.scp.css */
/* «Nivelación del taller (Heijunka)»: the shell of the popup (like .kb-dialog) and the controls its tabs and drawer share
   (buttons, pills, fields, chips, segmented, notes), reached with ::deep under .hj-dialog. Neutral colors come from --st-*;
   gold #dea301 and magenta #d81b84 are the brand accents. */

.hj-overlay[b-150o9sloii] {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: var(--st-backdrop-tint, rgba(15, 23, 42, 0.38));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hj-dialog[b-150o9sloii] {
    position: fixed;
    top: 2.5vh;
    bottom: 2.5vh;
    left: 50%;
    z-index: 9981;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1440px);
    overflow: hidden;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--st-surface);
    box-shadow: 0 28px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px var(--st-border-subtle);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    animation: hj-in-b-150o9sloii 0.18s ease-out;
}

.hj-dialog:focus[b-150o9sloii] {
    outline: none;
}

@keyframes hj-in-b-150o9sloii {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hj-dialog[b-150o9sloii] {
        animation: none;
    }
}

.hj-head[b-150o9sloii] {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 10px 16px;
}

.hj-title-icon[b-150o9sloii] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-size: 18px;
}

.hj-title-text h2[b-150o9sloii] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 16px;
    font-weight: 700;
}

.hj-title-text p[b-150o9sloii] {
    margin: 1px 0 0;
    color: var(--st-text-muted);
    font-size: 12.5px;
}

/* The «i» (SettingsGuidedHelp): the tour, then the help of the open tab inside its card (moved to the end of <body>, so it keeps
   this file's attribute and the rules below still reach it). */
.hj-help-btn[b-150o9sloii] {
    display: inline-flex;
    align-items: center;
}

.hj-info-card[b-150o9sloii] {
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding-right: 4px;
    color: var(--st-text-body);
    font-size: 12.5px;
}

.hj-tabs[b-150o9sloii] {
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: 18px;
    padding: 0 16px;
    border-bottom: 1px solid var(--st-border);
}

.hj-tab[b-150o9sloii] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 2px 9px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hj-tab:hover[b-150o9sloii] {
    color: var(--st-text-strong);
}

.hj-tab.is-on[b-150o9sloii] {
    border-bottom-color: #dea301;
    color: var(--st-text-strong);
}

.hj-tab:focus-visible[b-150o9sloii] {
    outline: 2px solid #dea301;
    outline-offset: 2px;
}

.hj-count[b-150o9sloii] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font-size: 11px;
    font-weight: 700;
}

.hj-tabs .hj-lock[b-150o9sloii] {
    align-self: center;
    margin-bottom: 4px;
}

.hj-body[b-150o9sloii] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
}

.hj-panel[b-150o9sloii] {
    height: 100%;
}

.hj-panel[hidden][b-150o9sloii] {
    display: none;
}

.hj-state[b-150o9sloii] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--st-text-secondary);
}

.hj-toast[b-150o9sloii] {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(640px, 90%);
    padding: 9px 10px 9px 14px;
    border-radius: 12px;
    background: var(--st-text-strong);
    box-shadow: var(--st-shadow-lg);
    color: var(--st-surface);
    font-size: 13px;
    transform: translateX(-50%);
    animation: hj-toast-in-b-150o9sloii 0.18s ease-out;
}

.hj-toast > i[b-150o9sloii] {
    color: #22c55e;
}

.hj-toast-action[b-150o9sloii] {
    flex: none;
    padding: 4px 10px;
    border: none;
    border-radius: 8px;
    background: #dea301;
    color: #1f2f45;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hj-toast .hj-icon-btn[b-150o9sloii] {
    color: inherit;
}

@keyframes hj-toast-in-b-150o9sloii {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to { opacity: 1; transform: translateX(-50%); }
}

/* ── The general «Guardar» (2026-11-19): one foot for the five tabs ───────────────────────────────────────────────────── */

.hj-foot[b-150o9sloii] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px 10px;
    min-height: 56px;
    padding: 10px 16px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface-muted);
}

.hj-foot > .hj-btn[b-150o9sloii] {
    flex: none;
}

.hj-foot-status[b-150o9sloii] {
    display: inline-flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    color: var(--st-text);
    font-size: 12.5px;
}

.hj-foot-status b[b-150o9sloii] {
    color: var(--st-text-strong);
    font-weight: 700;
    white-space: nowrap;
}

.hj-foot .hj-saving-dot[b-150o9sloii] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dea301;
}

.hj-foot .hj-saving-dot.is-busy[b-150o9sloii] {
    animation: hj-foot-pulse-b-150o9sloii 1s ease-in-out infinite;
}

@keyframes hj-foot-pulse-b-150o9sloii {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.hj-foot-chip[b-150o9sloii] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 4px 0 9px;
    border: 1px solid rgba(222, 163, 1, 0.45);
    border-radius: 999px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.hj-foot-chip:hover[b-150o9sloii] {
    border-color: #dea301;
}

.hj-foot-chip:focus-visible[b-150o9sloii] {
    outline: 2px solid #dea301;
    outline-offset: 1px;
}

.hj-foot-chip span[b-150o9sloii] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dea301;
    color: #1f2f45;
    font-size: 10.5px;
    font-weight: 700;
}

.hj-foot-hint[b-150o9sloii] {
    flex: 1 1 0;
    min-width: 0;
    color: var(--st-text-muted);
    font-size: 12px;
}

.hj-foot-error[b-150o9sloii] {
    display: inline-flex;
    flex: 1 1 0;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    font-size: 12.5px;
    font-weight: 600;
}

.hj-foot-error i[b-150o9sloii] {
    margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hj-foot .hj-saving-dot.is-busy[b-150o9sloii] {
        animation: none;
    }
}

@media (max-width: 760px) {
    .hj-foot-hint[b-150o9sloii] {
        display: none;
    }

    .hj-foot[b-150o9sloii] {
        flex-wrap: wrap;
    }

    .hj-foot-status[b-150o9sloii],
    .hj-foot-error[b-150o9sloii] {
        flex-basis: 100%;
    }
}

/* ── Shared controls (tabs and drawer) ────────────────────────────────────────────────────────────────────────────── */

.hj-dialog[b-150o9sloii]  .hj-grow {
    flex: 1 1 auto;
}

.hj-dialog[b-150o9sloii]  .hj-muted {
    color: var(--st-text-muted);
}

.hj-dialog[b-150o9sloii]  .hj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hj-dialog[b-150o9sloii]  .hj-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.hj-dialog[b-150o9sloii]  .hj-btn:focus-visible {
    outline: 2px solid #dea301;
    outline-offset: 2px;
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-primary {
    background: #d81b84;
    color: var(--st-on-accent);
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-primary:hover:not(:disabled) {
    background: #c0166f;
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-secondary {
    border-color: var(--st-border-strong);
    background: var(--st-btn-secondary-bg, var(--st-surface-raised));
    color: var(--st-btn-secondary-text, var(--st-text-strong));
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-secondary:hover:not(:disabled) {
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-ghost {
    background: none;
    color: var(--st-text-brand);
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-ghost:hover:not(:disabled) {
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-block {
    width: 100%;
}

.hj-dialog[b-150o9sloii]  .hj-btn.is-small {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-icon-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--st-text-secondary);
    font-size: 15px;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  .hj-icon-btn:hover,
.hj-dialog[b-150o9sloii]  .hj-icon-btn.is-on {
    background: var(--st-surface-muted);
    color: var(--st-text-strong);
}

.hj-dialog[b-150o9sloii]  .hj-icon-btn:focus-visible {
    outline: 2px solid #dea301;
    outline-offset: 1px;
}

.hj-dialog[b-150o9sloii]  .hj-icon-btn.is-small {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 12.5px;
}

.hj-dialog[b-150o9sloii]  .hj-icon-btn.is-danger:hover {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.hj-dialog[b-150o9sloii]  .hj-pill {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hj-dialog[b-150o9sloii]  .hj-pill.is-gold {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.hj-dialog[b-150o9sloii]  .hj-pill.is-holiday {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.hj-dialog[b-150o9sloii]  .hj-pill.is-closes {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.hj-dialog[b-150o9sloii]  .hj-pill.is-opens {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.hj-dialog[b-150o9sloii]  .hj-input {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font: inherit;
}

.hj-dialog[b-150o9sloii]  .hj-input.is-name {
    height: 28px;
    font-size: 12.5px;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-input:focus {
    outline: none;
    border-color: #dea301;
    box-shadow: 0 0 0 3px rgba(222, 163, 1, 0.22);
}

.hj-dialog[b-150o9sloii]  .hj-input:disabled {
    background: var(--st-surface-muted);
    color: var(--st-text-muted);
}

.hj-dialog[b-150o9sloii]  .hj-day-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hj-dialog[b-150o9sloii]  .hj-chip {
    min-width: 38px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    background: var(--st-surface);
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  .hj-chip.is-on {
    border-color: #dea301;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.hj-dialog[b-150o9sloii]  .hj-chip:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.hj-dialog[b-150o9sloii]  .hj-segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
}

.hj-dialog[b-150o9sloii]  .hj-segmented button {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  .hj-segmented button.is-on {
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-sm);
    color: var(--st-text-strong);
}

.hj-dialog[b-150o9sloii]  .hj-segmented button:disabled {
    cursor: not-allowed;
}

.hj-dialog[b-150o9sloii]  .hj-note {
    display: flex;
    gap: 7px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--st-info-border);
    border-radius: 10px;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-note.is-warning {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.hj-dialog[b-150o9sloii]  .hj-error {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 12.5px;
}

.hj-dialog[b-150o9sloii]  .hj-error.is-bar {
    align-items: center;
    margin: 8px 8px 0;
}

.hj-dialog[b-150o9sloii]  .hj-error.is-bar span {
    flex: 1 1 auto;
}

.hj-dialog[b-150o9sloii]  .hj-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-muted);
    font-size: 12px;
}

@media (max-width: 760px) {
    .hj-dialog[b-150o9sloii] {
        top: 0;
        bottom: 0;
        width: 100vw;
        border-radius: 0;
    }

    .hj-tabs .hj-lock[b-150o9sloii] {
        display: none;
    }
}

/* ── «Lead time» and «WIP» (the flow of the shop): shared by both tabs ─────────────────────────────────────────────────────── */

.hj-dialog[b-150o9sloii]  .hj-fl {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.hj-dialog[b-150o9sloii]  .hj-fl-state {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--st-text-secondary);
}

.hj-dialog[b-150o9sloii]  .hj-fl-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px 18px 20px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-kpi,
.hj-dialog[b-150o9sloii]  .hj-fl-wip-now,
.hj-dialog[b-150o9sloii]  .hj-fl-wip-max,
.hj-dialog[b-150o9sloii]  .hj-fl-ref {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-fl-kpi-label {
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hj-dialog[b-150o9sloii]  .hj-fl-kpi-value {
    color: var(--st-text-strong);
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-fl-kpi-note,
.hj-dialog[b-150o9sloii]  .hj-fl-ref-note {
    color: var(--st-text-muted);
    font-size: 11.5px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table th,
.hj-dialog[b-150o9sloii]  .hj-fl-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    text-align: left;
    vertical-align: middle;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table thead th {
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
    vertical-align: bottom;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table tbody th {
    color: var(--st-text-strong);
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table .is-num {
    text-align: right;
}

.hj-dialog[b-150o9sloii]  .hj-fl-table tr.is-changed {
    background: rgba(222, 163, 1, 0.08);
}

.hj-dialog[b-150o9sloii]  .hj-fl-table.is-compact th,
.hj-dialog[b-150o9sloii]  .hj-fl-table.is-compact td {
    padding: 5px 6px;
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-days {
    width: 64px;
    height: 30px;
    text-align: right;
}

.hj-dialog[b-150o9sloii]  .hj-fl-days.is-wide {
    width: 96px;
    height: 36px;
    font-size: 16px;
    font-weight: 700;
}

.hj-dialog[b-150o9sloii]  .hj-fl-warn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 4px;
    color: #b45309;
    font-size: 11.5px;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-max .hj-fl-warn {
    justify-content: flex-start;
}

.hj-dialog[b-150o9sloii]  .hj-fl-pct {
    display: inline-block;
    min-width: 44px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
}

.hj-dialog[b-150o9sloii]  .hj-fl-pct.is-ok { background: rgba(22, 163, 74, 0.14); color: #15803d; }
.hj-dialog[b-150o9sloii]  .hj-fl-pct.is-mid { background: rgba(222, 163, 1, 0.18); color: #a16207; }
.hj-dialog[b-150o9sloii]  .hj-fl-pct.is-low { background: rgba(216, 27, 132, 0.14); color: #be185d; }

.hj-dialog[b-150o9sloii]  .hj-fl-error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-fl-error.is-inline {
    padding: 4px 8px;
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-empty,
.hj-dialog[b-150o9sloii]  .hj-fl-note {
    color: var(--st-text-secondary);
}

.hj-dialog[b-150o9sloii]  .hj-fl-notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-notes p,
.hj-dialog[b-150o9sloii]  .hj-fl-ref p {
    margin: 0;
}

/* «WIP real del día»: the counters wide, the buffer hours beside them (design pass 2026-11-19). */
.hj-dialog[b-150o9sloii]  .hj-fl-refs.is-day {
    grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
    align-items: stretch;
    margin-bottom: 18px;
}

/* «Lead time»: the notes as cards and the chart of the days of each level. */
.hj-dialog[b-150o9sloii]  .hj-fl-notes.is-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
    gap: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-notes.is-cards p {
    padding: 10px 12px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-lt-chart {
    margin-top: 18px;
    padding: 12px 14px 8px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-lt-chart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 10px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-chart-head .hj-fl-title {
    margin: 0;
}

.hj-dialog[b-150o9sloii]  .hj-lt-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-legend i {
    display: inline-block;
    width: 14px;
    height: 8px;
    border-radius: 3px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-legend i.is-real { background: rgba(59, 130, 246, 0.35); }
.hj-dialog[b-150o9sloii]  .hj-lt-legend i.is-p90 { width: 3px; height: 12px; background: #3b82f6; }
.hj-dialog[b-150o9sloii]  .hj-lt-legend i.is-min { width: 3px; height: 12px; background: var(--st-text-muted); }
.hj-dialog[b-150o9sloii]  .hj-lt-legend i.is-promise { width: 3px; height: 12px; background: #16a34a; }
.hj-dialog[b-150o9sloii]  .hj-lt-legend i.is-max { width: 3px; height: 12px; background: #dea301; }

.hj-dialog[b-150o9sloii]  .hj-lt-row,
.hj-dialog[b-150o9sloii]  .hj-lt-axis {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-row {
    min-height: 40px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-name {
    color: var(--st-text-strong);
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-lt-track {
    position: relative;
    height: 26px;
    margin-right: 72px;
    border-radius: 6px;
    background: var(--st-surface);
    box-shadow: inset 0 0 0 1px var(--st-border-subtle);
}

.hj-dialog[b-150o9sloii]  .hj-lt-range {
    position: absolute;
    top: 7px;
    bottom: 7px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.35);
}

.hj-dialog[b-150o9sloii]  .hj-lt-range.is-cut {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35) 85%, rgba(59, 130, 246, 0.05));
}

.hj-dialog[b-150o9sloii]  .hj-lt-beyond {
    position: absolute;
    top: 50%;
    left: calc(100% + 6px);
    color: #3b82f6;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateY(-50%);
}

.hj-dialog[b-150o9sloii]  .hj-lt-p90,
.hj-dialog[b-150o9sloii]  .hj-lt-mark {
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: 3px;
    margin-left: -1px;
    border-radius: 2px;
}

.hj-dialog[b-150o9sloii]  .hj-lt-p90 { background: #3b82f6; }
.hj-dialog[b-150o9sloii]  .hj-lt-mark.is-min { background: var(--st-text-muted); }
.hj-dialog[b-150o9sloii]  .hj-lt-mark.is-promise { background: #16a34a; }

.hj-dialog[b-150o9sloii]  .hj-lt-mark.is-max {
    top: -3px;
    bottom: -3px;
    background: #dea301;
}

.hj-dialog[b-150o9sloii]  .hj-lt-mark.is-max b {
    position: absolute;
    top: 50%;
    left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dea301;
    color: #1f2f45;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateY(-50%);
}

.hj-dialog[b-150o9sloii]  .hj-lt-ticks {
    position: relative;
    height: 18px;
    margin-right: 72px;
    color: var(--st-text-muted);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-lt-ticks > span {
    position: absolute;
    top: 2px;
    transform: translateX(-50%);
}

@media (max-width: 760px) {
    .hj-dialog[b-150o9sloii]  .hj-fl-refs.is-day {
        grid-template-columns: minmax(0, 1fr);
    }

    .hj-dialog[b-150o9sloii]  .hj-lt-row,
    .hj-dialog[b-150o9sloii]  .hj-lt-axis {
        grid-template-columns: 64px minmax(0, 1fr);
    }
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-figure {
    color: var(--st-text-strong);
    font-size: 30px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-figure.is-over {
    color: #be185d;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-limit {
    color: var(--st-text-muted);
    font-size: 15px;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-fl-bar {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--st-fill-2, rgba(15, 23, 42, 0.08));
}

.hj-dialog[b-150o9sloii]  .hj-fl-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #dea301;
}

.hj-dialog[b-150o9sloii]  .hj-fl-bar-fill.is-over {
    background: #d81b84;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-split {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 4px;
    color: var(--st-text-secondary);
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-split b {
    color: var(--st-text-strong);
}

.hj-dialog[b-150o9sloii]  .hj-fl-title {
    margin: 0 0 10px;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.hj-dialog[b-150o9sloii]  .hj-fl-refs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    align-items: start;
}

.hj-dialog[b-150o9sloii]  .hj-fl-ref header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--st-text-strong);
    font-weight: 700;
}

.hj-dialog[b-150o9sloii]  .hj-fl-ref header > i {
    color: #dea301;
}

.hj-dialog[b-150o9sloii]  .hj-fl-ref-total {
    margin-left: auto;
    color: var(--st-text-secondary);
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-fl-foot {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    font-size: 11.5px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-saving {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.hj-dialog[b-150o9sloii]  .hj-fl-saving-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dea301;
}

.hj-dialog[b-150o9sloii]  .hj-fl-saving-dot.is-busy {
    animation: hj-fl-pulse-b-150o9sloii 1s ease-in-out infinite;
}

@keyframes hj-fl-pulse-b-150o9sloii {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hj-dialog[b-150o9sloii]  .hj-fl-saving-dot.is-busy {
        animation: none;
    }
}

@media (max-width: 760px) {
    .hj-dialog[b-150o9sloii]  .hj-fl-wip {
        grid-template-columns: 1fr;
    }

    .hj-dialog[b-150o9sloii]  .hj-fl-scroll {
        padding: 12px;
    }
}

/* «Mix»: the shares, the entries of a day and the calendar of the entry slots (one column per day, one box per slot). */
.hj-dialog[b-150o9sloii]  .hj-mix-head {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 4px 0;
}

/* The colours of the work levels in this window: brighter on the navy so they read, the darker ones on white. */
.hj-dialog[b-150o9sloii] {
    --hj-lv-light: color-mix(in srgb, #15803d calc(var(--st-is-light, 0) * 100%), #4ade80);
    --hj-lv-medium: color-mix(in srgb, #b45309 calc(var(--st-is-light, 0) * 100%), #fbbf24);
    --hj-lv-heavy: color-mix(in srgb, #be185d calc(var(--st-is-light, 0) * 100%), #f472b6);
    --hj-lv-light-bg: color-mix(in srgb, var(--hj-lv-light) 20%, transparent);
    --hj-lv-medium-bg: color-mix(in srgb, var(--hj-lv-medium) 20%, transparent);
    --hj-lv-heavy-bg: color-mix(in srgb, var(--hj-lv-heavy) 20%, transparent);
}

.hj-dialog[b-150o9sloii]  .hj-mix-share {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-mix-share.is-light > span:first-child { color: var(--hj-lv-light); }
.hj-dialog[b-150o9sloii]  .hj-mix-share.is-medium > span:first-child { color: var(--hj-lv-medium); }
.hj-dialog[b-150o9sloii]  .hj-mix-share.is-heavy > span:first-child { color: var(--hj-lv-heavy); }

.hj-dialog[b-150o9sloii]  .hj-mix-how p {
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-month {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    border: 1px solid var(--st-border, rgba(100, 116, 139, 0.25));
    border-radius: 8px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-warn.is-left {
    justify-content: flex-start;
}

.hj-dialog[b-150o9sloii]  .hj-fl-state.is-inline {
    justify-content: flex-start;
    padding: 8px 0;
}

.hj-dialog[b-150o9sloii]  .hj-mix-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(132px, 1fr));
    gap: 8px;
    transition: opacity 0.15s ease;
}

.hj-dialog[b-150o9sloii]  .hj-mix-calendar.is-busy {
    opacity: 0.55;
}

.hj-dialog[b-150o9sloii]  .hj-mix-day {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.hj-dialog[b-150o9sloii]  .hj-mix-day.is-closed {
    opacity: 0.6;
    background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(148, 163, 184, 0.12) 6px 12px);
}

.hj-dialog[b-150o9sloii]  .hj-mix-day header {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 11.5px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-date {
    color: var(--st-text-strong);
    font-weight: 700;
    text-transform: capitalize;
}

.hj-dialog[b-150o9sloii]  .hj-mix-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-letter {
    width: 16px;
    font-size: 11px;
    font-weight: 800;
}

.hj-dialog[b-150o9sloii]  .hj-mix-row.is-light .hj-mix-letter { color: var(--hj-lv-light); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-medium .hj-mix-letter { color: var(--hj-lv-medium); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-heavy .hj-mix-letter { color: var(--hj-lv-heavy); }

.hj-dialog[b-150o9sloii]  .hj-mix-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* A free slot: a thick dashed box that reads at a glance, in the text colour so it does not pretend to be one level. */
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-free {
    min-width: 26px;
    height: 22px;
    border: 2.5px dashed var(--st-text-secondary);
    background: rgba(100, 116, 139, 0.08);
}

/* A free slot suggested for a level: the dashed box in that level's colour, with its letter. */
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-free.is-light { border-color: var(--hj-lv-light); color: var(--hj-lv-light); background: var(--hj-lv-light-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-free.is-medium { border-color: var(--hj-lv-medium); color: var(--hj-lv-medium); background: var(--hj-lv-medium-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-free.is-heavy { border-color: var(--hj-lv-heavy); color: var(--hj-lv-heavy); background: var(--hj-lv-heavy-bg); }

.hj-dialog[b-150o9sloii]  .hj-mix-row.is-free-row {
    margin-top: 2px;
    padding-top: 5px;
    border-top: 1px solid var(--st-border, rgba(100, 116, 139, 0.25));
}

.hj-dialog[b-150o9sloii]  .hj-mix-free-label {
    margin-right: 2px;
    color: var(--st-text-strong);
    font-size: 11px;
    font-weight: 700;
}

.hj-dialog[b-150o9sloii]  .hj-mix-free-for {
    flex-basis: 100%;
    color: var(--st-text-secondary);
    font-size: 10.5px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-row.is-light .hj-mix-slot { color: var(--hj-lv-light); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-medium .hj-mix-slot { color: var(--hj-lv-medium); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-heavy .hj-mix-slot { color: var(--hj-lv-heavy); }

.hj-dialog[b-150o9sloii]  .hj-mix-row.is-light .hj-mix-slot.is-taken { background: var(--hj-lv-light-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-medium .hj-mix-slot.is-taken { background: var(--hj-lv-medium-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-row.is-heavy .hj-mix-slot.is-taken { background: var(--hj-lv-heavy-bg); }

/* Heijunka by month: a day's slot is for any level, so each taken one carries the colour of its own level. */
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-taken.is-light { color: var(--hj-lv-light); background: var(--hj-lv-light-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-taken.is-medium { color: var(--hj-lv-medium); background: var(--hj-lv-medium-bg); }
.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-taken.is-heavy { color: var(--hj-lv-heavy); background: var(--hj-lv-heavy-bg); }

.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-taken.is-over {
    outline: 1.5px solid #dc2626;
    color: #b91c1c;
}

.hj-dialog[b-150o9sloii]  .hj-mix-slot.is-other {
    align-self: flex-start;
    background: rgba(100, 116, 139, 0.16);
    color: var(--st-text-secondary);
}

@media (max-width: 1100px) {
    .hj-dialog[b-150o9sloii]  .hj-mix-head {
        grid-template-columns: 1fr 1fr;
    }

    .hj-dialog[b-150o9sloii]  .hj-mix-calendar {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    }
}

@media (max-width: 760px) {
    .hj-dialog[b-150o9sloii]  .hj-mix-head {
        grid-template-columns: 1fr;
    }
}

/* «Capacidad del taller según el plano» (Mix) and the plan's zones (WIP). */
.hj-dialog[b-150o9sloii]  .hj-fl-warn-icon {
    margin-left: 4px;
    color: #b45309;
    font-size: 11px;
}

.hj-dialog[b-150o9sloii]  [data-hj-capacity] {
    margin-bottom: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-ref details > summary {
    cursor: pointer;
    margin-top: 4px;
}

/* «Cuadre del taller»: the same line in «Lead time», «WIP» and «Mix» (the tabs connected, 2026-11-19). */
.hj-dialog[b-150o9sloii]  .hj-fl-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid var(--st-border, rgba(148, 163, 184, .35));
    border-radius: 8px;
}

/* «por defecto» under a value the shop never typed (Lead time › Horas de proceso), not glued to its unit. */
.hj-dialog[b-150o9sloii]  .hj-fl-default {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-question {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 600;
}

/* Three figures with the real sign between them: what the leveling asks, the WIP maximum, the places of the plan. */
.hj-dialog[b-150o9sloii]  .hj-fl-balance-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    margin-top: 4px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-surface-muted, rgba(148, 163, 184, .08));
    min-width: 0;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-name {
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-value {
    color: var(--st-text-strong);
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-from {
    color: var(--st-text-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-from b {
    color: var(--st-text-secondary);
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-sign {
    align-self: center;
    color: var(--st-text-muted);
    font-size: 22px;
    font-weight: 800;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-sign.is-good {
    color: var(--st-success-fg);
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-sign.is-bad {
    color: var(--st-danger-fg);
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-why {
    margin: 2px 0 0;
    color: var(--st-text-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-why b,
.hj-dialog[b-150o9sloii]  .hj-fl-balance-part {
    color: var(--st-text-secondary);
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-verdict {
    align-items: flex-start;
    line-height: 1.5;
}

.hj-dialog[b-150o9sloii]  .hj-fl-balance-verdict ul {
    margin: 2px 0 0;
    padding-left: 18px;
}

@media (max-width: 760px) {
    .hj-dialog[b-150o9sloii]  .hj-fl-balance-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .hj-dialog[b-150o9sloii]  .hj-fl-balance-sign {
        justify-self: center;
        transform: rotate(90deg);
    }
}

.hj-dialog[b-150o9sloii]  .hj-fl-ok {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--st-success-fg);
    font-size: 11.5px;
    font-weight: 600;
}

/* The numbered steps of a tab: what you set, what it gives. */
.hj-dialog[b-150o9sloii]  .hj-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    vertical-align: 1px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-title:has(.hj-step) {
    margin-top: 18px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-title:has(.hj-step):first-child {
    margin-top: 0;
}

.hj-dialog[b-150o9sloii]  .hj-mix-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin: 6px 0 10px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-bottom: 8px;
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.hj-dialog[b-150o9sloii]  .hj-mix-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* A folded block of a tab: the references to decide, which most days nobody needs open. */
.hj-dialog[b-150o9sloii]  .hj-fl-more {
    margin-top: 18px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-more > summary {
    margin-bottom: 10px;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  details.hj-fl-balance-why > summary {
    width: fit-content;
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  .hj-fl-wip-max > .hj-btn {
    align-self: flex-start;
}

/* The help of the open tab, inside the «i» (LevelingHelp). */
.hj-info-card[b-150o9sloii]  .hj-help p {
    margin: 0 0 6px;
}

.hj-info-card[b-150o9sloii]  .hj-help-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--st-text-strong);
    font-size: 13.5px;
}

.hj-info-card[b-150o9sloii]  .hj-help-tag,
.hj-dialog[b-150o9sloii]  .hj-mode-tag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    color: #818cf8;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    vertical-align: middle;
}

.hj-info-card[b-150o9sloii]  .hj-help ul {
    margin: 4px 0 8px;
    padding-left: 18px;
    color: var(--st-text-secondary);
}

.hj-info-card[b-150o9sloii]  .hj-help li + li {
    margin-top: 3px;
}

.hj-info-card[b-150o9sloii]  .hj-help-foot {
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
    color: var(--st-text-muted);
    font-size: 11.5px;
}

/* Mix: the entries of a day and the month slots they give share the column beside the shares. */
.hj-dialog[b-150o9sloii]  .hj-mix-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.hj-dialog[b-150o9sloii]  .hj-mix-side .hj-mix-months {
    margin: 2px 0 0;
}

/* One line of facts in place of a row of cards (Lead time). */
.hj-dialog[b-150o9sloii]  .hj-fl-facts {
    margin: 0 0 10px;
    color: var(--st-text-secondary);
    font-size: 12px;
}

.hj-dialog[b-150o9sloii]  .hj-fl-facts b {
    color: var(--st-text-strong);
}

/* WIP › Configura: the maximum, the buffers and the wait in a buffer, side by side. */
.hj-dialog[b-150o9sloii]  .hj-fl-refs.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

@media (max-width: 1100px) {
    .hj-dialog[b-150o9sloii]  .hj-fl-refs.is-three {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A button in a card keeps its own width. */
.hj-dialog[b-150o9sloii]  .hj-fl-kpi > .hj-btn,
.hj-dialog[b-150o9sloii]  .hj-fl-ref > .hj-btn {
    align-self: flex-start;
}

/* Paños: the month and the hours of a paño in a narrow column, the table of the levels beside it. */
.hj-dialog[b-150o9sloii]  .hj-pn-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.hj-dialog[b-150o9sloii]  .hj-pn-side .hj-fl-kpis {
    grid-template-columns: minmax(0, 1fr);
}

.hj-dialog[b-150o9sloii]  .hj-pn-main > .hj-fl-title:has(.hj-step) {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hj-dialog[b-150o9sloii]  .hj-pn-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* WIP: today and the three settings in one row. */
.hj-dialog[b-150o9sloii]  .hj-fl-refs.is-wip {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    align-items: stretch;
    margin-bottom: 18px;
}

@media (max-width: 1100px) {
    .hj-dialog[b-150o9sloii]  .hj-fl-refs.is-wip {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* WIP: the cars of the zone without a spot on the plan, one line that opens their list. */
.hj-dialog[b-150o9sloii]  .hj-fl-unplaced {
    align-self: flex-start;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hj-dialog[b-150o9sloii]  .hj-fl-unplaced b {
    color: #f59e0b;
}

.hj-dialog[b-150o9sloii]  .hj-fl-unplaced:hover u,
.hj-dialog[b-150o9sloii]  .hj-fl-unplaced:focus-visible u {
    color: var(--st-text-strong);
}

/* A small modal over the window (the dialog is transformed, so fixed covers the dialog). */
.hj-dialog[b-150o9sloii]  .hj-modal-veil {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.55);
}

.hj-dialog[b-150o9sloii]  .hj-modal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(460px, 100%);
    max-height: min(600px, 80vh);
    padding: 16px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.45);
}

.hj-dialog[b-150o9sloii]  .hj-modal header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hj-dialog[b-150o9sloii]  .hj-modal h4 {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
}

.hj-dialog[b-150o9sloii]  .hj-modal > p {
    margin: 0;
    font-size: 12.5px;
}

.hj-dialog[b-150o9sloii]  .hj-modal-body {
    min-height: 0;
    overflow-y: auto;
}

.hj-dialog[b-150o9sloii]  .hj-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.hj-dialog[b-150o9sloii]  .hj-modal-table th {
    position: sticky;
    top: 0;
    padding: 6px 8px;
    background: var(--st-surface);
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.hj-dialog[b-150o9sloii]  .hj-modal-table td {
    padding: 6px 8px;
    border-top: 1px solid var(--st-border);
    color: var(--st-text-strong);
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingHolidaysTab.razor.rz.scp.css */
/* «Festivos y cierres»: marked days (list) + month grid + the panel of the clicked day. */
.hj-holidays[b-3e0bqzu3zp] {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    min-height: 0;
    padding: 14px 16px 14px;
    overflow: hidden;
}

.hj-marked[b-3e0bqzu3zp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
}

.hj-marked-empty[b-3e0bqzu3zp] {
    margin: 2px;
    font-size: 12px;
}

.hj-marked-card[b-3e0bqzu3zp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hj-marked-card:hover[b-3e0bqzu3zp] {
    border-color: var(--st-border-strong);
}

.hj-marked-card.is-selected[b-3e0bqzu3zp] {
    border-color: #dea301;
    box-shadow: 0 0 0 1px #dea301 inset;
}

.hj-marked-top[b-3e0bqzu3zp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.hj-marked-date[b-3e0bqzu3zp] {
    color: var(--st-text-strong);
    font-weight: 700;
}

.hj-marked-reason[b-3e0bqzu3zp] {
    color: var(--st-text-body);
    font-size: 12px;
}

.hj-marked-scope[b-3e0bqzu3zp] {
    font-size: 11.5px;
}

.hj-month[b-3e0bqzu3zp] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

.hj-month-head[b-3e0bqzu3zp] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hj-month-head h3[b-3e0bqzu3zp] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 16px;
    font-weight: 700;
}

.hj-month-grid[b-3e0bqzu3zp] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    transition: opacity 0.15s ease;
}

.hj-month-grid.is-loading[b-3e0bqzu3zp] {
    opacity: 0.55;
}

.hj-weekday[b-3e0bqzu3zp] {
    padding: 2px 6px 4px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hj-cell[b-3e0bqzu3zp] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-height: 74px;
    padding: 6px 7px;
    overflow: hidden;
    border: 1px solid var(--st-border-subtle);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hj-cell:hover[b-3e0bqzu3zp] {
    border-color: var(--st-border-strong);
}

.hj-cell:focus-visible[b-3e0bqzu3zp] {
    outline: 2px solid #dea301;
    outline-offset: 1px;
}

.hj-cell.is-out[b-3e0bqzu3zp] {
    opacity: 0.45;
}

.hj-cell.is-noshifts[b-3e0bqzu3zp] {
    background: repeating-linear-gradient(135deg, var(--st-fill-2) 0 5px, transparent 5px 10px), var(--st-surface-sunken);
}

.hj-cell.is-selected[b-3e0bqzu3zp] {
    border-color: #dea301;
    box-shadow: 0 0 0 1px #dea301 inset;
}

/* A day changed and waiting for the general «Guardar» of the window. */
.hj-cell[b-3e0bqzu3zp] {
    position: relative;
}

.hj-cell.is-pending[b-3e0bqzu3zp] {
    border-style: dashed;
    border-color: #dea301;
}

.hj-cell-pending[b-3e0bqzu3zp] {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dea301;
}

.hj-cell-number[b-3e0bqzu3zp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 999px;
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hj-cell.is-today .hj-cell-number[b-3e0bqzu3zp] {
    background: #dea301;
    color: var(--st-on-accent);
}

.hj-cell-reason[b-3e0bqzu3zp] {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: var(--st-text-body);
    font-size: 11px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hj-cell-reason.is-muted[b-3e0bqzu3zp] {
    color: var(--st-text-muted);
}

.hj-day-panel[b-3e0bqzu3zp] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-sm);
}

.hj-day-panel-head[b-3e0bqzu3zp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hj-day-panel-head h4[b-3e0bqzu3zp] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 700;
}

.hj-day-explain[b-3e0bqzu3zp] {
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 12.5px;
}

.hj-day-fields[b-3e0bqzu3zp] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: none;
}

.hj-day-field[b-3e0bqzu3zp] {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.hj-switch[b-3e0bqzu3zp] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: var(--st-text);
    font-size: 12.5px;
    cursor: pointer;
}

.hj-switch input[b-3e0bqzu3zp] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hj-switch-track[b-3e0bqzu3zp] {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--st-fill-5);
    transition: background 0.15s ease;
}

.hj-switch-track[b-3e0bqzu3zp]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--st-on-accent);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
    transition: transform 0.15s ease;
}

.hj-switch input:checked + .hj-switch-track[b-3e0bqzu3zp] {
    background: #d81b84;
}

.hj-switch input:checked + .hj-switch-track[b-3e0bqzu3zp]::after {
    transform: translateX(14px);
}

.hj-switch input:focus-visible + .hj-switch-track[b-3e0bqzu3zp] {
    outline: 2px solid #dea301;
    outline-offset: 2px;
}

.hj-day-actions[b-3e0bqzu3zp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

@media (max-width: 760px) {
    .hj-holidays[b-3e0bqzu3zp] {
        grid-template-columns: minmax(0, 1fr);
        overflow-y: auto;
    }

    .hj-cell[b-3e0bqzu3zp] {
        min-height: 54px;
    }
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingShiftDrawer.razor.rz.scp.css */
/* The drawer of «Semana tipo»: over the right side of the week, scrollable body, sticky footer. */
.hj-drawer[b-9ws1k5ns8t] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    width: min(316px, 100%);
    border-left: 1px solid var(--st-border);
    background: var(--st-surface-raised);
    box-shadow: -18px 0 40px -24px rgba(15, 23, 42, 0.45);
    animation: hj-drawer-in-b-9ws1k5ns8t 0.16s ease-out;
}

@keyframes hj-drawer-in-b-9ws1k5ns8t {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hj-drawer[b-9ws1k5ns8t] {
        animation: none;
    }
}

.hj-drawer-head[b-9ws1k5ns8t] {
    display: flex;
    flex: none;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px 12px 16px;
    border-bottom: 1px solid var(--st-border);
}

.hj-drawer-titles[b-9ws1k5ns8t] {
    flex: 1 1 auto;
    min-width: 0;
}

.hj-drawer-titles h3[b-9ws1k5ns8t] {
    margin: 0;
    overflow: hidden;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hj-drawer-titles p[b-9ws1k5ns8t] {
    margin: 2px 0 0;
    color: var(--st-text-muted);
    font-size: 12px;
}

.hj-drawer-body[b-9ws1k5ns8t] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 14px 16px 16px;
    overflow-y: auto;
}

.hj-field[b-9ws1k5ns8t] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

.hj-field.is-inline[b-9ws1k5ns8t] {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.hj-field-label[b-9ws1k5ns8t] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.hj-section[b-9ws1k5ns8t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border-subtle);
}

.hj-section-head[b-9ws1k5ns8t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hj-section-head.is-stacked[b-9ws1k5ns8t] {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.hj-section-head h4[b-9ws1k5ns8t] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.hj-hours[b-9ws1k5ns8t] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hj-empty-line[b-9ws1k5ns8t] {
    margin: 0;
    font-size: 12px;
}

.hj-pause-card[b-9ws1k5ns8t] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 8px 9px 10px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.hj-pause-icon[b-9ws1k5ns8t] {
    margin-top: 6px;
    color: var(--st-text-muted);
}

.hj-pause-main[b-9ws1k5ns8t] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.hj-pause-times[b-9ws1k5ns8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.hj-add-pause[b-9ws1k5ns8t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 10px;
    background: none;
    color: var(--st-text-secondary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hj-add-pause:hover[b-9ws1k5ns8t] {
    border-color: #dea301;
    color: var(--st-text-strong);
}

.hj-problems[b-9ws1k5ns8t] {
    margin: 0;
    padding: 9px 12px 9px 28px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 12px;
}

.hj-problems li + li[b-9ws1k5ns8t] {
    margin-top: 3px;
}

.hj-drawer-foot[b-9ws1k5ns8t] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface-raised);
}

.hj-drawer-foot .hj-lock[b-9ws1k5ns8t] {
    margin-right: auto;
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingTimeField.razor.rz.scp.css */
.hj-time[b-sguy1obarg] {
    width: 64px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font: inherit;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.hj-time:focus[b-sguy1obarg] {
    outline: none;
    border-color: #dea301;
    box-shadow: 0 0 0 3px rgba(222, 163, 1, 0.22);
}

.hj-time:disabled[b-sguy1obarg] {
    background: var(--st-surface-muted);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.hj-time.is-invalid[b-sguy1obarg] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.hj-time.is-compact[b-sguy1obarg] {
    width: 58px;
    height: 28px;
    font-size: 12px;
}
/* /Pages/Home/Components/Calendar/Leveling/LevelingWeekTab.razor.rz.scp.css */
/* «Semana tipo»: list (184px) + grid. The week is the positioned box of the context menu and the drawer. */
.hj-week[b-xtpygaumxm] {
    position: relative;
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 14px;
    height: 100%;
    min-height: 0;
    padding: 14px 16px 12px;
}

/* ── The list ─────────────────────────────────────────────────────────────────────────────────────────────────────── */

.hj-list[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.hj-list-count[b-xtpygaumxm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: var(--st-text-muted);
    font-size: 12px;
}

.hj-link[b-xtpygaumxm] {
    padding: 0;
    border: none;
    background: none;
    color: var(--st-text-brand);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hj-link:hover[b-xtpygaumxm] {
    text-decoration: underline;
}

.hj-cards[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
}

.hj-list-empty[b-xtpygaumxm] {
    margin: 4px 2px;
    font-size: 12px;
}

.hj-card[b-xtpygaumxm] {
    position: relative;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hj-card:hover[b-xtpygaumxm] {
    border-color: var(--st-border-strong);
}

.hj-card.is-selected[b-xtpygaumxm] {
    border-color: #dea301;
    box-shadow: 0 0 0 1px #dea301 inset;
}

.hj-card.is-hidden[b-xtpygaumxm] {
    opacity: 0.6;
}

.hj-card-main[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hj-card-main:focus-visible[b-xtpygaumxm] {
    outline: 2px solid #dea301;
    outline-offset: -2px;
}

.hj-card-top[b-xtpygaumxm] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 48px;
}

.hj-swatch[b-xtpygaumxm] {
    flex: none;
    width: 14px;
    height: 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 4px;
    background: repeating-linear-gradient(135deg, var(--st-fill-6) 0 3px, var(--st-fill-2) 3px 6px);
}

.hj-swatch.is-gold[b-xtpygaumxm] {
    border-color: #dea301;
    background: repeating-linear-gradient(135deg, rgba(222, 163, 1, 0.75) 0 3px, rgba(222, 163, 1, 0.25) 3px 6px);
}

.hj-card-name[b-xtpygaumxm] {
    overflow: hidden;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hj-card-desc[b-xtpygaumxm] {
    color: var(--st-text-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.hj-card-pills[b-xtpygaumxm] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hj-card-tools[b-xtpygaumxm] {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 2px;
}

/* ── The grid ─────────────────────────────────────────────────────────────────────────────────────────────────────── */

.hj-main[b-xtpygaumxm] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--st-surface);
}

.hj-progress[b-xtpygaumxm] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    height: 3px;
    overflow: hidden;
    background: rgba(222, 163, 1, 0.2);
}

.hj-progress[b-xtpygaumxm]::after {
    content: "";
    position: absolute;
    inset: 0 60% 0 0;
    background: #dea301;
    animation: hj-progress-b-xtpygaumxm 1s ease-in-out infinite;
}

.hj-saving[b-xtpygaumxm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.hj-saving-dot[b-xtpygaumxm] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dea301;
}

.hj-saving-dot.is-busy[b-xtpygaumxm] {
    animation: hj-saving-pulse-b-xtpygaumxm 1s ease-in-out infinite;
}

@keyframes hj-saving-pulse-b-xtpygaumxm {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hj-saving-dot[b-xtpygaumxm],
    .hj-progress[b-xtpygaumxm]::after {
        animation: none;
    }
}

@keyframes hj-progress-b-xtpygaumxm {
    from { transform: translateX(-100%); }
    to { transform: translateX(250%); }
}

.hj-grid-scroll[b-xtpygaumxm] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.hj-grid[b-xtpygaumxm] {
    --hj-hour: 36px;
    --hj-gutter: 46px;
    display: flex;
    flex-direction: column;
    min-width: 640px;
    min-height: 100%;
    user-select: none;
}

.hj-grid[data-hj-resize][b-xtpygaumxm],
.hj-grid.is-dragging[b-xtpygaumxm] {
    cursor: ns-resize;
}

.hj-grid-head[b-xtpygaumxm],
.hj-grid-rows[b-xtpygaumxm] {
    display: grid;
    grid-template-columns: var(--hj-gutter) repeat(7, minmax(72px, 1fr));
}

.hj-grid-head[b-xtpygaumxm] {
    position: sticky;
    top: 0;
    z-index: 4;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
}

.hj-corner[b-xtpygaumxm] {
    border-right: 1px solid var(--st-border-subtle);
}

.hj-day-head[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 4px 8px;
    border-right: 1px solid var(--st-border-subtle);
    text-align: center;
}

.hj-day-head:last-child[b-xtpygaumxm] {
    border-right: none;
}

.hj-day-name[b-xtpygaumxm] {
    color: var(--st-text-strong);
    font-size: 12.5px;
    font-weight: 700;
}

.hj-day-span[b-xtpygaumxm] {
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.hj-day-head.is-closed .hj-day-span[b-xtpygaumxm] {
    color: var(--st-text-faint);
}

/* At least 36 px an hour; taller when the window has room, so the grid fills it instead of leaving empty space under it. */
.hj-grid-rows[b-xtpygaumxm] {
    flex: 1 0 auto;
    min-height: calc(var(--hj-hours) * var(--hj-hour));
}

.hj-gutter[b-xtpygaumxm] {
    position: relative;
    border-right: 1px solid var(--st-border-subtle);
}

.hj-hour[b-xtpygaumxm] {
    position: absolute;
    right: 6px;
    color: var(--st-text-muted);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    transform: translateY(-50%);
}

.hj-hour:first-child[b-xtpygaumxm] {
    transform: none;
}

.hj-hour:last-child[b-xtpygaumxm] {
    transform: translateY(-100%);
}

.hj-day-body[b-xtpygaumxm] {
    position: relative;
    border-right: 1px solid var(--st-border-subtle);
    background-image: linear-gradient(to bottom, var(--st-border-subtle) 1px, transparent 1px);
    background-size: 100% calc(100% / var(--hj-hours));
    cursor: crosshair;
}

.hj-day-body:last-child[b-xtpygaumxm] {
    border-right: none;
}

/* A shift: silver stripes; the chosen one gold. */
.hj-block[b-xtpygaumxm] {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--st-border-stronger);
    border-radius: 7px;
    background: repeating-linear-gradient(135deg, var(--st-fill-5) 0 6px, var(--st-fill-2) 6px 12px), var(--st-surface);
    cursor: pointer;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.hj-block:hover[b-xtpygaumxm] {
    box-shadow: 0 0 0 1px var(--st-border-stronger), var(--st-shadow-sm);
}

.hj-block:focus-visible[b-xtpygaumxm] {
    outline: 2px solid #dea301;
    outline-offset: 1px;
}

.hj-block.is-selected[b-xtpygaumxm] {
    z-index: 2;
    border-color: #dea301;
    background: repeating-linear-gradient(135deg, rgba(222, 163, 1, 0.42) 0 6px, rgba(222, 163, 1, 0.14) 6px 12px), var(--st-surface);
}

.hj-block.is-dim[b-xtpygaumxm] {
    opacity: 0.55;
}

.hj-block-tag[b-xtpygaumxm] {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    max-width: calc(100% - 8px);
    margin: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-sm);
    color: var(--st-text-strong);
    font-size: 11px;
    line-height: 1.3;
    pointer-events: none;
}

.hj-block-tag b[b-xtpygaumxm],
.hj-block-tag span[b-xtpygaumxm] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hj-block-tag span[b-xtpygaumxm] {
    color: var(--st-text-secondary);
    font-variant-numeric: tabular-nums;
}

.hj-block.is-selected .hj-block-tag[b-xtpygaumxm] {
    box-shadow: 0 0 0 1px #dea301;
}

/* A pause: a gap in the stripes, dashed at the top and bottom, with a cup. */
.hj-pause[b-xtpygaumxm] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    border-top: 1px dashed var(--st-border-stronger);
    border-bottom: 1px dashed var(--st-border-stronger);
    background: var(--st-surface);
    color: var(--st-text-muted);
    font-size: 10.5px;
}

.hj-pause span[b-xtpygaumxm] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hj-block.is-selected .hj-pause[b-xtpygaumxm] {
    border-color: rgba(222, 163, 1, 0.8);
    color: var(--st-gold-text);
}

/* The JS module draws these while a drag lasts (not Blazor's markup: ::deep reaches them). */
[b-xtpygaumxm] .hj-ghost {
    position: absolute;
    left: 3px;
    right: 3px;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    border: 1.5px dashed #dea301;
    border-radius: 7px;
    background: rgba(222, 163, 1, 0.16);
    color: var(--st-text-strong);
    font-size: 11px;
    font-weight: 600;
    pointer-events: none;
}

[b-xtpygaumxm] .hj-drag-tip {
    position: absolute;
    left: 50%;
    z-index: 5;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--st-text-strong);
    color: var(--st-surface);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transform: translate(-50%, -130%);
    pointer-events: none;
}

.hj-empty[b-xtpygaumxm] {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--st-surface) 70%, transparent);
}

.hj-empty-card[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 28px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-md);
    color: var(--st-text-strong);
}

.hj-empty-card i[b-xtpygaumxm] {
    color: var(--st-text-muted);
    font-size: 22px;
}

.hj-legend[b-xtpygaumxm] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-size: 11.5px;
}

.hj-legend-item[b-xtpygaumxm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hj-legend-swatch[b-xtpygaumxm] {
    width: 16px;
    height: 11px;
    border: 1px solid var(--st-border-stronger);
    border-radius: 3px;
    background: repeating-linear-gradient(135deg, var(--st-fill-5) 0 3px, var(--st-fill-2) 3px 6px);
}

.hj-legend-swatch.is-gold[b-xtpygaumxm] {
    border-color: #dea301;
    background: repeating-linear-gradient(135deg, rgba(222, 163, 1, 0.6) 0 3px, rgba(222, 163, 1, 0.2) 3px 6px);
}

.hj-legend-swatch.is-pause[b-xtpygaumxm] {
    border-width: 1px 0;
    border-style: dashed;
    border-radius: 0;
    background: var(--st-surface);
}

.hj-grow[b-xtpygaumxm] {
    flex: 1 1 auto;
}

.hj-hint[b-xtpygaumxm] {
    color: var(--st-text-muted);
}

/* ── Context menu ─────────────────────────────────────────────────────────────────────────────────────────────────── */

.hj-menu-backdrop[b-xtpygaumxm] {
    position: absolute;
    inset: 0;
    z-index: 20;
}

.hj-menu[b-xtpygaumxm] {
    position: absolute;
    z-index: 21;
    display: flex;
    flex-direction: column;
    width: 252px;
    padding: 6px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-lg);
}

.hj-menu-head[b-xtpygaumxm] {
    padding: 4px 8px 6px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hj-menu-item[b-xtpygaumxm] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--st-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hj-menu-item:hover[b-xtpygaumxm],
.hj-menu-item:focus-visible[b-xtpygaumxm] {
    outline: none;
    background: var(--st-surface-muted);
}

.hj-menu-item i[b-xtpygaumxm] {
    width: 16px;
    color: var(--st-text-secondary);
}

.hj-menu-divider[b-xtpygaumxm] {
    height: 1px;
    margin: 4px 2px;
    background: var(--st-border);
}

.hj-copy[b-xtpygaumxm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 6px 6px;
}

.hj-copy p[b-xtpygaumxm] {
    margin: 0;
    font-size: 11.5px;
}

@media (max-width: 760px) {
    .hj-week[b-xtpygaumxm] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .hj-cards[b-xtpygaumxm] {
        flex-direction: row;
        overflow-x: auto;
    }

    .hj-card[b-xtpygaumxm] {
        flex: 0 0 180px;
    }
}
/* /Pages/Home/Components/Calendar/Places/VehiclePlacesDialog.razor.rz.scp.css */
/* Heijunka fase 7 («Mover a…»): un diálogo sobre el tablero con las zonas del plano por tipo. */
.vp-backdrop[b-6n8sfx9dmn] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.45);
}

.vp-dialog[b-6n8sfx9dmn] {
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    border-radius: 12px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #0f172a);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
    outline: none;
}

.vp-head[b-6n8sfx9dmn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border, #e2e8f0);
}

.vp-head h3[b-6n8sfx9dmn] {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.vp-close[b-6n8sfx9dmn] {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.vp-close:hover[b-6n8sfx9dmn] {
    background: var(--st-surface-alt, #f1f5f9);
}

.vp-body[b-6n8sfx9dmn] {
    overflow: auto;
    padding: 12px 16px 16px;
}

.vp-now[b-6n8sfx9dmn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
    font-size: 13px;
}

.vp-now > span[b-6n8sfx9dmn] {
    flex: 1;
    min-width: 200px;
    font-weight: 600;
}

.vp-btn[b-6n8sfx9dmn] {
    padding: 6px 12px;
    border: 1px solid var(--st-border, #cbd5e1);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.vp-btn.is-primary[b-6n8sfx9dmn] {
    border-color: #d81b84;
    background: #d81b84;
    color: #fff;
}

.vp-btn:disabled[b-6n8sfx9dmn] {
    opacity: 0.5;
    cursor: default;
}

.vp-readonly[b-6n8sfx9dmn],
.vp-notice[b-6n8sfx9dmn],
.vp-state[b-6n8sfx9dmn] {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-surface-alt, #f1f5f9);
    font-size: 13px;
}

.vp-notice[b-6n8sfx9dmn] {
    background: #ecfdf5;
    color: #065f46;
}

.vp-notice.is-error[b-6n8sfx9dmn],
.vp-state.is-error[b-6n8sfx9dmn] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    color: #991b1b;
}

.vp-kind[b-6n8sfx9dmn] {
    margin-top: 12px;
}

.vp-kind h4[b-6n8sfx9dmn] {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-muted, #64748b);
}

.vp-zone[b-6n8sfx9dmn] {
    margin-bottom: 10px;
}

.vp-zone-head[b-6n8sfx9dmn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

.vp-zone-name[b-6n8sfx9dmn] {
    font-weight: 700;
}

.vp-zone-count[b-6n8sfx9dmn] {
    color: var(--st-text-muted, #64748b);
}

.vp-flag[b-6n8sfx9dmn] {
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.vp-flag.is-full[b-6n8sfx9dmn] {
    background: #fee2e2;
    color: #991b1b;
}

.vp-flag.is-long[b-6n8sfx9dmn] {
    background: #fef3c7;
    color: #92400e;
}

.vp-places[b-6n8sfx9dmn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 6px;
}

.vp-place[b-6n8sfx9dmn] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid var(--st-border, #cbd5e1);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.vp-place:not(:disabled):hover[b-6n8sfx9dmn] {
    border-color: #d81b84;
}

.vp-place:disabled[b-6n8sfx9dmn] {
    cursor: default;
}

.vp-place.is-free[b-6n8sfx9dmn] {
    border-color: #86efac;
    background: #f0fdf4;
}

.vp-place.is-shared[b-6n8sfx9dmn] {
    background: #fffbeb;
}

.vp-place.is-taken[b-6n8sfx9dmn] {
    background: var(--st-surface-alt, #f1f5f9);
    color: var(--st-text-muted, #64748b);
}

.vp-place.is-here[b-6n8sfx9dmn] {
    border: 2px solid #d81b84;
}

.vp-place.is-long[b-6n8sfx9dmn] {
    box-shadow: inset 3px 0 0 #f59e0b;
}

.vp-place-name[b-6n8sfx9dmn] {
    font-size: 13px;
    font-weight: 700;
}

.vp-place-who[b-6n8sfx9dmn] {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    color: var(--st-text-muted, #64748b);
}

.vp-occupant.is-long[b-6n8sfx9dmn] {
    color: #b45309;
    font-weight: 700;
}

.vp-history[b-6n8sfx9dmn] {
    margin-top: 14px;
    font-size: 13px;
}

.vp-history summary[b-6n8sfx9dmn] {
    font-weight: 700;
    cursor: pointer;
}

.vp-history ol[b-6n8sfx9dmn] {
    margin: 6px 0 0;
    padding-left: 18px;
}

.vp-history li[b-6n8sfx9dmn] {
    margin-bottom: 2px;
}

.vp-muted[b-6n8sfx9dmn] {
    color: var(--st-text-muted, #64748b);
}

@media (max-width: 480px) {
    .vp-backdrop[b-6n8sfx9dmn] {
        padding: 0;
        align-items: stretch;
    }

    .vp-dialog[b-6n8sfx9dmn] {
        max-height: none;
        border-radius: 0;
    }
}
/* /Pages/Home/Components/CenterDialog.razor.rz.scp.css */
/* Overlay ocupa todo para centrar. El fondo difuminado lo aporta la clase global
   .st-blurred-backdrop (app.css). */
.st-dialog-overlay[b-i6t5lluulg] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: st-fade-in-b-i6t5lluulg 0.25s ease;
}

.st-dialog-overlay.st-local-overlay[b-i6t5lluulg] {
    position: absolute;
    border-radius: 16px; /* Para que encaje en el slide-panel si tiene bordes redondeados */
}

.st-dialog-card[b-i6t5lluulg] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    padding: 28px 24px 20px;
    width: calc(100% - 48px);
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    animation: st-dialog-pop-b-i6t5lluulg 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Elementos Internos */
.acd-icon[b-i6t5lluulg] {
    width: 56px;
    height: 56px;
    background: var(--st-success-bg-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--st-success-fg);
}

.acd-title[b-i6t5lluulg] {
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text);
    margin: 0 0 16px;
    letter-spacing: 0.3px;
}

/* Permitir que el contenido hijo use estas clases */
[b-i6t5lluulg] .acd-summary {
    background: var(--st-fill-2);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

[b-i6t5lluulg] .acd-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[b-i6t5lluulg] .acd-label {
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 500;
}

[b-i6t5lluulg] .acd-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
}

.acd-actions[b-i6t5lluulg] {
    display: flex;
    gap: 10px;
}

.acd-cancel-btn[b-i6t5lluulg] {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-fill-3);
    color: var(--st-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.acd-cancel-btn:hover:not(:disabled)[b-i6t5lluulg] {
    background: var(--st-fill-4);
    color: var(--st-text);
}

.acd-confirm-btn[b-i6t5lluulg] {
    flex: 1.5;
    padding: 10px;
    border: none;
    border-radius: 12px;
    background: #e500cd; /* the app's magenta, the one of the sidebar «+» */
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.acd-confirm-btn:hover:not(:disabled)[b-i6t5lluulg] {
    transform: translateY(-1px);
    background: #cc00b7;
}

.acd-confirm-btn:disabled[b-i6t5lluulg], .acd-cancel-btn:disabled[b-i6t5lluulg] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading State */
.acd-loading-view[b-i6t5lluulg] {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.acd-spinner-large[b-i6t5lluulg] {
    width: 42px;
    height: 42px;
    border: 3.5px solid var(--st-border-subtle);
    border-top: 3.5px solid #E500CD;
    border-radius: 50%;
    animation: acd-spin-b-i6t5lluulg 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.acd-loading-text[b-i6t5lluulg] {
    font-size: 14px;
    color: var(--st-text-muted);
    font-weight: 500;
}

@keyframes acd-spin-b-i6t5lluulg { to { transform: rotate(360deg); } }
@keyframes st-fade-in-b-i6t5lluulg { from { opacity: 0; } to { opacity: 1; } }
@keyframes st-dialog-pop-b-i6t5lluulg {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* /Pages/Home/Components/Chat/ChatPanel.razor.rz.scp.css */
/* The AI chat panel. Moved as is from Home.razor.css (scoped CSS does not reach a child component); the same rules stay there
   until Home renders <ChatPanel> instead of its own markup, then they can be removed from Home.razor.css. */

/* El marco del mapa termina 10px antes de --chat-width (ver .map-frame), y la caja del panel se
   extiende hasta ese borde: así el padding interior (8px) es el único margen de los elementos del
   chat, igual contra el mapa que contra el borde de la pantalla. Si la caja midiera solo
   --chat-panel-width, esos 10px se sumarían al margen izquierdo y quedaría 18px vs 8px. */
.chat-panel[b-uyarlzctjk] {
    position: absolute;
    top: 20px;
    right: -400px;
    width: calc(var(--chat-panel-width) + 10px);
    height: calc(100% - 20px);
    /* Navy in both themes: the panel carries data-st-theme="dark" (Home.razor). */
    background-color: var(--st-app-frame);
    z-index: 30;
    /* Cerrado queda fuera del orden de foco: sus controles ocultos no pueden arrastrar el tablero.
       `visibility` espera a que termine la salida para no cortar la animación. */
    visibility: hidden;
    transition: right 0.4s ease-in-out, visibility 0s linear 0.4s;
    display: flex;
    flex-direction: column;
}

.chat-panel.open[b-uyarlzctjk] {
    right: 0;
    visibility: visible;
    transition: right 0.4s ease-in-out, visibility 0s;
}

.chat-header[b-uyarlzctjk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin-top: -20px;
    margin-bottom: -8px;
}

.chat-channel[b-uyarlzctjk] {
    position: relative;
}

.chat-title-dropdown[b-uyarlzctjk] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--st-fill-4);
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--st-text-strong);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.chat-title-dropdown[aria-expanded="true"] svg[b-uyarlzctjk] {
    transform: rotate(180deg);
}

/* Click outside closes the channel menu */
.chat-channel-overlay[b-uyarlzctjk] {
    position: fixed;
    inset: 0;
    z-index: 1;
}

/* The options box follows the theme like the avatar menu's (st-chrome-box in css/theme.css) */
.chat-channel-menu[b-uyarlzctjk] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 2;
    min-width: 170px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-channel-option[b-uyarlzctjk] {
    border: none;
    background: transparent;
    color: var(--st-text-strong);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    padding: 9px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.chat-channel-option:hover[b-uyarlzctjk] {
    background: var(--st-surface-strong);
}

.chat-channel-option.is-selected[b-uyarlzctjk] {
    background: #e5b900;
    color: #1f2f45;
    font-weight: 700;
}

.close-chat-btn[b-uyarlzctjk] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-chat-btn:hover[b-uyarlzctjk] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.close-chat-btn:focus-visible[b-uyarlzctjk] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.chat-body[b-uyarlzctjk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* The content box of the chat (st-chrome-box in css/theme.css): it follows the theme, the navy around it does not. */
    margin: 8px 8px 0;
    padding: 10px;
    overflow-y: auto;
    color: var(--st-text-muted);
}

.welcome-message[b-uyarlzctjk] {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: var(--st-text-muted);
    margin: auto;
    max-width: 80%;
}

/* ── Chat Bubbles ── */
.chat-bubble[b-uyarlzctjk] {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
    animation: bubble-in-b-uyarlzctjk 0.2s ease-out;
}

.user-bubble[b-uyarlzctjk] {
    align-self: flex-end;
    background: linear-gradient(135deg, #e500cd, #c800b0);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-bubble[b-uyarlzctjk] {
    align-self: flex-start;
    background: var(--st-surface);
    color: var(--st-text-body);
    border-bottom-left-radius: 4px;
}

/* Estilos para el HTML generado por Markdig dentro de burbujas AI */
.ai-bubble.markdown-content p[b-uyarlzctjk] {
    margin: 0 0 6px 0;
}

.ai-bubble.markdown-content p:last-child[b-uyarlzctjk] {
    margin-bottom: 0;
}

.ai-bubble.markdown-content ul[b-uyarlzctjk],
.ai-bubble.markdown-content ol[b-uyarlzctjk] {
    margin: 4px 0 6px 0;
    padding-left: 18px;
}

.ai-bubble.markdown-content li[b-uyarlzctjk] {
    margin-bottom: 3px;
    line-height: 1.5;
}

.ai-bubble.markdown-content strong[b-uyarlzctjk] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.ai-bubble.markdown-content em[b-uyarlzctjk] {
    color: var(--st-text-muted);
    font-style: italic;
}

.ai-bubble.markdown-content code[b-uyarlzctjk] {
    background: var(--st-fill-3);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.82rem;
    font-family: 'Courier New', monospace;
}

/* Typing indicator */
.chat-typing[b-uyarlzctjk] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
}

.dot[b-uyarlzctjk] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--st-text-muted);
    animation: typing-bounce-b-uyarlzctjk 1.2s infinite ease-in-out;
}

.dot:nth-child(2)[b-uyarlzctjk] { animation-delay: 0.2s; }
.dot:nth-child(3)[b-uyarlzctjk] { animation-delay: 0.4s; }

@keyframes typing-bounce-b-uyarlzctjk {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

@keyframes bubble-in-b-uyarlzctjk {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Disabled send button */
.chat-action-btn:disabled[b-uyarlzctjk] {
    opacity: 0.5;
    cursor: default;
}

/* Sin texto el botón se ve apagado. Antes lo decidía el servidor tras cada tecla; el navegador sabe si el campo está vacío. */
.chat-input:placeholder-shown ~ .chat-action-btn[b-uyarlzctjk] {
    opacity: 0.5;
    cursor: default;
}

.chat-footer[b-uyarlzctjk] {
    /* Margen para que flote y no toque los bordes */
    margin: 8px;
    /* Relleno interno */
    padding: 8px 14px;
    /* Flexbox para alinear los iconos y texto */
    display: flex;
    align-items: center;
    gap: 10px;
    /* COLOR DE FONDO DE LA CÁPSULA (Ajusta este color al gris azulado de tu imagen) */
    background: var(--st-surface);
    /* Borde suave: en tema claro la cápsula no se distinguía del fondo blanco del chat */
    border: 1px solid var(--st-border);
    /* BORDES REDONDEADOS (Esto crea el efecto cápsula) */
    border-radius: 50px;
}

.chat-input[b-uyarlzctjk] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    outline: none;
    font-size: 0.9rem;
    border-radius: 50px;
}

.chat-input[b-uyarlzctjk]::placeholder {
    color: var(--st-text-muted);
}

.chat-action-btn[b-uyarlzctjk] {
    background: transparent;
    border: none;
    /* Enviar: magenta de la marca, igual en ambos temas */
    color: #d81b84;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s;
}

.chat-action-btn:hover[b-uyarlzctjk] {
    color: #c21875;
    background: var(--st-fill-2);
}

/* VM-transversal-3: a failed answer shows the plain reason; the technical detail unfolds under «Ver detalle». */
.chat-error-bubble[b-uyarlzctjk] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.chat-error-detail-toggle[b-uyarlzctjk] {
    display: block;
    margin-top: 6px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

.chat-error-detail[b-uyarlzctjk] {
    margin: 6px 0 0;
    max-height: 160px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

/* «Reintentar» and «Nueva conversación», above the input. */
.chat-actions[b-uyarlzctjk] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 16px;
}

.chat-action-link[b-uyarlzctjk] {
    padding: 4px 0;
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.chat-action-link:hover[b-uyarlzctjk],
.chat-action-link:focus-visible[b-uyarlzctjk] {
    color: var(--st-text-strong);
    text-decoration: underline;
}

/* Phone: the panel takes the whole width when it opens (moved from Home.razor.css with the panel). */
@media (max-width: 768px) {
    .chat-panel[b-uyarlzctjk] {
        width: 100%;
        right: -100%;
        /* Se esconde completamente a la derecha */
    }

    .chat-panel.open[b-uyarlzctjk] {
        right: 0;
    }
}
/* /Pages/Home/Components/Collision/CollisionPanel.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   CollisionPanel — Stepper & Layout Principal (Light SaaS)
   ═══════════════════════════════════════════════════════════ */

.collision-panel[b-d664u11dq9] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 24px 36px;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background: #f4f5f7;
    position: relative;
}

/* ── Header ── */
.stepper-header[b-d664u11dq9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.stepper-title-section[b-d664u11dq9] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.collision-icon-wrapper[b-d664u11dq9] {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.panel-title[b-d664u11dq9] {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.panel-subtitle[b-d664u11dq9] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 2px 0 0;
    font-weight: 500;
}

.close-panel-btn[b-d664u11dq9] {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-panel-btn:hover[b-d664u11dq9] {
    background: #e2e8f0;
    color: #0f172a;
}

/* ── Stepper Navigation (Clean Tab Style) ── */
.stepper-nav[b-d664u11dq9] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 6px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.stepper-nav[b-d664u11dq9]::-webkit-scrollbar { display: none; }

.step-item[b-d664u11dq9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.step-circle[b-d664u11dq9] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.step-item.active[b-d664u11dq9] {
    background: #f8fafc;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.step-item.active .step-circle[b-d664u11dq9] {
    background: #3b82f6;
    color: white;
}

.step-item.completed .step-circle[b-d664u11dq9] {
    background: #10b981;
    color: white;
}

.step-label[b-d664u11dq9] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.step-item.active .step-label[b-d664u11dq9] {
    color: #0f172a;
    font-weight: 600;
}

.step-item.completed .step-label[b-d664u11dq9] {
    color: #10b981;
}

.step-connector[b-d664u11dq9] {
    width: 16px;
    height: 1px;
    background: #e2e8f0;
    margin: 0 8px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.step-connector.completed[b-d664u11dq9] {
    background: #10b981;
}

/* ── Step Content Area ── */
.step-content[b-d664u11dq9] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    animation: fadeInStep-b-d664u11dq9 0.3s ease;
    min-height: 0;
}

.step-content[b-d664u11dq9]::-webkit-scrollbar { width: 6px; }
.step-content[b-d664u11dq9]::-webkit-scrollbar-track { background: transparent; }
.step-content[b-d664u11dq9]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
.step-content[b-d664u11dq9]::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes fadeInStep-b-d664u11dq9 {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Pages/Home/Components/Collision/Steps/Step1_Reception.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 1 — Recepción / OBD2 + VIN (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-reception[b-5xhisxg6m5] {
    height: 100%;
}

.reception-grid[b-5xhisxg6m5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: 100%;
}

/* ── Columna Izquierda ── */
.reception-left[b-5xhisxg6m5] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.obd-card[b-5xhisxg6m5], .admin-card[b-5xhisxg6m5], .vehicle-card[b-5xhisxg6m5] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.obd-header[b-5xhisxg6m5] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.obd-icon[b-5xhisxg6m5] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.obd-header h3[b-5xhisxg6m5] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.obd-subtitle[b-5xhisxg6m5] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 2px 0 0;
}

/* ── VIN Input ── */
.vin-input-section[b-5xhisxg6m5] {
    margin-bottom: 20px;
}

.field-label[b-5xhisxg6m5] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.vin-field[b-5xhisxg6m5] {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.vin-input[b-5xhisxg6m5] {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 2px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.vin-input:focus[b-5xhisxg6m5] {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Barra de escaneo animada */
.scan-bar[b-5xhisxg6m5] {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%);
    animation: scanMove-b-5xhisxg6m5 1.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scanMove-b-5xhisxg6m5 {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ── Botón Escanear ── */
.scan-btn[b-5xhisxg6m5] {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    transition: all 0.2s ease;
    background: #f1f5f9;
    color: #3b82f6;
}

.scan-btn:hover:not(:disabled)[b-5xhisxg6m5] {
    background: #e2e8f0;
}

.scan-btn:disabled[b-5xhisxg6m5] {
    cursor: default;
    opacity: 0.6;
}

.scan-btn.scanning[b-5xhisxg6m5] {
    background: #3b82f6;
    color: white;
}

.scan-btn.scanned[b-5xhisxg6m5] {
    background: #10b981;
    color: white;
}

.btn-spinner[b-5xhisxg6m5] {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-5xhisxg6m5 0.8s linear infinite;
}

@keyframes spin-b-5xhisxg6m5 {
    to { transform: rotate(360deg); }
}

/* ── Dispositivo Info ── */
.obd-device-info[b-5xhisxg6m5] {
    margin-top: 12px;
}

.device-badge[b-5xhisxg6m5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #dcfce7;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #166534;
}

.device-dot[b-5xhisxg6m5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.device-hint[b-5xhisxg6m5] {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.5;
}

/* ── Admin Card ── */
.card-section-title[b-5xhisxg6m5] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
}

.card-section-title svg[b-5xhisxg6m5] {
    color: #64748b;
}

.admin-fields[b-5xhisxg6m5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-field[b-5xhisxg6m5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-value[b-5xhisxg6m5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.field-value.highlight[b-5xhisxg6m5] {
    color: #3b82f6;
}

.field-value.mono[b-5xhisxg6m5] {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
}

/* ── Columna Derecha: Vehículo ── */
.reception-right[b-5xhisxg6m5] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehicle-card-header[b-5xhisxg6m5] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.vehicle-badge-success[b-5xhisxg6m5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #dcfce7;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #166534;
}

.vehicle-hero[b-5xhisxg6m5] {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.vehicle-name[b-5xhisxg6m5] {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.vehicle-trim[b-5xhisxg6m5] {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* ── Specs Grid ── */
.vehicle-specs[b-5xhisxg6m5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.spec-row[b-5xhisxg6m5] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.spec-row:hover[b-5xhisxg6m5] {
    background: #f1f5f9;
}

.spec-icon[b-5xhisxg6m5] {
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.spec-label[b-5xhisxg6m5] {
    flex: 1;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.spec-value[b-5xhisxg6m5] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

/* ── Status Bar ── */
.vehicle-status-bar[b-5xhisxg6m5] {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.status-chip[b-5xhisxg6m5] {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-ok[b-5xhisxg6m5] {
    background: #dcfce7;
    color: #166534;
}

.status-danger[b-5xhisxg6m5] {
    background: #fee2e2;
    color: #991b1b;
}

.status-info[b-5xhisxg6m5] {
    background: #dbeafe;
    color: #1e40af;
}

/* ── Placeholder ── */
.vehicle-placeholder[b-5xhisxg6m5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    color: #94a3b8;
    min-height: 300px;
}

.placeholder-icon[b-5xhisxg6m5] {
    opacity: 0.5;
}

.vehicle-placeholder p[b-5xhisxg6m5] {
    font-size: 0.95rem;
    color: #64748b;
}

/* ── Botón Siguiente ── */
.next-step-btn[b-5xhisxg6m5] {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #111827;
    color: #ffffff;
    transition: all 0.2s ease;
}

.next-step-btn:hover[b-5xhisxg6m5] {
    background: #1f2937;
    transform: translateY(-1px);
}

.appear-animation[b-5xhisxg6m5] {
    animation: appearSlide-b-5xhisxg6m5 0.4s ease-out forwards;
}

@keyframes appearSlide-b-5xhisxg6m5 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Pages/Home/Components/Collision/Steps/Step2_Diagnosis.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 2 — Diagnóstico Visual v2 (2-Column + Modal)
   Diseñado para caber en viewport sin scroll
   ═══════════════════════════════════════════════════════════ */

.step-diagnosis-v2[b-77uif2it40] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Header ── */
.diagnosis-header[b-77uif2it40] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.diagnosis-header h3[b-77uif2it40] {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.diagnosis-subtitle[b-77uif2it40] {
    font-size: 0.78rem;
    color: #64748b;
    margin: 2px 0 0;
}

.damage-counter[b-77uif2it40] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fef2f2;
    border-radius: 10px;
}

.counter-number[b-77uif2it40] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
}

.counter-label[b-77uif2it40] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ef4444;
}

/* ── Grid 2 columnas ── */
.diagnosis-grid[b-77uif2it40] {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 16px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ── Columna Izquierda: Visor ── */
.diagram-section[b-77uif2it40] {
    display: flex;
    flex-direction: column;
}

.diagram-card[b-77uif2it40] {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.diagram-header-bar[b-77uif2it40] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.diagram-title[b-77uif2it40] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.severity-legend[b-77uif2it40] {
    display: flex;
    gap: 14px;
}

.legend-item[b-77uif2it40] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.legend-dot[b-77uif2it40] {
    width: 8px;
    height: 8px;
    border-radius: 3px;
}

.legend-dot.severe[b-77uif2it40] { background: #ef4444; }
.legend-dot.moderate[b-77uif2it40] { background: #f59e0b; }
.legend-dot.light[b-77uif2it40] { background: #3b82f6; }

/* ── View Controls ── */
.view-controls[b-77uif2it40] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
}

.view-arrow[b-77uif2it40] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.view-arrow:hover:not(:disabled)[b-77uif2it40] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.view-arrow:disabled[b-77uif2it40] {
    opacity: 0.3;
    cursor: not-allowed;
}

.view-info[b-77uif2it40] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.view-name[b-77uif2it40] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

.view-dots[b-77uif2it40] {
    display: flex;
    gap: 5px;
}

.dot[b-77uif2it40] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.dot.active[b-77uif2it40] {
    background: #3b82f6;
    transform: scale(1.3);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ── SVG Stage ── */
.svg-stage[b-77uif2it40] {
    flex: 1;
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    min-height: 0;
    overflow: hidden;
}

.svg-viewport[b-77uif2it40] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.svg-viewport.fade-out[b-77uif2it40] { opacity: 0; transform: scale(0.97); }
.svg-viewport.fade-in[b-77uif2it40] { opacity: 1; transform: scale(1); }

/* ── Vehicle Image + Overlay ── */
[b-77uif2it40] .vehicle-view-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Escala imagen+overlay juntos para que el carro llene el espacio */
    transform: scale(1.4);
    transform-origin: center center;
}

[b-77uif2it40] .vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

[b-77uif2it40] .zone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

[b-77uif2it40] .zone-overlay g {
    pointer-events: all;
    cursor: pointer;
    transition: all 0.2s ease;
}

[b-77uif2it40] .zone-overlay g:hover path,
[b-77uif2it40] .zone-overlay g:hover ellipse,
[b-77uif2it40] .zone-overlay g:hover circle,
[b-77uif2it40] .zone-overlay g:hover rect {
    opacity: 0.55 !important;
    filter: brightness(0.92);
}

[b-77uif2it40] .zone-overlay g.selected path,
[b-77uif2it40] .zone-overlay g.selected ellipse,
[b-77uif2it40] .zone-overlay g.selected circle,
[b-77uif2it40] .zone-overlay g.selected rect {
    opacity: 0.5 !important;
    animation: zone-pulse-b-77uif2it40 1.5s ease-in-out infinite;
}

@keyframes zone-pulse-b-77uif2it40 {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.65; }
}

[b-77uif2it40] .zone-label-overlay {
    font-size: 16px;
    font-weight: 700;
    fill: #1e293b;
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

[b-77uif2it40] .zone-label-overlay-sm {
    font-size: 12px;
    font-weight: 700;
    fill: #334155;
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

/* ── Instruction ── */
.instruction-hint[b-77uif2it40] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* ── Columna Derecha: Lista de daños ── */
.damages-section[b-77uif2it40] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.damages-list[b-77uif2it40] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

.damages-list[b-77uif2it40]::-webkit-scrollbar { width: 5px; }
.damages-list[b-77uif2it40]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }

.damage-item[b-77uif2it40] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.damage-item:hover[b-77uif2it40] {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.damage-item.selected[b-77uif2it40] {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.damage-item-header[b-77uif2it40] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.severity-badge[b-77uif2it40] {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.severity-badge.severe[b-77uif2it40] { background: #fef2f2; color: #dc2626; }
.severity-badge.moderate[b-77uif2it40] { background: #fffbeb; color: #d97706; }
.severity-badge.light[b-77uif2it40] { background: #eff6ff; color: #2563eb; }

.photo-count[b-77uif2it40] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #64748b;
}

.damage-zone-name[b-77uif2it40] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
}

.damage-type[b-77uif2it40] {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 3px;
}

.damage-notes[b-77uif2it40] {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Botones Nav ── */
.step-nav-buttons[b-77uif2it40] {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-shrink: 0;
}

.nav-btn[b-77uif2it40] {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-77uif2it40] { background: #f1f5f9; color: #475569; }
.back-btn:hover[b-77uif2it40] { background: #e2e8f0; color: #0f172a; }
.next-btn[b-77uif2it40] { background: #111827; color: #ffffff; }
.next-btn:hover[b-77uif2it40] { background: #1f2937; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   Modal de Diagnóstico
   ═══════════════════════════════════════════════════════════ */
.diagnostic-modal-overlay[b-77uif2it40] {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-77uif2it40 0.2s ease-out;
}

.diagnostic-modal-content[b-77uif2it40] {
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp-b-77uif2it40 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn-b-77uif2it40 { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp-b-77uif2it40 {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header[b-77uif2it40] {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title-group[b-77uif2it40] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title-group h3[b-77uif2it40] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.severity-dot[b-77uif2it40] {
    width: 12px; height: 12px;
    border-radius: 50%;
}

.severity-dot.severe[b-77uif2it40] { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.4); }
.severity-dot.moderate[b-77uif2it40] { background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,0.4); }
.severity-dot.light[b-77uif2it40] { background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,0.4); }

.modal-close-btn[b-77uif2it40] {
    background: #f8fafc;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
}

.modal-close-btn:hover[b-77uif2it40] { background: #f1f5f9; color: #0f172a; }

.modal-body[b-77uif2it40] {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-label[b-77uif2it40] {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.damage-summary-card[b-77uif2it40] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.summary-row[b-77uif2it40] {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.88rem;
}

.summary-label[b-77uif2it40] { color: #64748b; font-weight: 500; }
.summary-value[b-77uif2it40] { color: #0f172a; font-weight: 600; }
.summary-value.severe[b-77uif2it40] { color: #ef4444; }
.summary-value.moderate[b-77uif2it40] { color: #f97316; }
.summary-value.light[b-77uif2it40] { color: #3b82f6; }

.summary-notes[b-77uif2it40] {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.modal-grid[b-77uif2it40] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.photo-placeholder-grid[b-77uif2it40] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.photo-box[b-77uif2it40] {
    aspect-ratio: 1;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.photo-box:hover[b-77uif2it40] { background: #e2e8f0; border-color: #94a3b8; }
.photo-box.has-image[b-77uif2it40] { border: 1px solid #e2e8f0; }
.photo-box img[b-77uif2it40] { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.add-photo-icon[b-77uif2it40] { font-size: 1.5rem; color: #94a3b8; }

.modal-textarea[b-77uif2it40] {
    width: 100%;
    height: 140px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #0f172a;
    resize: none;
    outline: none;
    transition: all 0.2s;
}

.modal-textarea:focus[b-77uif2it40] {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.modal-footer[b-77uif2it40] {
    padding: 16px 22px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn[b-77uif2it40] {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: 'Inter', sans-serif;
}

.modal-btn.primary[b-77uif2it40] { background: #111827; color: #ffffff; }
.modal-btn.primary:hover[b-77uif2it40] { background: #1f2937; transform: translateY(-1px); }
.modal-btn.secondary[b-77uif2it40] { background: #ffffff; color: #475569; border: 1px solid #e2e8f0; }
.modal-btn.secondary:hover[b-77uif2it40] { background: #f1f5f9; }
/* /Pages/Home/Components/Collision/Steps/Step3_Quotation.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 3 — Cotización Base con Baremos (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-quotation[b-try6ux8frn] {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Header ── */
.quotation-header[b-try6ux8frn] { flex-shrink: 0; }

.quotation-title-row[b-try6ux8frn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.quotation-title-row h3[b-try6ux8frn] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.baremo-selector[b-try6ux8frn] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baremo-label[b-try6ux8frn] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.baremo-select[b-try6ux8frn] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.2s ease;
}

.baremo-select:focus[b-try6ux8frn], .baremo-select:hover[b-try6ux8frn] {
    border-color: #cbd5e1;
}

/* ── Rates Bar ── */
.rates-bar[b-try6ux8frn] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.rates-title[b-try6ux8frn] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 8px;
}

.rate-chip[b-try6ux8frn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.rate-cat[b-try6ux8frn] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.rate-val[b-try6ux8frn] {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 600;
}

/* ── KPI Row ── */
.kpi-row[b-try6ux8frn] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    flex-shrink: 0;
}

.kpi-card[b-try6ux8frn] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.kpi-icon[b-try6ux8frn] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kpi-data[b-try6ux8frn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kpi-value[b-try6ux8frn] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-label[b-try6ux8frn] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Tabla ── */
.quotation-table-wrapper[b-try6ux8frn] {
    flex: 1;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.quotation-table-wrapper[b-try6ux8frn]::-webkit-scrollbar { width: 6px; }
.quotation-table-wrapper[b-try6ux8frn]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.quotation-table[b-try6ux8frn] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.quotation-table thead[b-try6ux8frn] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.quotation-table th[b-try6ux8frn] {
    padding: 14px 16px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.quotation-table td[b-try6ux8frn] {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.quotation-table tbody tr:hover[b-try6ux8frn] {
    background: #f8fafc;
}

.highlight-row[b-try6ux8frn] {
    background: #fffbeb !important;
}

.col-num[b-try6ux8frn] { width: 40px; text-align: center; color: #94a3b8; }
.col-op[b-try6ux8frn] { min-width: 220px; font-weight: 500; color: #0f172a; }
.col-cat[b-try6ux8frn] { width: 120px; }
.col-num-r[b-try6ux8frn] { text-align: right; white-space: nowrap; }

.total-cell[b-try6ux8frn] { color: #0f172a !important; font-weight: 600; }

/* ── Category Badges ── */
.cat-badge[b-try6ux8frn] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.cat-body[b-try6ux8frn] { background: #eff6ff; color: #2563eb; }
.cat-paint[b-try6ux8frn] { background: #faf5ff; color: #9333ea; }
.cat-mech[b-try6ux8frn] { background: #ecfdf5; color: #059669; }
.cat-struct[b-try6ux8frn] { background: #fef2f2; color: #dc2626; }
.cat-diag[b-try6ux8frn] { background: #fffbeb; color: #d97706; }
.cat-mat[b-try6ux8frn] { background: #f1f5f9; color: #475569; }

/* ── Totals Row ── */
.totals-row[b-try6ux8frn] {
    background: #f8fafc !important;
}

.totals-row td[b-try6ux8frn] {
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    border-bottom: none;
}

.totals-label[b-try6ux8frn] {
    text-align: right !important;
    padding-right: 20px !important;
    font-size: 0.95rem;
}

/* ── Baremo Info ── */
.baremo-info-bar[b-try6ux8frn] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #64748b;
    flex-shrink: 0;
}

.baremo-info-bar svg[b-try6ux8frn] { color: #3b82f6; flex-shrink: 0; }
.baremo-info-bar strong[b-try6ux8frn] { color: #0f172a; font-weight: 600; }

/* ── Navigation ── */
.step-nav-buttons[b-try6ux8frn] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn[b-try6ux8frn] {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-try6ux8frn] {
    background: #f1f5f9;
    color: #475569;
    flex: 0.3;
}

.back-btn:hover[b-try6ux8frn] { background: #e2e8f0; color: #0f172a; }

.ai-btn[b-try6ux8frn] {
    background: #111827;
    color: white;
    flex: 0.7;
}

.ai-btn:hover[b-try6ux8frn] {
    background: #1f2937;
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Collision/Steps/Step4_AiAnalysis.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 4 — IA Forensic Analysis (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-ai[b-ltfmc5khnk] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── Estado Analizando (Soft rings) ── */
.ai-analyzing[b-ltfmc5khnk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.ai-orb-container[b-ltfmc5khnk] {
    position: relative;
    width: 120px;
    height: 120px;
}

.ai-orb[b-ltfmc5khnk] {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-core[b-ltfmc5khnk] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    animation: pulse-core-b-ltfmc5khnk 1.5s ease-in-out infinite;
}

@keyframes pulse-core-b-ltfmc5khnk {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4); }
}

.orb-ring[b-ltfmc5khnk] {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: orbit-b-ltfmc5khnk 3s linear infinite;
}

.ring-1[b-ltfmc5khnk] {
    width: 80px; height: 80px;
    top: 20px; left: 20px;
    border-top-color: #93c5fd;
    border-right-color: #dbeafe;
}

.ring-2[b-ltfmc5khnk] {
    width: 110px; height: 110px;
    top: 5px; left: 5px;
    border-top-color: #bfdbfe;
    border-left-color: #eff6ff;
    animation-duration: 4s;
    animation-direction: reverse;
}

@keyframes orbit-b-ltfmc5khnk { to { transform: rotate(360deg); } }

.ai-status-text[b-ltfmc5khnk] {
    text-align: center;
    max-width: 440px;
}

.ai-status-text h3[b-ltfmc5khnk] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.analyzing-message[b-ltfmc5khnk] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 24px;
    min-height: 1.3em;
}

.progress-bar[b-ltfmc5khnk] {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill[b-ltfmc5khnk] {
    height: 100%;
    background: #3b82f6;
    border-radius: 100px;
    transition: width 0.5s ease;
}

/* ── Resultados ── */
.ai-results[b-ltfmc5khnk] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    animation: fadeInUp-b-ltfmc5khnk 0.5s ease;
}

@keyframes fadeInUp-b-ltfmc5khnk {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-result-header[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ai-avatar-section[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-mini-orb[b-ltfmc5khnk] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-core[b-ltfmc5khnk] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    animation: pulse-core-b-ltfmc5khnk 2s ease-in-out infinite;
}

.ai-badge-row[b-ltfmc5khnk] {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.ai-badge[b-ltfmc5khnk], .forensic-badge[b-ltfmc5khnk] {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #eff6ff;
    color: #2563eb;
}

.ai-result-header h3[b-ltfmc5khnk] {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.supplement-counter[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.supplement-number[b-ltfmc5khnk] {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.supplement-label[b-ltfmc5khnk] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

/* ── Mensaje IA ── */
.ai-message-card[b-ltfmc5khnk] {
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ai-message-card p[b-ltfmc5khnk] {
    margin: 0;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

.ai-message-card strong[b-ltfmc5khnk] { color: #0f172a; font-weight: 600; }

/* ── Tabla Suplementos ── */
.supplement-table-wrapper[b-ltfmc5khnk] {
    flex-shrink: 0;
    min-height: 260px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    overflow: visible;
}

.supplement-table-wrapper[b-ltfmc5khnk]::-webkit-scrollbar { width: 6px; }
.supplement-table-wrapper[b-ltfmc5khnk]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.table-title-bar[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #e2e8f0;
}

.table-source[b-ltfmc5khnk] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.supplement-table[b-ltfmc5khnk] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.supplement-table th[b-ltfmc5khnk] {
    padding: 12px 20px;
    background: #f8fafc;
    color: #475569;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.supplement-table td[b-ltfmc5khnk] {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.supplement-row:hover[b-ltfmc5khnk] { background: #f8fafc; }

.ai-id-badge[b-ltfmc5khnk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
}

.col-id[b-ltfmc5khnk] { width: 60px; }
.col-op[b-ltfmc5khnk] { font-weight: 500; color: #0f172a; }
.col-just[b-ltfmc5khnk] { max-width: 300px; }
.col-hr[b-ltfmc5khnk], .col-rate[b-ltfmc5khnk], .col-total[b-ltfmc5khnk] { text-align: right; }

.justification-text[b-ltfmc5khnk] {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.supplement-totals td[b-ltfmc5khnk] {
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
}

/* ── Conclusión ── */
.conclusion-card[b-ltfmc5khnk] {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.conclusion-header[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.conclusion-body[b-ltfmc5khnk] {
    padding: 24px;
}

.conclusion-body p[b-ltfmc5khnk] {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 20px;
}

.highlight-green[b-ltfmc5khnk] { color: #10b981 !important; font-weight: 600; }

.conclusion-metrics[b-ltfmc5khnk] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    justify-content: center;
}

.metric[b-ltfmc5khnk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 28px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.metric-label[b-ltfmc5khnk] { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.metric-value[b-ltfmc5khnk] { font-size: 1.3rem; font-weight: 700; color: #0f172a; }
.supplement-val[b-ltfmc5khnk] { color: #3b82f6; }

.highlight-metric[b-ltfmc5khnk] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.highlight-metric .metric-value[b-ltfmc5khnk] { color: #2563eb; }

.metric-arrow[b-ltfmc5khnk] { color: #94a3b8; font-size: 1.2rem; }

.conclusion-recommendation[b-ltfmc5khnk] {
    padding: 14px 20px;
    background: #f0fdf4;
    border-radius: 12px;
}

.conclusion-recommendation strong[b-ltfmc5khnk] { color: #166534; font-weight: 600; }

/* ── Nav ── */
.step-nav-buttons[b-ltfmc5khnk] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn[b-ltfmc5khnk] {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-ltfmc5khnk] {
    background: #f1f5f9;
    color: #475569;
    flex: 0.3;
}

.back-btn:hover[b-ltfmc5khnk] { background: #e2e8f0; color: #0f172a; }

.next-btn-gold[b-ltfmc5khnk] {
    background: #111827;
    color: #ffffff;
    flex: 0.7;
}

.next-btn-gold:hover[b-ltfmc5khnk] {
    background: #1f2937;
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Collision/Steps/Step5_EnhancedQuote.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 5 — Cotización Mejorada (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-enhanced[b-lp9qzq5tnb] {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── KPIs ── */
.kpi-row-enhanced[b-lp9qzq5tnb] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    flex-shrink: 0;
}

.kpi-card-e[b-lp9qzq5tnb] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.kpi-icon-e[b-lp9qzq5tnb] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kpi-data-e[b-lp9qzq5tnb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kpi-value-e[b-lp9qzq5tnb] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.kpi-delta[b-lp9qzq5tnb] {
    font-size: 0.8rem;
    font-weight: 600;
}

.kpi-delta.positive[b-lp9qzq5tnb] { color: #10b981; }
.kpi-delta.ai-delta[b-lp9qzq5tnb] { color: #3b82f6; }
.kpi-delta.neutral[b-lp9qzq5tnb] { color: #64748b; }

.kpi-label-e[b-lp9qzq5tnb] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Toggle ── */
.toggle-bar[b-lp9qzq5tnb] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.toggle-btn[b-lp9qzq5tnb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.toggle-btn.active[b-lp9qzq5tnb] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

.toggle-indicator[b-lp9qzq5tnb] {
    width: 40px;
    height: 24px;
    border-radius: 12px;
    background: #e2e8f0;
    position: relative;
    transition: all 0.2s ease;
}

.toggle-indicator[b-lp9qzq5tnb]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-indicator.on[b-lp9qzq5tnb] {
    background: #3b82f6;
}

.toggle-indicator.on[b-lp9qzq5tnb]::after {
    left: 18px;
}

/* ── Tabla Consolidada ── */
.enhanced-table-wrapper[b-lp9qzq5tnb] {
    flex: 1;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.enhanced-table-wrapper[b-lp9qzq5tnb]::-webkit-scrollbar { width: 6px; }
.enhanced-table-wrapper[b-lp9qzq5tnb]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.enhanced-table[b-lp9qzq5tnb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.enhanced-table thead[b-lp9qzq5tnb] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.enhanced-table th[b-lp9qzq5tnb] {
    padding: 14px 16px;
    background: #f8fafc;
    color: #475569;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.enhanced-table td[b-lp9qzq5tnb] {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.enhanced-table tbody tr:hover[b-lp9qzq5tnb] { background: #f8fafc; }

.ai-row[b-lp9qzq5tnb] {
    background: #f0fdfa !important;
}

.ai-row:hover[b-lp9qzq5tnb] { background: #ecfdf5 !important; }

.col-num[b-lp9qzq5tnb] { width: 40px; text-align: center; color: #94a3b8; }
.col-src[b-lp9qzq5tnb] { width: 80px; text-align: left; }
.col-op[b-lp9qzq5tnb] { min-width: 220px; font-weight: 500; color: #0f172a; }
.col-cat[b-lp9qzq5tnb] { width: 120px; font-size: 0.85rem; color: #64748b; }
.col-r[b-lp9qzq5tnb] { text-align: right; white-space: nowrap; }

.total-cell[b-lp9qzq5tnb] { color: #0f172a !important; font-weight: 600; }

.src-badge[b-lp9qzq5tnb] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.src-badge.base[b-lp9qzq5tnb] {
    background: #f1f5f9;
    color: #64748b;
}

.src-badge.ai[b-lp9qzq5tnb] {
    background: #eff6ff;
    color: #2563eb;
}

/* ── Totals ── */
.totals-row-e td[b-lp9qzq5tnb] {
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-bottom: none;
}

.totals-label-e[b-lp9qzq5tnb] {
    text-align: right !important;
    padding-right: 20px !important;
    color: #0f172a;
    font-size: 0.95rem;
}

.total-cell-final[b-lp9qzq5tnb] {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 1rem !important;
}

/* ── Nav ── */
.step-nav-buttons[b-lp9qzq5tnb] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn[b-lp9qzq5tnb] {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-lp9qzq5tnb] {
    background: #f1f5f9;
    color: #475569;
    flex: 0.3;
}

.back-btn:hover[b-lp9qzq5tnb] { background: #e2e8f0; color: #0f172a; }

.send-btn[b-lp9qzq5tnb] {
    background: #111827;
    color: white;
    flex: 0.7;
}

.send-btn:hover[b-lp9qzq5tnb] {
    background: #1f2937;
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Collision/Steps/Step6_Approval.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 6 — Aprobación Aseguradora (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-approval[b-rwwia3ccmw] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── Sending State ── */
.sending-state[b-rwwia3ccmw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.send-animation[b-rwwia3ccmw] { text-align: center; }

.envelope-icon[b-rwwia3ccmw] {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #3b82f6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    animation: float-up-b-rwwia3ccmw 2s ease-in-out infinite;
}

@keyframes float-up-b-rwwia3ccmw {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.send-progress[b-rwwia3ccmw] {
    width: 240px;
    height: 6px;
    background: #f1f5f9;
    border-radius: 100px;
    margin-top: 20px;
    overflow: hidden;
}

.send-bar[b-rwwia3ccmw] {
    height: 100%;
    background: #3b82f6;
    border-radius: 100px;
    transition: width 0.4s ease;
}

.sending-state h3[b-rwwia3ccmw] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.send-msg[b-rwwia3ccmw] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* ── Results ── */
.approval-results[b-rwwia3ccmw] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    animation: fadeInUp-b-rwwia3ccmw 0.5s ease;
}

@keyframes fadeInUp-b-rwwia3ccmw {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.approval-header[b-rwwia3ccmw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.insurer-info[b-rwwia3ccmw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.insurer-logo[b-rwwia3ccmw] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.insurer-info h3[b-rwwia3ccmw] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.response-meta[b-rwwia3ccmw] {
    font-size: 0.85rem;
    color: #64748b;
    margin: 4px 0 0;
}

.approval-status-badge[b-rwwia3ccmw] {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fffbeb;
    color: #d97706;
}

/* ── Metrics ── */
.approval-metrics[b-rwwia3ccmw] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    flex-shrink: 0;
}

.metric-card[b-rwwia3ccmw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.metric-big[b-rwwia3ccmw] {
    font-size: 1.4rem;
    font-weight: 800;
}

.metric-sub[b-rwwia3ccmw] {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.success-metric .metric-big[b-rwwia3ccmw] { color: #10b981; }
.compare-metric .metric-big[b-rwwia3ccmw] { color: #64748b; }
.money-metric .metric-big[b-rwwia3ccmw] { color: #0f172a; }
.rejected-metric .metric-big[b-rwwia3ccmw] { color: #ef4444; }

/* ── AI Impact ── */
.ai-impact-bar[b-rwwia3ccmw] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1e40af;
    line-height: 1.6;
    flex-shrink: 0;
}

.ai-impact-icon[b-rwwia3ccmw] { flex-shrink: 0; color: #2563eb; }
.ai-impact-bar strong[b-rwwia3ccmw] { color: #1e3a8a; font-weight: 600; }

/* ── Table ── */
.approval-table-wrapper[b-rwwia3ccmw] {
    flex: 1;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.approval-table-wrapper[b-rwwia3ccmw]::-webkit-scrollbar { width: 6px; }
.approval-table-wrapper[b-rwwia3ccmw]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.approval-table[b-rwwia3ccmw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.approval-table thead[b-rwwia3ccmw] { position: sticky; top: 0; z-index: 2; }

.approval-table th[b-rwwia3ccmw] {
    padding: 14px 16px;
    background: #f8fafc;
    color: #475569;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.approval-table td[b-rwwia3ccmw] {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.col-st[b-rwwia3ccmw] { width: 56px; text-align: center; }
.col-src[b-rwwia3ccmw] { width: 80px; text-align: left; }
.col-op[b-rwwia3ccmw] { min-width: 200px; font-weight: 500; color: #0f172a; }
.col-r[b-rwwia3ccmw] { text-align: right; white-space: nowrap; }
.col-note[b-rwwia3ccmw] { font-size: 0.85rem; color: #64748b; font-style: italic; max-width: 220px; }

.approval-badge[b-rwwia3ccmw] {
    font-size: 1.1rem;
    font-weight: 700;
}

.origin-badge[b-rwwia3ccmw] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.origin-badge.base[b-rwwia3ccmw] { background: #f1f5f9; color: #64748b; }
.origin-badge.ai[b-rwwia3ccmw] { background: #eff6ff; color: #2563eb; }

.approved-val[b-rwwia3ccmw] { color: #10b981 !important; font-weight: 600; }
.partial-val[b-rwwia3ccmw] { color: #d97706 !important; font-weight: 600; }
.rejected-val[b-rwwia3ccmw] { color: #ef4444 !important; font-weight: 600; text-decoration: line-through; }

.row-rejected[b-rwwia3ccmw] { background: #fef2f2; }
.row-partial[b-rwwia3ccmw] { background: #fffbeb; }

.approval-totals td[b-rwwia3ccmw] {
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* ── Lock ── */
.lock-estimate-bar[b-rwwia3ccmw] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #64748b;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.lock-estimate-bar svg[b-rwwia3ccmw] { color: #475569; flex-shrink: 0; }
.lock-estimate-bar strong[b-rwwia3ccmw] { color: #0f172a; font-weight: 600; }

/* ── Nav ── */
.step-nav-buttons[b-rwwia3ccmw] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn[b-rwwia3ccmw] {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-rwwia3ccmw] {
    background: #f1f5f9;
    color: #475569;
    flex: 0.3;
}

.back-btn:hover[b-rwwia3ccmw] { background: #e2e8f0; color: #0f172a; }

.convert-btn[b-rwwia3ccmw] {
    background: #111827;
    color: white;
    flex: 0.7;
}

.convert-btn:hover[b-rwwia3ccmw] {
    background: #1f2937;
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Collision/Steps/Step7_WorkOrder.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Step 7 — Conversión a WorkOrder (Light Clean SaaS)
   ═══════════════════════════════════════════════════════════ */

.step-workorder[b-mriy845cka] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── Conversion Animation ── */
.conversion-animation[b-mriy845cka] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.conversion-visual[b-mriy845cka] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.convert-from[b-mriy845cka], .convert-to[b-mriy845cka] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.convert-icon[b-mriy845cka] { font-size: 2.5rem; color: #3b82f6; }
.convert-label[b-mriy845cka] { font-size: 0.95rem; font-weight: 500; color: #64748b; }

.convert-arrows[b-mriy845cka] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-dot[b-mriy845cka] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    animation: dot-flow-b-mriy845cka 1.5s ease-in-out infinite;
}

.a1[b-mriy845cka] { animation-delay: 0ms; }
.a2[b-mriy845cka] { animation-delay: 200ms; }
.a3[b-mriy845cka] { animation-delay: 400ms; }

@keyframes dot-flow-b-mriy845cka {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.conversion-animation h3[b-mriy845cka] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.convert-progress-text[b-mriy845cka] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.convert-progress-bar[b-mriy845cka] {
    width: 280px;
    height: 6px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

.convert-fill[b-mriy845cka] {
    height: 100%;
    background: #3b82f6;
    border-radius: 100px;
    transition: width 0.4s ease;
}

/* ── Results ── */
.wo-results[b-mriy845cka] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    animation: fadeInUp-b-mriy845cka 0.5s ease;
}

@keyframes fadeInUp-b-mriy845cka {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wo-success-header[b-mriy845cka] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.success-check[b-mriy845cka] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: pop-in-b-mriy845cka 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in-b-mriy845cka {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.wo-success-header h2[b-mriy845cka] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.success-sub[b-mriy845cka] {
    font-size: 0.95rem;
    color: #64748b;
    margin: 4px 0 0;
}

/* ── WO Preview Card ── */
.wo-preview-card[b-mriy845cka] {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.wo-preview-card[b-mriy845cka]::-webkit-scrollbar { width: 6px; }
.wo-preview-card[b-mriy845cka]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.wo-header-bar[b-mriy845cka] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.wo-label[b-mriy845cka] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    display: block;
}

.wo-id[b-mriy845cka] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
}

.wo-status-active[b-mriy845cka] {
    padding: 8px 16px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── Details Grid ── */
.wo-details-grid[b-mriy845cka] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wo-detail[b-mriy845cka] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wo-dt-label[b-mriy845cka] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.wo-dt-value[b-mriy845cka] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.wo-dt-value.mono[b-mriy845cka] {
    font-family: 'Inter', sans-serif;
}

.wo-dt-value.highlight[b-mriy845cka] { color: #3b82f6; }
.wo-dt-value.highlight-gold[b-mriy845cka] { color: #0f172a; }

/* ── Processes ── */
.wo-processes-title[b-mriy845cka], .wo-timeline-title[b-mriy845cka] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    display: block;
    margin-bottom: 16px;
}

.process-chips[b-mriy845cka] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.process-chip[b-mriy845cka] {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.process-chip.body[b-mriy845cka] { background: #eff6ff; color: #1d4ed8; }
.process-chip.paint[b-mriy845cka] { background: #faf5ff; color: #7e22ce; }
.process-chip.mech[b-mriy845cka] { background: #ecfdf5; color: #047857; }
.process-chip.diag[b-mriy845cka] { background: #fffbeb; color: #b45309; }
.process-chip.struct[b-mriy845cka] { background: #fef2f2; color: #b91c1c; }
.process-chip.qa[b-mriy845cka] { background: #f8fafc; color: #475569; }

/* ── Timeline ── */
.timeline-bar[b-mriy845cka] {
    display: flex;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tl-segment[b-mriy845cka] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

.tl-segment:last-child[b-mriy845cka] { border-right: none; }
.tl-segment:hover[b-mriy845cka] { filter: brightness(1.1); }

.body-seg[b-mriy845cka] { background: #3b82f6; }
.struct-seg[b-mriy845cka] { background: #ef4444; }
.paint-seg[b-mriy845cka] { background: #a855f7; }
.mech-seg[b-mriy845cka] { background: #10b981; }
.qa-seg[b-mriy845cka] { background: #64748b; }

.timeline-days[b-mriy845cka] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Nav ── */
.step-nav-buttons[b-mriy845cka] {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn[b-mriy845cka] {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.back-btn[b-mriy845cka] {
    background: #f1f5f9;
    color: #475569;
    flex: 0.3;
}

.back-btn:hover[b-mriy845cka] { background: #e2e8f0; color: #0f172a; }

.inbox-btn[b-mriy845cka] {
    background: #111827;
    color: white;
    flex: 0.7;
}

.inbox-btn:hover[b-mriy845cka] {
    background: #1f2937;
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Common/FolderTabStrip.razor.rz.scp.css */
.folder-tab-strip[b-0agno2pwmp] {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1;
}

.folder-tab-scroll[b-0agno2pwmp] {
    display: flex;
    align-items: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-height: 30px;
    padding-right: var(--tab-overlap);
}

.folder-tab-scroll[b-0agno2pwmp]::-webkit-scrollbar {
    display: none;
}

.folder-tab[b-0agno2pwmp] {
    position: relative;
    width: var(--tab-w);
    height: var(--tab-h);
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 0;
    margin-right: calc(var(--tab-overlap) * -1);
    margin-bottom: -4px;
    transition: filter 0.15s ease;
    pointer-events: none;
}

.folder-tab.interactive[b-0agno2pwmp] {
    cursor: pointer;
}

.folder-tab.interactive:not(.active):has(path:hover, .folder-tab-content:hover)[b-0agno2pwmp] {
    filter: brightness(0.88);
}

.folder-tab svg[b-0agno2pwmp] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(4px 3px 5px rgba(0, 0, 0, 0.25)) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.folder-tab svg path[b-0agno2pwmp] {
    pointer-events: visiblePainted;
}

.folder-tab-content[b-0agno2pwmp] {
    position: relative;
    z-index: 1;
    height: 100%;
    pointer-events: auto;
    display: inline-flex;
    max-width: calc(var(--tab-w) * 0.88);
}

.folder-tab-label[b-0agno2pwmp] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 1px 16px 10px 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    user-select: none;
}

.folder-tab-add[b-0agno2pwmp] {
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
    pointer-events: none;
}

.folder-tab-add:has(path:hover, .folder-tab-add-label:hover)[b-0agno2pwmp] {
    filter: brightness(0.75);
}

.folder-tab-add .folder-tab-add-label[b-0agno2pwmp] {
    pointer-events: auto;
}

.folder-tab-add svg[b-0agno2pwmp] {
    filter: none;
}

.folder-tab-add-label[b-0agno2pwmp] {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 4px calc(var(--tab-w) * 0.1463);
}

.folder-tab-add.disabled[b-0agno2pwmp] {
    cursor: not-allowed;
    opacity: 0.55;
}

.folder-tab-add.disabled:has(path:hover, .folder-tab-add-label:hover)[b-0agno2pwmp] {
    filter: none;
}
/* /Pages/Home/Components/Creation/Assets/Accordions/AssetAccordion.razor.rz.scp.css */
/* AssetAccordion — Estilos específicos del formulario interno */

/* Grid de 2 columnas para los campos */
.asset-form-grid[b-kbk2ax9bm6] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
    overflow: visible;
}

[b-kbk2ax9bm6] .accordion-item,
[b-kbk2ax9bm6] .accordion-body {
    overflow: visible !important;
}

.asset-field[b-kbk2ax9bm6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.asset-field.full-width[b-kbk2ax9bm6] {
    grid-column: 1 / -1;
}

.asset-label[b-kbk2ax9bm6] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    /* Color azul oscuro solicitado */
    letter-spacing: 0.2px;
}

.asset-label.required[b-kbk2ax9bm6]::before {
    content: "* ";
    color: #D33BB2;
}

.asset-input[b-kbk2ax9bm6] {
    width: 100%;
    background: var(--st-surface-sunken) !important;
    /* Fondo claro como en diseño original */
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--st-text-brand) !important;
    /* Texto oscuro solicitado */
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.asset-input:focus[b-kbk2ax9bm6] {
    border-color: #D33BB2 !important;
}

.asset-input.input-field-warning[b-kbk2ax9bm6] {
    border-color: var(--st-danger-fg) !important;
}

/* Input con botón escáner */
.asset-input-with-scanner[b-kbk2ax9bm6] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.asset-input-with-scanner .asset-input[b-kbk2ax9bm6] {
    flex: 1;
    min-width: 0;
}

[b-kbk2ax9bm6] .asset-field-scanner-btn {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

[b-kbk2ax9bm6] .asset-field-scanner-btn:hover {
    background: #D33BB2 !important;
    border-color: #D33BB2 !important;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.3) !important;
}

[b-kbk2ax9bm6] .asset-field-scanner-btn .scanner-svg-icon {
    stroke: #D33BB2 !important;
    width: 20px !important;
    height: 20px !important;
}

[b-kbk2ax9bm6] .asset-field-scanner-btn:hover .scanner-svg-icon {
    stroke: #ffffff !important;
}

.field-duplicate-warning[b-kbk2ax9bm6] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-danger-fg);
    margin-top: 2px;
}

.asset-input[b-kbk2ax9bm6]::placeholder {
    color: var(--st-text-muted);
}

/* Select con chevron personalizado */
.asset-select-wrapper[b-kbk2ax9bm6] {
    position: relative;
}

.asset-select[b-kbk2ax9bm6] {
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 10px 28px 10px 12px;
    color: var(--st-text-brand) !important;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.asset-select:focus[b-kbk2ax9bm6] {
    border-color: #D33BB2 !important;
}

/* Chevron del select usando CSS puro */
.asset-select-wrapper[b-kbk2ax9bm6]::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #D33BB2;
    pointer-events: none;
}
/* /Pages/Home/Components/Creation/Assets/Accordions/InventarioAccordion.razor.rz.scp.css */
/* InventarioAccordion — Estilos del formulario interno */

.inventario-form-grid[b-qnzcrdaotl] {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px 14px;
    overflow: visible;
}

[b-qnzcrdaotl] .accordion-item,
[b-qnzcrdaotl] .accordion-body {
    overflow: visible !important;
}

/* Forzar estilo claro en FlatpickrDate (mismo que inventario-input) */
[b-qnzcrdaotl] .inventario-input {
    background: var(--st-surface-sunken) !important;
    color: var(--st-text-brand) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px !important;
    padding: 12px 34px 12px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

[b-qnzcrdaotl] .inventario-input:focus {
    border-color: #D33BB2 !important;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.1) !important;
}



.inventario-field[b-qnzcrdaotl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inventario-field.full-width[b-qnzcrdaotl] {
    grid-column: 1 / -1;
}

.inventario-label[b-qnzcrdaotl] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    letter-spacing: 0.1px;
}

.inventario-label.required[b-qnzcrdaotl]::before {
    content: "* ";
    color: #D33BB2;
}

/* Contenedor del input con icono (para Asesor, Responsable...) */
.inventario-input-container[b-qnzcrdaotl] {
    position: relative;
    display: flex;
    align-items: center;
}

.inventario-input-icon[b-qnzcrdaotl] {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 28px;
    background: var(--st-surface-stronger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    pointer-events: none;
}

.inventario-input-with-icon[b-qnzcrdaotl] {
    padding-left: 44px !important;
}

.inventario-input[b-qnzcrdaotl],
.inventario-select[b-qnzcrdaotl] {
    width: 100%;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--st-text-brand) !important;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.inventario-select[b-qnzcrdaotl] {
    appearance: none;
    cursor: pointer;
    padding-right: 32px;
}

.inventario-input:focus[b-qnzcrdaotl],
.inventario-select:focus[b-qnzcrdaotl] {
    border-color: #D33BB2 !important;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.1);
}

/* Contenedor relativo para posicionar overlays */
.inventario-select-wrapper[b-qnzcrdaotl] {
    position: relative;
    width: 100%;
}

/* Icono de calendario/reloj con triángulo rosa (Overlay) */
.inventario-icon-overlay[b-qnzcrdaotl] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    z-index: 5;
}

.inventario-pink-triangle[b-qnzcrdaotl] {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #D33BB2;
    margin-top: 2px;
}

.inventario-input-with-overlay[b-qnzcrdaotl] {
    padding-right: 44px !important;
}

/* Switch / Toggle (En taller) */
.inventario-switch-container[b-qnzcrdaotl] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
}

.inventario-switch[b-qnzcrdaotl] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.inventario-switch input[b-qnzcrdaotl] {
    opacity: 0;
    width: 0;
    height: 0;
}

.inventario-slider[b-qnzcrdaotl] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .4s;
    border-radius: 24px;
}

.inventario-slider[b-qnzcrdaotl]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.inventario-slider[b-qnzcrdaotl] {
    background-color: #D33BB2;
}

input:checked+.inventario-slider[b-qnzcrdaotl]:before {
    transform: translateX(20px);
}

.inventario-switch-label[b-qnzcrdaotl] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

/* Separador de Proceso Actual */
.inventario-section-divider[b-qnzcrdaotl] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 4px 0;
}

.inventario-section-label[b-qnzcrdaotl] {
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Textarea - Observaciones */
/* Time Dropdown removed in favor of FlatpickrDate */
.inventario-pink-triangle.rotated[b-qnzcrdaotl] {
    transform: rotate(180deg);
}

.inventario-textarea[b-qnzcrdaotl] {
    width: 100%;
    min-height: 80px;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--st-text-brand) !important;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    border-bottom: 2px solid var(--st-border-strong);
}

.inventario-textarea:focus[b-qnzcrdaotl] {
    border-color: #D33BB2 !important;
    border-bottom-color: #D33BB2 !important;
}
/* /Pages/Home/Components/Creation/Assets/AssetCreationFormPanel.razor.rz.scp.css */
/* =============================================================
   AssetCreationFormPanel — Estilos del contenido interno
   El shell (posición, header, animación) está en SlidePanel.razor.css
   ============================================================= */

/* ---- Lista de acordeones ---- */
.caf-accordions[b-nnn1ednbin] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* ---- Estilos compartidos de acordeón (via ::deep) ---- */
[b-nnn1ednbin] .accordion-item {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-subtle);
    border-radius: 16px;
    overflow: visible;
    margin-bottom: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

[b-nnn1ednbin] .accordion-item.locked {
    opacity: 0.9;
    filter: grayscale(0.3);
    background: var(--st-fill-2);
    border: 1px solid var(--st-border-subtle);
    cursor: pointer;
}

[b-nnn1ednbin] .locked .accordion-title {
    color: var(--st-text-muted) !important;
}

[b-nnn1ednbin] .accordion-item.completed {
    border-color: #10b981;
}

[b-nnn1ednbin] .accordion-item.expanded {
    background: var(--st-surface-raised);
    border-color: rgba(211, 59, 178, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

[b-nnn1ednbin] .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

[b-nnn1ednbin] .accordion-header:hover {
    background: var(--st-fill-1);
}

[b-nnn1ednbin] .accordion-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

[b-nnn1ednbin] .accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-brand);
    flex-shrink: 0;
}

[b-nnn1ednbin] .accordion-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-brand);
    letter-spacing: 0.2px;
}

[b-nnn1ednbin] .accordion-chevron {
    color: var(--st-text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

[b-nnn1ednbin] .accordion-chevron.rotated {
    transform: rotate(180deg);
}

[b-nnn1ednbin] .accordion-body {
    padding: 0 16px 16px;
    animation: accordionSlide-b-nnn1ednbin 0.25s ease-out;
}

@keyframes accordionSlide-b-nnn1ednbin {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Botones del footer ---- */
.caf-footer[b-nnn1ednbin] {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Evita scrolls durante la animación */
}

/* El botón de cancelar/anular: corazón de la animación */
[b-nnn1ednbin] .caf-btn-secondary {
    transition: all 0.6s cubic-bezier(0.34, 1.25, 0.64, 1) !important;
    white-space: nowrap;
}

/* ESTADO 1: Botón solo y centrado */
.caf-footer:not(.caf-footer--multi) .caf-btn-secondary[b-nnn1ednbin] {
    flex: none !important;
    width: 180px !important;
    /* Centrado manual con margen izquierdo dinámico */
    margin-left: calc(50% - 90px) !important;
    margin-right: calc(50% - 90px) !important;
}

/* ESTADO 2: Botón acompañado (empujado a la izquierda) */
.caf-footer--multi .caf-btn-secondary[b-nnn1ednbin] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: 1 !important;
    width: 100% !important;
    max-width: none !important;
}

/* El botón Siguiente/Actualizar siempre presente pero con transición de entrada */
[b-nnn1ednbin] .caf-btn-next {
    transition: all 0.6s cubic-bezier(0.34, 1.25, 0.64, 1) !important;
    overflow: hidden;
    flex: 1;
    opacity: 1;
    transform: translateX(0);
}

/* Cuando el botón debe estar oculto (Estado Inicial de Edición) */
[b-nnn1ednbin] .caf-btn-next--hidden {
    flex: 0 !important;
    opacity: 0 !important;
    transform: translateX(40px) !important;
    width: 0 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -12px !important;
    /* Absorbe el gap del flex */
    pointer-events: none;
}
/* /Pages/Home/Components/Creation/Assets/Components/AssetPhotoUploader.razor.rz.scp.css */
.caf-photo-section[b-x42bs954nq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 0 25px;
}

.caf-photo-wrapper[b-x42bs954nq] {
    position: relative;
    /* ancla el badge dentro de la imagen */
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    /* clip de la imagen — el badge se posiciona relativo a este */
    cursor: pointer;
    border: 2px dashed var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-2);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.caf-photo-wrapper:hover[b-x42bs954nq] {
    border-color: #D33BB2;
}

.caf-photo-input[b-x42bs954nq] {
    display: none;
}

.caf-photo-img[b-x42bs954nq] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.caf-photo-placeholder[b-x42bs954nq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--st-text-faint);
}

/* Badge de lápiz — aparece en la esquina inferior derecha DENTRO de la foto */
.caf-photo-edit-hint[b-x42bs954nq] {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.caf-photo-wrapper:hover .caf-photo-edit-hint[b-x42bs954nq] {
    opacity: 1;
}

.caf-name-display[b-x42bs954nq] {
    width: 100%;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--st-text-muted);
    /* Gris como el título */
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    cursor: default;
    user-select: text;
}

.caf-name-input[b-x42bs954nq]::placeholder {
    color: var(--st-text-faint);
    font-weight: 400;
}
/* /Pages/Home/Components/Creation/Assets/Components/CreationWizardAlert.razor.rz.scp.css */
.wizard-alert-icon-container[b-4qxev4qhyv] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto;
}

.wizard-alert-pulse[b-4qxev4qhyv] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    animation: success-pulse-b-4qxev4qhyv 2s ease-in-out infinite;
}

.wizard-alert-ring-mid[b-4qxev4qhyv] {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
}

.wizard-alert-circle-success[b-4qxev4qhyv] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-alert-ring-error-bg[b-4qxev4qhyv] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
}

.wizard-alert-circle-error[b-4qxev4qhyv] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes success-pulse-b-4qxev4qhyv {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}
/* /Pages/Home/Components/Creation/Assets/Components/InventoryHolderSection.razor.rz.scp.css */
/* InventoryHolderSection — process and responsible of a saved inventory. Its fields are cells of the form's grid. */

.holder-field[b-hbbtz9dbhm] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.holder-label[b-hbbtz9dbhm] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1px;
    color: var(--st-text-brand);
}

.holder-note[b-hbbtz9dbhm] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--st-text-muted);
}

.holder-dialogs[b-hbbtz9dbhm] {
    position: absolute;
}

/* The fronts under the field: order and process, who has it and why it is locked */
.holder-fronts[b-hbbtz9dbhm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.holder-front[b-hbbtz9dbhm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 8px;
    background: var(--st-fill-1);
}

.holder-front-name[b-hbbtz9dbhm] {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--st-text-brand);
    overflow-wrap: anywhere;
}

.holder-front-person[b-hbbtz9dbhm] {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--st-text-muted);
    overflow-wrap: anywhere;
}

.holder-front-reason[b-hbbtz9dbhm] {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--st-warning-text);
}

/* How the last change ended */
.holder-notice[b-hbbtz9dbhm] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.holder-notice.is-done[b-hbbtz9dbhm] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.holder-notice.is-warning[b-hbbtz9dbhm] {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.holder-notice.is-failed[b-hbbtz9dbhm] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

/* A front in the side panel: the whole row is the option */
.holder-option[b-hbbtz9dbhm] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 12px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.holder-option:hover:not(:disabled)[b-hbbtz9dbhm],
.holder-option:focus-visible[b-hbbtz9dbhm] {
    border-color: var(--st-accent);
    background: var(--st-fill-1);
    outline: none;
}

.holder-option:focus-visible[b-hbbtz9dbhm] {
    box-shadow: 0 0 0 3px var(--st-accent-border);
}

.holder-option:disabled[b-hbbtz9dbhm] {
    cursor: not-allowed;
    background: var(--st-fill-1);
}

.holder-option:disabled .holder-option-icon[b-hbbtz9dbhm] {
    opacity: 0.5;
}

/* Always white, in both themes: the process icons are drawn for it */
.holder-option-icon[b-hbbtz9dbhm] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--st-border-strong);
    border-radius: 50%;
    background: #ffffff;
    overflow: hidden;
}

.holder-option-icon img[b-hbbtz9dbhm] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.holder-option-text[b-hbbtz9dbhm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
/* /Pages/Home/Components/Creation/Assets/Components/VehicleIdentifierDisplay.razor.rz.scp.css */
.asset-label[b-trsgm5ses1] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    letter-spacing: 0.2px;
}

.asset-label.required[b-trsgm5ses1]::before {
    content: "* ";
    color: #D33BB2;
}

.vehicle-identifier-row[b-trsgm5ses1] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
}

.vehicle-identifier-row--locked[b-trsgm5ses1] {
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    cursor: not-allowed;
}

.vehicle-identifier-row--locked .vehicle-identifier-value[b-trsgm5ses1] {
    color: var(--st-text-muted);
}

.vehicle-identifier-value[b-trsgm5ses1] {
    flex: 1 1 0;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-brand);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
}

.vehicle-identifier-value[b-trsgm5ses1]::-webkit-scrollbar {
    display: none;
}

.vehicle-identifier-value--plain[b-trsgm5ses1] {
    font-style: italic;
    font-weight: 500;
    color: var(--st-text-muted);
}

.vehicle-identifier-search-btn[b-trsgm5ses1] {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #D33BB2;
    cursor: pointer;
    transition: background 0.15s ease;
}

.vehicle-identifier-search-btn:hover[b-trsgm5ses1] {
    background: rgba(211, 59, 178, 0.12);
}
/* /Pages/Home/Components/Creation/Assets/CreationPanel.razor.rz.scp.css */
/* ============================================================
   CreationPanel — Estilos del contenido interno
   El shell (posición, animación, header) está en SlidePanel.razor.css
   ============================================================ */

/* ---- Buscador  ---- */
.creation-search-wrapper[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    gap: 8px;

    /* Sincronizamos con el desplazamiento del grid (Nuevos márgenes reducidos) */
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);

    padding-left: 18px;
    padding-right: 18px;

    margin-bottom: 25px;
}

.creation-results-header[b-kjbddxoobl] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    padding-right: 16px;
    /* Para que quede alineado con el final de las tarjetas */
}

.creation-results-count[b-kjbddxoobl] {
    font-size: 13px;
    color: var(--st-text-muted);
    font-weight: 500;
}

/* .creation-search-icon eliminado — el icono ahora es el botón al final */

.creation-search-input[b-kjbddxoobl] {
    flex: 1;
    height: 40px;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--st-text-strong) !important;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.creation-search-btn[b-kjbddxoobl] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.creation-search-btn:hover[b-kjbddxoobl] {
    background: #D33BB2;
    border-color: #D33BB2;
    color: #ffffff;
}

[b-kjbddxoobl] .creation-scanner-btn {
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    box-shadow: none !important;
}

[b-kjbddxoobl] .creation-scanner-btn:hover {
    background: #D33BB2 !important;
    border-color: #D33BB2 !important;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.3) !important;
}

[b-kjbddxoobl] .creation-scanner-btn .scanner-svg-icon {
    stroke: var(--st-text-muted) !important;
    width: 18px !important;
    height: 18px !important;
}

[b-kjbddxoobl] .creation-scanner-btn:hover .scanner-svg-icon {
    stroke: #ffffff !important;
}

.creation-search-input[b-kjbddxoobl]::placeholder {
    color: var(--st-text-muted);
}

.creation-search-input:focus[b-kjbddxoobl] {
    border-color: #D33BB2 !important;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.2);
}

/* ---- Botón Crear (magenta estándar) ---- */
.creation-action-row[b-kjbddxoobl] {
    display: grid;
    grid-template-columns: max-content;
    justify-content: center;
    gap: 10px;
    padding: 4px 0;
    margin-bottom: 15px;
}

.creation-action-row.creation-dual-action-row[b-kjbddxoobl] {
    grid-template-columns: repeat(2, max-content);
    gap: 12px;
}

@media (max-width: 480px) {
    .creation-action-row.creation-dual-action-row[b-kjbddxoobl] {
        grid-template-columns: 1fr;
    }
}

.creation-crear-btn[b-kjbddxoobl] {
    padding: 10px 24px;
    background: #D33BB2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.creation-crear-btn:hover[b-kjbddxoobl] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(211, 59, 178, 0.45);
}

.creation-crear-btn:active[b-kjbddxoobl] {
    transform: scale(0.98);
}

/* ---- Tarjeta / Popup de Datos del VIN ---- */
.creation-vin-popup-card[b-kjbddxoobl] {
    margin: 4px 0 15px;
    background: var(--st-surface-muted);
    border: 1px solid rgba(211, 59, 178, 0.35);
    border-radius: 12px;
    padding: 16px;
    box-shadow: none;
    animation: creationFadeIn-b-kjbddxoobl 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creation-vin-popup-header[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.creation-vin-popup-title-row[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creation-vin-popup-icon[b-kjbddxoobl] {
    color: #D33BB2;
    flex-shrink: 0;
}

.creation-vin-popup-title[b-kjbddxoobl] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text);
    letter-spacing: 0.3px;
}

.creation-vin-badge-decoding[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-info-fg);
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    padding: 3px 8px;
    border-radius: 12px;
}

.creation-vin-mini-spinner[b-kjbddxoobl] {
    width: 10px;
    height: 10px;
    border: 2px solid var(--st-info-border);
    border-radius: 50%;
    border-top-color: var(--st-info-fg);
    animation: creationSpin-b-kjbddxoobl 0.8s linear infinite;
}

.creation-vin-badge-success[b-kjbddxoobl] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-success-fg);
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Grid de datos del VIN */
.creation-vin-data-grid[b-kjbddxoobl] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
    background: var(--st-canvas);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid var(--st-border-subtle);
}

.creation-vin-data-item[b-kjbddxoobl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.creation-vin-data-label[b-kjbddxoobl] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.creation-vin-data-value[b-kjbddxoobl] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
    word-break: break-all;
}

.creation-vin-data-value.vin-highlight[b-kjbddxoobl] {
    color: var(--st-gold-text);
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    grid-column: span 2;
}

/* Sección de Placa Opcional */
.creation-vin-plate-box[b-kjbddxoobl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.creation-vin-plate-title[b-kjbddxoobl] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.creation-vin-plate-row[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* A value a vehicle already has, kept until the person changes it (CR-P3). */
.creation-duplicate-mark[b-kjbddxoobl] {
    margin: 6px 0 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-fg);
    font-size: 12px;
    line-height: 1.35;
}

.creation-vin-plate-input-wrapper[b-kjbddxoobl] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.creation-vin-plate-input[b-kjbddxoobl] {
    width: 100%;
    height: 38px;
    background: var(--st-input-bg) !important;
    border: 1px solid var(--st-border-strong) !important;
    border-radius: 8px;
    padding: 0 32px 0 12px;
    color: var(--st-text-strong) !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.creation-vin-plate-input:focus[b-kjbddxoobl] {
    border-color: #D33BB2 !important;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.25);
}

.creation-vin-plate-input[b-kjbddxoobl]::placeholder {
    color: var(--st-text-muted);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.creation-vin-plate-clear[b-kjbddxoobl] {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--st-text-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creation-vin-plate-clear:hover[b-kjbddxoobl] {
    color: var(--st-text-strong);
}

.creation-vin-scanner-btn[b-kjbddxoobl] {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0;
}

/* Footer / Botón de Acción dentro del popup */
.creation-vin-footer-actions[b-kjbddxoobl] {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    animation: creationFadeIn-b-kjbddxoobl 0.25s ease-out;
}

.creation-vin-footer-actions .creation-crear-btn[b-kjbddxoobl] {
    width: 100%;
}

/* ---- Enlace "¿No tiene placa?" ---- */
.creation-noplate-row[b-kjbddxoobl] {
    display: flex;
    justify-content: center;
    padding: 2px 0 10px;
}

.creation-noplate-link[b-kjbddxoobl] {
    background: none;
    border: none;
    color: #9b59b6;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.creation-noplate-link:hover[b-kjbddxoobl] {
    opacity: 1;
}


.creation-empty-state[b-kjbddxoobl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 10px 20px;
    text-align: center;
    animation: creationFadeIn-b-kjbddxoobl 0.5s ease-out;
}

/* ---- Spinner de carga ---- */
.creation-loading-spinner[b-kjbddxoobl] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-radius: 50%;
    border-top-color: #D33BB2;
    animation: creationSpin-b-kjbddxoobl 1s ease-in-out infinite;
    margin: 0 auto 15px;
}

@keyframes creationSpin-b-kjbddxoobl {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Botón Cargar Más ---- */
.creation-load-more-row[b-kjbddxoobl] {
    display: flex;
    justify-content: center;
    padding: 20px 0 30px;
    width: 100%;
}

.creation-load-more-btn[b-kjbddxoobl] {
    padding: 10px 40px;
    background: #D33BB2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.creation-load-more-btn:hover:not(:disabled)[b-kjbddxoobl] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(211, 59, 178, 0.45);
}

.creation-load-more-btn:active:not(:disabled)[b-kjbddxoobl] {
    transform: scale(0.98);
}

.creation-load-more-btn:disabled[b-kjbddxoobl] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.creation-btn-spinner[b-kjbddxoobl] {
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-radius: 50%;
    border-top-color: #fff;
    animation: creationSpin-b-kjbddxoobl 1s linear infinite;
}

.creation-empty-illustration[b-kjbddxoobl] {
    margin-bottom: 20px;
}

.creation-empty-circle[b-kjbddxoobl] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.creation-empty-icon[b-kjbddxoobl] {
    color: var(--st-text-secondary);
    opacity: 0.6;
}

.creation-empty-title[b-kjbddxoobl] {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-body);
    letter-spacing: 0.3px;
}

.creation-empty-subtitle[b-kjbddxoobl] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
    line-height: 1.5;
}

.creation-min-chars-hint[b-kjbddxoobl] {
    margin: 4px 12px 15px;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #DEA301;
    background: rgba(222, 163, 1, 0.2);
    border: 1px solid #EFCE7D;
    border-radius: 8px;
    line-height: 1.4;
}

@keyframes creationFadeIn-b-kjbddxoobl {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Grid para AssetCards (Mismo estilo que InboxPanel)
   ============================================================ */

.creation-results-container[b-kjbddxoobl] {
    /* 
       Alineamos con el nuevo padding de 15px del LeftSidebar
    */
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);

    padding-left: 18px;
    padding-right: 18px;

    flex: 1;
    overflow-y: auto;
    /* Evitamos el scroll horizontal y permitimos el vertical */
    overflow-x: hidden;
    min-height: 0;
}

.creation-assets-grid[b-kjbddxoobl] {
    display: grid;
    /* 3 Columnas idéntico al Inbox */
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 4px;
    justify-items: center;
}

/* Forzamos que la tarjeta ocupe el espacio de la columna exacto */
.creation-assets-grid[b-kjbddxoobl]  .asset-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* ---- Botón Secundario 'Crear sin placa' ---- */
.creation-crear-secondary-btn[b-kjbddxoobl] {
    background: var(--st-surface-strong) !important;
    color: var(--st-text) !important;
    border: 1px solid var(--st-border-strong) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.creation-crear-secondary-btn:hover[b-kjbddxoobl] {
    background: var(--st-surface-stronger) !important;
    border-color: var(--st-border-stronger) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}

/* ============================================================
   Modal de Advertencia de Placa Duplicada
   ============================================================ */
.duplicate-modal-backdrop[b-kjbddxoobl] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    animation: duplicateFadeIn-b-kjbddxoobl 0.25s ease-out;
}

.duplicate-modal-dialog[b-kjbddxoobl] {
    background: var(--st-surface-raised);
    border: 1px solid rgba(211, 59, 178, 0.4);
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    padding: 24px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(211, 59, 178, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: duplicateScaleUp-b-kjbddxoobl 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.duplicate-modal-illustration[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.duplicate-modal-icon-badge[b-kjbddxoobl] {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--st-warning-bg);
    border: 2px solid var(--st-warning-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-warning-fg);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.duplicate-modal-title[b-kjbddxoobl] {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
    text-align: center;
}

.duplicate-modal-message[b-kjbddxoobl] {
    font-size: 13px;
    color: var(--st-text-secondary);
    line-height: 1.5;
    text-align: center;
    margin: 0;
    padding: 0 8px;
}

/* Card con Preview del Vehículo */
.duplicate-modal-vehicle-card[b-kjbddxoobl] {
    width: 100%;
    background: var(--st-canvas);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.duplicate-modal-vehicle-thumb[b-kjbddxoobl] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--st-fill-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.duplicate-vehicle-img[b-kjbddxoobl] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duplicate-vehicle-placeholder-svg[b-kjbddxoobl] {
    color: var(--st-text-subtle);
}

.duplicate-modal-vehicle-info[b-kjbddxoobl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.duplicate-vehicle-plate[b-kjbddxoobl] {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text-strong);
    letter-spacing: 0.5px;
}

.duplicate-vehicle-desc[b-kjbddxoobl] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duplicate-vehicle-year[b-kjbddxoobl],
.duplicate-vehicle-spec[b-kjbddxoobl] {
    font-size: 11px;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botones Cancelar / Ok */
.duplicate-modal-actions[b-kjbddxoobl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: 6px;
}

.duplicate-btn-cancel[b-kjbddxoobl] {
    flex: 1;
    padding: 10px 18px;
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
    border-radius: 24px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.duplicate-btn-cancel:hover[b-kjbddxoobl] {
    background: var(--st-surface-stronger);
    color: var(--st-text-strong);
}

.duplicate-btn-confirm[b-kjbddxoobl] {
    flex: 1;
    padding: 10px 18px;
    background: #D33BB2;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(211, 59, 178, 0.4);
    transition: all 0.2s ease;
    text-align: center;
}

.duplicate-btn-confirm:hover[b-kjbddxoobl] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
    box-shadow: 0 6px 18px rgba(211, 59, 178, 0.55);
    transform: translateY(-1px);
}

@keyframes duplicateFadeIn-b-kjbddxoobl {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes duplicateScaleUp-b-kjbddxoobl {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* /Pages/Home/Components/Creation/WorkOrders/Components/WorkOrderFormBody.razor.rz.scp.css */
/* El recuadro blanco que envuelve el formulario (como accordion-item.expanded) */
.wo-white-box[b-hg0ash6urn] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-subtle);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(229, 0, 205, 0.3);
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.wo-box-header[b-hg0ash6urn] {
    display: none;
    /* Titulo eliminado por instruccion del usuario */
}

.wo-box-title[b-hg0ash6urn] {
    display: none;
}

.wo-box-body[b-hg0ash6urn] {
    padding: 16px 20px;
}

/* --- Form Grid --- */
.asset-form-grid[b-hg0ash6urn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    width: 100%;
}

.asset-field[b-hg0ash6urn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    /* Crucial para que el truncamiento funcione en grid */
}

.asset-field.full-width[b-hg0ash6urn] {
    grid-column: 1 / -1;
}

.asset-label[b-hg0ash6urn] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.asset-label.required[b-hg0ash6urn]::before {
    content: "* ";
    color: #e500cd;
}

.asset-input[b-hg0ash6urn] {
    width: 100%;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px;
    padding: 0 16px;
    height: 48px;
    color: var(--st-text-brand) !important;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.asset-input:focus[b-hg0ash6urn] {
    border-color: #D33BB2 !important;
    background: var(--st-surface) !important;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.08);
}

.asset-input[b-hg0ash6urn]::placeholder {
    color: var(--st-text-muted);
}

/* Select con chevron */
.asset-select-wrapper[b-hg0ash6urn] {
    position: relative;
}

.asset-select[b-hg0ash6urn] {
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 11px 32px 11px 14px;
    color: var(--st-text-brand) !important;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s;
}

.asset-select:focus[b-hg0ash6urn] {
    border-color: #D33BB2 !important;
    background: var(--st-surface) !important;
}

/* --- Date Squares (Modified for white box) --- */
.edit-dates-row[b-hg0ash6urn] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}

.date-square[b-hg0ash6urn] {
    flex: 1;
    background: var(--st-surface-sunken);
    border-radius: 12px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border);
    transition: all 0.2s;
}

.date-square:hover[b-hg0ash6urn] {
    transform: translateY(-2px);
    background: var(--st-surface-strong);
    border-color: #D33BB2;
}

.date-square.suggested[b-hg0ash6urn] {
    border: 2px dashed #D33BB2;
}

.date-label[b-hg0ash6urn] {
    font-size: 9px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.date-number[b-hg0ash6urn] {
    font-size: 20px;
    font-weight: 800;
    color: var(--st-text-brand);
    line-height: 1;
}

.date-month[b-hg0ash6urn] {
    font-size: 10px;
    font-weight: 600;
    color: #D33BB2;
    text-transform: uppercase;
    margin-top: 2px;
}

.date-time[b-hg0ash6urn] {
    font-size: 10px;
    font-weight: 600;
    color: var(--st-text-subtle);
    margin-top: 1px;
}

.asset-select-wrapper[b-hg0ash6urn]::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #e500cd;
    pointer-events: none;
}
/* MW-18: type catalog not loaded on create: insurance code + reload (same look as the edit panel) */
.wo-type-unresolved[b-hg0ash6urn] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #B45309;
}

.wo-type-reload[b-hg0ash6urn] {
    flex-shrink: 0;
    padding: 2px 10px;
    border: 1px solid #B45309;
    border-radius: 8px;
    background: transparent;
    color: #B45309;
    font-size: 12px;
    cursor: pointer;
}
/* /Pages/Home/Components/Creation/WorkOrders/WorkOrderFormPanel.razor.rz.scp.css */
/* =============================================================
   WorkOrderFormPanel: create and edit of a work order.
   .caf-accordions and .caf-footer are the same in both modes. The rest are the edit panel's own rules, scoped under
   .wo-edit-container so the create form keeps the look it had on stagging.
   ============================================================= */
/* --- Accordions Container (Match Creation Forms) --- */
.caf-accordions[b-k5eyf3suy7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

/* --- Form Container --- */
.wo-edit-container .wo-white-box[b-k5eyf3suy7] {
    background: var(--st-surface-raised);
    border: 1px solid rgba(229, 0, 205, 0.3);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.wo-edit-container .wo-box-body[b-k5eyf3suy7] {
    padding: 16px 20px;
}

/* --- Grid Layout --- */
.wo-edit-container .asset-form-grid[b-k5eyf3suy7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    width: 100%;
}

.wo-edit-container .asset-field[b-k5eyf3suy7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.wo-edit-container .asset-field.full-width[b-k5eyf3suy7] {
    grid-column: 1 / -1;
}

.wo-edit-container .asset-label[b-k5eyf3suy7] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-brand);
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.wo-edit-container .asset-label.required[b-k5eyf3suy7]::before {
    content: "* ";
    color: #e500cd;
}

.wo-edit-container .asset-input[b-k5eyf3suy7] {
    width: 100%;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px;
    padding: 0 16px;
    height: 48px;
    color: var(--st-text-brand) !important;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.wo-edit-container .asset-input:focus[b-k5eyf3suy7] {
    border-color: #e500cd !important;
    background: var(--st-surface) !important;
    box-shadow: 0 4px 12px rgba(229, 0, 205, 0.08);
}

.wo-edit-container .asset-input[b-k5eyf3suy7]::placeholder {
    color: var(--st-text-muted);
}

/* --- Date Squares (Modified for white box) --- */
.wo-edit-container .edit-dates-row[b-k5eyf3suy7] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}

.wo-edit-container .date-square[b-k5eyf3suy7] {
    flex: 1;
    background: var(--st-surface-sunken);
    border-radius: 12px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border);
    transition: all 0.2s;
}

.wo-edit-container .date-square:hover[b-k5eyf3suy7] {
    transform: translateY(-2px);
    background: var(--st-surface-strong);
    border-color: #e500cd;
}

.wo-edit-container .date-square.suggested[b-k5eyf3suy7] {
    border: 2px dashed #e500cd;
}

.wo-edit-container .promise-suggestion-inline[b-k5eyf3suy7] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--st-gold-text);
}

.wo-edit-container .promise-suggestion-apply[b-k5eyf3suy7] {
    padding: 0;
    border: none;
    background: none;
    font-size: 11px;
    font-weight: 500;
    color: var(--st-warning-fg);
    text-decoration: underline;
    cursor: pointer;
}

.wo-edit-container .date-label[b-k5eyf3suy7] {
    font-size: 9px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.wo-edit-container .date-number[b-k5eyf3suy7] {
    font-size: 20px;
    font-weight: 800;
    color: var(--st-text-brand);
    line-height: 1;
}

.wo-edit-container .date-month[b-k5eyf3suy7] {
    font-size: 10px;
    font-weight: 600;
    color: #e500cd;
    text-transform: uppercase;
    margin-top: 2px;
}

.wo-edit-container .date-time[b-k5eyf3suy7] {
    font-size: 10px;
    font-weight: 600;
    color: var(--st-text-subtle);
    margin-top: 1px;
}

/* --- Footer Buttons (Match exact Creation Wizard Standard) --- */
.caf-footer[b-k5eyf3suy7] {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    flex-shrink: 0;
    margin-top: auto;
}

.wo-edit-container .caf-footer .caf-btn-cancel[b-k5eyf3suy7],
.wo-edit-container .caf-footer .caf-btn-secondary[b-k5eyf3suy7],
.wo-edit-container .caf-footer .caf-btn-next[b-k5eyf3suy7] {
    flex: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Type catalog not loaded: stored id + reload */
.wo-edit-container .wo-type-unresolved[b-k5eyf3suy7] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #B45309;
}

.wo-edit-container .wo-type-reload[b-k5eyf3suy7] {
    flex-shrink: 0;
    padding: 2px 10px;
    border: 1px solid #B45309;
    border-radius: 8px;
    background: transparent;
    color: #B45309;
    font-size: 12px;
    cursor: pointer;
}
/* /Pages/Home/Components/DynamicPanel.razor.rz.scp.css */
/* Search Wrapper - Contenedor independiente del buscador */
.search-wrapper[b-fkxx6hjwiu] {
    position: absolute;
    top: calc(var(--st-frame-gap-y) + 10px);
    left: 240px;
    width: 400px;
    z-index: 26;
    /* Siempre visible */
    opacity: 1;
    pointer-events: auto;
    transition: left 0.4s ease-in-out;
}

.search-wrapper.sidebar-collapsed[b-fkxx6hjwiu] {
    left: calc(var(--st-sidebar-collapsed-w) + 20px);
}

/* Dynamic Content Panel */
.dynamic-panel[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel {
    position: absolute;
    top: calc(var(--st-frame-gap-y) + 10px);
    left: 230px;
    /* 10px inside the map frame (top --st-frame-gap-y, left 220px) on every side: the same inset the
       top-bar buttons use, so the floating UI shares one margin. */
    width: var(--panel-width, 450px);
    bottom: calc(var(--st-frame-gap-y) + 10px);
    /* Same width as search bar */
    /* max-height: calc(100vh - 60px);*/
    /* Limit height to not overflow */
    /* Glass role (css/theme.css): inbox, profile, authorization... float over the map. The center
       screens (reportes/calendario/integracion/empresa modes below) replace it with a solid surface. */
    background: var(--st-glass-surface);
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border-radius: 30px;
    border: 1px solid var(--st-border);
    z-index: 25;
    display: flex;
    flex-direction: column;
    /* Animation */
    opacity: 0;
    pointer-events: none;
    transform: translatex(-20px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, left 0.4s ease-in-out, width 0.4s ease-in-out;
    overflow: hidden;
}

/* Ancho arrastrable: exclusivo del Inbox.
   El handle guarda la medida del usuario en --inbox-panel-width y SOLO esta regla la lee.
   Antes escribía sobre --panel-width, que es de Blazor: como Autorización, Perfil y Empresa
   declaran el mismo "450px" que el Inbox, el atributo style no cambiaba entre paneles,
   Blazor no lo reescribía y esos paneles heredaban el ancho estirado del Inbox. */
/* Solo escritorio: en móvil manda el "width: 90vw" de abajo (el arrastre es de ratón
   y allí nunca tuvo efecto), y sin este @media esta regla —más específica— lo pisaría. */
@media (min-width: 769px) {
    .dynamic-panel.inbox-resizable[b-fkxx6hjwiu],
    [b-fkxx6hjwiu] .dynamic-panel.inbox-resizable {
        width: var(--inbox-panel-width, var(--panel-width, 450px));
    }
}


/* Estado inicial para la tabla de inventarios para que nazca a mitad de pantalla */
@media (min-width: 769px) {
    .dynamic-panel.inbox-table-mode[b-fkxx6hjwiu] {
        top: 50vh;
    }
}

.dynamic-panel.visible[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dynamic-panel.high-z-index[b-fkxx6hjwiu] {
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    transition: none !important;
    z-index: 10000;
    /* Iteration 1, Wa1: paridad con .expanded-card-view.high-z-index (línea ~601 de este mismo
       archivo) — sin esto, un overlay position:fixed abierto adentro (p. ej. DynamicFormEditor's
       .dfe-overlay) seguía recortado por el overflow:hidden base de .dynamic-panel (línea 44)
       pese a que el resto de las propiedades ya restauraban el viewport real como referencia. */
    overflow: visible !important;
}

/* Solicitudes: the panel widens to show the selected request beside the list. */
.dynamic-panel.autorizacion-mode.request-detail-open[b-fkxx6hjwiu] {
    width: min(calc(var(--panel-width, 450px) + 520px), calc(100vw - 250px));
}

.dynamic-panel.autorizacion-mode.request-detail-open.sidebar-collapsed[b-fkxx6hjwiu] {
    width: min(calc(var(--panel-width, 450px) + 520px), calc(100vw - var(--st-sidebar-collapsed-w) - 30px));
}

.auth-split[b-fkxx6hjwiu] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.auth-split-list[b-fkxx6hjwiu] {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    width: var(--panel-width, 450px);
    min-height: 0;
}

/* Adjust when sidebar is collapsed */
.dynamic-panel.sidebar-collapsed[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel.sidebar-collapsed {
    left: calc(var(--st-sidebar-collapsed-w) + 10px);
    /* Collapsed sidebar is --st-sidebar-collapsed-w wide: keep the same 10px inset from the map frame */
}

/* ===== Inbox Expand Handle (Minimalist Pill) ===== */
.inbox-expand-handle[b-fkxx6hjwiu] {
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 36px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 4px;
    cursor: col-resize;
    z-index: 30;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.inbox-expand-handle:hover[b-fkxx6hjwiu] {
    background: var(--st-surface);
    width: 8px;
    right: -11px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.inbox-expand-handle:active[b-fkxx6hjwiu] {
    background: var(--st-surface);
    width: 8px;
    right: -11px;
}

/* Remove .expanded logic */

/* ===== Inbox Dragging Mode ===== */
.dynamic-panel.dragging[b-fkxx6hjwiu] {
    transition: none !important;
}

/* Inbox mode base: permitir que el handle no sea cortado por overflow:hidden del panel genérico */
.dynamic-panel.inbox-mode[b-fkxx6hjwiu] {
    overflow: visible;
}

.dynamic-panel-header[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--st-border);
}


.dynamic-panel.reportes-mode[b-fkxx6hjwiu],
.dynamic-panel.plataforma-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y) !important;
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto !important;
    border-radius: 30px;
    background: var(--st-surface) !important;
    /* Opaco para ocultar el mapa */
    /* Center screen (surface role 3 in css/theme.css): no border, the solid surface is the edge. */
    border: none;
    max-height: none;
    /* Ensure grid stack has space */
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: reportesGlobalSlideIn-b-fkxx6hjwiu 0.4s ease-out;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-in-out;
}

@keyframes reportesGlobalSlideIn-b-fkxx6hjwiu {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.dynamic-panel.reportes-mode .dynamic-panel-content[b-fkxx6hjwiu],
.dynamic-panel.plataforma-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    overflow: visible !important;
}

.dynamic-panel.reportes-mode[b-fkxx6hjwiu]::-webkit-scrollbar,
.dynamic-panel.plataforma-mode[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
}

/* Adjust for collapsed sidebar */
.dynamic-panel.reportes-mode.sidebar-collapsed[b-fkxx6hjwiu],
.dynamic-panel.plataforma-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y) !important;
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto !important;
    border-radius: 30px;
    background: var(--st-surface) !important;
}

/* === Collision Mode — Full-screen layout === */
.dynamic-panel.collision-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y) !important;
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto !important;
    border-radius: 20px;
    background: var(--st-surface-sunken) !important;
    /* Center screen (surface role 3 in css/theme.css): no border. */
    border: none;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    max-height: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: collisionSlideIn-b-fkxx6hjwiu 0.4s ease-out;
}

@keyframes collisionSlideIn-b-fkxx6hjwiu {
    from {
        opacity: 0;
        transform: translateX(-60px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.dynamic-panel.collision-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    overflow: hidden !important;
}

.dynamic-panel.collision-mode[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
}

.dynamic-panel.collision-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y) !important;
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto !important;
}

/* === Calendario Mode — Full-screen / Auto layout === */
.dynamic-panel.calendario-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y) !important;
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto !important;
    border-radius: 20px;
    background: transparent !important;
    /* La tarjeta del calendario es opaca y llena el panel (radio 16px dentro del 20px del panel):
       el desenfoque del vidrio nunca se ve y obligaba a recomponer la GPU en cada cuadro. El bloque
       contenedor de los popups position:fixed del calendario lo sigue creando el transform del panel
       (translateY(0) de .visible, translatex(-20px) oculto); .high-z-index ya quita ambos. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none !important;
    box-shadow: none !important;
    max-height: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: calendarioSlideIn-b-fkxx6hjwiu 0.4s ease-out;
    /* Isolates the boards (thousands of nodes) from the rest of the app: a change inside never lays out or repaints
       outside, and the panel's size never depends on its content. Nothing changes on screen: the size already comes
       from its four edges, the transform already makes it the containing block of the calendar's fixed popups (tour,
       backdrops, ghost bar, drop tip) and overflow: hidden already clips at the same edge. The dialogs that must cover
       the app (DCB delivery, process flow, calendar boards, order sheet, assignment) live outside .dynamic-panel, and
       .high-z-index (a modal inside the calendar) drops it with contain: none !important, as it drops the transform. */
    contain: strict;
}

@keyframes calendarioSlideIn-b-fkxx6hjwiu {
    from {
        opacity: 0;
        transform: translateX(-40px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.dynamic-panel.calendario-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

.dynamic-panel.calendario-mode[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
}

.dynamic-panel.calendario-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y) !important;
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto !important;
}

/* === Documentación Mode — mismo layout que el Calendario === */
.dynamic-panel.documentacion-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y) !important;
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto !important;
    border-radius: 16px;
    /* Navy, not transparent: the panel clips the card with the same 16 px curve, so its antialiased edge shows
       whatever lies under the card. Navy there blends with the card instead of letting the map show as a light
       arc at the corners. The 1 px frame lives here too: on the card it was cut away by this panel's overflow. */
    background: #1f2f45 !important;
    border: none !important;
    box-shadow:
        0 0 0 1px #1a283c,
        0 12px 28px rgba(15, 23, 42, 0.18) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-height: none;
    animation: calendarioSlideIn-b-fkxx6hjwiu 0.4s ease-out;
}

.dynamic-panel.documentacion-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    background: #1f2f45;
}

/* Tarjeta del portal: radio 16, sin scroll propio. Recorta sus esquinas por igual y el scroll vive dentro del
   portal (.doc-scroll), debajo de su cabecera y pestañas. El marco y la sombra los pone el panel que la contiene
   (arriba), porque aquí quedaban recortados. */
.dynamic-panel.documentacion-mode .documentation-panel-shell[b-fkxx6hjwiu] {
    height: 100%;
    overflow: hidden;
    background: #1f2f45;
    border: none;
    border-radius: 16px;
    isolation: isolate;
}

.dynamic-panel.documentacion-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y) !important;
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto !important;
}

/* === Integracion Mode — Full-screen layout === */
.dynamic-panel.integracion-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y) !important;
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto !important;
    border-radius: 20px;
    background: var(--st-surface) !important;
    /* Center screen (surface role 3 in css/theme.css): no border. */
    border: none;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    max-height: none;
    animation: reportesGlobalSlideIn-b-fkxx6hjwiu 0.4s ease-out;
}

.dynamic-panel.integracion-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    overflow: hidden !important;
}

.dynamic-panel.integracion-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y) !important;
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto !important;
}

.dynamic-panel-title[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--st-text-strong);
}

.dynamic-panel-close-btn[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel-close-btn {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.dynamic-panel-close-btn:hover[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel-close-btn:hover {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.dynamic-panel-content[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel-content {
    flex: 1;
    padding: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    color: var(--st-text-muted);
    border-radius: inherit;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Panel completo se oculta al expandir el asset — permanece oculto hasta cerrar con X */
.dynamic-panel.expanded[b-fkxx6hjwiu] {
    opacity: 0 !important;
    transform: translateX(-60px) !important;
    pointer-events: none !important;
}

/* El detalle de una OT abierto sobre el calendario (el calendario sigue montado, con su disposición, scroll y planeación): el navegador
   deja de calcular su layout y de pintarlo mientras está tapado, y lo que ya tiene (los miles de nodos del tablero) se conserva. El
   atributo inert lo deja sin foco ni teclado. El fundido de salida se respeta: content-visibility queda visible durante la transición.
   Sin soporte, la declaración se descarta y queda solo el ocultamiento por opacidad de arriba. */
.dynamic-panel.calendario-mode.expanded[b-fkxx6hjwiu] {
    content-visibility: hidden;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, left 0.4s ease-in-out, width 0.4s ease-in-out, content-visibility 0.4s allow-discrete;
}

.panel-placeholder[b-fkxx6hjwiu] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.2rem;
    border: 2px dashed var(--st-border);
    border-radius: 20px;
}

/* Search Bar dentro del Dynamic Panel */
.search-container[b-fkxx6hjwiu] {
    background: #9aa1abeb;
    backdrop-filter: blur(1px);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.search-input[b-fkxx6hjwiu] {
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    width: 100%;
    margin-left: 10px;
    outline: none;
    font-size: 0.95rem;
}

.search-input[b-fkxx6hjwiu]::placeholder {
    color: var(--st-text-strong);
}

/* Inbox Card Container */
.inbox-card-container[b-fkxx6hjwiu] {
    padding: 10px 0;
}

.inbox-card[b-fkxx6hjwiu] {
    background: rgba(31, 47, 69, 0.5);
    border: 1px solid var(--st-border);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.inbox-card:hover[b-fkxx6hjwiu] {
    background: rgba(31, 47, 69, 0.7);
    border-color: var(--st-border-strong);
}

.inbox-card-image[b-fkxx6hjwiu] {
    width: 100px;
    height: 100px;
    background: rgba(154, 161, 171, 0.3);
    border-radius: 12px;
    flex-shrink: 0;
}

.inbox-card-info[b-fkxx6hjwiu] {
    flex: 1;
    color: var(--st-text-strong);
}

.inbox-card-info h3[b-fkxx6hjwiu] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--st-text-strong);
}

.inbox-card-info p[b-fkxx6hjwiu] {
    font-size: 0.9rem;
    color: var(--st-text-muted);
    line-height: 1.5;
}

/* Animación de ocultar search wrapper */
.search-wrapper.hidden[b-fkxx6hjwiu] {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Animación de ocultar panel principal */
.dynamic-panel.hiding[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel.hiding {
    animation: panelHideAnimation-b-fkxx6hjwiu 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

@keyframes panelHideAnimation-b-fkxx6hjwiu {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    40% {
        opacity: 1;
        transform: translateY(0) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translateX(-40px) scale(0.9);
    }
}

/*Animacion de re-entrada cuando vuelve del expanded view*/
.dynamic-panel.returning[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .dynamic-panel.returning {
    animation: panelReturnAnimation-b-fkxx6hjwiu 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes panelReturnAnimation-b-fkxx6hjwiu {
    0% {
        opacity: 0;
        transform: translateX(-40px) scale(0.9);
    }

    60% {
        opacity: 1;
        transform: translateY(0) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Inbox card clickeable */


/* Soporte HUD 3D Workshop: el panel conserva su apariencia normal durante el modo taller */

/* Close button flotante en esquina superior derecha del expanded-card-view,
   alineado verticalmente con los folder-tabs (height:40px, top:9px desde el content) */
.expanded-view-close[b-fkxx6hjwiu] {
    position: absolute;
    top: 11px;
    right: 18px;
    z-index: 200;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--st-border-subtle);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanded-view-close svg[b-fkxx6hjwiu] {
    color: var(--st-text-strong);
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.expanded-view-close:hover[b-fkxx6hjwiu] {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Expanded Card View - 3 Column Layout */
.expanded-card-view[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view {
    position: absolute;
    top: var(--st-frame-gap-y);
    left: 220px;
    right: 10px;
    bottom: var(--st-frame-gap-y);
    /* Glass role (css/theme.css) for the asset detail; Empresa swaps it for a screen surface (.screen-surface). */
    background: var(--st-glass-surface);
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border-radius: 24px;
    border: 1px solid var(--st-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 27;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-60px);
    pointer-events: none;

    /* CLOSING: rápido hacia la derecha */
    transition: opacity 0.25s cubic-bezier(0.4, 0, 1, 1),
        transform 0.25s cubic-bezier(0.4, 0, 1, 1),
        left 0.4s ease-in-out,
        right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.expanded-card-view.active[b-fkxx6hjwiu] {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;

    /* OPENING: empuje desde la derecha */
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.4s ease-in-out,
        right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Igual que .dynamic-panel.high-z-index: cuando hay un modal/RightSidebar (position:fixed) abierto dentro,
   se elimina el transform/backdrop-filter que crea un containing block propio, para que ese elemento
   se posicione contra el viewport real en vez de quedar contenido/inset dentro de esta tarjeta. */
.expanded-card-view.high-z-index[b-fkxx6hjwiu] {
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    overflow: visible !important;
}

.expanded-card-view.hiding[b-fkxx6hjwiu] {
    animation: panelHideAnimation-b-fkxx6hjwiu 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

/* Escape para overlays position:fixed abiertos DENTRO de la tarjeta expandida (p. ej. los
   formularios de crear Proceso/Entrega del wizard de entrega).
   backdrop-filter/transform/filter convierten a este contenedor en containing block de sus
   descendientes fixed: dejan de referirse al viewport y su overflow:hidden los recorta.
   Neutralizarlos devuelve el viewport como referencia y elimina el recorte (mismo patrón que
   .dynamic-panel.high-z-index). El transform aquí es solo de animación, así que quitarlo en
   estado .active no mueve nada. */
.expanded-card-view.high-z-index[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view.high-z-index {
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    transition: none !important;
}

/* Work Orders Header Bar - Translucent top bar */
.wo-header-bar[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 6px 0;
    background: transparent;
    margin-bottom: 0px;
    flex-shrink: 0;
}

.wo-header-info[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-info {
    flex: 1;
    min-width: 0;
}

.wo-header-title[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e8e8e8;
    margin: 0 0 2px 0;
}

.wo-header-subtitle[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-subtitle {
    font-size: 0.75rem;
    color: #e8e8e8b5;
    margin: 0;
    line-height: 1.3;
    max-width: 100%;
}

.wo-header-pills[b-fkxx6hjwiu] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wo-header-bar .add-wo-btn[b-fkxx6hjwiu] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FE00E4;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wo-header-bar .add-wo-btn:hover[b-fkxx6hjwiu] {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.4);
}

.wo-pill[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(31, 47, 69, 0.8);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wo-pill:hover[b-fkxx6hjwiu] {
    background: rgba(31, 47, 69, 0.95);
    border-color: var(--st-border-stronger);
    transform: translateY(-1px);
}

.wo-pill.active[b-fkxx6hjwiu] {
    background: rgba(31, 47, 69, 0.95);
    border-color: #e5b900;
    border-width: 2px;
}

.wo-pill-progress[b-fkxx6hjwiu] {
    padding: 3px 10px;
    background: #e5b900;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1f2f45;
}

.wo-pill.active .wo-pill-progress[b-fkxx6hjwiu] {
    background: #e5b900;
    color: #1f2f45;
}

.wo-header-close[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-4);
    border: none;
    border-radius: 50%;
    color: var(--st-text-strong);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wo-header-close:hover[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .wo-header-close:hover {
    background: var(--st-fill-6);
    transform: scale(1.05);
}

.expanded-card-view.active[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.expanded-card-view.sidebar-collapsed[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view.sidebar-collapsed {
    left: var(--st-sidebar-collapsed-w);
}

/* Chat Open Adjustments */
.expanded-card-view.chat-open[b-fkxx6hjwiu] {
    right: 370px;
    /* 350px (Chat Panel) + 20px (Margin) */
}

.expanded-card-view.sidebar-collapsed.chat-open[b-fkxx6hjwiu] {
    left: calc(var(--st-sidebar-collapsed-w) + 20px);
    right: 370px;
}

.expanded-card-header[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface);
    flex-shrink: 0;
}

.header-asset-info[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.header-asset-logo[b-fkxx6hjwiu] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--st-border);
}

.header-asset-number[b-fkxx6hjwiu] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.5px;
}

.back-btn[b-fkxx6hjwiu] {
    background: transparent;
    border: none;
    color: #4ecdc4;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}

.back-btn:hover[b-fkxx6hjwiu] {
    background: rgba(78, 205, 196, 0.1);
}

.close-expanded-btn[b-fkxx6hjwiu] {
    background: transparent;
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s;
}

.close-expanded-btn:hover[b-fkxx6hjwiu] {
    background: rgba(0, 0, 0, 0.05);
    color: #333333;
}

.expanded-card-content[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-content {
    padding: 9px;
    overflow: visible;
    display: flex;
    gap: 9px;
    height: 100%;
    box-sizing: border-box;
}

.expanded-card-content.single-column-layout[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-content.single-column-layout {
    flex-direction: row;
    align-items: stretch;
}

/* Three Column Layout */
.expanded-card-content.three-column-layout[b-fkxx6hjwiu] {
    flex-direction: row;
    align-items: stretch;
}

/* Two-column layout: AssetDetail | WorkOrder Folder */
.expanded-card-content.two-column-layout[b-fkxx6hjwiu] {
    gap: 16px;
    flex-direction: row;
    align-items: stretch;
}

/* In 2-column layout, AssetDetailPanel stretches full height */
.expanded-card-content.two-column-layout[b-fkxx6hjwiu]  .asset-detail-panel {
    flex: none;
    flex-shrink: 0;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    align-self: stretch;
}

/* Panel slide container takes remaining space */
.expanded-card-content.two-column-layout .panel-slide-container[b-fkxx6hjwiu] {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-width: 380px;
    max-height: 100%;
    overflow: hidden;
}

/* ===== WorkOrder Folder Container ===== */
.workorder-folder-container[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .workorder-folder-container {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 40px;
    /* Space for tab */
    min-width: 600px;
    min-height: 0;
    overflow: hidden;
}

/* Folder Tabs Container - envuelve el botón "+" y el <FolderTabStrip> con las
   tabs de work orders (Components/Common/FolderTabStrip). El scroll horizontal
   lo maneja el propio componente, así que este contenedor no recorta nada. */
.folder-tabs-container[b-fkxx6hjwiu] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    z-index: 2;
    height: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}


/* Título, warning y badge de progreso se renderizan vía el LabelTemplate del
   FolderTabStrip, por eso siguen viviendo acá (con el scope de DynamicPanel).
   .folder-tab-content es el wrapper del propio componente (::deep, viven en
   su scope) que antes daba el .folder-tab viejo: layout en fila + padding. */
.folder-tabs-container[b-fkxx6hjwiu]  .folder-tab-content {
    /* Usamos flex (no inline-flex) + width:100% del área plana segura del tab
       (el max-width del componente base ya limita eso al 88% del tab-w).
       Así title-wrap y badge se distribuyen correctamente en todo el ancho
       disponible y el número de la OT no queda truncado si hay espacio. */
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 14px;
    min-width: 0;
    width: 100%;
}

.folder-tab-title[b-fkxx6hjwiu] {
    /* La tira de pestañas apaga la selección en bloque para que arrastrar no marque texto.
       El número de orden se excluye: hay que poder seleccionarlo y copiarlo como en cualquier
       otro sitio, con Ctrl+C o el menú contextual. */
    user-select: text;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    /* Permite que el número se expanda hasta ocupar el espacio disponible;
       solo aplica ellipsis cuando realmente no hay lugar. */
    flex: 1 1 auto;
}

.folder-tab-title-wrap[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    /* Ocupa todo el espacio que sobre después del badge de progreso. */
    flex: 1 1 auto;
    overflow: hidden;
}

.folder-tab.active .folder-tab-title[b-fkxx6hjwiu] {
    color: var(--st-text-brand);
}

.folder-tab-progress[b-fkxx6hjwiu] {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    padding: 2px 8px;
    background: #7A8A9A;
    border-radius: 10px;
    /* Nunca se comprime ni se corta, aunque el nombre de la OT sea muy largo. */
    flex-shrink: 0;
    white-space: nowrap;
}

.folder-tab.active .folder-tab-progress[b-fkxx6hjwiu] {
    background: #e5b900;
    color: #1f2f45;
}


/* Folder Body - main content area */
.folder-body[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .folder-body {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    gap: 9px;
    background: var(--st-surface-strong);
    border-radius: 0 15px 15px 15px;
    padding: 9px;
    min-height: 0;
    overflow: hidden;
    max-height: calc(100% - 0px);
    /* Account for folder tab */
}

/* Tarjeta única para las secciones distintas de Órdenes (Archivos, Vehículo, Históricos…): ocupa
   el cuerpo entero con la misma tarjeta blanca que la línea de tiempo, para que cambiar de sección
   no mueva la estructura. Lo que va dentro lo estandariza AssetSectionShell. */
.folder-section-card[b-fkxx6hjwiu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Timeline Section inside folder */
.folder-timeline-section[b-fkxx6hjwiu] {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    overflow: visible;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.folder-timeline-section> :last-child[b-fkxx6hjwiu] {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.folder-timeline-section> :last-child[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Deep scroll styles for timeline */
.folder-timeline-section[b-fkxx6hjwiu]  .timeline-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.folder-timeline-section[b-fkxx6hjwiu]  .timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.folder-timeline-section[b-fkxx6hjwiu]  .timeline-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.folder-timeline-section[b-fkxx6hjwiu]  .timeline-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.folder-timeline-section[b-fkxx6hjwiu]  .timeline-list::-webkit-scrollbar {
    display: none;
}

.section-header[b-fkxx6hjwiu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border-strong);
}

.section-title[b-fkxx6hjwiu] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.folder-timeline-section .assign-btn[b-fkxx6hjwiu] {
    padding: 6px 16px;
    background: #e5b900;
    border: none;
    border-radius: 6px;
    color: #1f2f45;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.folder-timeline-section .assign-btn:hover[b-fkxx6hjwiu] {
    background: #cc9f00;
}

/* Detail Section inside folder */
.folder-detail-section[b-fkxx6hjwiu] {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-self: stretch;
}

.folder-detail-section[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
}

.folder-detail-section[b-fkxx6hjwiu]  .workorder-detail-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.folder-detail-section[b-fkxx6hjwiu]  .unified-card {
    flex: 1;
    border-radius: 12px !important;
}

/* Embedded panel styles (when inside folder container) */
.folder-timeline-section[b-fkxx6hjwiu]  .timeline-panel.no-folder-style {
    padding-top: 0;
}

.folder-timeline-section[b-fkxx6hjwiu]  .timeline-content.embedded {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.folder-detail-section[b-fkxx6hjwiu]  .workorder-detail-panel.no-folder-style {
    padding-top: 0;
    gap: 9px;
}

.folder-detail-section[b-fkxx6hjwiu]  .workorder-section.embedded {
    background: var(--st-surface);
    border-radius: 12px;
}

/* Legacy: In 3-column layout (keep for backwards compat) */
.expanded-card-content.three-column-layout[b-fkxx6hjwiu] {
    gap: 9px;
    flex-direction: row;
    align-items: stretch;
}

.expanded-card-content.three-column-layout[b-fkxx6hjwiu]  .asset-detail-panel {
    flex: none;
    flex-shrink: 0;
    width: 432px;
    min-width: 432px;
    max-width: 432px;
}

.expanded-card-content.three-column-layout[b-fkxx6hjwiu]  .timeline-panel {
    flex: 2;
    flex-shrink: 0;
    min-width: 280px;
}

.expanded-card-content.three-column-layout .panel-slide-container[b-fkxx6hjwiu] {
    flex: 1;
    flex-shrink: 0;
    min-width: 600px;
}

/* Single Column Layout - Only AssetDetailPanel visible */
.expanded-card-content.single-column-layout[b-fkxx6hjwiu] {
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px;
}

/* In single column, AssetDetailPanel SAME fixed width (stays static) */
.expanded-card-content.single-column-layout[b-fkxx6hjwiu]  .asset-detail-panel {
    flex: none;
    flex-shrink: 0;
    width: 432px;
    min-width: 432px;
    max-width: 432px;
}



/* Pestaña del borde derecho de la tarjeta del vehículo: despliega / pliega la carpeta de la OT.
   Va pegada a la tarjeta (se come el gap del layout de tres columnas y monta 1px sobre su borde). */
.detail-folder-tab[b-fkxx6hjwiu] {
    flex: none;
    align-self: center;
    position: relative;
    z-index: 1;
    width: 18px;
    height: 84px;
    margin-left: -1px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface);
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, width 0.2s;
}

.expanded-card-content.three-column-layout .detail-folder-tab[b-fkxx6hjwiu] {
    margin-left: -10px;
}

.detail-folder-tab:hover[b-fkxx6hjwiu],
.detail-folder-tab:focus-visible[b-fkxx6hjwiu] {
    color: var(--st-accent);
    background: var(--st-accent-bg);
}

.detail-folder-tab:focus-visible[b-fkxx6hjwiu] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.detail-folder-tab svg[b-fkxx6hjwiu] {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-folder-tab.is-open svg[b-fkxx6hjwiu] {
    transform: rotate(180deg);
}

/* La tarjeta compacta se ensancha lo justo para que la pestaña no quede recortada. */
.expanded-card-view.has-folder-tab[b-fkxx6hjwiu] {
    --detail-folder-tab-space: 18px;
}

/* Compact mode - uses RIGHT instead of width for smooth animation */
.expanded-card-view.compact[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view.compact {
    /* Formula: 100vw - left(220px) - desired_width */
    right: calc(100vw - 220px - var(--panel-compact-width, 450px) - var(--detail-folder-tab-space, 0px));
    /* COLLAPSING: delay 0.4s so panels collapse BEFORE container shrinks */
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.4s ease-in-out,
        right 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.expanded-card-view.compact.sidebar-collapsed[b-fkxx6hjwiu],
[b-fkxx6hjwiu] .expanded-card-view.compact.sidebar-collapsed {
    left: var(--st-sidebar-collapsed-w);
    right: calc(100vw - var(--st-sidebar-collapsed-w) - var(--panel-compact-width, 450px) - var(--detail-folder-tab-space, 0px));
}

/* ===== Reglas específicas por modo ===== */

/* Reportes e Inventarios: panel de ancho completo */

/* Inventarios: panel de ancho completo (igual patrón que reportes-mode) */
.dynamic-panel.inventarios-mode[b-fkxx6hjwiu] {
    width: auto !important;
    top: var(--st-frame-gap-y);
    /* SIN !important → el JS puede sobreescribir esto al hacer drag */
    left: 220px !important;
    right: 10px !important;
    bottom: var(--st-frame-gap-y) !important;
    height: auto;
    /* SIN !important → el JS puede sobreescribir esto al hacer drag */
    border-radius: 30px;
    background: var(--st-glass-surface);
    border: 1px solid var(--st-border-strong);
    max-height: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dynamic-panel.inventarios-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
    top: var(--st-frame-gap-y);
    /* SIN !important → el JS puede sobreescribir esto al hacer drag */
    bottom: var(--st-frame-gap-y) !important;
    width: auto !important;
    height: auto;
    /* SIN !important → el JS puede sobreescribir esto al hacer drag */
    border-radius: 30px;
}

/* Cuando se abre un modal (asignación, entrega, etc.) desde Inventarios,
   el panel pasa a modo sidebar izquierdo igual que el Inbox (450px de ancho) */
.dynamic-panel.inventarios-mode.inbox-mode[b-fkxx6hjwiu] {
    width: 450px !important;
    right: auto !important;
    left: 220px !important;
    bottom: var(--st-frame-gap-y) !important;
    top: var(--st-frame-gap-y) !important;
    height: auto !important;
}

.dynamic-panel.inventarios-mode.inbox-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w) !important;
    width: 450px !important;
    right: auto !important;
}

/* Empresa: mismo posicionamiento que .expanded-card-view para que el listado
   y el detalle de empresa/tienda no salten de lugar al navegar entre ambos. */
.dynamic-panel.empresa-mode[b-fkxx6hjwiu] {
    top: var(--st-frame-gap-y);
    left: 220px;
    bottom: var(--st-frame-gap-y);
    border-radius: 24px;
    /* Configuration is a center screen (surface role 3 in css/theme.css): solid and following the theme, not glass.
       Sunken, so the white/navy store cards keep their edge. No border, like every center screen. */
    background: var(--st-surface-sunken);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* The store configuration of Empresa (expanded view): the same screen surface as its list. */
.expanded-card-view.screen-surface[b-fkxx6hjwiu] {
    background: var(--st-surface-sunken);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dynamic-panel.empresa-mode.sidebar-collapsed[b-fkxx6hjwiu] {
    left: var(--st-sidebar-collapsed-w);
}

.dynamic-panel.empresa-mode.platform-expanded[b-fkxx6hjwiu] {
    /* Ocupa todo el espacio libre igual que Reportes (el mismo marco y fondo opaco), así que cubre el mapa. */
    width: auto !important;
    max-width: none !important;
    right: 10px !important;
    border-radius: 30px;
    background: var(--st-surface) !important;
    transition: right 0.35s ease, left 0.35s ease;
}

.dynamic-panel.empresa-mode.sidebar-collapsed.platform-expanded[b-fkxx6hjwiu] {
    width: auto !important;
    max-width: none !important;
    left: var(--st-sidebar-collapsed-w) !important;
    right: 10px !important;
}


/* Panel slide container - panels that appear/disappear with sweep effect */
.panel-slide-container[b-fkxx6hjwiu] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transform-origin: left center;
}

/* Visible state - entra desde la derecha */
.panel-slide-container.visible[b-fkxx6hjwiu] {
    opacity: 1;
    transform: translateX(0);
    flex: 1;
    max-width: 100%;
    transition: opacity 0.3s ease-out,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        flex 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden state - sale hacia la izquierda */
.panel-slide-container.hidden[b-fkxx6hjwiu] {
    opacity: 0;
    transform: translateX(-40px);
    flex: 0;
    min-width: 0 !important;
    max-width: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in,
        transform 0.2s ease-in,
        flex 0.25s ease-in,
        max-width 0.25s ease-in;
}

.panel-slide-container.delay.visible[b-fkxx6hjwiu] {
    transition-delay: 0.35s;
}

.panel-slide-container.delay.hidden[b-fkxx6hjwiu] {
    transition-delay: 0s;
}

.no-asset-placeholder[b-fkxx6hjwiu] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    font-size: 1rem;
}

.expanded-card-image[b-fkxx6hjwiu] {
    width: 100%;
    height: 250px;
    background: var(--st-surface-strong);
    border-radius: 20px;
    flex-shrink: 0;
}

.expanded-card-details[b-fkxx6hjwiu] {
    color: var(--st-text);
}

.expanded-card-details h3[b-fkxx6hjwiu] {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #4ecdc4;
}

.expanded-card-details p[b-fkxx6hjwiu] {
    font-size: 1rem;
    color: var(--st-text-subtle);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* --- RESPONSIVE DESIGN (Móvil) --- */
@media (max-width: 768px) {

    /* 1. Buscador: Centrado y ancho fluido (90% de la pantalla) */
    .search-wrapper[b-fkxx6hjwiu] {
        left: 5vw;
        /* 5% desde la izquierda */
        width: 90vw;
        /* 90% del ancho */
        top: 15px;
    }

    /* Ignoramos el estado del sidebar en móvil */
    .search-wrapper.sidebar-collapsed[b-fkxx6hjwiu] {
        left: 5vw;
    }

    /* 2. Panel Dinámico: Centrado y ancho fluido */
    .dynamic-panel[b-fkxx6hjwiu] {
        left: 5vw;
        width: 90vw;
        top: 70px;
    }

    .dynamic-panel.sidebar-collapsed[b-fkxx6hjwiu] {
        left: 5vw;
    }

    /* 3. Tarjeta Expandida: Pantalla completa para mejor lectura */
    .expanded-card-view[b-fkxx6hjwiu] {
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        z-index: 100;
    }

    .expanded-card-view.sidebar-collapsed[b-fkxx6hjwiu] {
        left: 0;
    }

    /* Ajuste del contenido interno para móvil */
    .expanded-card-image[b-fkxx6hjwiu] {
        height: 200px;
        /* Un poco más pequeña la imagen */
    }
}

/* === Historial Integracion Mode — Bottom Float layout === */
.dynamic-panel.historial-integracion-mode[b-fkxx6hjwiu] {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 30px !important;
    top: auto !important;
    width: 600px !important;
    height: auto !important;
    max-height: calc(100vh - 120px) !important;
    max-height: calc(100dvh - 120px) !important;
    border-radius: 12px !important;
    background: var(--st-surface) !important;
    border: 1px solid #21262d !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.dynamic-panel.historial-integracion-mode.visible[b-fkxx6hjwiu] {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dynamic-panel.historial-integracion-mode:not(.visible)[b-fkxx6hjwiu] {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(20px) !important;
}

.dynamic-panel.historial-integracion-mode .dynamic-panel-content[b-fkxx6hjwiu] {
    background: var(--st-surface) !important;
    height: auto !important;
    max-height: calc(100vh - 120px) !important;
    max-height: calc(100dvh - 120px) !important;
    overflow-y: auto !important;
}

/* ==========================================================================
   Company Tabs Strip (Empresa panel: switch between open companies)
   ========================================================================== */
.company-column[b-fkxx6hjwiu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 0;
    width: 430px;
    min-width: 430px;
    max-width: 430px;
    flex-shrink: 0;
}

/* Cuando hay una opción de tienda seleccionada, el StoreDetailPanel adentro
   se colapsa a un riel de íconos (ver StoreDetailPanel.razor.css) para
   cederle espacio al panel ancho de la opción. :has() reacciona a la clase
   .rail-expanded, que el propio StoreDetailPanel solo aplica tras un clic
   explícito del usuario (ToggleRailExpanded) — nunca con hover. */
.company-column.collapsed[b-fkxx6hjwiu] {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    transition: width 0.45s ease, min-width 0.45s ease, max-width 0.45s ease;
    /* Los tooltips del riel se dibujan fuera de sus 76px, encima del panel ancho de la opción
       (.collapsed-option-icon::after en StoreDetailPanel.razor.css). Sin contexto de apilamiento
       propio quedaban a merced del orden de pintado: .store-option-wide-panel es un hermano
       POSTERIOR con fondo blanco opaco, y cualquier descendiente suyo con z-index —las vistas de
       tabla montan AG Grid, que usa z-index en header, columnas fijas y popups— compite en el mismo
       contexto y tapa el tooltip. Por eso el corte se veía solo en vista de tabla y no en tarjetas.
       Con position + z-index, la columna entera (y sus tooltips) pasa a pintarse por encima de ese
       subárbol. Queda muy por debajo de los 10000 de modales y RightSidebar, que siguen tapándola. */
    position: relative;
    z-index: 5;
}

.company-column.collapsed:has(.store-detail-panel.rail-expanded)[b-fkxx6hjwiu] {
    width: 430px;
    min-width: 430px;
    max-width: 430px;
}

/* Los tabs de tiendas abiertas ceden el espacio al riel colapsado; solo el
   botón de volver a la empresa permanece visible. Si el riel se expande
   manualmente (panel vuelto a la normalidad), los chips de tienda reaparecen. */
.company-column.collapsed .company-tabs-scroll[b-fkxx6hjwiu],
.company-column.collapsed .company-tabs-scroll-container[b-fkxx6hjwiu] {
    display: none;
}

.company-column.collapsed:has(.store-detail-panel.rail-expanded) .company-tabs-scroll[b-fkxx6hjwiu],
.company-column.collapsed:has(.store-detail-panel.rail-expanded) .company-tabs-scroll-container[b-fkxx6hjwiu] {
    display: flex;
}

/* Con los chips ocultos, el botón de volver queda solo en la tira; se centra
   dentro del riel angosto en vez de quedar pegado a la izquierda. Si el riel
   se expande manualmente los chips reaparecen, así que se restaura la
   alineación normal para no descentrar esa fila. */
.company-column.collapsed .company-tabs-strip[b-fkxx6hjwiu] {
    justify-content: center;
}

.company-column.collapsed:has(.store-detail-panel.rail-expanded) .company-tabs-strip[b-fkxx6hjwiu] {
    justify-content: flex-start;
}

.company-tabs-strip[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
}

.tabs-back-btn[b-fkxx6hjwiu] {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--st-fill-4);
    border: none;
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tabs-back-btn:hover[b-fkxx6hjwiu] {
    background: var(--st-fill-6);
    transform: translateX(-2px);
}

.company-tabs-scroll-container[b-fkxx6hjwiu] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.company-tabs-scroll[b-fkxx6hjwiu] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    padding: 3px 6px 3px 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.company-tabs-scroll[b-fkxx6hjwiu]::-webkit-scrollbar {
    display: none;
}

.company-tab-pill[b-fkxx6hjwiu] {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: var(--st-fill-4);
    color: var(--st-text-subtle);
}

.company-tab-pill:hover[b-fkxx6hjwiu] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.company-tab-pill.active[b-fkxx6hjwiu] {
    background: #dea301;
    color: #1a2a42;
    box-shadow: 0 4px 10px rgba(222, 163, 1, 0.35);
}

/* Wide sibling panel that shows a store config sub-panel (Cargos, Roles, etc.)
   while the narrow store column keeps its own summary/options list visible. */
.store-option-wide-panel[b-fkxx6hjwiu] {
    background: var(--st-surface);
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.expanded-card-view[b-fkxx6hjwiu]  .dfe-overlay {
    left: 220px;
    width: calc(100vw - 220px);
}

.expanded-card-view.sidebar-collapsed[b-fkxx6hjwiu]  .dfe-overlay {
    left: var(--st-sidebar-collapsed-w);
    width: calc(100vw - var(--st-sidebar-collapsed-w));
}

@media (max-width: 768px) {
    .expanded-card-view[b-fkxx6hjwiu]  .dfe-overlay,
    .expanded-card-view.sidebar-collapsed[b-fkxx6hjwiu]  .dfe-overlay {
        left: 0;
        width: 100vw;
    }
}

/* /Pages/Home/Components/ExportInboxTableModal.razor.rz.scp.css */
.export-description[b-1nydxw4ivz] {
    color: var(--st-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.export-options-grid[b-1nydxw4ivz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
}

.field-group h4[b-1nydxw4ivz] {
    color: var(--st-text-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--st-border-subtle);
}

.field-list[b-1nydxw4ivz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Checkbox styling */
.checkbox-container[b-1nydxw4ivz] {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--st-text-secondary);
    user-select: none;
    transition: color 0.2s;
}

.checkbox-container:hover[b-1nydxw4ivz] {
    color: var(--st-text-strong);
}

.checkbox-container input[b-1nydxw4ivz] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark[b-1nydxw4ivz] {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--st-fill-2);
    border: none;
    box-shadow: inset 0 0 0 1px var(--st-border);
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-container:hover input ~ .checkmark[b-1nydxw4ivz] {
    background-color: var(--st-fill-3);
}

.checkbox-container input:checked ~ .checkmark[b-1nydxw4ivz] {
    background-color: #e5b900;
    border: none;
    box-shadow: none;
}

.checkmark[b-1nydxw4ivz]:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark[b-1nydxw4ivz]:after {
    display: block;
}

.checkbox-container .checkmark[b-1nydxw4ivz]:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Checkbox styling finaliza aquí */

/* /Pages/Home/Components/External/AdjusterClaimBar.razor.rz.scp.css */
/* The adjuster's claim strip (Proascol, T-14): under a vehicle card of the inbox and in the vehicle's detail.
   systime-design: solid icons, «Reclamar» in magenta as the main action, neutrals only through --st-* tokens. */
.adjuster-claim-overlay[b-esyh9msn4k] {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: transparent;
    cursor: default;
}

/* Wraps instead of overflowing: under a 126px inbox card «Reclamar» and «Reasignar» do not fit side by side,
   so they stack at the card's width (and the owner line goes on its own row) instead of spilling over the
   neighbouring card. In the wider vehicle detail everything still fits on one row. */
.adjuster-claim-bar[b-esyh9msn4k] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 8px;
    margin-top: 4px;
    padding: 4px 4px 4px 8px;
    min-height: 36px;
}

.adjuster-claim-bar.is-open[b-esyh9msn4k] {
    z-index: 1000;
}

.adjuster-claim-owner[b-esyh9msn4k] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The ellipsis goes on the text itself: text-overflow does nothing on the inline-flex owner. */
.adjuster-claim-owner > span[b-esyh9msn4k] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adjuster-claim-owner svg[b-esyh9msn4k] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--st-gold-text);
}

/* Never wider than the strip: it shrinks to the row and wraps its buttons, each one then filling its row. */
.adjuster-claim-actions[b-esyh9msn4k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 6px;
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
}

.adjuster-claim-actions > *[b-esyh9msn4k] {
    flex: 1 1 auto;
}

.adjuster-claim-btn[b-esyh9msn4k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.adjuster-claim-btn:hover:not(:disabled)[b-esyh9msn4k] {
    background: var(--st-fill-4);
}

.adjuster-claim-btn.is-claim[b-esyh9msn4k] {
    background: #d81b84;
    border-color: #d81b84;
    color: #fff;
}

.adjuster-claim-btn.is-claim:hover:not(:disabled)[b-esyh9msn4k] {
    background: #eb5bb6;
    border-color: #eb5bb6;
}

.adjuster-claim-btn:disabled[b-esyh9msn4k] {
    opacity: 0.55;
    cursor: progress;
}

.adjuster-claim-btn:focus-visible[b-esyh9msn4k],
.dropdown-item:focus-visible[b-esyh9msn4k] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.adjuster-claim-btn .dropdown-arrow[b-esyh9msn4k] {
    width: 12px;
    height: 12px;
    color: currentColor;
}

/* Static on purpose: the menu anchors to the strip, not to the button, so it can be sized by the strip. */
.adjuster-reassign-wrapper[b-esyh9msn4k] {
    position: static;
}

.adjuster-reassign-wrapper .adjuster-claim-btn[b-esyh9msn4k] {
    width: 100%;
}

/* Opens upward: the strip sits at the bottom of a card or of the detail's header. Never wider than the strip's
   buttons (its width minus the 8px + 4px padding), so under an inbox card it stays inside the card and the list's
   scroll box does not clip it. */
.adjuster-reassign-menu[b-esyh9msn4k] {
    position: absolute;
    right: 4px;
    bottom: calc(100% + 6px);
    box-sizing: border-box;
    min-width: min(200px, calc(100% - 12px));
    width: max-content;
    max-width: min(280px, calc(100% - 12px));
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 1050;
}

.adjuster-reassign-menu .dropdown-menu-title[b-esyh9msn4k] {
    padding: 6px 10px 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--st-gold-text);
}

.adjuster-reassign-menu .dropdown-empty[b-esyh9msn4k] {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.adjuster-reassign-menu .dropdown-item[b-esyh9msn4k] {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 36px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.adjuster-reassign-menu .dropdown-item:hover[b-esyh9msn4k] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

@media (prefers-reduced-motion: reduce) {
    .adjuster-claim-btn[b-esyh9msn4k],
    .adjuster-reassign-menu .dropdown-item[b-esyh9msn4k] {
        transition: none;
    }
}
/* /Pages/Home/Components/External/Insurance/InsuranceInboxPanel.razor.rz.scp.css */
/* InsuranceInboxPanel.razor.css - Systime Design System */

.insurance-inbox-root[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    color: var(--st-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: transparent;
}

.insurance-inbox-root button[b-gac81mjfdc],
.insurance-inbox-root input[b-gac81mjfdc],
.insurance-inbox-root select[b-gac81mjfdc] {
    font-family: inherit;
}



/* Search Wrapper */
.inbox-search-wrapper[b-gac81mjfdc] {
    padding: 12px 12px 12px 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inbox-search[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    background: var(--st-fill-5);
    border-radius: 12px;
    padding: 8px 12px;
    gap: 8px;
    flex: 1;
    width: 100%;
}

.search-icon[b-gac81mjfdc] {
    width: 18px;
    height: 18px;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.search-input[b-gac81mjfdc] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-text-strong);
    font-size: 14px;
}

.search-input[b-gac81mjfdc]::placeholder {
    color: var(--st-text-muted);
    font-weight: 400;
}

.clear-search[b-gac81mjfdc] {
    width: 20px;
    height: 20px;
    background: var(--st-fill-6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.clear-search:hover[b-gac81mjfdc] {
    background: var(--st-fill-7);
}

.clear-search svg[b-gac81mjfdc] {
    width: 12px;
    height: 12px;
    color: var(--st-text-strong);
}

/* Scrollable Rows Container */
.row-scroll-container[b-gac81mjfdc] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    margin-bottom: 12px;
    gap: 6px;
    box-sizing: border-box;
    z-index: 1000;
}

.row-scroll-btn[b-gac81mjfdc] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--st-surface);
    border: 1px solid var(--st-border-stronger);
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1001 !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 0;
}

.row-scroll-btn:hover[b-gac81mjfdc] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
    transform: scale(1.08);
}

.row-scroll-btn:active[b-gac81mjfdc] {
    transform: scale(0.95);
}

.row-scroll-btn svg[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
}

/* Main Filters Row */
.inbox-filters-row[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px 10px 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 30;
    overflow: visible;
}

/* Above the pills row (z-index 1000, later in the page): with the same value the pills covered an open menu. */
.inbox-filters-row.has-open-dropdown[b-gac81mjfdc] {
    z-index: 1100 !important;
    overflow: visible !important;
}

.filter-count-btn[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: background 0.2s;
    white-space: nowrap;
    max-width: 220px;
    min-width: 0;
}

.filter-count-btn.active[b-gac81mjfdc] {
    background: var(--st-surface);
}

.filter-count-btn.active .filter-count[b-gac81mjfdc],
.filter-count-btn.active .filter-label[b-gac81mjfdc],
.filter-count-btn.active .dropdown-arrow[b-gac81mjfdc] {
    color: var(--st-text-brand);
}

.filter-count[b-gac81mjfdc] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.filter-label[b-gac81mjfdc] {
    font-size: 14px;
    color: var(--st-text-brand);
}

.dropdown-arrow[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
    color: var(--st-text-brand);
    flex-shrink: 0;
}

.filter-sort-btn[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--st-fill-5);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--st-text-strong);
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-sort-btn:hover[b-gac81mjfdc] {
    background: var(--st-fill-7);
}

.filter-sort-btn.active[b-gac81mjfdc] {
    background: var(--st-fill-7);
}

.filter-sort-btn .dropdown-arrow[b-gac81mjfdc] {
    color: var(--st-text-strong);
}

/* The adjuster's order: an icon, so the row keeps room for its insurers. */
.filter-sort-btn.is-compact[b-gac81mjfdc] {
    padding: 6px 10px;
}

.filter-sort-btn .sort-icon[b-gac81mjfdc] {
    width: 15px;
    height: 15px;
}

.sort-direction-btn[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--st-fill-5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--st-text-strong);
    transition: background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.sort-direction-btn:hover[b-gac81mjfdc] {
    background: var(--st-fill-7);
}

.sort-direction-btn svg[b-gac81mjfdc] {
    width: 16px;
    height: 16px;
}

.action-buttons[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.info-btn[b-gac81mjfdc],
.refresh-btn[b-gac81mjfdc] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.info-btn:hover[b-gac81mjfdc],
.refresh-btn:hover:not(:disabled)[b-gac81mjfdc] {
    background: var(--st-fill-4);
}

.info-btn svg[b-gac81mjfdc],
.refresh-btn svg[b-gac81mjfdc] {
    width: 20px;
    height: 20px;
    color: var(--st-text-subtle);
}

.refresh-btn:disabled[b-gac81mjfdc] {
    opacity: 0.5;
    cursor: not-allowed;
}

.refresh-btn:disabled svg[b-gac81mjfdc] {
    animation: spin-b-gac81mjfdc 1s linear infinite;
}

/* Faceted Filters Row */
.insurance-faceted-row[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 10px 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
}

/* The filters row is not listed here: this later rule used to bring it back to 1000, under the pills row. */
.insurance-faceted-row.has-open-dropdown[b-gac81mjfdc] {
    z-index: 1000 !important;
}

.btn-clear-filters[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-clear-filters.spaced[b-gac81mjfdc] {
    margin-top: 8px;
}

.btn-clear-filters:hover[b-gac81mjfdc] {
    background: rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.6);
    color: var(--st-text-strong);
}

/* Filter Dropdown */
.filter-dropdown-wrapper[b-gac81mjfdc] {
    position: relative;
    z-index: 5;
}

.filter-dropdown-wrapper.is-open[b-gac81mjfdc] {
    z-index: 1000 !important;
}

.filter-dropdown-menu[b-gac81mjfdc] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    min-width: 180px;
    width: max-content;
    max-width: 260px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 1050 !important;
}

.filter-dropdown-menu.right-aligned[b-gac81mjfdc] {
    left: auto;
    right: 0;
}

.filter-dropdown-menu.checkbox-menu[b-gac81mjfdc] {
    min-width: 220px;
    max-width: 280px;
}

.dropdown-item[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-item:hover[b-gac81mjfdc] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.dropdown-item.selected[b-gac81mjfdc] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
    font-weight: 600;
}

.check-icon[b-gac81mjfdc] {
    width: 16px;
    height: 16px;
    color: var(--st-gold-text);
}

.dropdown-menu-header[b-gac81mjfdc] {
    display: flex;
    justify-content: flex-end;
    padding: 4px 6px;
}

.btn-select-all[b-gac81mjfdc] {
    background: transparent;
    border: none;
    color: var(--st-gold-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.btn-select-all:hover[b-gac81mjfdc] {
    background: var(--st-fill-4);
    text-decoration: underline;
}

.dropdown-divider[b-gac81mjfdc] {
    height: 1px;
    background: var(--st-fill-4);
    margin: 4px 0;
}

.dropdown-checkbox-list[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 2px;
}

.dropdown-checkbox-item[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--st-text);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.dropdown-checkbox-item:hover[b-gac81mjfdc] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.dropdown-checkbox-item input[type="checkbox"][b-gac81mjfdc] {
    accent-color: #ffd700;
    cursor: pointer;
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label[b-gac81mjfdc] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.checkbox-count[b-gac81mjfdc] {
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.dropdown-overlay[b-gac81mjfdc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 990;
    background: transparent;
    cursor: default;
}

/* Sub-filters (Pills with Integrated Dropdowns) */
.inbox-subfilters[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 2px 0;
    scroll-padding: 0 16px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    z-index: 20;
}

.inbox-subfilters[b-gac81mjfdc]::-webkit-scrollbar {
    display: none;
}

.filter-pill-dropdown-wrapper[b-gac81mjfdc] {
    position: relative;
    display: inline-flex;
}

.filter-pill-dropdown-wrapper.is-open[b-gac81mjfdc] {
    z-index: 1001 !important;
}

.filter-pill[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-pill:hover[b-gac81mjfdc] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-strong);
}

.filter-pill.active[b-gac81mjfdc] {
    background: linear-gradient(135deg, #FFC107 0%, #e5b900 100%);
    border-color: #FFC107;
    color: #050B1A;
    font-weight: 600;
}

.pill-chevron[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--st-text-subtle);
}

.pill-chevron.rotate[b-gac81mjfdc] {
    transform: rotate(180deg);
}

.filter-pill:hover .pill-chevron[b-gac81mjfdc] {
    color: var(--st-text-strong);
}

.filter-pill.active .pill-chevron[b-gac81mjfdc] {
    color: #050B1A;
}

.filter-pill-menu[b-gac81mjfdc] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease-out;
    z-index: 1050 !important;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 4px 14px rgba(0, 0, 0, 0.35);
    min-width: 190px;
    width: max-content;
    max-width: 280px;
    max-height: 280px;
    overflow-y: auto;
}

.filter-pill-menu.is-positioned[b-gac81mjfdc] {
    opacity: 1;
    pointer-events: auto;
}

.dropdown-empty[b-gac81mjfdc] {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.asset-card-wrapper[b-gac81mjfdc] {
    display: block;
    width: 100%;
}

.dropdown-menu-title[b-gac81mjfdc] {
    padding: 6px 10px 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--st-gold-text);
}

.pill-menu-item-content[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.pill-menu-item-name[b-gac81mjfdc] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-menu-item-count[b-gac81mjfdc] {
    font-size: 11.5px;
    opacity: 0.7;
    font-weight: 600;
    flex-shrink: 0;
}

@keyframes fadeIn-b-gac81mjfdc {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Content */
.insurance-content-scroll[b-gac81mjfdc] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Loading & Empty States */
.insurance-loading-state[b-gac81mjfdc],
.insurance-empty-state[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    gap: 12px;
    color: var(--st-text-muted);
    text-align: center;
}

.loading-spinner[b-gac81mjfdc] {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 193, 7, 0.2);
    border-top-color: #FFC107;
    border-radius: 50%;
    animation: spin-b-gac81mjfdc 0.8s linear infinite;
}

.empty-icon[b-gac81mjfdc] {
    font-size: 32px;
}

.insurance-empty-state h4[b-gac81mjfdc] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 14px;
}

.insurance-empty-state p[b-gac81mjfdc] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.btn-request-access[b-gac81mjfdc] {
    margin-top: 8px;
    padding: 9px 18px;
    border: none;
    border-radius: 20px;
    background: #fe00e4;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.btn-request-access:hover[b-gac81mjfdc] {
    filter: brightness(1.1);
}

.btn-request-access:active[b-gac81mjfdc] {
    transform: scale(0.97);
}

/* ======================================================== */
/* PANTALLA 1 & 2: TARJETAS DE GRUPO/DIMENSION (BLANCAS)    */
/* ======================================================== */
.insurance-groups-list[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.insurance-group-card[b-gac81mjfdc] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.insurance-group-card:hover[b-gac81mjfdc] {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.group-card-header[b-gac81mjfdc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.group-identity[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.group-building-icon[b-gac81mjfdc] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    color: var(--st-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.group-name-block[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.group-title[b-gac81mjfdc] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-subline[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.group-subtitle-tag[b-gac81mjfdc] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.group-reason-tag[b-gac81mjfdc] {
    font-size: 11.5px;
    color: #ea580c;
    font-weight: 600;
}

.group-total-badge[b-gac81mjfdc],
.group-claims-badge[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    padding: 4px 14px;
    border-radius: 9999px;
    flex-shrink: 0;
}

.total-number[b-gac81mjfdc] {
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1;
}

.total-label[b-gac81mjfdc] {
    font-size: 9px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Semaphore Badges - High Contrast on White */
.group-semaphore-row[b-gac81mjfdc] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.semaphore-badge[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
}

.semaphore-badge .dot[b-gac81mjfdc] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.semaphore-badge.ontime[b-gac81mjfdc] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
}
.semaphore-badge.ontime .dot.green[b-gac81mjfdc] {
    background: #10b981;
}

.semaphore-badge.atrisk[b-gac81mjfdc] {
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}
.semaphore-badge.atrisk .dot.yellow[b-gac81mjfdc] {
    background: #f59e0b;
}

.semaphore-badge.delayed[b-gac81mjfdc] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}
.semaphore-badge.delayed .dot.red[b-gac81mjfdc] {
    background: #ef4444;
}

.semaphore-badge.clickable[b-gac81mjfdc] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.semaphore-badge.clickable:hover[b-gac81mjfdc] {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Direct Claims Mode */
.direct-claims-header[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 10px 8px;
}

.direct-claims-count[b-gac81mjfdc] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
}

.assets-grid.grouped[b-gac81mjfdc] {
    padding-bottom: 8px;
}

.assets-grid.grouped:last-child[b-gac81mjfdc] {
    padding-bottom: 80px;
}

.direct-claims-list[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================================ */
/* PANTALLA 2: TARJETAS DE SINIESTROS (BLANCAS - 1 SOLA COLUMNA) */
/* ============================================================ */
.insurance-claims-list[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.claims-header-summary[b-gac81mjfdc] {
    padding: 0 4px;
}

.claims-count-text[b-gac81mjfdc] {
    font-size: 12px;
    color: var(--st-text);
}

.claims-count-text strong[b-gac81mjfdc] {
    color: var(--st-gold-text);
    font-weight: 700;
}

/* Grouping Sections in Screen 2 */
.claim-group-section[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.claim-group-header[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 16px;
    background: var(--st-fill-4);
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--st-text-strong);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.claim-group-header-left[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.claim-group-header-icon[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-gold-text);
    flex-shrink: 0;
}

.claim-group-header-title[b-gac81mjfdc] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.claim-group-header-dimension[b-gac81mjfdc] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.claim-group-header-badge[b-gac81mjfdc] {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    border: 1px solid var(--st-gold-border);
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.claim-group-cards[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.insurance-claim-card[b-gac81mjfdc] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.insurance-claim-card:hover[b-gac81mjfdc] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.claim-card-main[b-gac81mjfdc] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.claim-thumbnail-box[b-gac81mjfdc] {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    flex-shrink: 0;
}

.claim-thumb-img[b-gac81mjfdc] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.claim-thumb-fallback[b-gac81mjfdc] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.claim-details-col[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.claim-title-line[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    flex-wrap: wrap;
}

.claim-plate[b-gac81mjfdc],
.plate-badge[b-gac81mjfdc] {
    font-weight: 800;
    color: var(--st-text-strong);
    background: var(--st-warning-bg-strong);
    border: 1px solid var(--st-warning-border);
    border-radius: 9999px;
    padding: 2px 10px;
    font-size: 11px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
}

.claim-brand-model[b-gac81mjfdc] {
    font-weight: 700;
    color: var(--st-text-strong);
    font-size: 12.5px;
}

.claim-number[b-gac81mjfdc],
.claim-number-badge[b-gac81mjfdc] {
    color: var(--st-info-fg);
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    border-radius: 9999px;
    padding: 2px 10px;
    font-weight: 700;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
}

.bullet[b-gac81mjfdc] {
    color: var(--st-text-secondary);
    font-size: 10px;
}

.claim-workshop-line[b-gac81mjfdc] {
    font-size: 11.5px;
    color: var(--st-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.workshop-name strong[b-gac81mjfdc] {
    color: var(--st-text-strong);
    font-weight: 700;
}

.advisor-name[b-gac81mjfdc] {
    color: var(--st-text-subtle);
}

.pipe[b-gac81mjfdc] {
    color: var(--st-text-secondary);
}

.claim-phase-line[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    flex-wrap: wrap;
}

.phase-pill[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(216, 27, 132, 0.08);
    border: 1px solid rgba(216, 27, 132, 0.25);
    color: #d81b84;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.promised-date[b-gac81mjfdc] {
    color: var(--st-text-secondary);
}

.promised-date strong[b-gac81mjfdc] {
    color: var(--st-text-strong);
    font-weight: 700;
}

/* Claim Footer */
.claim-card-footer[b-gac81mjfdc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--st-border-subtle);
}

.sla-status-pill[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.sla-status-pill .sla-dot[b-gac81mjfdc] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.sla-status-pill.ontime[b-gac81mjfdc] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
}
.sla-status-pill.ontime .sla-dot[b-gac81mjfdc] { background: #10b981; }

.sla-status-pill.atrisk[b-gac81mjfdc] {
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}
.sla-status-pill.atrisk .sla-dot[b-gac81mjfdc] { background: #f59e0b; }

.sla-status-pill.delayed[b-gac81mjfdc] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}
.sla-status-pill.delayed .sla-dot[b-gac81mjfdc] { background: #ef4444; }

.btn-claim-detail[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #d81b84;
    border: none;
    color: #ffffff;
    border-radius: 9999px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(216, 27, 132, 0.3);
}

.btn-claim-detail:hover[b-gac81mjfdc] {
    background: #eb5bb6;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(216, 27, 132, 0.45);
}

@keyframes spin-b-gac81mjfdc {
    to { transform: rotate(360deg); }
}

.assets-grid[b-gac81mjfdc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    justify-items: center;
    padding: 4px 12px 80px 12px;
}

/* The place over its vehicles: its name, where it is and, for an adjuster, whose. */
.vehicle-store-header[b-gac81mjfdc] {
    margin: 10px 12px 6px;
}

/* A place that is not the store picked: pressing it lists only that store (and the map can open its 3D). */
.vehicle-store-header.is-actionable[b-gac81mjfdc] {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.vehicle-store-header.is-actionable:hover[b-gac81mjfdc],
.vehicle-store-header.is-actionable:focus-visible[b-gac81mjfdc] {
    background: var(--st-fill-5);
    border-color: var(--st-gold-border);
    outline: none;
}

.claim-group-header-enter[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--st-text-subtle);
}

.vehicle-store-header.is-actionable:hover .claim-group-header-enter[b-gac81mjfdc] {
    color: var(--st-gold-text);
}

/* Access request flow: solid surface over the whole glass panel (same 30px radius as the panel). */
.request-access-surface[b-gac81mjfdc] {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 30px;
    background: var(--st-surface);
    color: var(--st-text);
}

/* Adjuster insurer selector: the place and look of a workshop's partner selector, edged in gold as the main context.
   It is the one that gives way when the row runs short («Todas las aseguradoras» is long): its name ends in an
   ellipsis and the buttons after it stay inside the panel. */
.insurer-filter-wrapper[b-gac81mjfdc] {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 210px;
}

.insurer-filter-btn[b-gac81mjfdc] {
    max-width: 100%;
    flex-shrink: 1;
    box-shadow: inset 0 0 0 1px var(--st-gold-text);
}

.insurer-shield[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--st-gold-text);
}

.insurer-fixed[b-gac81mjfdc] {
    cursor: default;
}

.insurer-menu[b-gac81mjfdc] {
    min-width: 260px;
    max-width: 320px;
}

.insurer-menu-search[b-gac81mjfdc] {
    margin: 2px 2px 4px 2px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    font-size: 13px;
    outline: none;
}

.insurer-menu-foot[b-gac81mjfdc] {
    padding: 8px 10px 4px 10px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--st-text-muted);
}

.btn-back-cards[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
    padding: 6px 10px 6px 6px;
    border: none;
    border-radius: 20px;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.btn-back-cards svg[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
}

.btn-back-cards:hover[b-gac81mjfdc] {
    background: var(--st-fill-5);
}

.direct-claims-header .direct-claims-count[b-gac81mjfdc] {
    flex: 1;
    min-width: 0;
}

/* «Ver vehículos ›»: what an adjuster's card opens. */
.group-card-go[b-gac81mjfdc] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-brand);
    white-space: nowrap;
}

.group-card-go svg[b-gac81mjfdc] {
    width: 12px;
    height: 12px;
}

.insurer-option-text[b-gac81mjfdc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.insurer-option-hint[b-gac81mjfdc] {
    font-size: 11px;
    font-weight: 400;
    color: var(--st-text-muted);
    white-space: normal;
}

/* Shared places without vehicles: listed last and muted, still selectable to see that they share */
.filter-pill-menu .dropdown-item.is-empty:not(.selected)[b-gac81mjfdc] {
    opacity: 0.6;
}

.insurance-group-card.is-empty[b-gac81mjfdc] {
    opacity: 0.7;
}

.insurance-group-card.is-empty .group-semaphore-row[b-gac81mjfdc] {
    display: none;
}

.group-novehicles-tag[b-gac81mjfdc] {
    font-size: 11.5px;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.dropdown-item.insurer-option.is-empty[b-gac81mjfdc] {
    cursor: default;
    opacity: 0.75;
}

.dropdown-item.insurer-option.is-empty:hover[b-gac81mjfdc] {
    background: transparent;
    color: var(--st-text-subtle);
}

.adjuster-insurer-reasons[b-gac81mjfdc] {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--st-text-subtle);
    text-align: left;
}

/* ─── Adjuster claims (Proascol, T-14) ─────────────────────────────────────────────────────────
   The «Perito» filter sits after the insurers in the row, edged like a pill; the claim strip under each vehicle card is AdjusterClaimBar (its own styles).
   Nothing here renders for an insurer or a brand. */
.perito-filter-wrapper[b-gac81mjfdc] {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 190px;
}

.perito-filter-btn[b-gac81mjfdc] {
    max-width: 100%;
    flex-shrink: 1;
}

.perito-filter-btn.active[b-gac81mjfdc] {
    box-shadow: inset 0 0 0 1px var(--st-text-brand);
}

.perito-icon[b-gac81mjfdc] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--st-text-brand);
}

.perito-menu[b-gac81mjfdc] {
    min-width: 220px;
    max-width: 300px;
}

.adjuster-claim-notice[b-gac81mjfdc] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 8px 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-warning-bg-strong);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-fg);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.adjuster-claim-notice svg[b-gac81mjfdc] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.perito-filter-btn:focus-visible[b-gac81mjfdc] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormAnswerView.razor.rz.scp.css */
/* Respuesta de solo lectura (Resumen del asistente, línea de tiempo, bandeja de autorización).
   Superficie clara por defecto; `Dark` (clase dfa-dark en cada raíz) pasa todo a claro-sobre-oscuro:
   Resumen = tarjeta #1e293b/#0f172a, línea de tiempo dark-gold = #232f42. Contrastes verificados (WCAG AA):
   claro  -> etiqueta #475569 / valor #1e293b / ok #166534 / falla #b91c1c / na #475569
   oscuro -> etiqueta #cbd5e1 / valor #ffffff / ok #4ade80 / falla #fca5a5 / na #cbd5e1 */

.dfa-item[b-rh9qrrlem2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.dfa-label[b-rh9qrrlem2] {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--st-text-secondary);
    overflow-wrap: anywhere;
}

.dfa-value[b-rh9qrrlem2] {
    font-size: 14px;
    line-height: 1.45;
    color: var(--st-text);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.dfa-no-answer[b-rh9qrrlem2] {
    font-size: 13px;
    font-style: italic;
    color: var(--st-text-subtle);
}

/* ---- Sí / No: píldora neutra con ícono (ni verde ni rojo: "No" no es "malo") ---- */
.dfa-yesno[b-rh9qrrlem2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.dfa-yesno-yes[b-rh9qrrlem2] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border: 1px solid #fbcfe8;
}

.dfa-yesno-no[b-rh9qrrlem2] {
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border-strong);
}

/* ---- Selección: una chip por opción elegida ---- */
.dfa-chips[b-rh9qrrlem2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dfa-chip[b-rh9qrrlem2] {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #fbcfe8;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* ---- Checklist ---- */
.dfa-checklist[b-rh9qrrlem2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.dfa-checklist-item[b-rh9qrrlem2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
}

.dfa-checklist-item-fail[b-rh9qrrlem2] { background: #fef2f2; border-color: #fecaca; }

.dfa-checklist-head[b-rh9qrrlem2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
}

.dfa-checklist-label[b-rh9qrrlem2] {
    flex: 1 1 140px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--st-text);
    overflow-wrap: anywhere;
}

.dfa-checklist-status[b-rh9qrrlem2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.dfa-checklist-status-ok[b-rh9qrrlem2] {
    color: var(--st-success-text);
    background: #dcfce7;
}

.dfa-checklist-status-na[b-rh9qrrlem2] {
    color: var(--st-text-secondary);
    background: var(--st-surface-strong);
}

.dfa-checklist-status-fail[b-rh9qrrlem2] {
    color: var(--st-danger-text);
    background: var(--st-danger-bg-strong);
}

.dfa-checklist-description[b-rh9qrrlem2] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--st-text-body);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ---- Evidencia: miniaturas (abren el visor) y firma ---- */
.dfa-evidence-grid[b-rh9qrrlem2] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dfa-evidence-thumb-button[b-rh9qrrlem2],
.dfa-evidence-thumb-link[b-rh9qrrlem2],
.dfa-evidence-thumb-static[b-rh9qrrlem2] {
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    line-height: 0;
}

.dfa-evidence-thumb-button[b-rh9qrrlem2],
.dfa-evidence-thumb-link[b-rh9qrrlem2] {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}

.dfa-evidence-thumb[b-rh9qrrlem2] {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface-strong);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dfa-evidence-thumb-button:hover .dfa-evidence-thumb[b-rh9qrrlem2],
.dfa-evidence-thumb-link:hover .dfa-evidence-thumb[b-rh9qrrlem2] {
    border-color: #d81b84;
    box-shadow: 0 2px 8px rgba(216, 27, 132, 0.25);
}

.dfa-evidence-thumb-button:focus-visible[b-rh9qrrlem2],
.dfa-evidence-thumb-link:focus-visible[b-rh9qrrlem2] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

/* Foto que aún no se envió y de la que no hay vista previa / foto que no se puede resolver: un recuadro con el motivo, nunca una imagen rota. */
.dfa-evidence-missing[b-rh9qrrlem2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px dashed var(--st-border-stronger);
    border-radius: 10px;
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.dfa-signature[b-rh9qrrlem2] {
    width: 100%;
    max-width: 280px;
    max-height: 140px;
    object-fit: contain;
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    background: var(--st-surface);
}

/* ================= superficie oscura ================= */
.dfa-dark .dfa-label[b-rh9qrrlem2] {
    color: #cbd5e1;
}

.dfa-dark .dfa-value[b-rh9qrrlem2] {
    color: #ffffff;
}

.dfa-dark .dfa-no-answer[b-rh9qrrlem2] {
    color: #aab4c3;
}

.dfa-dark .dfa-yesno-yes[b-rh9qrrlem2] {
    background: rgba(244, 114, 182, 0.18);
    border-color: rgba(244, 114, 182, 0.45);
    color: #fbcfe8;
}

.dfa-dark .dfa-yesno-no[b-rh9qrrlem2] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #e2e8f0;
}

.dfa-dark .dfa-chip[b-rh9qrrlem2] {
    background: rgba(244, 114, 182, 0.16);
    border-color: rgba(244, 114, 182, 0.45);
    color: #fbcfe8;
}

.dfa-dark .dfa-checklist-item[b-rh9qrrlem2] {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.dfa-dark .dfa-checklist-item-fail[b-rh9qrrlem2] { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.35); }

.dfa-dark .dfa-checklist-label[b-rh9qrrlem2] {
    color: #ffffff;
}

.dfa-dark .dfa-checklist-description[b-rh9qrrlem2] {
    color: #e2e8f0;
}

.dfa-dark .dfa-checklist-status-ok[b-rh9qrrlem2] {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.16);
}

.dfa-dark .dfa-checklist-status-na[b-rh9qrrlem2] {
    color: #cbd5e1;
    background: rgba(203, 213, 225, 0.16);
}

.dfa-dark .dfa-checklist-status-fail[b-rh9qrrlem2] {
    color: #fca5a5;
    background: rgba(252, 165, 165, 0.16);
}

.dfa-dark .dfa-evidence-thumb[b-rh9qrrlem2] {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.dfa-dark .dfa-evidence-thumb-button:focus-visible[b-rh9qrrlem2],
.dfa-dark .dfa-evidence-thumb-link:focus-visible[b-rh9qrrlem2] {
    box-shadow: 0 0 0 2px #1e293b, 0 0 0 4px #f472b6;
}

.dfa-dark .dfa-evidence-missing[b-rh9qrrlem2] {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.dfa-dark .dfa-signature[b-rh9qrrlem2] {
    border-color: rgba(255, 255, 255, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .dfa-evidence-thumb[b-rh9qrrlem2] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dfa-checklist-item[b-rh9qrrlem2],
    .dfa-yesno[b-rh9qrrlem2],
    .dfa-chip[b-rh9qrrlem2],
    .dfa-checklist-status[b-rh9qrrlem2] {
        border: 1px solid CanvasText;
    }
}

/* Impresión: ninguna pieza se parte (la pregunta viaja con su respuesta; un ítem del checklist y la grilla de fotos van enteros); un texto
   largo sólo se parte dejando al menos tres líneas de cada lado. Un checklist SÍ puede continuar en la página siguiente, entre sus ítems. */
@media print {
    .dfa-label[b-rh9qrrlem2] {
        break-after: avoid;
    }

    .dfa-value[b-rh9qrrlem2] {
        orphans: 3;
        widows: 3;
    }

    .dfa-checklist-item[b-rh9qrrlem2] {
        break-inside: avoid;
    }

    .dfa-evidence-grid[b-rh9qrrlem2] {
        break-inside: avoid;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormChecklistField.razor.rz.scp.css */
/* Checklist de calidad: un punto por tarjeta con OK / No aplica / Falla, detalle de la falla (descripción + fotos) y, si el
   campo tiene error, el punto que lo causa marcado. Tokens --dff-* de .dff-renderer. Táctil: botones de estado >= 44 px,
   X de las fotos con 44 px de área. Contraste AA: ok #166534/#dcfce7 · na #334155/#e2e8f0 · falla #b91c1c/#fee2e2. */

.dcl-checklist[b-40lw11dcy9] {
    --dcl-hit: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* ---- avance ---- */
.dcl-progress[b-40lw11dcy9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dcl-progress-text[b-40lw11dcy9] {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--dff-control-ink, #475569);
}

.dcl-progress-bar[b-40lw11dcy9] {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--dff-option-hover, #e2e8f0);
}

.dcl-progress-fill[b-40lw11dcy9] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--dff-accent, #d81b84);
    transition: width 0.25s ease;
}

/* ---- un punto ---- */
.dcl-item[b-40lw11dcy9] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px 12px;
    border: 1px solid var(--dff-border-soft, #e2e8f0);
    border-radius: 10px;
    background: var(--dff-surface-2, #f8fafc);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dcl-item-fail[b-40lw11dcy9] { border-color: var(--dff-danger-edge, #fecaca); background: var(--dff-error-surface, #fffafa); }

/* El campo tiene error y ESTE punto es de los que faltan. */
.dcl-item-needs[b-40lw11dcy9] {
    border-color: var(--dff-danger-edge, #fecaca);
    background: var(--dff-danger-soft, #fef2f2);
}

.dcl-item-label[b-40lw11dcy9] {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dff-ink, #1e293b);
    overflow-wrap: anywhere;
}

.dcl-item-hint[b-40lw11dcy9] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dff-danger-ink, #b91c1c);
}

/* ---- OK / No aplica / Falla ---- */
.dcl-status[b-40lw11dcy9] {
    display: flex;
    gap: 6px;
}

.dcl-status-btn[b-40lw11dcy9] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--dff-control-h, 40px);
    padding: 0 8px;
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 8px;
    color: var(--dff-control-ink, #475569);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dcl-btn-icon[b-40lw11dcy9] {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* "No aplica" es la etiqueta más larga: un poco más de ancho para que no parta en dos líneas a 360 px. */
.dcl-status-na[b-40lw11dcy9] {
    flex: 1.3;
}

.dcl-status-btn:hover:not(:disabled):not(.dcl-status-selected)[b-40lw11dcy9] {
    background: var(--dff-chip-bg, #f1f5f9);
    border-color: var(--dff-control-ink, #475569);
    color: var(--dff-ink, #1e293b);
}

.dcl-status-btn:disabled[b-40lw11dcy9] {
    cursor: not-allowed;
    opacity: 0.55;
}

.dcl-status-btn:focus-visible[b-40lw11dcy9] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dcl-status-ok.dcl-status-selected[b-40lw11dcy9] {
    background: #dcfce7;
    border-color: #16a34a;
    color: #166534;
    font-weight: 700;
}

.dcl-status-na.dcl-status-selected[b-40lw11dcy9] {
    background: var(--dff-option-hover, #e2e8f0);
    border-color: var(--dff-muted, #64748b);
    color: var(--dff-body-ink, #334155);
    font-weight: 700;
}

.dcl-status-fail.dcl-status-selected[b-40lw11dcy9] {
    background: #fee2e2;
    border-color: #dc2626;
    color: #b91c1c;
    font-weight: 700;
}

/* ---- detalle de la falla ---- */
.dcl-fail-details[b-40lw11dcy9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--dff-border-medium, #cbd5e1);
}

.dcl-fail-field[b-40lw11dcy9] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dcl-fail-label[b-40lw11dcy9] {
    font-size: 12px;
    font-weight: 700;
    color: var(--dff-control-ink, #475569);
}

.dcl-description[b-40lw11dcy9] {
    box-sizing: border-box;
    width: 100%;
    min-height: 76px;
    padding: 8px 12px;
    font-size: var(--dff-input-fs, 14px);
    line-height: 1.45;
    color: var(--dff-ink, #1e293b);
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcl-description:focus-visible[b-40lw11dcy9] {
    outline: 2px solid transparent;
    border-color: var(--dff-accent, #d81b84);
    box-shadow: 0 0 0 1px var(--dff-accent, #d81b84), 0 0 0 4px rgba(216, 27, 132, 0.2);
}

.dcl-item-needs .dcl-description[b-40lw11dcy9] {
    border-color: var(--dff-danger, #dc2626);
}

.dcl-counter[b-40lw11dcy9] {
    align-self: flex-end;
    font-size: 11px;
    font-weight: 600;
    color: var(--dff-muted, #64748b);
}

.dcl-evidence[b-40lw11dcy9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcl-evidence-row[b-40lw11dcy9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.dcl-evidence-upload-btn[b-40lw11dcy9] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--dff-control-h, 40px);
    padding: 0 14px;
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 8px;
    color: var(--dff-label, #334d6e);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dcl-evidence-upload-btn:hover:not(.dcl-upload-disabled)[b-40lw11dcy9] {
    background: var(--dff-accent-soft, #fdf2f8);
    border-color: var(--dff-accent, #d81b84);
    color: var(--dff-accent-ink, #9d174d);
}

/* B4: el input real (dentro del label) recibe el foco del teclado; el anillo se pinta en el label. */
.dcl-evidence-upload-btn:focus-within[b-40lw11dcy9] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dcl-evidence-upload-btn.dcl-upload-disabled[b-40lw11dcy9] {
    background: var(--dff-chip-bg, #f1f5f9);
    border-color: var(--dff-border-medium, #cbd5e1);
    color: var(--dff-muted, #64748b);
    cursor: not-allowed;
}

/* ::deep: el <input> lo pinta InputFile (otro ámbito de CSS aislado). Oculto con clip: sigue enfocable. */
.dcl-evidence-upload-btn[b-40lw11dcy9]  .dcl-evidence-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.dcl-evidence-list[b-40lw11dcy9] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dcl-evidence-thumb[b-40lw11dcy9] {
    position: relative;
    width: 60px;
    height: 60px;
}

.dcl-evidence-thumb img[b-40lw11dcy9],
.dcl-evidence-blank[b-40lw11dcy9] {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid var(--dff-border-medium, #cbd5e1);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.dcl-evidence-thumb img[b-40lw11dcy9] {
    object-fit: cover;
}

.dcl-evidence-blank[b-40lw11dcy9] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dff-chip-bg, #f1f5f9);
    color: var(--dff-muted, #64748b);
}

.dcl-evidence-remove[b-40lw11dcy9] {
    position: absolute;
    top: calc(var(--dcl-hit) / -2);
    right: calc(var(--dcl-hit) / -2);
    display: grid;
    place-items: center;
    width: var(--dcl-hit);
    height: var(--dcl-hit);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dcl-evidence-remove-dot[b-40lw11dcy9] {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.28);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dcl-evidence-remove:hover .dcl-evidence-remove-dot[b-40lw11dcy9] {
    background: #b91c1c;
}

.dcl-evidence-remove:focus-visible[b-40lw11dcy9] {
    outline: 2px solid transparent;
}

.dcl-evidence-remove:focus-visible .dcl-evidence-remove-dot[b-40lw11dcy9] {
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

@media (max-width: 480px), (pointer: coarse) {
    .dcl-checklist[b-40lw11dcy9] {
        --dcl-hit: 44px;
    }

    .dcl-evidence-list[b-40lw11dcy9] {
        gap: 24px;
    }

    /* tres botones de estado en ~296 px: el ícono se queda, el texto se achica un poco */
    .dcl-status-btn[b-40lw11dcy9] {
        gap: 4px;
        padding: 0 4px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcl-progress-fill[b-40lw11dcy9],
    .dcl-item[b-40lw11dcy9],
    .dcl-status-btn[b-40lw11dcy9],
    .dcl-description[b-40lw11dcy9],
    .dcl-evidence-upload-btn[b-40lw11dcy9],
    .dcl-evidence-remove-dot[b-40lw11dcy9] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dcl-status-selected[b-40lw11dcy9] {
        background: Highlight;
        border-color: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }

    .dcl-item[b-40lw11dcy9],
    .dcl-evidence-upload-btn[b-40lw11dcy9],
    .dcl-evidence-thumb img[b-40lw11dcy9],
    .dcl-evidence-blank[b-40lw11dcy9] {
        border-color: CanvasText;
    }

    .dcl-progress-fill[b-40lw11dcy9] {
        forced-color-adjust: none;
        background: Highlight;
    }

    .dcl-evidence-remove-dot[b-40lw11dcy9] {
        forced-color-adjust: none;
        background: ButtonText;
        color: ButtonFace;
        border-color: ButtonFace;
    }
}

/* Vista previa del editor: por qué no se puede adjuntar evidencia a un ítem con falla. */
.dcl-preview-note[b-40lw11dcy9] {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dff-muted, #64748b);
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormChoiceField.razor.rz.scp.css */
/* Selección única / múltiple: chips, select nativo, lista con búsqueda. Misma paleta que los inputs del campo (tokens --dff-* de
   .dff-renderer): antes usaba #F7F9FC/#E4E9F2, otra familia que el resto del formulario, con borde de 1.3:1.
   Táctil: chips y filas >= 44 px; texto de entradas a 16 px (sin zoom de iOS). */

/* ---- sin opciones: un aviso, no un selector vacío ---- */
.dcf-empty[b-w90omwu4r3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px dashed var(--dff-border, #7c8ba1);
    border-radius: 10px;
    background: var(--dff-surface-2, var(--st-surface-muted));
}

.dcf-empty-text[b-w90omwu4r3],
.dcf-empty-required[b-w90omwu4r3] {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--st-text-secondary);
}

.dcf-empty-required[b-w90omwu4r3] {
    font-weight: 700;
    color: var(--dff-danger-ink, var(--st-danger-text));
}

/* ---- chips ---- */
.dcf-chips[b-w90omwu4r3] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dcf-chip[b-w90omwu4r3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--dff-control-h, 40px);
    padding: 0 16px;
    background: var(--st-surface);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 999px;
    color: var(--dff-label, var(--st-text-brand));
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcf-chip:hover:not(:disabled):not(.dcf-chip-selected)[b-w90omwu4r3] {
    background: var(--dff-surface-2, var(--st-surface-muted));
    border-color: var(--st-border-strong);
}

.dcf-chip:disabled[b-w90omwu4r3] {
    cursor: not-allowed;
    opacity: 0.55;
}

.dcf-chip-selected[b-w90omwu4r3] {
    background: var(--dff-accent, #d81b84);
    border-color: var(--dff-accent, #d81b84);
    color: var(--st-text-strong);
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.28);
}

.dcf-chip-check[b-w90omwu4r3] {
    flex-shrink: 0;
}

.dcf-chip:focus-visible[b-w90omwu4r3],
.dcf-clear:focus-visible[b-w90omwu4r3] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

/* Quitar la selección (una única opcional) */
.dcf-clear[b-w90omwu4r3] {
    align-self: flex-start;
    min-height: var(--dff-control-h, 36px);
    margin-top: 2px;
    padding: 0 6px;
    background: none;
    border: 0;
    border-radius: 8px;
    color: var(--st-accent-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.dcf-clear:hover[b-w90omwu4r3] {
    color: var(--st-accent-text);
}

/* ---- select nativo ---- */
.dcf-select[b-w90omwu4r3] {
    box-sizing: border-box;
    width: 100%;
    min-height: var(--dff-control-h, 40px);
    padding: 6px 12px;
    font-size: var(--dff-input-fs, 14px);
    color: var(--dff-ink, var(--st-text));
    background: var(--st-surface);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: var(--dff-radius, 8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcf-select:focus-visible[b-w90omwu4r3],
.dcf-search:focus-visible[b-w90omwu4r3] {
    outline: 2px solid transparent;
    border-color: var(--dff-accent, #d81b84);
    box-shadow: 0 0 0 1px var(--dff-accent, #d81b84), 0 0 0 4px rgba(216, 27, 132, 0.2);
}

/* ---- lista con búsqueda (selección múltiple) ---- */
.dcf-searchable[b-w90omwu4r3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcf-search[b-w90omwu4r3] {
    box-sizing: border-box;
    width: 100%;
    min-height: var(--dff-control-h, 40px);
    padding: 6px 12px;
    font-size: var(--dff-input-fs, 14px);
    color: var(--dff-ink, var(--st-text));
    background: var(--st-surface);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: var(--dff-radius, 8px);
}

.dcf-search[b-w90omwu4r3]::placeholder {
    color: var(--st-text-subtle);
    opacity: 1;
}

.dcf-list[b-w90omwu4r3] {
    scrollbar-width: thin;
    scrollbar-color: var(--dff-scroll-thumb, #94a3b8) var(--dff-scroll-track, #f1f5f9); /* el app.css pinta las barras para fondo oscuro (#172232): acá la lista es clara */
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 220px;
    overflow-y: auto;
    padding: 2px;
    border: 1px solid var(--dff-border-soft, var(--st-border));
    border-radius: 10px;
    background: var(--dff-surface-2, var(--st-surface-muted));
}

.dcf-list-item[b-w90omwu4r3] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--dff-control-h, 40px);
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--dff-ink, var(--st-text));
    cursor: pointer;
}

.dcf-list-item:hover[b-w90omwu4r3] {
    background: var(--st-surface-strong);
}

.dcf-list-item input[type=checkbox][b-w90omwu4r3] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--dff-accent, #d81b84);
    cursor: pointer;
}

.dcf-list-item input[type=checkbox]:focus-visible[b-w90omwu4r3] {
    outline: 2px solid var(--dff-accent, #d81b84);
    outline-offset: 2px;
}

/* FF-P5a: buscador sobre los chips (mismo estilo que el de la lista) y aviso cuando no queda ninguno */
.dcf-chips-search[b-w90omwu4r3] {
    margin-bottom: 8px;
}

.dcf-no-results[b-w90omwu4r3] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-secondary);
}

.dcf-truncated[b-w90omwu4r3] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--dff-muted, var(--st-text-subtle));
}

@media (prefers-reduced-motion: reduce) {
    .dcf-chip[b-w90omwu4r3],
    .dcf-select[b-w90omwu4r3] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dcf-chip-selected[b-w90omwu4r3] {
        background: Highlight;
        border-color: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormCombobox.razor.rz.scp.css */
/* Combobox de selección única con búsqueda (más de 12 opciones). Tokens --dff-* de .dff-renderer. La lista se despliega
   bajo el campo (position:absolute dentro del .dcb relativo) y scrollea por dentro; el texto es de 16 px en táctil. */

.dcb[b-r4177jdhy2] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.dcb-control[b-r4177jdhy2] {
    position: relative;
    display: flex;
    align-items: center;
}

.dcb-input[b-r4177jdhy2] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: var(--dff-control-h, 40px);
    padding: 8px 64px 8px 12px; /* lugar para limpiar + chevron */
    font-size: var(--dff-input-fs, 14px);
    color: var(--dff-ink, #1e293b);
    text-overflow: ellipsis;
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: var(--dff-radius, 8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcb-input[b-r4177jdhy2]::placeholder {
    color: var(--dff-muted, #64748b);
    opacity: 1;
}

.dcb-input:focus-visible[b-r4177jdhy2] {
    outline: 2px solid transparent;
    border-color: var(--dff-accent, #d81b84);
    box-shadow: 0 0 0 1px var(--dff-accent, #d81b84), 0 0 0 4px rgba(216, 27, 132, 0.2);
}

.dcb-input:disabled[b-r4177jdhy2] {
    background: var(--dff-chip-bg, #f1f5f9);
    color: var(--dff-control-ink, #475569);
    cursor: not-allowed;
}

.dcb-control.is-invalid .dcb-input[b-r4177jdhy2] {
    border-color: var(--dff-danger, #dc2626);
}

.dcb-chevron[b-r4177jdhy2] {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    color: var(--dff-control-ink, #475569);
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.dcb-control.is-open .dcb-chevron[b-r4177jdhy2] {
    transform: translateY(-50%) rotate(180deg);
}

.dcb-clear[b-r4177jdhy2] {
    position: absolute;
    top: 50%;
    right: 36px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dff-control-ink, #475569);
    cursor: pointer;
    transform: translateY(-50%);
}

.dcb-clear:hover[b-r4177jdhy2] {
    background: var(--dff-option-hover, #e2e8f0);
    color: var(--dff-ink, #1e293b);
}

.dcb-clear:focus-visible[b-r4177jdhy2] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dcb-list[b-r4177jdhy2] {
    scrollbar-width: thin;
    scrollbar-color: var(--dff-scroll-thumb, #94a3b8) var(--dff-scroll-track, #f1f5f9); /* el app.css pinta las barras para fondo oscuro (#172232): acá la lista es clara */
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: 240px;
    margin: 0;
    padding: 4px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 10px;
    background: var(--dff-input-bg, #ffffff);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    overscroll-behavior: contain;
}

.dcb-option[b-r4177jdhy2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--dff-control-h, 40px);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--dff-ink, #1e293b);
    cursor: pointer;
}

.dcb-option-text[b-r4177jdhy2] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dcb-option.is-active[b-r4177jdhy2] {
    background: var(--dff-option-hover, #e2e8f0);
}

.dcb-option.is-selected[b-r4177jdhy2] {
    background: var(--dff-accent-soft, #fdf2f8);
    color: var(--dff-accent-ink-strong, #831843);
    font-weight: 700;
}

.dcb-option.is-selected.is-active[b-r4177jdhy2] {
    background: var(--dff-accent-soft-2, #fce7f3);
}

.dcb-option-check[b-r4177jdhy2] {
    flex-shrink: 0;
    color: var(--dff-accent, #d81b84);
}

.dcb-empty[b-r4177jdhy2] {
    padding: 12px 10px;
    font-size: 13px;
    color: var(--dff-control-ink, #475569);
}

/* Región en vivo ("12 resultado(s)"): solo para lectores de pantalla. */
.dcb-live[b-r4177jdhy2] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Táctil: el botón de limpiar alcanza los 44 px (el campo mide 44 px de alto). */
@media (max-width: 480px), (pointer: coarse) {
    .dcb-clear[b-r4177jdhy2] {
        right: 30px;
        width: 44px;
        height: 44px;
    }

    .dcb-input[b-r4177jdhy2] {
        padding-right: 84px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcb-input[b-r4177jdhy2],
    .dcb-chevron[b-r4177jdhy2] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dcb-option.is-active[b-r4177jdhy2],
    .dcb-option.is-selected[b-r4177jdhy2] {
        background: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormDecorativeView.razor.rz.scp.css */
/* Visuales (Zona, Título, Descripción, Separador) — formulario de llenado (claro) y vista de lectura (claro | oscuro).
   Cada visual se viste con la presentación REAL de su control (cierre del sprint, T2): data-tone / data-size / data-align /
   data-style traen el tono, el nivel del título, la alineación y el estilo del separador; el marcado nunca cambia con ellos, solo
   los custom properties (--dff-tone*, --dff-title-size). Tokens: Navy #1f2f45, Magenta #d81b84, Gold #dea301 (systime-design).

   Contraste (WCAG AA, medido en las pruebas de contrato de este archivo): en cada tono, la tinta del texto sobre el fondo suave
   da >= 4.5:1 y el acento (ícono, barra, punto) sobre ese fondo >= 3:1 (componente de interfaz). Claro: tabla de abajo.
   Oscuro (Resumen del asistente #1e293b/#0f172a, línea de tiempo dark-gold #232f42): fondos suaves SÓLIDOS (un tinte oscuro del
   tono) para que el contraste sea medible, tinta clara y acento claro. */

/* ================= tonos, superficie clara: acento + tinte suave + borde + tinta del texto sobre el tinte ================= */
.dff-zone-band[data-tone="neutral"][b-1zc2a500tr], .dff-title-wrap[data-tone="neutral"][b-1zc2a500tr], .dff-description[data-tone="neutral"][b-1zc2a500tr], .dff-separator[data-tone="neutral"][b-1zc2a500tr] {
    --dff-tone: #475569; --dff-tone-soft: #f1f5f9; --dff-tone-edge: #cbd5e1; --dff-tone-ink: #1e293b;
}

.dff-zone-band[data-tone="brand"][b-1zc2a500tr], .dff-title-wrap[data-tone="brand"][b-1zc2a500tr], .dff-description[data-tone="brand"][b-1zc2a500tr], .dff-separator[data-tone="brand"][b-1zc2a500tr] {
    --dff-tone: #d81b84; --dff-tone-soft: #fdf2f8; --dff-tone-edge: #fbcfe8; --dff-tone-ink: #831843;
}

.dff-zone-band[data-tone="info"][b-1zc2a500tr], .dff-title-wrap[data-tone="info"][b-1zc2a500tr], .dff-description[data-tone="info"][b-1zc2a500tr], .dff-separator[data-tone="info"][b-1zc2a500tr] {
    --dff-tone: #2563eb; --dff-tone-soft: #eff6ff; --dff-tone-edge: #bfdbfe; --dff-tone-ink: #1e3a8a;
}

.dff-zone-band[data-tone="success"][b-1zc2a500tr], .dff-title-wrap[data-tone="success"][b-1zc2a500tr], .dff-description[data-tone="success"][b-1zc2a500tr], .dff-separator[data-tone="success"][b-1zc2a500tr] {
    --dff-tone: #15803d; --dff-tone-soft: #f0fdf4; --dff-tone-edge: #bbf7d0; --dff-tone-ink: #14532d;
}

.dff-zone-band[data-tone="warning"][b-1zc2a500tr], .dff-title-wrap[data-tone="warning"][b-1zc2a500tr], .dff-description[data-tone="warning"][b-1zc2a500tr], .dff-separator[data-tone="warning"][b-1zc2a500tr] {
    --dff-tone: #b45309; --dff-tone-soft: #fffbeb; --dff-tone-edge: #fde68a; --dff-tone-ink: #78350f;
}

.dff-zone-band[data-tone="danger"][b-1zc2a500tr], .dff-title-wrap[data-tone="danger"][b-1zc2a500tr], .dff-description[data-tone="danger"][b-1zc2a500tr], .dff-separator[data-tone="danger"][b-1zc2a500tr] {
    --dff-tone: #dc2626; --dff-tone-soft: #fef2f2; --dff-tone-edge: #fecaca; --dff-tone-ink: #7f1d1d;
}

/* ================= tonos, superficie oscura ================= */
.dff-zone-band.dff-deco-dark[data-tone="neutral"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="neutral"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="neutral"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="neutral"][b-1zc2a500tr] {
    --dff-tone: #94a3b8; --dff-tone-soft: #2a3547; --dff-tone-edge: #475569; --dff-tone-ink: #e2e8f0;
}

.dff-zone-band.dff-deco-dark[data-tone="brand"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="brand"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="brand"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="brand"][b-1zc2a500tr] {
    --dff-tone: #f472b6; --dff-tone-soft: #3a1730; --dff-tone-edge: #7a2c5e; --dff-tone-ink: #fbcfe8;
}

.dff-zone-band.dff-deco-dark[data-tone="info"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="info"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="info"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="info"][b-1zc2a500tr] {
    --dff-tone: #60a5fa; --dff-tone-soft: #172a4d; --dff-tone-edge: #2f4f86; --dff-tone-ink: #dbeafe;
}

.dff-zone-band.dff-deco-dark[data-tone="success"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="success"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="success"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="success"][b-1zc2a500tr] {
    --dff-tone: #4ade80; --dff-tone-soft: #12372a; --dff-tone-edge: #25684d; --dff-tone-ink: #dcfce7;
}

.dff-zone-band.dff-deco-dark[data-tone="warning"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="warning"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="warning"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="warning"][b-1zc2a500tr] {
    --dff-tone: #fbbf24; --dff-tone-soft: #3f2d0c; --dff-tone-edge: #7a5a17; --dff-tone-ink: #fef3c7;
}

.dff-zone-band.dff-deco-dark[data-tone="danger"][b-1zc2a500tr], .dff-title-wrap.dff-deco-dark[data-tone="danger"][b-1zc2a500tr], .dff-description.dff-deco-dark[data-tone="danger"][b-1zc2a500tr], .dff-separator.dff-deco-dark[data-tone="danger"][b-1zc2a500tr] {
    --dff-tone: #f87171; --dff-tone-soft: #451a1f; --dff-tone-edge: #86353d; --dff-tone-ink: #fee2e2;
}

/* ================= tamaños del Título (data-size): jerarquía estricta Grande > Mediano > Pequeño, todos bajo la Zona ================= */
.dff-title-wrap[b-1zc2a500tr] { --dff-title-size: 15px; }
.dff-title-wrap[data-size="large"][b-1zc2a500tr] { --dff-title-size: 17px; }
.dff-title-wrap[data-size="medium"][b-1zc2a500tr] { --dff-title-size: 15px; }
.dff-title-wrap[data-size="small"][b-1zc2a500tr] { --dff-title-size: 13px; }

/* ================= Zona: cabecera de sección (banda con acento a la izquierda) ================= */
.dff-zone-band[b-1zc2a500tr] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 8px 0 2px;
    padding: 12px 14px 12px 20px;
    border: 1px solid var(--dff-tone-edge);
    border-radius: 12px;
    background: linear-gradient(90deg, var(--dff-tone-soft) 0%, #ffffff 92%);
    overflow: hidden;
}

/* La Zona como CABECERA de su tarjeta: la tarjeta pone el margen, el radio y el borde exterior. */
.dff-zone-band.dff-zone-in-card[b-1zc2a500tr] {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--dff-tone-edge);
    border-radius: 0;
}

.dff-zone-accent[b-1zc2a500tr] {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--dff-tone);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.dff-zone-text[b-1zc2a500tr] {
    min-width: 0;
}

.dff-zone[b-1zc2a500tr] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #1f2f45;
    overflow-wrap: anywhere;
}

.dff-zone-help[b-1zc2a500tr] {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #475569;
    overflow-wrap: anywhere;
}

/* ================= Título: jerarquía propia (menor que la Zona, sin banda): punto o ícono de acento + texto ================= */
.dff-title-wrap[b-1zc2a500tr] {
    margin: 10px 0 0;
    min-width: 0;
}

.dff-title[b-1zc2a500tr] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: var(--dff-title-size);
    font-weight: 700;
    line-height: 1.3;
    color: #1f2f45;
    overflow-wrap: anywhere;
}

/* Grande: se subraya con el acento del tono, para leerse como capítulo dentro de una sección. */
.dff-title-wrap[data-size="large"] .dff-title[b-1zc2a500tr] {
    padding-bottom: 6px;
    border-bottom: 2px solid var(--dff-tone-edge);
}

/* Pequeño: sobrelínea en mayúsculas, de apoyo. */
.dff-title-wrap[data-size="small"] .dff-title[b-1zc2a500tr] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
}

.dff-title-dot[b-1zc2a500tr] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dff-tone);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.dff-title-help[b-1zc2a500tr] {
    margin: 2px 0 0 16px;
    font-size: 12px;
    line-height: 1.4;
    color: #475569;
    overflow-wrap: anywhere;
}

.dff-title-wrap[data-align="center"] .dff-title[b-1zc2a500tr] {
    justify-content: center;
}

.dff-title-wrap[data-align="center"] .dff-title-help[b-1zc2a500tr] {
    margin-left: 0;
    text-align: center;
}

/* ================= Descripción: callout por tono; los saltos de línea del texto se respetan ================= */
.dff-description[b-1zc2a500tr] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--dff-tone-edge);
    border-radius: 10px;
    background: var(--dff-tone-soft);
    font-size: 13px;
    line-height: 1.55;
    color: var(--dff-tone-ink);
    white-space: pre-line;
    overflow-wrap: anywhere;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

/* Neutral: texto corrido, sin caja (a menos que el control elija un ícono, que entonces va en línea). */
.dff-description.dff-description-plain[b-1zc2a500tr] {
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.dff-description-text[b-1zc2a500tr] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.dff-description[data-align="center"][b-1zc2a500tr] {
    justify-content: center;
    text-align: center;
}

.dff-callout-icon[b-1zc2a500tr] {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--dff-tone);
}

/* ================= Separador: línea, línea punteada o solo espacio ================= */
.dff-separator[b-1zc2a500tr] {
    margin: 14px 4px;
    border: 0;
    opacity: 1;
}

/* El tono pinta la línea (mezclado con blanco para que sea un trazo, no una barra); sin color-mix queda el gris de respaldo. */
.dff-separator[data-style="line"][b-1zc2a500tr] {
    border-top: 1px solid #cbd5e1;
    border-top-color: color-mix(in srgb, var(--dff-tone) 45%, #ffffff);
}

.dff-separator[data-style="dashed"][b-1zc2a500tr] {
    border-top: 2px dashed #94a3b8;
    border-top-color: color-mix(in srgb, var(--dff-tone) 70%, #ffffff);
}

.dff-separator[data-style="space"][b-1zc2a500tr] {
    height: 16px;
    margin: 0;
    border: 0;
}

/* ================= ícono de la cabecera (Zona y Título) ================= */
.dff-deco-icon[b-1zc2a500tr] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--dff-tone-soft);
    color: var(--dff-tone);
}

.dff-title .dff-deco-icon[b-1zc2a500tr] {
    width: 24px;
    height: 24px;
}

/* ================= superficie oscura (Resumen del asistente, línea de tiempo dark-gold) ================= */
.dff-zone-band.dff-deco-dark[b-1zc2a500tr] {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(90deg, var(--dff-tone-soft) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.dff-zone-band.dff-zone-in-card.dff-deco-dark[b-1zc2a500tr] {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.dff-deco-dark .dff-zone[b-1zc2a500tr],
.dff-title-wrap.dff-deco-dark .dff-title[b-1zc2a500tr] {
    color: #ffffff;
}

.dff-title-wrap.dff-deco-dark[data-size="small"] .dff-title[b-1zc2a500tr] {
    color: #cbd5e1;
}

.dff-title-wrap.dff-deco-dark[data-size="large"] .dff-title[b-1zc2a500tr] {
    border-bottom-color: var(--dff-tone-edge);
}

.dff-deco-dark .dff-zone-help[b-1zc2a500tr],
.dff-title-wrap.dff-deco-dark .dff-title-help[b-1zc2a500tr] {
    color: #cbd5e1;
}

.dff-description.dff-deco-dark.dff-description-plain[b-1zc2a500tr] {
    background: transparent;
    color: #e2e8f0;
}

.dff-separator.dff-deco-dark[data-style="line"][b-1zc2a500tr] {
    border-top-color: rgba(255, 255, 255, 0.22);
    border-top-color: color-mix(in srgb, var(--dff-tone) 55%, transparent);
}

.dff-separator.dff-deco-dark[data-style="dashed"][b-1zc2a500tr] {
    border-top-color: rgba(255, 255, 255, 0.4);
    border-top-color: color-mix(in srgb, var(--dff-tone) 75%, transparent);
}

/* ================= alto contraste ================= */
@media (forced-colors: active) {
    .dff-zone-band[b-1zc2a500tr],
    .dff-description[b-1zc2a500tr] {
        border-color: CanvasText;
    }

    .dff-zone-accent[b-1zc2a500tr] {
        background: CanvasText;
    }

    .dff-separator[b-1zc2a500tr] {
        border-top-color: CanvasText;
    }

    .dff-callout-icon[b-1zc2a500tr],
    .dff-deco-icon[b-1zc2a500tr] {
        color: CanvasText;
    }
}

/* ================= impresión: saltos de página razonables ================= */
@media print {
    /* La cabecera de una Zona y los títulos viajan con lo que les sigue: nunca quedan huérfanos al final de una hoja. */
    .dff-zone-band[b-1zc2a500tr] {
        break-after: avoid;
    }

    .dff-title-wrap[b-1zc2a500tr] {
        break-after: avoid;
    }

    /* Un recuadro de descripción se imprime entero. */
    .dff-description[b-1zc2a500tr] {
        break-inside: avoid;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormEvidenceNotice.razor.rz.scp.css */
/* Aviso de evidencia (B1): lo que una selección dejó fuera (tamaño, lectura, tope). Ámbar informativo, nunca rojo:
   la foto no se agregó pero nada se rompió. Texto #7a5200 sobre el tinte ámbar: 6.3:1. */
.dfn-live[b-72xuqknqqt] {
    min-width: 0;
}

.dfn-notice[b-72xuqknqqt] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(222, 163, 1, 0.5);
    background: #fff8e1;
    color: #7a5200;
    font-size: 12px;
    line-height: 1.4;
}

.dfn-icon[b-72xuqknqqt] {
    flex-shrink: 0;
    margin-top: 1px;
}

.dfn-lines[b-72xuqknqqt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfn-line[b-72xuqknqqt] {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (forced-colors: active) {
    .dfn-notice[b-72xuqknqqt] {
        border-color: CanvasText;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormFieldView.razor.rz.scp.css */
/* Un campo del formulario dinámico: tarjeta con etiqueta, ayuda, control y error. Los tokens (--dff-*) vienen de .dff-renderer.
   Contraste (WCAG AA, medidos): etiqueta #334d6e 8.7:1 · ayuda #64748b 4.8:1 · borde de los controles #7c8ba1 3.5:1 (>= 3:1 de
   componente de UI) · error #dc2626 4.8:1 (el #ef4444 anterior daba 3.8:1) · marca "Obligatorio" #be185d sobre rosa 5.5:1.
   Foco: contorno transparente (se ve en modo de alto contraste/forced-colors) + anillo sólido de 2 px; nunca un resplandor al 20 %. */

.dff-field[b-7s128bjv4t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px 16px;
    background: var(--dff-surface, #ffffff);
    border: 1px solid var(--dff-border-soft, #e2e8f0);
    border-radius: var(--dff-radius-lg, 12px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dff-field:hover[b-7s128bjv4t] {
    border-color: var(--dff-border-medium, #cbd5e1);
}

.dff-field:focus-within[b-7s128bjv4t] {
    border-color: var(--dff-accent-edge, #fbcfe8);
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.08);
}

.dff-field-error[b-7s128bjv4t],
.dff-field-error:hover[b-7s128bjv4t],
.dff-field-error:focus-within[b-7s128bjv4t] {
    border-color: var(--dff-danger-edge, #fecaca);
    background: var(--dff-error-surface, #fffafa);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06);
}

/* ---- etiqueta, marca de obligatorio, ayuda ---- */
.dff-label[b-7s128bjv4t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-height: 20px; /* con y sin la marca "Obligatorio" la línea mide lo mismo: los controles de un par quedan alineados */
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dff-label, #334d6e);
    overflow-wrap: anywhere;
}

.dff-required-mark[b-7s128bjv4t] {
    display: inline-block;
    padding: 0 8px;
    border: 1px solid var(--dff-accent-edge, #fbcfe8);
    border-radius: 999px;
    background: var(--dff-accent-soft, #fdf2f8);
    color: var(--dff-required-ink, #be185d);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.dff-help[b-7s128bjv4t] {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dff-muted, #64748b);
    overflow-wrap: anywhere;
}

/* ---- texto, número, fecha ---- */
.dff-text[b-7s128bjv4t],
.dff-number[b-7s128bjv4t],
.dff-date[b-7s128bjv4t] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: var(--dff-control-h, 40px);
    padding: 8px 12px;
    font-size: var(--dff-input-fs, 14px);
    line-height: 1.35;
    color: var(--dff-ink, #1e293b);
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: var(--dff-radius, 8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dff-text[b-7s128bjv4t]::placeholder,
.dff-number[b-7s128bjv4t]::placeholder {
    color: var(--dff-muted, #64748b);
    opacity: 1;
}

.dff-textarea[b-7s128bjv4t] {
    min-height: 96px;
    resize: vertical;
    line-height: 1.5;
}

.dff-text-uppercase[b-7s128bjv4t] {
    text-transform: uppercase;
}

.dff-text:hover:not(:disabled)[b-7s128bjv4t],
.dff-number:hover:not(:disabled)[b-7s128bjv4t],
.dff-date:hover:not(:disabled)[b-7s128bjv4t] {
    border-color: var(--dff-control-ink, #475569);
}

.dff-text:focus-visible[b-7s128bjv4t],
.dff-number:focus-visible[b-7s128bjv4t],
.dff-date:focus-visible[b-7s128bjv4t] {
    outline: 2px solid transparent;
    border-color: var(--dff-accent, #d81b84);
    box-shadow: 0 0 0 1px var(--dff-accent, #d81b84), 0 0 0 4px rgba(216, 27, 132, 0.2);
}

.dff-text:disabled[b-7s128bjv4t],
.dff-number:disabled[b-7s128bjv4t],
.dff-date:disabled[b-7s128bjv4t] {
    background: var(--dff-chip-bg, #f1f5f9);
    color: var(--dff-control-ink, #475569);
    cursor: not-allowed;
}

.dff-field-error .dff-text[b-7s128bjv4t],
.dff-field-error .dff-number[b-7s128bjv4t],
.dff-field-error .dff-date[b-7s128bjv4t] {
    border-color: var(--dff-danger, #dc2626);
}

.dff-field-error .dff-text:focus-visible[b-7s128bjv4t],
.dff-field-error .dff-number:focus-visible[b-7s128bjv4t],
.dff-field-error .dff-date:focus-visible[b-7s128bjv4t] {
    border-color: var(--dff-danger, #dc2626);
    box-shadow: 0 0 0 1px var(--dff-danger, #dc2626), 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.dff-date-row[b-7s128bjv4t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dff-date-row .dff-date[b-7s128bjv4t] {
    flex: 1 1 150px;
    width: auto;
}

.dff-date-clear[b-7s128bjv4t] {
    min-height: var(--dff-control-h, 40px);
    padding: 0 14px;
    background: transparent;
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: var(--dff-radius, 8px);
    color: var(--dff-control-ink, #475569);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dff-date-clear:hover[b-7s128bjv4t] {
    background: var(--dff-accent-soft, #fdf2f8);
    border-color: var(--dff-accent, #d81b84);
    color: var(--dff-accent-ink, #9d174d);
}

.dff-date-clear:focus-visible[b-7s128bjv4t] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

/* ---- número con unidad: el sufijo acompaña al input (km, mm, %…) y se lee con él ---- */
.dff-number-row[b-7s128bjv4t] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dff-number-row .dff-number[b-7s128bjv4t] {
    flex: 1 1 auto;
    width: auto;
}

.dff-unit[b-7s128bjv4t] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: var(--dff-control-h, 40px);
    padding: 0 12px;
    border: 1px solid var(--dff-border-soft, #e2e8f0);
    border-radius: var(--dff-radius, 8px);
    background: var(--dff-surface-2, #f8fafc);
    color: var(--dff-body-ink, #334155);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* ---- Sí / No (botones) ---- */
.dff-yesno[b-7s128bjv4t] {
    display: flex;
    gap: 8px;
    width: 100%;
}

.dff-yesno-option[b-7s128bjv4t] {
    flex: 1;
    min-height: var(--dff-control-h, 40px);
    padding: 0 16px;
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 999px;
    color: var(--dff-label, #334d6e);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dff-yesno-option:hover:not(:disabled):not(.dff-yesno-selected)[b-7s128bjv4t] {
    background: var(--dff-surface-2, #f8fafc);
    border-color: var(--dff-control-ink, #475569);
}

.dff-yesno-selected[b-7s128bjv4t] {
    background: var(--dff-accent, #d81b84);
    border-color: var(--dff-accent, #d81b84);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.28);
}

.dff-yesno-option:disabled[b-7s128bjv4t] {
    cursor: not-allowed;
    opacity: 0.55;
}

.dff-yesno-option:focus-visible[b-7s128bjv4t] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dff-field-error .dff-yesno-option:not(.dff-yesno-selected)[b-7s128bjv4t] {
    border-color: var(--dff-danger, #dc2626);
}

/* ---- interruptor ---- */
.dff-switch-label[b-7s128bjv4t] {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: var(--dff-control-h, 40px);
    cursor: pointer;
}

/* El checkbox real cubre TODO el interruptor (área de toque completa) y sigue enfocable; solo se oculta visualmente. */
.dff-switch-input[b-7s128bjv4t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.dff-switch-slider[b-7s128bjv4t] {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    border-radius: 28px;
    background-color: var(--dff-switch-off, #7c8ba1); /* apagado: 3.5:1 contra la tarjeta blanca (el #cbd5e1 anterior daba 1.5:1) */
    transition: background-color 0.2s ease;
}

.dff-switch-slider[b-7s128bjv4t]::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    content: "";
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
    transition: transform 0.2s ease;
}

.dff-switch-input:checked + .dff-switch-slider[b-7s128bjv4t] {
    background-color: var(--dff-accent, #d81b84);
}

.dff-switch-input:checked + .dff-switch-slider[b-7s128bjv4t]::before {
    transform: translateX(20px);
}

.dff-switch-input:focus-visible + .dff-switch-slider[b-7s128bjv4t] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dff-switch-input:disabled + .dff-switch-slider[b-7s128bjv4t] {
    opacity: 0.55;
}

.dff-switch-input:disabled[b-7s128bjv4t] {
    cursor: not-allowed;
}

/* ---- error ---- */
.dff-error[b-7s128bjv4t] {
    --dff-error-color: var(--dff-danger, #dc2626);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dff-error-color);
    overflow-wrap: anywhere;
}

.dff-error[b-7s128bjv4t]::before {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    content: "!";
    border-radius: 50%;
    background-color: var(--dff-error-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .dff-field[b-7s128bjv4t],
    .dff-text[b-7s128bjv4t],
    .dff-number[b-7s128bjv4t],
    .dff-date[b-7s128bjv4t],
    .dff-date-clear[b-7s128bjv4t],
    .dff-yesno-option[b-7s128bjv4t],
    .dff-switch-slider[b-7s128bjv4t],
    .dff-switch-slider[b-7s128bjv4t]::before {
        transition: none;
    }
}

/* Alto contraste (forced-colors): los estados que dependían del color de fondo se marcan con colores del sistema. */
@media (forced-colors: active) {
    .dff-yesno-selected[b-7s128bjv4t] {
        background: Highlight;
        border-color: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }

    .dff-switch-slider[b-7s128bjv4t] {
        forced-color-adjust: none;
        background-color: ButtonText;
    }

    .dff-switch-input:checked + .dff-switch-slider[b-7s128bjv4t] {
        background-color: Highlight;
    }

    .dff-error[b-7s128bjv4t]::before {
        background-color: CanvasText;
        color: Canvas;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormFillRenderer.razor.rz.scp.css */
/* Renderer del formulario dinámico (llenado y lectura). Es el CONTENEDOR del formulario y el dueño de sus tokens: los
   componentes hijos (campo, chips, firma…) los leen con var(--dff-*) — los custom properties se heredan por el DOM aunque cada
   componente tenga su propio CSS aislado — así la paleta cambia en un solo lugar.

   Pares (REQ-DEF-12): dos controles cortos comparten fila cuando el CONTENEDOR da para dos columnas de >= 140 px
   (140 + 16 + 140 = 296 px). Se decide por el ancho del renderer, no del viewport: el asistente vive a ~414 px dentro del
   DynamicPanel en escritorio y a pantalla completa (360-412 px) en el teléfono, y una media query por viewport apilaba
   también los 360/412 px (contradecía MAUI y la vista previa del editor, que sí los parean). El 480 px del pulido anterior
   se reemplazó por esta regla. */
.dff-renderer[b-y5eoz3ppuo] {
    /* superficie clara (la tarjeta blanca del asistente) */
    --dff-accent: #d81b84;
    --dff-accent-strong: #b3156d;
    --dff-accent-soft: #fdf2f8;
    --dff-accent-edge: #fbcfe8;
    --dff-ink: #1e293b;
    --dff-label: #334d6e;
    --dff-muted: #64748b;
    --dff-border: #7c8ba1;
    --dff-border-soft: #e2e8f0;
    --dff-surface: #ffffff;
    --dff-surface-2: #f8fafc;
    --dff-danger: #dc2626;
    --dff-danger-ink: #b91c1c;
    --dff-danger-soft: #fef2f2;
    --dff-danger-edge: #fecaca;
    --dff-ok-ink: #166534;
    --dff-ok-soft: #dcfce7;
    --dff-ring: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
    --dff-radius: 8px;
    --dff-radius-lg: 12px;
    --dff-control-h: 40px;
    --dff-input-fs: 14px;

    container-type: inline-size;
    container-name: dff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Asistente de entrega (FollowTheme): la paleta sigue el tema de la app. light-dark() lee el color-scheme de theme.css; la rama clara
   repite los valores de arriba, así el modo claro no cambia. Sin soporte del navegador queda la paleta clara. */
@supports (color: light-dark(#000, #fff)) {
    .dff-renderer-themed[b-y5eoz3ppuo] {
        --dff-accent-soft: light-dark(#fdf2f8, rgba(216, 27, 132, 0.15));
        --dff-accent-edge: light-dark(#fbcfe8, rgba(216, 27, 132, 0.45));
        --dff-ink: light-dark(#1e293b, var(--st-text));
        --dff-label: light-dark(#334d6e, var(--st-text-secondary));
        --dff-muted: light-dark(#64748b, #94a3b8);
        --dff-border: light-dark(#7c8ba1, var(--st-border-stronger));
        --dff-border-soft: light-dark(#e2e8f0, var(--st-border));
        --dff-surface: light-dark(#ffffff, var(--st-surface-raised));
        --dff-surface-2: light-dark(#f8fafc, var(--st-surface-muted));
        --dff-danger: light-dark(#dc2626, #f87171);
        --dff-danger-ink: light-dark(#b91c1c, #fca5a5);
        --dff-danger-soft: light-dark(#fef2f2, rgba(239, 68, 68, 0.12));
        --dff-danger-edge: light-dark(#fecaca, rgba(239, 68, 68, 0.45));
        --dff-ok-ink: light-dark(#166534, #86efac);
        --dff-ok-soft: light-dark(#dcfce7, rgba(16, 185, 129, 0.15));
        --dff-ring: 0 0 0 2px light-dark(#ffffff, var(--st-surface-raised)), 0 0 0 4px #d81b84;
        --dff-input-bg: light-dark(#ffffff, var(--st-surface));
        --dff-chip-bg: light-dark(#f1f5f9, var(--st-surface-strong));
        --dff-option-hover: light-dark(#e2e8f0, var(--st-surface-strong));
        --dff-accent-soft-2: light-dark(#fce7f3, rgba(216, 27, 132, 0.25));
        --dff-error-surface: light-dark(#fffafa, rgba(239, 68, 68, 0.06));
        --dff-switch-off: light-dark(#7c8ba1, #64748b);
        --dff-control-ink: light-dark(#475569, var(--st-text-secondary));
        --dff-body-ink: light-dark(#334155, var(--st-text-secondary));
        --dff-required-ink: light-dark(#be185d, #f9a8d4);
        --dff-accent-ink: light-dark(#9d174d, #f9a8d4);
        --dff-accent-ink-strong: light-dark(#831843, #fbcfe8);
        --dff-border-hover: light-dark(#475569, #94a3b8);
        --dff-border-medium: light-dark(#cbd5e1, var(--st-border-strong));
        --dff-scroll-thumb: light-dark(#94a3b8, #64748b);
        --dff-scroll-track: light-dark(#f1f5f9, transparent);
    }
}

/* Táctil o teléfono: objetivos de >= 44 px y entradas a 16 px (iOS hace zoom al enfocar un campo de menos de 16 px). */
@media (max-width: 480px), (pointer: coarse) {
    .dff-renderer[b-y5eoz3ppuo] {
        --dff-control-h: 44px;
        --dff-input-fs: 16px;
    }
}

.dff-row[b-y5eoz3ppuo] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

/* Secciones (cierre del sprint, T1): una Zona abre una tarjeta cuyo encabezado es la propia Zona; lo anterior a la primera Zona es un
   bloque plano sin tarjeta. La tarjeta pone su borde, su radio y un cuerpo de color suave para que cada campo (blanco) resalte. */
.dff-section[b-y5eoz3ppuo] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dff-section-plain[b-y5eoz3ppuo] {
    gap: 16px;
}

.dff-section-card[b-y5eoz3ppuo] {
    border: 1px solid var(--dff-border-soft);
    border-radius: var(--dff-radius-lg);
    background: var(--dff-surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.dff-section-body[b-y5eoz3ppuo] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px;
    background: var(--dff-surface-2);
}

/* Un par de dos controles cortos: apilado por defecto, en dos columnas cuando el contenedor alcanza. */
@container dff (min-width: 296px) {
    .dff-row-paired[b-y5eoz3ppuo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Dentro de una tarjeta el cuerpo resta su relleno al ancho de las columnas: en un contenedor angosto el relleno baja de 14 a 10 px y
   los pares esperan a que las dos columnas sigan midiendo >= 140 px (140 + 16 + 140 + 2 x 10 + 2 = 318 px). */
@container dff (max-width: 360px) {
    .dff-section-body[b-y5eoz3ppuo] {
        padding: 10px;
    }
}

@container dff (max-width: 317px) {
    .dff-section-card .dff-row-paired[b-y5eoz3ppuo] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Un par en un contenedor angosto (~300-360 px, el teléfono): menos relleno lateral para que la fecha y los botones Sí/No entren
   sin recortarse (a 153 px por columna la fecha "dd/mm/aaaa" + su ícono se cortaba). */
@container dff (min-width: 296px) and (max-width: 360px) {
    .dff-row-paired[b-y5eoz3ppuo]  .dff-field {
        padding: 12px 10px;
    }

    .dff-row-paired[b-y5eoz3ppuo]  .dff-date {
        padding-left: 8px;
        padding-right: 6px;
    }

    .dff-row-paired[b-y5eoz3ppuo]  .dff-yesno {
        gap: 6px;
    }

    .dff-row-paired[b-y5eoz3ppuo]  .dff-yesno-option {
        padding: 0 8px;
    }
}

/* Lectura (resumen, línea de tiempo, bandeja): más compacta que el llenado — son respuestas, no controles. */
.dff-renderer-readonly[b-y5eoz3ppuo] {
    gap: 12px;
}

.dff-renderer-readonly .dff-row[b-y5eoz3ppuo] {
    gap: 12px;
}

.dff-renderer-readonly .dff-section-plain[b-y5eoz3ppuo],
.dff-renderer-readonly .dff-section-body[b-y5eoz3ppuo] {
    gap: 12px;
}

.dff-renderer-readonly .dff-section-body[b-y5eoz3ppuo] {
    padding: 10px 12px;
}

/* Superficie oscura (Resumen del asistente, línea de tiempo dark-gold): la tarjeta se vuelve un velo sobre el fondo oscuro. */
.dff-section-card.dff-section-dark[b-y5eoz3ppuo] {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.dff-section-dark .dff-section-body[b-y5eoz3ppuo] {
    background: transparent;
}

/* Alto contraste: el borde de la tarjeta se ve aunque los colores de fondo se descarten. */
@media (forced-colors: active) {
    .dff-section-card[b-y5eoz3ppuo] {
        border-color: CanvasText;
    }
}

/* Impresión: la tarjeta FLUYE entre páginas (una Zona alta que no cabía en el resto de la página saltaba entera a la siguiente y dejaba
   páginas a medio llenar y una hoja de más); lo que no se parte son las piezas de adentro — pregunta, ítem de checklist, recuadro, foto —
   (reglas en DynamicFormAnswerView y DynamicFormDecorativeView) y cada trozo conserva su marco. Sin sombras ni fondos de color. */
@media print {
    .dff-section-card[b-y5eoz3ppuo] {
        box-shadow: none;
        border-color: #6b7280;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .dff-section-body[b-y5eoz3ppuo] {
        background: #ffffff;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormPhotosField.razor.rz.scp.css */
/* Fotos propias de un control del formulario (y el control host-managed sys.photos). Tokens --dff-* de .dff-renderer.
   Táctil: la X de quitar mide 44 px de área (24 px visibles) y el selector de fotos >= 44 px; las miniaturas se separan lo
   justo para que las áreas de dos "X" vecinas no se pisen. */

.dpf-photos[b-ygvkfhb8zx] {
    --dpf-hit: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.dpf-meta[b-ygvkfhb8zx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
}

.dpf-required[b-ygvkfhb8zx] {
    font-size: 11px;
    font-weight: 600;
    color: var(--dff-accent, #b45309);
}

.dpf-range[b-ygvkfhb8zx] {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--dff-muted, #64748b);
}

.dpf-count[b-ygvkfhb8zx] {
    padding: 1px 10px;
    border-radius: 999px;
    background: var(--dff-chip-bg, #f1f5f9);
    color: var(--dff-control-ink, #475569);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.dpf-count-full[b-ygvkfhb8zx] {
    background: var(--dff-ok-soft, #dcfce7);
    color: var(--dff-ok-ink, #166534);
}

.dpf-thumbs[b-ygvkfhb8zx] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 4px;
}

.dpf-thumb[b-ygvkfhb8zx] {
    position: relative;
    width: 72px;
    height: 72px;
}

.dpf-thumb img[b-ygvkfhb8zx],
.dpf-thumb-blank[b-ygvkfhb8zx] {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid var(--dff-border-medium, #cbd5e1);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.dpf-thumb img[b-ygvkfhb8zx] {
    object-fit: cover;
}

/* Foto sin vista previa (el navegador no pudo achicarla): un recuadro con la cámara, nunca un hueco vacío. */
.dpf-thumb-blank[b-ygvkfhb8zx] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dff-chip-bg, #f1f5f9);
    color: var(--dff-muted, #64748b);
}

/* Quitar: botón de --dpf-hit px centrado en la esquina de la miniatura; solo el punto rojo de 24 px se ve. */
.dpf-remove[b-ygvkfhb8zx] {
    position: absolute;
    top: calc(var(--dpf-hit) / -2);
    right: calc(var(--dpf-hit) / -2);
    display: grid;
    place-items: center;
    width: var(--dpf-hit);
    height: var(--dpf-hit);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dpf-remove-dot[b-ygvkfhb8zx] {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.28);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dpf-remove:hover .dpf-remove-dot[b-ygvkfhb8zx] {
    background: #b91c1c;
}

.dpf-remove:focus-visible[b-ygvkfhb8zx] {
    outline: 2px solid transparent;
}

.dpf-remove:focus-visible .dpf-remove-dot[b-ygvkfhb8zx] {
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

/* ---- selector de fotos ---- */
.dpf-upload-btn[b-ygvkfhb8zx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 8px;
    min-height: var(--dff-control-h, 40px);
    padding: 0 18px;
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 10px;
    background: var(--dff-input-bg, #ffffff);
    color: var(--dff-label, #334d6e);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dpf-upload-icon[b-ygvkfhb8zx] {
    display: inline-flex;
    color: var(--dff-accent, #d81b84);
}

.dpf-upload-btn:hover:not(.dpf-upload-disabled)[b-ygvkfhb8zx] {
    background: var(--dff-accent-soft, #fdf2f8);
    border-color: var(--dff-accent, #d81b84);
    color: var(--dff-accent-ink, #9d174d);
}

/* B4: el input real (dentro del label) es el que recibe el foco del teclado: el anillo se pinta en el label. */
.dpf-upload-btn:focus-within[b-ygvkfhb8zx] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dpf-upload-btn.dpf-upload-disabled[b-ygvkfhb8zx] {
    background: var(--dff-chip-bg, #f1f5f9);
    border-color: var(--dff-border-medium, #cbd5e1);
    color: var(--dff-muted, #64748b);
    cursor: not-allowed;
}

.dpf-upload-btn.dpf-upload-disabled .dpf-upload-icon[b-ygvkfhb8zx] {
    color: var(--dff-muted, #64748b);
}

/* ::deep: el <input> lo pinta el componente InputFile del framework (otro ámbito de CSS aislado).
   Oculto con clip, NO display:none: sigue en el orden de tabulación y Enter/Espacio abren el selector. */
.dpf-upload-btn[b-ygvkfhb8zx]  .dpf-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px), (pointer: coarse) {
    .dpf-photos[b-ygvkfhb8zx] {
        --dpf-hit: 44px;
    }

    .dpf-thumbs[b-ygvkfhb8zx] {
        gap: 24px;
    }

    .dpf-upload-btn[b-ygvkfhb8zx] {
        padding: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dpf-upload-btn[b-ygvkfhb8zx],
    .dpf-remove-dot[b-ygvkfhb8zx] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dpf-upload-btn[b-ygvkfhb8zx],
    .dpf-thumb img[b-ygvkfhb8zx],
    .dpf-thumb-blank[b-ygvkfhb8zx] {
        border-color: CanvasText;
    }

    .dpf-remove-dot[b-ygvkfhb8zx] {
        forced-color-adjust: none;
        background: ButtonText;
        color: ButtonFace;
        border-color: ButtonFace;
    }
}

/* Vista previa del editor: por qué el botón de fotos está deshabilitado (un botón muerto sin explicación parece un error). */
.dpf-preview-note[b-ygvkfhb8zx] {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dff-muted, #64748b);
}
/* /Pages/Home/Components/HandOver/DynamicForm/DynamicFormSignatureField.razor.rz.scp.css */
/* Firma: pad con línea guía, acciones Borrar / Confirmar y vista previa plegada. Tokens --dff-* de .dff-renderer.
   El canvas llena TODA la caja (position:absolute + inset:0): con alto fijo de 160 px + borde de 1 px y box-sizing:border-box
   (Bootstrap) el canvas de 160 px perdía 2 px recortados por overflow:hidden — ahora la caja manda y el canvas la llena. */

.dsf-signature[b-4o7orzq7ii] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.dsf-canvas-wrap[b-4o7orzq7ii] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.dsf-canvas-box[b-4o7orzq7ii] {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 10px;
    background: #ffffff; /* signature ink is dark: the pad stays white in both themes */
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06);
}

.dsf-canvas[b-4o7orzq7ii] {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    touch-action: none;
    cursor: crosshair;
}

.dsf-canvas:focus-visible[b-4o7orzq7ii] {
    outline: 2px solid transparent;
    box-shadow: inset 0 0 0 2px #d81b84;
}

/* Línea guía de la firma: decorativa, no recibe punteros (la firma se dibuja sobre ella). */
.dsf-baseline[b-4o7orzq7ii] {
    position: absolute;
    right: 16px;
    bottom: 40px;
    left: 16px;
    border-bottom: 1.5px dashed #94a3b8;
    pointer-events: none;
}

.dsf-hint[b-4o7orzq7ii] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--dff-muted, #64748b);
}

/* ---- vista previa plegada ---- */
.dsf-preview[b-4o7orzq7ii] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.dsf-preview-image[b-4o7orzq7ii] {
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #ffffff; /* signature ink is dark: the pad stays white in both themes */
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 10px;
}

/* ---- acciones ---- */
.dsf-actions[b-4o7orzq7ii] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dsf-btn[b-4o7orzq7ii] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: flex-start;
    min-height: var(--dff-control-h, 40px);
    padding: 0 16px;
    background: var(--dff-input-bg, #ffffff);
    border: 1px solid var(--dff-border, #7c8ba1);
    border-radius: 10px;
    color: var(--dff-label, #334d6e);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dsf-btn:hover[b-4o7orzq7ii] {
    background: var(--dff-chip-bg, #f1f5f9);
    border-color: var(--dff-control-ink, #475569);
}

.dsf-btn:focus-visible[b-4o7orzq7ii] {
    outline: 2px solid transparent;
    box-shadow: var(--dff-ring, 0 0 0 2px #ffffff, 0 0 0 4px #d81b84);
}

.dsf-redo[b-4o7orzq7ii],
.dsf-keep[b-4o7orzq7ii] {
    border-color: var(--dff-accent, #d81b84);
    color: var(--dff-accent-ink, #9d174d);
}

.dsf-redo:hover[b-4o7orzq7ii],
.dsf-keep:hover[b-4o7orzq7ii] {
    background: var(--dff-accent-soft, #fdf2f8);
    border-color: var(--dff-accent-ink, #9d174d);
}

.dsf-clear[b-4o7orzq7ii] {
    color: #b91c1c;
    border-color: #dc2626;
}

.dsf-clear:hover[b-4o7orzq7ii] {
    background: #fef2f2;
    border-color: #b91c1c;
}

/* Confirmar: la acción principal del pad. */
.dsf-confirm[b-4o7orzq7ii] {
    flex: 1 1 150px;
    background: var(--dff-accent, #d81b84);
    border-color: var(--dff-accent, #d81b84);
    color: #ffffff;
}

.dsf-confirm:hover[b-4o7orzq7ii] {
    background: #c2187a;
    border-color: #c2187a;
}

/* Estado (aria-live): reserva su línea para que "Firma capturada" no empuje el formulario al aparecer. */
.dsf-status[b-4o7orzq7ii] {
    min-height: 18px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--dff-ok-ink, #166534);
}

@media (prefers-reduced-motion: reduce) {
    .dsf-btn[b-4o7orzq7ii] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .dsf-canvas-box[b-4o7orzq7ii],
    .dsf-preview-image[b-4o7orzq7ii] {
        border-color: CanvasText;
    }

    .dsf-baseline[b-4o7orzq7ii] {
        border-bottom-color: GrayText;
    }

    .dsf-confirm[b-4o7orzq7ii] {
        forced-color-adjust: none;
        background: Highlight;
        border-color: Highlight;
        color: HighlightText;
    }
}

/* Vista previa del editor: la firma se dibuja pero no se guarda ni se sube. */
.dsf-preview-note[b-4o7orzq7ii] {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dff-muted, #64748b);
}
/* /Pages/Home/Components/HandOver/DynamicForm/HandOverFormFillSection.razor.rz.scp.css */
/* El formulario dentro de una entrega rápida o un reclamo (T6/E7). Los campos y las tarjetas de sección los pinta el renderer con sus
   propios tokens; acá solo el contenedor y los avisos (el mismo lenguaje que el asistente: ámbar para «no se pudo cargar», rojo para
   «el servidor lo rechazó»). Contraste: #7a5200 sobre #fff8e1 y #b91c1c sobre #fef2f2 superan 4.5:1. */
.hffs-section[b-no7fu2ilg1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    margin-top: 4px;
}

.hffs-fallback[b-no7fu2ilg1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    margin: 8px 0 12px;
    padding: 12px 14px;
    border: 1px solid rgba(222, 163, 1, 0.45);
    border-radius: 10px;
    background: #fff8e1;
    color: #7a5200;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.hffs-fallback-text[b-no7fu2ilg1] {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Por qué no cargó: una línea propia, más marcada que el aviso general. */
.hffs-fallback-reason[b-no7fu2ilg1] {
    font-weight: 700;
}

.hffs-retry[b-no7fu2ilg1] {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #b45309;
    border-radius: 10px;
    background: #ffffff;
    color: #7a5200;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hffs-retry:hover[b-no7fu2ilg1] {
    background: #fff3cd;
}

.hffs-retry:focus-visible[b-no7fu2ilg1] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

.hffs-server-error[b-no7fu2ilg1] {
    padding: 12px 14px;
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.hffs-notices[b-no7fu2ilg1] {
    padding: 10px 12px;
    border: 1px solid rgba(222, 163, 1, 0.45);
    border-radius: 10px;
    background: #fff8e1;
    color: #7a5200;
}

.hffs-notice[b-no7fu2ilg1] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .hffs-retry[b-no7fu2ilg1] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/HandOverFormFullView.razor.rz.scp.css */
/* Vista completa e imprimible del formulario de una entrega (cierre del sprint, T7/E9). Un <dialog> modal nativo: vive en la capa superior
   del navegador, así que no lo atrapan los transform/overflow de la línea de tiempo ni de la bandeja. En pantalla es una hoja blanca
   sobre fondo gris con una barra de acciones; en papel solo queda la hoja — el módulo handoverFormView.js la clona en un iframe y las
   reglas @media print de abajo (y las de las tarjetas de sección, en el renderer) mandan allí.
   Contraste (WCAG AA, fijado en las pruebas de contrato): título #1f2f45 y etiquetas #475569 sobre blanco; botones blancos sobre #1f2f45. */

.hff-dialog[b-6208tfsvas] {
    box-sizing: border-box;
    width: min(860px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #eef2f7;
    color: #1e293b;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.hff-dialog[open][b-6208tfsvas] {
    display: flex;
}

.hff-dialog[b-6208tfsvas]::backdrop {
    background: rgba(15, 23, 42, 0.62);
}

.hff-frame[b-6208tfsvas] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    max-height: calc(100dvh - 32px);
}

.hff-toolbar[b-6208tfsvas] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 14px;
    background: #1f2f45;
    color: #ffffff;
}

.hff-toolbar-title[b-6208tfsvas] {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hff-toolbar-actions[b-6208tfsvas] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hff-btn[b-6208tfsvas] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hff-btn:hover[b-6208tfsvas] {
    background: rgba(255, 255, 255, 0.14);
}

.hff-btn-primary[b-6208tfsvas] {
    border-color: #d81b84;
    background: #d81b84;
}

.hff-btn-primary:hover[b-6208tfsvas] {
    border-color: #eb5bb6;
    background: #b3156d;
}

.hff-btn:focus-visible[b-6208tfsvas] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #1f2f45, 0 0 0 4px #ffffff;
}

.hff-scroll[b-6208tfsvas] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px;
    overflow: auto;
}

/* La hoja: papel blanco de ~A4 con su encabezado. */
.hff-sheet[b-6208tfsvas] {
    box-sizing: border-box;
    max-width: 794px;
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 6px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.hff-header[b-6208tfsvas] {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #1f2f45;
}

.hff-title[b-6208tfsvas] {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2f45;
    overflow-wrap: anywhere;
}

.hff-meta[b-6208tfsvas] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
}

.hff-meta-item[b-6208tfsvas] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hff-meta dt[b-6208tfsvas] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
}

.hff-meta dd[b-6208tfsvas] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    overflow-wrap: anywhere;
}

/* Las miniaturas de evidencia, más grandes que en la tarjeta: aquí se lee el formulario completo, no se hojea. */
.hff-sheet[b-6208tfsvas]  .dfa-evidence-thumb {
    width: 112px;
    height: 112px;
}

.hff-sheet[b-6208tfsvas]  .dfa-signature {
    max-width: 320px;
    max-height: 160px;
}

/* Teléfono: pantalla completa (como el asistente). */
@media (max-width: 767px) {
    .hff-dialog[b-6208tfsvas] {
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .hff-frame[b-6208tfsvas] {
        max-height: none;
        height: 100%;
    }

    .hff-scroll[b-6208tfsvas] {
        padding: 8px;
    }

    .hff-sheet[b-6208tfsvas] {
        padding: 16px;
        border-radius: 0;
    }
}

/* Impresión: blanco y negro, sin sombras ni márgenes de pantalla, con el encabezado pegado a lo que sigue y sin partir las tarjetas.
   (@page lo agrega el módulo en el iframe.) */
@media print {
    .hff-sheet[b-6208tfsvas] {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: #ffffff;
        color: #000000;
        box-shadow: none;
    }

    .hff-header[b-6208tfsvas] {
        break-after: avoid;
        border-bottom-color: #000000;
    }

    .hff-title[b-6208tfsvas] {
        color: #000000;
    }

    .hff-meta-item[b-6208tfsvas] {
        break-inside: avoid;
    }

    .hff-meta dt[b-6208tfsvas],
    .hff-meta dd[b-6208tfsvas] {
        color: #000000;
    }

    .hff-sheet[b-6208tfsvas]  .dfa-evidence-thumb {
        width: 130px;
        height: 130px;
        break-inside: avoid;
    }

    .hff-sheet[b-6208tfsvas]  .dfa-signature {
        break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hff-btn[b-6208tfsvas] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/HandOverFormProjectionPanel.razor.rz.scp.css */
/* Panel de solo lectura (línea de tiempo y bandeja de autorización). Claro por defecto; `Dark` (la línea de tiempo en tema
   dark-gold, superficie #232f42) lo pasa a claro-sobre-oscuro. Las respuestas se pintan solas en ese tema: DynamicFormAnswerView
   y DynamicFormDecorativeView reciben Dark y traen sus propios colores — ya no hace falta alcanzarlas con ::deep desde acá. */
.hop-panel[b-twdf6yg38t] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
}

/* Título + acción «Ver formulario completo» (T7). */
.hop-head[b-twdf6yg38t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

.hop-full-btn[b-twdf6yg38t] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #d81b84;
    border-radius: 999px;
    background: transparent;
    color: #b3156d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hop-full-btn:hover[b-twdf6yg38t] {
    background: var(--st-accent-bg);
}

.hop-full-btn:focus-visible[b-twdf6yg38t] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

.hop-title[b-twdf6yg38t] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--st-text-brand);
    overflow-wrap: anywhere;
}

.hop-title-icon[b-twdf6yg38t] {
    flex-shrink: 0;
    color: #d81b84;
}

.hop-loading[b-twdf6yg38t] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    color: var(--st-text-secondary);
}

.hop-loading[b-twdf6yg38t]::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--st-border);
    border-top-color: #d81b84;
    border-radius: 50%;
    animation: hop-spin-b-twdf6yg38t 0.8s linear infinite;
}

@keyframes hop-spin-b-twdf6yg38t {
    to { transform: rotate(360deg); }
}

.hop-error[b-twdf6yg38t] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hop-error-text[b-twdf6yg38t] {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--st-danger-text);
}

.hop-retry[b-twdf6yg38t] {
    min-height: 40px;
    padding: 0 16px;
    background: transparent;
    border: 1px solid #d81b84;
    border-radius: 10px;
    color: #b3156d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hop-retry:hover[b-twdf6yg38t] {
    background: var(--st-accent-bg);
}

.hop-retry:focus-visible[b-twdf6yg38t] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

/* ---- superficie oscura (dark-gold) ---- */
.hop-dark[b-twdf6yg38t] {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.hop-dark .hop-title[b-twdf6yg38t] {
    color: #ffffff;
}

.hop-dark .hop-title-icon[b-twdf6yg38t] {
    color: #f472b6;
}

.hop-dark .hop-loading[b-twdf6yg38t] {
    color: #cbd5e1;
}

.hop-dark .hop-loading[b-twdf6yg38t]::before {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #f472b6;
}

.hop-dark .hop-error-text[b-twdf6yg38t] {
    color: #fca5a5;
}

.hop-dark .hop-retry[b-twdf6yg38t] {
    color: #dea301;
    border-color: #dea301;
}

.hop-dark .hop-retry:hover[b-twdf6yg38t] {
    background: rgba(222, 163, 1, 0.14);
}

.hop-dark .hop-retry:focus-visible[b-twdf6yg38t] {
    box-shadow: 0 0 0 2px #232f42, 0 0 0 4px #dea301;
}

.hop-dark .hop-full-btn[b-twdf6yg38t] {
    border-color: #f9a8d4;
    color: #f9a8d4;
}

.hop-dark .hop-full-btn:hover[b-twdf6yg38t] {
    background: rgba(244, 114, 182, 0.16);
}

.hop-dark .hop-full-btn:focus-visible[b-twdf6yg38t] {
    box-shadow: 0 0 0 2px #232f42, 0 0 0 4px #f9a8d4;
}

@media (max-width: 480px), (pointer: coarse) {
    .hop-retry[b-twdf6yg38t],
    .hop-full-btn[b-twdf6yg38t] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hop-loading[b-twdf6yg38t]::before {
        animation: none;
    }

    .hop-retry[b-twdf6yg38t],
    .hop-full-btn[b-twdf6yg38t] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/DynamicForm/HandOverFormSummary.razor.rz.scp.css */
/* El Resumen vive en el CenterDialog (tarjeta oscura #1e293b -> #0f172a, ~264 px útiles): esta fila no depende de las clases
   .ho-summary-* del asistente (con CSS aislado solo llegan al elemento raíz) y trae sus propios colores AA sobre oscuro:
   etiqueta #cbd5e1 (9.9:1), valor #ffffff (14.6:1), enlace #f9a8d4 (8.1:1; el #d81b84 de antes daba 2.9:1). */
.hfs-row[b-den6jp6dm9] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 8px 0 4px;
    border-bottom: 1px solid var(--st-border);
}

.hfs-label[b-den6jp6dm9] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.hfs-value[b-den6jp6dm9] {
    min-width: 0;
    max-width: 62%;
    font-size: 13px;
    font-weight: 400;
    text-align: right;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.hfs-toggle[b-den6jp6dm9] {
    flex-basis: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 36px;
    padding: 0 2px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #f9a8d4;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hfs-toggle:hover[b-den6jp6dm9] {
    text-decoration: underline;
}

.hfs-toggle:focus-visible[b-den6jp6dm9] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #1e293b, 0 0 0 4px #f9a8d4;
}

.hfs-chevron[b-den6jp6dm9] {
    transition: transform 0.2s ease;
}

.hfs-chevron.is-open[b-den6jp6dm9] {
    transform: rotate(180deg);
}

/* El diálogo no scrollea: las respuestas largas se acotan y scrollean dentro de su propia región (con el borde visible para que se note).
   El relleno derecho de 8 px deja pasar la barra superpuesta de los navegadores táctiles sin que tape el borde de las tarjetas. */
.hfs-expanded[b-den6jp6dm9] {
    max-height: min(46vh, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 6px 0 4px;
    padding: 4px 8px 8px 2px;
}

/* ::deep va DESPUÉS del elemento con ámbito: `::deep .x .y` compila a `[b-ámbito] .x .y` y exige un ancestro con ámbito (esta regla estaba muerta). */
.hfs-expanded[b-den6jp6dm9]  .dff-row {
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border-subtle);
}

.hfs-expanded[b-den6jp6dm9]  .dff-row:last-child {
    border-bottom: none;
}

@media (max-width: 480px), (pointer: coarse) {
    .hfs-toggle[b-den6jp6dm9] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hfs-chevron[b-den6jp6dm9] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/HandoverBranchTypeField.razor.rz.scp.css */
/* D119 «Al entregar»: the type of the handover, on the white card of the handover screens (light palette).
   The type is said with icon, word and color, never with the color alone: Normal slate, Paralelo blue and
   Dependencia teal, the colors of the process flow editor. */
.ho-branch-type[b-s8bl01rw3k] {
    --hbt-none: #64748b;
    --hbt-none-soft: var(--st-surface-sunken);
    --hbt-none-ink: var(--st-text-body);
    --hbt-parallel: #2563eb;
    --hbt-parallel-soft: var(--st-info-bg-strong);
    --hbt-parallel-ink: var(--st-info-text);
    --hbt-dependency: #0d9488;
    --hbt-dependency-soft: rgba(13, 148, 136, 0.16);
    --hbt-dependency-ink: color-mix(in srgb, #0d9488 55%, var(--st-text-strong));
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.ho-branch-type-label[b-s8bl01rw3k] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

/* The quick handover of the DCB writes its labels in small capitals. */
.ho-branch-type.is-compact[b-s8bl01rw3k] {
    margin-bottom: 10px;
}

.ho-branch-type.is-compact .ho-branch-type-label[b-s8bl01rw3k] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ho-branch-type-row[b-s8bl01rw3k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.is-none[b-s8bl01rw3k] {
    --kind: var(--hbt-none);
    --kind-soft: var(--hbt-none-soft);
    --kind-ink: var(--hbt-none-ink);
}

.is-parallel[b-s8bl01rw3k] {
    --kind: var(--hbt-parallel);
    --kind-soft: var(--hbt-parallel-soft);
    --kind-ink: var(--hbt-parallel-ink);
}

.is-dependency[b-s8bl01rw3k] {
    --kind: var(--hbt-dependency);
    --kind-soft: var(--hbt-dependency-soft);
    --kind-ink: var(--hbt-dependency-ink);
}

/* Optional: «Dependencia | Normal», a segmented control of two options. */
.ho-branch-type-seg[b-s8bl01rw3k] {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
}

.ho-branch-type-option[b-s8bl01rw3k] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ho-branch-type-option:last-child[b-s8bl01rw3k] {
    border-right: 0;
}

.ho-branch-type-option:hover:not(:disabled)[b-s8bl01rw3k] {
    background: var(--st-surface-muted);
}

.ho-branch-type-option[aria-pressed="true"][b-s8bl01rw3k] {
    background: var(--kind-soft);
    color: var(--kind-ink);
    box-shadow: inset 0 -2px 0 var(--kind);
}

.ho-branch-type-option:disabled[b-s8bl01rw3k] {
    cursor: default;
    opacity: 0.6;
}

.ho-branch-type-option:focus-visible[b-s8bl01rw3k] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.ho-branch-type-option[b-s8bl01rw3k]  .ho-branch-type-icon,
.ho-branch-type-chip[b-s8bl01rw3k]  .ho-branch-type-icon {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--kind);
}

/* Required: the type fixed, with a lock. */
.ho-branch-type-chip[b-s8bl01rw3k] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px 0 10px;
    border-radius: 9999px;
    background: var(--kind-soft);
    color: var(--kind-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ho-branch-type-lock[b-s8bl01rw3k] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.ho-branch-type-lock svg[b-s8bl01rw3k] {
    width: 13px;
    height: 13px;
}

.ho-branch-type-note[b-s8bl01rw3k] {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text-subtle);
}

/* D362: «Normal» on a required type, only from the DCB delivery: amber, because it is asked before writing. */
.ho-branch-type-note.is-warning[b-s8bl01rw3k] {
    color: var(--st-warning-text);
}

@media (prefers-reduced-motion: reduce) {
    .ho-branch-type-option[b-s8bl01rw3k] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/HandoverConditionNotices.razor.rz.scp.css */
/* «Ramas condicionales», phase C: the notices of the conditions on the white card of the handover screens (light palette), next to the
   questions (HandoverQuestionsField). The words say it; the color only backs them. */
.ho-condition-notice[b-uw9mf9ozsa] {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    font-size: 13px;
    line-height: 1.4;
}

.ho-condition-notice.is-blocking[b-uw9mf9ozsa] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-weight: 600;
}

.ho-skip-toggle[b-uw9mf9ozsa] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
    cursor: pointer;
}

.ho-skip-toggle.is-compact[b-uw9mf9ozsa] {
    margin-bottom: 10px;
}

.ho-skip-checkbox[b-uw9mf9ozsa] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.ho-skip-text[b-uw9mf9ozsa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ho-skip-label[b-uw9mf9ozsa] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-primary);
}

.ho-skip-hint[b-uw9mf9ozsa] {
    font-size: 12px;
    color: var(--st-text-secondary);
}
/* /Pages/Home/Components/HandOver/HandOverModal.razor.rz.scp.css */
/* ===== Wizard Container — fills its parent (DynamicPanel expanded view) ===== */
/* NOTA: El efecto glassmorphism (fondo oscuro + blur) lo maneja el PADRE (expanded-card-view via :has)
   porque backdrop-filter no funciona dentro de overflow:hidden del contenedor padre.
   Este elemento debe permanecer transparente. */
.wizard-modal-glass[b-ul1pjpvhjd] {
    background: transparent;
    border: none;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    animation: fadeIn-b-ul1pjpvhjd 0.25s ease;
    position: relative;
    overflow: hidden;
    margin: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
}

/* === HUD Mode (3D Workshop Active) === */
/* El panel conserva su apariencia normal (fondo gris + blur del padre).
   Solo ajustamos pointer-events para que los clics pasen al mapa 3D
   fuera de la tarjeta blanca. */
.wizard-modal-glass.in-workshop[b-ul1pjpvhjd] {
    border: none;
}

/* La tarjeta blanca mantiene su estilo normal en modo taller */



/* Header, notices and footer keep their height; only the white card shrinks (and scrolls) when the
   panel is short, e.g. at 150 % zoom on a 1080p screen. */
.wizard-modal-glass > :not(.wizard-white-card)[b-ul1pjpvhjd] {
    flex-shrink: 0;
}

/* ===== Header (Top Bar) ===== */
.wizard-top-bar[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 10px 24px;
    position: relative;
    z-index: 2;
}

.owner-card[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 120px;
    text-align: center;
}

.owner-avatar-wrapper[b-ul1pjpvhjd] {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 4px; /* Space for border */
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.3);
}

.owner-avatar-wrapper.placeholder-style[b-ul1pjpvhjd] {
    background: var(--st-fill-2);
    border: 2px dashed var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
.owner-avatar-wrapper.placeholder-style.filled[b-ul1pjpvhjd] {
    border: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.3);
}

.owner-img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.question-mark[b-ul1pjpvhjd] {
    font-size: 28px;
    font-weight: 700;
    color: var(--st-text-muted);
}

.process-badge[b-ul1pjpvhjd] {
    position: absolute;
    bottom: -4px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: white;
    padding: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-badge img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.owner-info[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}

/* Sólo es tocable cuando HAY otra rama a la que cambiar: un affordance que no lleva a ninguna
   decisión es una promesa vacía. Se marca discreto —el origen ya está elegido, esto es corregir,
   no elegir— pero visible, porque un control invisible no existe. */
.owner-info.clickable[b-ul1pjpvhjd] {
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 8px;
    transition: background-color 120ms ease;
}

.owner-info.clickable:hover[b-ul1pjpvhjd] {
    background-color: var(--st-fill-4);
}

.owner-name[b-ul1pjpvhjd] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display:block;
}

.owner-process[b-ul1pjpvhjd] {
    font-size: 11px;
    color: var(--st-text-strong);
}

.owner-placeholder[b-ul1pjpvhjd] {
    font-size: 11px;
    color: var(--st-text-strong);
    line-height: 1.2;
}

.asset-card-center[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 6px;
    width: 150px;
    height:170px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    z-index: 3;
    position: relative;
    top: -10px;
}

.asset-img[b-ul1pjpvhjd] {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--st-surface-stronger);
}

.asset-plate[b-ul1pjpvhjd] {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.dots-decoration[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 2px;
}

.dots-decoration .dot[b-ul1pjpvhjd] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-surface-stronger);
}

.dots-decoration .dot.active[b-ul1pjpvhjd] {
    background: var(--st-text-muted);
}

.chevron-right[b-ul1pjpvhjd] {
    color: var(--st-text-muted);
    margin-left: 2px;
}

/* ===== Pill Orden / Aseguradora (reutilización de AssignmentModal) ===== */
.hc-order-pill[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eab308;
    border-radius: 10px;
    padding: 4px 10px 4px 4px;
    margin-top: 12px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    position: relative;
    z-index: 90;
    width: 100%;
    box-sizing: border-box;
}

.hc-order-pill.clickable[b-ul1pjpvhjd] {
    cursor: pointer;
}

.hc-order-pill.clickable:not(.dropdown-open):hover[b-ul1pjpvhjd] {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.hc-order-pill.clickable:not(.dropdown-open):active[b-ul1pjpvhjd] {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* La orden pedida dejó de resolver y hay varias vivas: el usuario tiene que elegir. */
.hc-order-pill.needs-choice[b-ul1pjpvhjd] {
    background: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.hc-order-choice-hint[b-ul1pjpvhjd] {
    margin-top: 8px;
    max-width: 260px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-warning-fg);
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
}

/* Avatar encargado — izquierda */
.hop-worker-avatar[b-ul1pjpvhjd] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--st-surface);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.hop-worker-avatar img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hop-avatar-initials[b-ul1pjpvhjd] {
    font-size: 10px;
    font-weight: 800;
    color: var(--st-warning-text);
    text-transform: uppercase;
}

/* Centro: número + aseguradora */
.hop-center[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.hop-order-number[b-ul1pjpvhjd] {
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.hop-insurer-name[b-ul1pjpvhjd] {
    font-size: 9px;
    font-weight: 600;
    color: var(--st-text);
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Derecha: logo + badge */
.hop-right[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
    position: relative;
}

.hop-insurer-logo[b-ul1pjpvhjd] {
    width: 32px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    color: var(--st-warning-fg);
}

.hop-insurer-logo img[b-ul1pjpvhjd] {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.hop-count-badge[b-ul1pjpvhjd] {
    position: absolute;
    bottom: -10px;
    right: -14px;
    background: var(--st-surface);
    color: var(--st-warning-fg);
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0;
}

/* Dropdown de órdenes de trabajo */
.hop-wo-dropdown[b-ul1pjpvhjd] {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto; /* reset left to use right align like Assignment */
    background: var(--st-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 6px;
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: dropdownFadeIn-b-ul1pjpvhjd 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hop-wo-dropdown[b-ul1pjpvhjd]::-webkit-scrollbar {
    display: none;
}

@keyframes dropdownFadeIn-b-ul1pjpvhjd {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hop-wo-item[b-ul1pjpvhjd] {
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.hop-wo-item[b-ul1pjpvhjd]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    height: 60%;
    width: 3px;
    background: #eab308;
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 0 4px 4px 0;
}

.hop-wo-item:hover[b-ul1pjpvhjd] {
    background: var(--st-fill-3);
}

.hop-wo-item:hover[b-ul1pjpvhjd]::before {
    transform: translateY(-50%) scaleY(0.7);
    background: var(--st-border-stronger);
}

.hop-wo-item.active[b-ul1pjpvhjd] {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.15) 0%, rgba(234, 179, 8, 0.03) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.hop-wo-item.active[b-ul1pjpvhjd]::before {
    transform: translateY(-50%) scaleY(1);
    background: #eab308;
}

.hop-wo-number[b-ul1pjpvhjd] {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-text-strong) !important;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
    z-index: 1;
}

.hop-wo-insurance[b-ul1pjpvhjd] {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--st-text-muted) !important;
    z-index: 1;
}

.hop-wo-item.active .hop-wo-number[b-ul1pjpvhjd] {
    color: var(--st-gold-text) !important;
}

.hop-wo-item.active .hop-wo-insurance[b-ul1pjpvhjd] {
    color: var(--st-text-strong) !important;
}

.hop-wo-backdrop[b-ul1pjpvhjd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: transparent;
}

/* ===== Close Button Overlay ===== */
/* The «i» of the handover's guided help: out of the bar's flow, which spreads its three cards from edge to edge. */
.ho-help[b-ul1pjpvhjd] {
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 3;
}

.top-close-btn[b-ul1pjpvhjd] {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--st-fill-4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    transition: all 0.2s ease;
}
.top-close-btn:hover[b-ul1pjpvhjd] {
    background: var(--st-fill-5);
}
.top-close-btn svg[b-ul1pjpvhjd] {
    color: var(--st-text-subtle);
}

/* ===== Main White Content Area ===== */
.wizard-white-card[b-ul1pjpvhjd] {
    background: var(--st-surface);
    border-radius: 20px;
    margin: 0 6px;
    padding: 19px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    /* min-height 0 (not 380px): with browser zoom or a short window the card must shrink and scroll
       inside, so the footer with «Siguiente» always stays reachable instead of being clipped. */
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden; /* Solo scroll vertical; nada debe desbordar horizontalmente */
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1; /* Ocultar barra de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    /* Chrome, Safari, Opera */
    .wizard-white-card[b-ul1pjpvhjd]::-webkit-scrollbar {
        display: none;
    }

.step-content[b-ul1pjpvhjd] {
    animation: fadeSlideIn-b-ul1pjpvhjd 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ho-step-title[b-ul1pjpvhjd] {
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.2px;
}

.ho-step-subtitle[b-ul1pjpvhjd] {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: var(--st-text-muted);
    margin-top: -12px;
    margin-bottom: 20px;
}

/* Tabs Simulation */
.tabs-sim[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.ho-tab[b-ul1pjpvhjd] {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
}
    .ho-tab.active[b-ul1pjpvhjd] {
        background: #e5b900;
        color: var(--st-text-strong);
        box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
    }

.search-sim[b-ul1pjpvhjd] {
    background: var(--st-surface-sunken);
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid transparent;
}
.search-sim:focus-within[b-ul1pjpvhjd] {
    border-color: var(--st-border-strong);
}
.ho-search-input[b-ul1pjpvhjd] {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--st-text);
}
.ho-search-input[b-ul1pjpvhjd]::placeholder {
    color: var(--st-text-muted);
}

/* Grid & Cards */
.person-grid[b-ul1pjpvhjd], .ho-person-grid[b-ul1pjpvhjd] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-bottom: 12px;
}

.person-card-squared[b-ul1pjpvhjd], .ho-person-card[b-ul1pjpvhjd] {
    background: var(--st-text-muted); /* Exact color from Figma */
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    /* Los grid items tienen min-width:auto por defecto y NO encogen por debajo de su
       contenido (nombre largo, footer carga+badge), desbordando las columnas 1fr y
       generando scroll horizontal. min-width:0 permite que respeten el ancho del grid. */
    min-width: 0;
}

    .person-card-squared.selected[b-ul1pjpvhjd] {
        border-color: #e5b900;
        box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
        transform: translateY(-2px);
        background: #e5b900;
    }

    .person-card-squared.suggested:not(.selected)[b-ul1pjpvhjd] {
        border-color: #e5b900;
        box-shadow: 0 0 10px rgba(229, 185, 0, 0.4);
    }

.person-card-squared:hover[b-ul1pjpvhjd] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* «Editar entrega» on a destination card: shown on hover or keyboard focus, always on touch screens (no hover there). */
.ho-card-edit[b-ul1pjpvhjd] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border, rgba(0,0,0,0.12));
    border-radius: 50%;
    background: var(--st-surface);
    color: var(--st-text-strong);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

    .ho-card-edit svg[b-ul1pjpvhjd] {
        width: 13px;
        height: 13px;
    }

.person-card-squared:hover .ho-card-edit[b-ul1pjpvhjd],
.ho-card-edit:focus-visible[b-ul1pjpvhjd] {
    opacity: 1;
}

.ho-card-edit:hover:not(:disabled)[b-ul1pjpvhjd] {
    transform: scale(1.08);
}

.ho-card-edit:disabled[b-ul1pjpvhjd] {
    opacity: 1;
    cursor: progress;
    color: var(--st-text-muted);
}

@media (hover: none) {
    .ho-card-edit[b-ul1pjpvhjd] {
        opacity: 1;
    }
}

/* VM-ea-1: «Editar orden» bar and the up / down / remove buttons of a destination card while reordering. */
.ho-edit-order-bar[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.ho-edit-order-hint[b-ul1pjpvhjd] {
    flex: 1;
    font-size: 12px;
    color: var(--st-text-muted);
}

.ho-edit-order-toggle[b-ul1pjpvhjd] {
    padding: 4px 12px;
    border: 1px solid var(--st-border, rgba(0,0,0,0.12));
    border-radius: 14px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-size: 12px;
    cursor: pointer;
}

    .ho-edit-order-toggle.is-active[b-ul1pjpvhjd] {
        border-color: var(--st-primary, #c2185b);
        color: var(--st-primary, #c2185b);
    }

    .ho-edit-order-toggle:disabled[b-ul1pjpvhjd] {
        cursor: progress;
        opacity: 0.6;
    }

.person-card-squared.is-ordering[b-ul1pjpvhjd] {
    cursor: default;
}

    .person-card-squared.is-ordering:hover[b-ul1pjpvhjd] {
        transform: none;
    }

.ho-order-actions[b-ul1pjpvhjd] {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.ho-order-btn[b-ul1pjpvhjd] {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border, rgba(0,0,0,0.12));
    border-radius: 50%;
    background: var(--st-surface);
    color: var(--st-text-strong);
    cursor: pointer;
}

    .ho-order-btn svg[b-ul1pjpvhjd] {
        width: 13px;
        height: 13px;
    }

    .ho-order-btn.is-danger[b-ul1pjpvhjd] {
        color: var(--st-danger, #d32f2f);
    }

    .ho-order-btn:disabled[b-ul1pjpvhjd] {
        opacity: 0.4;
        cursor: default;
    }

.person-avatar-circle[b-ul1pjpvhjd] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--st-surface);
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.person-avatar-circle img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder.person-icon[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.process-avatar-circle[b-ul1pjpvhjd] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-avatar-circle img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.avatar-placeholder.process-icon[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}
/* Icono generico de proceso (SVG blanco): se oscurece para verse sobre el fondo blanco */
.process-avatar-circle img.process-fallback-img[b-ul1pjpvhjd] {
    width: 55%;
    height: 55%;
}
img.process-fallback-img[b-ul1pjpvhjd] {
    filter: invert(0.5);
}

.person-card-name[b-ul1pjpvhjd] {
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
}

.person-stats-row[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.stat-pill[b-ul1pjpvhjd] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
}

.stat-pill.white[b-ul1pjpvhjd] {
    background: var(--st-surface);
    color: var(--st-text-subtle);
}

/* ===== Tarjeta "+ Agregar" (paridad MAUI) =====
   Mismo fondo azul-gris que las tarjetas hermanas + círculo brillante con "+" y etiqueta.
   Aplica al paso de Procesos (.add-btn) y de Personas (.ho-invite-card). */
.person-card-squared.add-btn[b-ul1pjpvhjd],
.ho-person-card.ho-invite-card[b-ul1pjpvhjd] {
    background: var(--st-text-muted);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--st-text-strong);
}

.person-card-squared.add-btn:hover[b-ul1pjpvhjd],
.ho-person-card.ho-invite-card:hover[b-ul1pjpvhjd] {
    background: #8b98ad;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    color: var(--st-text-strong);
}

.ho-add-circle[b-ul1pjpvhjd] {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-strong);
    background: var(--st-fill-3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.45),
                inset 0 0 10px rgba(255, 255, 255, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.person-card-squared.add-btn:hover .ho-add-circle[b-ul1pjpvhjd],
.ho-person-card.ho-invite-card:hover .ho-add-circle[b-ul1pjpvhjd] {
    box-shadow: 0 0 18px var(--st-fill-2),
                inset 0 0 12px rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.ho-add-circle svg[b-ul1pjpvhjd] {
    width: 26px;
    height: 26px;
    color: var(--st-text-strong);
}

.ho-add-label[b-ul1pjpvhjd] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
    letter-spacing: 0.2px;
    text-align: center;
}

/* Specific Person Card Styles (Step Person) */
.ho-person-card[b-ul1pjpvhjd] {
    background: var(--st-text-muted);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 145px;
    position: relative;
}

    .ho-person-card:hover[b-ul1pjpvhjd] {
        background: var(--st-text-muted);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.ho-person-card.selected[b-ul1pjpvhjd] {
    background: #e5b900;
    border-color: #e5b900;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35);
    transform: translateY(-2px);
}

.ho-person-card.suggested:not(.selected)[b-ul1pjpvhjd] {
    border-color: #e5b900;
    box-shadow: 0 0 10px rgba(229, 185, 0, 0.4);
}

.ho-pc-avatar[b-ul1pjpvhjd] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden; 
    background: var(--st-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 4px;
}

.ho-pc-avatar img[b-ul1pjpvhjd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ho-pc-initials[b-ul1pjpvhjd] {
    font-size: 18px;
    font-weight: 700;
    color: #4a6fa5;
}

.ho-pc-info[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    flex: 1;
}

.ho-pc-name[b-ul1pjpvhjd] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-strong);
    text-align: center;
    line-height: 1.2;
    max-height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ho-pc-role[b-ul1pjpvhjd] {
    font-size: 9px;
    color: var(--st-text-subtle);
    text-align: center;
    margin-top: 2px;
}

/* POR QUÉ se sugiere a esta persona, en la tarjeta de la sugerida. Mismo verde que el punto de
   sugerido; la explicación completa va en el title. */
.ho-pc-reason[b-ul1pjpvhjd] {
    margin-top: 3px;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(34,197,94,0.15);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges footer: workload + counts */
.ho-pc-footer[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 6px;
    gap: 4px;
}

.ho-pc-workload[b-ul1pjpvhjd] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-strong);
    background: rgba(0,0,0,0.18);
    border-radius: 8px;
    padding: 2px 6px;
    white-space: nowrap;
}

.ho-person-card.selected .ho-pc-workload[b-ul1pjpvhjd] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.ho-pc-count-badge[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--st-fill-5);
    border-radius: 10px;
    padding: 2px 6px;
}

.ho-pc-count-badge b[b-ul1pjpvhjd] {
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-strong);
}

/* La magnitud que NO gobierna el orden en este tenant queda atenuada, igual que en el móvil.
   Las dos siguen visibles —el operario quiere ver horas y vehículos— pero se lee de un
   vistazo cuál es la que está decidiendo quién va primero. */
.ho-pc-metric-muted[b-ul1pjpvhjd] {
    opacity: 0.45;
}

.ho-pc-count-badge small[b-ul1pjpvhjd] {
    font-size: 9px;
    color: var(--st-text-subtle);
}

/* Punto verde de sugerido */
/* Pasó a la izquierda: la derecha la ocupan ahora las bolitas de nivel, y superpuestos
   no se distinguía cuál era cuál. */
.ho-pc-suggested-dot[b-ul1pjpvhjd] {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34,197,94,0.6);
}

/* No está habilitada para el nivel de la orden. Se atenúa para que se vea POR QUÉ quedó
   al final de la lista, pero sigue clickeable: el operario tiene que poder entregarle a
   mano a quien tiene enfrente aunque el dato de niveles esté mal cargado.
   Al pasar el mouse y al quedar seleccionada vuelve a opacidad plena, para poder leerla
   bien justo cuando se la está por elegir. */
.ho-person-card.level-mismatch[b-ul1pjpvhjd] {
    opacity: 0.45;
}

.ho-person-card.level-mismatch:hover[b-ul1pjpvhjd],
.ho-person-card.level-mismatch.selected[b-ul1pjpvhjd] {
    opacity: 1;
}

/* FF-P1: an inactive person is listed but cannot be picked (StakeholderPickerRules.IsSelectable). */
.ho-person-card.inactive[b-ul1pjpvhjd],
.ho-person-card.inactive:hover[b-ul1pjpvhjd] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Niveles de colisión que la persona puede trabajar, de menor a mayor intensidad.
   Sólo se dibujan los habilitados, así que el ancho de la fila dice de un vistazo hasta
   dónde llega. Los hexadecimales son los MISMOS que en el móvil a propósito: el operario
   aprende la escala una vez y la lee igual en los dos clientes. */
.ho-pc-levels[b-ul1pjpvhjd] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 3px;
}

.ho-pc-level-dot[b-ul1pjpvhjd] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ho-pc-level-dot.express[b-ul1pjpvhjd] {
    background: #3b82f6;
}

.ho-pc-level-dot.leve[b-ul1pjpvhjd] {
    background: #86d26d;
}

.ho-pc-level-dot.medio[b-ul1pjpvhjd] {
    background: #ffd255;
}

.ho-pc-level-dot.fuerte[b-ul1pjpvhjd] {
    background: #e03d3d;
}

.ho-invite-card[b-ul1pjpvhjd] {
    min-height: 145px;
}


/* Form Inputs (for Form Step inside white card) */
.ho-form-group[b-ul1pjpvhjd] {
    margin-bottom: 20px;
}
.ho-label[b-ul1pjpvhjd] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
    margin-bottom: 8px;
}
/* D119 «Razones»: the reason of a return that the workshop requires, in the café of «Retorno». */
.ho-form-group.is-required .ho-label[b-ul1pjpvhjd] {
    color: var(--st-text-strong);
}
.ho-select[b-ul1pjpvhjd], .ho-textarea[b-ul1pjpvhjd] {
    width: 100%;
    padding: 12px 16px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    color: var(--st-text);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}
.ho-select:focus[b-ul1pjpvhjd], .ho-textarea:focus[b-ul1pjpvhjd] {
    border-color: #3b82f6;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.ho-textarea[b-ul1pjpvhjd] {
    min-height: 100px;
    resize: vertical;
}

/* IsInStore Checkbox (Form Step) */
.ho-instore-group[b-ul1pjpvhjd] {
    margin-top: 4px;
    margin-bottom: 16px;
}
.ho-instore-label[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text-body);
    user-select: none;
}
.ho-instore-checkbox[b-ul1pjpvhjd] {
    width: 18px;
    height: 18px;
    accent-color: #e84393;
    cursor: pointer;
    flex-shrink: 0;
}

/* IsInStore Badge (Summary Step) */
.ho-instore-badge[b-ul1pjpvhjd] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
/* Compound with .ho-summary-value: that rule is declared later and would otherwise win the color. */
.ho-summary-value.ho-instore-yes[b-ul1pjpvhjd] {
    background: rgba(74, 222, 128, 0.16);
    color: var(--st-success-fg);
}
.ho-summary-value.ho-instore-no[b-ul1pjpvhjd] {
    background: rgba(253, 230, 138, 0.16);
    color: var(--st-warning-text);
    font-weight: 600;
}


/* Empty States */
.ho-empty-state[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.ho-empty-state.ho-small[b-ul1pjpvhjd] {
    padding: 12px;
    font-size: 12px;
}

/* Aviso del paso de Personas cuando el proceso destino no tiene cargo configurado: la lista queda
   vacía A PROPÓSITO (antes venía el taller entero) y esto explica por qué, justo debajo del "+". */
.ho-config-note[b-ul1pjpvhjd] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: var(--st-text-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.ho-config-note svg[b-ul1pjpvhjd] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--st-text-subtle);
}

/* Formulario dinámico de entrega (W3): la revisión no se pudo cargar y se cae al paso 3 legacy.
   NO es un error — el técnico completa igual (design-clients C8) — así que es ámbar/info, nunca rojo. */
.ho-form-fallback-notice[b-ul1pjpvhjd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(222, 163, 1, 0.45);
    background: var(--st-gold-bg);
    color: #7a5200;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.ho-form-fallback-text[b-ul1pjpvhjd] {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Por qué no cargó: una línea propia, más marcada que el aviso general. */
.ho-form-fallback-reason[b-ul1pjpvhjd] {
    font-weight: 700;
}

.ho-form-retry[b-ul1pjpvhjd] {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #b45309;
    border-radius: 10px;
    background: var(--st-surface);
    color: #7a5200;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ho-form-retry:hover:not(:disabled)[b-ul1pjpvhjd] {
    background: #fff3cd;
}

.ho-form-retry:disabled[b-ul1pjpvhjd] {
    opacity: 0.55;
    cursor: not-allowed;
}

.ho-form-retry:focus-visible[b-ul1pjpvhjd] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

/* El servidor rechazó el envío (HANDOVER_FORM_INVALID): a diferencia del aviso de arriba, esto SÍ
   requiere corregir algo antes de reintentar — usa el mismo rojo de error que el resto del asistente.
   #b91c1c sobre el tinte rojo: 5.9:1 (el #ef4444 de antes daba 3.4:1). */
.ho-form-server-error[b-ul1pjpvhjd] {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.4);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

/* Reproceso en el paso dinámico: lo que implica «Devolver para rehacer» (el paso legacy trae las mismas palabras). Informativo, azul suave. */
.ho-form-reprocess-note[b-ul1pjpvhjd] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--st-info-border);
    background: var(--st-info-bg);
    color: #1e3a8a;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.ho-form-reprocess-note svg[b-ul1pjpvhjd] {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--st-info-fg);
}

/* Táctil: "Reintentar" alcanza los 44 px. */
@media (max-width: 480px), (pointer: coarse) {
    .ho-form-retry[b-ul1pjpvhjd] {
        min-height: 44px;
    }
}

/* Selector de fotos del paso legacy (B4): el input real vive DENTRO del label, oculto con clip (no display:none),
   así Enter/Espacio lo abren y sigue en el orden de tabulación; el label pinta el anillo de foco. */
.ho-evidence-upload[b-ul1pjpvhjd] {
    position: relative;
}

/* ::deep: el <input> lo pinta el componente InputFile del framework (otro ámbito de CSS aislado). */
.ho-evidence-upload[b-ul1pjpvhjd]  .ho-evidence-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.ho-evidence-upload:focus-within[b-ul1pjpvhjd] {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d81b84;
}

@media (prefers-reduced-motion: reduce) {
    .ho-form-retry[b-ul1pjpvhjd] {
        transition: none;
    }
}

/* ===== Summary (Resume Step — inside CenterDialog) ===== */
.ho-summary-row[b-ul1pjpvhjd] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
}

.ho-summary-row:last-child[b-ul1pjpvhjd] {
    border-bottom: none;
}

.ho-summary-label[b-ul1pjpvhjd] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.ho-summary-value[b-ul1pjpvhjd] {
    font-size: 13px;
    font-weight: 400;
    color: var(--st-text-strong);
    text-align: right;
    max-width: 55%;
    word-break: break-word;
}

/* ===== Location 3D Step ===== */
.ho-location-content[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 40px 20px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* ===== Footer Operations ===== */
.wizard-footer-bar[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 10px 24px 10px;
    background: transparent;
    gap: 8px; /* separación mínima entre timeline y botones al comprimirse */
}

.step-timeline-bar[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    gap: 1px;
    /* Cuando aparece el botón "Atrás" (paso Personas+), el footer necesita más
       ancho del disponible en 450px. En vez de desbordar (scroll horizontal),
       la barra de timeline se comprime: los nodos quedan fijos y las líneas
       encogen. En el paso Procesos (hay espacio de sobra) no cambia nada. */
    flex-shrink: 1;
    min-width: 0;
}

.timeline-node[b-ul1pjpvhjd] {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-stronger);
    color: var(--st-text-strong);
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0; /* los nodos nunca se deforman; solo las líneas encogen */
}

.timeline-node.completed[b-ul1pjpvhjd] {
    background: #fe00e4;
}

.timeline-node.active[b-ul1pjpvhjd] {
    background: #e5b900;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

.timeline-line[b-ul1pjpvhjd] {
    width: 24px;
    min-width: 6px; /* puede encoger hasta 6px cuando el footer necesita espacio */
    flex-shrink: 1;
    height: 2px;
    background: var(--st-fill-6);
}

/* Los botones de acción mantienen su tamaño; la timeline es la que cede espacio. */
.action-buttons[b-ul1pjpvhjd] {
    flex-shrink: 0;
}

.action-buttons button[b-ul1pjpvhjd] {
    white-space: nowrap;
}

.btn-next-pink[b-ul1pjpvhjd] {
    background: #e84393;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 10px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(232, 67, 147, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-next-pink:hover:not(:disabled)[b-ul1pjpvhjd] {
    background: #d63080;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.5);
}

.btn-next-pink:disabled[b-ul1pjpvhjd] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ho-btn-back[b-ul1pjpvhjd] {
    background: transparent;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-strong);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.ho-btn-back:hover[b-ul1pjpvhjd] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}
.ho-btn-back:disabled[b-ul1pjpvhjd] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* New Buttons */
.ho-btn-confirm[b-ul1pjpvhjd], .ho-btn-confirm-loc[b-ul1pjpvhjd] {
    background: #eab308;
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
    transition: all 0.2s;
}

.ho-btn-confirm:hover[b-ul1pjpvhjd], .ho-btn-confirm-loc:hover[b-ul1pjpvhjd] {
    background: #d97706;
    transform: translateY(-1px);
}

.ho-btn-3d[b-ul1pjpvhjd] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border-strong);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
}

.ho-btn-3d:hover[b-ul1pjpvhjd] {
    background: var(--st-fill-5);
}

.ho-btn-cancel[b-ul1pjpvhjd] {
    background: transparent;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.ho-btn-cancel:hover[b-ul1pjpvhjd] {
    background: var(--st-surface-sunken);
}


/* Animations */
@keyframes fadeIn-b-ul1pjpvhjd {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp-b-ul1pjpvhjd {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeSlideIn-b-ul1pjpvhjd {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Validation Toast */
.validation-toast-overlay[b-ul1pjpvhjd] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.validation-toast[b-ul1pjpvhjd] {
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    max-width: 80%;
    animation: toastSlideUp-b-ul1pjpvhjd 0.3s ease-out;
    pointer-events: auto;
}

.validation-toast.validation-toast--error[b-ul1pjpvhjd] {
    background: linear-gradient(135deg, #1f2937, #450a0a);
    border: 1px solid var(--st-danger-fg);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    color: var(--st-danger-fg);
}

.validation-toast.validation-toast--warning[b-ul1pjpvhjd] {
    background: linear-gradient(135deg, #0f172a, #451a03);
    border: 1px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    color: var(--st-warning-fg);
}

.validation-toast.validation-toast--success[b-ul1pjpvhjd] {
    background: linear-gradient(135deg, #0f172a, #064e3b);
    border: 1px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    color: var(--st-success-fg);
}

@keyframes toastSlideUp-b-ul1pjpvhjd {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ===== Selector "¿Qué deseas crear?" y host de formularios de creación =====
   Se muestra sobre el wizard cuando el usuario pulsa la tarjeta "+" del paso de procesos. */
.ho-create-chooser-overlay[b-ul1pjpvhjd] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.ho-create-chooser[b-ul1pjpvhjd] {
    background: var(--st-surface);
    border-radius: 16px;
    padding: 20px;
    width: min(380px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.ho-create-option[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-muted);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ho-create-option:hover[b-ul1pjpvhjd] {
    background: var(--st-surface-sunken);
    border-color: #e84393;
}

.ho-create-option-title[b-ul1pjpvhjd] {
    font-weight: 700;
    font-size: 14px;
    color: var(--st-text-brand);
}

.ho-create-option-desc[b-ul1pjpvhjd] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

/* (Los formularios de creación Proceso/Entrega/Persona ahora se alojan en el componente
   reutilizable LeftSidebar — ver variante .ho-create-sidebar en LeftSidebar.razor.css.) */

/* Invitation to the robot when the order leaves the insurer upload process */
.ho-upload-invite[b-ul1pjpvhjd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding: 10px 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
}

.ho-upload-invite-text[b-ul1pjpvhjd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ho-upload-invite-text strong[b-ul1pjpvhjd] {
    font-size: 13px;
    color: var(--st-text-strong);
}

.ho-upload-invite-text span[b-ul1pjpvhjd] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text-muted);
}

.ho-upload-invite-btn[b-ul1pjpvhjd] {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-surface);
    background: var(--st-text-strong);
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.ho-upload-invite-btn:hover[b-ul1pjpvhjd] {
    opacity: 0.9;
}

/* «Ramas condicionales», phase C: the selected destination whose branch the answers make false stays, dashed and with its tag, until
   another one is chosen; the notice above the cards says why «Siguiente» waits. */
.person-card-squared.condition-off[b-ul1pjpvhjd] {
    border-style: dashed;
    border-color: var(--st-danger-border);
}

.ho-condition-off-tag[b-ul1pjpvhjd] {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--st-danger-text);
}

.ho-condition-off-notice[b-ul1pjpvhjd] {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* ===== Short windows (browser zoom, low screens) =====
   The white card is the only piece that yields its height, so what surrounds it must leave it room: with the upload notice the fixed
   pieces take 463px and, in a shorter panel, «Siguiente» was clipped again and the cards had no room left. The panel is the window
   minus 20px, so these look at the window: first the notice gives up its description and, in a very short window, the header its
   photo and every piece part of its air. */
@media (max-height: 700px) {
    .ho-upload-invite[b-ul1pjpvhjd] {
        margin-bottom: 8px;
        padding: 8px 12px;
    }

    .ho-upload-invite-text span[b-ul1pjpvhjd] {
        display: none;
    }
}

@media (max-height: 560px) {
    .wizard-top-bar[b-ul1pjpvhjd] {
        padding: 12px 24px 8px;
    }

    .owner-card[b-ul1pjpvhjd] {
        gap: 4px;
    }

    .owner-avatar-wrapper[b-ul1pjpvhjd] {
        width: 48px;
        height: 48px;
    }

    .asset-card-center[b-ul1pjpvhjd] {
        height: auto;
        top: 0;
    }

    .asset-img[b-ul1pjpvhjd] {
        display: none;
    }

    .asset-plate[b-ul1pjpvhjd] {
        margin-top: 0;
    }

    .hc-order-pill[b-ul1pjpvhjd] {
        margin-top: 4px;
    }

    .wizard-white-card[b-ul1pjpvhjd] {
        padding: 12px;
    }

    .ho-step-subtitle[b-ul1pjpvhjd] {
        margin-bottom: 8px;
    }

    .tabs-sim[b-ul1pjpvhjd] {
        margin-bottom: 8px;
    }

    .wizard-footer-bar[b-ul1pjpvhjd] {
        padding: 8px 10px;
    }
}

/* systime-reportes#112: «Ver autorización» under the order pill; empty (no space) while the order has none. */
.hc-authorization[b-ul1pjpvhjd] {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.hc-authorization:empty[b-ul1pjpvhjd] {
    display: none;
}
/* /Pages/Home/Components/HandOver/HandoverProcessCard.razor.rz.scp.css */
.person-card-squared[b-vqbjny551x] {
    background: var(--st-text-muted);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-width: 0;
}

.person-card-squared.selected[b-vqbjny551x] {
    border-color: #e5b900;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
    transform: translateY(-2px);
    background: #e5b900;
}

.person-card-squared.suggested:not(.selected)[b-vqbjny551x] {
    border-color: #e5b900;
    box-shadow: 0 0 10px rgba(229, 185, 0, 0.4);
}

.person-card-squared:hover[b-vqbjny551x] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-avatar-circle[b-vqbjny551x] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-avatar-circle img[b-vqbjny551x] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avatar-placeholder.process-icon[b-vqbjny551x] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}

.person-card-name[b-vqbjny551x] {
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
}

.person-stats-row[b-vqbjny551x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.stat-pill[b-vqbjny551x] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
}

.stat-pill.clickable[b-vqbjny551x] {
    cursor: pointer;
}

.stat-pill.clickable:hover[b-vqbjny551x] {
    background: var(--st-fill-5);
}
/* /Pages/Home/Components/HandOver/HandoverQuestionsField.razor.rz.scp.css */
/* «Ramas condicionales», phase B: the Sí/No questions of the handover, on the white card of the handover screens (light palette), with
   the segmented control of «Dependencia | Normal» (HandoverBranchTypeField). The answer is said with the word, never with the color alone. */
.ho-questions[b-t2ldsj37d2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ho-questions-title[b-t2ldsj37d2] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

/* The quick handover of the DCB writes its labels in small capitals. */
.ho-questions.is-compact[b-t2ldsj37d2] {
    margin-bottom: 10px;
}

.ho-questions.is-compact .ho-questions-title[b-t2ldsj37d2] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ho-questions-list[b-t2ldsj37d2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ho-question[b-t2ldsj37d2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ho-question.is-missing[b-t2ldsj37d2] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.ho-question-text[b-t2ldsj37d2] {
    display: inline-flex;
    flex: 1 1 200px;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.ho-question-label[b-t2ldsj37d2] {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.ho-question-required[b-t2ldsj37d2] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 9999px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ho-question-seg[b-t2ldsj37d2] {
    display: inline-flex;
    flex: none;
    overflow: hidden;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
}

.ho-question-option[b-t2ldsj37d2] {
    min-width: 56px;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ho-question-option:last-child[b-t2ldsj37d2] {
    border-right: 0;
}

.ho-question-option:hover:not(:disabled)[b-t2ldsj37d2] {
    background: var(--st-surface-muted);
}

.ho-question-option.is-yes[aria-pressed="true"][b-t2ldsj37d2] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
    box-shadow: inset 0 -2px 0 var(--st-success-fg);
}

.ho-question-option.is-no[aria-pressed="true"][b-t2ldsj37d2] {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
    box-shadow: inset 0 -2px 0 #64748b;
}

.ho-question-option:disabled[b-t2ldsj37d2] {
    cursor: default;
    opacity: 0.6;
}

.ho-question-option:focus-visible[b-t2ldsj37d2] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.ho-question-missing[b-t2ldsj37d2] {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-danger-text);
}

@media (prefers-reduced-motion: reduce) {
    .ho-question[b-t2ldsj37d2],
    .ho-question-option[b-t2ldsj37d2] {
        transition: none;
    }
}
/* /Pages/Home/Components/HandOver/HandoverResumeDateField.razor.rz.scp.css */
.ho-resume-row[b-z9vjycnlcy] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ho-resume-input[b-z9vjycnlcy] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #334155);
    font: inherit;
    cursor: pointer;
}

.ho-resume-input:disabled[b-z9vjycnlcy] {
    cursor: not-allowed;
    opacity: 0.6;
}

.ho-resume-clear[b-z9vjycnlcy] {
    flex: none;
    padding: 6px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: transparent;
    color: var(--st-text, #334155);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
/* /Pages/Home/Components/HandOver/HandoverReturnMark.razor.rz.scp.css */
/* D119 «Razones»: «Retorno» in the café of the process flow (Normal slate, Paralelo blue, Dependencia teal,
   Retorno café). A small chip that fits next to a process name or a label on the white card. */
.ho-return-mark[b-a640jgiuzw] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid #d6b99c;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    color: color-mix(in srgb, #7c4a21 60%, var(--st-text-strong));
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    vertical-align: middle;
}

.ho-return-mark svg[b-a640jgiuzw] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
/* /Pages/Home/Components/HandOver/PersonWorkloadModal.razor.rz.scp.css */
/* Person Workload Sidebar Styles */

/* Header Styles */
.pw-header-title[b-x5i858jp9g] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
}
.pw-header-subtitle[b-x5i858jp9g] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

/* Tabs & Hours Row */
.pw-tabs-row[b-x5i858jp9g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pw-pills-container[b-x5i858jp9g] {
    display: flex;
    gap: 10px;
}
.pw-pill[b-x5i858jp9g] {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pw-pill.active[b-x5i858jp9g] {
    background-color: #FFBB00; /* Yellow */
    color: #202B3C;
}
.pw-pill.inactive[b-x5i858jp9g] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}
.pw-pill.inactive:hover[b-x5i858jp9g] {
    background-color: var(--st-surface-stronger);
}

/* Hours Display */
.pw-hours-display[b-x5i858jp9g] {
    text-align: right;
    font-size: 0.75rem;
    color: var(--st-text-muted);
}
.pw-hours-display div[b-x5i858jp9g] {
    margin-bottom: 2px;
}
.pw-hours-display strong[b-x5i858jp9g] {
    color: var(--st-text-strong);
    font-weight: 700;
}

/* Search Bar */
.pw-search-container[b-x5i858jp9g] {
    margin-bottom: 20px;
}
.pw-search-input[b-x5i858jp9g] {
    width: 100%;
    background-color: var(--st-surface-sunken);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--st-text);
    font-size: 0.95rem;
    outline: none;
}
.pw-search-input[b-x5i858jp9g]::placeholder {
    color: var(--st-text-subtle);
}

/* Cards Grid */
.pw-cards-grid[b-x5i858jp9g] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pw-card[b-x5i858jp9g] {
    background-color: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pw-card-img-container[b-x5i858jp9g] {
    height: 90px;
    background-color: var(--st-surface-raised);
    position: relative;
    padding: 4px;
}
.pw-card-img[b-x5i858jp9g] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:12px;
}
.pw-card-img-placeholder[b-x5i858jp9g] {
    width: 100%;
    height: 100%;
    background: darkgrey;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.pw-card-img-default[b-x5i858jp9g] {
    width: 100%;
    height: 100%;
    color: #ffffff;
    object-fit: contain;
}

.pw-card-body[b-x5i858jp9g] {
    padding: 2px 10px 8px 10px;
    display: flex;
    flex-direction: column;
}
.pw-card-title[b-x5i858jp9g] {
    font-size: 1rem;
    font-weight: 800;
    color: var(--st-text-strong);
    text-align: center;
    margin: 0 0 5px 0;
}
.pw-card-hours-row[b-x5i858jp9g] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
}
.pw-card-hours-left[b-x5i858jp9g] {
    color: var(--st-text-subtle);
}
.pw-card-hours-right[b-x5i858jp9g] {
    color: var(--st-text);
}
.pw-unit[b-x5i858jp9g] {
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--st-text-muted);
}
/* /Pages/Home/Components/HandOver/ProxyWorkerPickerModal.razor.rz.scp.css */
.pwp-container[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 8px;
}

/* El contenedor gris del diálogo (acd-summary) se quita: buscador y lista usan todo el ancho. */
.pwp-scope[b-8kkpjl0h97]  .acd-summary {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Los botones del diálogo (CenterDialog) llevan el texto en mayúsculas; aquí se muestran como están escritos. */
.pwp-scope[b-8kkpjl0h97]  .acd-confirm-btn,
.pwp-scope[b-8kkpjl0h97]  .acd-cancel-btn {
    text-transform: none;
    letter-spacing: normal;
}

.pwp-search-box[b-8kkpjl0h97] {
    position: relative;
    width: 100%;
}

.pwp-search-icon[b-8kkpjl0h97] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-text-subtle);
    pointer-events: none;
}

.pwp-search-input[b-8kkpjl0h97] {
    width: 100%;
    padding: 11px 38px 11px 42px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pwp-search-input[b-8kkpjl0h97]::placeholder {
    color: var(--st-text-subtle);
}

.pwp-search-input:focus[b-8kkpjl0h97] {
    border-color: #e84393;
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.18);
}

.pwp-search-box:focus-within .pwp-search-icon[b-8kkpjl0h97] {
    color: #e84393;
}

.pwp-search-clear[b-8kkpjl0h97] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.pwp-search-clear:hover[b-8kkpjl0h97] {
    background: var(--st-surface-muted);
    color: var(--st-text);
}

.pwp-worker-list[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.pwp-empty[b-8kkpjl0h97] {
    text-align: center;
    padding: 20px;
    color: var(--st-text-subtle);
    font-size: 0.9rem;
}

.pwp-worker-card[b-8kkpjl0h97] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--st-surface);
    transition: background 0.15s, border-color 0.15s;
}

.pwp-worker-card:hover[b-8kkpjl0h97] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.pwp-worker-card.pwp-selected[b-8kkpjl0h97] {
    background: var(--st-gold-bg);
    border-color: #e5b900;
}

.pwp-avatar[b-8kkpjl0h97] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pwp-avatar img[b-8kkpjl0h97] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwp-initials[b-8kkpjl0h97] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.pwp-info[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
}

.pwp-name[b-8kkpjl0h97] {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--st-text);
}

/* Paso "¿Eres [titular]?" */
.pwp-holder-step[b-8kkpjl0h97] {
    align-items: center;
    text-align: center;
}

.pwp-holder-card[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pwp-avatar-large[b-8kkpjl0h97] {
    width: 72px;
    height: 72px;
}

.pwp-avatar-large .pwp-initials[b-8kkpjl0h97] {
    font-size: 1.4rem;
}


.pwp-question[b-8kkpjl0h97] {
    font-size: 0.95rem;
    color: var(--st-text-secondary);
}

.pwp-other-btn[b-8kkpjl0h97] {
    padding: 10px 18px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.pwp-other-btn:hover[b-8kkpjl0h97] {
    background: var(--st-surface-muted);
    border-color: #e84393;
}


.ho-search-input[b-8kkpjl0h97] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.ho-search-input:focus[b-8kkpjl0h97] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pwp-worker-list[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

/* Fallback styles in case global ones aren't loaded */
.ho-person-card[b-8kkpjl0h97] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--st-surface);
    transition: all 0.2s;
}

.ho-person-card:hover[b-8kkpjl0h97] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.ho-person-card.selected[b-8kkpjl0h97] {
    background: var(--st-info-bg);
    border-color: #3b82f6;
}

.ho-pc-avatar[b-8kkpjl0h97] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ho-pc-avatar img[b-8kkpjl0h97] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ho-pc-avatar-initials[b-8kkpjl0h97] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.ho-pc-info[b-8kkpjl0h97] {
    display: flex;
    flex-direction: column;
}

.ho-pc-name[b-8kkpjl0h97] {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--st-text);
}
/* /Pages/Home/Components/HandOver/QuickHandOverModal.razor.rz.scp.css */
/* Entrega rápida (QuickHandOverModal): el proceso ya viene dado; la abre la entrega del DCB (D113). */
.quick-handover-container[b-an6dt19667] {
    background: transparent;
    border: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* ===== De dónde a dónde (D113) =====
   Fuera de la tarjeta blanca, sobre el fondo oscuro del panel: el proceso de origen apagado, la tarjeta de la OT y
   el de destino en el amarillo de la selección, que es a donde va. Los nombres tienen el ancho que deja la tarjeta. */
.quick-ho-context-header[b-an6dt19667] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0 0 10px;
    box-sizing: border-box;
    width: 100%;
}

.quick-ho-flow-step[b-an6dt19667] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 118px;
}

.quick-ho-step-label[b-an6dt19667] {
    font-size: 9px;
    font-weight: 700;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.quick-ho-step-name[b-an6dt19667] {
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    border-radius: 8px;
    padding: 5px 6px;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.quick-ho-flow-step.is-origin .quick-ho-step-name[b-an6dt19667] {
    font-weight: 600;
    color: var(--st-text-body);
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
}

.quick-ho-flow-step.is-destination .quick-ho-step-name[b-an6dt19667] {
    font-weight: 700;
    color: var(--st-gold-text);
    background: rgba(222, 163, 1, 0.18);
    border: 1px solid rgba(222, 163, 1, 0.6);
}

.quick-ho-flow-arrow[b-an6dt19667] {
    color: var(--st-warning-fg);
    flex: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-ho-vehicle-card[b-an6dt19667] {
    --work-order-card-width: 128px;
    flex: 0 0 128px;
    max-width: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ===== Main White Content Area ===== */
.wizard-white-card[b-an6dt19667] {
    background: var(--st-surface);
    border-radius: 20px;
    margin: 0 10px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.wizard-white-card[b-an6dt19667]::-webkit-scrollbar {
    width: 5px;
}

.wizard-white-card[b-an6dt19667]::-webkit-scrollbar-thumb {
    background: var(--st-surface-stronger);
    border-radius: 4px;
}

.step-content[b-an6dt19667] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ho-section-divider[b-an6dt19667] {
    height: 1px;
    background: var(--st-surface-strong);
    margin: 14px 0 12px;
    width: 100%;
}

.ho-step-title[b-an6dt19667] {
    text-align: center;
    color: var(--st-text-secondary);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 2px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ho-step-subtitle[b-an6dt19667] {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-muted);
    margin-bottom: 10px;
}

/* Pestañas Internos / Externos */
.tabs-sim[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ho-tab[b-an6dt19667] {
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: none;
}

.ho-tab.active[b-an6dt19667] {
    background: #eab308;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

/* Buscador */
.search-sim[b-an6dt19667] {
    background: var(--st-surface-sunken);
    padding: 7px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-sim:focus-within[b-an6dt19667] {
    border-color: var(--st-border-strong);
    background: var(--st-surface);
}

.search-icon[b-an6dt19667] {
    width: 14px;
    height: 14px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.ho-search-input[b-an6dt19667] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-text);
    font-size: 13px;
    width: 100%;
}

.ho-search-input[b-an6dt19667]::placeholder {
    color: var(--st-text-muted);
}

/* Grilla de Personas (3 columnas) */
.ho-person-grid[b-an6dt19667] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* Sin recorte: la persona elegida sube 2 px con su sombra y se cortaba arriba. */
    padding: 2px 0 8px;
}

/* Tarjeta individual de operario */
.ho-person-card[b-an6dt19667] {
    background: #7f94a8;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 10px 6px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 114px;
    position: relative;
    box-sizing: border-box;
}

.ho-person-card:hover[b-an6dt19667] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ho-person-card.selected[b-an6dt19667] {
    background: #dea301;
    border-color: #dea301;
    box-shadow: 0 4px 16px rgba(222, 163, 1, 0.4);
    transform: translateY(-2px);
}

/* No está habilitada para el nivel de la orden: se atenúa, pero sigue clickeable. */
.ho-person-card.level-mismatch[b-an6dt19667] {
    opacity: 0.45;
}

.ho-person-card.level-mismatch:hover[b-an6dt19667],
.ho-person-card.level-mismatch.selected[b-an6dt19667] {
    opacity: 1;
}

/* Niveles de colisión que la persona puede trabajar, de menor a mayor intensidad.
   Mismos hexadecimales que en el móvil y en el asistente completo: la escala se aprende
   una vez y se lee igual en todos lados. */
.ho-pc-levels[b-an6dt19667] {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 3px;
}

.ho-pc-level-dot[b-an6dt19667] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ho-pc-level-dot.express[b-an6dt19667] {
    background: #3b82f6;
}

.ho-pc-level-dot.leve[b-an6dt19667] {
    background: #86d26d;
}

.ho-pc-level-dot.medio[b-an6dt19667] {
    background: #ffd255;
}

.ho-pc-level-dot.fuerte[b-an6dt19667] {
    background: #e03d3d;
}

.ho-pc-avatar[b-an6dt19667] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    margin-bottom: 2px;
}

.ho-pc-avatar img[b-an6dt19667] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ho-pc-initials[b-an6dt19667] {
    font-size: 16px;
    font-weight: 700;
    color: #4a6fa5;
}

.ho-pc-info[b-an6dt19667] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.ho-pc-name[b-an6dt19667] {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    max-height: 26px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ho-pc-role[b-an6dt19667] {
    font-size: 9px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-top: 1px;
}

/* D362: shown by «Ver todas las personas» without the destination's job title; delivering asks to confirm it. */
.ho-pc-role.is-outside[b-an6dt19667] {
    padding: 0 6px;
    border-radius: 999px;
    background: #fcd34d;
    color: #422006;
    font-weight: 700;
}

/* D362: «Ver todas las personas», under the grid or the empty list. */
.ho-show-all-persons[b-an6dt19667] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 8px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.ho-show-all-persons:hover[b-an6dt19667] {
    background: var(--st-surface);
}

.ho-show-all-persons:focus-visible[b-an6dt19667] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.ho-pc-footer[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 4px;
    gap: 2px;
}

.ho-pc-workload[b-an6dt19667] {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0,0,0,0.18);
    border-radius: 6px;
    padding: 1px 5px;
    white-space: nowrap;
}

.ho-pc-count-badge[b-an6dt19667] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 1px 5px;
    color: #ffffff;
    font-size: 10px;
}

.ho-pc-count-badge b[b-an6dt19667] {
    font-weight: 800;
}

.ho-pc-count-badge small[b-an6dt19667] {
    font-size: 8.5px;
    opacity: 0.85;
}

/* Tarjeta "+ Agregar" */
.ho-invite-card[b-an6dt19667] {
    background: #7f94a8;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 10px 6px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    min-height: 114px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.ho-invite-card:hover[b-an6dt19667] {
    background: #6e8499;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ho-add-circle[b-an6dt19667] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ho-add-circle svg[b-an6dt19667] {
    width: 22px;
    height: 22px;
}

.ho-add-label[b-an6dt19667] {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

/* Note when target process is missing a configured job title: the person list is kept empty on purpose. */
.ho-config-note[b-an6dt19667] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: var(--st-text-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.ho-config-note svg[b-an6dt19667] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--st-text-subtle);
}

/* ===== Formulario Paso 2: Detalles ===== */

/* In-store switch: same look as the DCB's other switches. */
.quick-ho-instore[b-an6dt19667] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.quick-ho-instore input[b-an6dt19667] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.quick-ho-instore-track[b-an6dt19667] {
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    box-shadow: inset 0 0 0 1px var(--st-border-strong);
    transition: background 0.15s;
}

.quick-ho-instore-track[b-an6dt19667]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--st-text-muted);
    content: "";
    transition: transform 0.15s, background 0.15s;
}

.quick-ho-instore input:checked + .quick-ho-instore-track[b-an6dt19667] {
    background: #d81b84;
    box-shadow: none;
}

.quick-ho-instore input:checked + .quick-ho-instore-track[b-an6dt19667]::after {
    background: #ffffff;
    transform: translateX(16px);
}

.quick-ho-instore input:focus-visible + .quick-ho-instore-track[b-an6dt19667] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.quick-ho-instore input:disabled ~ *[b-an6dt19667] {
    opacity: 0.6;
}

/* ===== Sección Razón / Observaciones ===== */
.reason-section[b-an6dt19667] {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reason-label[b-an6dt19667] {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-secondary);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* D119 «Razones»: the reason of a return that the workshop requires, in the café of «Retorno». */
.reason-section.is-required .reason-label[b-an6dt19667] {
    color: color-mix(in srgb, #7c4a21 60%, var(--st-text-strong));
}

.reason-select[b-an6dt19667] {
    width: 100%;
    padding: 9px 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    color: var(--st-text);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
    cursor: pointer;
}

.reason-select:focus[b-an6dt19667] {
    border-color: #eab308;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
}

.reason-textarea[b-an6dt19667] {
    width: 100%;
    padding: 9px 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    color: var(--st-text);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
    resize: vertical;
    min-height: 64px;
    font-family: inherit;
    line-height: 1.45;
}

.reason-textarea:focus[b-an6dt19667] {
    border-color: #eab308;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
}

.reason-textarea[b-an6dt19667]::placeholder {
    color: var(--st-text-muted);
}

/* ===== Sección Evidencias Fotográficas ===== */
.evidence-section[b-an6dt19667] {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evidence-header[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.required-badge[b-an6dt19667] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(232, 67, 147, 0.1);
    color: #e84393;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    border: 1px solid rgba(232, 67, 147, 0.25);
    white-space: nowrap;
}

.evidence-uploader[b-an6dt19667] {
    position: relative;
}

.evidence-uploader[b-an6dt19667]  .evidence-input,
.evidence-uploader[b-an6dt19667]  input[type="file"],
.evidence-input[b-an6dt19667] {
    display: none !important;
}

.evidence-dropzone[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-surface-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 600;
    user-select: none;
}

.evidence-dropzone:hover[b-an6dt19667] {
    border-color: #eab308;
    background: var(--st-gold-bg);
    color: var(--st-warning-fg);
}

.evidence-dropzone svg[b-an6dt19667] {
    flex-shrink: 0;
    opacity: 0.75;
}

.evidence-preview-row[b-an6dt19667] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

/* Subida y Miniaturas de Fotos */

.evidence-pill[b-an6dt19667] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--st-surface-muted);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    position: relative;
    width: 72px;
    box-sizing: border-box;
}

.evidence-thumbnail[b-an6dt19667] {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 4px;
}

.evidence-name[b-an6dt19667] {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--st-text-secondary);
    text-align: center;
    font-size: 9.5px;
}

.btn-remove-evidence[b-an6dt19667] {
    background: #ef4444;
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    right: -6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.btn-remove-evidence:hover[b-an6dt19667] {
    background: #dc2626;
}

/* ===== Footer Operations ===== */
.wizard-footer-bar[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.action-buttons[b-an6dt19667] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.submit-spinner[b-an6dt19667] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: submitSpin-b-an6dt19667 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes submitSpin-b-an6dt19667 {
    to { transform: rotate(360deg); }
}

.ho-btn-back[b-an6dt19667] {
    background: transparent;
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border-stronger);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ho-btn-back:hover[b-an6dt19667] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.btn-next-pink[b-an6dt19667] {
    background: #e84393;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(232, 67, 147, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-next-pink:hover:not(:disabled)[b-an6dt19667] {
    background: #d63080;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(232, 67, 147, 0.5);
}

.btn-next-pink:disabled[b-an6dt19667] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Toast de validación / notificación ===== */
.quick-toast[b-an6dt19667] {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: normal;
    max-width: 85%;
    text-align: center;
    word-break: break-word;
    animation: quickToastSlideIn-b-an6dt19667 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    cursor: pointer;
}

.quick-toast.quick-toast--error[b-an6dt19667] {
    background: linear-gradient(135deg, #1f2937, #450a0a);
    border: 1px solid #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.quick-toast.quick-toast--warning[b-an6dt19667] {
    background: linear-gradient(135deg, #0f172a, #451a03);
    border: 1px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.quick-toast.quick-toast--success[b-an6dt19667] {
    background: linear-gradient(135deg, #0f172a, #064e3b);
    border: 1px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    color: #34d399;
}

@keyframes quickToastSlideIn-b-an6dt19667 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.ho-fields[b-an6dt19667] { border: 0; padding: 0; margin: 0; min-width: 0; }
.ho-feedback-error[b-an6dt19667] { color: var(--st-danger-text); background: var(--st-danger-bg); border: 1px solid var(--st-danger-border); padding: 12px; border-radius: 8px; margin: 8px 0; font-size: 13px; }
.ho-feedback-retry[b-an6dt19667] { color: var(--st-text-brand); background: var(--st-surface); border: 1px solid var(--st-border-strong); border-radius: 8px; padding: 8px 12px; min-height: 36px; margin-left: 8px; cursor: pointer; }
.ho-feedback-retry:focus-visible[b-an6dt19667] { outline: 2px solid #d81b84; outline-offset: 2px; }

.ho-feedback-force[b-an6dt19667] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.ho-feedback-force:hover[b-an6dt19667] {
    background: #1d4ed8;
}
.btn-next-pink:disabled[b-an6dt19667], .ho-btn-back:disabled[b-an6dt19667] { cursor: wait; opacity: .65; }

.wizard-white-card[b-an6dt19667]  .st-panel-loading-text { color: var(--st-text-subtle); }
@media (prefers-reduced-motion: reduce) { .submit-spinner[b-an6dt19667], .wizard-white-card[b-an6dt19667]  .st-panel-loading-spinner { animation: none; } }

/* The vehicle changes place, or the card will not stay in the column where it was dropped. */
.quick-ho-place-note[b-an6dt19667] {
    margin: 0 0 8px;
    color: var(--st-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* «Ramas condicionales», phase C: the suggested branch is not taken with these answers; «Entregar» waits and the full handover is offered. */
.quick-ho-condition-off[b-an6dt19667] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.quick-ho-open-full[b-an6dt19667] {
    padding: 6px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    background: transparent;
    color: var(--st-danger-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.quick-ho-open-full:disabled[b-an6dt19667] {
    opacity: 0.6;
    cursor: default;
}
/* /Pages/Home/Components/HandOver/ReclaimModal.razor.rz.scp.css */
/* ===== Wizard Container — fills its parent (DynamicPanel expanded view) ===== */
/* NOTA: El efecto glassmorphism (fondo oscuro + blur) lo maneja el PADRE (expanded-card-view via :has)
   porque backdrop-filter no funciona dentro de overflow:hidden del contenedor padre.
   Este elemento debe permanecer transparente. */
.wizard-modal-glass[b-szifxvmksa] {
    background: transparent;
    border: none;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    animation: fadeIn-b-szifxvmksa 0.25s ease;
    position: relative;
    overflow: hidden;
    margin: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
}

/* === HUD Mode (3D Workshop Active) === */
/* El panel conserva su apariencia normal (fondo gris + blur del padre).
   Solo ajustamos pointer-events para que los clics pasen al mapa 3D
   fuera de la tarjeta blanca. */
.wizard-modal-glass.in-workshop[b-szifxvmksa] {
    border: none;
}

/* La tarjeta blanca mantiene su estilo normal en modo taller */



/* Header and footer keep their height; only the white card shrinks (and scrolls) when the panel is
   short, e.g. at 150 % zoom or on a 560px-high window. Same rule as HandOverModal.razor.css. */
.wizard-modal-glass > :not(.wizard-white-card)[b-szifxvmksa] {
    flex-shrink: 0;
}

/* ===== Header (Top Bar) ===== */
.wizard-top-bar[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 10px 24px;
    position: relative;
    z-index: 2;
}

.owner-card[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 120px;
    text-align: center;
}

.owner-avatar-wrapper[b-szifxvmksa] {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 4px; /* Space for border */
    background: linear-gradient(135deg, var(--st-fill-4), var(--st-fill-1));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.3);
}

.owner-avatar-wrapper.placeholder-style[b-szifxvmksa] {
    background: var(--st-fill-2);
    border: 2px dashed var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
.owner-avatar-wrapper.placeholder-style.filled[b-szifxvmksa] {
    border: none;
    background: linear-gradient(135deg, var(--st-fill-4), var(--st-fill-1));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.3);
}

.owner-img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.question-mark[b-szifxvmksa] {
    font-size: 28px;
    font-weight: 700;
    color: var(--st-text-muted);
}

.process-badge[b-szifxvmksa] {
    position: absolute;
    bottom: -4px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--st-surface);
    padding: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-badge img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.owner-info[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0; 
    overflow: hidden; 
    max-width: 100%; 
}

.owner-name[b-szifxvmksa] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display:block;
}

.owner-process[b-szifxvmksa] {
    font-size: 11px;
    color: var(--st-text-strong);
}

.owner-placeholder[b-szifxvmksa] {
    font-size: 11px;
    color: var(--st-text-strong);
    line-height: 1.2;
}

.asset-card-center[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 6px;
    width: 150px;
    height:170px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    z-index: 3;
    position: relative;
    top: -10px;
}

.asset-img[b-szifxvmksa] {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--st-surface-stronger);
}

.asset-plate[b-szifxvmksa] {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.dots-decoration[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 2px;
}

.dots-decoration .dot[b-szifxvmksa] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-surface-stronger);
}

.dots-decoration .dot.active[b-szifxvmksa] {
    background: var(--st-text-muted);
}

.chevron-right[b-szifxvmksa] {
    color: var(--st-text-muted);
    margin-left: 2px;
}

/* ===== Pill Orden / Aseguradora (reutilización de AssignmentModal) ===== */
.hc-order-pill[b-szifxvmksa] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eab308;
    border-radius: 10px;
    padding: 4px 10px 4px 4px;
    margin-top: 12px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    position: relative;
    z-index: 90;
    width: 100%;
    box-sizing: border-box;
}

.hc-order-pill.clickable[b-szifxvmksa] {
    cursor: pointer;
}

.hc-order-pill.clickable:not(.dropdown-open):hover[b-szifxvmksa] {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.hc-order-pill.clickable:not(.dropdown-open):active[b-szifxvmksa] {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Avatar encargado — izquierda */
.hop-worker-avatar[b-szifxvmksa] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.hop-worker-avatar img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hop-avatar-initials[b-szifxvmksa] {
    font-size: 10px;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
}

/* Centro: número + aseguradora */
.hop-center[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.hop-order-number[b-szifxvmksa] {
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.hop-insurer-name[b-szifxvmksa] {
    font-size: 9px;
    font-weight: 600;
    color: var(--st-text);
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Derecha: logo + badge */
.hop-right[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
    position: relative;
}

.hop-insurer-logo[b-szifxvmksa] {
    width: 32px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    color: #b45309;
}

.hop-insurer-logo img[b-szifxvmksa] {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.hop-count-badge[b-szifxvmksa] {
    position: absolute;
    bottom: -10px;
    right: -14px;
    background: #ffffff;
    color: #eab308;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0;
}

/* Dropdown de órdenes de trabajo */
.hop-wo-dropdown[b-szifxvmksa] {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    background: var(--st-surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 6px;
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: dropdownFadeIn-b-szifxvmksa 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hop-wo-dropdown[b-szifxvmksa]::-webkit-scrollbar {
    display: none;
}

@keyframes dropdownFadeIn-b-szifxvmksa {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hop-wo-item[b-szifxvmksa] {
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.hop-wo-item[b-szifxvmksa]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    height: 60%;
    width: 3px;
    background: #eab308;
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 0 4px 4px 0;
}

.hop-wo-item:hover[b-szifxvmksa] {
    background: var(--st-fill-3);
}

.hop-wo-item:hover[b-szifxvmksa]::before {
    transform: translateY(-50%) scaleY(0.7);
    background: var(--st-border-stronger);
}

.hop-wo-item.active[b-szifxvmksa] {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.15) 0%, rgba(234, 179, 8, 0.03) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.hop-wo-item.active[b-szifxvmksa]::before {
    transform: translateY(-50%) scaleY(1);
    background: #eab308;
}

.hop-wo-number[b-szifxvmksa] {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-text-strong) !important;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
    z-index: 1;
}

.hop-wo-insurance[b-szifxvmksa] {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--st-text-muted) !important;
    z-index: 1;
}

.hop-wo-item.active .hop-wo-number[b-szifxvmksa] {
    color: var(--st-gold-text) !important;
}

.hop-wo-item.active .hop-wo-insurance[b-szifxvmksa] {
    color: var(--st-text-strong) !important;
}

.hop-wo-backdrop[b-szifxvmksa] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: transparent;
}

/* ===== Close Button Overlay ===== */
.top-close-btn[b-szifxvmksa] {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--st-fill-4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    transition: all 0.2s ease;
}
.top-close-btn:hover[b-szifxvmksa] {
    background: var(--st-fill-5);
}
.top-close-btn svg[b-szifxvmksa] {
    color: var(--st-text-subtle);
}

/* ===== Main White Content Area ===== */
.wizard-white-card[b-szifxvmksa] {
    background: var(--st-surface);
    border-radius: 20px;
    margin: 0 6px;
    padding: 19px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    /* min-height 0 (not 380px): with browser zoom or a short window the card must shrink and scroll
       inside, so the footer with «Confirmar reclamo» always stays reachable instead of being clipped. */
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1; /* Ocultar barra de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    /* Chrome, Safari, Opera */
    .wizard-white-card[b-szifxvmksa]::-webkit-scrollbar {
        display: none;
    }

.step-content[b-szifxvmksa] {
    animation: fadeSlideIn-b-szifxvmksa 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ho-step-title[b-szifxvmksa] {
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.2px;
}

.ho-step-subtitle[b-szifxvmksa] {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: var(--st-text-muted);
    margin-top: -12px;
    margin-bottom: 20px;
}

/* Tabs Simulation */
.tabs-sim[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.ho-tab[b-szifxvmksa] {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
}
    .ho-tab.active[b-szifxvmksa] {
        background: #e5b900;
        color: #fff;
        box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
    }

.search-sim[b-szifxvmksa] {
    background: var(--st-surface-sunken);
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid transparent;
}
.search-sim:focus-within[b-szifxvmksa] {
    border-color: var(--st-border-strong);
}
.ho-search-input[b-szifxvmksa] {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--st-text);
}
.ho-search-input[b-szifxvmksa]::placeholder {
    color: var(--st-text-muted);
}

/* Grid & Cards */
.person-grid[b-szifxvmksa], .ho-person-grid[b-szifxvmksa] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-bottom: 12px;
}

.person-card-squared[b-szifxvmksa], .ho-person-card[b-szifxvmksa] {
    background: #94a3b8; /* Exact color from Figma */
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .person-card-squared.selected[b-szifxvmksa] {
        border-color: #e5b900;
        box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
        transform: translateY(-2px);
        background: #e5b900;
    }

    .person-card-squared.suggested:not(.selected)[b-szifxvmksa] {
        border-color: #e5b900;
        box-shadow: 0 0 10px rgba(229, 185, 0, 0.4);
    }

.person-card-squared:hover[b-szifxvmksa] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.person-avatar-circle[b-szifxvmksa] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.person-avatar-circle img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder.person-icon[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.process-avatar-circle[b-szifxvmksa] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-avatar-circle img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.avatar-placeholder.process-icon[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}
/* Icono generico de proceso (SVG blanco): se oscurece para verse sobre el fondo blanco */
.process-avatar-circle img.process-fallback-img[b-szifxvmksa] {
    width: 55%;
    height: 55%;
    filter: invert(0.5);
}

.person-card-name[b-szifxvmksa] {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
}

.person-stats-row[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.stat-pill[b-szifxvmksa] {
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
}

.stat-pill.white[b-szifxvmksa] {
    background: #fff;
    color: #64748b;
}

.person-card-squared.add-btn[b-szifxvmksa] {
    background: var(--st-surface-sunken);
    border: 2px dashed var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}
.person-card-squared.add-btn svg[b-szifxvmksa] {
    color: var(--st-text-muted);
    width: 48px;
    height: 48px;
}
.person-card-squared.add-btn:hover[b-szifxvmksa] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
}

/* Specific Person Card Styles (Step Person) */
.ho-person-card[b-szifxvmksa] {
    background: #94a3b8;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 145px;
    position: relative;
}

.ho-person-card:hover[b-szifxvmksa] {
    background: #3d5e8c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ho-person-card.selected[b-szifxvmksa] {
    background: #e5b900;
    border-color: #e5b900;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35);
    transform: translateY(-2px);
}

.ho-person-card.suggested:not(.selected)[b-szifxvmksa] {
    border-color: #e5b900;
    box-shadow: 0 0 10px rgba(229, 185, 0, 0.4);
}

.ho-pc-avatar[b-szifxvmksa] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden; 
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 4px;
}

.ho-pc-avatar img[b-szifxvmksa] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ho-pc-initials[b-szifxvmksa] {
    font-size: 18px;
    font-weight: 700;
    color: #4a6fa5;
}

.ho-pc-info[b-szifxvmksa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    flex: 1;
}

.ho-pc-name[b-szifxvmksa] {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    max-height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ho-pc-role[b-szifxvmksa] {
    font-size: 9px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-top: 2px;
}

/* Badges footer: workload + counts */
.ho-pc-footer[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 6px;
    gap: 4px;
}

.ho-pc-workload[b-szifxvmksa] {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,0.18);
    border-radius: 8px;
    padding: 2px 6px;
    white-space: nowrap;
}

.ho-person-card.selected .ho-pc-workload[b-szifxvmksa] {
    background: rgba(0,0,0,0.2);
    color: #fff;
}

.ho-pc-count-badge[b-szifxvmksa] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 2px 6px;
}

.ho-pc-count-badge b[b-szifxvmksa] {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.ho-pc-count-badge small[b-szifxvmksa] {
    font-size: 9px;
    color: rgba(255,255,255,0.75);
}

/* Punto verde de sugerido */
.ho-pc-suggested-dot[b-szifxvmksa] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34,197,94,0.6);
}

.ho-invite-card[b-szifxvmksa] {
    justify-content: center;
    border: 2px dashed var(--st-border-stronger);
    background: var(--st-fill-2);
    color: var(--st-text-muted);
    min-height: 145px;
}

.ho-invite-card:hover[b-szifxvmksa] {
    background: var(--st-fill-4);
    border-color: var(--st-border-stronger);
    color: var(--st-text-muted);
}


/* Form Inputs (for Form Step inside white card) */
.ho-form-group[b-szifxvmksa] {
    margin-bottom: 20px;
}
.ho-label[b-szifxvmksa] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
    margin-bottom: 8px;
}
.ho-select[b-szifxvmksa], .ho-textarea[b-szifxvmksa] {
    width: 100%;
    padding: 12px 16px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    color: var(--st-text);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}
.ho-select:focus[b-szifxvmksa], .ho-textarea:focus[b-szifxvmksa] {
    border-color: #3b82f6;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.ho-textarea[b-szifxvmksa] {
    min-height: 100px;
    resize: vertical;
}


/* Empty States */
.ho-empty-state[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.ho-empty-state.ho-small[b-szifxvmksa] {
    padding: 12px;
    font-size: 12px;
}

/* ===== Summary (Resume Step — inside CenterDialog) ===== */
.ho-summary-row[b-szifxvmksa] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
}

.ho-summary-row:last-child[b-szifxvmksa] {
    border-bottom: none;
}

.ho-summary-label[b-szifxvmksa] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.ho-summary-value[b-szifxvmksa] {
    font-size: 13px;
    font-weight: 400;
    color: var(--st-text-strong);
    text-align: right;
    max-width: 55%;
    word-break: break-word;
}

/* ===== Location 3D Step ===== */
.ho-location-content[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 40px 20px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* ===== Footer Operations ===== */
.wizard-footer-bar[b-szifxvmksa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: transparent;
}

.step-timeline-bar[b-szifxvmksa] {
    display: flex;
    align-items: center;
    gap: 1px;
}

.timeline-node[b-szifxvmksa] {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-stronger);
    /* White glyph: readable on the gray node of both themes and on the magenta/gold states. */
    color: #fff;
    transition: all 0.3s;
    position: relative;
}

.timeline-node.completed[b-szifxvmksa] {
    background: #fe00e4;
}

.timeline-node.active[b-szifxvmksa] {
    background: #e5b900;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

.timeline-line[b-szifxvmksa] {
    width: 24px;
    height: 2px;
    background: var(--st-fill-6);
}

.btn-next-pink[b-szifxvmksa] {
    background: #e84393;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 10px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(232, 67, 147, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-next-pink:hover:not(:disabled)[b-szifxvmksa] {
    background: #d63080;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.5);
}

.btn-next-pink:disabled[b-szifxvmksa] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ho-btn-back[b-szifxvmksa] {
    background: transparent;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-strong);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.ho-btn-back:hover[b-szifxvmksa] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}
.ho-btn-back:disabled[b-szifxvmksa] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* New Buttons */
.ho-btn-confirm[b-szifxvmksa], .ho-btn-confirm-loc[b-szifxvmksa] {
    background: #eab308;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
    transition: all 0.2s;
}

.ho-btn-confirm:hover[b-szifxvmksa], .ho-btn-confirm-loc:hover[b-szifxvmksa] {
    background: #d97706;
    transform: translateY(-1px);
}

.ho-btn-3d[b-szifxvmksa] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border-strong);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
}

.ho-btn-3d:hover[b-szifxvmksa] {
    background: var(--st-fill-5);
}

.ho-btn-cancel[b-szifxvmksa] {
    background: transparent;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.ho-btn-cancel:hover[b-szifxvmksa] {
    background: var(--st-surface-sunken);
}


/* Animations */
@keyframes fadeIn-b-szifxvmksa {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp-b-szifxvmksa {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeSlideIn-b-szifxvmksa {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Validation Toast */
.validation-toast-overlay[b-szifxvmksa] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.validation-toast[b-szifxvmksa] {
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    max-width: 80%;
    animation: toastSlideUp-b-szifxvmksa 0.3s ease-out;
    pointer-events: auto;
}

.validation-toast.validation-toast--error[b-szifxvmksa] {
    background: linear-gradient(135deg, #1f2937, #450a0a);
    border: 1px solid #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.validation-toast.validation-toast--warning[b-szifxvmksa] {
    background: linear-gradient(135deg, #0f172a, #451a03);
    border: 1px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.validation-toast.validation-toast--success[b-szifxvmksa] {
    background: linear-gradient(135deg, #0f172a, #064e3b);
    border: 1px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    color: #34d399;
}

@keyframes toastSlideUp-b-szifxvmksa {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Pages/Home/Components/InboxPanel.razor.rz.scp.css */
/* InboxPanel.razor.css - Styles matching Figma design */

/* Main Container */
.inbox-panel-container[b-bx2pro5onx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    /* Required for nested flex scroll */
}

/* Search Wrapper */
.inbox-search-wrapper[b-bx2pro5onx] {
    padding: 12px 12px 12px 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Keep static, don't scroll */
}

/* Toggle button to switch between Inbox and Table views */
.view-toggle-btn[b-bx2pro5onx] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-5);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--st-text-subtle);
    transition: all 0.2s ease;
    padding: 0;
}

.view-toggle-btn:hover[b-bx2pro5onx] {
    background: var(--st-fill-7);
    color: var(--st-text-strong);
}

.inbox-search[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    background: var(--st-fill-5);
    border-radius: 12px;
    padding: 8px 12px;
    gap: 8px;
    flex: 1;
    width: 100%;
}

.search-icon[b-bx2pro5onx] {
    width: 18px;
    height: 18px;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.search-input[b-bx2pro5onx] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-text-strong);
    font-size: 14px;
}

.search-input[b-bx2pro5onx]::placeholder {
    color: var(--st-text-muted);
    font-weight: 400;
}

.clear-search[b-bx2pro5onx] {
    width: 20px;
    height: 20px;
    background: var(--st-fill-6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.clear-search:hover[b-bx2pro5onx] {
    background: var(--st-fill-7);
}

.clear-search svg[b-bx2pro5onx] {
    width: 12px;
    height: 12px;
    color: var(--st-text-strong);
}

/* Main Filters Row */
.inbox-filters-row[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px 10px 12px;
    flex-shrink: 0;
    /* Keep static, don't scroll */
}

.filter-count-btn[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    max-width: 220px;
    min-width: 0;
}

.filter-count-btn.active[b-bx2pro5onx] {
    background: var(--st-surface);
}

.filter-count-btn.active .filter-count[b-bx2pro5onx],
.filter-count-btn.active .filter-label[b-bx2pro5onx],
.filter-count-btn.active .dropdown-arrow[b-bx2pro5onx] {
    color: var(--st-text-brand);
}

/* Una sola empresa en la sede (Massy): la misma píldora del selector, sin flecha ni menú. */
.filter-count-btn.partner-fixed[b-bx2pro5onx] {
    cursor: default;
}

/* min-width:0 es OBLIGATORIO, no decorativo: por defecto un hijo flex no encoge por debajo de su
   contenido (min-width:auto), así que overflow+ellipsis nunca llegan a activarse y el botón
   desborda su max-width igual. Es el motivo #1 por el que "el ellipsis no funciona" en flexbox. */
.filter-count[b-bx2pro5onx] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.filter-label[b-bx2pro5onx] {
    font-size: 14px;
    color: var(--st-text-brand);
}

.dropdown-arrow[b-bx2pro5onx] {
    width: 14px;
    height: 14px;
    color: var(--st-text-brand);
    flex-shrink: 0;
}

.filter-sort-btn[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--st-fill-5);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--st-text-strong);
    font-size: 14px;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-sort-btn:hover[b-bx2pro5onx] {
    background: var(--st-fill-7);
}

.sort-direction-btn[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--st-fill-5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--st-text-strong);
    transition: background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.sort-direction-btn:hover[b-bx2pro5onx] {
    background: var(--st-fill-7);
}

.sort-direction-btn svg[b-bx2pro5onx] {
    width: 16px;
    height: 16px;
}

.action-buttons[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.info-btn[b-bx2pro5onx],
.refresh-btn[b-bx2pro5onx] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.info-btn:hover[b-bx2pro5onx],
.refresh-btn:hover:not(:disabled)[b-bx2pro5onx] {
    background: var(--st-fill-4);
}

.info-btn svg[b-bx2pro5onx],
.refresh-btn svg[b-bx2pro5onx] {
    width: 20px;
    height: 20px;
    color: var(--st-text-subtle);
}

.refresh-btn:disabled[b-bx2pro5onx] {
    opacity: 0.5;
    cursor: not-allowed;
}

.refresh-btn:disabled svg[b-bx2pro5onx] {
    animation: spin-b-bx2pro5onx 1s linear infinite;
}

/* Sub-filters (Pills) */
.inbox-subfilters[b-bx2pro5onx] {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px 12px 12px;
    flex-shrink: 0;
    overflow-x: auto;
    /* Hide scrollbar but keep scroll functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Better touch scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Allow drag scrolling */
    cursor: grab;
}

.inbox-subfilters:active[b-bx2pro5onx] {
    cursor: grabbing;
}

.inbox-subfilters[b-bx2pro5onx]::-webkit-scrollbar {
    display: none;
}

.filter-pill[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--st-surface);
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-pill:hover[b-bx2pro5onx] {
    background: #264a73;
}

.filter-pill.active[b-bx2pro5onx] {
    background: linear-gradient(135deg, #e5b900 0%, #e5b900 100%);
    color: white;
    font-weight: 600;
}

/* Asset Groups */
.inbox-groups[b-bx2pro5onx] {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px 12px 8px;
    min-height: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.inbox-groups[b-bx2pro5onx]::-webkit-scrollbar {
    display: none;
}

/* Asset Group Row (new MAUI-style layout) */
.asset-group-row[b-bx2pro5onx] {
    margin-bottom: 4px;
}

.asset-group-row.inactive[b-bx2pro5onx] {
    opacity: 0.7;
}

.group-row-btn[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #9aa1ab;
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.group-row-btn:hover[b-bx2pro5onx] {
    background: linear-gradient(135deg, var(--st-surface) 0%, var(--st-surface) 100%);
    border-color: var(--st-border-strong);
}

.group-icon-wrapper[b-bx2pro5onx] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--st-border-strong);
    background: var(--st-surface);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Asegura que la imagen no se desborde del círculo */
}

/* Imágenes de Pestaña PROCESOS */
.filter-procesos .group-icon-wrapper[b-bx2pro5onx] {
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
}

.filter-procesos .group-icon-img[b-bx2pro5onx] {
    width: 100%;
    /* El dibujo del icono ya trae su propio margen: la imagen llena todo el interior del círculo */
    height: 100%;
    object-fit: contain;
    /* Ajusta sin recortar */
    border-radius: 0;
}

/* Imágenes de Personas y Asesores */
.filter-personas .group-icon-img[b-bx2pro5onx],
.filter-asesores .group-icon-img[b-bx2pro5onx] {
    width: 40px;
    /* Tamaño completo que abarca el contenedor redondo */
    height: 40px;
    object-fit: cover;
    /* Recorta para llenar como una foto de perfil redonda */
    border-radius: 50%;
}

/* Imágenes de Aseguradoras – adaptadas para ver los logotipos completos con fondo blanco */
.filter-aseguradoras .group-icon-img[b-bx2pro5onx] {
    width: 40px;
    height: 40px;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: var(--st-surface);
}


.group-icon-placeholder[b-bx2pro5onx] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--st-border-strong);
    background: linear-gradient(135deg, var(--st-fill-5) 0%, var(--st-fill-3) 100%);
}

.group-icon-placeholder svg[b-bx2pro5onx] {
    width: 28px;
    height: 28px;
    color: var(--st-text-muted);
}

.group-info[b-bx2pro5onx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.group-title[b-bx2pro5onx] {
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text-strong);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.inactive-badge[b-bx2pro5onx] {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-count-badge[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(229, 185, 0, 0.9) 0%, rgba(229, 185, 0, 0.7) 100%);
    border-radius: 14px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.worker-count-badges[b-bx2pro5onx] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
    margin-left: auto;
    flex-shrink: 0;
}

.worker-badge-in-process[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    background: #8E8EA0;
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.worker-badge-pending[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    background: #AF52DE;
    color: white;
    font-size: 11px;
    font-weight: 600;
}

/* Original dropdown style content (no left margin) */
.group-content-original[b-bx2pro5onx] {
    padding: 12px 4px;
    border-radius: 15px;
    margin-top: 10px;
}

.group-content-original[b-bx2pro5onx]::-webkit-scrollbar {
    display: none;
}

/* Row style content (with left margin for icon alignment) */
.group-content-row[b-bx2pro5onx] {
    padding: 12px 4px;
    margin-left: auto;
}

/* Legacy styles (keep for compatibility) */
.asset-group[b-bx2pro5onx] {
    margin-bottom: 8px;
}

.group-header[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--st-fill-3);
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.group-header:hover[b-bx2pro5onx] {
    background: var(--st-fill-4);
}

.group-count[b-bx2pro5onx] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.group-arrow[b-bx2pro5onx] {
    width: 18px;
    height: 18px;
    color: var(--st-text-muted);
    transition: transform 0.2s;
    margin-left: auto;
}

.group-arrow.expanded[b-bx2pro5onx] {
    transform: rotate(180deg);
}

/* Assets Grid */
.assets-grid[b-bx2pro5onx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    justify-items: center;
}

/* Loading State */
.inbox-loading[b-bx2pro5onx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
    color: var(--st-text-subtle);
}

.loading-spinner[b-bx2pro5onx] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border-strong);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-bx2pro5onx 1s linear infinite;
}

/* Terminal load failure: keep it visually distinct from both loading and an empty inbox. */
.inbox-error[b-bx2pro5onx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--st-text);
    text-align: center;
}

.inbox-error > span[b-bx2pro5onx] {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.5;
}

.inbox-error-icon[b-bx2pro5onx] {
    width: 44px;
    height: 44px;
    color: #f6c453;
}

.inbox-retry-btn[b-bx2pro5onx] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: #d81b84;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inbox-retry-btn:hover:not(:disabled)[b-bx2pro5onx] {
    background: #eb5bb6;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.3);
}

.inbox-retry-btn:focus-visible[b-bx2pro5onx],
.refresh-btn:focus-visible[b-bx2pro5onx] {
    outline: 2px solid #dea301;
    outline-offset: 2px;
}

.inbox-retry-btn:disabled[b-bx2pro5onx] {
    cursor: not-allowed;
    opacity: 0.65;
}

.inbox-retry-btn svg[b-bx2pro5onx] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@keyframes spin-b-bx2pro5onx {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-spinner[b-bx2pro5onx],
    .refresh-btn:disabled svg[b-bx2pro5onx] {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }

    .inbox-retry-btn[b-bx2pro5onx] {
        transition-duration: 0.01ms;
    }
}

/* Empty State */
.inbox-empty[b-bx2pro5onx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--st-text-muted);
}

.inbox-empty svg[b-bx2pro5onx] {
    width: 48px;
    height: 48px;
}

.inbox-empty span[b-bx2pro5onx] {
    font-size: 14px;
}

/* Cross-filter hint (sugiere cambiar de Míos↔Todos) */
.cross-filter-message[b-bx2pro5onx] {
    font-size: 13px;
    color: var(--st-text-subtle);
    text-align: center;
    line-height: 1.5;
}

.cross-filter-message strong[b-bx2pro5onx] {
    color: var(--st-text);
}

.cross-filter-btn[b-bx2pro5onx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e5b900 0%, #d4a800 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(229, 185, 0, 0.3);
}

.cross-filter-btn:hover[b-bx2pro5onx] {
    background: linear-gradient(135deg, #f0c400 0%, #e5b900 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.45);
}

.cross-filter-btn:active[b-bx2pro5onx] {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(229, 185, 0, 0.3);
}

/* Inactive group indicator */
.group-inactive-badge[b-bx2pro5onx] {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Enhanced group header for "Todos" mode */
.group-header-enhanced[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--st-fill-4) 0%, var(--st-fill-2) 100%);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.group-header-enhanced:hover[b-bx2pro5onx] {
    background: linear-gradient(135deg, var(--st-fill-5) 0%, var(--st-fill-3) 100%);
    border-color: var(--st-border-strong);
}

.group-info .group-subtitle[b-bx2pro5onx] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.group-info .group-inactive-warning[b-bx2pro5onx] {
    color: var(--st-warning-text);
    white-space: normal;
    text-align: left;
}

/* Filter Dropdown */
.filter-dropdown-wrapper[b-bx2pro5onx] {
    position: relative;
    z-index: 50;
}

.filter-dropdown-menu[b-bx2pro5onx] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 200px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--st-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn-b-bx2pro5onx 0.2s ease-out;
}

.dropdown-item[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-item:hover[b-bx2pro5onx] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.dropdown-item.selected[b-bx2pro5onx] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
    font-weight: 600;
}

.check-icon[b-bx2pro5onx] {
    width: 16px;
    height: 16px;
    color: #ffd700;
    /* Yellow */
}

@keyframes fadeIn-b-bx2pro5onx {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay for click-outside behavior */
.dropdown-overlay[b-bx2pro5onx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 49;
    background: transparent;
    cursor: default;
}

/* BT-P2: the list could not be refreshed; it stays usable under this non-blocking warning. */
.inbox-stale[b-bx2pro5onx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 8px 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(246, 196, 83, 0.45);
    background: rgba(246, 196, 83, 0.12);
    color: var(--st-text);
    font-size: 12px;
    line-height: 1.4;
}

.inbox-stale-retry[b-bx2pro5onx] {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #f6c453;
    font-weight: 600;
    cursor: pointer;
}

.inbox-stale-retry:disabled[b-bx2pro5onx] {
    opacity: 0.5;
    cursor: default;
}
/* /Pages/Home/Components/Inbox/InboxSummaryCards.razor.rz.scp.css */
.inbox-summary-container[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header */
.inbox-summary-header[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inbox-summary-heading-row[b-c64eo436vn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.inbox-summary-title[b-c64eo436vn] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.inbox-summary-desc[b-c64eo436vn] {
    margin: 4px 0 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.inbox-summary-scope-badge[b-c64eo436vn] {
    padding: 4px 10px;
    background: rgba(242, 169, 0, 0.12);
    border: 1px solid rgba(242, 169, 0, 0.35);
    border-radius: 9999px;
    color: #f2a900;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Totals Card: an opaque surface on the glass panel, so it carries data-st-theme="page" (see the .razor) and takes
   its colors from the --st-* tokens: navy in dark mode, white in light mode. */
.inbox-summary-totals-card[b-c64eo436vn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: var(--st-shadow-sm);
}

.totals-main-metric[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.totals-metric-number[b-c64eo436vn] {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1;
}

.totals-metric-label[b-c64eo436vn] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
}

.totals-filter-chips[b-c64eo436vn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.filter-chip[b-c64eo436vn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-chip:hover[b-c64eo436vn] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.filter-chip.active[b-c64eo436vn] {
    background: var(--st-accent-bg);
    border-color: var(--st-accent-border);
    color: var(--st-text-strong);
}

.chip-dot[b-c64eo436vn] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-delayed[b-c64eo436vn] { background: #dc3545; box-shadow: 0 0 6px rgba(220, 53, 69, 0.5); }
.dot-at-risk[b-c64eo436vn] { background: #ffc107; box-shadow: 0 0 6px rgba(255, 193, 7, 0.5); }
.dot-on-time[b-c64eo436vn] { background: #28a745; box-shadow: 0 0 6px rgba(40, 167, 69, 0.5); }
.dot-stopped[b-c64eo436vn] { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.5); }

.chip-badge[b-c64eo436vn] {
    padding: 1px 6px;
    background: var(--st-fill-3);
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Grid & Cards */
.inbox-summary-grid[b-c64eo436vn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.summary-node-card[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: var(--st-shadow-sm);
    min-height: 150px;
}

.summary-node-card:hover[b-c64eo436vn] {
    transform: translateY(-2px);
    border-color: rgba(224, 30, 90, 0.4);
    box-shadow: var(--st-shadow-md), 0 0 12px rgba(224, 30, 90, 0.15);
}

.summary-node-card:focus-visible[b-c64eo436vn] {
    outline: 2px solid #e01e5a;
    outline-offset: 2px;
}

.node-card-header[b-c64eo436vn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.node-card-title-col[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.node-card-name[b-c64eo436vn] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-card-company[b-c64eo436vn] {
    font-size: 0.72rem;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-card-zoom-icon[b-c64eo436vn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.summary-node-card:hover .node-card-zoom-icon[b-c64eo436vn] {
    background: rgba(224, 30, 90, 0.15);
    color: #e01e5a;
    transform: translateX(2px);
}

.node-card-body[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.node-total-row[b-c64eo436vn] {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.node-total-count[b-c64eo436vn] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1;
}

.node-total-label[b-c64eo436vn] {
    font-size: 0.72rem;
    color: var(--st-text-subtle);
}

/* Distribution Bar */
.node-distribution-bar[b-c64eo436vn] {
    display: flex;
    height: 6px;
    width: 100%;
    border-radius: 9999px;
    overflow: hidden;
    background: var(--st-fill-3);
}

.bar-segment[b-c64eo436vn] {
    height: 100%;
    transition: width 0.3s ease;
}

.segment-delayed[b-c64eo436vn] { background: #dc3545; }
.segment-at-risk[b-c64eo436vn] { background: #ffc107; }
.segment-on-time[b-c64eo436vn] { background: #28a745; }
.segment-stopped[b-c64eo436vn] { background: #3b82f6; }
.segment-empty[b-c64eo436vn] { background: var(--st-fill-3); }

/* Badges */
.node-status-badges[b-c64eo436vn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.status-badge[b-c64eo436vn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
}

.badge-dot[b-c64eo436vn] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-delayed[b-c64eo436vn] { background: var(--st-danger-bg); color: var(--st-danger-fg); border: 1px solid var(--st-danger-border); }
.badge-at-risk[b-c64eo436vn] { background: var(--st-warning-bg); color: var(--st-warning-fg); border: 1px solid var(--st-warning-border); }
.badge-on-time[b-c64eo436vn] { background: var(--st-success-bg); color: var(--st-success-fg); border: 1px solid var(--st-success-border); }
.badge-stopped[b-c64eo436vn] { background: var(--st-info-bg); color: var(--st-info-fg); border: 1px solid var(--st-info-border); }

/* Footer */
.node-card-footer[b-c64eo436vn] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--st-border-subtle);
}

.explore-hint[b-c64eo436vn] {
    font-size: 0.68rem;
    font-weight: 600;
    /* Brand gold in dark mode; the readable gold text token on the white card in light mode. */
    color: color-mix(in srgb, var(--st-gold-text) calc(var(--st-is-light) * 100%), #f2a900);
    transition: color 0.15s ease;
}

.summary-node-card:hover .explore-hint[b-c64eo436vn] {
    color: #e01e5a;
}

/* Loading & Empty States */
.inbox-summary-loading[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 16px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.spinner[b-c64eo436vn] {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #f2a900;
    border-radius: 50%;
    animation: spin-b-c64eo436vn 0.8s linear infinite;
}

@keyframes spin-b-c64eo436vn {
    to { transform: rotate(360deg); }
}

.inbox-summary-empty[b-c64eo436vn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 16px;
    text-align: center;
}

.empty-title[b-c64eo436vn] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
}

.empty-desc[b-c64eo436vn] {
    font-size: 0.78rem;
    color: #94a3b8;
    max-width: 300px;
}
/* /Pages/Home/Components/Integration/IntegrationDashboardPanel.razor.rz.scp.css */
/* ============================================================
   IntegrationDashboardPanel — encabezado y navegación estilo GitHub
   Paleta: tokens --st-* (theme.css) para fondos, bordes y texto;
           #e5b900 (dorado de marca) solo para el tab activo.
   ============================================================ */

.idp-root[b-krepaffmqx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--st-surface);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    border-radius: 30px;
}

/* ── Header ─────────────────────────────────────────────────── */
.idp-header[b-krepaffmqx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px 8px;
    background: var(--st-canvas);
    flex-shrink: 0;
}

.idp-header-left[b-krepaffmqx] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.idp-logo[b-krepaffmqx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-secondary);
    flex-shrink: 0;
}

.idp-header-text[b-krepaffmqx] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.idp-title[b-krepaffmqx] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--st-text-strong);
}

.idp-subtitle[b-krepaffmqx] {
    font-size: 13px;
    line-height: 1.4;
    color: var(--st-text-subtle);
}

/* ── Header actions ─────────────────────────────────────────── */
.idp-header-actions[b-krepaffmqx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.idp-action-btn[b-krepaffmqx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.idp-action-btn svg[b-krepaffmqx] {
    flex-shrink: 0;
    color: var(--st-text-muted);
}

.idp-action-btn:hover[b-krepaffmqx] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
}

/* Botones unidos (ButtonGroup) */
.idp-btn-group[b-krepaffmqx] {
    display: inline-flex;
}

.idp-btn-group .idp-action-btn[b-krepaffmqx] {
    border-radius: 0;
}

.idp-btn-group .idp-action-btn:first-child[b-krepaffmqx] {
    border-radius: 6px 0 0 6px;
}

.idp-btn-group .idp-action-btn:last-child[b-krepaffmqx] {
    border-radius: 0 6px 6px 0;
}

.idp-btn-group .idp-action-btn + .idp-action-btn[b-krepaffmqx] {
    margin-left: -1px;
}

.idp-btn-group .idp-action-btn:hover[b-krepaffmqx],
.idp-btn-group .idp-action-btn:focus-visible[b-krepaffmqx] {
    z-index: 1;
}

/* Botón solo ícono (Cerrar) */
.idp-icon-btn[b-krepaffmqx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.idp-icon-btn:hover[b-krepaffmqx] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

/* Chevron rotation */
.idp-chevron[b-krepaffmqx] {
    transition: transform 0.2s ease;
}

.idp-chevron-up[b-krepaffmqx] {
    transform: rotate(180deg);
}

/* ── Dropdown (ActionMenu) ──────────────────────────────────── */
.idp-dropdown-wrap[b-krepaffmqx] {
    position: relative;
}

.idp-dropdown-menu[b-krepaffmqx] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 232px;
    padding: 8px 0;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 1px 3px rgba(0, 0, 0, 0.12);
    z-index: 200;
    animation: idp-dropdown-in-b-krepaffmqx 0.12s ease-out;
}

@keyframes idp-dropdown-in-b-krepaffmqx {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.idp-dropdown-item[b-krepaffmqx] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--st-text);
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.idp-dropdown-item svg[b-krepaffmqx] {
    flex-shrink: 0;
    color: var(--st-text-muted);
}

.idp-dropdown-item:hover[b-krepaffmqx] {
    background: var(--st-fill-3);
}

.idp-dropdown-group-title[b-krepaffmqx] {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.idp-dropdown-divider[b-krepaffmqx] {
    height: 1px;
    margin: 8px 0;
    background: var(--st-border);
}

/* ── Navegación subrayada (UnderlineNav) ────────────────────── */
.idp-tabs-container[b-krepaffmqx] {
    display: flex;
    padding: 0 16px;
    background: var(--st-canvas);
    border-bottom: 1px solid var(--st-border);
    flex-shrink: 0;
}

.idp-tabs[b-krepaffmqx] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.idp-tab-btn[b-krepaffmqx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.idp-tab-btn svg[b-krepaffmqx] {
    flex-shrink: 0;
    color: var(--st-text-muted);
}

.idp-tab-btn:hover[b-krepaffmqx] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

/* Línea del tab activo: se monta sobre el borde inferior del contenedor */
.idp-tab-btn[b-krepaffmqx]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 6px;
    background: transparent;
    pointer-events: none;
}

.idp-tab-btn.active[b-krepaffmqx] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.idp-tab-btn.active svg[b-krepaffmqx] {
    color: var(--st-text-secondary);
}

.idp-tab-btn.active[b-krepaffmqx]::after {
    background: #e5b900;
}

/* Reserva el ancho en negrita para que el tab no salte al activarse */
.idp-tab-label[b-krepaffmqx] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.idp-tab-label[b-krepaffmqx]::before {
    content: attr(data-content);
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
}

.idp-action-btn:focus-visible[b-krepaffmqx],
.idp-icon-btn:focus-visible[b-krepaffmqx],
.idp-tab-btn:focus-visible[b-krepaffmqx] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* ── Content area ───────────────────────────────────────────── */
.idp-content[b-krepaffmqx] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: var(--st-surface);
}

/* Scrollbar styling */
.idp-content[b-krepaffmqx]::-webkit-scrollbar {
    width: 6px;
}

.idp-content[b-krepaffmqx]::-webkit-scrollbar-track {
    background: transparent;
}

.idp-content[b-krepaffmqx]::-webkit-scrollbar-thumb {
    background: var(--st-scrollbar-thumb);
    border-radius: 3px;
}

.idp-content[b-krepaffmqx]::-webkit-scrollbar-thumb:hover {
    background: var(--st-text-subtle);
}

.permission-disabled[b-krepaffmqx],
.permission-disabled:hover[b-krepaffmqx],
.permission-disabled:active[b-krepaffmqx] {
    opacity: 0.42;
    filter: grayscale(1);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.permission-disabled:focus-visible[b-krepaffmqx] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.idp-access-message[b-krepaffmqx] {
    display: grid;
    min-height: 160px;
    place-items: center;
    color: var(--st-text-subtle);
    padding: 24px;
    text-align: center;
}

@media (max-width: 760px) {
    .idp-header[b-krepaffmqx] {
        flex-wrap: wrap;
        padding: 12px 16px 8px;
    }

    .idp-header-actions[b-krepaffmqx] {
        flex-wrap: wrap;
    }

    .idp-tabs-container[b-krepaffmqx] {
        padding: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .permission-disabled[b-krepaffmqx],
    .idp-action-btn[b-krepaffmqx],
    .idp-icon-btn[b-krepaffmqx],
    .idp-tab-btn[b-krepaffmqx],
    .idp-dropdown-item[b-krepaffmqx],
    .idp-chevron[b-krepaffmqx] {
        transition-duration: 0.01ms !important;
    }

    .idp-dropdown-menu[b-krepaffmqx] {
        animation-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Integration/IntegrationHistoryPanel.razor.rz.scp.css */
/* ============================================================
   IntegrationHistoryPanel — lista de ejecuciones estilo GitHub Actions
   Neutros desde tokens --st-* (theme.css); estados con los tokens
   semánticos de éxito / advertencia / error / info.
   ============================================================ */

.ih-panel[b-0shlhts12d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--st-surface);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    color: var(--st-text-body);
}

.ih-body-scroll[b-0shlhts12d] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
}

.ih-body-scroll[b-0shlhts12d]::-webkit-scrollbar {
    width: 8px;
}

.ih-body-scroll[b-0shlhts12d]::-webkit-scrollbar-track {
    background: transparent;
}

.ih-body-scroll[b-0shlhts12d]::-webkit-scrollbar-thumb {
    background: var(--st-scrollbar-thumb);
    border-radius: 4px;
}

/* ---- Encabezado de la vista ---- */
.ih-subhead[b-0shlhts12d] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ih-subhead-title[b-0shlhts12d] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--st-text-strong);
}

.ih-subhead-desc[b-0shlhts12d] {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

/* ---- Aviso de ejecución en curso (Flash) ---- */
.ih-flash[b-0shlhts12d] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 6px;
    color: var(--st-text);
}

.ih-flash-body[b-0shlhts12d] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ih-flash-title[b-0shlhts12d] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.ih-flash-desc[b-0shlhts12d] {
    font-size: 13px;
    color: var(--st-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ih-flash-desc strong[b-0shlhts12d] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.ih-flash-timer[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, 'Segoe UI Mono', Consolas, monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

/* ---- Caja de ejecuciones (Box) ---- */
.ih-box[b-0shlhts12d] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    overflow: hidden;
}

.ih-box-header[b-0shlhts12d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 8px 8px 8px 16px;
    background: var(--st-surface-sunken);
    box-sizing: border-box;
}

.ih-box-count[b-0shlhts12d] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text);
    white-space: nowrap;
}

.ih-box-count-muted[b-0shlhts12d] {
    font-weight: 400;
    color: var(--st-text-subtle);
}

.ih-box-filters[b-0shlhts12d] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ih-box-footer[b-0shlhts12d] {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    border-top: 1px solid var(--st-border);
}

/* ---- Menús de filtro del encabezado ---- */
.ih-menu[b-0shlhts12d] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.ih-menu-select[b-0shlhts12d] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 32px;
    max-width: 260px;
    padding: 0 26px 0 10px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ih-menu-select--job[b-0shlhts12d] {
    max-width: 240px;
}

.ih-menu-select:hover[b-0shlhts12d] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.ih-menu-select option[b-0shlhts12d] {
    background: var(--st-surface-raised);
    color: var(--st-text);
}

.ih-menu-caret[b-0shlhts12d] {
    position: absolute;
    right: 9px;
    color: var(--st-text-muted);
    pointer-events: none;
}

/* ---- Botones ---- */
.ih-icon-btn[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ih-icon-btn:hover:not(:disabled)[b-0shlhts12d] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.ih-icon-btn:disabled[b-0shlhts12d] {
    cursor: not-allowed;
    opacity: 0.6;
}

.ih-btn[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ih-btn:hover:not(:disabled)[b-0shlhts12d] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
}

.ih-btn:disabled[b-0shlhts12d] {
    cursor: not-allowed;
    opacity: 0.6;
}

.ih-btn-sm[b-0shlhts12d] {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
}

.ih-btn-danger[b-0shlhts12d] {
    color: var(--st-danger-fg);
}

.ih-btn-danger:hover:not(:disabled)[b-0shlhts12d] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.ih-btn-outline[b-0shlhts12d] {
    color: var(--st-info-fg);
}

.ih-btn-outline:hover:not(:disabled)[b-0shlhts12d] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.ih-menu-select:focus-visible[b-0shlhts12d],
.ih-icon-btn:focus-visible[b-0shlhts12d],
.ih-btn:focus-visible[b-0shlhts12d] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* ---- Fila de ejecución ---- */
.ih-run[b-0shlhts12d] {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 140px 150px 16px;
    column-gap: 16px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--st-border);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: default;
    box-sizing: border-box;
    transition: background-color 0.15s ease;
}

.ih-run--link[b-0shlhts12d] {
    cursor: pointer;
}

.ih-run--link:hover:not(:disabled)[b-0shlhts12d],
.ih-run--loading[b-0shlhts12d] {
    background: var(--st-fill-2);
}

.ih-run:disabled[b-0shlhts12d] {
    cursor: default;
}

.ih-run:focus-visible[b-0shlhts12d] {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

.ih-run-status[b-0shlhts12d] {
    display: flex;
    padding-top: 2px;
}

.ih-run-main[b-0shlhts12d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ih-run-title[b-0shlhts12d] {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--st-text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ih-run--link:hover:not(:disabled) .ih-run-title[b-0shlhts12d] {
    color: var(--st-info-fg);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ih-run-meta[b-0shlhts12d] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    font-size: 12px;
    line-height: 18px;
    color: var(--st-text-subtle);
}

.ih-run-actor[b-0shlhts12d] {
    font-weight: 500;
    color: var(--st-text-secondary);
}

.ih-run-counts[b-0shlhts12d] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 18px;
    color: var(--st-text-subtle);
}

.ih-count[b-0shlhts12d] {
    white-space: nowrap;
}

.ih-count strong[b-0shlhts12d] {
    font-weight: 600;
    color: var(--st-text);
}

.ih-dot[b-0shlhts12d] {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: 1px;
}

.ih-dot--success[b-0shlhts12d] { background: var(--st-success-fg); }
.ih-dot--info[b-0shlhts12d]    { background: var(--st-info-fg); }
.ih-dot--danger[b-0shlhts12d]  { background: var(--st-danger-fg); }
.ih-dot--warning[b-0shlhts12d] { background: var(--st-warning-fg); }
.ih-dot--neutral[b-0shlhts12d] { background: var(--st-text-muted); }

.ih-run-error[b-0shlhts12d] {
    margin-top: 4px;
    font-size: 12px;
    line-height: 18px;
    color: var(--st-danger-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Etiqueta tipo rama: apertura / cierre */
.ih-run-branch[b-0shlhts12d] {
    min-width: 0;
}

.ih-branch-label[b-0shlhts12d] {
    display: inline-block;
    max-width: 100%;
    padding: 0 6px;
    background: var(--st-info-bg);
    border-radius: 6px;
    color: var(--st-info-fg);
    font-family: ui-monospace, SFMono-Regular, 'Segoe UI Mono', Consolas, monospace;
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ih-branch-label--close[b-0shlhts12d] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

/* Fecha y duración */
.ih-run-timing[b-0shlhts12d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    line-height: 20px;
    color: var(--st-text-subtle);
}

.ih-run-time[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ih-run-time svg[b-0shlhts12d] {
    flex-shrink: 0;
    color: var(--st-text-muted);
}

.ih-run-time--live[b-0shlhts12d] {
    font-weight: 500;
    color: var(--st-warning-fg);
}

.ih-run-go[b-0shlhts12d] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    color: var(--st-text-muted);
    transition: color 0.15s ease;
}

.ih-run--link:hover:not(:disabled) .ih-run-go[b-0shlhts12d] {
    color: var(--st-text);
}

/* ---- Íconos de estado ---- */
.ih-status--success[b-0shlhts12d] { color: var(--st-success-fg); }
.ih-status--warning[b-0shlhts12d] { color: var(--st-warning-fg); }
.ih-status--failed[b-0shlhts12d]  { color: var(--st-danger-fg); }
.ih-status--neutral[b-0shlhts12d] { color: var(--st-text-muted); }

/* En curso: anillo que gira con un punto fijo al centro */
.ih-run-spinner[b-0shlhts12d] {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--st-warning-bg-strong);
    border-top-color: var(--st-warning-fg);
    border-radius: 50%;
    box-sizing: border-box;
    animation: ih-rotate-b-0shlhts12d 0.9s linear infinite;
}

.ih-run-spinner[b-0shlhts12d]::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--st-warning-fg);
}

/* En espera: anillo quieto con punto */
.ih-run-queued[b-0shlhts12d] {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--st-text-muted);
    border-radius: 50%;
    box-sizing: border-box;
}

.ih-run-queued[b-0shlhts12d]::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--st-text-muted);
}

/* Spinner del botón mientras se cargan los detalles */
.ih-btn-spinner[b-0shlhts12d] {
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border: 2px solid var(--st-border-strong);
    border-top-color: var(--st-text);
    border-radius: 50%;
    box-sizing: border-box;
    animation: ih-rotate-b-0shlhts12d 0.7s linear infinite;
}

.ih-spin[b-0shlhts12d] {
    animation: ih-rotate-b-0shlhts12d 0.8s linear infinite;
}

@keyframes ih-rotate-b-0shlhts12d {
    to { transform: rotate(360deg); }
}

/* ---- Esqueleto de carga ---- */
.ih-skel[b-0shlhts12d] {
    display: block;
    background: linear-gradient(90deg, var(--st-fill-3) 25%, var(--st-fill-5) 50%, var(--st-fill-3) 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    animation: ih-shimmer-b-0shlhts12d 1.5s infinite;
}

.ih-skel-dot[b-0shlhts12d] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
}

.ih-skel-line[b-0shlhts12d] {
    width: 42%;
    height: 12px;
    margin-top: 4px;
}

.ih-skel-line--sm[b-0shlhts12d] {
    width: 24%;
    height: 10px;
    margin-top: 6px;
}

.ih-run--skeleton:nth-of-type(even) .ih-skel-line[b-0shlhts12d] {
    width: 56%;
}

@keyframes ih-shimmer-b-0shlhts12d {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Estado vacío (Blankslate) ---- */
.ih-blankslate[b-0shlhts12d] {
    padding: 48px 24px;
    border-top: 1px solid var(--st-border);
    text-align: center;
    color: var(--st-text-muted);
}

.ih-blankslate-title[b-0shlhts12d] {
    margin: 12px 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.ih-blankslate-desc[b-0shlhts12d] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

/* ---- Advertencias filtradas por categoría (anotaciones) ---- */
.ih-annotation[b-0shlhts12d] {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: start;
    padding: 12px 16px;
    border-top: 1px solid var(--st-border);
    transition: background-color 0.15s ease;
}

.ih-annotation:hover[b-0shlhts12d] {
    background: var(--st-fill-2);
}

.ih-annotation-icon[b-0shlhts12d] {
    display: flex;
    padding-top: 2px;
}

.ih-annotation-main[b-0shlhts12d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ih-annotation--resolved .ih-annotation-main[b-0shlhts12d] {
    opacity: 0.7;
}

.ih-annotation-head[b-0shlhts12d] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    line-height: 20px;
}

.ih-annotation-id[b-0shlhts12d] {
    font-family: ui-monospace, SFMono-Regular, 'Segoe UI Mono', Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.ih-annotation-type[b-0shlhts12d] {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-secondary);
}

.ih-annotation-details[b-0shlhts12d] {
    font-size: 12px;
    line-height: 18px;
    color: var(--st-text-subtle);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ih-annotation-source[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--st-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ih-annotation-actions[b-0shlhts12d] {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 8px;
}

.ih-label[b-0shlhts12d] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 999px;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.ih-label--success[b-0shlhts12d] {
    border-color: var(--st-success-border);
    color: var(--st-success-fg);
}

/* ---- Responsivo ---- */
@media (max-width: 900px) {
    .ih-run[b-0shlhts12d] {
        grid-template-columns: 16px minmax(0, 1fr) auto 16px;
    }

    .ih-run-branch[b-0shlhts12d] {
        display: none;
    }
}

@media (max-width: 600px) {
    .ih-body-scroll[b-0shlhts12d] {
        padding: 16px;
    }

    .ih-box-header[b-0shlhts12d] {
        flex-wrap: wrap;
        padding: 8px 12px;
    }

    .ih-run[b-0shlhts12d] {
        grid-template-columns: 16px minmax(0, 1fr) 16px;
    }

    .ih-run-timing[b-0shlhts12d] {
        grid-column: 2;
        grid-row: 2;
        flex-direction: row;
        gap: 12px;
        margin-top: 4px;
    }

    .ih-run-go[b-0shlhts12d] {
        grid-column: 3;
        grid-row: 1;
    }

    .ih-annotation[b-0shlhts12d] {
        grid-template-columns: 16px minmax(0, 1fr);
    }

    .ih-annotation-actions[b-0shlhts12d] {
        grid-column: 2;
        padding-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ih-run-spinner[b-0shlhts12d],
    .ih-btn-spinner[b-0shlhts12d],
    .ih-spin[b-0shlhts12d],
    .ih-skel[b-0shlhts12d] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .ih-run[b-0shlhts12d],
    .ih-btn[b-0shlhts12d],
    .ih-icon-btn[b-0shlhts12d],
    .ih-menu-select[b-0shlhts12d] {
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Integration/IntegrationSummaryPanel.razor.rz.scp.css */
/* ============================================================
   IntegrationSummaryPanel — Systime Dark Theme Aesthetics
   ============================================================ */

.isp-panel[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    background: var(--st-surface);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--st-text);
    padding: 20px;
    box-sizing: border-box;
}

/* ── Header ─────────────────────────────────────────────────── */
.isp-header[b-x9epn0ytub] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    flex-wrap: wrap;
    gap: 16px;
}

.isp-header-title[b-x9epn0ytub] {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--st-text-strong);
    letter-spacing: -0.01em;
}

.isp-header-subtitle[b-x9epn0ytub] {
    display: block;
    font-size: 0.8rem;
    color: var(--st-text-muted);
    margin-top: 4px;
}

/* ── Refresh button ─────────────────────────────────────────── */
.isp-refresh-btn[b-x9epn0ytub] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    color: var(--st-text-subtle);
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.isp-refresh-btn:hover[b-x9epn0ytub] {
    background: var(--st-surface-strong);
    border-color: #58a6ff;
    color: var(--st-info-fg);
}

.isp-loading-label[b-x9epn0ytub] {
    font-size: 12px;
    color: var(--st-text-muted);
    font-style: italic;
}

/* ── Semáforo — filas de tabla ──────────────────────────────── */

/* Resueltas manualmente — tachadas */
.isp-row-resolved td[b-x9epn0ytub] {
    opacity: 0.5;
    text-decoration: line-through;
}

/* Auto-resueltas por la integración — amarillo suave */
.isp-row-auto-resolved td[b-x9epn0ytub] {
    background: rgba(210, 153, 34, 0.04);
}

/* Requieren acción manual — rojo suave */
.isp-row-actionable td[b-x9epn0ytub] {
    background: rgba(248, 81, 73, 0.04);
}

/* ── Badges de estado ───────────────────────────────────────── */
.isp-badge[b-x9epn0ytub] {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none;
}

.isp-badge-resolved[b-x9epn0ytub] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.isp-badge-auto[b-x9epn0ytub] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
}

/* WarningType badge colores */
.isp-badge-type-auto[b-x9epn0ytub] {
    color: var(--st-warning-fg);
    border-color: var(--st-warning-border);
    background: rgba(210, 153, 34, 0.08);
}

.isp-badge-type-error[b-x9epn0ytub] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
    background: rgba(248, 81, 73, 0.08);
}

/* OT en rojo para filas accionables */
.isp-row-ot-error[b-x9epn0ytub] {
    color: var(--st-danger-fg);
}

/* Acción confirmada */
.isp-badge-ok[b-x9epn0ytub] {
    color: var(--st-success-fg);
    font-weight: 600;
    font-size: 12px;
}

/* Texto atenuado */
.isp-text-muted[b-x9epn0ytub] {
    opacity: 0.6;
}

.isp-text-auto[b-x9epn0ytub] {
    color: var(--st-warning-fg);
}

/* ── Card preview — semáforo ────────────────────────────────── */
.isp-preview-auto[b-x9epn0ytub] {
    font-size: 12px;
    color: var(--st-warning-fg);
    font-style: italic;
    margin: auto 0;
}

.isp-preview-error[b-x9epn0ytub] {
    color: var(--st-danger-fg);
}

.isp-preview-auto-hint[b-x9epn0ytub] {
    font-size: 11px;
    color: var(--st-warning-fg);
    margin-top: 6px;
    display: block;
}

/* ── Action Buttons ─────────────────────────────────────────── */
.isp-action-btn[b-x9epn0ytub] {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    transition: all 0.15s ease;
}

.btn-action-close:hover[b-x9epn0ytub] {
    border-color: #da3637;
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.btn-action-map:hover[b-x9epn0ytub] {
    border-color: #1f6feb;
    background: var(--st-info-bg);
    color: var(--st-info-fg);
}

.isp-no-action[b-x9epn0ytub] {
    color: var(--st-text-muted);
    font-style: italic;
}

.isp-empty[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    background: var(--st-surface-raised);
    border: 1px dashed var(--st-border);
    border-radius: 12px;
    color: var(--st-text-subtle);
    text-align: center;
    gap: 16px;
}

.isp-empty p[b-x9epn0ytub] {
    margin: 0;
    font-size: 14px;
}

/* ── Grid & Cards ───────────────────────────────────────────── */
.isp-grid[b-x9epn0ytub] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .isp-grid[b-x9epn0ytub] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.isp-card[b-x9epn0ytub] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.isp-card:hover[b-x9epn0ytub] {
    transform: translateY(-2px);
    border-color: var(--st-border-stronger);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.isp-card-has-warnings:hover[b-x9epn0ytub] {
    border-color: #f85149;
    box-shadow: 0 8px 24px rgba(248, 81, 73, 0.08);
}

.isp-card-header[b-x9epn0ytub] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 10px;
}

.isp-card-icon[b-x9epn0ytub] {
    font-size: 1.4rem;
}

.isp-card-title[b-x9epn0ytub] {
    font-weight: 600;
    font-size: 14px;
    color: var(--st-text-strong);
    flex-grow: 1;
}

.isp-card-badge[b-x9epn0ytub] {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.badge-success[b-x9epn0ytub] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.badge-danger[b-x9epn0ytub] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.badge-info[b-x9epn0ytub] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
}


.isp-card-preview[b-x9epn0ytub] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.isp-preview-empty[b-x9epn0ytub] {
    color: var(--st-success-fg);
    font-size: 12px;
    font-style: italic;
    margin: auto 0;
}

.isp-card-preview ul[b-x9epn0ytub] {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 12px;
    color: var(--st-text-body);
}

.isp-card-preview li[b-x9epn0ytub] {
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.isp-card-preview li strong[b-x9epn0ytub] {
    color: var(--st-text-strong);
}

.isp-more-link[b-x9epn0ytub] {
    font-size: 11px;
    color: var(--st-info-fg);
    font-weight: 500;
    margin-top: 10px;
    align-self: flex-start;
}

.isp-card:hover .isp-more-link[b-x9epn0ytub] {
    text-decoration: underline;
}

/* ── Detailed Drill-down View ───────────────────────────────── */
.isp-detailed-view[b-x9epn0ytub] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.isp-back-btn[b-x9epn0ytub] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.15s ease;
}

.isp-back-btn:hover[b-x9epn0ytub] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
    color: var(--st-text);
}

.isp-detail-header[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 16px;
}

.isp-detail-title[b-x9epn0ytub] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.isp-detail-empty[b-x9epn0ytub] {
    padding: 32px;
    text-align: center;
    color: var(--st-text-muted);
    font-style: italic;
}

/* ── Table Aesthetics ───────────────────────────────────────── */
.isp-detail-table[b-x9epn0ytub] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.isp-detail-table th[b-x9epn0ytub] {
    padding: 12px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    font-weight: 500;
    border-bottom: 1px solid var(--st-border);
}

.isp-detail-table td[b-x9epn0ytub] {
    padding: 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.isp-detail-table tr:hover td[b-x9epn0ytub] {
    background: var(--st-fill-1);
}

.isp-row-ot[b-x9epn0ytub] {
    color: var(--st-info-fg);
    font-family: monospace;
}

.isp-row-ot-link[b-x9epn0ytub] {
    cursor: pointer;
    transition: color 0.15s ease;
}

.isp-row-ot-link:hover[b-x9epn0ytub] {
    text-decoration: underline;
    color: var(--st-info-fg);
}

.isp-badge-type[b-x9epn0ytub] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--st-text-subtle);
    font-family: monospace;
}

.isp-detail-text[b-x9epn0ytub] {
    line-height: 1.4;
    word-break: break-all;
}

/* ── Action Buttons ─────────────────────────────────────────── */
.isp-action-btn[b-x9epn0ytub] {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    transition: all 0.15s ease;
}

.btn-action-close:hover[b-x9epn0ytub] {
    border-color: #da3637;
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.btn-action-map:hover[b-x9epn0ytub] {
    border-color: #1f6feb;
    background: var(--st-info-bg);
    color: var(--st-info-fg);
}

.isp-no-action[b-x9epn0ytub] {
    color: var(--st-text-muted);
    font-style: italic;
}

/* ============================================================
   Nuevos estilos para la columna Nombre en Excel y sus Badges
   ============================================================ */

.isp-cell-name-container[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.isp-row-ot-text[b-x9epn0ytub] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-text);
    word-break: break-all;
}

.isp-row-ot-link[b-x9epn0ytub] {
    cursor: pointer;
    transition: color 0.15s ease;
}
.isp-row-ot-link:hover[b-x9epn0ytub] {
    color: var(--st-info-fg);
    text-decoration: underline;
}

.isp-cell-badges-row[b-x9epn0ytub] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.isp-cell-badges-row .isp-badge[b-x9epn0ytub] {
    margin-left: 0 !important;
}

.isp-badge-ot-count[b-x9epn0ytub] {
    background-color: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--st-text-subtle);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.isp-badge-ot-count-danger[b-x9epn0ytub] {
    background-color: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--st-danger-fg);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

/* ── Assembling Overlay (Alternativa 1 UX Waiting) ───────────────────────── */
.isp-assembling-overlay[b-x9epn0ytub] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    height: 100%;
    min-height: 350px;
    background: var(--st-surface);
    box-sizing: border-box;
}

.isp-assembling-card[b-x9epn0ytub] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: isp-fade-in-b-x9epn0ytub 0.3s ease-out;
}

.isp-assembling-title[b-x9epn0ytub] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--st-info-fg);
    margin: 0;
}

.isp-assembling-desc[b-x9epn0ytub] {
    font-size: 0.9rem;
    color: var(--st-text-muted);
    line-height: 1.5;
    margin: 0;
}

.isp-assembling-badge[b-x9epn0ytub] {
    background-color: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--st-info-fg);
    font-weight: 500;
    letter-spacing: 0.02em;
    animation: isp-pulse-badge-b-x9epn0ytub 1.8s infinite ease-in-out;
}

/* Spinner animado con efecto de pulso circular concéntrico */
.isp-pulse-spinner[b-x9epn0ytub] {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #58a6ff;
    box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.7);
    animation: isp-pulse-ring-b-x9epn0ytub 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

.isp-pulse-spinner[b-x9epn0ytub]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--st-surface-raised);
    border: 2px solid #58a6ff;
}

@keyframes isp-pulse-ring-b-x9epn0ytub {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 16px rgba(88, 166, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0);
    }
}

@keyframes isp-pulse-badge-b-x9epn0ytub {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.5; }
}

@keyframes isp-fade-in-b-x9epn0ytub {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Secciones de Resumen y Agrupación ───────────────────────── */
.isp-sections-container[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.isp-section[b-x9epn0ytub] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.isp-section-title[b-x9epn0ytub] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 8px;
    letter-spacing: -0.01em;
}

/* /Pages/Home/Components/Integration/UnifiedIntegrationResultsPanel.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   BulkUploadResultsPanel — estilo panel principal.
   Usa el mismo contenedor que Reportes.
   ═══════════════════════════════════════════════════ */

.bulk-results-panel[b-lpxfaoj0zp] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--st-surface-muted);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ── Header ── */
.bulk-results-header[b-lpxfaoj0zp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--st-surface-raised);
    border-bottom: 1px solid var(--st-border);
    color: var(--st-text-strong);
    flex-shrink: 0;
}

.bulk-results-header-left h2[b-lpxfaoj0zp] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.bulk-results-filename[b-lpxfaoj0zp] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    margin-top: 2px;
    display: block;
}

.bulk-results-header-actions[b-lpxfaoj0zp] {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ── Resumen ── */
.bulk-results-summary[b-lpxfaoj0zp] {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    flex-shrink: 0;
}

.bulk-summary-card[b-lpxfaoj0zp] {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--st-border);
}

.bulk-summary-ok[b-lpxfaoj0zp] {
    border-color: var(--st-success-border);
    background: var(--st-success-bg);
}

.bulk-summary-err[b-lpxfaoj0zp] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.bulk-summary-number[b-lpxfaoj0zp] {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--st-text);
    line-height: 1;
}

.bulk-summary-ok .bulk-summary-number[b-lpxfaoj0zp] { color: var(--st-success-fg); }
.bulk-summary-err .bulk-summary-number[b-lpxfaoj0zp] { color: var(--st-danger-fg); }

.bulk-summary-label[b-lpxfaoj0zp] {
    font-size: 0.72rem;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 4px;
    display: block;
}

/* ── Alertas ── */
.bulk-alert[b-lpxfaoj0zp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.bulk-alert-error[b-lpxfaoj0zp] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border-bottom: 1px solid var(--st-danger-border);
}

.bulk-alert-success[b-lpxfaoj0zp] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border-bottom: 1px solid var(--st-success-border);
}

.bulk-alert-info[b-lpxfaoj0zp] {
    background: var(--st-info-bg);
    color: var(--st-info-text);
    border-bottom: 1px solid var(--st-info-border);
}

/* ── Tabla ── */
.bulk-results-toolbar[b-lpxfaoj0zp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 24px 14px;
    background: var(--st-warning-bg);
    border-top: 1px solid var(--st-warning-border);
    border-bottom: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
    font-size: 0.82rem;
}

.bulk-results-toolbar-copy[b-lpxfaoj0zp] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.4;
}

.bulk-results-pager[b-lpxfaoj0zp] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.bulk-page-btn[b-lpxfaoj0zp] {
    border: 1px solid var(--st-warning-border);
    background: var(--st-surface);
    color: var(--st-warning-text);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bulk-page-btn:hover:not(:disabled)[b-lpxfaoj0zp] {
    background: var(--st-warning-bg-strong);
}

.bulk-page-btn:disabled[b-lpxfaoj0zp] {
    opacity: 0.45;
    cursor: not-allowed;
}

.bulk-results-table-wrap[b-lpxfaoj0zp] {
    flex: 1;
    overflow: auto;
    padding: 0;
}

.bulk-table[b-lpxfaoj0zp] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
    user-select: none;
    -webkit-user-select: none;
}

.bulk-table th[b-lpxfaoj0zp] {
    position: sticky;
    top: 0;
    background: var(--st-surface-sunken);
    padding: 11px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--st-text-body);
    border-bottom: 2px solid var(--st-border);
    white-space: nowrap;
    z-index: 2;
}

.bulk-table td[b-lpxfaoj0zp] {
    padding: 9px 14px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    white-space: nowrap;
}

.bulk-table tr[b-lpxfaoj0zp] {
    background: var(--st-surface);
}

.bulk-row-ok:hover[b-lpxfaoj0zp] { background: var(--st-success-bg); }

.bulk-row-error[b-lpxfaoj0zp] {
    background: var(--st-danger-bg);
}

.bulk-row-error:hover[b-lpxfaoj0zp] {
    background: var(--st-danger-bg-strong);
}

.bulk-row-warn[b-lpxfaoj0zp] {
    background: var(--st-gold-bg);
}

.bulk-row-warn:hover[b-lpxfaoj0zp] {
    background: var(--st-warning-bg-strong);
}

.bulk-col-index[b-lpxfaoj0zp] {
    position: sticky;
    left: 0;
    background: var(--st-surface-sunken);
    z-index: 5;
    text-align: center;
    border-right: 1px solid var(--st-border-strong);
    min-width: 50px;
    width: 50px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.bulk-col-fixed-left[b-lpxfaoj0zp] {
    position: sticky;
    left: 50px;
    background: inherit;
    z-index: 3;
    border-right: 2px solid var(--st-border);
    box-shadow: 4px 0 6px -1px rgba(0,0,0,0.05);
}

.bulk-table th.bulk-col-index[b-lpxfaoj0zp] {
    background: var(--st-surface-sunken);
    z-index: 6;
}

.bulk-table th.bulk-col-fixed-left[b-lpxfaoj0zp] {
    background: var(--st-surface-sunken);
    z-index: 5;
    overflow: visible;
}

.bulk-cell-dup[b-lpxfaoj0zp] {
    color: var(--st-danger-fg) !important;
    font-weight: 700;
}

/* ── Badges ── */
.bulk-badge[b-lpxfaoj0zp] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.bulk-badge-ok[b-lpxfaoj0zp] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
}

.bulk-badge-err[b-lpxfaoj0zp] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-text);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bulk-badge-warn[b-lpxfaoj0zp] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Loading ── */
.bulk-loading[b-lpxfaoj0zp] {
    text-align: center;
    padding: 48px 0;
    color: var(--st-text-subtle);
}

.bulk-spinner[b-lpxfaoj0zp] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: bulkResultsSpin-b-lpxfaoj0zp 0.7s linear infinite;
    margin: 0 auto 14px;
}

@keyframes bulkResultsSpin-b-lpxfaoj0zp {
    to { transform: rotate(360deg); }
}

/* ── Botones ── */
.bulk-btn-primary[b-lpxfaoj0zp] {
    padding: 9px 20px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s;
}

.bulk-btn-primary:hover:not(:disabled)[b-lpxfaoj0zp] {
    background: #4f46e5;
}

.bulk-btn-primary:disabled[b-lpxfaoj0zp] {
    background: #c7d2fe;
    cursor: not-allowed;
}

.bulk-btn-secondary[b-lpxfaoj0zp] {
    padding: 9px 16px;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

.bulk-btn-secondary:hover:not(:disabled)[b-lpxfaoj0zp] {
    background: var(--st-fill-6);
}

.bulk-btn-secondary:disabled[b-lpxfaoj0zp] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Modal / Overlay ── */
/* `inset: 0` y no `100vw × 100vh`: este panel vive dentro de .dynamic-panel (transform +
   backdrop-filter), que es el bloque contenedor del `fixed`. Con 100vw el diálogo se centraba
   respecto a un fondo que arrancaba en el borde del panel y quedaba corrido 220 px a la derecha. */
.bulk-overlay[b-lpxfaoj0zp] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.bulk-dialog[b-lpxfaoj0zp] {
    background: var(--st-surface);
    border-radius: 12px;
    width: 480px;
    max-width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: bulkScaleIn-b-lpxfaoj0zp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@keyframes bulkScaleIn-b-lpxfaoj0zp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.bulk-dialog-header[b-lpxfaoj0zp] {
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bulk-dialog-header h3[b-lpxfaoj0zp] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text);
}

.bulk-close-btn[b-lpxfaoj0zp] {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.bulk-close-btn:hover[b-lpxfaoj0zp] {
    color: var(--st-danger-fg);
}

.bulk-dialog-body[b-lpxfaoj0zp] {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--st-text-secondary);
}

/* ── Popover de Advertencia ── */
.integration-warning-popover[b-lpxfaoj0zp] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    white-space: normal;
    word-break: break-word;
}

.integration-warning-popover[b-lpxfaoj0zp]::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: var(--st-gold-bg);
    border-top: 1px solid var(--st-warning-border);
    border-left: 1px solid var(--st-warning-border);
    transform: rotate(45deg);
}

/* ── Warnings Contextuales por Celda (Dots) ── */
.cell-warning-wrapper[b-lpxfaoj0zp] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.cell-warning-dot[b-lpxfaoj0zp] {
    background: var(--st-warning-bg-strong);
    border: 1px solid var(--st-warning-border);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.72rem;
    padding: 1px 3px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: warning-pulse-dot-b-lpxfaoj0zp 2.5s infinite ease-in-out;
}

@keyframes warning-pulse-dot-b-lpxfaoj0zp {
    0% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 4px #fde68a; }
    100% { transform: scale(1); opacity: 0.85; }
}

.cell-warning-popup[b-lpxfaoj0zp] {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    width: 260px;
    z-index: 1000;
    text-align: left;
    font-size: 0.75rem;
    color: var(--st-text);
    border-top: 3px solid #eab308; /* Color amarillo de advertencia */
    white-space: normal;
    word-break: break-word;
}

.cell-warning-popup-header[b-lpxfaoj0zp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: var(--st-surface-muted);
    border-bottom: 1px solid var(--st-border-subtle);
    font-weight: 600;
    color: var(--st-warning-text);
}

.cell-warning-popup-close[b-lpxfaoj0zp] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--st-text-muted);
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.cell-warning-popup-close:hover[b-lpxfaoj0zp] {
    color: var(--st-danger-fg);
}

.cell-warning-popup-body[b-lpxfaoj0zp] {
    padding: 8px 10px;
}

.cell-warning-popup-body ul[b-lpxfaoj0zp] {
    margin: 0;
    padding-left: 14px;
    list-style-type: disc;
}

.cell-warning-popup-body li[b-lpxfaoj0zp] {
    margin-bottom: 3px;
    color: var(--st-text-secondary);
    line-height: 1.35;
}

.cell-warning-popup-body li:last-child[b-lpxfaoj0zp] {
    margin-bottom: 0;
}

/* ── Filtro de Estado ── */
.status-filter-backdrop[b-lpxfaoj0zp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 998;
    background: transparent;
    cursor: default;
}

.status-filter-dropdown[b-lpxfaoj0zp] {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--st-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 999;
    min-width: 160px;
    margin-top: 6px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-filter-option[b-lpxfaoj0zp] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--st-text-secondary);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.status-filter-option:hover[b-lpxfaoj0zp] {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
}

.status-filter-option.selected[b-lpxfaoj0zp] {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    font-weight: 600;
}

.status-filter-option i[b-lpxfaoj0zp] {
    font-size: 0.85rem;
    width: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Pages/Home/Components/Integration/UnifiedIntegrationUploadModal.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   UnifiedIntegrationUploadModal — Paso 1: selector de archivo.
   Prefijo "bulk-" para evitar colisiones con CSS global.
   ═══════════════════════════════════════════════════ */

/* ── Overlay ── */
.bulk-overlay[b-6ch2q2oxzq] {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ── Diálogo ── */
.bulk-dialog[b-6ch2q2oxzq] {
    background: var(--st-surface);
    width: 480px;
    max-width: 95vw;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bulkSlideUp-b-6ch2q2oxzq 0.25s ease-out;
}

@keyframes bulkSlideUp-b-6ch2q2oxzq {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.bulk-dialog-header[b-6ch2q2oxzq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    border-radius: 14px 14px 0 0;
}

.bulk-dialog-header h3[b-6ch2q2oxzq] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text);
}

.bulk-close-btn[b-6ch2q2oxzq] {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--st-text-muted);
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.bulk-close-btn:hover[b-6ch2q2oxzq] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.bulk-dialog-body[b-6ch2q2oxzq] {
    padding: 24px 32px 32px 32px;
}

/* ── Dropzone ── */
.bulk-dropzone[b-6ch2q2oxzq] {
    border: 2px dashed var(--st-border-strong);
    border-radius: 12px;
    padding: 36px 20px;
    text-align: center;
    background: var(--st-surface-muted);
    transition: border-color 0.2s, background 0.2s;
}

.bulk-dropzone:hover[b-6ch2q2oxzq], .bulk-dropzone.bulk-drag-over[b-6ch2q2oxzq] {
    border-color: #6366f1;
    background: var(--st-surface-sunken);
}

.bulk-dropzone-icon[b-6ch2q2oxzq] {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.bulk-dropzone-title[b-6ch2q2oxzq] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text-body);
    margin: 0 0 4px;
}

.bulk-dropzone-hint[b-6ch2q2oxzq] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    margin: 0 0 16px;
}

.bulk-file-label[b-6ch2q2oxzq] {
    display: inline-block;
    padding: 10px 24px;
    background: #6366f1;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.bulk-file-label:hover[b-6ch2q2oxzq] {
    background: #4f46e5;
}

/* ── Loading ── */
.bulk-loading[b-6ch2q2oxzq] {
    text-align: center;
    padding: 32px 0;
    color: var(--st-text-subtle);
}

.bulk-spinner[b-6ch2q2oxzq] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--st-border);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: bulkSpin-b-6ch2q2oxzq 0.7s linear infinite;
    margin: 0 auto 12px;
}

@keyframes bulkSpin-b-6ch2q2oxzq {
    to { transform: rotate(360deg); }
}

/* ── Alertas ── */
.bulk-alert[b-6ch2q2oxzq] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.bulk-alert-error[b-6ch2q2oxzq] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
}

/* ── Botón Secundario ── */
.bulk-btn-secondary[b-6ch2q2oxzq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bulk-btn-secondary:hover[b-6ch2q2oxzq] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
    border-color: var(--st-border-stronger);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

.bulk-btn-secondary:active[b-6ch2q2oxzq] {
    transform: translateY(1px);
    background: var(--st-surface-strong);
}
/* /Pages/Home/Components/LoadControl/LoadControlPanel.razor.rz.scp.css */
/* «Control de carga» — center screen (surface role 3): solid --st-* tokens, no border around the screen.
   Magenta for the primary action and the selection, gold for the active view. The grid's own CSS (AG Grid DOM, menus)
   is injected by wwwroot/js/load-control/lc-styles.js because it lives outside this component's isolation scope. */

.lc-root[b-x99kozeo1z] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--st-surface);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    border-radius: 20px;
}

/* ── Header ─────────────────────────────────────────────────── */
.lc-header[b-x99kozeo1z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px 8px;
    background: var(--st-canvas);
    flex-shrink: 0;
}

.lc-header-left[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.lc-logo[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-secondary);
    flex-shrink: 0;
}

.lc-header-text[b-x99kozeo1z] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lc-title[b-x99kozeo1z] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--st-text-strong);
}

.lc-subtitle[b-x99kozeo1z] {
    font-size: 13px;
    line-height: 1.4;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-header-actions[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lc-icon-btn[b-x99kozeo1z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lc-icon-btn:hover[b-x99kozeo1z] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

/* ── Toolbar: saved views + tools ───────────────────────────── */
.lc-toolbar[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 24px 10px;
    background: var(--st-canvas);
    border-bottom: 1px solid var(--st-border);
    flex-shrink: 0;
}

.lc-views[b-x99kozeo1z] {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border-radius: 9999px;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
}

.lc-view[b-x99kozeo1z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: transparent;
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lc-view:hover[b-x99kozeo1z] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.lc-view.active[b-x99kozeo1z] {
    background: var(--st-gold-bg, rgba(222, 163, 1, 0.16));
    border-color: #dea301;
    color: var(--st-text-strong);
}

.lc-view-count[b-x99kozeo1z] {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 9999px;
    background: var(--st-fill-4);
    color: var(--st-text);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.lc-view.active .lc-view-count[b-x99kozeo1z] {
    background: #dea301;
    color: #1f2f45;
}

.lc-tools[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-btn-tool[b-x99kozeo1z],
.lc-btn-primary[b-x99kozeo1z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lc-btn-tool[b-x99kozeo1z] {
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text);
}

.lc-btn-tool:hover:not(:disabled)[b-x99kozeo1z] {
    background: var(--st-fill-3);
}

/* The main action of the bar («Agregar vehículo»): SysTime's fuchsia with white text; the rest (export included) are outlined. */
.lc-btn-primary[b-x99kozeo1z] {
    border: 1px solid var(--st-accent, #d81b84);
    background: var(--st-accent, #d81b84);
    color: #fff;
}

.lc-btn-primary:hover:not(:disabled)[b-x99kozeo1z] {
    background: var(--st-accent-hover, #c21875);
    border-color: var(--st-accent-hover, #c21875);
}

.lc-btn-tool:disabled[b-x99kozeo1z],
.lc-btn-primary:disabled[b-x99kozeo1z] {
    opacity: 0.5;
    cursor: default;
}

.lc-badge[b-x99kozeo1z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 600;
}

.lc-banner[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 24px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    font-size: 13px;
    flex-shrink: 0;
}

/* ── Grid and status bar ────────────────────────────────────── */
.lc-grid-wrap[b-x99kozeo1z] {
    flex: 1;
    min-height: 0;
    position: relative;
    padding: 8px 12px 0;
    display: flex;
    flex-direction: column;
}

/* Slicers of the grid (as in the workbook's CONTROL sheet, above the table): drawn by load-control-grid.js. */
.lc-slicers[b-x99kozeo1z] {
    flex: none;
}

.lc-grid-host[b-x99kozeo1z] {
    width: 100%;
    flex: 1;
    min-height: 0;
}

.lc-status[b-x99kozeo1z] {
    flex-shrink: 0;
    min-height: 32px;
    padding: 6px 24px 10px;
    font-size: 12px;
    color: var(--st-text-secondary);
    border-top: 1px solid var(--st-border-subtle);
    background: var(--st-canvas);
}

/* ── Formula editor and pivot views (phases 4 and 5) ────────── */
.lc-body[b-x99kozeo1z] {
    flex: 1;
    min-height: 0;
    display: flex;
    position: relative;
}

.lc-body > .lc-grid-wrap[b-x99kozeo1z] {
    flex: 1;
    min-width: 0;
}

.lc-btn-tool.on[b-x99kozeo1z] {
    border-color: #dea301;
    color: var(--st-text-strong);
    background: rgba(222, 163, 1, .14);
}

.lc-pane[b-x99kozeo1z] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--st-surface);
}

.lc-pane[hidden][b-x99kozeo1z] {
    display: none;
}

.lc-pivot-pane[b-x99kozeo1z] {
    position: absolute;
    inset: 8px 12px 0;
    z-index: 4;
}

.lc-fx-pane[b-x99kozeo1z] {
    width: min(440px, 42vw);
    flex-shrink: 0;
    border-left: 1px solid var(--st-border);
    margin-top: 8px;
}

.lc-pane-head[b-x99kozeo1z] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    flex-shrink: 0;
}

.lc-pane-head h3[b-x99kozeo1z] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.lc-pane-sub[b-x99kozeo1z] {
    font-size: 12px;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-pane-gap[b-x99kozeo1z] {
    flex: 1;
}

.lc-pane-body[b-x99kozeo1z] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 10px 12px;
}

.lc-pivot-pane .lc-pane-body[b-x99kozeo1z] {
    overflow: hidden;
}

@media (max-width: 900px) {
    .lc-fx-pane[b-x99kozeo1z] {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: min(440px, 100%);
        z-index: 5;
    }
}

.lc-root button:focus-visible[b-x99kozeo1z] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .lc-subtitle[b-x99kozeo1z] {
        display: none;
    }

    .lc-toolbar[b-x99kozeo1z],
    .lc-header[b-x99kozeo1z] {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-view[b-x99kozeo1z],
    .lc-btn-tool[b-x99kozeo1z],
    .lc-btn-primary[b-x99kozeo1z],
    .lc-icon-btn[b-x99kozeo1z] {
        transition: none;
    }
}

/* ── Sheet tabs (the workbook's sheets, as Excel's tabs) ─────── */
.lc-sheets[b-x99kozeo1z] {
    flex: none;
    display: flex;
    gap: 2px;
    padding: 4px 12px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.lc-sheet[b-x99kozeo1z] {
    border: 1px solid var(--st-border);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: var(--st-fill-2);
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    white-space: nowrap;
    cursor: pointer;
}

.lc-sheet:hover:not(:disabled)[b-x99kozeo1z] {
    color: var(--st-text-strong);
}

.lc-sheet.on[b-x99kozeo1z] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    box-shadow: inset 0 -2px 0 #217346;
}

.lc-sheet:disabled[b-x99kozeo1z] {
    opacity: .5;
    cursor: default;
}

/* Waiting: «Actualizar» turns its arrows, «Exportar» shows a spinner. */
@keyframes lc-btn-rot-b-x99kozeo1z { to { transform: rotate(360deg); } }
.lc-btn-tool.busy svg[b-x99kozeo1z] { animation: lc-btn-rot-b-x99kozeo1z .9s linear infinite; }
.lc-btn-tool.busy[b-x99kozeo1z] { cursor: progress; }
.lc-btn-spin[b-x99kozeo1z] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
    border-top-color: currentColor;
    animation: lc-btn-rot-b-x99kozeo1z .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .lc-btn-tool.busy svg[b-x99kozeo1z], .lc-btn-spin[b-x99kozeo1z] { animation-duration: 2.4s; }
}
/* /Pages/Home/Components/NavMenu/TopHeader.razor.rz.scp.css */
/* Contenido que TopHeader inyecta dentro del TenantSelector en sesión de operador EsferaTech.
   Vive aquí y no en TenantSelector.razor.css porque el CSS aislado de Blazor tiene por scope el
   componente que RENDERIZA el markup, y estos fragmentos los renderiza TopHeader.

   Van sin fondo propio, directamente sobre el color de la tarjeta: los recuadros blancos quedan
   reservados para lo seleccionable (acordeón y sedes). */

.tenant-operator-note[b-ldbff5f822] {
    font-size: 0.83rem;
    line-height: 1.35;
    color: var(--st-text-subtle);
    padding: 0 2px;
    margin-bottom: 12px;
}

/* Separador respecto a la lista: el motivo cierra el bloque de la eleccion. */
.tenant-operator-reason[b-ldbff5f822] {
    flex-shrink: 0;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--st-border-stronger);
}

.tenant-operator-reason textarea[b-ldbff5f822] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 1.3;
    color: var(--st-text-strong);
    background: var(--st-fill-6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    outline: none;
    resize: none;
    min-height: 52px;
    max-height: 68px;
}

.tenant-operator-reason textarea[b-ldbff5f822]::placeholder {
    color: var(--st-text-subtle);
}

.tenant-operator-reason textarea:focus[b-ldbff5f822] {
    background: var(--st-fill-7);
    border-color: rgba(255, 255, 255, 0.65);
}

.top-bar-main-row[b-ldbff5f822] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    pointer-events: none;
    position: relative;
}

.scope-navigation-slot[b-ldbff5f822] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    pointer-events: auto;
}

.tenant-selector-slot[b-ldbff5f822] {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    pointer-events: auto;
}

/* Operator session: the platform-operator pill sits under the tenant button, aligned with its right edge */
.tenant-selector-slot.with-operator-indicator[b-ldbff5f822] {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 6px;
    width: fit-content;
}

.tenant-selector-slot.expanded[b-ldbff5f822] {
    position: absolute;
    top: 0;
    right: 52px;
    z-index: 1040;
}

.top-bar-sub-row[b-ldbff5f822] {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    pointer-events: auto;
    z-index: 1000;
}

[b-ldbff5f822] .tenant-card {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    width: fit-content;
    max-width: fit-content;
}

[b-ldbff5f822] .tenant-card.expanded {
    width: 270px;
    max-width: 270px;
}

[b-ldbff5f822] .tenant-card.operator.expanded {
    width: 340px;
    max-width: 340px;
}

@media (max-width: 768px) {
    .top-bar-main-row[b-ldbff5f822] {
        width: 100%;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .tenant-selector-slot.expanded[b-ldbff5f822] {
        order: 3;
        flex: 0 0 100%;
    }

    [b-ldbff5f822] .active-work-banner-wrapper {
        order: 2;
        flex: 0 0 100%;
        display: flex;
        justify-content: flex-end;
        max-width: 100%;
    }

    [b-ldbff5f822] .active-work-banner-wrapper .vehicle-info-stack {
        display: none;
    }

    [b-ldbff5f822] .active-work-capsule {
        max-width: 100%;
    }

    [b-ldbff5f822] .tenant-card.expanded {
        width: min(340px, 100%);
        min-width: min(270px, 100%);
        max-width: 100%;
        max-height: calc(100vh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }

    .top-bar.has-active-work-session[b-ldbff5f822]  .tenant-card.expanded {
        max-height: calc(100vh - 130px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 130px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
}

[b-ldbff5f822] .operator-session-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    padding: 6px 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    pointer-events: auto;
}

[b-ldbff5f822] .operator-session-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--st-text-body);
}

[b-ldbff5f822] .operator-badge-pill {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

[b-ldbff5f822] .operator-role-name {
    font-weight: 600;
    color: var(--st-text-strong);
    font-size: 11px;
    line-height: 1.2;
}

[b-ldbff5f822] .operator-user-name {
    color: var(--st-text-muted);
    font-size: 11px;
}

[b-ldbff5f822] .operator-no-tenant-tag {
    color: var(--st-text-muted);
    font-style: italic;
}

[b-ldbff5f822] .operator-session-shortcuts {
    display: flex;
    align-items: center;
    gap: 6px;
}

[b-ldbff5f822] .operator-shortcut-btn {
    background: var(--st-fill-4);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-strong);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

[b-ldbff5f822] .operator-shortcut-btn:hover {
    background: var(--st-fill-7);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--st-text-strong);
}
/* /Pages/Home/Components/Notifications/MyNotificationCard.razor.rz.scp.css */
/* One bell card: an opaque surface on the panel's glass (data-st-theme="page"), so it follows the user's theme. */
.bell-card[b-6dkiz0we9b] {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    padding: 4px 4px 4px 8px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    box-shadow: var(--st-shadow-sm);
    box-sizing: border-box;
}

.bell-card.is-read[b-6dkiz0we9b] {
    background: var(--st-surface-muted);
    box-shadow: none;
}

.bell-card-main[b-6dkiz0we9b] {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}

.bell-card-icon[b-6dkiz0we9b] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
}

.bell-card.is-unread .bell-card-icon[b-6dkiz0we9b] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.bell-card-content[b-6dkiz0we9b] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bell-card-title[b-6dkiz0we9b],
.bell-card-context[b-6dkiz0we9b],
.bell-card-message[b-6dkiz0we9b] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bell-card-title[b-6dkiz0we9b] {
    color: var(--st-text-brand);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.bell-card-context[b-6dkiz0we9b] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.bell-card-message[b-6dkiz0we9b] {
    display: -webkit-box;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* «+N más»: its own button under the card's text (the icon's 36px + 8px gap), so it unfolds instead of opening. */
.bell-card-more[b-6dkiz0we9b] {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: -4px 0 0 36px;
    padding: 2px 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--st-accent-text);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.bell-card-more:hover[b-6dkiz0we9b] {
    background: var(--st-surface-strong);
}

.bell-card-more[b-6dkiz0we9b]  .bell-card-more-chevron {
    transition: transform 0.2s ease;
}

.bell-card-more[b-6dkiz0we9b]  .bell-card-more-chevron.is-open {
    transform: rotate(180deg);
}

.bell-card.is-read .bell-card-title[b-6dkiz0we9b],
.bell-card.is-read .bell-card-context[b-6dkiz0we9b] {
    color: var(--st-text-secondary);
}

.bell-card.is-read .bell-card-more[b-6dkiz0we9b] {
    color: var(--st-text-muted);
}

/* The earlier messages «+N más» unfolds: a quiet list under the card's text, newest first. */
.bell-card-earlier[b-6dkiz0we9b] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 4px 4px 44px;
    padding: 6px 0 0 10px;
    border-left: 2px solid var(--st-border);
    list-style: none;
}

.bell-earlier[b-6dkiz0we9b] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bell-earlier-head[b-6dkiz0we9b] {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.bell-earlier-title[b-6dkiz0we9b],
.bell-earlier-message[b-6dkiz0we9b] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bell-earlier-title[b-6dkiz0we9b] {
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.bell-earlier.is-read .bell-earlier-title[b-6dkiz0we9b] {
    color: var(--st-text-secondary);
    font-weight: 600;
}

.bell-earlier-time[b-6dkiz0we9b] {
    flex: 0 0 auto;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.bell-earlier-message[b-6dkiz0we9b] {
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.bell-card-earlier-hidden[b-6dkiz0we9b] {
    grid-column: 1 / -1;
    margin: -2px 0 4px 56px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 600;
}

.bell-card-meta[b-6dkiz0we9b] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    padding: 4px 4px 0 0;
}

.bell-card-time[b-6dkiz0we9b] {
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* The green dot is the read button itself: a 44px target around a 24px dot. */
.bell-card-read[b-6dkiz0we9b] {
    position: relative;
    isolation: isolate;
    width: 44px;
    height: 44px;
    margin: -8px -4px -4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--st-success-fg);
    cursor: pointer;
}

.bell-card-read[b-6dkiz0we9b]::before {
    position: absolute;
    inset: 10px;
    z-index: -1;
    border: 1px solid var(--st-success-border);
    border-radius: 999px;
    background: var(--st-success-bg-strong);
    content: "";
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.bell-card-read:hover[b-6dkiz0we9b]::before,
.bell-card-read:focus-visible[b-6dkiz0we9b]::before {
    background: var(--st-success-border);
    transform: scale(1.08);
}

.bell-card-main:hover .bell-card-title[b-6dkiz0we9b] {
    text-decoration: underline;
}

button:focus-visible[b-6dkiz0we9b] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bell-card-read[b-6dkiz0we9b]::before,
    .bell-card-more[b-6dkiz0we9b]  .bell-card-more-chevron {
        transition: none;
    }
}
/* /Pages/Home/Components/Notifications/NotificationDaySection.razor.rz.scp.css */
.bell-day + .bell-day[b-4z2kwnl5s7] {
    margin-top: 12px;
}

.bell-day-label[b-4z2kwnl5s7] {
    margin: 0;
    padding: 8px 4px 4px;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bell-day-cards[b-4z2kwnl5s7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/* /Pages/Home/Components/Notifications/NotificationDetail.razor.rz.scp.css */
.bell-detail[b-zmd5wtfwa6] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 2px;
}

.bell-detail-back[b-zmd5wtfwa6] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: none;
    border-radius: 14px;
    background: var(--st-fill-1);
    color: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.bell-detail-head[b-zmd5wtfwa6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bell-detail-title[b-zmd5wtfwa6] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.bell-detail-rows[b-zmd5wtfwa6] {
    margin: 0;
    display: grid;
    gap: 4px;
}

.bell-detail-rows dt[b-zmd5wtfwa6] {
    margin-top: 6px;
    font-size: 0.75rem;
    opacity: 0.6;
}

.bell-detail-rows dd[b-zmd5wtfwa6] {
    margin: 0;
    font-size: 0.9rem;
    white-space: pre-line;
}
/* /Pages/Home/Components/Notifications/NotificationEventSection.razor.rz.scp.css */
.bell-section + .bell-section[b-8zps7bi1sn] {
    margin-top: 8px;
}

.bell-section-header[b-8zps7bi1sn] {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: var(--st-text-strong);
    font-family: inherit;
    cursor: pointer;
}

.bell-section-header[b-8zps7bi1sn]::before {
    position: absolute;
    inset: 4px 0;
    z-index: -1;
    border-radius: var(--inbox-group-header-radius, 10px);
    background: var(--inbox-group-header-background, var(--st-fill-3));
    content: "";
    transition: background-color 0.2s ease;
}

.bell-section-header:hover[b-8zps7bi1sn]::before {
    background: var(--inbox-group-header-hover-background, var(--st-fill-4));
}

.bell-section-left[b-8zps7bi1sn] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bell-section-icon[b-8zps7bi1sn] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.bell-section-name[b-8zps7bi1sn] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.bell-section-header[b-8zps7bi1sn]  .bell-section-chevron {
    flex: 0 0 16px;
    color: var(--st-text-muted);
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.bell-section-header[b-8zps7bi1sn]  .bell-section-chevron.is-collapsed {
    transform: none;
}

.bell-section-cards[b-8zps7bi1sn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

button:focus-visible[b-8zps7bi1sn] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bell-section-header[b-8zps7bi1sn]::before,
    .bell-section-header[b-8zps7bi1sn]  .bell-section-chevron {
        transition: none;
    }
}
/* /Pages/Home/Components/Notifications/NotificationsPanel.razor.rz.scp.css */
.notifications-panel[b-2ou1aq5yar] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.notifications-header[b-2ou1aq5yar] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 12px 12px;
    flex: 0 0 auto;
}

.notifications-heading[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.header-icon[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: var(--st-fill-5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* The bell is a white image: in the light theme the token darkens it. */
.header-icon img[b-2ou1aq5yar] {
    width: 24px;
    height: 24px;
    filter: var(--st-icon-image-filter);
}

.header-text[b-2ou1aq5yar] {
    min-width: 0;
}

.header-text h2[b-2ou1aq5yar] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.header-subtitle[b-2ou1aq5yar] {
    display: block;
    margin-top: 4px;
    color: var(--st-text-subtle);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.close-notifications-btn[b-2ou1aq5yar] {
    position: relative;
    isolation: isolate;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-block-start: -12px;
    margin-inline-end: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-notifications-btn[b-2ou1aq5yar]::before {
    position: absolute;
    inset: 6px;
    z-index: -1;
    border-radius: 10px;
    background: transparent;
    content: "";
    transition: background-color 0.2s ease;
}

.close-notifications-btn:hover[b-2ou1aq5yar] {
    color: var(--st-text-strong);
}

.close-notifications-btn:hover[b-2ou1aq5yar]::before {
    background: var(--st-fill-4);
}

.close-notifications-btn:focus-visible[b-2ou1aq5yar] {
    outline-offset: -6px;
}

.notifications-toolbar[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 12px 4px;
    flex: 0 0 auto;
}

/* VM-sesion-notificaciones-17: the bell's search. */
.bell-search[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 12px 6px;
    padding: 0 10px;
    height: 32px;
    border-radius: 16px;
    background: var(--st-fill-1);
    flex: 0 0 auto;
}

.bell-search[b-2ou1aq5yar]  .bell-search-icon {
    opacity: 0.6;
    flex: 0 0 auto;
}

.bell-search-input[b-2ou1aq5yar] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font-size: 0.85rem;
}

.bell-tabs[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn[b-2ou1aq5yar],
.mark-all-read-btn[b-2ou1aq5yar],
.bell-more-btn[b-2ou1aq5yar] {
    min-height: 44px;
    box-sizing: border-box;
    border-radius: var(--inbox-pill-radius, 20px);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-btn[b-2ou1aq5yar] {
    position: relative;
    isolation: isolate;
    min-width: 88px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--st-text-strong);
    font-weight: 500;
}

.filter-btn[b-2ou1aq5yar]::before {
    position: absolute;
    inset: 8px 0;
    z-index: -1;
    border-radius: var(--inbox-pill-radius, 20px);
    background: var(--st-surface);
    content: "";
    transition: background-color 0.2s ease;
}

.filter-btn:not(.active):hover[b-2ou1aq5yar]::before,
.filter-btn:not(.active):focus-visible[b-2ou1aq5yar]::before {
    background: var(--st-surface-strong);
}

/* The active tab is the gold pill of the inbox filters. */
.filter-btn.active[b-2ou1aq5yar] {
    color: var(--st-on-accent);
    font-weight: 600;
}

.filter-btn.active[b-2ou1aq5yar]::before {
    background: var(--inbox-pill-active-background, #dea301);
}

.mark-all-read-btn[b-2ou1aq5yar],
.bell-more-btn[b-2ou1aq5yar] {
    position: relative;
    isolation: isolate;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--st-text-strong);
}

.mark-all-read-btn[b-2ou1aq5yar]::before,
.bell-more-btn[b-2ou1aq5yar]::before {
    position: absolute;
    inset: 8px 0;
    z-index: -1;
    border: 1px solid var(--st-border-stronger);
    border-radius: var(--inbox-pill-radius, 20px);
    background: transparent;
    content: "";
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mark-all-read-btn:hover[b-2ou1aq5yar]::before,
.mark-all-read-btn:focus-visible[b-2ou1aq5yar]::before,
.bell-more-btn:not(:disabled):hover[b-2ou1aq5yar]::before,
.bell-more-btn:not(:disabled):focus-visible[b-2ou1aq5yar]::before {
    border-color: var(--st-text-muted);
    background: var(--st-fill-3);
}

.bell-more-btn:disabled[b-2ou1aq5yar] {
    color: var(--st-text-muted);
    cursor: progress;
}

.notifications-body[b-2ou1aq5yar] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 12px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--st-scrollbar-thumb) transparent;
}

.notifications-body[b-2ou1aq5yar]::-webkit-scrollbar {
    width: 6px;
}

.notifications-body[b-2ou1aq5yar]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--st-fill-7);
}

/* Inline notice: a read that failed, or a refresh that could not replace the list on screen. */
.bell-alert[b-2ou1aq5yar] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
    padding: 4px 4px 4px 12px;
    border: 1px solid var(--st-danger-border);
    border-radius: 12px;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.bell-alert[b-2ou1aq5yar]  .bell-alert-icon {
    flex: 0 0 16px;
    color: var(--st-danger-fg);
}

.bell-alert-text[b-2ou1aq5yar] {
    flex: 1 1 auto;
    min-width: 0;
}

.bell-alert-dismiss[b-2ou1aq5yar],
.bell-alert-retry[b-2ou1aq5yar] {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.bell-alert-dismiss:hover[b-2ou1aq5yar],
.bell-alert-retry:hover[b-2ou1aq5yar] {
    background: var(--st-danger-bg-strong);
}

.empty-state[b-2ou1aq5yar],
.bell-error-state[b-2ou1aq5yar] {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 24px;
    text-align: center;
    color: var(--st-text-subtle);
}

.empty-icon[b-2ou1aq5yar] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--st-fill-4);
}

.empty-icon img[b-2ou1aq5yar] {
    width: 28px;
    height: 28px;
    opacity: 0.8;
    filter: var(--st-icon-image-filter);
}

.empty-text[b-2ou1aq5yar],
.bell-error-state p[b-2ou1aq5yar] {
    max-width: 300px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.bell-error-state[b-2ou1aq5yar] {
    color: var(--st-text);
}

.bell-error-state[b-2ou1aq5yar]  .bell-icon {
    color: var(--st-danger-fg);
}

.bell-retry-btn[b-2ou1aq5yar] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid var(--st-border-stronger);
    border-radius: 12px;
    background: transparent;
    color: var(--st-text-strong);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bell-retry-btn:hover[b-2ou1aq5yar] {
    background: var(--st-fill-3);
}

.bell-more[b-2ou1aq5yar] {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

/* Loading: the shape of three cards. */
.bell-skeleton[b-2ou1aq5yar] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}

.bell-skeleton-card[b-2ou1aq5yar] {
    min-height: 64px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    background: var(--st-fill-2);
    box-sizing: border-box;
}

.bell-skeleton-lines[b-2ou1aq5yar] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.bell-skel[b-2ou1aq5yar] {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--st-fill-3) 25%, var(--st-fill-5) 50%, var(--st-fill-3) 75%);
    background-size: 200% 100%;
    animation: bell-shimmer-b-2ou1aq5yar 1.2s ease-in-out infinite;
}

.bell-skel-icon[b-2ou1aq5yar] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
}

.bell-skel-title[b-2ou1aq5yar] {
    width: 55%;
    height: 12px;
}

.bell-skel-line[b-2ou1aq5yar] {
    width: 90%;
}

.bell-skel-short[b-2ou1aq5yar] {
    width: 40%;
}

@keyframes bell-shimmer-b-2ou1aq5yar {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

button:focus-visible[b-2ou1aq5yar] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .notifications-toolbar[b-2ou1aq5yar] {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .bell-tabs[b-2ou1aq5yar],
    .filter-btn[b-2ou1aq5yar] {
        flex: 1;
    }

    .mark-all-read-btn[b-2ou1aq5yar] {
        align-self: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bell-skel[b-2ou1aq5yar],
    button[b-2ou1aq5yar],
    button[b-2ou1aq5yar]::before {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Notifications/TeamTodayCard.razor.rz.scp.css */
.team-card[b-ky5lrgna6c] {
    flex: 0 0 auto;
    margin: 0 12px 8px;
    overflow: hidden;
    border: 1px solid var(--st-border-strong);
    border-radius: 14px;
    background: var(--st-fill-1);
}

/* The gold edge says somebody is not registering. */
.team-card.needs-attention[b-ky5lrgna6c] {
    border-color: #f5b301;
}

.team-card-header[b-ky5lrgna6c] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: var(--st-text-strong);
    text-align: left;
    cursor: pointer;
}

.team-card-header:hover[b-ky5lrgna6c] {
    background: var(--st-fill-5);
}

.team-card.needs-attention .team-card-header[b-ky5lrgna6c] {
    box-shadow: inset 4px 0 0 #f5b301;
}

.team-card-heading[b-ky5lrgna6c] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.team-card-title[b-ky5lrgna6c] {
    font-size: 14px;
    font-weight: 700;
}

.team-card-summary[b-ky5lrgna6c] {
    color: var(--st-text);
    font-size: 13px;
}

.team-card-header[b-ky5lrgna6c]  .team-card-chevron {
    transition: transform 0.2s ease;
}

.team-card-header[b-ky5lrgna6c]  .team-card-chevron.is-open {
    transform: rotate(180deg);
}

/* A long team scrolls inside the card: the notices below stay in sight. */
.team-card-body[b-ky5lrgna6c] {
    max-height: 40vh;
    overflow: auto;
    border-top: 1px solid var(--st-border-strong);
}

.team-card-people[b-ky5lrgna6c] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px;
    list-style: none;
}

/* One person, drawn like a bell card: an opaque surface on the panel's glass (data-st-theme="page"). */
.team-person[b-ky5lrgna6c] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    box-shadow: var(--st-shadow-sm);
}

.team-person.is-past[b-ky5lrgna6c] {
    background: var(--st-surface-muted);
    box-shadow: none;
}

.team-person-icon[b-ky5lrgna6c] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.team-person.is-past .team-person-icon[b-ky5lrgna6c] {
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
}

.team-person-content[b-ky5lrgna6c] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.team-person-name[b-ky5lrgna6c] {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.team-person-situation[b-ky5lrgna6c] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.team-person-detail[b-ky5lrgna6c] {
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

/* What happened after the alert: pending stands out, registered reads as done. */
.team-person-outcome[b-ky5lrgna6c] {
    color: var(--st-accent-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.team-person-outcome.is-registered[b-ky5lrgna6c] {
    color: var(--st-success-fg);
}

.team-person-time[b-ky5lrgna6c] {
    padding-top: 2px;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.team-day-label[b-ky5lrgna6c] {
    margin: 0;
    padding: 10px 12px 0;
    color: var(--st-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.team-card-message[b-ky5lrgna6c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-size: 13px;
}

.team-card-retry[b-ky5lrgna6c] {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 16px;
    background: transparent;
    color: var(--st-text-strong);
    font-weight: 600;
    cursor: pointer;
}

.team-card-updated[b-ky5lrgna6c] {
    padding: 6px 14px 8px;
    color: var(--st-text-subtle);
    font-size: 12px;
}

.team-card-tabs[b-ky5lrgna6c] {
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--st-border-strong);
}

.team-card-tab[b-ky5lrgna6c] {
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 14px;
    background: transparent;
    color: var(--st-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.team-card-tab.active[b-ky5lrgna6c] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
}
/* /Pages/Home/Components/Notifications/Toasts/NotificationToastContainer.razor.rz.scp.css */
/* Each card is its own member of the bottom stack (js/toast-stack.js lifts it above the newer messages, including the
   reconnect banner and the other notices), so the container has no box of its own. */
.notification-toast-container[b-rgt7ifga86] {
    display: contents;
}

.notification-toast-card[b-rgt7ifga86] {
    position: fixed;
    right: var(--st-toast-edge, 24px);
    bottom: calc(var(--st-toast-edge, 24px) + var(--st-toast-offset, 0px));
    z-index: 1500;
    box-sizing: border-box;
    width: min(400px, calc(100vw - 2 * var(--st-toast-edge, 24px)));
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px 14px 16px;
    border-radius: 16px;
    background: var(--st-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.2s ease;
    animation: toastSlideIn-b-rgt7ifga86 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-toast-card:hover[b-rgt7ifga86] {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    border-color: rgba(229, 0, 205, 0.4);
}

/* The whole message is one button: a click opens what the toast is about. */
.toast-main[b-rgt7ifga86] {
    display: flex;
    gap: 14px;
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.toast-icon-wrapper[b-rgt7ifga86] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* The chip's tone follows the event's icon (NotificationToastContainer.ToneOf); the glyph takes its color. */
.toast-icon-wrapper.tone-danger[b-rgt7ifga86] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.toast-icon-wrapper.tone-warning[b-rgt7ifga86] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.toast-icon-wrapper.tone-info[b-rgt7ifga86] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}

.toast-icon-wrapper.tone-success[b-rgt7ifga86] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.toast-icon-wrapper.tone-neutral[b-rgt7ifga86] {
    background: var(--st-fill-4);
    color: var(--st-text-secondary);
}

.toast-content[b-rgt7ifga86] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.toast-header[b-rgt7ifga86] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-badge[b-rgt7ifga86] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #e500cd;
    background: rgba(229, 0, 205, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.toast-title[b-rgt7ifga86] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-close-btn[b-rgt7ifga86] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--st-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease;
}

.toast-close-btn:hover[b-rgt7ifga86] {
    color: var(--st-text-strong);
}

.toast-main:focus-visible[b-rgt7ifga86],
.toast-close-btn:focus-visible[b-rgt7ifga86] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.toast-description[b-rgt7ifga86] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    color: var(--st-text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The bar empties in CSS over the toast lifetime (animation-duration is set inline from the
   component) and freezes while the card is hovered, together with the removal countdown. */
.toast-progress-bar[b-rgt7ifga86] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e500cd, #f43f5e);
    transform-origin: left center;
    animation: toastProgress-b-rgt7ifga86 6s linear forwards;
}

.toast-progress-bar.is-paused[b-rgt7ifga86] {
    animation-play-state: paused;
}

@keyframes toastProgress-b-rgt7ifga86 {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@keyframes toastSlideIn-b-rgt7ifga86 {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* «+N alertas más»: the toasts kept but not drawn, on the top card of the stack (vm-p2-Qavisos-1). */
.toast-more[b-rgt7ifga86] {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(229, 0, 205, 0.18);
    color: var(--st-text-secondary, #cbd5e1);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    pointer-events: none;
}
/* /Pages/Home/Components/PermissionRequestDialog.razor.rz.scp.css */
.prn-overlay[b-9rv4qiijq0] {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 16, 32, 0.55);
    backdrop-filter: blur(2px);
}

.prn-card[b-9rv4qiijq0] {
    width: min(440px, 100%);
    padding: 24px;
    border-radius: 12px;
    background: var(--st-surface, #fff);
    color: var(--st-text, #1a1f36);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.prn-title[b-9rv4qiijq0] {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.prn-message[b-9rv4qiijq0] {
    margin: 0 0 16px;
    line-height: 1.4;
}

.prn-reason[b-9rv4qiijq0] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 8px;
    border: 1px solid var(--st-border, #d0d5dd);
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

.prn-footer[b-9rv4qiijq0] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.prn-btn[b-9rv4qiijq0] {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.prn-btn:disabled[b-9rv4qiijq0] {
    opacity: 0.5;
    cursor: default;
}

.prn-btn-primary[b-9rv4qiijq0] {
    background: var(--st-primary, #1f3a68);
    color: #fff;
}

.prn-btn-danger[b-9rv4qiijq0] {
    background: var(--st-danger, #c62828);
    color: #fff;
}

.prn-btn-secondary[b-9rv4qiijq0] {
    background: transparent;
    color: inherit;
    border: 1px solid var(--st-border, #d0d5dd);
}
/* /Pages/Home/Components/Reportes/Components/Cards/MetricCard.razor.rz.scp.css */
/* Contenedor Principal con estilo "Glass" oscuro y pro */
.metric-card-container[b-vi4tqkd1by] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px 24px;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -1px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Brillo superior interno */
    color: var(--st-text-body);
    font-family: 'Segoe UI', sans-serif;
    /* Mantenemos fuente según solicitud */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--st-border-subtle);
    position: relative;
    overflow: hidden;
}

.metric-card-container:hover[b-vi4tqkd1by] {
    transform: translateY(-4px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--st-border);
}

/* Efecto de resplandor dinámico que sigue al mouse */
.metric-card-container[b-vi4tqkd1by]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--glow-color, rgba(56, 189, 248, 0.08)),
            transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.metric-card-container:hover[b-vi4tqkd1by]::before {
    opacity: 1;
}

.metric-content-wrapper[b-vi4tqkd1by] {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* HEADER: Título e Icono */
.metric-header[b-vi4tqkd1by] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    gap: 1rem;
}

.metric-scope[b-vi4tqkd1by] {
    margin-left: auto;
    margin-right: 0.5rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    align-self: flex-start;
}

.metric-scope--now[b-vi4tqkd1by] {
    color: var(--st-info-fg);
    background: var(--st-info-bg);
}

.metric-scope--period[b-vi4tqkd1by] {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
}

.metric-title[b-vi4tqkd1by] {
    font-size: 0.75rem;
    /* 12px */
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 4px;
    /* Alineación visual con icono */
    flex: 1;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Con un selector abierto la lista debe salirse de la tarjeta (el resto del tiempo la tarjeta recorta
   su contenido). Se libera sólo entonces, y se sube sobre las vecinas para que no la tapen. El
   brillo hereda el radio para que no asome una esquina cuadrada mientras no recorta. */
.metric-card-container:has(.st-native-selector.is-open)[b-vi4tqkd1by] {
    overflow: visible;
    z-index: 30;
}

.metric-card-container[b-vi4tqkd1by]::before {
    border-radius: inherit;
}

/* Cargando: giro en lugar del valor y el resto atenuado, para que se note que el cambio de
   selector sí está consultando datos. */
.metric-value--loading[b-vi4tqkd1by] {
    display: inline-flex;
    align-items: center;
    height: 1.2em;
}

.metric-spinner[b-vi4tqkd1by] {
    width: 0.7em;
    height: 0.7em;
    min-width: 18px;
    min-height: 18px;
    border: 3px solid var(--st-border-strong);
    border-top-color: #D33BB2;
    border-radius: 50%;
    animation: metricSpin-b-vi4tqkd1by 0.7s linear infinite;
}

@keyframes metricSpin-b-vi4tqkd1by {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .metric-spinner[b-vi4tqkd1by] {
        animation-duration: 2s;
    }
}

.metric-card-loading .metric-subvalues[b-vi4tqkd1by],
.metric-card-loading .metric-footer[b-vi4tqkd1by],
.metric-card-loading .metric-extras[b-vi4tqkd1by] {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

/* Icono con fondo sutil */
.metric-icon[b-vi4tqkd1by] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--st-fill-2);
    color: var(--st-text-secondary);
    font-size: 1.1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.metric-card-container:hover .metric-icon[b-vi4tqkd1by] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    transform: scale(1.05);
}

/* BODY: valor y unidad a la izquierda, sub-métricas a la derecha */
.metric-body[b-vi4tqkd1by] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    margin-bottom: 12px;
}

.metric-main[b-vi4tqkd1by] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.metric-value[b-vi4tqkd1by] {
    font-size: 2.2rem;
    /* Más grande 36px aprox */
    font-weight: 700;
    color: var(--st-text);
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-unit[b-vi4tqkd1by] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--st-text-subtle);
    margin-bottom: 0;
    line-height: 1;
}

/* Sub-métricas (p. ej. a tiempo / con retraso) */
.metric-subvalues[b-vi4tqkd1by] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-left: 1.5rem;
    border-left: 1px solid var(--st-border);
}

.metric-subvalue[b-vi4tqkd1by] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.metric-subvalue-number[b-vi4tqkd1by] {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.metric-subvalue-number--good[b-vi4tqkd1by] {
    color: var(--st-success-fg);
}

.metric-subvalue-number--bad[b-vi4tqkd1by] {
    color: var(--st-danger-fg);
}

.metric-subvalue-label[b-vi4tqkd1by] {
    color: var(--st-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

/* FOOTER: Tendencia */
.metric-footer[b-vi4tqkd1by] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 24px;
}

.metric-trend[b-vi4tqkd1by] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--st-fill-1);
    align-self: flex-start;
    /* No ocupar todo el ancho */
    border: 1px solid transparent;
}

.trend-label[b-vi4tqkd1by] {
    color: var(--st-text-subtle);
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 4px;
}

/* Colores de tendencia con bordes y fondos sutiles */
.metric-trend.success[b-vi4tqkd1by] {
    color: var(--st-success-fg);
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
}

.metric-trend.danger[b-vi4tqkd1by] {
    color: var(--st-danger-fg);
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
}

.metric-trend.warning[b-vi4tqkd1by] {
    color: var(--st-warning-fg);
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
}

/* Barra de Progreso */
.progress-bar-container[b-vi4tqkd1by] {
    width: 100%;
    height: 6px;
    background-color: var(--st-fill-2);
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.progress-bar[b-vi4tqkd1by] {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* Colores del resplandor interactivo según el estado */
.metric-card-container.success[b-vi4tqkd1by] {
    --glow-color: rgba(74, 222, 128, 0.08);
    /* Verde */
}

.metric-card-container.warning[b-vi4tqkd1by] {
    --glow-color: rgba(251, 191, 36, 0.08);
    /* Amarillo */
}

.metric-card-container.danger[b-vi4tqkd1by] {
    --glow-color: rgba(248, 113, 113, 0.08);
    /* Rojo */
}

/* Estado deshabilitado en modo edición */
.metric-card-disabled[b-vi4tqkd1by] {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.4) brightness(0.9);
    cursor: default;
    border-color: var(--st-border-subtle);
}

.metric-card-disabled:hover[b-vi4tqkd1by] {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.metric-value--error[b-vi4tqkd1by] {
    color: var(--st-warning-fg);
    cursor: help;
}

.metric-retry[b-vi4tqkd1by] {
    padding: 2px 10px;
    border: 1px solid var(--st-info-border);
    border-radius: 6px;
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.metric-retry:hover[b-vi4tqkd1by] {
    background: var(--st-info-bg-strong);
}
/* /Pages/Home/Components/Reportes/Components/Cards/ReporteCard.razor.rz.scp.css */
/* Estilos extraídos de ReportesPanel para que el componente sea autónomo */

.reporte-card[b-qfend5n1w0] {
    /* Degradado sutil para profundidad, igual que MetricCard */
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reporte-card:hover[b-qfend5n1w0] {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--st-border-subtle);
}

/* Efecto de brillo superior estático original */
/* Efecto de brillo superior estático original removido */

/* Efecto de luz dinámica que sigue al mouse (Mismo que KPIs) */
.reporte-card[b-qfend5n1w0]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--glow-color, rgba(56, 189, 248, 0.08)),
            transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.reporte-card:hover[b-qfend5n1w0]::after {
    opacity: 1;
}

.card-header[b-qfend5n1w0] {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: none;
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h4[b-qfend5n1w0] {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-muted);
    /* Slate-400 para consistencia con MetricCard */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-content[b-qfend5n1w0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Fondo muy sutil para delimitar el área gráfica, opcional */
    background: transparent;
    border-radius: 8px;
    min-height: 0;
    position: relative;
    z-index: 1;
    padding: 10px;
}

/* TightContent: takes back the card's 20px padding on the sides and bottom (not the top, so it
   doesn't run into the title / expand icon). Compound selector so it beats .card-content and the
   sidebars' ::deep .card-content, as the inline style it replaces did. */
.reporte-card .card-content.card-content--tight[b-qfend5n1w0] {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin: 0 -20px -20px -20px;
    padding-bottom: 6px;
}

/* ShowHeader = false: just the content, no card chrome (hover included). */
.reporte-card.reporte-card--headless[b-qfend5n1w0],
.reporte-card.reporte-card--headless:hover[b-qfend5n1w0] {
    border: none;
    background: transparent;
    box-shadow: none;
}

.header-actions[b-qfend5n1w0] {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Botones de acción en el header */
.icon-btn[b-qfend5n1w0] {
    background: transparent;
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover[b-qfend5n1w0] {
    color: var(--st-text-body);
    background: var(--st-fill-4);
}

.header-actions select[b-qfend5n1w0] {
    background: var(--st-input-bg);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 24px 4px 10px;
    /* Extra padding for arrow */
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    /* Custom Arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px;
}

.header-actions select:hover[b-qfend5n1w0] {
    background-color: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
    color: var(--st-text-strong);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.header-actions select:focus[b-qfend5n1w0] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Option Styles */
.header-actions select option[b-qfend5n1w0] {
    background-color: var(--st-surface-raised);
    color: var(--st-text-body);
    padding: 12px;
}
/* /Pages/Home/Components/Reportes/Components/Charts/GenericChartViewer.razor.rz.scp.css */
.generic-chart-container[b-p6q5rftd2k] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

/* Spinner while the report (or its refresh) loads */
.chart-viewer-loading[b-p6q5rftd2k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--st-text-muted);
    font-size: 0.9rem;
}

/* Report without a registered chart view */
.chart-viewer-missing[b-p6q5rftd2k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: var(--st-text-secondary);
}

/* .chart-wrapper and .custom-chart-scroll are on the elements of the chart views rendered inside
   this viewer, so they go through ::deep. */
[b-p6q5rftd2k] .chart-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[b-p6q5rftd2k] .chart-wrapper-expanded {
    min-width: 700px;
    min-height: 320px;
}

/* Shared layout of the chart views: root, chart area and the x-axis name drawn over the chart. */
[b-p6q5rftd2k] .chart-view {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

[b-p6q5rftd2k] .chart-view-scroll {
    flex: 1;
    min-height: 0;
}

[b-p6q5rftd2k] .chart-view-axis-name {
    position: absolute;
    bottom: 32px;
    left: 0;
    z-index: 10;
    width: 100%;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
}

[b-p6q5rftd2k] .custom-chart-scroll {
    width: 100%;
    height: 100%;
    overflow-x: auto; 
    overflow-y: auto; 
    padding-bottom: 5px;
}

[b-p6q5rftd2k] .custom-chart-scroll::-webkit-scrollbar {
    height: 6px; 
}

[b-p6q5rftd2k] .custom-chart-scroll::-webkit-scrollbar-track {
    background: var(--st-fill-2); 
    border-radius: 3px;
}

[b-p6q5rftd2k] .custom-chart-scroll::-webkit-scrollbar-thumb {
    background: var(--st-fill-6); 
    border-radius: 3px;
}

[b-p6q5rftd2k] .custom-chart-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--st-fill-7);
}

@keyframes slideDown-b-p6q5rftd2k {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reportes-spinner-small[b-p6q5rftd2k] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--st-border);
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin-b-p6q5rftd2k 1s linear infinite;
}

@keyframes spin-b-p6q5rftd2k {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* /Pages/Home/Components/Reportes/Components/Filters/DateRangeFilter.razor.rz.scp.css */
.date-range--stacked[b-zzztyo16bw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.date-range__label[b-zzztyo16bw] {
    display: block;
    margin-bottom: 8px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 600;
}

.date-range__dates[b-zzztyo16bw] {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
    margin-bottom: 10px;
}

.date-range__dates--stacked[b-zzztyo16bw] {
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.date-range__date-label[b-zzztyo16bw] {
    display: block;
    margin-bottom: 8px;
    color: var(--st-text-subtle);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.date-range__date-label--highlight[b-zzztyo16bw] {
    color: var(--st-warning-fg);
}
/* /Pages/Home/Components/Reportes/Components/Filters/FilterChip.razor.rz.scp.css */
.filter-chip[b-ou1kb5m4vw] {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 6px 14px;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    background: #e5b900;
    box-shadow: 0 2px 8px rgba(229, 185, 0, 0.2);
    color: #1a365d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: default;
    transition: all 0.2s ease;
}

.filter-chip:hover[b-ou1kb5m4vw] {
    background: #f2c600;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.3);
    transform: translateY(-1px);
}

.filter-chip--compact[b-ou1kb5m4vw] {
    gap: 6px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 10.5px;
    letter-spacing: 0.01em;
}

.filter-chip-label[b-ou1kb5m4vw] {
    margin-right: 2px;
    color: #1a365d;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}

.filter-chip--compact .filter-chip-label[b-ou1kb5m4vw] {
    font-size: 8px;
}

.filter-chip-value[b-ou1kb5m4vw] {
    max-width: 150px;
    overflow: hidden;
    color: #1a365d;
    text-overflow: ellipsis;
}

.filter-chip--compact .filter-chip-value[b-ou1kb5m4vw] {
    max-width: none;
}

.remove-filter-btn[b-ou1kb5m4vw] {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    padding: 2px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #1a365d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-filter-btn:hover[b-ou1kb5m4vw] {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    transform: rotate(90deg);
}

.remove-filter-btn:focus-visible[b-ou1kb5m4vw] {
    outline: 2px solid #1a365d;
    outline-offset: 1px;
}
/* /Pages/Home/Components/Reportes/Components/Grids/ColumnOptionsPanel.razor.rz.scp.css */
.column-options-panel[b-x5vgbg3xrz] {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--st-text-body);
    font-family: inherit;
    padding: 20px;
}

.column-options-header[b-x5vgbg3xrz] {
    margin-bottom: 20px;
}

.column-options-description[b-x5vgbg3xrz] {
    font-size: 13px;
    color: var(--st-text-muted);
    margin: 0;
    line-height: 1.5;
}

.column-options-list[b-x5vgbg3xrz] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
}

/* Scrollbar customization for the list */
.column-options-list[b-x5vgbg3xrz]::-webkit-scrollbar {
    width: 6px;
}
.column-options-list[b-x5vgbg3xrz]::-webkit-scrollbar-track {
    background: var(--st-scrollbar-track);
    border-radius: 4px;
}
.column-options-list[b-x5vgbg3xrz]::-webkit-scrollbar-thumb {
    background: var(--st-scrollbar-thumb);
    border-radius: 4px;
}

.column-option-item[b-x5vgbg3xrz] {
    display: flex;
    align-items: center;
    background: var(--st-fill-2);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    transition: background 0.2s, border-color 0.2s;
}

.column-option-item:hover[b-x5vgbg3xrz] {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
}

.custom-checkbox[b-x5vgbg3xrz] {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
    width: 100%;
}

.custom-checkbox input[b-x5vgbg3xrz] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark[b-x5vgbg3xrz] {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 2px solid var(--st-border-stronger);
    border-radius: 4px;
    transition: all 0.2s;
}

.custom-checkbox:hover input ~ .checkmark[b-x5vgbg3xrz] {
    border-color: var(--st-border-stronger);
}

.custom-checkbox input:checked ~ .checkmark[b-x5vgbg3xrz] {
    background-color: #E5B900;
    border-color: #E5B900;
}

.checkmark[b-x5vgbg3xrz]:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark[b-x5vgbg3xrz]:after {
    display: block;
}

.custom-checkbox .checkmark[b-x5vgbg3xrz]:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.column-name[b-x5vgbg3xrz] {
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text-strong);
    margin-left: 8px;
}

.column-options-footer[b-x5vgbg3xrz] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
}

.btn-cancel[b-x5vgbg3xrz] {
    background: transparent;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-strong);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover[b-x5vgbg3xrz] {
    background: var(--st-fill-4);
    color: var(--st-text-secondary);
}

.btn-apply[b-x5vgbg3xrz] {
    background: #E500CD;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(229, 0, 205, 0.3);
}

.btn-apply:hover[b-x5vgbg3xrz] {
    background: #C700B1;
}
/* /Pages/Home/Components/Reportes/Components/Grids/GenericGridViewer.razor.rz.scp.css */
.generic-grid-container[b-nctyqjtkpo] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
}

.grid-viewer-loading[b-nctyqjtkpo] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-subtle);
}

/* Barra "Volver al resumen" mientras se ve el detalle */
.grid-viewer-detail-bar[b-nctyqjtkpo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.back-to-summary-btn[b-nctyqjtkpo] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--st-info-border);
    border-radius: 6px;
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.grid-viewer-detail-tag[b-nctyqjtkpo] {
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 500;
}

/* Reporte sin vista de tabla registrada */
.grid-viewer-missing[b-nctyqjtkpo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-secondary);
    text-align: center;
}

.grid-viewer-missing-icon[b-nctyqjtkpo] {
    margin-bottom: 10px;
    opacity: 0.3;
}

.grid-viewer-missing-title[b-nctyqjtkpo] {
    font-size: 13px;
}

.grid-viewer-missing-hint[b-nctyqjtkpo] {
    margin-top: 5px;
    color: var(--st-text-subtle);
    font-size: 11px;
}
/* /Pages/Home/Components/Reportes/Components/Help/Diagrams/CatalogDiagram.razor.rz.scp.css */
/* Maqueta de la galería de gráficas (ayuda de la galería). Los trazos y piezas comunes (panel, píldoras, tarjetas,
   barras, glifos, números, zonas, apagado por paso) están en Shared/ReportHelpPopover.razor.css; aquí solo lo
   propio de esta maqueta: el panel lateral, el botón AGREGAR, la etiqueta de edición y qué grupo se enciende
   en cada paso. */

/* ── Color de cada paso (contorno de su zona y de sus números) ───────────── */
.rh-diagram.step-1[b-w25scr82ff] { --rh-accent: #38BDF8; }
.rh-diagram.step-2[b-w25scr82ff] { --rh-accent: #D33BB2; }
.rh-diagram.step-3[b-w25scr82ff] { --rh-accent: #F5C451; }
.rh-diagram.step-4[b-w25scr82ff] { --rh-accent: #22C55E; }

/* ── Piezas propias de la maqueta ────────────────────────────────────────── */
.rh-side[b-w25scr82ff] {
    fill: #1F2F45;
}

.rh-label[b-w25scr82ff] {
    fill: #94A3B8;
    font-size: 6.4px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-family: inherit;
}

.rh-thumb[b-w25scr82ff] {
    fill: #334155;
}

.rh-line.is-dim[b-w25scr82ff] {
    opacity: 0.55;
}

/* Tarjeta de la galería seleccionada (paso 3). */
.rh-sel[b-w25scr82ff] {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 1.4;
}

.rh-add[b-w25scr82ff] {
    fill: #D33BB2;
}

.rh-add-text[b-w25scr82ff] {
    fill: #FFFFFF;
    font-size: 6.6px;
    font-weight: 700;
    font-family: inherit;
}

.rh-tag[b-w25scr82ff] {
    fill: #1E293B;
    stroke: #E5B900;
    stroke-width: 0.8;
}

.rh-tag-text[b-w25scr82ff] {
    fill: #E5B900;
    font-size: 5.2px;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-family: inherit;
}

/* Hueco donde caerá la gráfica (pasos 2 y 3) y la gráfica ya puesta (paso 4). */
.rh-slot[b-w25scr82ff] {
    fill: rgba(245, 196, 81, 0.06);
    stroke: var(--rh-accent);
    stroke-width: 1.2;
    stroke-dasharray: 4 3;
}

.rh-card.is-new[b-w25scr82ff] {
    stroke: var(--rh-accent);
    stroke-width: 1;
}

.rh-arrow[b-w25scr82ff] {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 1.4;
    stroke-dasharray: 3 2.5;
    stroke-linecap: round;
}

.rh-arrow-head[b-w25scr82ff] {
    fill: var(--rh-accent);
}

/* ── Qué grupo se enciende en cada paso ──────────────────────────────────── */
/* Lleva .rh-diagram para pesar más que el apagado común (.rh-g) sin depender del orden de las hojas. */
.rh-diagram.step-1 .g-list[b-w25scr82ff],
.rh-diagram.step-2 .g-list[b-w25scr82ff],
.rh-diagram.step-3 .g-list[b-w25scr82ff],
.rh-diagram.step-3 .g-add[b-w25scr82ff],
.rh-diagram.step-2 .g-slot[b-w25scr82ff],
.rh-diagram.step-3 .g-slot[b-w25scr82ff],
.rh-diagram.step-4 .g-slot[b-w25scr82ff],
.rh-diagram.step-4 .g-bar[b-w25scr82ff] {
    opacity: 1;
}
/* /Pages/Home/Components/Reportes/Components/Help/Diagrams/PanelDiagram.razor.rz.scp.css */
/* Maqueta del panel (ayuda general). Los trazos y piezas comunes a todos los dibujos de ayuda (panel, píldoras,
   tarjetas, barras, glifos, números, zonas, apagado por paso) están en Shared/ReportHelpPopover.razor.css;
   aquí solo lo propio de esta maqueta: sus piezas, sus colores por paso y qué grupo se enciende en cada uno. */

/* ── Color de cada paso (contorno de su zona y de sus números) ───────────── */
.rh-diagram.step-1[b-e07fa0kb9z] { --rh-accent: #D33BB2; }
.rh-diagram.step-2[b-e07fa0kb9z] { --rh-accent: #F5C451; }
.rh-diagram.step-3[b-e07fa0kb9z] { --rh-accent: #F5C451; }
.rh-diagram.step-4[b-e07fa0kb9z] { --rh-accent: #38BDF8; }
.rh-diagram.step-5[b-e07fa0kb9z] { --rh-accent: #38BDF8; }
.rh-diagram.step-6[b-e07fa0kb9z] { --rh-accent: #22C55E; }
.rh-diagram.step-7[b-e07fa0kb9z] { --rh-accent: #D33BB2; }

/* ── Piezas propias de la maqueta ────────────────────────────────────────── */
.rh-title[b-e07fa0kb9z] {
    fill: #475569;
}

.rh-chip[b-e07fa0kb9z] {
    fill: #F5C451;
    opacity: 0.9;
}

.rh-chip-text[b-e07fa0kb9z] {
    fill: #0F172A;
    font-size: 5.4px;
    font-weight: 700;
    font-family: inherit;
}

.rh-chip-text.is-x[b-e07fa0kb9z] {
    font-size: 7px;
}

.rh-tab[b-e07fa0kb9z] {
    fill: #1E293B;
}

.rh-tab.is-active[b-e07fa0kb9z] {
    fill: #D33BB2;
}

.rh-select[b-e07fa0kb9z] {
    fill: #0F172A;
    stroke: #64748B;
    stroke-width: 0.5;
}

.rh-info[b-e07fa0kb9z] {
    fill: #2563EB;
}

.rh-info-text[b-e07fa0kb9z] {
    fill: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    font-family: Georgia, serif;
}

.rh-check[b-e07fa0kb9z] {
    fill: #0F172A;
    stroke: #E2E8F0;
    stroke-width: 0.8;
}

.rh-check.is-on[b-e07fa0kb9z] {
    fill: var(--rh-accent);
    stroke: var(--rh-accent);
}

.rh-edit-outline[b-e07fa0kb9z] {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 0.8;
    stroke-dasharray: 2 2;
}

/* ── Qué grupo se enciende en cada paso ──────────────────────────────────── */
/* Lleva .rh-diagram para pesar más que el apagado común (.rh-g) sin depender del orden de las hojas. */
.rh-diagram.step-1 .g-tabs[b-e07fa0kb9z],
.rh-diagram.step-7 .g-tabs[b-e07fa0kb9z],
.rh-diagram.step-7 .g-add[b-e07fa0kb9z],
.rh-diagram.step-2 .g-filters[b-e07fa0kb9z],
.rh-diagram.step-3 .g-chips[b-e07fa0kb9z],
.rh-diagram.step-4 .g-kpi[b-e07fa0kb9z],
.rh-diagram.step-5 .g-charts[b-e07fa0kb9z],
.rh-diagram.step-5 .g-refresh[b-e07fa0kb9z],
.rh-diagram.step-6 .g-edit[b-e07fa0kb9z],
.rh-diagram.step-6 .g-charts[b-e07fa0kb9z],
.rh-diagram.step-7 .g-charts[b-e07fa0kb9z] {
    opacity: 1;
}
/* /Pages/Home/Components/Reportes/Components/Help/Shared/ReportHelpPopover.razor.rz.scp.css */
/* Vocabulario común de la ayuda de Reportes. Todo el contenido de una ayuda (pasos, entradas y dibujos) se
   pinta dentro del carrusel, así que las reglas van con ::deep desde el envoltorio: valen para HelpItem,
   HelpBadge y los dibujos sin repetirlas en cada componente. Lo que es de un solo dibujo (la maqueta del
   panel, una plantilla de gráfica) va en el .razor.css de ese dibujo. */

.report-help[b-p9ck9e4bkb] {
    display: contents;
}

/* ── Tarjeta ─────────────────────────────────────────────────────────────── */
/* Una guía de procedimientos pide más ancho y un alto mínimo mayor que el del chasis: el texto largo no se
   aprieta y las flechas no saltan al cambiar de paso. */
.report-help[b-p9ck9e4bkb]  .info-carousel-card {
    width: 400px;
    max-width: calc(100vw - 32px);
}

.report-help.is-compact[b-p9ck9e4bkb]  .info-carousel-card {
    width: 372px;
}

/* ── Ventana centrada (Dialog) ───────────────────────────────────────────── */
/* El contenedor del carrusel pasa a cubrir la pantalla y centra su tarjeta; el fondo atenúa el panel. Lo que está
   en el panel sigue accesible porque el contenedor no recibe clics: solo la tarjeta y el fondo. */
/* Por encima de la ventana expandida (ReportDetailModal, z-index 10000), desde donde también se abre. */
.report-help.is-dialog[b-p9ck9e4bkb]  .info-carousel-wrapper {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.report-help.is-dialog[b-p9ck9e4bkb]  .info-carousel-backdrop {
    z-index: 10005;
    background: rgba(15, 23, 42, 0.55);
}

.report-help.is-dialog[b-p9ck9e4bkb]  .info-carousel-card {
    position: relative;
    top: auto;
    right: auto;
    pointer-events: auto;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
}

.report-help.is-dialog[b-p9ck9e4bkb]  .info-carousel-card::before {
    display: none;
}

.report-help[b-p9ck9e4bkb]  .info-carousel-step {
    min-height: 300px;
}

.report-help[b-p9ck9e4bkb]  .info-carousel-name {
    font-size: 0.82rem;
}

.report-help[b-p9ck9e4bkb]  .info-carousel-desc {
    font-size: 0.78rem;
    line-height: 1.5;
}

/* ── Marcas de color de las entradas (HelpItem Tone) ─────────────────────── */
.report-help[b-p9ck9e4bkb]  .rh-key-tabs {
    background: #D33BB2;
}

.report-help[b-p9ck9e4bkb]  .rh-key-filters,
.report-help[b-p9ck9e4bkb]  .rh-key-expand {
    background: #F5C451;
}

.report-help[b-p9ck9e4bkb]  .rh-key-cards {
    background: #38BDF8;
}

.report-help[b-p9ck9e4bkb]  .rh-key-edit {
    background: #22C55E;
}

/* ── Botón "i" de cristal ────────────────────────────────────────────────── */
/* El de los botones del encabezado de Reportes (Filtros, Recargar…): círculo translúcido en vez del azul de 20 px
   del chasis. El tamaño es 36 px salvo que el contenedor fije --rh-btn-size (la cabecera del panel lateral, 32 px,
   para alinearlo con su botón de cerrar). */
.report-help.is-glass[b-p9ck9e4bkb]  .info-carousel-btn {
    width: var(--rh-btn-size, 36px);
    height: var(--rh-btn-size, 36px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: rgba(255, 255, 255, 0.7);
}

.report-help.is-glass[b-p9ck9e4bkb]  .info-carousel-btn svg {
    width: 18px;
    height: 18px;
}

.report-help.is-glass[b-p9ck9e4bkb]  .info-carousel-btn:hover,
.report-help.is-glass[b-p9ck9e4bkb]  .info-carousel-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ── Piezas básicas de maqueta, comunes a todos los dibujos ──────────────── */
.report-help[b-p9ck9e4bkb]  .rh-panel {
    fill: #0F172A;
}

.report-help[b-p9ck9e4bkb]  .rh-pill {
    fill: #1E293B;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 0.6;
}

.report-help[b-p9ck9e4bkb]  .rh-card {
    fill: #1E293B;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.6;
}

.report-help[b-p9ck9e4bkb]  .rh-line {
    fill: #475569;
}

.report-help[b-p9ck9e4bkb]  .rh-line.is-big {
    fill: #E2E8F0;
}

.report-help[b-p9ck9e4bkb]  .rh-text {
    fill: #E2E8F0;
    font-size: 6.4px;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-text.is-strong {
    fill: #FFFFFF;
    font-weight: 700;
}

.report-help[b-p9ck9e4bkb]  .rh-kpi-text {
    fill: #CBD5E1;
    font-size: 5.2px;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-iconbtn {
    fill: #334155;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 0.6;
}

.report-help[b-p9ck9e4bkb]  .rh-bar.b1 {
    fill: #38BDF8;
}

.report-help[b-p9ck9e4bkb]  .rh-bar.b2 {
    fill: #D33BB2;
}

.report-help[b-p9ck9e4bkb]  .rh-trend {
    fill: none;
    stroke: #F5C451;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

/* ── Trazos y marcas de los dibujos ──────────────────────────────────────── */
.report-help[b-p9ck9e4bkb]  .rh-glyph {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-help[b-p9ck9e4bkb]  .rh-glyph.is-thin {
    stroke-width: 0.7;
}

.report-help[b-p9ck9e4bkb]  .rh-glyph.is-accent {
    stroke: var(--rh-accent);
}

.report-help[b-p9ck9e4bkb]  .rh-glyph.is-dark {
    stroke: #0F172A;
    stroke-width: 1.2;
}

.report-help[b-p9ck9e4bkb]  .rh-callout {
    fill: #F5C451;
    font-size: 6.6px;
    font-weight: 700;
    font-family: inherit;
}

/* Círculo numerado: liga un control del dibujo con el punto de su mismo número en el texto. */
.report-help[b-p9ck9e4bkb]  .rh-badge {
    fill: var(--rh-accent);
    stroke: #0F172A;
    stroke-width: 0.8;
}

.report-help[b-p9ck9e4bkb]  .rh-badge-text {
    fill: #0F172A;
    font-size: 6.4px;
    font-weight: 800;
    font-family: inherit;
    text-anchor: middle;
}

/* ── Dibujos de una gráfica (plantillas de Diagrams/*Diagram) ────────────── */
/* Tres pasos: 1 qué mide (azul), 2 cómo leerla (magenta, con números), 3 qué hacer con ella (verde, con el cursor y el
   botón de expandir). La figura (rh-g g-area) siempre está encendida; el marco con el botón de expandir (g-frame)
   solo en el paso 3. */
.report-help[b-p9ck9e4bkb]  .rh-chart.step-1 { --rh-accent: #38BDF8; }
.report-help[b-p9ck9e4bkb]  .rh-chart.step-2 { --rh-accent: #D33BB2; }
.report-help[b-p9ck9e4bkb]  .rh-chart.step-3 { --rh-accent: #22C55E; }

.report-help[b-p9ck9e4bkb]  .rh-chart .g-area,
.report-help[b-p9ck9e4bkb]  .rh-chart.step-3 .g-frame {
    opacity: 1;
}

.report-help[b-p9ck9e4bkb]  .rh-axis {
    fill: none;
    stroke: #334155;
    stroke-width: 1;
    stroke-linecap: round;
}

.report-help[b-p9ck9e4bkb]  .rh-funnel {
    fill: rgba(139, 92, 246, 0.5);
    stroke: #8B5CF6;
    stroke-width: 1.2;
    stroke-linejoin: round;
}

/* Los motivos / procesos de una figura apilada. Los mismos colores que la paleta de las gráficas reales. */
.report-help[b-p9ck9e4bkb]  .rh-seg.c1 { fill: #3B82F6; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c2 { fill: #14B8A6; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c3 { fill: #F59E0B; }

.report-help[b-p9ck9e4bkb]  .rh-bar-text {
    fill: #FFFFFF;
    font-size: 6px;
    font-weight: 700;
    font-family: inherit;
}

/* Línea que sigue al cursor y ventana de datos que aparece al colocarlo sobre la figura (paso 3). */
.report-help[b-p9ck9e4bkb]  .rh-pointer {
    fill: none;
    stroke: #94A3B8;
    stroke-width: 0.8;
    stroke-dasharray: 3 2.5;
}

.report-help[b-p9ck9e4bkb]  .rh-tooltip rect {
    fill: #0F172A;
    stroke: #334155;
    stroke-width: 0.8;
}

.report-help[b-p9ck9e4bkb]  .rh-tooltip-text {
    fill: #CBD5E1;
    font-size: 5.8px;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-tooltip-text.is-strong {
    fill: #FFFFFF;
    font-weight: 700;
}

/* Más tramos y trazos de las plantillas: colores extra de los tramos apilados (rojo, violeta, verde, rojo oscuro y gris, estos
   últimos de autorizadas y rechazadas), la línea de porcentaje, las dos líneas de cumplimiento y las porciones de la torta. */
.report-help[b-p9ck9e4bkb]  .rh-seg.c4 { fill: #F43F5E; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c5 { fill: #8B5CF6; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c6 { fill: #22C55E; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c7 { fill: #BE123C; }
.report-help[b-p9ck9e4bkb]  .rh-seg.c8 { fill: #64748B; }

.report-help[b-p9ck9e4bkb]  .rh-pctline {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.report-help[b-p9ck9e4bkb]  .rh-pctdot {
    fill: #E2E8F0;
}

.report-help[b-p9ck9e4bkb]  .rh-line-green,
.report-help[b-p9ck9e4bkb]  .rh-line-amber {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.report-help[b-p9ck9e4bkb]  .rh-line-green { stroke: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-line-amber { stroke: #F59E0B; }
.report-help[b-p9ck9e4bkb]  .rh-dot-green { fill: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-dot-amber { fill: #F59E0B; }

.report-help[b-p9ck9e4bkb]  .rh-slice {
    stroke: #1E293B;
    stroke-width: 1.2;
    stroke-linejoin: round;
}

.report-help[b-p9ck9e4bkb]  .rh-slice.s1, .report-help[b-p9ck9e4bkb]  .rh-slice-dot.s1 { fill: #6366F1; }
.report-help[b-p9ck9e4bkb]  .rh-slice.s2, .report-help[b-p9ck9e4bkb]  .rh-slice-dot.s2 { fill: #14B8A6; }
.report-help[b-p9ck9e4bkb]  .rh-slice.s3, .report-help[b-p9ck9e4bkb]  .rh-slice-dot.s3 { fill: #F59E0B; }
.report-help[b-p9ck9e4bkb]  .rh-slice.s4, .report-help[b-p9ck9e4bkb]  .rh-slice-dot.s4 { fill: #EC4899; }
.report-help[b-p9ck9e4bkb]  .rh-slice.s5, .report-help[b-p9ck9e4bkb]  .rh-slice-dot.s5 { fill: #8B5CF6; }

.report-help[b-p9ck9e4bkb]  .rh-slice-ring {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 2;
    stroke-linejoin: round;
}

/* Ranking de adopción: avatar, nivel, porcentaje y la barra de tres colores (directas, por terceros y por el sistema). */
.report-help[b-p9ck9e4bkb]  .rh-avatar { fill: #334155; }

.report-help[b-p9ck9e4bkb]  .rh-level.high { fill: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-level.medium { fill: #3B82F6; }
.report-help[b-p9ck9e4bkb]  .rh-level.low { fill: #EAB308; }

.report-help[b-p9ck9e4bkb]  .rh-level-text {
    fill: #0F172A;
    font-size: 5px;
    font-weight: 800;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-percent-text {
    fill: #E2E8F0;
    font-size: 7px;
    font-weight: 700;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-fewdata { fill: #475569; }

.report-help[b-p9ck9e4bkb]  .rh-fewdata-text {
    fill: #E2E8F0;
    font-size: 4.4px;
    font-weight: 800;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-ua.direct { fill: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-ua.third { fill: #3B82F6; }
.report-help[b-p9ck9e4bkb]  .rh-ua.system { fill: #64748B; }

/* Pestañas Ranking / Mejora continua, arriba del ranking. */
.report-help[b-p9ck9e4bkb]  .rh-tab {
    fill: #1E293B;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 0.6;
}

.report-help[b-p9ck9e4bkb]  .rh-tab.is-active {
    fill: #D33BB2;
    stroke: none;
}

.report-help[b-p9ck9e4bkb]  .rh-tab-text {
    fill: #94A3B8;
    font-size: 4.6px;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-family: inherit;
    text-anchor: middle;
}

.report-help[b-p9ck9e4bkb]  .rh-tab-text.is-active {
    fill: #FFFFFF;
}

/* Interruptor «cuenta en adopción», junto al porcentaje de cada fila. */
.report-help[b-p9ck9e4bkb]  .rh-switch {
    fill: #334155;
}

.report-help[b-p9ck9e4bkb]  .rh-switch.is-on {
    fill: #10B981;
}

.report-help[b-p9ck9e4bkb]  .rh-switch-knob {
    fill: #E2E8F0;
}

/* Tabla de vehículos finalizados: foto del vehículo y calendario de fechas. */
.report-help[b-p9ck9e4bkb]  .rh-thumb { fill: #334155; }

.report-help[b-p9ck9e4bkb]  .rh-cal {
    fill: #0F172A;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.5;
}

.report-help[b-p9ck9e4bkb]  .rh-cal-head { fill: #D33BB2; }

/* Maqueta de la ventana expandida (ModalDiagram y TableWindowDiagram): piezas propias y color de cada paso (4 a 6). */
.report-help[b-p9ck9e4bkb]  .rh-modal.step-4 { --rh-accent: #38BDF8; }
.report-help[b-p9ck9e4bkb]  .rh-modal.step-5 { --rh-accent: #F5C451; }
.report-help[b-p9ck9e4bkb]  .rh-modal.step-6 { --rh-accent: #22C55E; }

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-sidebox {
    fill: #0F172A;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.6;
}

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-select {
    fill: #1E293B;
    stroke: #475569;
    stroke-width: 0.5;
}

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-chip {
    fill: #F5C451;
    opacity: 0.9;
}

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-info { fill: #2563EB; }

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-info-text {
    fill: #FFFFFF;
    font-size: 8px;
    font-weight: 700;
    font-family: Georgia, serif;
}

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-add { fill: #D33BB2; }

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-add-text {
    fill: #FFFFFF;
    font-size: 5.6px;
    font-weight: 700;
    font-family: inherit;
}

.report-help[b-p9ck9e4bkb]  .rh-modal .rh-add-text.is-small { font-size: 4.8px; }

/* Qué se enciende en cada paso de la ventana: el 4, todo (los números); el 5, la columna de filtros; el 6, la gráfica (el clic) y la
   tabla. Con .rh-modal pesa más que el apagado común (.rh-g) sin depender del orden de las hojas. */
.report-help[b-p9ck9e4bkb]  .rh-modal.step-4 .rh-g,
.report-help[b-p9ck9e4bkb]  .rh-modal.step-5 .g-filters,
.report-help[b-p9ck9e4bkb]  .rh-modal.step-6 .g-chart,
.report-help[b-p9ck9e4bkb]  .rh-modal.step-6 .g-table,
.report-help[b-p9ck9e4bkb]  .rh-modal.step-5 .g-detail {
    opacity: 1;
}

/* Aro del elemento sobre el que se hace clic. */
.report-help[b-p9ck9e4bkb]  .rh-ring {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 2;
}

/* ── Paso activo: lo demás se apaga, su zona se enciende ─────────────────── */
/* El dibujo lleva step-N y cada grupo rh-g; la zona (rh-zone zn-N) y lo que solo se ve en ciertos pasos
   (rh-only on-N) se encienden con el paso N. Qué grupo se enciende en cada paso lo dice cada dibujo. */
.report-help[b-p9ck9e4bkb]  .rh-g {
    opacity: 0.35;
    transition: opacity 0.2s ease;
}

.report-help[b-p9ck9e4bkb]  .rh-zone {
    fill: none;
    stroke: var(--rh-accent);
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
    opacity: 0;
}

.report-help[b-p9ck9e4bkb]  .rh-zone.is-expand {
    stroke: #F5C451;
    stroke-dasharray: none;
    stroke-width: 1.8;
}

.report-help[b-p9ck9e4bkb]  .rh-only {
    opacity: 0;
}

.report-help[b-p9ck9e4bkb]  .step-1 .zn-1, .report-help[b-p9ck9e4bkb]  .step-1 .on-1,
.report-help[b-p9ck9e4bkb]  .step-2 .zn-2, .report-help[b-p9ck9e4bkb]  .step-2 .on-2,
.report-help[b-p9ck9e4bkb]  .step-3 .zn-3, .report-help[b-p9ck9e4bkb]  .step-3 .on-3,
.report-help[b-p9ck9e4bkb]  .step-4 .zn-4, .report-help[b-p9ck9e4bkb]  .step-4 .on-4,
.report-help[b-p9ck9e4bkb]  .step-5 .zn-5, .report-help[b-p9ck9e4bkb]  .step-5 .on-5,
.report-help[b-p9ck9e4bkb]  .step-6 .zn-6, .report-help[b-p9ck9e4bkb]  .step-6 .on-6,
.report-help[b-p9ck9e4bkb]  .step-7 .zn-7, .report-help[b-p9ck9e4bkb]  .step-7 .on-7,
.report-help[b-p9ck9e4bkb]  .step-8 .zn-8, .report-help[b-p9ck9e4bkb]  .step-8 .on-8 {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .report-help[b-p9ck9e4bkb]  .rh-g {
        transition: none;
    }
}

/* Estado de cumplimiento de una orden en el detalle de la tabla (Vehículos finalizados): los mismos colores y símbolos de la tabla. */
.report-help[b-p9ck9e4bkb]  .rh-st.on-time { fill: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-st.warning { fill: #F59E0B; }
.report-help[b-p9ck9e4bkb]  .rh-st.late { fill: #EF4444; }
.report-help[b-p9ck9e4bkb]  .rh-st.na { fill: #64748B; }

.report-help[b-p9ck9e4bkb]  .rh-st-text {
    fill: #FFFFFF;
    font-size: 5.4px;
    font-weight: 800;
    font-family: inherit;
}

/* Icono del estado de cumplimiento delante del titular de una entrada (los mismos colores y símbolos de la tabla). */
.report-help[b-p9ck9e4bkb]  .rh-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-right: 7px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    vertical-align: -3px;
}

.report-help[b-p9ck9e4bkb]  .rh-status-chip.on-time { background: #10B981; }
.report-help[b-p9ck9e4bkb]  .rh-status-chip.warning { background: #F59E0B; }
.report-help[b-p9ck9e4bkb]  .rh-status-chip.late { background: #EF4444; }
.report-help[b-p9ck9e4bkb]  .rh-status-chip.na { background: #64748B; }

/* Botón «Ver recorrido guiado» al final del primer paso de la ayuda general. */
.report-help[b-p9ck9e4bkb]  .rh-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 10px;
    padding: 7px 12px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7DD3FC;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.report-help[b-p9ck9e4bkb]  .rh-tour-btn:hover {
    background: rgba(56, 189, 248, 0.22);
}
.report-help[b-p9ck9e4bkb]  .rh-tour-btn:focus-visible {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/Bottleneck/BottleneckGrid.razor.rz.scp.css */
.bottleneck-grid-host[b-qupi73ezu3] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-qupi73ezu3] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-qupi73ezu3] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-qupi73ezu3] .ag-header-cell:last-child::after,
[b-qupi73ezu3] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-qupi73ezu3] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-qupi73ezu3] .ag-row,
[b-qupi73ezu3] .ag-row .ag-cell,
[b-qupi73ezu3] .ag-row-odd,
[b-qupi73ezu3] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/Bottleneck/BottleneckReplayBar.razor.rz.scp.css */
.bn-replay[b-clwyo47xw0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0 10px;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-raised);
}

.bn-replay-row[b-clwyo47xw0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.bn-replay-controls[b-clwyo47xw0] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Shared look of the three controls: same height so the group reads as one piece. */
.bn-replay-icon[b-clwyo47xw0],
.bn-replay-play[b-clwyo47xw0],
.bn-replay-speed[b-clwyo47xw0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-strong);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bn-replay-icon[b-clwyo47xw0] {
    width: 34px;
    border-radius: 50%;
}

.bn-replay-play[b-clwyo47xw0] {
    min-width: 116px;
    padding: 0 16px;
    border-color: #D33BB2;
    border-radius: 17px;
    background: #D33BB2;
    color: #fff;
}

.bn-replay-speed[b-clwyo47xw0] {
    min-width: 58px;
    padding: 0 12px;
    border-radius: 17px;
    font-variant-numeric: tabular-nums;
}

.bn-replay-icon:hover:not(:disabled)[b-clwyo47xw0],
.bn-replay-speed:hover:not(:disabled)[b-clwyo47xw0] {
    background: var(--st-fill-2);
}

.bn-replay-play:hover:not(:disabled)[b-clwyo47xw0] {
    background: #b92f9a;
    border-color: #b92f9a;
}

.bn-replay-icon:focus-visible[b-clwyo47xw0],
.bn-replay-play:focus-visible[b-clwyo47xw0],
.bn-replay-speed:focus-visible[b-clwyo47xw0],
.bn-replay-exit:focus-visible[b-clwyo47xw0] {
    outline: 2px solid #D33BB2;
    outline-offset: 2px;
}

.bn-replay-icon:disabled[b-clwyo47xw0],
.bn-replay-play:disabled[b-clwyo47xw0],
.bn-replay-speed:disabled[b-clwyo47xw0] {
    opacity: 0.5;
    cursor: default;
}

/* The slider with the first and last day of the period at its ends. */
.bn-replay-timeline[b-clwyo47xw0] {
    display: flex;
    flex: 1 1 260px;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.bn-replay-edge[b-clwyo47xw0] {
    min-width: 3.6em;
    color: var(--st-text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bn-replay-edge:last-child[b-clwyo47xw0] {
    text-align: right;
}

.bn-replay-slider[b-clwyo47xw0] {
    flex: 1;
    min-width: 0;
    height: 18px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.bn-replay-slider:disabled[b-clwyo47xw0] {
    cursor: default;
    opacity: 0.5;
}

.bn-replay-slider:focus-visible[b-clwyo47xw0] {
    outline: 2px solid #D33BB2;
    outline-offset: 3px;
    border-radius: 4px;
}

.bn-replay-slider[b-clwyo47xw0]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #D33BB2 var(--bn-progress, 0%), var(--st-fill-4) var(--bn-progress, 0%));
}

.bn-replay-slider[b-clwyo47xw0]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: var(--st-fill-4);
}

.bn-replay-slider[b-clwyo47xw0]::-moz-range-progress {
    height: 6px;
    border-radius: 3px;
    background: #D33BB2;
}

.bn-replay-slider[b-clwyo47xw0]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -5px;
    border: 2px solid var(--st-surface-raised);
    border-radius: 50%;
    background: #D33BB2;
    box-shadow: 0 0 0 1px #D33BB2;
}

.bn-replay-slider[b-clwyo47xw0]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid var(--st-surface-raised);
    border-radius: 50%;
    background: #D33BB2;
    box-shadow: 0 0 0 1px #D33BB2;
}

.bn-replay-position[b-clwyo47xw0] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 6.5em;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bn-replay-position strong[b-clwyo47xw0] {
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 700;
}

.bn-replay-position span[b-clwyo47xw0] {
    color: var(--st-text-secondary);
    font-size: 12px;
}

.bn-replay-months[b-clwyo47xw0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bn-replay-months-label[b-clwyo47xw0] {
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.bn-replay-months-picker[b-clwyo47xw0] {
    flex: none;
    min-width: 0;
}

/* The dropdown control has its own z-index (50), above the "syncing" curtain of the modal (10) that covers the rest of the bar: it stays under it. */
.bn-replay-months-picker[b-clwyo47xw0]  .st-native-selector {
    z-index: 1;
}

/* The selector sits at the bottom of the chart, whose box clips what hangs below it: the list opens upwards over the chart instead. */
.bn-replay-months-picker[b-clwyo47xw0]  .st-native-selector.compact .st-native-selector-dropdown {
    top: auto;
    bottom: calc(100% + 6px);
    max-height: 240px;
}

.bn-replay-months .bn-replay-icon[b-clwyo47xw0] {
    width: 28px;
    height: 28px;
}

.bn-replay-exit[b-clwyo47xw0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: transparent;
    color: var(--st-text-secondary);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bn-replay-exit:hover[b-clwyo47xw0] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.bn-replay-note[b-clwyo47xw0] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--st-text-muted);
    font-size: 12px;
}

.bn-replay-note--error[b-clwyo47xw0] {
    color: var(--st-danger-fg);
}

.bn-replay-spinner[b-clwyo47xw0] {
    width: 12px;
    height: 12px;
    border: 2px solid var(--st-border);
    border-top-color: #D33BB2;
    border-radius: 50%;
    animation: bn-replay-spin-b-clwyo47xw0 0.8s linear infinite;
}

@keyframes bn-replay-spin-b-clwyo47xw0 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .bn-replay-icon[b-clwyo47xw0],
    .bn-replay-play[b-clwyo47xw0],
    .bn-replay-speed[b-clwyo47xw0],
    .bn-replay-exit[b-clwyo47xw0] { transition: none; }
    .bn-replay-spinner[b-clwyo47xw0] { animation: none; }
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/Bottleneck/ProcessBottleneckChart.razor.rz.scp.css */
.custom-chart-scroll[b-awrp29s10y] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-awrp29s10y]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-awrp29s10y]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-awrp29s10y]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-awrp29s10y]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
@keyframes slideDown-b-awrp29s10y { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.bn-container[b-awrp29s10y] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.bn-chart-scroll[b-awrp29s10y] {
    flex: 1;
    min-height: 0;
}

/* Alerta del proceso con más vehículos en cola (solo en el modal) */
.bottleneck-summary-alert[b-awrp29s10y] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px 10px;
    padding: 12px 20px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    animation: slideDown-b-awrp29s10y 0.4s ease-out;
}

.bn-alert-icon[b-awrp29s10y] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    color: #0f172a;
}

.bn-alert-body[b-awrp29s10y] {
    display: flex;
    flex-direction: column;
}

.bn-alert-title[b-awrp29s10y] {
    color: var(--st-warning-fg);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bn-alert-facts[b-awrp29s10y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bn-alert-fact[b-awrp29s10y] {
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 600;
}

.bn-alert-value[b-awrp29s10y] {
    color: var(--st-warning-fg);
}

.bn-alert-value--good[b-awrp29s10y] {
    color: var(--st-success-fg);
}

.bn-alert-separator[b-awrp29s10y] {
    color: var(--st-text-secondary);
    font-size: 14px;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/TopWaitingParts/TopWaitingPartsChart.razor.rz.scp.css */
.custom-chart-scroll[b-xl9ptcali4]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }

/* Vertical list of parts: scrolls down only. Two classes so it beats the viewer's ::deep .custom-chart-scroll. */
.custom-chart-scroll.twp-chart-scroll[b-xl9ptcali4] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}

.custom-chart-scroll > *[b-xl9ptcali4] {
    align-self: flex-start;
    flex-shrink: 0;
}

.empty-state-container[b-xl9ptcali4] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    background: var(--st-fill-1);
    border-radius: 12px;
    border: 1px dashed var(--st-border);
    margin: 10px;
}

.empty-state-icon[b-xl9ptcali4] {
    color: #3b82f6;
    margin-bottom: 16px;
    opacity: 0.8;
}

.empty-state-title[b-xl9ptcali4] {
    color: var(--st-text-strong);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state-text[b-xl9ptcali4] {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    max-width: 250px;
    line-height: 1.5;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/TopWaitingParts/WaitingPartsDetailsGrid.razor.rz.scp.css */
.waiting-parts-grid-host[b-6p81q1v4k3] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-6p81q1v4k3] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-6p81q1v4k3] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-6p81q1v4k3] .ag-header-cell:last-child::after,
[b-6p81q1v4k3] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-6p81q1v4k3] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-6p81q1v4k3] .ag-row,
[b-6p81q1v4k3] .ag-row .ag-cell,
[b-6p81q1v4k3] .ag-row-odd,
[b-6p81q1v4k3] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByOperator/WorkloadByOperatorChart.razor.rz.scp.css */
.custom-chart-scroll[b-trdtty1dm9] {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    padding-bottom: 5px;
}
.custom-chart-scroll[b-trdtty1dm9]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-trdtty1dm9]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-trdtty1dm9]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-trdtty1dm9]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByOperator/WorkloadByOperatorDetailsGrid.razor.rz.scp.css */
.wbo-detail-table[b-cbk4yc380m] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Segoe UI', sans-serif;
}

.wbo-detail-table thead tr[b-cbk4yc380m] {
    background: var(--st-fill-2);
    border-bottom: 1px solid var(--st-border-subtle);
}

.wbo-detail-table th[b-cbk4yc380m] {
    padding: 8px 12px;
    text-align: left;
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wbo-detail-table th:nth-child(3)[b-cbk4yc380m] { text-align: right; }

.wbo-detail-table tbody tr[b-cbk4yc380m] {
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background 0.15s;
}

.wbo-detail-table tbody tr:hover[b-cbk4yc380m] {
    background: rgba(59, 130, 246, 0.06);
}

.wbo-detail-table td[b-cbk4yc380m] {
    padding: 8px 12px;
    color: var(--st-text-body);
    vertical-align: middle;
}

.wbo-badge-placa[b-cbk4yc380m] {
    display: inline-block;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    border: 1px solid var(--st-info-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByOperator/WorkloadByOperatorGrid.razor.rz.scp.css */
.workload-operator-grid-host[b-d91u7w48x7] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-d91u7w48x7] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-d91u7w48x7] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-d91u7w48x7] .ag-header-cell:last-child::after,
[b-d91u7w48x7] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-d91u7w48x7] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-d91u7w48x7] .ag-row,
[b-d91u7w48x7] .ag-row .ag-cell,
[b-d91u7w48x7] .ag-row-odd,
[b-d91u7w48x7] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByProcess/WorkloadByProcessChart.razor.rz.scp.css */
.custom-chart-scroll[b-xogny2d9gk] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-xogny2d9gk]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-xogny2d9gk]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-xogny2d9gk]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-xogny2d9gk]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByProcess/WorkloadByProcessDetailsGrid.razor.rz.scp.css */
.wbp-detail-table[b-4mqkbm7puo] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Segoe UI', sans-serif;
}

.wbp-detail-table thead tr[b-4mqkbm7puo] {
    background: var(--st-fill-2);
    border-bottom: 1px solid var(--st-border-subtle);
}

.wbp-detail-table th[b-4mqkbm7puo] {
    padding: 8px 12px;
    text-align: left;
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wbp-detail-table th:nth-child(3)[b-4mqkbm7puo] { text-align: right; }

.wbp-detail-table tbody tr[b-4mqkbm7puo] {
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background 0.15s;
}

.wbp-detail-table tbody tr:hover[b-4mqkbm7puo] {
    background: rgba(16, 185, 129, 0.06);
}

.wbp-detail-table td[b-4mqkbm7puo] {
    padding: 8px 12px;
    color: var(--st-text-body);
    vertical-align: middle;
}

.wbp-badge-placa[b-4mqkbm7puo] {
    display: inline-block;
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkloadByProcess/WorkloadByProcessGrid.razor.rz.scp.css */
.workload-process-grid-host[b-h1moecuszh] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-h1moecuszh] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-h1moecuszh] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

[b-h1moecuszh] .ag-header-cell:last-child::after,
[b-h1moecuszh] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-h1moecuszh] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

[b-h1moecuszh] .ag-row,
[b-h1moecuszh] .ag-row .ag-cell,
[b-h1moecuszh] .ag-row-odd,
[b-h1moecuszh] .ag-row-even {
    border: none !important;
}

/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkshopState/WorkshopStateChart.razor.rz.scp.css */
.custom-chart-scroll[b-hd5vug722y] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-hd5vug722y]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-hd5vug722y]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-hd5vug722y]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-hd5vug722y]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Actual/WorkshopState/WorkshopStateGrid.razor.rz.scp.css */
.workshop-state-grid-host[b-gukz0ipl1e] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    /* Subtle blue tint */
    --ag-header-foreground-color: var(--st-text-strong);
    /* Much brighter text */
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-gukz0ipl1e] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-gukz0ipl1e] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-gukz0ipl1e] .ag-header-cell:last-child::after,
[b-gukz0ipl1e] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-gukz0ipl1e] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-gukz0ipl1e] .ag-row,
[b-gukz0ipl1e] .ag-row .ag-cell,
[b-gukz0ipl1e] .ag-row-odd,
[b-gukz0ipl1e] .ag-row-even {
    border: none !important;
}

/* Column Chooser styles → ver chart-grid-filters.css (.workshop-state-grid-host) */
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/ComplianceTrend/ComplianceTrendChart.razor.rz.scp.css */
.ct-container[b-3b6wx54q6h] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: visible;
    font-family: 'Segoe UI', sans-serif;
}

.ct-chart-scroll[b-3b6wx54q6h] {
    flex: 1;
    min-height: 0;
}

.compliance-summary-cards[b-3b6wx54q6h] {
    display: flex;
    gap: 16px;
    padding: 16px 20px 8px 20px;
    flex-wrap: wrap;
}

.compliance-card[b-3b6wx54q6h] {
    padding: 14px 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 320px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--st-fill-1);
    border: 1px solid var(--st-border-subtle);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-icon[b-3b6wx54q6h] {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--st-fill-1);
}

.card-content[b-3b6wx54q6h] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-metrics-horizontal[b-3b6wx54q6h] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.sub-metric[b-3b6wx54q6h] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 6px;
}

.sub-metric.green[b-3b6wx54q6h] {
    color: var(--st-success-fg);
}

.sub-metric.orange[b-3b6wx54q6h] {
    color: var(--st-warning-fg);
}

.compliance-card-blue[b-3b6wx54q6h] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-color: rgba(59, 130, 246, 0.15);
}
.compliance-card-blue .card-icon[b-3b6wx54q6h] { color: #3b82f6; background: rgba(59, 130, 246, 0.08); }

.compliance-card-orange[b-3b6wx54q6h] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-color: rgba(245, 158, 11, 0.15);
}
.compliance-card-orange .card-icon[b-3b6wx54q6h] { color: #f59e0b; background: rgba(245, 158, 11, 0.08); }

.card-label[b-3b6wx54q6h] {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.card-value[b-3b6wx54q6h] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.card-unit[b-3b6wx54q6h] {
    margin-right: 10px;
    color: var(--st-text-muted);
    font-size: 0.8rem;
}

.compliance-card-blue .card-label[b-3b6wx54q6h] { color: var(--st-info-fg); }
.compliance-card-orange .card-label[b-3b6wx54q6h] { color: var(--st-warning-fg); }

.custom-chart-scroll[b-3b6wx54q6h] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-3b6wx54q6h]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-3b6wx54q6h]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-3b6wx54q6h]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-3b6wx54q6h]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/DiasPerdidos/DiasPerdidosChart.razor.rz.scp.css */
.custom-chart-scroll[b-ytbp20nrc0] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-ytbp20nrc0]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-ytbp20nrc0]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-ytbp20nrc0]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-ytbp20nrc0]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/DiasPerdidos/DiasPerdidosGrid.razor.rz.scp.css */
.dias-perdidos-grid-host[b-c9xic7es0l] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-c9xic7es0l] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-c9xic7es0l] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-c9xic7es0l] .ag-header-cell:last-child::after,
[b-c9xic7es0l] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-c9xic7es0l] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-c9xic7es0l] .ag-row,
[b-c9xic7es0l] .ag-row .ag-cell,
[b-c9xic7es0l] .ag-row-odd,
[b-c9xic7es0l] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/HistoricoVehiculos/HistoricoVehiculosGrid.razor.rz.scp.css */
.historico-table-wrap[b-d9yn4alqaq] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.historico-table-toolbar[b-d9yn4alqaq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.historico-table-filters[b-d9yn4alqaq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector {
    width: auto;
    min-width: 168px;
    min-height: 34px;
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector-trigger {
    height: 34px;
    border-radius: 999px;
    padding: 0 32px 0 14px;
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector-value {
    font-size: 0.78rem;
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector.dark .st-native-selector-trigger {
    background: var(--st-input-bg);
    border-color: var(--st-border);
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector.dark:hover .st-native-selector-trigger,
.historico-table-filters[b-d9yn4alqaq]  .st-native-selector.dark.is-open .st-native-selector-trigger {
    border-color: #e5b900;
    box-shadow: 0 0 0 2px rgba(229, 185, 0, 0.25);
}

.historico-table-filters[b-d9yn4alqaq]  .st-native-selector.is-disabled .st-native-selector-trigger {
    opacity: 0.5;
}

.historico-table-actions[b-d9yn4alqaq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.historico-toolbar-btn[b-d9yn4alqaq] {
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.historico-toolbar-btn:hover:not(:disabled)[b-d9yn4alqaq] {
    border-color: rgba(229, 185, 0, 0.5);
    color: var(--st-text-strong);
}

.historico-toolbar-btn:disabled[b-d9yn4alqaq] {
    opacity: 0.4;
    cursor: not-allowed;
}

.historico-toolbar-btn.is-hidden[b-d9yn4alqaq] {
    display: none;
}

.historico-toolbar-btn.primary[b-d9yn4alqaq] {
    background: #e5b900;
    border-color: #e5b900;
    color: #1c2738;
}

.historico-toolbar-btn.primary:hover:not(:disabled)[b-d9yn4alqaq] {
    background: #f0c800;
    border-color: #f0c800;
}

.historico-metric-pill[b-d9yn4alqaq] {
    background: var(--st-gold-bg);
    color: var(--st-text-strong);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.historico-table-grid-shell[b-d9yn4alqaq] {
    position: relative;
    flex: 1;
    min-height: 320px;
    border-radius: 16px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-canvas);
    overflow: hidden;
}

.historico-table-grid[b-d9yn4alqaq] {
    width: 100%;
    height: 100%;
}

/* No vehicles in the period: the generic empty state over the (empty) grid. */
.historico-table-empty[b-d9yn4alqaq] {
    position: absolute;
    inset: 0;
    display: flex;
    background: var(--st-canvas);
}

.historico-table-no-rows-overlay[b-d9yn4alqaq],
.historico-table-loading-overlay[b-d9yn4alqaq] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--st-text-muted);
    font-size: 0.85rem;
    background: var(--st-glass);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 5;
}

.historico-table-loading-overlay[b-d9yn4alqaq] {
    flex-direction: column;
    pointer-events: all;
}

.historico-table-loading-spinner[b-d9yn4alqaq] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--st-border);
    border-top-color: #D33BB2;
    animation: historico-spin-b-d9yn4alqaq 0.8s linear infinite;
}

@keyframes historico-spin-b-d9yn4alqaq {
    to { transform: rotate(360deg); }
}

/* ── Estructura de celdas del grid (portada de AssetInventoriesPanel.razor.css) ──
   Los renderers JS reutilizados del Inbox (permanenceRenderer/etc.)
   producen las mismas clases .st-inbox-*, pero ese CSS vive scoped al componente
   del Inbox (Blazor CSS isolation) y no llega hasta aquí. Se porta el layout tal
   cual y se reemplaza la paleta azul/clara del Inbox por la dorada/oscura de
   Reportes (mismos tamaños y estructura, "familia visual" distinta). */

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row) {
    /* Las filas de detalle usan overflow:visible y quedan en z-index:0 (más abajo).
       Sin esto, el orden de pintado durante el scroll virtualizado de AG-Grid no es
       confiable, y el contenido del detalle puede asomarse por encima de la fila del
       vehículo siguiente al reciclar filas. */
    z-index: 1 !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    right: 0;
    background: var(--st-surface);
    border-radius: 10px;
    border-left: 1px solid rgba(229, 185, 0, 0.14);
    border-right: 1px solid rgba(229, 185, 0, 0.14);
    z-index: -1;
    pointer-events: none;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row[aria-expanded="true"]:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    bottom: -3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row-hover:not(.ag-details-row):not(.st-inbox-detail-row)::before {
    background: var(--st-surface-sunken);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row-hover {
    background: transparent !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.ag-details-row,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.st-inbox-detail-row {
    cursor: default;
    border-bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    margin-top: -3px !important;
    z-index: 0 !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.ag-details-row .ag-cell,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.st-inbox-detail-row .ag-cell {
    margin: 0 !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 0 8px 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.ag-details-row .ag-cell-wrapper,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.ag-details-row .ag-cell-value,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.st-inbox-detail-row .ag-cell-wrapper,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row.st-inbox-detail-row .ag-cell-value {
    justify-content: stretch;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row) .ag-cell.ag-column-first,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-row:not(.ag-details-row):not(.st-inbox-detail-row) .ag-cell.ag-column-last {
    border: none !important;
    box-shadow: none !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-asset-left .st-inbox-cell {
    justify-content: flex-start;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-asset-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-wrap2 .ag-cell-wrapper,
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-wrap2 .ag-cell-value {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-wrap2 .ag-cell-value {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center !important;
    line-height: 1.15;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-asset-left .st-inbox-cell-text {
    align-items: flex-start;
    text-align: left;
    flex: 0 0 auto;
    overflow: hidden;
    width: 140px;
    max-width: 140px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* El texto de Cumplimiento cambia de largo por fila ("Cumplió" vs "Cumplió con
   cambios") — con justify-content:center el grupo icono+texto se corre de
   posición entre filas. Alineado a la izquierda para que el icono quede fijo. */
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .ag-cell.st-inbox-col-compliance {
    justify-content: flex-start !important;
    padding-left: 14px !important;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-cell-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    gap: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-cell-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(0.76rem, 0.72rem + 0.18vw, 0.92rem);
    font-weight: 700;
    color: var(--st-text-strong);
    line-height: 1.15;
    margin-bottom: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-cell-subtitle {
    display: -webkit-box;
    font-size: clamp(0.66rem, 0.62rem + 0.12vw, 0.78rem);
    color: var(--st-text-muted);
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
    margin-top: 1px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-cell-asset {
    gap: 18px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-image {
    width: 85px;
    height: 55px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface-sunken);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-avatar-wrapper {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: visible;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-avatar-wrapper.st-inbox-asset-thumb {
    width: 66px;
    height: 44px;
    border-radius: 11px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-thumb {
    position: relative;
    overflow: visible;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-image-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--st-fill-3);
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-placeholder-icon {
    width: 36%;
    height: 36%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    opacity: 0.6;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-progress-chip {
    position: absolute;
    right: 2px;
    bottom: 2px;
    top: auto;
    transform: none;
    padding: 4px 12px;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    line-height: 1.2;
    z-index: 2;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-thumb > .st-inbox-progress-chip {
    right: -24px;
    bottom: 0px;
    padding: 4px 12px;
    font-size: 0.68rem;
    z-index: 3;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-cell-order .st-inbox-progress-chip.st-inbox-subtable-progress-chip {
    position: static;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-orders-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    font-size: 0.76rem;
    font-weight: 800;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-permanence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-repair-duration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    font-size: 0.66rem;
    font-weight: 600;
    white-space: nowrap;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-calendar {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    width: 40px;
    border-radius: 7px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-calendar-header {
    background: #f0c800;
    color: #1c2738;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
    padding: 1px 3px;
    line-height: 1.2;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-calendar-body {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 1px 3px 2px;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

/* ── Subtabla de órdenes (expandida al hacer clic en una fila) ── */
.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-host {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-wrap {
    width: var(--st-inbox-row-width, 100%);
    max-width: var(--st-inbox-row-width, 100%);
    min-width: 0;
    margin: 0;
    padding: 16px 10px 8px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-grid {
    display: grid;
    align-items: center;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-block > * {
    flex: 1;
    min-width: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-header {
    margin-bottom: 7px;
    background: transparent;
    border-radius: 8px;
    padding: 7px 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-pill {
    min-height: 0;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    border: 1px solid rgba(229, 185, 0, 0.20);
    box-shadow: none;
    color: var(--st-text-body);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid rgba(229, 185, 0, 0.14);
    background: var(--st-canvas);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) inset;
    box-sizing: border-box;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-row + .st-inbox-subtable-row {
    padding-top: 6px;
    border-top: 1px solid rgba(229, 185, 0, 0.1);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-row {
    color: var(--st-text-strong);
    font-size: 0.79rem;
    font-weight: 600;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-cell {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    padding: 0 4px;
    box-sizing: border-box;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-value {
    display: -webkit-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    line-height: 1.12;
    text-align: center;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-cell-order {
    font-weight: 800;
    color: var(--st-text-strong);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-order-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-order-number {
    font-weight: 800;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-progress-chip {
    position: static;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-person {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-avatar-wrap {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--st-border-strong);
    object-fit: cover;
    background: var(--st-fill-3);
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-avatar-fallback {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-gold-text);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-advisor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    gap: 1px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-advisor-doc {
    font-size: 0.68rem;
    color: var(--st-text-muted);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-advisor-name {
    font-size: 0.8rem;
    color: var(--st-text-strong);
    font-weight: 700;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
    max-width: 100%;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3d5676;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 750;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-cell-stat {
    overflow: visible;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--st-gold-bg);
    border: 1px solid rgba(245, 184, 0, 0.15);
    color: var(--st-gold-text);
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-process-btn {
    appearance: none;
    outline: none;
    background: var(--st-gold-bg);
    border: 1px solid rgba(229, 185, 0, 0.20);
    color: var(--st-text-body);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-process-btn:hover {
    background: rgba(229, 185, 0, 0.20);
    border-color: rgba(229, 185, 0, 0.35);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-stat-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 999px;
    background: #f0c800;
    color: #1c2738;
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1;
    border: 2px solid var(--st-surface);
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar-wrap {
    width: 48px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--st-border-strong);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar-fallback {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-3);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-gold-text);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-block {
        gap: 4px;
        padding: 0 2px;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-row {
        font-size: 0.72rem;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-pill {
        font-size: 0.65rem;
        padding: 0 6px;
        min-height: 20px;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-avatar,
    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-avatar-wrap {
        width: 28px;
        height: 28px;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar-wrap,
    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar,
    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-subtable-insurance-avatar-fallback {
        width: 38px;
        height: 28px;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-asset-image {
        width: 60px;
        height: 40px;
    }

    .historico-table-grid.inbox-table-grid[b-d9yn4alqaq]  .st-inbox-avatar-wrapper.st-inbox-asset-thumb {
        width: 50px;
        height: 34px;
    }
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/HistoricoVehiculos/HistoricoVehiculosSummary.razor.rz.scp.css */
/* El espacio se reclama un nivel arriba, en ReporteCard.razor (TightContent),
   que es quien conoce con certeza el padding real a cancelar. Este componente
   solo necesita llenar el espacio que le llega. */
.historico-summary[b-4cwiuf8zzc] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
}

.historico-summary-table-wrap[b-4cwiuf8zzc] {
    flex: 1;
    overflow: auto;
    position: relative;
    isolation: isolate;
}

.historico-summary-table[b-4cwiuf8zzc] {
    width: 100%;
    height: 100%;
    /* border-collapse:collapse impide que border-radius funcione en las celdas
       de esquina (limitación conocida de CSS) — con "separate" el redondeo del
       encabezado/última fila sí se aplica y no se ve recortado contra la
       tarjeta. */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
    color: var(--st-text-secondary);
}

.historico-summary-table thead th[b-4cwiuf8zzc] {
    position: sticky;
    top: 0;
    z-index: 5;
    /* Fondo SÓLIDO (no rgba con alpha) — con transparencia, las filas que
       hacen scroll por debajo del encabezado sticky se ven a través. */
    background-color: var(--st-surface-sunken);
    color: var(--st-text-strong);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 8px 10px;
    border-bottom: 2px solid rgba(229, 185, 0, 0.35);
    white-space: nowrap;
}

.historico-summary-table thead th:first-child[b-4cwiuf8zzc] {
    border-top-left-radius: 12px;
}

.historico-summary-table thead th:last-child[b-4cwiuf8zzc] {
    border-top-right-radius: 12px;
}

.historico-summary-table tbody td[b-4cwiuf8zzc] {
    padding: 6px 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    text-align: center;
    vertical-align: middle;
}

.historico-summary-table tbody tr:last-child td:first-child[b-4cwiuf8zzc] {
    border-bottom-left-radius: 12px;
}

.historico-summary-table tbody tr:last-child td:last-child[b-4cwiuf8zzc] {
    border-bottom-right-radius: 12px;
}

.historico-summary-table tbody tr:hover[b-4cwiuf8zzc] {
    background: var(--st-fill-2);
}

.historico-summary-more[b-4cwiuf8zzc] {
    text-align: center;
    padding: 6px;
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

/* ── Celdas estilo "Inbox", con paleta dorada/oscura de Reportes ── */

.hs-cell[b-4cwiuf8zzc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.hs-cell-asset[b-4cwiuf8zzc] {
    justify-content: flex-start;
    text-align: left;
}

.hs-title[b-4cwiuf8zzc] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--st-text-strong);
    font-size: 0.8rem;
}

.hs-subtitle[b-4cwiuf8zzc] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--st-text-muted);
    font-size: 0.7rem;
    margin-top: 1px;
}

.hs-person-text[b-4cwiuf8zzc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hs-thumb[b-4cwiuf8zzc] {
    width: 46px;
    height: 28px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface-sunken);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-thumb-img[b-4cwiuf8zzc] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-thumb-fallback[b-4cwiuf8zzc] {
    color: var(--st-text-faint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-order-count[b-4cwiuf8zzc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    font-weight: 800;
    font-size: 0.76rem;
}

.hs-calendar[b-4cwiuf8zzc] {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    width: 36px;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
}

.hs-calendar-header[b-4cwiuf8zzc] {
    background: #f0c800;
    color: #1c2738;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    padding: 1px 3px;
    line-height: 1.2;
}

.hs-calendar-body[b-4cwiuf8zzc] {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 1px 3px 2px;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.hs-permanence[b-4cwiuf8zzc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    font-weight: 600;
    font-size: 0.74rem;
    white-space: nowrap;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/HistoricoVehiculos/PromesaChangesPanel.razor.rz.scp.css */
.promesa-changes-panel[b-t3dwtdshvc] {
    padding: 8px 4px;
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.promesa-changes-loading[b-t3dwtdshvc],
.promesa-changes-empty[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 12px;
    color: var(--st-text-muted);
    font-size: 14px;
}

.promesa-changes-spinner[b-t3dwtdshvc] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--st-border);
    border-top-color: #D33BB2;
    animation: promesa-changes-spin-b-t3dwtdshvc 0.8s linear infinite;
}

@keyframes promesa-changes-spin-b-t3dwtdshvc {
    to { transform: rotate(360deg); }
}

.promesa-changes-subtitle[b-t3dwtdshvc] {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.promesa-changes-count-badge[b-t3dwtdshvc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
    font-size: 13px;
    font-weight: 600;
}

.promesa-changes-list[b-t3dwtdshvc] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promesa-change-item[b-t3dwtdshvc] {
    padding: 14px;
    border-radius: 12px;
    background: var(--st-fill-1);
    border: 1px solid var(--st-border-subtle);
}

.promesa-change-header[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.promesa-change-heading[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promesa-change-index[b-t3dwtdshvc] {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.promesa-change-title[b-t3dwtdshvc] {
    font-size: 14px;
    font-weight: 600;
}

.promesa-change-meta-group[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promesa-change-meta-item[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-subtle);
}

.promesa-change-meta-text[b-t3dwtdshvc] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.promesa-change-meta-label[b-t3dwtdshvc] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--st-text-subtle);
}

.promesa-change-meta-value[b-t3dwtdshvc] {
    font-size: 12px;
    color: var(--st-text-secondary);
}

.promesa-change-toggle[b-t3dwtdshvc] {
    flex: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-muted);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.promesa-change-toggle.expanded[b-t3dwtdshvc] {
    transform: rotate(180deg);
}

.promesa-change-compare[b-t3dwtdshvc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--st-border-subtle);
}

/* Fila propia para los títulos: así comparten la misma línea base sin depender
   de la altura del contenido de cada columna. El spacer imita el ancho+gaps
   de la flecha para que cada título quede sobre su columna. */
.promesa-change-titles[b-t3dwtdshvc] {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.promesa-change-arrow-spacer[b-t3dwtdshvc] {
    flex: none;
    width: 28px;
}

.promesa-change-facts-row[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promesa-change-column[b-t3dwtdshvc] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promesa-change-column-title[b-t3dwtdshvc] {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-text-muted);
}

.promesa-change-arrow[b-t3dwtdshvc] {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-strong);
}

.promesa-change-fact[b-t3dwtdshvc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--st-fill-1);
    border: 1px solid var(--st-border-subtle);
    color: var(--st-text-muted);
}

.promesa-change-fact--suggested[b-t3dwtdshvc] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-fg);
}

.promesa-change-fact--confirmed[b-t3dwtdshvc] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-fg);
}

.promesa-change-fact-text[b-t3dwtdshvc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promesa-change-label[b-t3dwtdshvc] {
    font-size: 11px;
    color: inherit;
    opacity: 0.85;
}

.promesa-change-value[b-t3dwtdshvc] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.promesa-change-fact--suggested .promesa-change-value[b-t3dwtdshvc],
.promesa-change-fact--confirmed .promesa-change-value[b-t3dwtdshvc] {
    color: inherit;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/RealVsPlan/RealVsPlanGrid.razor.rz.scp.css */
.real-vs-plan-grid-host[b-0nafmgsig7] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-0nafmgsig7] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-0nafmgsig7] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-0nafmgsig7] .ag-header-cell:last-child::after,
[b-0nafmgsig7] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-0nafmgsig7] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-0nafmgsig7] .ag-row,
[b-0nafmgsig7] .ag-row .ag-cell,
[b-0nafmgsig7] .ag-row-odd,
[b-0nafmgsig7] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/SparePartsWaitHistory/SparePartsWaitHistoryChart.razor.rz.scp.css */
.custom-chart-scroll[b-qlplqq2s7q] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-qlplqq2s7q]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-qlplqq2s7q]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-qlplqq2s7q]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-qlplqq2s7q]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }

.spw-container[b-qlplqq2s7q] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.spw-chart-scroll[b-qlplqq2s7q] {
    flex: 1;
    min-height: 0;
}

/* Leyenda bajo la gráfica: sólido = en taller, rayado = fuera del taller (VFT) */
.spw-legend[b-qlplqq2s7q] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    padding: 6px 8px 2px;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 600;
}

.spw-legend-item[b-qlplqq2s7q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spw-swatch[b-qlplqq2s7q] {
    display: inline-block;
    width: 18px;
    height: 13px;
    border-radius: 2px;
    border: 1px solid var(--st-text-strong);
    background: #cbd5e1;
}

.spw-swatch--striped[b-qlplqq2s7q] {
    background: repeating-linear-gradient(-45deg, #cbd5e1 0 2px, #0f172a 2px 4px);
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/StayDays/StayDaysChart.razor.rz.scp.css */
.custom-chart-scroll[b-55ixmnseoc] { width: 100%; height: 100%; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; }
.custom-chart-scroll[b-55ixmnseoc]::-webkit-scrollbar { height: 6px; }
.custom-chart-scroll[b-55ixmnseoc]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-55ixmnseoc]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-55ixmnseoc]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/StayDays/StayDaysGrid.razor.rz.scp.css */
.stay-days-grid-host[b-2nuwg3q3ov] {
    width: 100%;
    height: 100%;
    min-height: 120px;
    --ag-background-color: transparent;
    --ag-header-background-color: rgba(59, 130, 246, 0.15);
    --ag-header-foreground-color: var(--st-text-strong);
    --ag-foreground-color: var(--st-text-secondary);
    --ag-row-hover-color: var(--st-fill-4);
    --ag-border-color: var(--st-border);
    --ag-secondary-border-color: var(--st-border-subtle);
    --ag-odd-row-background-color: var(--st-fill-2);
    --ag-row-border-color: transparent;
    --ag-font-size: 13px;
    --ag-font-family: 'Segoe UI', 'Inter', sans-serif;
    --ag-header-height: 38px;
    --ag-row-height: 38px;
    --ag-borders: none;
    --ag-wrapper-border-radius: 8px;
}

[b-2nuwg3q3ov] .ag-header-cell-label {
    justify-content: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
}

[b-2nuwg3q3ov] .ag-header-cell:first-child .ag-header-cell-label {
    justify-content: flex-start;
}

/* Ocultar barra separadora de la última columna */
[b-2nuwg3q3ov] .ag-header-cell:last-child::after,
[b-2nuwg3q3ov] .ag-header-cell:last-child .ag-header-cell-resize {
    display: none !important;
}

[b-2nuwg3q3ov] .ag-root-wrapper {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Forzar la eliminación de la línea que separa cada fila */
[b-2nuwg3q3ov] .ag-row,
[b-2nuwg3q3ov] .ag-row .ag-cell,
[b-2nuwg3q3ov] .ag-row-odd,
[b-2nuwg3q3ov] .ag-row-even {
    border: none !important;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/Tsm/TsmEvidence/TsmEvidenceGrid.razor.rz.scp.css */
.tsm-evidence-toolbar[b-izlq41furh] {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 8px 0;
}

.tsm-export-btn[b-izlq41furh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-1);
    color: var(--st-text-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.tsm-export-btn:hover[b-izlq41furh] {
    background: var(--st-fill-2);
}

.tsm-export-btn:focus-visible[b-izlq41furh] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Reportes/Components/Reports/Historico/Tsm/TsmEvidence/TsmEvidenceSummary.razor.rz.scp.css */
.tsm-evidence[b-jma4fjgnm4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    height: 100%;
    overflow: auto;
}

.tsm-evidence-title[b-jma4fjgnm4] {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.tsm-evidence-count[b-jma4fjgnm4] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.tsm-evidence-list[b-jma4fjgnm4] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tsm-evidence-point[b-jma4fjgnm4] {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-fill-1);
}

.tsm-evidence-point--ok .tsm-evidence-mark[b-jma4fjgnm4] {
    color: var(--st-success-fg);
    background: var(--st-success-bg);
}

.tsm-evidence-point--gap .tsm-evidence-mark[b-jma4fjgnm4] {
    color: var(--st-warning-fg);
    background: var(--st-warning-bg);
}

.tsm-evidence-mark[b-jma4fjgnm4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 700;
}

.tsm-evidence-label[b-jma4fjgnm4] {
    color: var(--st-text-body);
    font-size: 0.85rem;
}

.tsm-evidence-figure[b-jma4fjgnm4] {
    color: var(--st-text-strong);
    font-weight: 600;
    white-space: nowrap;
}

.tsm-evidence-note[b-jma4fjgnm4] {
    color: var(--st-text-muted);
    font-size: 0.78rem;
}
/* /Pages/Home/Components/Reportes/Components/Reports/SysTime/SuggestionAccuracy/SuggestionAccuracyChart.razor.rz.scp.css */
.suggestion-accuracy-container[b-n53494zc27] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

/* Velo mientras se cargan los datos globales */
.sa-loading[b-n53494zc27] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: var(--st-glass);
    backdrop-filter: blur(2px);
}

.sa-loading-text[b-n53494zc27] {
    margin-top: 15px;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 500;
}

.reportes-spinner[b-n53494zc27] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top: 3px solid #D33BB2;
    border-radius: 50%;
    animation: spin-b-n53494zc27 0.8s linear infinite;
}

@keyframes spin-b-n53494zc27 {
    to { transform: rotate(360deg); }
}

/* ── Tarjetas superiores ─────────────────────────────────────────────────── */
.accuracy-cards-container[b-n53494zc27] {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin-bottom: 8px;
    padding: 10px 16px 0 16px;
}

.accuracy-card[b-n53494zc27] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    animation: slideDown-b-n53494zc27 0.4s ease-out;
}

.accuracy-card-icon[b-n53494zc27] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.process-icon[b-n53494zc27] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
}

.stakeholder-icon[b-n53494zc27] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

/* Vista expandida */
.expanded-cards .accuracy-card[b-n53494zc27] {
    padding: 8px 12px;
    border-color: var(--st-border);
    background: var(--st-surface-muted);
}

.expanded-cards .accuracy-card-icon[b-n53494zc27] {
    width: 28px;
    height: 28px;
}

.expanded-cards .process-icon[b-n53494zc27] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}

.expanded-cards .stakeholder-icon[b-n53494zc27] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

/* Tarjetas de métricas (global y del proceso elegido) */
.expanded-cards .metrics-card[b-n53494zc27] {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    height: 105px;
    padding: 0 14px;
    overflow: hidden;
}

/* Lista de procesos */
.expanded-cards .process-list-card[b-n53494zc27] {
    flex: 3;
    flex-direction: column;
    min-width: 0;
    height: 105px;
    overflow-y: auto;
}

/* Al elegir un proceso las tarjetas crecen para mostrar sus métricas */
.expanded-cards.has-selection .metrics-card[b-n53494zc27],
.expanded-cards.has-selection .process-list-card[b-n53494zc27] {
    height: 140px;
}

.sa-card-title[b-n53494zc27] {
    color: var(--st-text);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sa-card-title--ellipsis[b-n53494zc27] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sa-metric-grid[b-n53494zc27] {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
}

.sa-metric[b-n53494zc27] {
    display: flex;
    flex-direction: column;
}

.sa-metric-label[b-n53494zc27] {
    color: var(--st-text-subtle);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.sa-metric-value[b-n53494zc27] {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.2;
}

.sa-metric-value--process[b-n53494zc27] { color: var(--st-info-fg); }
.sa-metric-value--stakeholder[b-n53494zc27] { color: var(--st-success-fg); }
.sa-metric-value--selected-process[b-n53494zc27] { color: #818cf8; }
.sa-metric-value--selected-stakeholder[b-n53494zc27] { color: #2dd4bf; }

.sa-metric-count[b-n53494zc27] {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sa-metric-count-value[b-n53494zc27] {
    color: var(--st-warning-fg);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.sa-metric-count-label[b-n53494zc27] {
    color: var(--st-text-muted);
    font-size: 10px;
    white-space: nowrap;
}

.sa-metric-loading[b-n53494zc27] {
    color: var(--st-text-secondary);
    font-size: 13px;
}

.sa-list-title[b-n53494zc27] {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--st-text-secondary);
    font-size: 13px;
}

.sa-pills[b-n53494zc27] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.process-item-pill[b-n53494zc27] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background-color: var(--st-surface-strong);
    color: var(--st-text-strong);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.process-item-pill:hover[b-n53494zc27] {
    opacity: 0.9;
    transform: translateY(-1px);
}

.process-item-pill.selected[b-n53494zc27] {
    border-color: #60a5fa;
    background-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.sa-pill-name[b-n53494zc27] {
    font-weight: 600;
}

/* ── Gráficas ────────────────────────────────────────────────────────────── */
.chart-wrapper[b-n53494zc27] {
    flex: 1;
    min-height: 0;
}

.sa-charts[b-n53494zc27] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding-bottom: 10px;
    overflow-y: auto;
}

/* Gráfica de procesos: alto fijo. !important porque el visor padre (GenericChartViewer)
   le da a todo .chart-wrapper height:100% y display:flex desde su ::deep. */
.sa-process-chart[b-n53494zc27] {
    display: block !important;
    flex: none;
    height: 105px !important;
    min-height: 105px !important;
    max-height: 105px !important;
    overflow: hidden;
}

.sa-stakeholder-chart[b-n53494zc27] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.sa-chart-title[b-n53494zc27] {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-left: 32px;
    color: var(--st-text-secondary);
    font-size: 14px;
}

/* Tarjeta del tablero */
.sa-compact-chart[b-n53494zc27] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

@keyframes slideDown-b-n53494zc27 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-chart-scroll[b-n53494zc27] {
    width: 100%;
    height: 100%;
    padding-bottom: 5px;
    overflow-x: auto;
    overflow-y: auto;
}

.custom-chart-scroll[b-n53494zc27]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-chart-scroll[b-n53494zc27]::-webkit-scrollbar-track {
    border-radius: 3px;
    background: var(--st-fill-2);
}

.custom-chart-scroll[b-n53494zc27]::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--st-fill-6);
}

.custom-chart-scroll[b-n53494zc27]::-webkit-scrollbar-thumb:hover {
    background: var(--st-fill-7);
}
/* /Pages/Home/Components/Reportes/Components/Reports/SysTime/UserAdoption/UserAdoptionChart.razor.rz.scp.css */
.custom-chart-scroll[b-p70k5k4q8w] {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    padding-bottom: 5px;
}

.custom-chart-scroll[b-p70k5k4q8w]::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-chart-scroll[b-p70k5k4q8w]::-webkit-scrollbar-track { background: var(--st-fill-2); border-radius: 3px; }
.custom-chart-scroll[b-p70k5k4q8w]::-webkit-scrollbar-thumb { background: var(--st-fill-6); border-radius: 3px; }
.custom-chart-scroll[b-p70k5k4q8w]::-webkit-scrollbar-thumb:hover { background: var(--st-fill-7); }

.ua-ranking-card[b-p70k5k4q8w] {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ua-ranking-card:hover[b-p70k5k4q8w] {
    background: var(--st-fill-1);
}

.ua-seg-tip[b-p70k5k4q8w] {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 10;
    border: 1px solid var(--st-border-strong);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ua-seg:hover .ua-seg-tip[b-p70k5k4q8w] {
    opacity: 1;
}

/* ── Estructura (antes estilos en línea) ─────────────────────────────────── */

.ua-root[b-p70k5k4q8w] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

/* Tarjetas de KPIs (vista expandida) */
.ua-kpis[b-p70k5k4q8w] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.ua-kpi[b-p70k5k4q8w] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--st-surface);
}

.ua-kpi-icon[b-p70k5k4q8w] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.ua-kpi-icon--violet[b-p70k5k4q8w] { background: rgba(139, 92, 246, 0.18); color: #a78bfa; }
.ua-kpi-icon--blue[b-p70k5k4q8w] { background: var(--st-info-bg-strong); color: var(--st-info-fg); }
.ua-kpi-icon--green[b-p70k5k4q8w] { background: var(--st-success-bg-strong); color: var(--st-success-fg); }
.ua-kpi-icon--red[b-p70k5k4q8w] { background: var(--st-danger-bg-strong); color: var(--st-danger-fg); }

.ua-kpi-text[b-p70k5k4q8w] {
    min-width: 0;
}

.ua-kpi-label[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ua-kpi-value[b-p70k5k4q8w] {
    margin: 1px 0 0;
    color: var(--st-text);
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.1;
}

.ua-kpi-value--alert[b-p70k5k4q8w] {
    color: var(--st-danger-fg);
}

.ua-kpi-note[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

/* Paneles: ranking y sin actividad */
.ua-panels[b-p70k5k4q8w] {
    display: flex;
    flex: 1;
    gap: 12px;
    min-height: 0;
}

.ua-panel[b-p70k5k4q8w] {
    flex: 1;
    min-height: 0;
    padding: 10px;
    overflow-y: auto;
    border-radius: 8px;
    background: var(--st-surface);
    scrollbar-gutter: stable;
}

.ua-panel-title[b-p70k5k4q8w] {
    margin: 0 0 8px;
    color: var(--st-text-secondary);
    font-size: 13px;
    font-weight: bold;
}

.ua-panel-intro[b-p70k5k4q8w] {
    margin: 0 0 10px;
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 500;
}

.ua-panel-empty[b-p70k5k4q8w] {
    color: var(--st-text-subtle);
    font-size: 12px;
}

.ua-section-title[b-p70k5k4q8w] {
    margin: 10px 0 8px;
    padding-top: 6px;
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ua-section-title--first[b-p70k5k4q8w] {
    margin-top: 0;
    padding-top: 0;
}

/* Leyenda de la barra apilada */
.ua-legend[b-p70k5k4q8w] {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}

.ua-legend-item[b-p70k5k4q8w] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ua-swatch[b-p70k5k4q8w] {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.ua-legend-text[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 500;
}

.ua-legend-text--small[b-p70k5k4q8w] {
    font-size: 12px;
}

/* Colores de cada tipo de entrega (leyenda y barra) */
.ua-swatch--direct[b-p70k5k4q8w], .ua-seg--direct[b-p70k5k4q8w] { background: #10b981; }
.ua-swatch--third-party[b-p70k5k4q8w], .ua-seg--third-party[b-p70k5k4q8w] { background: #3b82f6; }
.ua-swatch--system[b-p70k5k4q8w], .ua-seg--system[b-p70k5k4q8w] { background: #64748b; }

/* Persona: avatar, nombre y etiquetas */
.ua-avatar[b-p70k5k4q8w] {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.ua-avatar--inactive[b-p70k5k4q8w] {
    background: #64748b;
}

.ua-avatar--small[b-p70k5k4q8w] {
    width: 26px;
    height: 26px;
    font-size: 10px;
}

.ua-avatar-photo[b-p70k5k4q8w] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ua-ranking-body[b-p70k5k4q8w] {
    flex: 1;
    min-width: 0;
}

.ua-row[b-p70k5k4q8w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ua-row--meta[b-p70k5k4q8w] {
    margin: 2px 0 5px;
}

.ua-name-group[b-p70k5k4q8w] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.ua-name[b-p70k5k4q8w] {
    overflow: hidden;
    color: var(--st-text-body);
    font-size: 12.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ua-name--block[b-p70k5k4q8w] {
    display: block;
}

.ua-name--small[b-p70k5k4q8w] {
    font-size: 12px;
}

.ua-pill[b-p70k5k4q8w] {
    flex-shrink: 0;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* El color del nivel llega por fila como variable (--level-color / --level-bg). */
.ua-pill--level[b-p70k5k4q8w] {
    background: var(--level-bg);
    color: var(--level-color);
}

.ua-pill--muted[b-p70k5k4q8w] {
    background: var(--st-fill-5);
    color: var(--st-text-secondary);
}

.ua-pill--inactive[b-p70k5k4q8w] {
    padding: 2px 8px;
    background: var(--st-fill-4);
    color: var(--st-text-muted);
}

.ua-pill--up[b-p70k5k4q8w] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
}

.ua-pill--down[b-p70k5k4q8w] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
}

.ua-tabs[b-p70k5k4q8w] {
    display: flex;
    gap: 6px;
    margin: 0 0 10px;
}

.ua-tab[b-p70k5k4q8w] {
    padding: 4px 12px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: transparent;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ua-tab--active[b-p70k5k4q8w] {
    border-color: var(--st-warning-text);
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
}

.ua-person-row--click[b-p70k5k4q8w] {
    cursor: pointer;
}

.ua-improve-rank[b-p70k5k4q8w] {
    flex-shrink: 0;
    min-width: 22px;
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 800;
}

.ua-improve-side[b-p70k5k4q8w] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.ua-improve-compare[b-p70k5k4q8w] {
    color: var(--st-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.ua-improve-compare strong[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
}

.ua-improve-side[b-p70k5k4q8w] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.ua-improve-compare[b-p70k5k4q8w] {
    color: var(--st-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.ua-improve-compare strong[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
}

.ua-help[b-p70k5k4q8w] {
    cursor: help;
}

.ua-percentage[b-p70k5k4q8w] {
    flex-shrink: 0;
    min-width: 42px;
    color: var(--level-color);
    font-size: 13px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}

.ua-percentage--small[b-p70k5k4q8w] {
    font-size: 12px;
}

.ua-meta[b-p70k5k4q8w] {
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.ua-meta--ellipsis[b-p70k5k4q8w] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ua-meta--fixed[b-p70k5k4q8w] {
    flex-shrink: 0;
}

/* Barra apilada directas / terceros / sistema */
.ua-bar[b-p70k5k4q8w] {
    display: flex;
    gap: 2px;
    height: 8px;
}

.ua-bar--thin[b-p70k5k4q8w] {
    height: 6px;
    margin-top: 3px;
}

.ua-seg[b-p70k5k4q8w] {
    position: relative;
    height: 100%;
    border-radius: 3px;
}

/* Sin actividad */
.ua-person-row[b-p70k5k4q8w] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
}

.ua-person-text[b-p70k5k4q8w] {
    flex: 1;
    min-width: 0;
}

.ua-person-job[b-p70k5k4q8w] {
    display: block;
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Vista compacta (tarjeta del tablero) */
.ua-compact[b-p70k5k4q8w] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.ua-compact-row[b-p70k5k4q8w] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--st-border);
}

/* Interruptor "cuenta en adopción" de cada persona */
.ua-switch[b-p70k5k4q8w] {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--st-fill-5);
    cursor: pointer;
    transition: background 0.15s ease;
}

.ua-switch[hidden][b-p70k5k4q8w] {
    display: none;
}

.ua-switch.is-on[b-p70k5k4q8w] {
    background: var(--st-success-text);
}

.ua-switch:disabled[b-p70k5k4q8w] {
    cursor: wait;
    opacity: 0.6;
}

.ua-switch-knob[b-p70k5k4q8w] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--st-surface);
    transition: transform 0.15s ease;
}

.ua-switch.is-on .ua-switch-knob[b-p70k5k4q8w] {
    transform: translateX(14px);
}

.ua-person-row--excluded[b-p70k5k4q8w] {
    opacity: 0.75;
}

.ua-inclusion-error[b-p70k5k4q8w] {
    color: var(--st-warning-text);
}
/* /Pages/Home/Components/Reportes/Components/States/ReportEmpty.razor.rz.scp.css */
.report-empty[b-xung373a3c] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 120px;
    padding: 12px;
    color: var(--st-text-subtle);
    font-size: 13px;
    text-align: center;
}

.report-empty__icon[b-xung373a3c] {
    opacity: 0.6;
}
/* /Pages/Home/Components/Reportes/Components/States/ReportLoadError.razor.rz.scp.css */
.report-load-error[b-qdp34xapkd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 120px;
    padding: 12px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.report-load-error__icon[b-qdp34xapkd] {
    color: var(--st-warning-fg);
    opacity: 0.85;
}

.report-load-error__retry[b-qdp34xapkd] {
    padding: 6px 14px;
    border: 1px solid var(--st-info-border);
    border-radius: 6px;
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.report-load-error__retry:hover[b-qdp34xapkd] {
    background: var(--st-info-bg-strong);
}

.report-load-error__retry:focus-visible[b-qdp34xapkd] {
    outline: 2px solid var(--st-info-fg);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Reportes/Components/States/ReportLoading.razor.rz.scp.css */
.report-loading[b-e06rc2k5sy] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 120px;
    color: var(--st-text-subtle);
    font-size: 13px;
    text-align: center;
}

.report-loading__spinner[b-e06rc2k5sy] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top: 3px solid #D33BB2;
    border-radius: 50%;
    animation: report-loading-spin-b-e06rc2k5sy 0.8s linear infinite;
}

@keyframes report-loading-spin-b-e06rc2k5sy {
    to { transform: rotate(360deg); }
}
/* /Pages/Home/Components/Reportes/ReportCatalogSidebar.razor.rz.scp.css */
/* ── Grilla de gráficas disponibles ── */

.graficas-grid[b-m4izttxsz5] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-y: auto;
    padding: 10px 8px 10px 0;
}

.graficas-grid[b-m4izttxsz5]::-webkit-scrollbar {
    width: 6px;
}

.graficas-grid[b-m4izttxsz5]::-webkit-scrollbar-track {
    background: transparent;
}

.graficas-grid[b-m4izttxsz5]::-webkit-scrollbar-thumb {
    background: var(--st-fill-4);
    border-radius: 4px;
}

.agregar-btn[b-m4izttxsz5] {
    margin-top: 15px;
    padding: 12px;
    align-self: flex-start;
    background: #D33BB2;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.agregar-btn:hover[b-m4izttxsz5] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
}

/* Specific Chip Colors matched from user screenshot */
.chip-period[b-m4izttxsz5] {
    background: linear-gradient(135deg, #e5b900 0%, #e5b900 100%) !important;
    border: none !important;
    color: #1a365d !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.15);
}

.chip-time[b-m4izttxsz5] {
    background: var(--st-surface-sunken) !important;
    /* Branded Dark Slate Blue */
    border: 1px solid var(--st-border) !important;
    color: var(--st-text-strong) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chip-comparison[b-m4izttxsz5] {
    background: var(--st-accent-bg) !important;
    border-color: var(--st-accent-border) !important;
    color: var(--st-accent-text) !important;
}

@keyframes fadeIn-b-m4izttxsz5 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AZURE-STYLE CATALOG ITEMS */
.azure-catalog-item:not(.ui-draggable-dragging)[b-m4izttxsz5] {
    width: 100% !important;
    position: relative !important;
    height: auto !important;
    min-height: 80px;
    display: block !important;
    /* Reset gridstack absolute positioning for the sidebar only */
    top: auto !important;
    left: auto !important;
}

.azure-catalog-content[b-m4izttxsz5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--st-surface-muted) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--st-border-subtle) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.azure-catalog-content:active[b-m4izttxsz5] {
    cursor: grabbing;
    transform: scale(0.98);
}

.azure-catalog-content:hover[b-m4izttxsz5] {
    border-color: var(--st-border-strong) !important;
    background: var(--st-surface-sunken) !important;
    transform: translateX(4px) translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 0 20px rgba(211, 59, 178, 0.15);
}

.azure-catalog-item.selected-chart .azure-catalog-content[b-m4izttxsz5] {
    border: 1px solid #D33BB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(211, 59, 178, 0.4), 0 10px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.azure-thumbnail[b-m4izttxsz5] {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--st-fill-3) 0%, var(--st-fill-1) 100%);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.azure-thumbnail img[b-m4izttxsz5] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.azure-thumbnail span[b-m4izttxsz5] {
    font-size: 24px;
}

.azure-info[b-m4izttxsz5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}

.azure-title[b-m4izttxsz5] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
    letter-spacing: 0.3px;
}

.azure-desc[b-m4izttxsz5] {
    font-size: 12px;
    color: var(--st-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-m4izttxsz5] .filtro-input {
    flex: 1;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 10px;
    color: var(--st-text-strong) !important;
    font-size: 14px;
}

.grid-stack-item-content[b-m4izttxsz5] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
}

.graficas-sidebar[b-m4izttxsz5]  .reporte-card {
    background: var(--st-surface-muted) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    height: auto !important;
    gap: 8px;
    transition: all 0.2s ease;
}

.graficas-sidebar[b-m4izttxsz5]  .reporte-card:hover {
    border-color: #D33BB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: grab;
}

.graficas-sidebar[b-m4izttxsz5]  .card-header {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.graficas-sidebar[b-m4izttxsz5]  .card-header h4 {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--st-text-secondary) !important;
    text-transform: none !important;
    text-align: left;
}

.graficas-sidebar[b-m4izttxsz5]  .card-content {
    order: 1 !important;
    width: 100%;
    height: 100px !important;
    background: var(--st-canvas) !important;
    border-radius: 6px !important;
    border: none !important;
    flex: none !important;
}

.graficas-sidebar[b-m4izttxsz5]  .card-options {
    display: none !important;
}

@keyframes fadeInOverlay-b-m4izttxsz5 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal-b-m4izttxsz5 {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin-b-m4izttxsz5 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-m4izttxsz5 {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Switch Toggle (Time Machine) */
.switch[b-m4izttxsz5] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input[b-m4izttxsz5] {
    opacity: 0;
    width: 0;
    height: 0;
}

@keyframes borderGoldPulse-b-m4izttxsz5 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
    }
}

@keyframes indicatorFadeSlide-b-m4izttxsz5 {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes goldRingPulse-b-m4izttxsz5 {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Animación de Resplandor Estático solo para tarjetas editables (Sin movimiento) */
.is-editing-active[b-m4izttxsz5]  .is-card-editable {
    border: 1px solid rgba(229, 185, 0, 0.2) !important;
    background: var(--st-surface) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    animation: cardGlowPulse-b-m4izttxsz5 4s infinite ease-in-out;
}

@keyframes cardGlowPulse-b-m4izttxsz5 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
        box-shadow: 0 4px 20px rgba(229, 185, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.4);
    }
}

.is-editing-active[b-m4izttxsz5]  .is-card-editable:hover {
    border-color: #e5b900 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 185, 0, 0.2) !important;
    z-index: 10;
}

/* Efecto al arrastrar */
.is-editing-active[b-m4izttxsz5]  .grid-stack-item.ui-draggable-dragging .grid-stack-item-content {
    animation: none;
    background: var(--st-surface-raised) !important;
    border-color: #e5b900 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 185, 0, 0.4) !important;
    transform: scale(1.02) !important;
}

@keyframes badgePulse-b-m4izttxsz5 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Forzar visibilidad de manejadores de GridStack */
.is-editing-active[b-m4izttxsz5]  .ui-resizable-handle {
    display: block !important;
    opacity: 1 !important;
}

/* Ocultar iconos blancos de los laterales (s, e, w) pero mantener el área interactiva */
.is-editing-active[b-m4izttxsz5]  .ui-resizable-s,
.is-editing-active[b-m4izttxsz5]  .ui-resizable-e,
.is-editing-active[b-m4izttxsz5]  .ui-resizable-w,
.is-editing-active[b-m4izttxsz5]  .ui-resizable-n {
    background-image: none !important;
}

/* Asegurar que las esquinas (se, sw) mantengan su icono original pero en color blanco */
.is-editing-active[b-m4izttxsz5]  .ui-resizable-se,
.is-editing-active[b-m4izttxsz5]  .ui-resizable-sw {
    width: 20px !important;
}
/* EMPTY CATALOG STATE */
.empty-catalog-message[b-m4izttxsz5] {
    text-align: center;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--st-fill-2);
    border: 1px dashed var(--st-border);
    border-radius: 12px;
    margin-top: 10px;
}
.empty-catalog-message p[b-m4izttxsz5] {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--st-text-body);
}
.empty-catalog-message small[b-m4izttxsz5] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    text-align: center;
    line-height: 1.4;
}
/* /Pages/Home/Components/Reportes/ReportDetailModal.razor.rz.scp.css */
/* ── Tabs de filtros internos del modal (bottleneck, etc.) ──
   Los selectores con ::deep alcanzan los elementos que dibuja ReportFilterPanel, un componente hijo: el CSS aislado de este
   archivo solo marca los elementos del propio modal. ── */
.reportes-tabs-container[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .reportes-tabs-container {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reportes-tabs[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .reportes-tabs {
    display: flex;
    align-items: center;
    background: var(--st-fill-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reportes-tabs.w-100[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .reportes-tabs.w-100 {
    width: 100%;
}

.tab-btn[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 5px 16px;
    border-radius: 999px;
    color: var(--st-text-strong);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.tab-btn:hover[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .tab-btn:hover {
    color: var(--st-text-strong);
    background: var(--st-fill-4);
}

.tab-btn.active[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .tab-btn.active {
    background: #e5b900;
    color: #1a365d;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.3);
    border: none;
}

/* FILTER CHIPS */
.filter-chips-container[b-zg54ni3vvx] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 15px 0;
    padding: 0 0 0 5px;
    animation: fadeIn-b-zg54ni3vvx 0.4s ease-out;
}

.modal-filter-chips[b-zg54ni3vvx] {
    padding: 10px 0;
    margin-bottom: 5px;
}

@keyframes fadeIn-b-zg54ni3vvx {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[b-zg54ni3vvx] .filtro-input {
    flex: 1;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 10px;
    color: var(--st-text-strong) !important;
    font-size: 14px;
}

.graficas-sidebar[b-zg54ni3vvx]  .reporte-card {
    background: var(--st-surface-muted) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    height: auto !important;
    gap: 8px;
    transition: all 0.2s ease;
}

.graficas-sidebar[b-zg54ni3vvx]  .reporte-card:hover {
    border-color: #D33BB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: grab;
}

.graficas-sidebar[b-zg54ni3vvx]  .card-header {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.graficas-sidebar[b-zg54ni3vvx]  .card-header h4 {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--st-text-secondary) !important;
    text-transform: none !important;
    text-align: left;
}

.graficas-sidebar[b-zg54ni3vvx]  .card-content {
    order: 1 !important;
    width: 100%;
    height: 100px !important;
    background: var(--st-canvas) !important;
    border-radius: 6px !important;
    border: none !important;
    flex: none !important;
}

.graficas-sidebar[b-zg54ni3vvx]  .card-options {
    display: none !important;
}

/* MODAL GRAFICAS EXPANDIDAS*/

.modal-overlay[b-zg54ni3vvx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeInOverlay-b-zg54ni3vvx 0.3s ease-out;
}

/* Contenido del Modal estilo Glass/Dark */
.modal-content[b-zg54ni3vvx] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 10px 24px 24px 24px;
    width: 96%;
    max-width: 1600px;
    height: 94vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-origin: center center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo superior en el modal */
.modal-content[b-zg54ni3vvx]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--st-fill-4), transparent);
    pointer-events: none;
}

@keyframes fadeInOverlay-b-zg54ni3vvx {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animación de zoom: el modal crece desde el centro al abrir y se encoge hacia el centro al
   cerrar, mientras el fondo se desvanece. Mientras el modal se mueve al <body> queda oculto
   para que la entrada arranque una sola vez, ya en su lugar. */
.modal-overlay.is-moving .modal-content[b-zg54ni3vvx] {
    visibility: hidden;
}

.modal-overlay.is-ready .modal-content[b-zg54ni3vvx] {
    animation: zoomIn-b-zg54ni3vvx 0.32s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Después de la regla de entrada: misma especificidad, así la salida gana. */
.modal-overlay.is-closing[b-zg54ni3vvx] {
    animation: fadeOutOverlay-b-zg54ni3vvx 0.24s ease-in forwards;
    pointer-events: none;
}

.modal-overlay.is-closing .modal-content[b-zg54ni3vvx] {
    animation: zoomOut-b-zg54ni3vvx 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes zoomIn-b-zg54ni3vvx {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut-b-zg54ni3vvx {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.85);
    }
}

@keyframes fadeOutOverlay-b-zg54ni3vvx {
    to {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-overlay.is-ready .modal-content[b-zg54ni3vvx] {
        animation: fadeInOverlay-b-zg54ni3vvx 0.2s ease-out backwards;
    }

    .modal-overlay.is-closing .modal-content[b-zg54ni3vvx] {
        animation: fadeOutOverlay-b-zg54ni3vvx 0.2s ease-in forwards;
    }
}

.modal-header[b-zg54ni3vvx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.modal-header h3[b-zg54ni3vvx] {
    margin: 0;
    color: var(--st-text-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-modal-btn[b-zg54ni3vvx] {
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: bold;
}

.close-modal-btn:hover[b-zg54ni3vvx] {
    background: transparent;
    color: var(--st-text-strong);
    box-shadow: 0 0 20px rgba(211, 59, 178, 0.8);
    transform: scale(1.1);
}

.reportes-spinner[b-zg54ni3vvx] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top: 3px solid #D33BB2;
    border-radius: 50%;
    animation: spin-b-zg54ni3vvx 0.8s linear infinite;
}

@keyframes spin-b-zg54ni3vvx {
    to {
        transform: rotate(360deg);
    }
}

.spinning[b-zg54ni3vvx] {
    animation: spin-b-zg54ni3vvx 1s linear infinite;
}

@keyframes pulse-b-zg54ni3vvx {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Switch Toggle (Time Machine) */
.switch[b-zg54ni3vvx] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input[b-zg54ni3vvx] {
    opacity: 0;
    width: 0;
    height: 0;
}

/* MODAL 3-SECTION LAYOUT */
.modal-layout-container[b-zg54ni3vvx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    padding-bottom: 5px;
    min-height: 0;
}

.modal-top-section[b-zg54ni3vvx] {
    position: relative;
    display: flex;
    gap: 24px;
    flex: 7;
    min-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-sidebar-filters[b-zg54ni3vvx] {
    flex: 0 0 350px;
    height: 100%;
    box-sizing: border-box;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 16px;
    min-height: 0;
}

.modal-chart-section[b-zg54ni3vvx] {
    flex: 1;
    height: 100%;
    box-sizing: border-box;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-grid-section[b-zg54ni3vvx]::-webkit-scrollbar {
    display: none;
}

/* LAYOUT STATES */
.modal-layout-container.chart-focus .modal-top-section[b-zg54ni3vvx] {
    flex: 1;
    /* Was 9.2 */
}

.modal-layout-container.chart-focus .modal-grid-section[b-zg54ni3vvx] {
    flex: 0 0 56px;
    min-height: 56px;
    padding: 0;
    overflow: hidden;
    opacity: 0.9;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
}

.modal-layout-container.table-focus .modal-top-section[b-zg54ni3vvx] {
    flex: 0 0 56px;
    min-height: 56px;
    margin-bottom: 12px;
    overflow: hidden;
    opacity: 0.9;
}

.modal-layout-container.table-focus .modal-chart-section[b-zg54ni3vvx] {
    padding: 0;
}

.modal-layout-container.table-focus .modal-grid-section[b-zg54ni3vvx] {
    flex: 1;
    /* Was 9.2 */
}

.modal-layout-container.chart-focus .modal-grid-section:hover[b-zg54ni3vvx],
.modal-layout-container.table-focus .modal-top-section:hover[b-zg54ni3vvx] {
    opacity: 1;
    background: var(--st-surface-sunken);
}

/* SOLO GRÁFICA: filters in a side tab, table in a bottom strip, both open over the chart */
.focus-modal-btn.is-active[b-zg54ni3vvx] {
    color: #d33bb2;
    background: rgba(211, 59, 178, 0.12);
}

/* The chart and the controls inside it (the month selector has its own z-index) stay under the panels that open over it. */
.modal-chart-section[b-zg54ni3vvx] {
    z-index: 0;
    isolation: isolate;
}

.modal-filters-rail[b-zg54ni3vvx] {
    flex: 0 0 48px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 41;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    color: var(--st-text-strong);
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.modal-filters-rail:hover[b-zg54ni3vvx],
.modal-filters-rail.is-open[b-zg54ni3vvx] {
    background: var(--st-surface-sunken);
    border-color: rgba(211, 59, 178, 0.35);
}

.modal-filters-rail:focus-visible[b-zg54ni3vvx],
.modal-grid-strip:focus-visible[b-zg54ni3vvx],
.modal-drawer-btn:focus-visible[b-zg54ni3vvx] {
    outline: 2px solid #d33bb2;
    outline-offset: 2px;
}

.modal-filters-rail-badge[b-zg54ni3vvx] {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #d33bb2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.modal-filters-rail-label[b-zg54ni3vvx] {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Transparent layer under an open panel: a click anywhere else closes it. */
.modal-drawer-backdrop[b-zg54ni3vvx] {
    position: fixed;
    inset: 0;
    z-index: 35;
}

.modal-sidebar-filters.is-drawer[b-zg54ni3vvx] {
    display: none;
    position: absolute;
    left: 56px;
    top: 0;
    bottom: 0;
    width: 350px;
    max-width: calc(100% - 64px);
    flex: none;
    z-index: 40;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    outline: none;
}

.modal-sidebar-filters.is-drawer.is-open[b-zg54ni3vvx] {
    display: flex;
}

.modal-drawer-actions[b-zg54ni3vvx] {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.modal-grid-drawer .modal-drawer-actions[b-zg54ni3vvx] {
    top: 12px;
    right: 14px;
    z-index: 100;
}

.modal-drawer-btn[b-zg54ni3vvx] {
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 13px;
    background: transparent;
    color: var(--st-text-secondary);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.modal-drawer-btn:hover[b-zg54ni3vvx] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.modal-drawer-btn--icon[b-zg54ni3vvx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    padding: 0;
}

.modal-layout-container.chart-focus .modal-grid-section.is-strip[b-zg54ni3vvx] {
    z-index: 41;
    overflow: visible;
    opacity: 1;
}

.modal-grid-strip[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--st-text-strong);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.modal-grid-strip-chevron[b-zg54ni3vvx] {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.modal-grid-strip-chevron.is-open[b-zg54ni3vvx] {
    transform: rotate(180deg);
}

.modal-grid-drawer[b-zg54ni3vvx] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    height: clamp(240px, 48vh, 560px);
    box-sizing: border-box;
    z-index: 40;
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    scrollbar-width: none;
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .modal-filters-rail[b-zg54ni3vvx],
    .modal-grid-strip-chevron[b-zg54ni3vvx] {
        transition: none;
    }
}

/* RESIZE BUTTONS */
.layout-resize-btn[b-zg54ni3vvx] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: var(--st-fill-1);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.layout-resize-btn:hover[b-zg54ni3vvx] {
    background: rgba(211, 59, 178, 0.1);
    border-color: rgba(211, 59, 178, 0.3);
    color: #d33bb2;
    transform: scale(1.05);
}

.grid-resize-btn[b-zg54ni3vvx] {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
}

.minimized-resize-btn[b-zg54ni3vvx] {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 18px !important;
}

.modal-grid-section[b-zg54ni3vvx] {
    flex: 3;
    box-sizing: border-box;
    background: var(--st-surface-muted);
    border: none;
    border-radius: 12px;
    padding: 16px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* REMOVED CSS rules for section-minimized-title and child divs hiding since it's now handled by Razor logic */

.report-minimized-placeholder-modal[b-zg54ni3vvx] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.minimized-pill-modal[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    color: var(--st-text-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.minimized-pill-modal:hover[b-zg54ni3vvx] {
    background: var(--st-surface-strong);
    border-color: rgba(211, 59, 178, 0.3);
    color: var(--st-text-strong);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(211, 59, 178, 0.15);
}

/* BRANDED MODAL REFINEMENTS */
.modal-refresh-btn[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 15px;
    background: rgba(211, 59, 178, 0.1);
    border: 1px solid rgba(211, 59, 178, 0.2);
    border-radius: 8px;
    color: #d33bb2;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.05);
}

.modal-refresh-btn span[b-zg54ni3vvx] {
    font-size: 13px;
    font-weight: 600;
}

.modal-refresh-btn:hover:not(:disabled)[b-zg54ni3vvx] {
    background: rgba(211, 59, 178, 0.2);
    border-color: rgba(211, 59, 178, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 59, 178, 0.15);
}

.modal-refresh-btn:active:not(:disabled)[b-zg54ni3vvx] {
    transform: scale(0.98);
}

.modal-refresh-btn:disabled[b-zg54ni3vvx] {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.modal-refresh-btn svg.spinning[b-zg54ni3vvx] {
    animation: spin-b-zg54ni3vvx 1s linear infinite;
}

@keyframes borderGoldPulse-b-zg54ni3vvx {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
    }
}

@keyframes indicatorFadeSlide-b-zg54ni3vvx {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes goldRingPulse-b-zg54ni3vvx {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Animación de Resplandor Estático solo para tarjetas editables (Sin movimiento) */
.is-editing-active[b-zg54ni3vvx]  .is-card-editable {
    border: 1px solid rgba(229, 185, 0, 0.2) !important;
    background: var(--st-surface) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    animation: cardGlowPulse-b-zg54ni3vvx 4s infinite ease-in-out;
}

@keyframes cardGlowPulse-b-zg54ni3vvx {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
        box-shadow: 0 4px 20px rgba(229, 185, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.4);
    }
}

.is-editing-active[b-zg54ni3vvx]  .is-card-editable:hover {
    border-color: #e5b900 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 185, 0, 0.2) !important;
    z-index: 10;
}

/* Efecto al arrastrar */
.is-editing-active[b-zg54ni3vvx]  .grid-stack-item.ui-draggable-dragging .grid-stack-item-content {
    animation: none;
    background: var(--st-surface-raised) !important;
    border-color: #e5b900 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 185, 0, 0.4) !important;
    transform: scale(1.02) !important;
}

@keyframes badgePulse-b-zg54ni3vvx {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Forzar visibilidad de manejadores de GridStack */
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-handle {
    display: block !important;
    opacity: 1 !important;
}

/* Ocultar iconos blancos de los laterales (s, e, w) pero mantener el área interactiva */
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-s,
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-e,
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-w,
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-n {
    background-image: none !important;
}

/* Asegurar que las esquinas (se, sw) mantengan su icono original pero en color blanco */
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-se,
.is-editing-active[b-zg54ni3vvx]  .ui-resizable-sw {
    width: 20px !important;
}

/* ── Elementos del modal (antes estilos en línea) ─────────────────────────── */

/* Encabezado */
.modal-title-block[b-zg54ni3vvx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-title-badge[b-zg54ni3vvx] {
    color: var(--st-warning-fg);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.modal-header-actions[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Columna de filtros */
.modal-filters-title[b-zg54ni3vvx] {
    margin-bottom: 5px;
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.modal-active-filters[b-zg54ni3vvx] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.modal-filters-body[b-zg54ni3vvx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-filters-dynamic[b-zg54ni3vvx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 5px;
    padding-top: 16px;
    border-top: 1px solid var(--st-border-subtle);
}

.modal-field-label[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .modal-field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--st-text-secondary);
    font-size: 11px;
    font-weight: 600;
}

.modal-field-label--caps[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .modal-field-label--caps {
    text-transform: uppercase;
}

.modal-field-label--sub[b-zg54ni3vvx] {
    margin-bottom: 6px;
}

.modal-subfield[b-zg54ni3vvx] {
    margin-top: 8px;
}

.modal-field-hint[b-zg54ni3vvx],
.modal-filters-dynamic[b-zg54ni3vvx]  .modal-field-hint {
    display: block;
    margin-top: 6px;
    color: var(--st-text-subtle);
    font-size: 11px;
}

/* Gráfica */
.modal-custom-chart[b-zg54ni3vvx] {
    position: relative;
    flex: 1;
    height: 100%;
    padding: 10px;
}

.modal-chart-host[b-zg54ni3vvx] {
    position: relative;
    flex: 1;
    height: 100%;
}

.modal-chart-loading[b-zg54ni3vvx] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: var(--st-glass);
    backdrop-filter: blur(2px);
}

.modal-chart-loading-text[b-zg54ni3vvx] {
    margin-top: 15px;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 500;
}

.modal-section-message[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--st-text-muted);
    font-size: 0.85rem;
}

/* Barra de la tabla: búsqueda, limpiar y personalizar columnas */
.modal-grid-toolbar[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.modal-grid-search[b-zg54ni3vvx] {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.modal-grid-search-icon[b-zg54ni3vvx] {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.modal-grid-search-input[b-zg54ni3vvx] {
    width: 100%;
    height: 34px;
    padding: 0 12px 0 34px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    outline: none;
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
    transition: border-color 0.2s;
}

.modal-toolbar-btn[b-zg54ni3vvx] {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-toolbar-btn--icon[b-zg54ni3vvx] {
    gap: 4px;
    padding: 6px 12px;
}
/* /Pages/Home/Components/Reportes/ReportesPanel.razor.rz.scp.css */
.reportes-panel[b-sn08ule079] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    /* Pegado a los bordes */
    position: relative;
    background: var(--st-surface);
    /* Color que tenían las tarjetas */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: none;
}

@keyframes noticeSlideDown-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reportes-scrollable-content[b-sn08ule079] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 25px 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reportes-title-header[b-sn08ule079] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 35px;
    padding-right: 50px;
    position: relative;
    z-index: 20;
}

.reportes-title-header h2[b-sn08ule079] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--st-text-body);
    /* Slate-200 */
    text-transform: capitalize;
    letter-spacing: 0.05em;
    font-family: 'Segoe UI', sans-serif;
}

.header-divider[b-sn08ule079] {
    width: 100%;
    height: 1px;
    background: var(--st-fill-3);
    margin: 2px 0 20px 0;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

/* TABS CONTAINER */
.reportes-tabs-container[b-sn08ule079] {
    padding: 0 35px 15px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn-b-sn08ule079 0.4s ease-out;
}

.tabs-row-actions[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.reportes-tabs[b-sn08ule079] {
    display: flex;
    align-items: center;
    background: var(--st-fill-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-btn[b-sn08ule079] {
    background: transparent;
    border: none;
    padding: 5px 16px;
    border-radius: 999px;
    color: var(--st-text-strong);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.tab-btn svg[b-sn08ule079] {
    color: var(--st-text-strong);
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.tab-btn:hover[b-sn08ule079] {
    color: var(--st-text-strong);
    background: var(--st-fill-4);
}

.tab-btn.active[b-sn08ule079] {
    background: #e5b900;
    color: #1a365d;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.3);
    border: none;
}

.tab-btn.active svg[b-sn08ule079] {
    color: #ffffff;
    opacity: 1;
    filter: none;
}

.reportes-actions[b-sn08ule079] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.action-buttons-group[b-sn08ule079] {
    display: flex;
    align-items: center;
    /* Alineación vertical centralizada */
    gap: 12px;
    padding: 0;
}

.filter-group-container[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px 0 0;
    background: var(--st-fill-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-group-container .action-btn[b-sn08ule079] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.filter-group-container:hover[b-sn08ule079] {
    background: var(--st-fill-4);
    border-color: var(--st-border-subtle);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-filter-chips[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideInLeft-b-sn08ule079 0.3s ease-out;
    flex-wrap: wrap; /* Wrap to next line when overflowing */
}

@keyframes slideInLeft-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.action-btn[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    /* Pill shape */
    background: var(--st-fill-2);
    /* Soft Glass background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--st-text-strong);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-btn i[b-sn08ule079],
.action-btn svg[b-sn08ule079] {
    color: var(--st-text-strong);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.action-btn:hover[b-sn08ule079] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    border-color: var(--st-border-subtle);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-btn:hover i[b-sn08ule079],
.action-btn:hover svg[b-sn08ule079] {
    color: var(--st-text-strong) !important;
    transform: none;
    filter: none;
}

.action-btn.cancel-btn.active[b-sn08ule079] {
    background: var(--st-fill-5) !important;
    color: var(--st-text-strong) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none !important;
}

.action-btn.cancel-btn.active svg[b-sn08ule079] {
    color: #D33BB2 !important;
}

.action-btn.edit-btn.active.is-modified[b-sn08ule079] {
    margin-right: 8px;
    /* Separar del botón Cancelar */
}

.action-btn.refresh-btn[b-sn08ule079] {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
}

.action-btn.refresh-btn i[b-sn08ule079],
.action-btn.refresh-btn svg[b-sn08ule079] {
    color: var(--st-text-subtle) !important;
    filter: none;
    transition: all 0.3s ease;
}

.action-btn.refresh-btn:hover i[b-sn08ule079],
.action-btn.refresh-btn:hover svg[b-sn08ule079] {
    color: var(--st-text-strong) !important;
    filter: none;
    transform: rotate(45deg);
}

.action-btn.active[b-sn08ule079] {
    background: var(--st-fill-5) !important;
    color: var(--st-text-strong) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none !important;
}

.action-btn.active i[b-sn08ule079],
.action-btn.active svg[b-sn08ule079] {
    color: #D33BB2 !important;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(211, 59, 178, 0.4));
}

.action-btn.active.is-modified[b-sn08ule079] {
    background: var(--st-fill-5) !important;
    border-color: #D33BB2;
    box-shadow: 0 0 20px rgba(211, 59, 178, 0.6), inset 0 0 12px rgba(211, 59, 178, 0.1);
    animation: pulseBorder 2s infinite;
}

.action-btn:disabled[b-sn08ule079],
.action-btn[disabled][b-sn08ule079] {
    border: 1px solid var(--st-border) !important;
    background: var(--st-fill-3) !important;
    color: var(--st-text-strong) !important;
    opacity: 0.5 !important;
    cursor: default !important;
    outline: none !important;
    box-shadow: none !important;
}

.filter-btn:hover[b-sn08ule079] {
    transform: translateY(-2px) scale(1.02);
}

@keyframes fadeIn-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-stack[b-sn08ule079] {
    background: transparent;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.grid-stack-item-content[b-sn08ule079] {
    /* Color que tenía el panel */
    background: var(--st-surface);
    /* Color que tenía el panel */
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
}

/* Un selector de KPI abierto (PickerDropdown) saca su lista de la tarjeta: se libera el recorte y se
   sube el elemento de la rejilla sobre los demás mientras dure. */
.grid-stack-item-content:has(.st-native-selector.is-open)[b-sn08ule079] {
    overflow: visible;
}

.grid-stack-item:has(.st-native-selector.is-open)[b-sn08ule079] {
    z-index: 30;
}

.graficas-sidebar[b-sn08ule079]  .reporte-card {
    background: var(--st-surface) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    height: auto !important;
    gap: 8px;
    transition: all 0.2s ease;
}

.graficas-sidebar[b-sn08ule079]  .reporte-card:hover {
    border-color: #D33BB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: grab;
}

.graficas-sidebar[b-sn08ule079]  .card-header {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.graficas-sidebar[b-sn08ule079]  .card-header h4 {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--st-text-secondary) !important;
    text-transform: none !important;
    text-align: left;
}

.graficas-sidebar[b-sn08ule079]  .card-content {
    order: 1 !important;
    width: 100%;
    height: 100px !important;
    background: var(--st-canvas) !important;
    border-radius: 6px !important;
    border: none !important;
    flex: none !important;
}

.graficas-sidebar[b-sn08ule079]  .card-options {
    display: none !important;
}

/* MODAL GRAFICAS EXPANDIDAS*/

/* Contenido del Modal estilo Glass/Dark */

/* Efecto de brillo superior en el modal */

@keyframes fadeInOverlay-b-sn08ule079 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-panel-btn[b-sn08ule079] {
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    cursor: pointer;
    padding: 0;
    /* Limpiar padding para control total con width/height */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-panel-btn i[b-sn08ule079],
.close-panel-btn svg[b-sn08ule079] {
    color: var(--st-text-strong);
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.close-panel-btn:hover[b-sn08ule079] {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-panel-btn:hover i[b-sn08ule079],
.close-panel-btn:hover svg[b-sn08ule079] {
    color: var(--st-text-strong) !important;
    filter: none;
}

/* --- Placeholder para reportes minimizados --- */
.report-minimized-placeholder[b-sn08ule079] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    background: var(--st-fill-2) !important;
    backdrop-filter: blur(4px) !important;
}

.minimized-pill[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-subtle);
    border-radius: 999px;
    color: var(--st-text-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.minimized-pill:hover[b-sn08ule079] {
    background: var(--st-surface-strong);
    border-color: rgba(211, 59, 178, 0.3);
    color: var(--st-text-strong);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(211, 59, 178, 0.15);
}

/* Empty State (sin tenant) */
.reportes-empty-state[b-sn08ule079] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 12px;
}

.empty-state-icon[b-sn08ule079] {
    color: var(--st-text-muted);
    margin-bottom: 4px;
}

.empty-state-text[b-sn08ule079] {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    font-family: 'Segoe UI', sans-serif;
}

/* Loading Indicator */
.reportes-loading-overlay[b-sn08ule079] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.reportes-spinner[b-sn08ule079] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-top: 3px solid #D33BB2;
    border-radius: 50%;
    animation: spin-b-sn08ule079 0.8s linear infinite;
}

.reportes-loading-text[b-sn08ule079] {
    color: var(--st-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.03em;
    animation: pulse-b-sn08ule079 1.5s ease-in-out infinite;
}

@keyframes spin-b-sn08ule079 {
    to {
        transform: rotate(360deg);
    }
}

.spinning[b-sn08ule079] {
    animation: spin-b-sn08ule079 1s linear infinite;
}

@keyframes pulse-b-sn08ule079 {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Switch Toggle (Time Machine) */
.switch[b-sn08ule079] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input[b-sn08ule079] {
    opacity: 0;
    width: 0;
    height: 0;
}

/* === MEJORAS MODO EDICIÓN (REFINAMIENTO ORO) === */

.is-editing-active[b-sn08ule079] {
    position: relative;
    z-index: 1;
}

/* Oscurecimiento de fondo (Profundidad) - Sutil */
.is-editing-active[b-sn08ule079]::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--st-fill-2);
    /* Muy sutil */
    backdrop-filter: blur(2px);
    border-radius: 30px;
    z-index: -1;
    animation: fadeInOverlay-b-sn08ule079 0.5s ease-out forwards;
    pointer-events: none;
}

/* Borde Guía en Edición (Dorado) */
.is-editing-active[b-sn08ule079]::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 24px;
    bottom: 5px;
    right: 24px;
    border: 3.5px dashed rgba(229, 185, 0, 0.3);
    border-radius: 25px;
    pointer-events: none;
    z-index: 0;
    animation: borderGoldPulse-b-sn08ule079 4s infinite ease-in-out;
}

@keyframes borderGoldPulse-b-sn08ule079 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
    }
}

/* Indicador Pill Amarillo (Estilo Ref imagen) */
.edit-mode-tag.gold[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface-raised);
    border: 1.5px solid #e5b900;
    padding: 6px 18px;
    border-radius: 30px;
    color: var(--st-gold-text);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(229, 185, 0, 0.2);
    animation: indicatorFadeSlide-b-sn08ule079 0.5s ease-out;
    position: relative;
    white-space: nowrap;
    z-index: 21;
}

@keyframes indicatorFadeSlide-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE HEADER ADJUSTMENTS */
@media (max-width: 1400px) {
    .reportes-title-header[b-sn08ule079] {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .reportes-title-header[b-sn08ule079] {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .edit-mode-tag.gold[b-sn08ule079] {
        order: -1;
        /* Poner el modo edición arriba en móviles */
    }

    .reportes-actions[b-sn08ule079] {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .title-container h2[b-sn08ule079] {
        font-size: 1.3rem;
    }
}

.pulse-dot[b-sn08ule079] {
    width: 8px;
    height: 8px;
    background-color: #e5b900;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px #e5b900;
}

.pulse-dot[b-sn08ule079]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: goldRingPulse-b-sn08ule079 2s infinite ease-out;
}

@keyframes goldRingPulse-b-sn08ule079 {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Animación de Resplandor Estático solo para tarjetas editables (Sin movimiento) */
.is-editing-active[b-sn08ule079]  .is-card-editable {
    border: 1px solid rgba(229, 185, 0, 0.2) !important;
    background: var(--st-surface) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    animation: cardGlowPulse-b-sn08ule079 4s infinite ease-in-out;
}

@keyframes cardGlowPulse-b-sn08ule079 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
        box-shadow: 0 4px 20px rgba(229, 185, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.4);
    }
}

.is-editing-active[b-sn08ule079]  .is-card-editable:hover {
    border-color: #e5b900 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 185, 0, 0.2) !important;
    z-index: 10;
}

/* Efecto al arrastrar */
.is-editing-active[b-sn08ule079]  .grid-stack-item.ui-draggable-dragging .grid-stack-item-content {
    animation: none;
    background: var(--st-surface-raised) !important;
    border-color: #e5b900 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 185, 0, 0.4) !important;
    transform: scale(1.02) !important;
}

@keyframes badgePulse-b-sn08ule079 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Forzar visibilidad de manejadores de GridStack */
.is-editing-active[b-sn08ule079]  .ui-resizable-handle {
    display: block !important;
    opacity: 1 !important;
}

/* Ocultar iconos blancos de los laterales (s, e, w) pero mantener el área interactiva */
.is-editing-active[b-sn08ule079]  .ui-resizable-s,
.is-editing-active[b-sn08ule079]  .ui-resizable-e,
.is-editing-active[b-sn08ule079]  .ui-resizable-w,
.is-editing-active[b-sn08ule079]  .ui-resizable-n {
    background-image: none !important;
}

/* Asegurar que las esquinas (se, sw) mantengan su icono original pero en color blanco */
.is-editing-active[b-sn08ule079]  .ui-resizable-se,
.is-editing-active[b-sn08ule079]  .ui-resizable-sw {
    width: 20px !important;
}

/* <--- LA LLAVE QUE FALTABA PARA CERRAR EL BLOQUE Y SALVAR LA PÁGINA */

/* Deshabilitar interacción con botones de acción cuando están disabled */
.action-btn:disabled[b-sn08ule079] {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: grayscale(1);
}

.delete-btn[b-sn08ule079] {
    background: var(--st-danger-bg);
    /* Fondo sutil rojo */
    border: none;
    color: var(--st-danger-fg);
    /* Rojo por defecto */
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn svg[b-sn08ule079] {
    width: 17px;
    /* Aumentado a 17px según solicitud */
    height: 17px;
}

.delete-btn:hover[b-sn08ule079] {
    color: var(--st-danger-text);
    /* Rojo más claro/brillante al hacer hover */
    background: var(--st-danger-bg-strong);
    transform: scale(1.05);
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — Botones de acción
────────────────────────────────────────────── */

.my-charts-add-btn[b-sn08ule079] {
    color: var(--st-gold-text);
    border-color: rgba(229, 185, 0, 0.25);
}

.my-charts-add-btn:hover:not(:disabled)[b-sn08ule079] {
    background: rgba(229, 185, 0, 0.12);
    border-color: rgba(229, 185, 0, 0.5);
    color: var(--st-gold-text);
}

.my-charts-add-btn:disabled[b-sn08ule079] {
    opacity: 0.35;
    cursor: not-allowed;
}

.cancel-selection-btn[b-sn08ule079] {
    color: var(--st-text-muted);
    border-color: var(--st-border-strong);
}

.cancel-selection-btn:hover[b-sn08ule079] {
    background: var(--st-fill-4);
    border-color: var(--st-border-stronger);
    color: var(--st-text-secondary);
}

.save-to-my-charts-btn[b-sn08ule079] {
    color: #1a365d;
    background: #e5b900;
    border-color: #e5b900;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.3);
    animation: fadeIn-b-sn08ule079 0.2s ease-out;
}

.save-to-my-charts-btn:hover[b-sn08ule079] {
    background: #fcd34d;
    border-color: #fcd34d;
    box-shadow: 0 6px 16px rgba(229, 185, 0, 0.45);
    transform: translateY(-1px);
}

.selection-counter-badge[b-sn08ule079] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
    font-family: 'Segoe UI', sans-serif;
    animation: fadeIn-b-sn08ule079 0.2s ease-out;
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — Pestaña y badge
────────────────────────────────────────────── */

.my-charts-tab[b-sn08ule079] {
    position: relative;
}

.tab-count-badge[b-sn08ule079] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5b900;
    color: #1a365d;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    line-height: 1;
}

.tab-btn.active .tab-count-badge[b-sn08ule079] {
    background: #1a365d;
    color: #e5b900;
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — Modo de selección (checkboxes)
────────────────────────────────────────────── */

.selection-mode-item[b-sn08ule079] {
    cursor: pointer !important;
}

.selection-mode-item .grid-stack-item-content[b-sn08ule079] {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.selection-mode-item:hover .grid-stack-item-content[b-sn08ule079] {
    border: 1.5px solid rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12) !important;
}

.is-selected-favorite .grid-stack-item-content[b-sn08ule079] {
    border: 2px solid rgba(59, 130, 246, 0.75) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 4px 20px rgba(59, 130, 246, 0.15) !important;
}

.selection-checkbox-overlay[b-sn08ule079] {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 100;
    cursor: pointer;
}

.selection-checkbox[b-sn08ule079] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--st-border-stronger);
    background: var(--st-input-bg);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.selection-checkbox:hover[b-sn08ule079] {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(59, 130, 246, 0.1);
}

.selection-checkbox.checked[b-sn08ule079] {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.selection-checkbox.checked svg[b-sn08ule079] {
    color: var(--st-text-strong);
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — KPIs estáticas
────────────────────────────────────────────── */

.my-charts-static-kpis[b-sn08ule079] {
    display: flex;
    gap: 10px;
    padding: 10px 10px 0 10px;
    flex-wrap: wrap;
}

.my-charts-kpi-item[b-sn08ule079] {
    flex: 1 1 0;
    min-width: 220px;
    height: 190px;
    position: relative;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
}

.my-charts-kpi-item:has(.st-native-selector.is-open)[b-sn08ule079] {
    overflow: visible;
    z-index: 30;
}

.my-charts-kpi-item .grid-stack-item-content[b-sn08ule079] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — Estado vacío y botón quitar
────────────────────────────────────────────── */

.my-charts-empty-state[b-sn08ule079] {
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.empty-state-title[b-sn08ule079] {
    color: var(--st-text-strong);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 16px 0 8px 0;
}

.my-chart-remove-btn-wrap[b-sn08ule079] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* ──────────────────────────────────────────────
   MIS GRÁFICAS — Grid layout (sin GridStack)
────────────────────────────────────────────── */

.my-charts-grid[b-sn08ule079] {
    padding: 0 10px 20px 10px;
    min-height: 400px;
}

/* ── Elementos del panel (antes estilos en línea) ─────────────────────────── */

.reportes-title-row[b-sn08ule079] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reportes-subtitle[b-sn08ule079] {
    margin: 0;
    padding-top: 2px;
    color: var(--st-text-secondary);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.tab-logo[b-sn08ule079] {
    width: 16px;
    height: 16px;
    margin-right: 2px;
    filter: var(--st-icon-image-filter);
    opacity: 0.8;
}

/* Zona de cuadrículas: oculta (sin taller, cargando o vacía), entrando o visible */
.grids-hidden[b-sn08ule079] {
    display: none;
}

.grids-fading[b-sn08ule079] {
    opacity: 0;
    pointer-events: none;
}

.grids-visible[b-sn08ule079] {
    opacity: 1;
    transition: opacity 0.29s ease-in;
}

/* Contenedor de la gráfica dentro de cada tarjeta */
.card-chart-host[b-sn08ule079] {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.card-chart-host--flush[b-sn08ule079] {
    padding: 0;
}

/* Pestaña SysTime todavía sin gráficas */
.systime-placeholder[b-sn08ule079] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    height: 400px;
    opacity: 0.7;
}

.systime-placeholder-icon[b-sn08ule079] {
    margin-bottom: 20px;
}

.systime-placeholder-logo[b-sn08ule079] {
    width: 64px;
    height: 64px;
    filter: var(--st-icon-image-filter);
}

.systime-placeholder-title[b-sn08ule079] {
    margin-bottom: 8px;
    color: var(--st-text-strong);
    font-size: 1.2rem;
    font-weight: 500;
}

.systime-placeholder-text[b-sn08ule079] {
    max-width: 400px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.my-charts-add-btn--empty[b-sn08ule079] {
    margin-top: 16px;
}

.empty-state-icon--error[b-sn08ule079] {
    color: #ef4444;
}

/* Aviso "activa el modo edición" */
.edit-required-toast[b-sn08ule079] {
    position: fixed;
    top: 75px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    background: #dc3545;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
    animation: slideInRight-b-sn08ule079 0.3s ease-out;
}

@keyframes slideInRight-b-sn08ule079 {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* /Pages/Home/Components/Reportes/ReportFiltersSidebar.razor.rz.scp.css */


/* Specific Chip Colors matched from user screenshot */
.chip-period[b-oyj0lr2ms2] {
    background: linear-gradient(135deg, #e5b900 0%, #e5b900 100%) !important;
    border: none !important;
    color: #1a365d !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.15);
}

.chip-time[b-oyj0lr2ms2] {
    background: var(--st-surface-sunken) !important;
    /* Branded Dark Slate Blue */
    border: 1px solid var(--st-border) !important;
    color: var(--st-text-strong) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chip-comparison[b-oyj0lr2ms2] {
    background: var(--st-accent-bg) !important;
    border-color: var(--st-accent-border) !important;
    color: var(--st-accent-text) !important;
}

@keyframes fadeIn-b-oyj0lr2ms2 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filtro-section[b-oyj0lr2ms2] {
    margin-bottom: 20px;
}

.filtro-section label[b-oyj0lr2ms2] {
    display: block;
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.filtro-row[b-oyj0lr2ms2] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filtro-col[b-oyj0lr2ms2] {
    flex: 1;
}

.filtro-range-separator[b-oyj0lr2ms2] {
    align-self: center;
    color: var(--st-text-muted);
}

.filtro-hint[b-oyj0lr2ms2] {
    color: var(--st-text-subtle);
    font-size: 10px;
}

.filtro-label--caps[b-oyj0lr2ms2] {
    text-transform: uppercase;
}

/* Pestaña SysTime: los filtros globales no aplican */
.filtro-empty[b-oyj0lr2ms2] {
    margin-top: 40px;
    color: var(--st-text-muted);
    text-align: center;
}

.filtro-empty-title[b-oyj0lr2ms2] {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Limpiar / Aplicar */
.filtro-actions[b-oyj0lr2ms2] {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.limpiar-btn[b-oyj0lr2ms2] {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid var(--st-border-stronger);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

[b-oyj0lr2ms2] .filtro-input {
    flex: 1;
    background: var(--st-input-bg) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
    padding: 10px;
    color: var(--st-text-strong) !important;
    font-size: 14px;
}

.aplicar-btn[b-oyj0lr2ms2] {
    flex: 2;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #e500cd;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.aplicar-btn:hover[b-oyj0lr2ms2] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
}

.graficas-sidebar[b-oyj0lr2ms2]  .reporte-card {
    background: var(--st-surface-muted) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    height: auto !important;
    gap: 8px;
    transition: all 0.2s ease;
}

.graficas-sidebar[b-oyj0lr2ms2]  .reporte-card:hover {
    border-color: #D33BB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: grab;
}

.graficas-sidebar[b-oyj0lr2ms2]  .card-header {
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.graficas-sidebar[b-oyj0lr2ms2]  .card-header h4 {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--st-text-secondary) !important;
    text-transform: none !important;
    text-align: left;
}

.graficas-sidebar[b-oyj0lr2ms2]  .card-content {
    order: 1 !important;
    width: 100%;
    height: 100px !important;
    background: var(--st-canvas) !important;
    border-radius: 6px !important;
    border: none !important;
    flex: none !important;
}

.graficas-sidebar[b-oyj0lr2ms2]  .card-options {
    display: none !important;
}

@keyframes fadeInOverlay-b-oyj0lr2ms2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal-b-oyj0lr2ms2 {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin-b-oyj0lr2ms2 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-oyj0lr2ms2 {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Switch Toggle (Time Machine) */
.switch[b-oyj0lr2ms2] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input[b-oyj0lr2ms2] {
    opacity: 0;
    width: 0;
    height: 0;
}

.expanded-filters .filtro-select:hover[b-oyj0lr2ms2],
[b-oyj0lr2ms2] .filtro-input:hover,
.expanded-filters .filtro-input:hover[b-oyj0lr2ms2] {
    border-color: var(--st-border-stronger) !important;
}

.time-dropdown-header[b-oyj0lr2ms2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
}

@keyframes borderGoldPulse-b-oyj0lr2ms2 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
    }
}

@keyframes indicatorFadeSlide-b-oyj0lr2ms2 {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes goldRingPulse-b-oyj0lr2ms2 {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Animación de Resplandor Estático solo para tarjetas editables (Sin movimiento) */
.is-editing-active[b-oyj0lr2ms2]  .is-card-editable {
    border: 1px solid rgba(229, 185, 0, 0.2) !important;
    background: var(--st-surface) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    animation: cardGlowPulse-b-oyj0lr2ms2 4s infinite ease-in-out;
}

@keyframes cardGlowPulse-b-oyj0lr2ms2 {

    0%,
    100% {
        border-color: rgba(229, 185, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        border-color: rgba(229, 185, 0, 0.5);
        box-shadow: 0 4px 20px rgba(229, 185, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.4);
    }
}

.is-editing-active[b-oyj0lr2ms2]  .is-card-editable:hover {
    border-color: #e5b900 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 185, 0, 0.2) !important;
    z-index: 10;
}

/* Efecto al arrastrar */
.is-editing-active[b-oyj0lr2ms2]  .grid-stack-item.ui-draggable-dragging .grid-stack-item-content {
    animation: none;
    background: var(--st-surface-raised) !important;
    border-color: #e5b900 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 185, 0, 0.4) !important;
    transform: scale(1.02) !important;
}

@keyframes badgePulse-b-oyj0lr2ms2 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Forzar visibilidad de manejadores de GridStack */
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-handle {
    display: block !important;
    opacity: 1 !important;
}

/* Ocultar iconos blancos de los laterales (s, e, w) pero mantener el área interactiva */
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-s,
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-e,
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-w,
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-n {
    background-image: none !important;
}

/* Asegurar que las esquinas (se, sw) mantengan su icono original pero en color blanco */
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-se,
.is-editing-active[b-oyj0lr2ms2]  .ui-resizable-sw {
    width: 20px !important;
}

.reportes-tabs-container[b-oyj0lr2ms2] {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reportes-tabs[b-oyj0lr2ms2] {
    display: flex;
    align-items: center;
    background: var(--st-fill-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reportes-tabs.w-100[b-oyj0lr2ms2] {
    width: 100%;
}

.tab-btn[b-oyj0lr2ms2] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 5px 16px;
    border-radius: 999px;
    color: var(--st-text-strong);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.tab-btn:hover[b-oyj0lr2ms2] {
    color: var(--st-text-strong);
    background: var(--st-fill-4);
}

.tab-btn.active[b-oyj0lr2ms2] {
    background: #e5b900;
    color: #1a365d;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 185, 0, 0.3);
    border: none;
}
/* /Pages/Home/Components/Rounds/RoundsInboxView.razor.rz.scp.css */
/* Subfiltro "Rondas" del inbox: misma piel que los grupos "En el taller / Fuera del taller". */

.rounds-view[b-9gmcde3i7o] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 8px 0;
}

.rounds-toolbar[b-9gmcde3i7o] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rounds-date[b-9gmcde3i7o] {
    flex: 1;
    min-width: 0;
    background: #1f2f45;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 13px;
    color-scheme: dark;
}

.rounds-nav-btn[b-9gmcde3i7o],
.rounds-today-btn[b-9gmcde3i7o] {
    background: #1f2f45;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rounds-nav-btn:hover:not(:disabled)[b-9gmcde3i7o],
.rounds-today-btn:hover[b-9gmcde3i7o] {
    background: #264a73;
}

.rounds-nav-btn:disabled[b-9gmcde3i7o] {
    opacity: 0.4;
    cursor: default;
}

.rounds-message[b-9gmcde3i7o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-align: center;
}

.rounds-spinner[b-9gmcde3i7o] {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #e5b900;
    border-radius: 50%;
    animation: rounds-spin-b-9gmcde3i7o 0.9s linear infinite;
}

@keyframes rounds-spin-b-9gmcde3i7o {
    to {
        transform: rotate(360deg);
    }
}

.rounds-chooser-title[b-9gmcde3i7o] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rounds-chooser[b-9gmcde3i7o] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.round-chip[b-9gmcde3i7o] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1f2f45;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.round-chip.active[b-9gmcde3i7o] {
    background: #e5b900;
    font-weight: 600;
}

.round-chip-count[b-9gmcde3i7o] {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
}

.round-summary[b-9gmcde3i7o] {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.round-summary-top[b-9gmcde3i7o] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.round-status[b-9gmcde3i7o] {
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.round-status.open[b-9gmcde3i7o] {
    background: #f59e0b;
}

.round-status.closed[b-9gmcde3i7o] {
    background: #64748b;
}

.round-status.completed[b-9gmcde3i7o] {
    background: #10b981;
}

.round-operator[b-9gmcde3i7o] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.round-summary-times[b-9gmcde3i7o] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.round-summary-progress[b-9gmcde3i7o] {
    font-size: 13px;
    font-weight: 600;
}

.round-group[b-9gmcde3i7o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.round-group-header[b-9gmcde3i7o] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.round-group-header:hover[b-9gmcde3i7o] {
    background: rgba(255, 255, 255, 0.12);
}

.round-group-count[b-9gmcde3i7o] {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.round-group-count.missing[b-9gmcde3i7o] {
    color: #fcd34d;
}

.round-group-title[b-9gmcde3i7o] {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.round-group-arrow[b-9gmcde3i7o] {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s;
    margin-left: auto;
}

.round-group-arrow.expanded[b-9gmcde3i7o] {
    transform: rotate(180deg);
}

.round-group-empty[b-9gmcde3i7o] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    text-align: center;
    padding: 12px;
}

.round-grid[b-9gmcde3i7o] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    justify-items: center;
    padding: 4px;
}

/* Grid, not a flex column: the card is square (aspect-ratio) and its image takes 60% of the height. As a
   flex-column item that percentage does not resolve, so a photo or an icon kept its natural height and the
   card grew; as a grid item, like in the inbox grid, every card stays square. */
.round-card-cell[b-9gmcde3i7o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: start;
    gap: 4px;
    width: 100%;
}

.round-card-caption[b-9gmcde3i7o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 130px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.25;
}

.round-card-caption strong[b-9gmcde3i7o] {
    color: #e5b900;
    font-size: 12px;
}

.round-card-caption span[b-9gmcde3i7o] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.round-card-caption em[b-9gmcde3i7o] {
    color: #93c5fd;
    font-style: normal;
    font-size: 10px;
}

/* Rejected hand-over of the round: only its result reads in red (RoundResultPresentation.RejectedColor). */
.round-card-caption.rejected span[b-9gmcde3i7o] {
    color: #EF4444;
}

.round-fallback-card[b-9gmcde3i7o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 120px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    color: #1b2c46;
    padding: 10px;
    text-align: center;
}

.round-fallback-card svg[b-9gmcde3i7o] {
    width: 34px;
    height: 34px;
    color: #64748b;
}

.round-fallback-card strong[b-9gmcde3i7o] {
    font-size: 15px;
}

.round-fallback-card span[b-9gmcde3i7o] {
    font-size: 10.5px;
    color: #64748b;
}
/* /Pages/Home/Components/ScopeBreadcrumb/ExploreByHierarchySelector.razor.rz.scp.css */
.hierarchy-selector-container[b-2wvb4fpaik] {
    position: relative;
    display: inline-block;
    pointer-events: auto;
}

.hierarchy-selector-btn[b-2wvb4fpaik] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    background: rgba(14, 24, 40, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.hierarchy-selector-btn:hover[b-2wvb4fpaik],
.hierarchy-selector-btn.open[b-2wvb4fpaik] {
    background: rgba(24, 39, 64, 0.9);
    border-color: rgba(242, 169, 0, 0.4);
    color: #ffffff;
}

.hierarchy-icon[b-2wvb4fpaik] {
    display: inline-flex;
    align-items: center;
    color: #f2a900;
}

.hierarchy-label[b-2wvb4fpaik] {
    letter-spacing: 0.2px;
}

.hierarchy-chevron[b-2wvb4fpaik] {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.hierarchy-selector-btn.open .hierarchy-chevron[b-2wvb4fpaik] {
    transform: rotate(180deg);
}

.hierarchy-dropdown-backdrop[b-2wvb4fpaik] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: transparent;
}

.hierarchy-dropdown-menu[b-2wvb4fpaik] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1060;
    min-width: 260px;
    max-width: 340px;
    background: #0e1828;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 6px;
    animation: hierarchyFadeIn-b-2wvb4fpaik 0.15s ease;
}

@keyframes hierarchyFadeIn-b-2wvb4fpaik {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hierarchy-dropdown-header[b-2wvb4fpaik] {
    padding: 8px 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
}

.hierarchy-header-title[b-2wvb4fpaik] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f2a900;
}

.hierarchy-dropdown-list[b-2wvb4fpaik] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hierarchy-dropdown-item[b-2wvb4fpaik] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-family: inherit;
}

.hierarchy-dropdown-item:hover[b-2wvb4fpaik] {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.hierarchy-dropdown-item.selected[b-2wvb4fpaik] {
    background: rgba(224, 30, 90, 0.12);
    color: #ffffff;
}

.hierarchy-item-check[b-2wvb4fpaik] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hierarchy-item-content[b-2wvb4fpaik] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hierarchy-item-name[b-2wvb4fpaik] {
    font-size: 0.82rem;
    font-weight: 600;
}

.hierarchy-item-desc[b-2wvb4fpaik] {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.25;
}
/* /Pages/Home/Components/ScopeBreadcrumb/ScopeBreadcrumb.razor.rz.scp.css */
.scope-breadcrumb-container[b-7fkau23zee] {
    display: inline-flex;
    align-items: center;
    background: rgba(14, 24, 40, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 3px 6px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    height: 44px;
    pointer-events: auto;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.scope-breadcrumb-container.env-development[b-7fkau23zee] {
    border-top: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.scope-breadcrumb-container.env-staging[b-7fkau23zee] {
    border-top: 3px solid #ffc107;
}

.scope-breadcrumb-track[b-7fkau23zee] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.scope-chip[b-7fkau23zee] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px 8px;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.scope-chip:hover[b-7fkau23zee] {
    background: rgba(224, 30, 90, 0.15);
    border-color: rgba(224, 30, 90, 0.4);
    color: #ffffff;
}

.scope-chip-root[b-7fkau23zee] {
    cursor: default;
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

.scope-dimension-tag[b-7fkau23zee] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #e01e5a;
    background: rgba(224, 30, 90, 0.12);
    padding: 1px 5px;
    border-radius: 4px;
}

.scope-chip-value[b-7fkau23zee] {
    font-weight: 600;
}

.scope-separator[b-7fkau23zee] {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    padding: 0 1px;
}

.scope-leaf-chip[b-7fkau23zee] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 39, 64, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    padding: 2px 10px 2px 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.scope-leaf-chip:hover[b-7fkau23zee] {
    background: rgba(30, 48, 80, 0.95);
    border-color: rgba(224, 30, 90, 0.5);
    box-shadow: 0 0 12px rgba(224, 30, 90, 0.2);
}

.scope-leaf-chip.env-development[b-7fkau23zee] {
    background: #dc2626 !important;
    border: 1.5px solid #ef4444 !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35) !important;
    padding: 4px 10px 4px 8px;
}

.scope-leaf-chip.env-development .scope-leaf-media[b-7fkau23zee] {
    background: #ffffff;
    border-radius: 8px;
    padding: 2px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scope-leaf-chip.env-development .scope-leaf-media img[b-7fkau23zee],
.scope-leaf-chip.env-development .scope-leaf-image[b-7fkau23zee] {
    object-fit: contain;
}

.scope-leaf-chip.env-development .scope-leaf-store[b-7fkau23zee] {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

.scope-leaf-chip.env-development .scope-leaf-dept[b-7fkau23zee] {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 0.75rem;
}

.scope-leaf-chip.env-development .scope-leaf-picker-arrow[b-7fkau23zee] {
    color: #ffffff;
}

.scope-leaf-chip.env-staging[b-7fkau23zee] {
    border-color: #ffc107;
}

.scope-leaf-media[b-7fkau23zee] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    flex-shrink: 0;
}

.scope-leaf-image[b-7fkau23zee] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scope-leaf-text[b-7fkau23zee] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.scope-leaf-store[b-7fkau23zee] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.scope-leaf-dept[b-7fkau23zee] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
}

.scope-leaf-picker-arrow[b-7fkau23zee] {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.15s ease;
}

.scope-leaf-chip:hover .scope-leaf-picker-arrow[b-7fkau23zee] {
    color: #ffffff;
    transform: translateY(1px);
}
/* /Pages/Home/Components/Setting/Company/CompanyAddChoiceModal.razor.rz.scp.css */
/* The blurred backdrop comes from the global .st-blurred-backdrop class (app.css). */
.add-choice-overlay[b-99mzldfji7] {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: add-choice-fade-b-99mzldfji7 0.2s ease-out;
}

/* Hidden for the instant before it moves to <body>, so it does not flash inside the panel. */
.add-choice-overlay.is-moving[b-99mzldfji7] {
    visibility: hidden;
}

.add-choice-modal[b-99mzldfji7] {
    position: relative;
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 28px 24px 24px;
    box-sizing: border-box;
    background: var(--st-surface);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: add-choice-pop-b-99mzldfji7 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.add-choice-close[b-99mzldfji7] {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    padding: 6px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.add-choice-close:hover[b-99mzldfji7] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.add-choice-close svg[b-99mzldfji7] {
    width: 20px;
    height: 20px;
}

.add-choice-title[b-99mzldfji7] {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

.add-choice-subtitle[b-99mzldfji7] {
    margin: 0 0 20px;
    font-size: 0.875rem;
    color: var(--st-text-muted);
}

.add-choice-options[b-99mzldfji7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-choice-option[b-99mzldfji7] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: var(--st-surface);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.add-choice-option:hover[b-99mzldfji7] {
    border-color: var(--st-accent-border);
    background: var(--st-accent-bg);
    transform: translateY(-1px);
}

.add-choice-icon[b-99mzldfji7] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

.add-choice-icon svg[b-99mzldfji7] {
    width: 24px;
    height: 24px;
}

.add-choice-texts[b-99mzldfji7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.add-choice-option-title[b-99mzldfji7] {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--st-text-strong);
}

.add-choice-option-desc[b-99mzldfji7] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

@keyframes add-choice-fade-b-99mzldfji7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes add-choice-pop-b-99mzldfji7 {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* /Pages/Home/Components/Setting/Company/CompanyDetailPanel.razor.rz.scp.css */
.company-detail-panel[b-xm752azppp] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    height: 100%;
    min-height: 0;
    overflow: clip;
    /* clip no recorta box-shadow de hijos como hidden */
    flex: 1;
    width: 430px;
    min-width: 430px;
    max-width: 430px;
}

.company-header-fixed[b-xm752azppp] {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    min-height: 130px;
}

/* Back Button Styles - Overlay on Image */
.back-nav-btn[b-xm752azppp] {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(84, 101, 117, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.back-nav-btn:hover[b-xm752azppp] {
    background: rgba(60, 75, 89, 0.95);
    transform: scale(1.05);
}

.company-logo[b-xm752azppp] {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: var(--st-surface-strong);
    /* Matching the main panel light grey */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF00FF;
    /* Icon color in magenta */
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.company-logo-img[b-xm752azppp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info[b-xm752azppp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 0;
    /* Align top with image */
    justify-content: flex-start;
    min-width: 0;
    padding-right: 10px;
    /* Prevent text collision with absolute edit button */
}

.company-name[b-xm752azppp] {
    font-size: 24px;
    /* Requested size */
    font-weight: 800;
    color: var(--st-text-strong);
    margin: 0;
    line-height: 1.1;
    word-break: normal;
    overflow-wrap: break-word;
}

.company-industry-badge[b-xm752azppp] {
    display: inline-block;
    background-color: #dea301;
    color: #1a2a42;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    /* Requested size */
    font-weight: 700;
    margin: 8px 0;
    align-self: flex-start;
    letter-spacing: 0.3px;
}

/* ... existing meta ... */
.company-meta[b-xm752azppp] {
    font-size: 15px;
    color: var(--st-text-subtle);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    min-width: 0;
}

.meta-item[b-xm752azppp] {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.meta-label[b-xm752azppp] {
    font-size: 13px;
    letter-spacing: 0.2px;
    color: var(--st-text-subtle);
    font-weight: 700;
    flex-shrink: 0;
}

.meta-label[b-xm752azppp]::after {
    content: ":";
}

.meta-value[b-xm752azppp] {
    font-size: 14px;
    color: var(--st-text);
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

/* Position edit button in the top right corner of the header area */
.company-actions[b-xm752azppp] {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    z-index: 10;
}

/* Discreet pencil, as the one of the store card: the main action of this panel is the settings of each store. */
.edit-btn[b-xm752azppp] {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 50%;
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.edit-btn:hover[b-xm752azppp] {
    border-color: #FF00FF;
    color: #FF00FF;
}

.edit-btn:focus-visible[b-xm752azppp] {
    outline: 2px solid #FF00FF;
    outline-offset: 2px;
}

.list-header[b-xm752azppp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px 8px 4px;
    border-top: 1px solid var(--st-border);
    /* Divider */
    margin-top: 8px;
    flex-shrink: 0;
}

.list-header-text[b-xm752azppp] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.panel-title[b-xm752azppp] {
    color: var(--st-text-strong);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.panel-subtitle[b-xm752azppp] {
    color: var(--st-text-subtle);
    font-size: 0.78rem;
    font-weight: 500;
    margin: 0;
}

.add-store-btn[b-xm752azppp] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.add-store-btn:hover[b-xm752azppp] {
    transform: rotate(90deg) scale(1.05);
    background: #FE00E4;
    border-color: #FE00E4;
    color: white;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.add-store-btn svg[b-xm752azppp] {
    width: 16px !important;
    height: 16px !important;
    color: inherit !important;
}

.company-scrollable-content[b-xm752azppp] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
    padding-left: 6px;
    /* espacio para que la sombra izquierda de las cards no se corte */
    padding-right: 6px;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

/* Empty state when company has no stores */
.empty-stores-state[b-xm752azppp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    flex: 1;
}

.empty-stores-icon[b-xm752azppp] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8898AA;
    margin-bottom: 16px;
}

.empty-stores-title[b-xm752azppp] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 8px 0;
}

.empty-stores-subtitle[b-xm752azppp] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 260px;
}

/* Empty State Unified MAUI Design (Light Theme variation) */
.inbox-empty-container[b-xm752azppp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 12px 20px;
    height: 100%;
    width: 100%;
}

.empty-state-img[b-xm752azppp] {
    width: 155px;
    max-width: 100%;
    height: auto;
    margin-top: -15px;
    margin-bottom: 0px;
    opacity: 0.95;
}

.empty-state-text[b-xm752azppp] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    text-transform: lowercase;
    margin-top: -25px;
    margin-bottom: 8px;
}

.empty-state-buttons[b-xm752azppp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-empty-create[b-xm752azppp] {
    background: linear-gradient(135deg, #e500cd, #c800b0);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 32px;
    font-weight: 700;
    width: 160px;
    height: 44px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.3);
}

.btn-empty-create:hover[b-xm752azppp] {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(229, 0, 205, 0.5);
}

.btn-empty-create:active[b-xm752azppp] {
    transform: translateY(0);
}
/* /Pages/Home/Components/Setting/Company/CompanyEditModal.razor.rz.scp.css */
.companyedit-overlay[b-3l8pq9qdb4] {
    position: fixed;
    top: 0;
    left: var(--st-sidebar-collapsed-w);
    width: calc(100vw - var(--st-sidebar-collapsed-w));
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.companyedit-overlay.sidebar-collapsed[b-3l8pq9qdb4] {
    left: 0px;
    width: 100%;
}

.companyedit-modal[b-3l8pq9qdb4] {
    background-color: var(--st-surface);
    border-radius: 20px;
    width: 900px;
    max-width: 90vw;
    height: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInScale-b-3l8pq9qdb4 0.3s ease-out;
    overflow: hidden;
}

@keyframes fadeInScale-b-3l8pq9qdb4 {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
.companyedit-header[b-3l8pq9qdb4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 32px 16px;
    border-bottom: 1px solid var(--st-border);
}

.header-title[b-3l8pq9qdb4] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text-brand);
    font-family: 'Inter', sans-serif;
}

.header-subtitle[b-3l8pq9qdb4] {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.header-actions[b-3l8pq9qdb4] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-close-modal[b-3l8pq9qdb4] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-3l8pq9qdb4] {
    background: var(--st-surface-sunken);
    color: var(--st-text-brand);
}

/* Body */
.companyedit-body[b-3l8pq9qdb4] {
    flex: 1;
    display: flex;
    padding: 0;
    overflow: hidden;
}

/* Main Column */
.main-column[b-3l8pq9qdb4] {
    flex: 1;
    padding: 24px 32px;
    border-right: 1px solid var(--st-border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Toggle Switch */
.form-toggle-group[b-3l8pq9qdb4] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.toggle-switch[b-3l8pq9qdb4] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input[b-3l8pq9qdb4] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-3l8pq9qdb4] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-strong);
    transition: .3s;
}

.slider[b-3l8pq9qdb4]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--st-surface);
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slider.round[b-3l8pq9qdb4] {
    border-radius: 24px;
}

.slider.round[b-3l8pq9qdb4]:before {
    border-radius: 50%;
}

input:checked+.slider[b-3l8pq9qdb4] {
    background-color: #00D06A;
}

input:checked+.slider[b-3l8pq9qdb4]:before {
    transform: translateX(20px);
}

.toggle-label[b-3l8pq9qdb4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00D06A;
}

input:not(:checked)+.slider+.toggle-label[b-3l8pq9qdb4] {
    color: var(--st-text-muted);
}

/* Forms */
.form-grid[b-3l8pq9qdb4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.form-group[b-3l8pq9qdb4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width[b-3l8pq9qdb4] {
    grid-column: 1 / -1;
}

.form-label[b-3l8pq9qdb4] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--st-text-brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-toggle-row[b-3l8pq9qdb4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-toggle-label[b-3l8pq9qdb4] {
    font-size: 0.875rem;
    font-weight: 600;
}

.status-toggle-label.active[b-3l8pq9qdb4] {
    color: #4CAF50;
}

.status-toggle-label.inactive[b-3l8pq9qdb4] {
    color: var(--st-text-muted);
}

.form-control[b-3l8pq9qdb4],
.form-select[b-3l8pq9qdb4] {
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--st-text-brand);
    font-family: inherit;
    transition: all 0.2s;
    background-color: var(--st-surface);
}

.form-control:focus[b-3l8pq9qdb4],
.form-select:focus[b-3l8pq9qdb4] {
    outline: none;
    border-color: #FECB00;
    box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.15);
    background-color: var(--st-surface);
}

.form-control[b-3l8pq9qdb4]::placeholder {
    color: #A3B5C6;
}

select.form-select[b-3l8pq9qdb4],
select.form-control[b-3l8pq9qdb4] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238898AA' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 32px;
}

/* Delete Profile */
.delete-profile-section[b-3l8pq9qdb4] {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-profile-label[b-3l8pq9qdb4] {
    font-size: 0.875rem;
    color: var(--st-text-brand);
    font-weight: 500;
}

.btn-delete-profile[b-3l8pq9qdb4] {
    background: transparent;
    border: 1px solid #FF3B30;
    color: #FF3B30;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-profile:hover[b-3l8pq9qdb4] {
    background: var(--st-danger-bg);
}

/* Photo Column */
.photo-column[b-3l8pq9qdb4] {
    width: 250px;
    background-color: var(--st-surface-muted);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-preview[b-3l8pq9qdb4] {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: contain;
    background-color: var(--st-surface-strong);
    /* New light grey/blue background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.photo-preview.placeholder[b-3l8pq9qdb4] {
    color: #FF00FF;
    /* Magenta color for the default icon */
}

.photo-label[b-3l8pq9qdb4] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.photo-actions[b-3l8pq9qdb4] {
    display: flex;
    gap: 8px;
    width: 100%;
}

.btn-upload-foto[b-3l8pq9qdb4] {
    flex: 1;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-upload-foto:hover[b-3l8pq9qdb4] {
    border-color: #FECB00;
    color: #FECB00;
}

.btn-camera-icon[b-3l8pq9qdb4] {
    width: 36px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-camera-icon:hover[b-3l8pq9qdb4] {
    color: var(--st-text-brand);
    border-color: #A3B5C6;
}

/* Footer */
.companyedit-footer[b-3l8pq9qdb4] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px;
    border-top: 1px solid var(--st-border);
    background-color: var(--st-surface-muted);
}

.btn-secondary[b-3l8pq9qdb4] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover:not(:disabled)[b-3l8pq9qdb4] {
    background: var(--st-surface-sunken);
}

.btn-primary[b-3l8pq9qdb4] {
    background: #FF00FF;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled)[b-3l8pq9qdb4] {
    background: #D500C0;
    transform: translateY(-1px);
}

.btn-primary:disabled[b-3l8pq9qdb4],
.btn-secondary:disabled[b-3l8pq9qdb4] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner[b-3l8pq9qdb4] {
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-radius: 50%;
    border-top-color: white;
    animation: spin-b-3l8pq9qdb4 1s ease-in-out infinite;
}

@keyframes spin-b-3l8pq9qdb4 {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar styles for main column */
.main-column[b-3l8pq9qdb4]::-webkit-scrollbar {
    width: 6px;
}

.main-column[b-3l8pq9qdb4]::-webkit-scrollbar-track {
    background: transparent;
}

.main-column[b-3l8pq9qdb4]::-webkit-scrollbar-thumb {
    background: var(--st-surface-strong);
    border-radius: 3px;
}

.main-column[b-3l8pq9qdb4]::-webkit-scrollbar-thumb:hover {
    background: #A3B5C6;
}
/* /Pages/Home/Components/Setting/Company/CompanyPanel.razor.rz.scp.css */
/* CompanyPanel.razor.css */

/* Reusing generic container structure from InboxPanel */
.inbox-panel-container[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
}

/* Search Wrapper */
.inbox-search-wrapper[b-3263r7v37u] {
    padding: 12px 12px 12px 12px;
    flex-shrink: 0;
}

/* Panel Header (Title + Subtitle) */
.panel-header-text[b-3263r7v37u] {
    padding: 12px 12px 0 12px;
    flex-shrink: 0;
}

.panel-title[b-3263r7v37u] {
    color: var(--st-text-strong);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.panel-subtitle[b-3263r7v37u] {
    color: var(--st-text-subtle);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 4px 0 0;
}

.inbox-search[b-3263r7v37u] {
    display: flex;
    align-items: center;
    background: var(--st-fill-5);
    border-radius: 12px;
    padding: 8px 12px;
    gap: 8px;
}

.search-icon[b-3263r7v37u] {
    width: 18px;
    height: 18px;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.search-input[b-3263r7v37u] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-text-strong);
    font-size: 14px;
}

.search-input[b-3263r7v37u]::placeholder {
    color: var(--st-text-muted);
    font-weight: 400;
}

.clear-search[b-3263r7v37u] {
    width: 20px;
    height: 20px;
    background: var(--st-fill-6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.clear-search:hover[b-3263r7v37u] {
    background: var(--st-fill-7);
}

.clear-search svg[b-3263r7v37u] {
    width: 12px;
    height: 12px;
    color: var(--st-text-strong);
}

/* Company List Container */
.inbox-groups[b-3263r7v37u] {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px 12px;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.inbox-groups[b-3263r7v37u]::-webkit-scrollbar {
    display: none;
}

.company-card-list[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Loading State */
.loading-state[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--st-text);
}

.loading-state .spinner[b-3263r7v37u] {
    width: 38px;
    height: 38px;
    border: 3px solid var(--st-border-strong);
    border-top-color: #FE00E4;
    border-radius: 50%;
    animation: company-panel-spin-b-3263r7v37u 0.8s linear infinite;
}

@keyframes company-panel-spin-b-3263r7v37u {
    to {
        transform: rotate(360deg);
    }
}

.loading-state span[b-3263r7v37u] {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Empty State */
.inbox-empty[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--st-text-muted);
}

.inbox-empty svg[b-3263r7v37u] {
    width: 48px;
    height: 48px;
}

.inbox-empty span[b-3263r7v37u] {
    font-size: 14px;
}

/* ==========================================================================
   COMPANY CARD STYLES (Matching Figure 2)
   ========================================================================== */

.company-card[b-3263r7v37u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--st-surface);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 80px;
}

.company-card:hover[b-3263r7v37u] {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.company-card-left[b-3263r7v37u] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.company-logo-wrapper[b-3263r7v37u] {
    width: 100px;
    height: 100px;
    background: var(--st-surface-strong);
    /* Light grey/blue background instead of black */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-img[b-3263r7v37u] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0px;
}

.company-logo-placeholder[b-3263r7v37u] {
    color: #FF00FF;
    /* Using the standard Magenta for the icon */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.company-logo-placeholder svg[b-3263r7v37u] {
    width: 32px;
    height: 32px;
}

/* Info Section */
.company-info[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.company-name[b-3263r7v37u] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-brand);
    /* Dark blue text */
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-id[b-3263r7v37u] {
    font-size: 0.9rem;
    color: var(--st-text-secondary);
    font-weight: 500;
}

.company-subtitle[b-3263r7v37u] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* View More Button */
.view-more-btn[b-3263r7v37u] {
    background: #FE00E4;
    /* Pink/Magenta button */
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    margin-left: 12px;
}

.view-more-btn:hover[b-3263r7v37u] {
    background: #8F1483;
    transform: scale(1.05);
}

.view-more-btn:active[b-3263r7v37u] {
    transform: scale(0.95);
}

/* ==========================================================================
   STATIC SIZE & FAB STYLES
   ========================================================================== */

/* Override/Extend container to force static size look */
/* Override/Extend container to force static size look */
.inbox-panel-container[b-3263r7v37u] {
    height: 100%;
    /* Fill the dynamic panel */
    max-height: none;
    position: relative;
    /* Context for FAB */
    display: flex;
    flex-direction: column;
}

/* Floating Action Button (+) */
.company-fab-add[b-3263r7v37u] {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #FE00E4;
    /* Pink/Magenta */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.company-fab-add:hover[b-3263r7v37u] {
    background: #D500C0;
    transform: scale(1.1) rotate(90deg);
}

.company-fab-add:active[b-3263r7v37u] {
    transform: scale(0.95) rotate(90deg);
}

.company-fab-add svg[b-3263r7v37u] {
    width: 24px;
    height: 24px;
}

/* Empty State Unified MAUI Design */
.inbox-empty-container[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 12px 20px;
    height: 100%;
    width: 100%;
}

.empty-state-img[b-3263r7v37u] {
    width: 155px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0px;
    opacity: 0.9;
}

.empty-state-text[b-3263r7v37u] {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--st-text-secondary);
    text-transform: lowercase;
    margin-bottom: 8px;
}

.empty-state-buttons[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.btn-empty-create[b-3263r7v37u] {
    background: linear-gradient(135deg, #e500cd, #c800b0);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 32px;
    font-weight: 700;
    width: 160px;
    height: 44px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.3);
}

.btn-empty-create:hover[b-3263r7v37u] {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(229, 0, 205, 0.5);
}

.btn-empty-create:active[b-3263r7v37u] {
    transform: translateY(0);
}


/* A company with a pending join request (VM-configuracion-14). */
.company-pending[b-3263r7v37u] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    text-align: right;
}

.company-pending-title[b-3263r7v37u] {
    color: #FFC107;
    font-size: 0.85rem;
    font-weight: 600;
}

.company-pending-date[b-3263r7v37u] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}
/* /Pages/Home/Components/Setting/Company/RequestAccessPanel.razor.rz.scp.css */
/* Shared look in wwwroot/css/join-panel.css; only what the access request adds lives here. */

/* Access request extras: workshops already requested, store checklist and purpose. */
button.join-company-card:disabled[b-hphufvcoel] {
    opacity: 0.6;
    cursor: not-allowed;
}

.join-badge.pending[b-hphufvcoel] {
    border-color: rgba(222, 163, 1, 0.6);
    background: rgba(222, 163, 1, 0.15);
    color: #b7860b;
}

.store-list[b-hphufvcoel] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-item[b-hphufvcoel] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    cursor: pointer;
}

.store-item.granted[b-hphufvcoel] {
    cursor: default;
    opacity: 0.75;
}

.store-item input[b-hphufvcoel] {
    width: 16px;
    height: 16px;
    accent-color: #fe00e4;
}

.store-texts[b-hphufvcoel] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.store-name[b-hphufvcoel] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.store-city[b-hphufvcoel] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

.form-control.purpose[b-hphufvcoel] {
    resize: vertical;
    min-height: 80px;
}

.form-hint[b-hphufvcoel] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
}

.form-hint.warn[b-hphufvcoel] {
    color: #b7860b;
}
/* /Pages/Home/Components/Setting/Department/Components/CalendarBoards/CalendarBoardsPanel.razor.rz.scp.css */
/* «Configurar tableros» en la configuración del taller (F5): la misma caja que los otros paneles del taller (tipos de documento). */
.calboards-panel[b-m4v24edo14] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--st-text-brand);
    height: 100%;
    overflow: auto;
}

.calboards-head[b-m4v24edo14] { display: flex; align-items: flex-start; gap: 16px; }
.calboards-head h3[b-m4v24edo14] { margin: 0; font-size: 18px; font-weight: 700; }

.calboards-head p[b-m4v24edo14] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-subtle);
    max-width: 68ch;
}

.calboards-entry[b-m4v24edo14] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

.calboards-secondary[b-m4v24edo14] {
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-body);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.calboards-secondary:hover:enabled[b-m4v24edo14] { border-color: #d81b84; color: #d81b84; background: var(--st-surface-sunken); }
.calboards-secondary:focus-visible[b-m4v24edo14] { outline: 2px solid #d81b84; outline-offset: 2px; }

.calboards-hint[b-m4v24edo14] { font-size: 12px; color: var(--st-text-subtle); }

.calboards-readonly[b-m4v24edo14] { margin: 0; font-size: 12.5px; color: var(--st-text-subtle); }

.calboards-foot[b-m4v24edo14] { margin: 0; font-size: 12px; color: var(--st-text-subtle); max-width: 68ch; }
/* /Pages/Home/Components/Setting/Department/Components/Documents/DocumentTypesPanel.razor.rz.scp.css */
.doctypes-panel[b-x0fvb3yns0] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--st-text-brand);
    height: 100%;
    overflow: auto;
}

.doctypes-head[b-x0fvb3yns0] { display: flex; align-items: flex-start; gap: 16px; }
.doctypes-head h3[b-x0fvb3yns0] { margin: 0; font-size: 18px; font-weight: 700; }

.doctypes-head p[b-x0fvb3yns0] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-subtle);
    max-width: 68ch;
}

.doctypes-head-actions[b-x0fvb3yns0] { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }

.doctypes-primary[b-x0fvb3yns0] {
    border: 1px solid #d81b84;
    background: #d81b84;
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.doctypes-primary:hover:enabled[b-x0fvb3yns0] { background: #eb5bb6; border-color: #eb5bb6; }
.doctypes-primary:disabled[b-x0fvb3yns0] { opacity: 0.5; cursor: not-allowed; }

.doctypes-secondary[b-x0fvb3yns0] {
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-body);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.doctypes-secondary:hover:enabled[b-x0fvb3yns0] { border-color: #d81b84; color: #d81b84; background: var(--st-surface-sunken); }
.doctypes-secondary:disabled[b-x0fvb3yns0] { opacity: 0.5; cursor: not-allowed; }

.doctypes-notice[b-x0fvb3yns0] {
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
}

.doctypes-notice.is-ok[b-x0fvb3yns0] { background: var(--st-success-bg); border: 1px solid var(--st-success-border); color: var(--st-success-fg); }
.doctypes-notice.is-error[b-x0fvb3yns0] { background: var(--st-danger-bg); border: 1px solid var(--st-danger-border); color: var(--st-danger-text); }

.doctypes-table[b-x0fvb3yns0] { display: flex; flex-direction: column; }

.doctypes-row[b-x0fvb3yns0] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr 64px 96px 72px 48px;
    gap: 10px;
    align-items: center;
    padding: 8px 6px;
    border-top: 1px solid var(--st-border);
}

.doctypes-row:last-of-type[b-x0fvb3yns0] { border-bottom: 1px solid var(--st-border); }
.doctypes-row.is-new[b-x0fvb3yns0] { background: var(--st-surface-muted); }

.doctypes-row-head[b-x0fvb3yns0] {
    border-top: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-text-muted);
    padding-bottom: 4px;
}

.doctypes-center[b-x0fvb3yns0] { text-align: center; }

.doctypes-input[b-x0fvb3yns0] {
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--st-text-brand);
    background: var(--st-input-bg);
    width: 100%;
}

.doctypes-input:focus-visible[b-x0fvb3yns0] { outline: none; border-color: #d81b84; box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.25); }
.doctypes-input:disabled[b-x0fvb3yns0] { background: var(--st-surface-muted); color: var(--st-text-subtle); }
.doctypes-code[b-x0fvb3yns0] { font-weight: 600; letter-spacing: 0.04em; }

.doctypes-color input[b-x0fvb3yns0] {
    width: 44px;
    height: 30px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    padding: 2px;
    cursor: pointer;
}

.doctypes-row-actions[b-x0fvb3yns0] { display: flex; justify-content: flex-end; }

.doctypes-icon[b-x0fvb3yns0] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--st-text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.doctypes-icon:hover:enabled[b-x0fvb3yns0] { color: var(--st-danger-fg); border-color: var(--st-danger-border); background: var(--st-danger-bg); }
.doctypes-icon:disabled[b-x0fvb3yns0] { opacity: 0.4; cursor: not-allowed; }

.doctypes-empty[b-x0fvb3yns0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 14px;
    background: var(--st-surface-muted);
    padding: 40px 24px;
}

.doctypes-empty p[b-x0fvb3yns0] { margin: 0; color: var(--st-text-subtle); font-size: 13px; }
.doctypes-foot[b-x0fvb3yns0] { margin: 0; font-size: 11.5px; color: var(--st-text-muted); }

@media (max-width: 900px) {
    .doctypes-row[b-x0fvb3yns0] { grid-template-columns: minmax(0, 2fr) 1fr 64px 48px; }
    .doctypes-row > .doctypes-center:nth-child(4)[b-x0fvb3yns0],
    .doctypes-row > .doctypes-center:nth-child(5)[b-x0fvb3yns0] { display: none; }
}
/* /Pages/Home/Components/Setting/Department/Components/Documents/PrintingTemplates/PrintingTemplatesPanel.razor.rz.scp.css */
.ptpl-host[b-wa1vozhahj] {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.ptpl-loading-overlay[b-wa1vozhahj] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 5;
}

.ptpl-frame[b-wa1vozhahj] {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    background: #ffffff;
    transition: opacity 0.2s ease;
}

.ptpl-mismatch[b-wa1vozhahj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: #1f2a44;
}

.ptpl-mismatch-btn[b-wa1vozhahj] {
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: #e5097f;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.ptpl-mismatch-btn:disabled[b-wa1vozhahj] {
    opacity: 0.6;
    cursor: default;
}

.ptpl-mismatch-error[b-wa1vozhahj] {
    color: #b3261e;
}

.ptpl-frame.ptpl-frame-hidden[b-wa1vozhahj] {
    opacity: 0;
    pointer-events: none;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/DynamicFormsHandoverList.razor.rz.scp.css */
/* The list is the container its own columns ask: inside the settings panel the viewport says nothing about the room it has. */
.dfh-list[b-528hcwi319] {
    container-type: inline-size;
    container-name: dfhlist;
}

.dfh-intro[b-528hcwi319] {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--dfs-text-secondary);
    line-height: 1.5;
}

.dfh-empty[b-528hcwi319] {
    padding: 24px;
    text-align: center;
    color: var(--dfs-text-muted);
    font-size: 14px;
}

/* No overflow clipping here: the "Se usa en" panel of the last row hangs below the table and a clipped table would cut it. The rounded
   corners are the first and the last row's own instead. */
.dfh-table[b-528hcwi319] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
}

.dfh-row[b-528hcwi319] {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1fr 1.6fr;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--dfs-border);
    background: var(--dfs-surface);
}

.dfh-row:first-child[b-528hcwi319] {
    border-top-left-radius: var(--dfs-radius-lg);
    border-top-right-radius: var(--dfs-radius-lg);
}

.dfh-row:last-child[b-528hcwi319] {
    border-bottom: none;
    border-bottom-left-radius: var(--dfs-radius-lg);
    border-bottom-right-radius: var(--dfs-radius-lg);
}

.dfh-row-head[b-528hcwi319] {
    background: var(--dfs-surface-alt);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--dfs-text-muted);
}

.dfh-cell-name[b-528hcwi319] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfh-name[b-528hcwi319] {
    font-weight: 700;
    color: var(--dfs-text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.dfh-summary[b-528hcwi319] {
    font-size: 13px;
    color: var(--dfs-text-muted);
}

.dfh-cell-status[b-528hcwi319] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dfh-cell-usage[b-528hcwi319] {
    font-size: 13px;
    color: var(--dfs-text-secondary);
}

.dfh-cell-actions[b-528hcwi319] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.dfh-action[b-528hcwi319] {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.dfh-action:hover:not(:disabled)[b-528hcwi319] {
    border-color: var(--dfs-accent);
    color: var(--dfs-accent-strong);
}

.dfh-action-delete[b-528hcwi319] {
    color: var(--dfs-danger-ink);
}

.dfh-action-delete:hover:not(:disabled)[b-528hcwi319] {
    border-color: var(--dfs-danger-ink);
    color: var(--dfs-danger-ink);
}

.dfh-action:disabled[b-528hcwi319] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Narrow list: the header row goes away and every form becomes a card — name and status on top, usage, then the actions
   under them, left-aligned (a four-column grid on 400 px squeezed each cell to a sliver). */
@container dfhlist (max-width: 720px) {
    .dfh-row-head[b-528hcwi319] {
        display: none;
    }

    .dfh-row[b-528hcwi319] {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .dfh-cell-actions[b-528hcwi319] {
        justify-content: flex-start;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/DynamicFormsPanel.razor.rz.scp.css */
.dfp-panel[b-c6pqbi5kzl] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    min-width: 0;
    gap: 12px;
    padding: 4px 4px 24px;
    overflow: hidden;
}

.dfp-new-btn[b-c6pqbi5kzl] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border-radius: var(--dfs-radius-pill);
    border: none;
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.dfp-new-btn:hover[b-c6pqbi5kzl] {
    background: var(--dfs-accent-strong);
}

.dfp-error[b-c6pqbi5kzl] {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 13px;
}

/* A notice (the department could not be resolved for a new form...) is information, not a failure: it does not read as one. */
.dfp-error.dfp-notice[b-c6pqbi5kzl] {
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
}

/* What an action that went well did ("Usar en…"): said in words, in a status line the screen reader announces. */
.dfp-success[b-c6pqbi5kzl] {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-success-tint);
    color: var(--dfs-success-ink);
    font-size: 13px;
    font-weight: 600;
}

/* The Handovers tab without a department: classes (not inline styles) so the tokens and the isolation apply. */
.dfp-empty-state[b-c6pqbi5kzl] {
    padding: 32px 16px;
    text-align: center;
    background: var(--dfs-surface-alt);
    border: 1px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
}

.dfp-empty-title[b-c6pqbi5kzl] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

.dfp-empty-text[b-c6pqbi5kzl] {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--dfs-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/DynamicFormsReadOnlyTab.razor.rz.scp.css */
.dfr-readonly-tab[b-vjx25y9fo6] {
    padding: 4px 2px 24px;
}

.dfr-readonly-notice[b-vjx25y9fo6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: var(--dfs-surface-alt);
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    margin-bottom: 18px;
}

.dfr-readonly-notice p[b-vjx25y9fo6] {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--dfs-text-secondary);
}

.dfr-readonly-heading[b-vjx25y9fo6] {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dfs-text);
}

.dfr-readonly-list[b-vjx25y9fo6] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dfr-readonly-row[b-vjx25y9fo6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--dfs-surface);
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-md);
}

.dfr-readonly-lock[b-vjx25y9fo6] {
    color: var(--dfs-text-muted);
    flex-shrink: 0;
}

.dfr-readonly-row-label[b-vjx25y9fo6] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

.dfr-readonly-row-badge[b-vjx25y9fo6] {
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 700;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Canvas/DynamicFormCanvas.razor.rz.scp.css */
/* The canvas fills the editor's sheet (the white page of the forms studio), so it draws no surface of its own. The top padding
   leaves room for the floating toolbar of a control in the first row (it hangs above its card). */
.dfe-canvas[b-13fdrt9akz] {
    position: relative;
    width: 100%;
    padding: 48px 0 4px;
    background: transparent;
    min-height: 360px;
    box-sizing: border-box;
}

.dfe-canvas-degraded[b-13fdrt9akz] {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
    font-size: 13px;
    font-weight: 600;
}

/* Wb4: empty canvas (reachable now that "En blanco" starts with 0 controls, C5). */
.dfe-canvas-empty[b-13fdrt9akz] {
    margin: 0 0 12px;
    padding: 24px 16px;
    border: 2px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    color: var(--dfs-text-muted);
    font-size: 13px;
    text-align: center;
}

.dfe-grid[b-13fdrt9akz] {
    min-height: 320px;
}

[b-13fdrt9akz] .grid-stack-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--dfs-surface);
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    padding: 10px 12px;
    height: 100%;
    box-sizing: border-box;
    /* !important: the ONLY way to beat an inline style — GridStack v10 sets overflow-y on the
       element itself at runtime, which always wins over a plain selector regardless of specificity
       (explore-web, iteration 1 Wa2): our own overflow must win, not just "be more specific". */
    overflow: hidden !important;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

[b-13fdrt9akz] .grid-stack-item-content:hover {
    border-color: var(--dfs-border-strong);
    box-shadow: var(--dfs-shadow-sm);
}

[b-13fdrt9akz] .grid-stack-item-content.is-selected {
    border-color: var(--dfs-accent);
    border-width: 2px;
    box-shadow: 0 0 0 2px var(--dfs-accent-soft);
}

[b-13fdrt9akz] .grid-stack-item-content.is-system {
    background: var(--dfs-surface-alt);
}

[b-13fdrt9akz] .grid-stack-item-content.has-logic {
    border-style: dashed;
}

/* A rule that stopped making sense: the card says so (the badge in its header says why), never by colour alone. */
[b-13fdrt9akz] .grid-stack-item-content.has-invalid-logic {
    border-color: var(--dfs-danger);
}

[b-13fdrt9akz] .grid-stack-item-content.is-candidate {
    outline: 2px solid var(--dfs-accent);
    outline-offset: -2px;
    cursor: pointer;
}

[b-13fdrt9akz] .grid-stack-item-content.is-dimmed {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Header row (Wa2: order + "Del sistema" tag + icons + label all fit ONE line, so the whole preview
   fits inside a single 72px grid row instead of overflowing/scrolling). */
.dfe-item-row[b-13fdrt9akz] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.dfe-order[b-13fdrt9akz] {
    flex-shrink: 0;
    padding-top: 1px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-muted);
    line-height: 1.3;
}

.dfe-system-tag[b-13fdrt9akz] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    max-width: 96px;
    padding: 1px 8px;
    margin-top: 1px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-info-tint);
    color: var(--dfs-info-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.dfe-item-icon[b-13fdrt9akz] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding-top: 1px;
    color: var(--dfs-text-muted);
}

/* Wb3: "Datos: {fuente}" chip on controls linked to a query — text always visible (never color-only). */
.dfe-data-chip[b-13fdrt9akz] {
    flex-shrink: 1;
    display: inline-flex;
    align-items: center;
    max-width: 55%;
    padding: 1px 8px;
    margin-top: 1px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* B7: the badge of a rule that is no longer valid: icon + words (the reason is in the title and in the Logic panel). */
.dfe-invalid-rule[b-13fdrt9akz] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px 1px 6px;
    margin-top: 1px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

/* Wb2: drag & drop from "Consultas". While a query card is dragged, dynamicFormSourceDrag.js marks <body> and the item under
   the pointer; the canvas only DRAWS that from data attributes — no per-cell drag event ever reaches the server. */
body[data-dfe-source-drag] .dfe-canvas[b-13fdrt9akz]  .grid-stack-item-content[data-dfe-drop="eligible"] {
    outline: 2px dashed var(--dfs-accent);
    outline-offset: -2px;
}

body[data-dfe-source-drag] .dfe-canvas[b-13fdrt9akz]  .grid-stack-item-content[data-dfe-drop="ineligible"] {
    opacity: 0.55;
}

.dfe-canvas[b-13fdrt9akz]  .grid-stack-item-content[data-dfe-drag-over] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
}

/* The per-item hint (what dropping here does, or why it cannot) is the data attribute itself, written by the script. */
.dfe-canvas[b-13fdrt9akz]  .grid-stack-item-content[data-dfe-drag-over]::after {
    content: attr(data-dfe-drop-text);
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    text-align: center;
    background: var(--dfs-surface-veil);
    color: var(--dfs-text-secondary);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--dfs-radius-lg);
    pointer-events: none;
}

/* The actions of the selected control hang above its card, OUTSIDE the content (inside it they covered the label of a ~140 px
   cell): a floating pill, Canva-style, each action with its icon AND its name. 36 px buttons: the desktop hit target of the design
   system. A card of the first column anchors it to its left edge (.is-start) so it never hangs out of the sheet. */
.dfe-item-toolbar[b-13fdrt9akz] {
    position: absolute;
    top: -44px;
    right: 0;
    z-index: 12;
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-md);
    white-space: nowrap;
}

.dfe-item-toolbar.is-start[b-13fdrt9akz] {
    right: auto;
    left: 0;
}

.dfe-toolbar-btn[b-13fdrt9akz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    padding: 0 10px;
    border-radius: var(--dfs-radius-md);
    border: none;
    background: none;
    color: var(--dfs-text-secondary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dfe-toolbar-btn[b-13fdrt9akz]  svg {
    flex-shrink: 0;
}

.dfe-toolbar-btn:hover[b-13fdrt9akz] {
    background: var(--dfs-surface-muted);
}

.dfe-toolbar-btn.is-danger[b-13fdrt9akz] {
    color: var(--dfs-danger);
}

.dfe-toolbar-btn.is-danger:hover[b-13fdrt9akz] {
    background: var(--dfs-danger-tint-strong);
}

.dfe-size-pill[b-13fdrt9akz] {
    position: absolute;
    top: 6px;
    left: 8px;
    padding: 2px 8px;
    border-radius: var(--dfs-radius-sm);
    font-size: 12px;
    font-weight: 700;
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-secondary);
    display: none;
}

.dfe-size-pill:not(:empty)[b-13fdrt9akz] {
    display: inline-block;
}

.dfe-size-pill.is-limit[b-13fdrt9akz] {
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
}

[b-13fdrt9akz] .grid-stack-placeholder > .placeholder-content {
    background: var(--dfs-accent-wash);
    border: 2px dashed var(--dfs-accent);
    border-radius: var(--dfs-radius-lg);
}

/* Resize handles: discoverable as a professional tool, visible on hover/focus AND always on the
   selected control, grab zone >= 14px, explicit per-edge cursor, visible visual affordance bars on edges
   and grip in the corner. */
[b-13fdrt9akz] .ui-resizable-handle {
    opacity: 0;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

[b-13fdrt9akz] .dfe-item:hover .ui-resizable-handle,
[b-13fdrt9akz] .dfe-item:focus-within .ui-resizable-handle,
[b-13fdrt9akz] .dfe-item:has(.is-selected) .ui-resizable-handle,
[b-13fdrt9akz] .grid-stack-item:hover .ui-resizable-handle,
[b-13fdrt9akz] .grid-stack-item:focus-within .ui-resizable-handle,
[b-13fdrt9akz] .grid-stack-item:has(.is-selected) .ui-resizable-handle,
[b-13fdrt9akz] .ui-resizable-handle:hover {
    opacity: 1;
}

/* Edge highlighting on content card when hovering handles */
[b-13fdrt9akz] .grid-stack-item:has(.ui-resizable-e:hover) .grid-stack-item-content {
    border-right-color: var(--dfs-accent) !important;
    border-right-width: 2px !important;
}

[b-13fdrt9akz] .grid-stack-item:has(.ui-resizable-s:hover) .grid-stack-item-content {
    border-bottom-color: var(--dfs-accent) !important;
    border-bottom-width: 2px !important;
}

[b-13fdrt9akz] .grid-stack-item:has(.ui-resizable-se:hover) .grid-stack-item-content {
    border-right-color: var(--dfs-accent) !important;
    border-bottom-color: var(--dfs-accent) !important;
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
}

/* Right edge handle (ui-resizable-e) */
[b-13fdrt9akz] .ui-resizable-e {
    width: 14px;
    right: -6px;
    top: 6px;
    bottom: 6px;
    cursor: ew-resize;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-13fdrt9akz] .ui-resizable-e::before {
    content: "";
    width: 4px;
    height: 28px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-border-strong);
    transition: background-color 0.15s ease, height 0.15s ease, width 0.15s ease, box-shadow 0.15s ease;
}

[b-13fdrt9akz] .grid-stack-item:hover .ui-resizable-e::before {
    background: var(--dfs-border-muted);
}

[b-13fdrt9akz] .ui-resizable-e:hover::before,
[b-13fdrt9akz] .grid-stack-item:has(.is-selected) .ui-resizable-e::before {
    background: var(--dfs-accent);
    width: 5px;
    height: 38px;
    box-shadow: 0 0 6px var(--dfs-accent-glow);
}

/* Bottom edge handle (ui-resizable-s) */
[b-13fdrt9akz] .ui-resizable-s {
    height: 14px;
    bottom: -6px;
    left: 6px;
    right: 6px;
    cursor: ns-resize;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-13fdrt9akz] .ui-resizable-s::before {
    content: "";
    width: 28px;
    height: 4px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-border-strong);
    transition: background-color 0.15s ease, width 0.15s ease, height 0.15s ease, box-shadow 0.15s ease;
}

[b-13fdrt9akz] .grid-stack-item:hover .ui-resizable-s::before {
    background: var(--dfs-border-muted);
}

[b-13fdrt9akz] .ui-resizable-s:hover::before,
[b-13fdrt9akz] .grid-stack-item:has(.is-selected) .ui-resizable-s::before {
    background: var(--dfs-accent);
    width: 38px;
    height: 5px;
    box-shadow: 0 0 6px var(--dfs-accent-glow);
}

/* Bottom-right corner handle (ui-resizable-se) */
[b-13fdrt9akz] .ui-resizable-se {
    width: 20px;
    height: 20px;
    right: -4px;
    bottom: -4px;
    cursor: nwse-resize;
    z-index: 25;
}

[b-13fdrt9akz] .ui-resizable-se::before {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--dfs-border-strong);
    border-bottom: 3px solid var(--dfs-border-strong);
    border-bottom-right-radius: 4px;
    transition: border-color 0.15s ease, width 0.15s ease, height 0.15s ease, filter 0.15s ease;
}

[b-13fdrt9akz] .grid-stack-item:hover .ui-resizable-se::before {
    border-color: var(--dfs-border-muted);
}

[b-13fdrt9akz] .ui-resizable-se:hover::before,
[b-13fdrt9akz] .grid-stack-item:has(.is-selected) .ui-resizable-se::before {
    border-color: var(--dfs-accent);
    width: 13px;
    height: 13px;
    border-right-width: 3.5px;
    border-bottom-width: 3.5px;
    filter: drop-shadow(0 1px 3px var(--dfs-accent-glow));
}

@media (prefers-reduced-motion: reduce) {
    .dfe-canvas *[b-13fdrt9akz], .dfe-canvas *[b-13fdrt9akz]::before, .dfe-canvas *[b-13fdrt9akz]::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Canvas/DynamicFormControlPreview.razor.rz.scp.css */
/* A control in miniature inside its grid cell. Colours come from the editor tokens (see DynamicFormsTheme); every text is
   at least 12 px, and anything that could outgrow a ~140 px cell is clipped with an ellipsis or counted ("+N"). */
.dfp-preview[b-zq8tdske09] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.dfp-label[b-zq8tdske09] {
    font-size: 13px;
    font-weight: 600;
    color: var(--dfs-text);
    line-height: 1.3;
    /* Wa2: tag + label share ONE line — a single row must fit a 72px grid cell (H=1). */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfp-required[b-zq8tdske09] {
    color: var(--dfs-accent);
    margin-left: 2px;
}

/* ─── Tones ────────────────────────────────────────────────────────────────────────────────────────── *
   A visual control carries its tone on the root (data-tone): the four tokens of that tone become the local properties below, which the
   band, the dot, the callout and the line read. The values live in the theme (the same palette the phone renderer paints). */
.dfp-preview[data-tone="neutral"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-neutral);
    --dfp-tone-soft: var(--dfs-tone-neutral-soft);
    --dfp-tone-edge: var(--dfs-tone-neutral-edge);
    --dfp-tone-ink: var(--dfs-tone-neutral-ink);
}

.dfp-preview[data-tone="brand"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-brand);
    --dfp-tone-soft: var(--dfs-tone-brand-soft);
    --dfp-tone-edge: var(--dfs-tone-brand-edge);
    --dfp-tone-ink: var(--dfs-tone-brand-ink);
}

.dfp-preview[data-tone="info"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-info);
    --dfp-tone-soft: var(--dfs-tone-info-soft);
    --dfp-tone-edge: var(--dfs-tone-info-edge);
    --dfp-tone-ink: var(--dfs-tone-info-ink);
}

.dfp-preview[data-tone="success"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-success);
    --dfp-tone-soft: var(--dfs-tone-success-soft);
    --dfp-tone-edge: var(--dfs-tone-success-edge);
    --dfp-tone-ink: var(--dfs-tone-success-ink);
}

.dfp-preview[data-tone="warning"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-warning);
    --dfp-tone-soft: var(--dfs-tone-warning-soft);
    --dfp-tone-edge: var(--dfs-tone-warning-edge);
    --dfp-tone-ink: var(--dfs-tone-warning-ink);
}

.dfp-preview[data-tone="danger"][b-zq8tdske09] {
    --dfp-tone: var(--dfs-tone-danger);
    --dfp-tone-soft: var(--dfs-tone-danger-soft);
    --dfp-tone-edge: var(--dfs-tone-danger-edge);
    --dfp-tone-ink: var(--dfs-tone-danger-ink);
}

/* The optional icon of a Zona, Título or Descripción: a line glyph in a soft square, in the tone's ink (readable on its own soft surface). */
.dfp-deco-icon[b-zq8tdske09] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfp-tone-soft);
    color: var(--dfp-tone-ink);
}

/* The subtitle of a Zona or a Título (their help text). */
.dfp-subtitle[b-zq8tdske09] {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    color: var(--dfs-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Zona: a section band, the accent of its tone flush on the left ───────────────────────────────── */
.dfp-zone-band[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 0;
    border: 1px solid var(--dfp-tone-edge);
    border-radius: var(--dfs-radius-md);
    background: linear-gradient(90deg, var(--dfp-tone-soft), var(--dfs-surface) 92%);
    overflow: hidden;
    min-width: 0;
}

.dfp-zone-bar[b-zq8tdske09] {
    flex-shrink: 0;
    width: 5px;
    align-self: stretch;
    min-height: 18px;
    background: var(--dfp-tone);
}

.dfp-zone-body[b-zq8tdske09] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dfp-zone-text[b-zq8tdske09] {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dfs-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Título: a heading — a dot (or the icon) in the tone, the text at the chosen size and alignment ─── */
.dfp-title-wrap[b-zq8tdske09] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfp-title-text[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--dfp-tone-edge);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dfs-text);
    min-width: 0;
}

.dfp-title-label[b-zq8tdske09] {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfp-title-dot[b-zq8tdske09] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dfp-tone);
}

.dfp-title-text .dfp-deco-icon[b-zq8tdske09] {
    width: 22px;
    height: 22px;
}

.dfp-preview[data-size="large"] .dfp-title-text[b-zq8tdske09] {
    font-size: 18px;
}

.dfp-preview[data-size="small"] .dfp-title-text[b-zq8tdske09] {
    font-size: 13px;
}

.dfp-preview[data-align="center"] .dfp-title-text[b-zq8tdske09] {
    justify-content: center;
}

.dfp-preview[data-align="center"] .dfp-subtitle[b-zq8tdske09] {
    text-align: center;
}

/* ─── Descripción: a callout in the tone, its text over several lines (as many as the cell holds) ───── */
.dfp-description[b-zq8tdske09] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid var(--dfp-tone-edge);
    border-radius: var(--dfs-radius-md);
    background: var(--dfp-tone-soft);
}

.dfp-description-text[b-zq8tdske09] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dfp-tone-ink);
    white-space: pre-wrap;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--dfp-lines, 4);
    line-clamp: var(--dfp-lines, 4);
}

.dfp-preview[data-align="center"] .dfp-description-text[b-zq8tdske09] {
    text-align: center;
}

/* ─── Separador: a line, a dashed line or plain space; a tone, when chosen, colours the rule ────────── */
.dfp-separator-line[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-muted);
}

.dfp-separator-line[b-zq8tdske09]::before,
.dfp-separator-line[b-zq8tdske09]::after {
    content: "";
    flex: 1;
    height: 0;
    border-top: 1px solid var(--dfs-border-strong);
}

.dfp-preview[data-tone] .dfp-separator-line[b-zq8tdske09]::before,
.dfp-preview[data-tone] .dfp-separator-line[b-zq8tdske09]::after {
    border-top-color: var(--dfp-tone);
}

.dfp-preview[data-style="dashed"] .dfp-separator-line[b-zq8tdske09]::before,
.dfp-preview[data-style="dashed"] .dfp-separator-line[b-zq8tdske09]::after {
    border-top-style: dashed;
}

/* Space has no line to read as one: the miniature draws a faint dashed frame so it can still be seen and selected on the grid. */
.dfp-preview[data-style="space"] .dfp-separator-line[b-zq8tdske09] {
    justify-content: center;
    padding: 6px 10px;
    border: 1px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
}

.dfp-preview[data-style="space"] .dfp-separator-line[b-zq8tdske09]::before,
.dfp-preview[data-style="space"] .dfp-separator-line[b-zq8tdske09]::after {
    display: none;
}

/* ─── Inputs ───────────────────────────────────────────────────────────────────────────────────────── */
.dfp-input[b-zq8tdske09],
.dfp-select[b-zq8tdske09],
.dfp-textarea[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface);
    color: var(--dfs-text-muted);
    font-size: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.dfp-textarea[b-zq8tdske09] {
    flex: 1;
    align-items: flex-start;
    padding-top: 6px;
}

.dfp-select[b-zq8tdske09] {
    justify-content: space-between;
    color: var(--dfs-text-secondary);
}

.dfp-select svg[b-zq8tdske09] {
    flex-shrink: 0;
    color: var(--dfs-text-muted);
}

.dfp-placeholder[b-zq8tdske09] {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfp-range-hint[b-zq8tdske09] {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-muted);
}

/* The unit of a number («km», «mm»): at the end of the input, set apart by a thin rule, like the technician's input shows it. */
.dfp-unit[b-zq8tdske09] {
    flex-shrink: 0;
    padding-left: 6px;
    border-left: 1px solid var(--dfs-border);
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

/* ─── Selección: chips ─────────────────────────────────────────────────────────────────────────────── */
.dfp-chips[b-zq8tdske09] {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.dfp-chip[b-zq8tdske09] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    max-width: 100%;
    padding: 3px 10px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfp-box[b-zq8tdske09] {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--dfs-border-muted);
    border-radius: 3px;
    background: var(--dfs-surface);
}

/* ─── Sí / No y Interruptor ────────────────────────────────────────────────────────────────────────── */
.dfp-yesno[b-zq8tdske09] {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    overflow: hidden;
}

.dfp-yn[b-zq8tdske09] {
    padding: 3px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

.dfp-yn + .dfp-yn[b-zq8tdske09] {
    border-left: 1px solid var(--dfs-border-strong);
}

.dfp-switch[b-zq8tdske09] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dfp-switch-track[b-zq8tdske09] {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-border-muted);
}

.dfp-switch-knob[b-zq8tdske09] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-sm);
}

.dfp-switch-text[b-zq8tdske09] {
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-muted);
}

/* ─── Checklist ────────────────────────────────────────────────────────────────────────────────────── */
.dfp-checklist[b-zq8tdske09] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.dfp-point[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--dfs-text-secondary);
}

.dfp-point span[b-zq8tdske09] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfp-point-box[b-zq8tdske09] {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--dfs-border-muted);
    border-radius: 4px;
    background: var(--dfs-surface);
}

.dfp-more[b-zq8tdske09] {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: var(--dfs-text-muted);
}

/* ─── Fotos ────────────────────────────────────────────────────────────────────────────────────────── */
.dfp-photos[b-zq8tdske09] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.dfp-photo-slot[b-zq8tdske09] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px dashed var(--dfs-border-muted);
    border-radius: var(--dfs-radius-md);
    color: var(--dfs-text-muted);
}

.dfp-photos-count[b-zq8tdske09] {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-muted);
}

/* ─── Firma ────────────────────────────────────────────────────────────────────────────────────────── */
.dfp-signature[b-zq8tdske09] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    border: 1.5px dashed var(--dfs-border-muted);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface-alt);
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 600;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/DynamicFormEditor.razor.rz.scp.css */
/* Full-screen editor — the forms studio: a column of top bar, banners and body. The body is a row of [rail + left panel][center][right
   panel]. The side panels are DRAWERS (positioned over the canvas, opened from the dock buttons) until the editor's OWN width can dock
   them. The width that counts is the container's (.dfe-body, queried below), not the viewport's, so the global sidebar (220 px open /
   80 px collapsed) is accounted for without knowing about it:

       under 900 px     both panels are drawers
       from 900 px      the rail + left panel dock (72 + 232 px); the right one stays a drawer
       from 1100 px     both dock — a 1366×768 laptop with the menu open (1146 px) gets everything on screen
       from 1300 px     wider panels

   The sheet is fluid between 520 and 680 px (GridStack's 4 columns are percentages): the stage scrolls instead of squeezing it. */
.dfe-overlay[b-9kg7ne8cnb] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 220px;
    width: calc(100vw - 220px);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--dfs-surface-alt);
    color: var(--dfs-text);
    transition: left 0.4s ease-in-out, width 0.4s ease-in-out;
}

.dfe-overlay.sidebar-collapsed[b-9kg7ne8cnb] {
    left: var(--st-sidebar-collapsed-w);
    width: calc(100vw - var(--st-sidebar-collapsed-w));
}

@media (max-width: 768px) {
    .dfe-overlay[b-9kg7ne8cnb],
    .dfe-overlay.sidebar-collapsed[b-9kg7ne8cnb] {
        left: 0;
        width: 100vw;
    }
}

/* Banners flow under the top bar (they used to float over the canvas, on top of one another when two showed at once). */
.dfe-conflict-banner[b-9kg7ne8cnb],
.dfe-save-banner[b-9kg7ne8cnb],
.dfe-action-banner[b-9kg7ne8cnb] {
    flex: 0 0 auto;
    margin: 8px 16px 0;
}

.dfe-loading[b-9kg7ne8cnb],
.dfe-load-error[b-9kg7ne8cnb] {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--dfs-text-muted);
}

.dfe-load-error[b-9kg7ne8cnb] {
    color: var(--dfs-danger-ink);
}

/* ─── Body: the container the layout queries ask ───────────────────────────────────────────────────────── */
.dfe-body[b-9kg7ne8cnb] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    container-type: inline-size;
    container-name: dfebody;
}

/* "Diseño | Respuestas": the design keeps its place (and its mounted grid) while the answers are on screen, and the other way round.
   An author rule of display beats the browser's [hidden], so the hiding is stated here. */
.dfe-body[hidden][b-9kg7ne8cnb],
.dfe-responses-host[hidden][b-9kg7ne8cnb] {
    display: none;
}

.dfe-responses-host[b-9kg7ne8cnb] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* Looking at the answers, the phone-view switch, the undo history and the tour of the design mean nothing: they leave the top bar to
   what still applies. */
.dfe-overlay[data-mode="responses"][b-9kg7ne8cnb]  .dfe-view-switch,
.dfe-overlay[data-mode="responses"][b-9kg7ne8cnb]  .dfe-how-it-works,
.dfe-overlay[data-mode="responses"][b-9kg7ne8cnb]  .dfe-history-actions {
    display: none;
}

/* Side panels: drawers by default. visibility keeps a closed drawer out of the tab order and the accessibility tree. */
.dfe-left[b-9kg7ne8cnb],
.dfe-right[b-9kg7ne8cnb] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 30;
    width: min(340px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--dfs-surface);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
}

.dfe-left[b-9kg7ne8cnb] {
    left: 0;
    overflow: hidden;
    border-right: 1px solid var(--dfs-border);
    box-shadow: var(--dfs-shadow-drawer-start);
    transform: translateX(-100%);
}

.dfe-right[b-9kg7ne8cnb] {
    right: 0;
    border-left: 1px solid var(--dfs-border);
    box-shadow: var(--dfs-shadow-drawer-end);
    transform: translateX(100%);
}

.dfe-body[data-left="open"] .dfe-left[b-9kg7ne8cnb],
.dfe-body[data-right="open"] .dfe-right[b-9kg7ne8cnb] {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
}

/* A drawer takes focus when it opens so the keyboard lands in it; it is a container, not a control, so it draws no ring
   (the controls inside it do). The long selector outweighs the theme's generic [tabindex] focus ring. */
.dfe-overlay .dfe-body .dfe-left:focus-visible[b-9kg7ne8cnb],
.dfe-overlay .dfe-body .dfe-right:focus-visible[b-9kg7ne8cnb] {
    outline: none;
}

.dfe-scrim[b-9kg7ne8cnb] {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    background: var(--dfs-scrim);
}

.dfe-body[data-left="open"] .dfe-scrim[b-9kg7ne8cnb],
.dfe-body[data-right="open"] .dfe-scrim[b-9kg7ne8cnb] {
    display: block;
}

/* ─── The rail (Elementos · Orden · Reglas) and the panel it opens ─────────────────────────────────────── */
/* As a drawer: a row of icon + name on top of the panel. Docked (see the container queries): a vertical column, Canva-style. */
.dfe-left-tabs[b-9kg7ne8cnb] {
    flex: 0 0 auto;
    display: flex;
    gap: 4px;
    padding: 6px;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
}

.dfe-left-tabs button[b-9kg7ne8cnb] {
    position: relative;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 8px;
    border: none;
    border-radius: var(--dfs-radius-md);
    background: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--dfs-text-muted);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.dfe-left-tabs button:hover[b-9kg7ne8cnb] {
    color: var(--dfs-text);
    background: var(--dfs-surface-muted);
}

.dfe-left-tabs button[aria-selected="true"][b-9kg7ne8cnb] {
    color: var(--dfs-accent-strong);
    background: var(--dfs-accent-tint);
}

.dfe-rail-icon[b-9kg7ne8cnb] {
    display: inline-flex;
    flex-shrink: 0;
}

.dfe-rail-icon[b-9kg7ne8cnb]  svg {
    width: 20px;
    height: 20px;
}

.dfe-rail-label[b-9kg7ne8cnb] {
    line-height: 1.2;
}

/* A rule of the form stopped making sense: the dot is seen from any tab (the text says it too, on the tab itself). */
.dfe-tab-alert[b-9kg7ne8cnb] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dfs-warning);
}

.dfe-left-content[b-9kg7ne8cnb] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

/* ─── Center: dock, pick banner and the scrolling stage ────────────────────────────────────────────────── */
.dfe-center[b-9kg7ne8cnb] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Only visible while a side panel is a drawer: the way to open it. */
.dfe-dock[b-9kg7ne8cnb] {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
}

.dfe-dock-btn[b-9kg7ne8cnb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfe-dock-btn:hover[b-9kg7ne8cnb],
.dfe-dock-btn[aria-expanded="true"][b-9kg7ne8cnb] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfe-dock-btn[b-9kg7ne8cnb]  svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.dfe-dock-selection[b-9kg7ne8cnb] {
    min-width: 0;
    max-width: 160px;
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent-soft);
    color: var(--dfs-accent-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* "Elegir en la grilla" is answered by touching the grid: this bar says so and is the way out when the Logic panel is closed. */
.dfe-pick-banner[b-9kg7ne8cnb] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    background: var(--dfs-accent-tint);
    border-bottom: 1px solid var(--dfs-accent-line);
    color: var(--dfs-accent-ink);
    font-size: 13px;
    font-weight: 600;
}

.dfe-pick-cancel[b-9kg7ne8cnb] {
    flex-shrink: 0;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-accent);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfe-pick-cancel:hover[b-9kg7ne8cnb] {
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
}

/* The workspace: the only part that scrolls, a dotted surface the sheet sits on (Canva's artboard). Children are centered with auto
   margins (not justify-content: center) so a view wider than the stage starts at its left edge and scrolls, instead of spilling out of
   reach on both sides. */
.dfe-stage[b-9kg7ne8cnb] {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
    padding: 20px 12px 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--dfs-surface-muted);
    background-image: radial-gradient(var(--dfs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
}

.dfe-stage > *[b-9kg7ne8cnb] {
    flex: 0 0 auto;
    margin-inline: auto;
}

.dfe-canvas-wrap[b-9kg7ne8cnb] {
    width: 100%;
    max-width: 680px;
    min-width: 520px;
}

.dfe-canvas-wrap[hidden][b-9kg7ne8cnb] {
    display: none;
}

/* ─── The sheet: the form as a page ────────────────────────────────────────────────────────────────────── */
.dfe-sheet[b-9kg7ne8cnb] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 16px 18px;
    border: 1px solid var(--dfs-border);
    border-radius: 16px;
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-lg);
}

.dfe-sheet-header[b-9kg7ne8cnb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--dfs-border);
}

.dfe-sheet-title-block[b-9kg7ne8cnb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfe-sheet-title[b-9kg7ne8cnb] {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dfs-text);
    overflow-wrap: anywhere;
}

.dfe-sheet-subtitle[b-9kg7ne8cnb] {
    font-size: 13px;
    color: var(--dfs-text-muted);
}

.dfe-sheet-count[b-9kg7ne8cnb] {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* «Agregar elemento»: always in view at the end of the sheet — the obvious next step, Canva's "+". */
.dfe-sheet-add[b-9kg7ne8cnb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: 2px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface-alt);
    color: var(--dfs-text-secondary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.dfe-sheet-add:hover[b-9kg7ne8cnb] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfe-sheet-add-icon[b-9kg7ne8cnb] {
    display: inline-flex;
}

.dfe-sheet-add-icon[b-9kg7ne8cnb]  svg {
    width: 18px;
    height: 18px;
}

/* ─── First steps ──────────────────────────────────────────────────────────────────────────────────────── */
.dfe-intro-banner[b-9kg7ne8cnb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 680px;
    margin-bottom: 16px;
    padding: 12px 6px 12px 14px;
    border: 1px solid var(--dfs-accent-line);
    border-radius: var(--dfs-radius-lg);
    /* The tint is translucent (in dark mode the dots of the workspace showed through): laid over the opaque surface. */
    background: linear-gradient(var(--dfs-accent-tint), var(--dfs-accent-tint)) var(--dfs-surface);
    color: var(--dfs-accent-ink);
    font-size: 13px;
    box-sizing: border-box;
}

.dfe-intro-body[b-9kg7ne8cnb] {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
}

.dfe-intro-tip[b-9kg7ne8cnb] {
    display: inline-flex;
    padding-top: 2px;
    color: var(--dfs-accent-strong);
}

.dfe-intro-tip[b-9kg7ne8cnb]  svg {
    width: 18px;
    height: 18px;
}

.dfe-intro-steps[b-9kg7ne8cnb] {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: dfe-step;
}

.dfe-intro-steps li[b-9kg7ne8cnb] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.45;
    counter-increment: dfe-step;
}

.dfe-intro-steps li[b-9kg7ne8cnb]::before {
    content: counter(dfe-step);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 12px;
    font-weight: 800;
}

.dfe-intro-link[b-9kg7ne8cnb] {
    align-self: center;
    min-height: var(--dfs-hit);
    padding: 0 12px;
    border: 1px solid var(--dfs-accent-line);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dfe-intro-link:hover[b-9kg7ne8cnb] {
    border-color: var(--dfs-accent);
}

.dfe-intro-dismiss[b-9kg7ne8cnb] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    border: none;
    border-radius: var(--dfs-radius-md);
    background: none;
    color: var(--dfs-accent-ink);
    cursor: pointer;
}

.dfe-intro-dismiss:hover[b-9kg7ne8cnb] {
    background: var(--dfs-accent-soft);
}

.dfe-live[b-9kg7ne8cnb] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ─── Docking: LAST in the file on purpose. A container query adds no specificity, so each rule here only beats the base rule
   it overrides (.dfe-dock-btn, .dfe-dock, .dfe-left...) by coming after it. ───────────────────────────────────────────── */
@container dfebody (min-width: 900px) {
    .dfe-left[b-9kg7ne8cnb] {
        position: static;
        flex: 0 0 auto;
        flex-direction: row;
        width: auto;
        transform: none;
        visibility: visible;
        box-shadow: none;
        transition: none;
    }

    /* The rail: a vertical column of icon-over-name buttons next to its panel. */
    .dfe-left-tabs[b-9kg7ne8cnb] {
        flex: 0 0 72px;
        flex-direction: column;
        padding: 10px 6px;
        border-bottom: none;
        border-right: 1px solid var(--dfs-border);
    }

    .dfe-left-tabs button[b-9kg7ne8cnb] {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 4px;
        min-height: 64px;
        padding: 8px 2px;
        font-size: 12px;
    }

    .dfe-left-tabs .dfe-tab-alert[b-9kg7ne8cnb] {
        position: absolute;
        top: 8px;
        right: 12px;
    }

    .dfe-left-content[b-9kg7ne8cnb] {
        width: 232px;
    }

    .dfe-dock-left[b-9kg7ne8cnb] {
        display: none;
    }

    .dfe-body[data-left="open"] .dfe-scrim[b-9kg7ne8cnb] {
        display: none;
    }
}

@container dfebody (min-width: 1100px) {
    .dfe-right[b-9kg7ne8cnb] {
        position: static;
        flex: 0 0 288px;
        width: 288px;
        transform: none;
        visibility: visible;
        box-shadow: none;
        transition: none;
    }

    .dfe-dock[b-9kg7ne8cnb] {
        display: none;
    }

    .dfe-body[data-right="open"] .dfe-scrim[b-9kg7ne8cnb] {
        display: none;
    }
}

@container dfebody (min-width: 1300px) {
    .dfe-left-content[b-9kg7ne8cnb] {
        width: 264px;
    }

    .dfe-right[b-9kg7ne8cnb] {
        flex-basis: 320px;
        width: 320px;
    }

    .dfe-stage[b-9kg7ne8cnb] {
        padding-inline: 24px;
    }
}

@container dfebody (min-width: 1600px) {
    .dfe-left-content[b-9kg7ne8cnb] {
        width: 300px;
    }

    .dfe-right[b-9kg7ne8cnb] {
        flex-basis: 340px;
        width: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dfe-overlay *[b-9kg7ne8cnb], .dfe-overlay *[b-9kg7ne8cnb]::before, .dfe-overlay *[b-9kg7ne8cnb]::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/DynamicFormEditorModeBar.razor.rz.scp.css */
/* "Diseño | Respuestas" + where the form is used. A row under the top bar; it wraps instead of overflowing. Light surface, --dfs-* tokens. */
.dfm-bar[b-6s3xrxzln4] {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 0 16px;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
}

.dfm-tabs[b-6s3xrxzln4] {
    display: flex;
    gap: 4px;
}

.dfm-tab[b-6s3xrxzln4] {
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--dfs-text-muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.dfm-tab:hover[b-6s3xrxzln4] {
    color: var(--dfs-text);
}

.dfm-tab.is-active[b-6s3xrxzln4] {
    color: var(--dfs-accent-strong);
    border-bottom-color: var(--dfs-accent);
}

.dfm-use[b-6s3xrxzln4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.dfm-assign[b-6s3xrxzln4] {
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfm-assign:hover[b-6s3xrxzln4] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/DynamicFormEditorTopBar.razor.rz.scp.css */
/* The bar wraps instead of overflowing: under ~1050 px the name takes its own row and the controls follow below it. */
.dfe-topbar[b-6f5psjqkew] {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-height: 56px;
    padding: 8px 16px;
    box-sizing: border-box;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
}

.dfe-back[b-6f5psjqkew] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 10px 0 6px;
    border: none;
    border-radius: var(--dfs-radius-md);
    background: none;
    color: var(--dfs-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfe-back:hover:not(:disabled)[b-6f5psjqkew] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text);
}

.dfe-back:disabled[b-6f5psjqkew] {
    opacity: 0.6;
    cursor: progress;
}

/* The name gives way first (ellipsis, the whole name is in its tooltip and on the sheet), so the status chip stays next to it and the
   bar keeps one row on a laptop. */
.dfe-name-block[b-6f5psjqkew] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 200px;
    min-width: 0;
}

.dfe-name-display[b-6f5psjqkew] {
    flex: 0 1 auto;
    min-width: 0;
    min-height: var(--dfs-hit);
    max-width: 320px;
    padding: 0 8px;
    border: none;
    border-radius: var(--dfs-radius-md);
    background: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--dfs-text);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dfe-name-display:hover:not(:disabled)[b-6f5psjqkew] {
    background: var(--dfs-surface-muted);
}

.dfe-name-display:disabled[b-6f5psjqkew] {
    cursor: default;
}

.dfe-name-input[b-6f5psjqkew] {
    min-width: 200px;
    min-height: var(--dfs-hit);
    padding: 0 10px;
    border: 1px solid var(--dfs-accent);
    border-radius: var(--dfs-radius-md);
    color: var(--dfs-text);
    font-size: 15px;
    font-weight: 700;
    box-sizing: border-box;
}

.dfe-name-error[b-6f5psjqkew] {
    color: var(--dfs-danger-ink);
    font-size: 12px;
    font-weight: 600;
}

.dfe-chip[b-6f5psjqkew] {
    padding: 3px 10px;
    border-radius: var(--dfs-radius-pill);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dfe-chip-neutral[b-6f5psjqkew] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-secondary);
}

.dfe-chip-success[b-6f5psjqkew] {
    background: var(--dfs-success-tint);
    color: var(--dfs-success-ink);
}

.dfe-chip-warning[b-6f5psjqkew] {
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
}

/* data-state (set by the editor from the autosave) drives the colour; the text always says the same thing, so colour is never
   the only signal. The dot only shows while there is a text to go with it. */
.dfe-autosave-indicator[b-6f5psjqkew] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-muted);
    white-space: nowrap;
}

/* Forms studio: the state is drawn with a cloud (saved / saving) or an alert glyph, Canva-style, next to its words. */
.dfe-autosave-icon[b-6f5psjqkew] {
    display: inline-flex;
    flex-shrink: 0;
}

.dfe-autosave-icon[b-6f5psjqkew]  svg {
    width: 16px;
    height: 16px;
}

/* «Deshacer» / «Rehacer»: two square icon buttons, always in the same place. */
.dfe-history-actions[b-6f5psjqkew] {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface-muted);
}

.dfe-undo[b-6f5psjqkew],
.dfe-redo[b-6f5psjqkew] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    border: none;
    border-radius: var(--dfs-radius-sm);
    background: none;
    color: var(--dfs-text);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfe-undo[b-6f5psjqkew]  svg,
.dfe-redo[b-6f5psjqkew]  svg {
    width: 18px;
    height: 18px;
}

.dfe-undo:hover:not(:disabled)[b-6f5psjqkew],
.dfe-redo:hover:not(:disabled)[b-6f5psjqkew] {
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
}

.dfe-undo:disabled[b-6f5psjqkew],
.dfe-redo:disabled[b-6f5psjqkew] {
    color: var(--dfs-text-muted);
    opacity: 0.55;
    cursor: not-allowed;
}

.dfe-autosave-indicator[data-state="saved"][b-6f5psjqkew] {
    color: var(--dfs-success-ink);
}

.dfe-autosave-indicator[data-state="pending"][b-6f5psjqkew],
.dfe-autosave-indicator[data-state="saving"][b-6f5psjqkew] {
    color: var(--dfs-warning-ink);
}

.dfe-autosave-indicator[data-state="failed"][b-6f5psjqkew],
.dfe-autosave-indicator[data-state="rejected"][b-6f5psjqkew],
.dfe-autosave-indicator[data-state="conflict"][b-6f5psjqkew] {
    color: var(--dfs-danger-ink);
    font-weight: 700;
}

.dfe-view-switch[b-6f5psjqkew] {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface-muted);
}

.dfe-view-switch button[b-6f5psjqkew] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: none;
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfe-view-switch button[b-6f5psjqkew]  svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.dfe-view-switch button:hover:not(.is-active)[b-6f5psjqkew] {
    color: var(--dfs-text);
}

.dfe-view-switch button.is-active[b-6f5psjqkew] {
    background: var(--dfs-surface);
    color: var(--dfs-text);
    box-shadow: var(--dfs-shadow-sm);
}

.dfe-history[b-6f5psjqkew],
.dfe-duplicate-edit[b-6f5psjqkew],
.dfe-how-it-works[b-6f5psjqkew] {
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dfe-history:hover:not(:disabled)[b-6f5psjqkew],
.dfe-duplicate-edit:hover:not(:disabled)[b-6f5psjqkew],
.dfe-how-it-works:hover[b-6f5psjqkew] {
    border-color: var(--dfs-border-strong);
    background: var(--dfs-surface-muted);
}

.dfe-duplicate-edit:disabled[b-6f5psjqkew] {
    opacity: 0.6;
    cursor: progress;
}

.dfe-publish[b-6f5psjqkew] {
    min-height: var(--dfs-hit);
    padding: 0 20px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.dfe-publish:hover:not(:disabled)[b-6f5psjqkew] {
    background: var(--dfs-accent-strong);
}

.dfe-publish:disabled[b-6f5psjqkew] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/DynamicFormHowItWorksPanel.razor.rz.scp.css */
/* Wrapper of the navy subtree (data-st-theme="dark"): a node for the tokens to inherit from, never a box. */
.dfhw-chrome[b-z5ds84nhzi] {
    display: contents;
}

.dfhw-backdrop[b-z5ds84nhzi] {
    position: fixed;
    inset: 0;
    z-index: 1290;
    background: var(--dfs-scrim);
}

.dfhw-panel[b-z5ds84nhzi] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    width: min(360px, 100vw);
    background: var(--st-app-frame);
    border-left: 1px solid var(--dfs-border);
    box-shadow: var(--dfs-shadow-drawer-end);
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dfhw-header[b-z5ds84nhzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dfhw-header h3[b-z5ds84nhzi] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--dfs-text);
}

.dfhw-close[b-z5ds84nhzi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    cursor: pointer;
}

.dfhw-close:hover[b-z5ds84nhzi] {
    background: var(--dfs-surface-muted);
}

/* The content box (st-chrome-box in css/theme.css): the part of the panel that follows the theme. */
.dfhw-box[b-z5ds84nhzi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
}

.dfhw-tagline[b-z5ds84nhzi] {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    font-size: 13px;
    font-weight: 600;
}

.dfhw-steps[b-z5ds84nhzi] {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--dfs-text-secondary);
    line-height: 1.5;
}

.dfhw-steps strong[b-z5ds84nhzi] {
    color: var(--dfs-text);
}

@media (prefers-reduced-motion: reduce) {
    .dfhw-panel[b-z5ds84nhzi], .dfhw-backdrop[b-z5ds84nhzi] {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/History/DynamicFormHistoryDialog.razor.rz.scp.css */
[b-f6mt90w97z] .dfh-modal {
    max-width: 520px;
}

.dfh-hint[b-f6mt90w97z] {
    color: var(--dfs-glass-text-muted);
    font-size: 13px;
    margin: 0;
}

.dfh-error[b-f6mt90w97z] {
    color: var(--dfs-glass-danger);
    font-size: 13px;
    margin: 0 0 10px;
    padding: 8px 12px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-danger-bg);
    border: 1px solid var(--dfs-glass-danger-line);
}

.dfh-error-text[b-f6mt90w97z] {
    margin: 0;
}

.dfh-problems[b-f6mt90w97z] {
    margin: 6px 0 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dfh-list[b-f6mt90w97z] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}

.dfh-row[b-f6mt90w97z] {
    border: 1px solid var(--dfs-glass-border);
    border-radius: var(--dfs-radius-lg);
    padding: 12px 16px;
    background: var(--dfs-glass-surface);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dfh-row:hover[b-f6mt90w97z] {
    background: var(--dfs-glass-hover);
    border-color: var(--dfs-glass-border-strong);
}

.dfh-row-main[b-f6mt90w97z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dfs-glass-text);
}

.dfh-title[b-f6mt90w97z] {
    font-size: 14px;
    font-weight: 700;
}

.dfh-meta[b-f6mt90w97z] {
    font-size: 13px;
    color: var(--dfs-glass-text-soft);
}

.dfh-current[b-f6mt90w97z] {
    padding: 2px 10px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-success-bg);
    color: var(--dfs-glass-success);
    border: 1px solid var(--dfs-glass-success-line);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dfh-summary[b-f6mt90w97z] {
    font-size: 12px;
    color: var(--dfs-glass-text-muted);
    line-height: 1.4;
}

.dfh-actions[b-f6mt90w97z] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

/* The three kinds of button of the dialog: the quiet one (view, back, cancel), the careful one (restore) and the way out of a conflict. */
.dfh-view[b-f6mt90w97z],
.dfh-back[b-f6mt90w97z],
.dfh-confirm-cancel[b-f6mt90w97z],
.dfh-restore[b-f6mt90w97z],
.dfh-reload[b-f6mt90w97z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-glass-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text-soft);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dfh-view:hover:not(:disabled)[b-f6mt90w97z],
.dfh-back:hover[b-f6mt90w97z],
.dfh-confirm-cancel:hover:not(:disabled)[b-f6mt90w97z],
.dfh-restore:hover[b-f6mt90w97z],
.dfh-reload:hover[b-f6mt90w97z] {
    background: var(--dfs-glass-active);
    border-color: var(--dfs-glass-border-hover);
    color: var(--dfs-glass-text);
}

.dfh-view:disabled[b-f6mt90w97z],
.dfh-confirm-cancel:disabled[b-f6mt90w97z] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dfh-confirm-restore[b-f6mt90w97z] {
    min-height: var(--dfs-hit);
    padding: 0 20px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--dfs-shadow-accent);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dfh-confirm-restore:hover:not(:disabled)[b-f6mt90w97z] {
    background: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent-hover);
}

.dfh-confirm-restore:disabled[b-f6mt90w97z] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.dfh-view-header[b-f6mt90w97z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dfh-view-meta[b-f6mt90w97z] {
    flex: 1 1 160px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dfs-glass-text-soft);
}

/* The confirmation of a restore: what happens, what does not, and the two ways out. */
.dfh-confirm[b-f6mt90w97z] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--dfs-glass-text);
}

.dfh-confirm-title[b-f6mt90w97z] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.dfh-confirm-text[b-f6mt90w97z] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dfs-glass-text-soft);
}

.dfh-confirm-actions[b-f6mt90w97z] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dfh-conflict[b-f6mt90w97z] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-danger-bg);
    border: 1px solid var(--dfs-glass-danger-line);
    color: var(--dfs-glass-danger);
    font-size: 13px;
}

.dfh-conflict-text[b-f6mt90w97z] {
    margin: 0;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/History/DynamicFormRevisionViewer.razor.rz.scp.css */
/* A published revision at phone width, read-only. It sits inside the dark-glass dialog, so the "phone" is a white sheet (the fill
   renderer always lives on a light surface) with the dialog's own width toggle above it. */
.dfrv-viewer[b-fr6yfyx2js] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dfrv-toggle[b-fr6yfyx2js] {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-surface);
    border: 1px solid var(--dfs-glass-border);
}

.dfrv-toggle-btn[b-fr6yfyx2js] {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: none;
    color: var(--dfs-glass-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfrv-toggle-btn:hover:not(.is-active)[b-fr6yfyx2js] {
    color: var(--dfs-glass-text);
}

.dfrv-toggle-btn.is-active[b-fr6yfyx2js] {
    background: var(--dfs-glass-active);
    color: var(--dfs-glass-text);
}

.dfrv-phone[b-fr6yfyx2js] {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* The width of the view, as a class: the CSS isolation and the tokens apply, and no inline style is needed. */
.dfrv-screen[b-fr6yfyx2js] {
    width: 360px;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    min-inline-size: 0;
    /* Nothing in a read-only view answers to the pointer; the wheel still scrolls the dialog behind it. */
    pointer-events: none;
}

.dfrv-phone[data-dfrv-width="412"] .dfrv-screen[b-fr6yfyx2js] {
    width: 412px;
}

.dfrv-legend[b-fr6yfyx2js] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Issues/DynamicFormIssuesPanel.razor.rz.scp.css */
/* The list of what kept a draft from being saved. Same alert look as the conflict banner (danger tint, icon + text — never colour
   alone), but a list: each problem is a row, and a row of a control is a button that goes to it. Light surface, --dfs-* tokens. */
.dfi-panel[b-89o4cmz6ae] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--dfs-danger-line);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
}

.dfi-header[b-89o4cmz6ae] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dfi-icon[b-89o4cmz6ae] {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 1px;
}

.dfi-heading[b-89o4cmz6ae] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dfi-title[b-89o4cmz6ae] {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

.dfi-hint[b-89o4cmz6ae] {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

/* A long list scrolls inside itself: the grid under the banner never gets pushed off the screen by 30 problems. */
.dfi-list[b-89o4cmz6ae] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.dfi-item[b-89o4cmz6ae] {
    margin: 0;
}

.dfi-link[b-89o4cmz6ae],
.dfi-plain[b-89o4cmz6ae] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    min-height: var(--dfs-hit);
    padding: 6px 10px;
    box-sizing: border-box;
    border: 1px solid var(--dfs-danger-line);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 13px;
    text-align: left;
}

.dfi-link[b-89o4cmz6ae] {
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dfi-link:hover[b-89o4cmz6ae] {
    border-color: var(--dfs-danger-ink);
    background: var(--dfs-danger-tint-strong);
}

.dfi-message[b-89o4cmz6ae] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.dfi-go[b-89o4cmz6ae] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dfs-danger-ink);
}

.dfi-control[b-89o4cmz6ae] {
    font-weight: 700;
}

.dfi-scope[b-89o4cmz6ae] {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Logic/DynamicFormLogicPanel.razor.rz.scp.css */
.dfe-logic-panel[b-l5heu9awx0] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.dfe-logic-empty[b-l5heu9awx0],
.dfe-logic-intro[b-l5heu9awx0],
.dfe-logic-hint[b-l5heu9awx0],
.dfe-logic-gridhint[b-l5heu9awx0] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dfs-text-muted);
}

.dfe-logic-summary[b-l5heu9awx0],
.dfe-logic-question[b-l5heu9awx0],
.dfe-logic-source[b-l5heu9awx0] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dfs-text);
}

/* A rule that stopped making sense, and the explanation of why there is nothing to pick: both say it in words, not in colour only. */
.dfe-logic-invalid[b-l5heu9awx0],
.dfe-logic-nocandidates[b-l5heu9awx0] {
    margin: 0;
    padding: 8px 12px;
    border-radius: var(--dfs-radius-md);
    font-size: 13px;
    line-height: 1.5;
}

.dfe-logic-invalid[b-l5heu9awx0] {
    background: var(--dfs-danger-tint);
    border: 1px solid var(--dfs-danger-line);
    color: var(--dfs-danger-ink);
    font-weight: 600;
}

.dfe-logic-nocandidates[b-l5heu9awx0] {
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
}

.dfe-logic-actions[b-l5heu9awx0] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dfe-logic-add[b-l5heu9awx0],
.dfe-logic-pick[b-l5heu9awx0] {
    align-self: flex-start;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-accent);
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dfe-logic-add:hover:not(:disabled)[b-l5heu9awx0],
.dfe-logic-pick:hover:not(:disabled)[b-l5heu9awx0] {
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    box-shadow: var(--dfs-shadow-accent);
}

.dfe-logic-pick:disabled[b-l5heu9awx0] {
    border-color: var(--dfs-border-strong);
    color: var(--dfs-text-muted);
    cursor: not-allowed;
}

.dfe-logic-edit[b-l5heu9awx0],
.dfe-logic-save[b-l5heu9awx0] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border-radius: var(--dfs-radius-md);
    border: none;
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dfe-logic-edit:hover:not(:disabled)[b-l5heu9awx0],
.dfe-logic-save:hover:not(:disabled)[b-l5heu9awx0] {
    background: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent);
}

.dfe-logic-save:disabled[b-l5heu9awx0] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
}

.dfe-logic-remove[b-l5heu9awx0] {
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-danger-line);
    background: var(--dfs-surface);
    color: var(--dfs-danger-ink);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dfe-logic-remove:hover[b-l5heu9awx0] {
    background: var(--dfs-danger-tint-strong);
    border-color: var(--dfs-danger-line-strong);
}

.dfe-logic-back[b-l5heu9awx0] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 10px 0 6px;
    border: none;
    border-radius: var(--dfs-radius-md);
    background: none;
    color: var(--dfs-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfe-logic-back:hover[b-l5heu9awx0] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-accent-strong);
}

.st-input[b-l5heu9awx0] {
    width: 100%;
    min-height: var(--dfs-hit);
    padding: 0 12px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.st-input:hover[b-l5heu9awx0] {
    border-color: var(--dfs-border-muted);
}

.st-input:focus[b-l5heu9awx0] {
    border-color: var(--dfs-accent);
}

/* The chevron of a select is drawn with two gradients so it takes the token's colour (an SVG data URI would hard-code one). */
select.st-input[b-l5heu9awx0] {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--dfs-text-muted) 50%), linear-gradient(135deg, var(--dfs-text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

.dfe-logic-value[b-l5heu9awx0] {
    width: 100%;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Palette/DynamicFormPalette.razor.rz.scp.css */
/* "Elementos" (forms studio): a Canva-style panel — a search on top, then groups of tiles; each tile is a glyph on a tinted square, the
   element's name and the line that says what the technician does with it. Every colour is a --dfs-* token of the theme. */
.dfe-palette[b-rvmvu5ph48] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 14px 14px 24px;
}

.dfe-palette-intro[b-rvmvu5ph48] {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: -14px -14px 0;
    padding: 14px 14px 12px;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
}

.dfe-palette-lead[b-rvmvu5ph48] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dfs-text-secondary);
}

/* The input itself is the pill (the glyph sits over its left padding): the theme's focus ring then wraps the whole search, never a
   rectangle inside a rounded box. */
.dfe-palette-search[b-rvmvu5ph48] {
    position: relative;
    display: block;
    margin: 0;
    color: var(--dfs-text-muted);
}

.dfe-palette-search-icon[b-rvmvu5ph48] {
    position: absolute;
    top: 50%;
    left: 14px;
    display: inline-flex;
    transform: translateY(-50%);
    pointer-events: none;
}

.dfe-palette-search-icon[b-rvmvu5ph48]  svg {
    width: 16px;
    height: 16px;
}

.dfe-palette-search-input[b-rvmvu5ph48] {
    width: 100%;
    min-height: 40px;
    padding: 0 12px 0 38px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface-alt);
    color: var(--dfs-text);
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dfe-palette-search-input:hover[b-rvmvu5ph48] {
    border-color: var(--dfs-border-muted);
}

.dfe-palette-search-input:focus[b-rvmvu5ph48] {
    border-color: var(--dfs-accent);
    background: var(--dfs-surface);
}

.dfe-palette-search-input[b-rvmvu5ph48]::placeholder {
    color: var(--dfs-text-muted);
}

/* The model's cap of controls was reached: said once, above the groups, instead of every click doing nothing. */
.dfe-palette-limit[b-rvmvu5ph48],
.dfe-palette-empty[b-rvmvu5ph48] {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--dfs-radius-md);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.dfe-palette-limit[b-rvmvu5ph48] {
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
}

.dfe-palette-empty[b-rvmvu5ph48] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-secondary);
}

.dfe-palette-group-title[b-rvmvu5ph48] {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--dfs-text);
}

.dfe-palette-group-hint[b-rvmvu5ph48] {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dfs-text-muted);
}

.dfe-palette-items[b-rvmvu5ph48] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

/* A tile: glyph, name, purpose. The whole tile is the click target and the drag handle (GridStack drags the div). */
.dfe-palette-item[b-rvmvu5ph48] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    color: var(--dfs-text);
    cursor: grab;
    user-select: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.dfe-palette-item:hover[b-rvmvu5ph48] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    box-shadow: var(--dfs-shadow-sm);
}

.dfe-palette-item:active[b-rvmvu5ph48] {
    cursor: grabbing;
}

/* The copy that follows the pointer while dragging (GridStack's helper): lifted off the page, like a card in the hand. */
.dfe-palette-item.ui-draggable-dragging[b-rvmvu5ph48] {
    border-color: var(--dfs-accent);
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-lg);
    opacity: 0.95;
}

.dfe-palette-item-icon[b-rvmvu5ph48] {
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfe-palette-item-icon[b-rvmvu5ph48]  svg {
    width: 18px;
    height: 18px;
}

.dfe-palette-item:hover .dfe-palette-item-icon[b-rvmvu5ph48] {
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
}

.dfe-palette-item-text[b-rvmvu5ph48] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfe-palette-item-label[b-rvmvu5ph48] {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.dfe-palette-item-desc[b-rvmvu5ph48] {
    font-size: 12px;
    line-height: 1.35;
    color: var(--dfs-text-muted);
}

.dfe-palette-item.is-unavailable[b-rvmvu5ph48] {
    cursor: not-allowed;
    color: var(--dfs-text-muted);
    background: var(--dfs-surface-alt);
}

.dfe-palette-item.is-unavailable:hover[b-rvmvu5ph48] {
    border-color: var(--dfs-border);
    background: var(--dfs-surface-alt);
    box-shadow: none;
}

.dfe-palette-item.is-unavailable .dfe-palette-item-icon[b-rvmvu5ph48],
.dfe-palette-item.is-unavailable:hover .dfe-palette-item-icon[b-rvmvu5ph48] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-muted);
}

.dfe-palette-item-badge[b-rvmvu5ph48] {
    align-self: flex-start;
    padding: 1px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/DynamicFormPropertiesPanel.razor.rz.scp.css */
.dfpp-panel[b-eg68hk7mk4] {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Forms studio: nothing selected — a card that says what the panel is for, never a lone grey sentence. */
.dfpp-empty[b-eg68hk7mk4] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    border: 1px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface-alt);
    color: var(--dfs-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.dfpp-empty-icon[b-eg68hk7mk4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfpp-empty-icon[b-eg68hk7mk4]  svg {
    width: 18px;
    height: 18px;
}

.dfpp-empty-title[b-eg68hk7mk4] {
    margin: 0;
    color: var(--dfs-text);
    font-size: 14px;
    font-weight: 700;
}

.dfpp-empty-list[b-eg68hk7mk4] {
    margin: 0;
    padding-left: 18px;
}

/* What is being edited: the palette's glyph, the type and its purpose, above the settings. */
.dfpp-target[b-eg68hk7mk4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 12px;
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface-alt);
    border: 1px solid var(--dfs-border);
}

.dfpp-target-icon[b-eg68hk7mk4] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfpp-target-icon[b-eg68hk7mk4]  svg {
    width: 18px;
    height: 18px;
}

.dfpp-target-text[b-eg68hk7mk4] {
    flex: 1 1 140px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dfpp-target-type[b-eg68hk7mk4] {
    color: var(--dfs-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.dfpp-target-desc[b-eg68hk7mk4] {
    color: var(--dfs-text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.dfpp-target-badge[b-eg68hk7mk4] {
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-info-tint);
    color: var(--dfs-info-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Wb1: top-level "Propiedades | Consultas" — visually heavier than the sub-tabs below (bigger text,
   full-width buttons) so the hierarchy reads clearly: this is the FIRST choice, General/Datos/Validación
   is the second, only inside "Propiedades". */
.dfpp-top-tabs[b-eg68hk7mk4] {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--dfs-border);
    margin-bottom: 4px;
}

.dfpp-top-tab[b-eg68hk7mk4] {
    flex: 1;
    min-height: 40px;
    padding: 0 8px;
    border: none;
    background: none;
    color: var(--dfs-text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.dfpp-top-tab:hover[b-eg68hk7mk4] {
    color: var(--dfs-text);
}

.dfpp-top-tab.is-active[b-eg68hk7mk4] {
    color: var(--dfs-accent-strong);
    border-bottom-color: var(--dfs-accent);
}

.dfpp-tabs[b-eg68hk7mk4] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--dfs-border);
}

.dfpp-tab[b-eg68hk7mk4] {
    min-height: var(--dfs-hit);
    padding: 0 12px;
    border: none;
    background: none;
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.dfpp-tab:hover[b-eg68hk7mk4] {
    color: var(--dfs-text);
}

.dfpp-tab.is-active[b-eg68hk7mk4] {
    color: var(--dfs-accent-strong);
    border-bottom-color: var(--dfs-accent);
}

/* Los sub-componentes (PropertiesGeneralTab/DataTab/ValidationTab) tienen su propio scope de CSS: sus
   clases dfpp-* se estilizan aquí con ::deep en vez de duplicar un .razor.css por cada uno. */
[b-eg68hk7mk4] .dfpp-general,
[b-eg68hk7mk4] .dfpp-data,
[b-eg68hk7mk4] .dfpp-validation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--dfs-text);
}

/* Form input and select controls across all properties tabs */
[b-eg68hk7mk4] .st-input {
    width: 100%;
    min-height: var(--dfs-hit);
    padding: 0 12px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

[b-eg68hk7mk4] .st-input:hover {
    border-color: var(--dfs-border-muted);
}

[b-eg68hk7mk4] .st-input:focus {
    border-color: var(--dfs-accent);
}

[b-eg68hk7mk4] textarea.st-input {
    min-height: 88px;
    padding: 8px 12px;
    line-height: 1.45;
    resize: vertical;
}

/* The chevron of a select is drawn with two gradients so it takes the token's colour (an SVG data URI would hard-code one). */
[b-eg68hk7mk4] select.st-input {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--dfs-text-muted) 50%), linear-gradient(135deg, var(--dfs-text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

[b-eg68hk7mk4] input[type="checkbox"],
[b-eg68hk7mk4] input[type="radio"] {
    accent-color: var(--dfs-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

[b-eg68hk7mk4] label:has(input[type="checkbox"]),
[b-eg68hk7mk4] label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--dfs-hit);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--dfs-text-secondary);
    user-select: none;
}

[b-eg68hk7mk4] .dfpp-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

[b-eg68hk7mk4] .dfpp-hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--dfs-text-muted);
    margin: 0;
}

/* The counter of a text — a field of this panel or a row of an options list: «n / max». Near the limit it warns and at the limit it is bold:
   the words never rely on colour alone. */
[b-eg68hk7mk4] .dfpp-counter {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--dfs-text-muted);
}

[b-eg68hk7mk4] .dfpp-counter.is-near {
    color: var(--dfs-warning-ink);
}

[b-eg68hk7mk4] .dfpp-counter.is-full {
    color: var(--dfs-danger-ink);
    font-weight: 700;
}

/* A group of choices inside a fieldset (tone, size, alignment, icon, line style): its caption and its chips. */
[b-eg68hk7mk4] .dfpp-chip-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

[b-eg68hk7mk4] .dfpp-group-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

[b-eg68hk7mk4] .dfpp-required-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

[b-eg68hk7mk4] .dfpp-fixed-note {
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-style: italic;
}

/* Two related numbers (minimum / maximum) side by side. */
[b-eg68hk7mk4] .dfpp-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* A pair that cannot be applied (min > max...) is explained right under the inputs and NOT saved: the draft stays saveable. */
[b-eg68hk7mk4] .dfpp-error {
    margin: 0;
    padding: 6px 10px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

[b-eg68hk7mk4] .dfpp-display,
[b-eg68hk7mk4] .dfpp-size,
[b-eg68hk7mk4] .dfpp-source,
[b-eg68hk7mk4] .dfpp-look,
[b-eg68hk7mk4] .dfpp-maxlength-group {
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    padding: 10px 12px;
    background: var(--dfs-surface-alt);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* «Apariencia» holds several groups (tone, size, icon...): a little more air between them than between the radios of the other fieldsets. */
[b-eg68hk7mk4] .dfpp-look {
    gap: 14px;
}

[b-eg68hk7mk4] .dfpp-display legend,
[b-eg68hk7mk4] .dfpp-size legend,
[b-eg68hk7mk4] .dfpp-source legend,
[b-eg68hk7mk4] .dfpp-look legend,
[b-eg68hk7mk4] .dfpp-maxlength-group legend {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0 4px;
}

[b-eg68hk7mk4] .dfpp-size-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
}

/* Wa3: size-by-buttons stays as the WCAG 2.5.7 alternative, but collapsed — the current size is
   always visible, dragging the control's edges on the grid is the primary gesture now. */
[b-eg68hk7mk4] .dfpp-size-current {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

/* Disclosure rows ("Ajustar tamaño con botones", "Cambiar"): a chevron drawn with borders (no text glyph, it takes the text colour). */
[b-eg68hk7mk4] .dfpp-size-details summary,
[b-eg68hk7mk4] .dfpp-source-change summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--dfs-hit);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-accent-strong);
    list-style: none;
}

[b-eg68hk7mk4] .dfpp-size-details summary::-webkit-details-marker,
[b-eg68hk7mk4] .dfpp-source-change summary::-webkit-details-marker {
    display: none;
}

[b-eg68hk7mk4] .dfpp-size-details summary::before,
[b-eg68hk7mk4] .dfpp-source-change summary::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

[b-eg68hk7mk4] .dfpp-size-details[open] summary::before,
[b-eg68hk7mk4] .dfpp-source-change[open] summary::before {
    transform: rotate(45deg);
}

[b-eg68hk7mk4] .dfpp-size-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

[b-eg68hk7mk4] .dfpp-size-row button:hover:not(:disabled) {
    border-color: var(--dfs-accent);
    color: var(--dfs-accent-strong);
    background: var(--dfs-accent-tint);
}

[b-eg68hk7mk4] .dfpp-size-row button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--dfs-surface-muted);
}

[b-eg68hk7mk4] .dfpp-maxlength {
    min-height: var(--dfs-hit);
    padding: 0 12px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

[b-eg68hk7mk4] .dfpp-maxlength:hover:not(.is-selected) {
    border-color: var(--dfs-border-muted);
    background: var(--dfs-surface-alt);
}

[b-eg68hk7mk4] .dfpp-maxlength.is-selected {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    font-weight: 700;
}

[b-eg68hk7mk4] .dfpp-logic-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-eg68hk7mk4] .dfpp-add-logic,
[b-eg68hk7mk4] .dfpp-edit-logic {
    align-self: flex-start;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-accent);
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

[b-eg68hk7mk4] .dfpp-add-logic:hover,
[b-eg68hk7mk4] .dfpp-edit-logic:hover {
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    box-shadow: var(--dfs-shadow-accent);
}

/* Wb3: "Datos: {fuente}" summary once a control is linked, with "Cambiar" collapsed (same disclosure
   pattern as Wa3's "Ajustar tamaño con botones") and "Volver a lista manual" one click away. */
[b-eg68hk7mk4] .dfpp-source-current {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dfs-text-secondary);
}

[b-eg68hk7mk4] .dfpp-source-filter {
    color: var(--dfs-text-muted);
}

[b-eg68hk7mk4] .dfpp-source-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

[b-eg68hk7mk4] .dfpp-source-change .dfpp-field {
    margin-top: 6px;
}

[b-eg68hk7mk4] .dfpp-source-manual {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

[b-eg68hk7mk4] .dfpp-source-manual:hover {
    background: var(--dfs-surface-muted);
}

[b-eg68hk7mk4] .dfsp-note {
    margin: 4px 0 0;
    font-size: 12px;
    font-style: italic;
    color: var(--dfs-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/DynamicFormSourcePreview.razor.rz.scp.css */
.dfsp-preview[b-qx1h19pz7i] {
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--dfs-surface-alt);
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-md);
    font-size: 12px;
}

.dfpp-hint[b-qx1h19pz7i] {
    margin: 0;
    color: var(--dfs-text-muted);
    font-style: italic;
}

.dfpp-preview-title[b-qx1h19pz7i] {
    margin: 0 0 6px 0;
    font-weight: 700;
    color: var(--dfs-text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dfsp-note[b-qx1h19pz7i] {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: var(--dfs-text-muted);
}

.dfpp-preview-list[b-qx1h19pz7i] {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--dfs-text);
    max-height: 140px;
    overflow-y: auto;
}

.dfpp-preview-list li[b-qx1h19pz7i] {
    font-size: 12px;
}

/* The «Cargo» filter of the People source: a field of its own above the preview (same look as the other properties). */
.dfpp-filter[b-qx1h19pz7i] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

.dfpp-filter-select[b-qx1h19pz7i] {
    width: 100%;
    min-height: var(--dfs-hit);
    padding: 0 32px 0 12px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid var(--dfs-border-strong);
    background-color: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--dfs-text-muted) 50%), linear-gradient(135deg, var(--dfs-text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/PropertiesChoiceChips.razor.rz.scp.css */
/* A single choice as chips. Each chip is a label around a real radio input that is invisible but covers the whole chip (a click anywhere
   lands on it, the keyboard behaves like any radio group); the focus ring is drawn on the chip. The selected chip is the accent one.
   The rules that restyle the chip carry the group's class too: the panel styles every label that holds a radio, and this must win. */
.dfpp-chips[b-f2i5mnl5wt] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dfpp-chip[b-f2i5mnl5wt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfpp-chips .dfpp-chip[b-f2i5mnl5wt] {
    gap: 6px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

.dfpp-chips .dfpp-chip:hover[b-f2i5mnl5wt] {
    border-color: var(--dfs-border-muted);
    background: var(--dfs-surface-alt);
}

.dfpp-chips .dfpp-chip.is-selected[b-f2i5mnl5wt] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfpp-chips .dfpp-chip:has(input:focus-visible)[b-f2i5mnl5wt] {
    outline: 2px solid var(--dfs-accent);
    outline-offset: 2px;
}

.dfpp-chips .dfpp-chip:has(input:disabled)[b-f2i5mnl5wt] {
    opacity: 0.6;
    cursor: not-allowed;
}

.dfpp-chips .dfpp-chip input[type="radio"][b-f2i5mnl5wt] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: inherit;
}

.dfpp-chip-text[b-f2i5mnl5wt] {
    white-space: nowrap;
}

/* The colour of a tone, as a dot: next to its name, so the colour is never the only thing that tells the tones apart. */
.dfpp-swatch[b-f2i5mnl5wt] {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dfs-border-muted);
    box-shadow: 0 0 0 1px var(--dfs-border-strong);
}

.dfpp-swatch[data-tone="neutral"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-neutral);
}

.dfpp-swatch[data-tone="brand"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-brand);
}

.dfpp-swatch[data-tone="info"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-info);
}

.dfpp-swatch[data-tone="success"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-success);
}

.dfpp-swatch[data-tone="warning"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-warning);
}

.dfpp-swatch[data-tone="danger"][b-f2i5mnl5wt] {
    background: var(--dfs-tone-danger);
}

@media (forced-colors: active) {
    .dfpp-chips .dfpp-chip.is-selected[b-f2i5mnl5wt] {
        outline: 2px solid Highlight;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/PropertiesIconPicker.razor.rz.scp.css */
/* The icon picker: a grid of 40 px squares, each a label around an invisible radio that covers it. The panel styles every label that holds a
   radio, so the rules that restyle an option carry the grid's class too. The name of the chosen icon is written under the grid. */
.dfpp-icon-grid[b-icyoodwjnw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 6px;
}

.dfpp-icon-option[b-icyoodwjnw] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfpp-icon-grid .dfpp-icon-option[b-icyoodwjnw] {
    min-height: 40px;
    gap: 0;
    padding: 0;
}

.dfpp-icon-grid .dfpp-icon-option:hover[b-icyoodwjnw] {
    border-color: var(--dfs-border-muted);
    background: var(--dfs-surface-alt);
}

.dfpp-icon-grid .dfpp-icon-option.is-selected[b-icyoodwjnw] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    box-shadow: 0 0 0 1px var(--dfs-accent);
}

.dfpp-icon-grid .dfpp-icon-option:has(input:focus-visible)[b-icyoodwjnw] {
    outline: 2px solid var(--dfs-accent);
    outline-offset: 2px;
}

.dfpp-icon-grid .dfpp-icon-option:has(input:disabled)[b-icyoodwjnw] {
    opacity: 0.6;
    cursor: not-allowed;
}

.dfpp-icon-grid .dfpp-icon-option input[type="radio"][b-icyoodwjnw] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: inherit;
}

.dfpp-icon-caption[b-icyoodwjnw] {
    margin: 0;
    font-size: 12px;
    color: var(--dfs-text-muted);
}

@media (forced-colors: active) {
    .dfpp-icon-grid .dfpp-icon-option.is-selected[b-icyoodwjnw] {
        outline: 2px solid Highlight;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/PropertiesItemListEditor.razor.rz.scp.css */
/* The editable list shared by the options of a selection and the points of a checklist. The text boxes take their look from the
   properties panel's .st-input; this stylesheet lays the rows out and styles what is specific to the list. */
.dfpp-items[b-5upnewclnk] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface-alt);
}

.dfpp-items legend[b-5upnewclnk] {
    padding: 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dfpp-items-count[b-5upnewclnk] {
    margin-left: 4px;
    color: var(--dfs-text-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.dfpp-items-list[b-5upnewclnk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dfpp-item-row[b-5upnewclnk] {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) repeat(3, auto);
    align-items: center;
    gap: 2px;
}

.dfpp-item-number[b-5upnewclnk] {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-muted);
    text-align: right;
    padding-right: 4px;
}

/* The text of a row and its counter («n / 80», styled by the panel). The counter sits INSIDE the input, on its right, so showing it moves
   nothing: it appears while the row is being edited and stays when the text nears the limit; the input makes room for it only then. */
.dfpp-item-field[b-5upnewclnk] {
    position: relative;
    min-width: 0;
}

.dfpp-item-add .dfpp-item-field[b-5upnewclnk] {
    flex: 1;
}

.dfpp-item-field .dfpp-counter[b-5upnewclnk] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: none;
    pointer-events: none;
}

.dfpp-item-row:focus-within .dfpp-counter[b-5upnewclnk],
.dfpp-item-add:focus-within .dfpp-counter[b-5upnewclnk],
.dfpp-item-field .dfpp-counter.is-near[b-5upnewclnk],
.dfpp-item-field .dfpp-counter.is-full[b-5upnewclnk] {
    display: block;
}

.dfpp-item-row:focus-within .dfpp-item-input[b-5upnewclnk],
.dfpp-item-add:focus-within .dfpp-item-new[b-5upnewclnk],
.dfpp-item-field:has(.dfpp-counter.is-near) .st-input[b-5upnewclnk],
.dfpp-item-field:has(.dfpp-counter.is-full) .st-input[b-5upnewclnk] {
    padding-right: 60px;
}

/* A repeated text is flagged in the field itself (the message under the list says it in words). */
.dfpp-item-row.is-duplicate .dfpp-item-input[b-5upnewclnk] {
    border-color: var(--dfs-danger);
    background: var(--dfs-danger-tint);
}

.dfpp-item-btn[b-5upnewclnk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dfs-hit);
    height: var(--dfs-hit);
    min-height: var(--dfs-hit);
    border: none;
    border-radius: var(--dfs-radius-md);
    background: transparent;
    color: var(--dfs-text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dfpp-item-btn:hover:not(:disabled)[b-5upnewclnk] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text);
}

.dfpp-item-btn.is-danger:hover:not(:disabled)[b-5upnewclnk] {
    background: var(--dfs-danger-tint-strong);
    color: var(--dfs-danger);
}

.dfpp-item-btn:disabled[b-5upnewclnk] {
    opacity: 0.35;
    cursor: not-allowed;
}

.dfpp-item-error[b-5upnewclnk] {
    margin: -2px 0 0 22px;
    color: var(--dfs-danger-ink);
    font-size: 12px;
    font-weight: 600;
    list-style: none;
}

/* "This option is used by a rule": asked inside the list, next to the row it is about, with both ways out one click away. */
.dfpp-item-confirm[b-5upnewclnk] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 0 22px;
    padding: 10px 12px;
    border: 1px solid var(--dfs-danger-line);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    list-style: none;
}

.dfpp-item-confirm p[b-5upnewclnk] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.dfpp-item-confirm-actions[b-5upnewclnk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dfpp-item-remove-confirm[b-5upnewclnk] {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: none;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger);
    color: var(--dfs-on-accent);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dfpp-item-remove-confirm:hover[b-5upnewclnk] {
    background: var(--dfs-danger-ink);
}

.dfpp-item-remove-cancel[b-5upnewclnk] {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dfpp-item-remove-cancel:hover[b-5upnewclnk] {
    background: var(--dfs-surface-muted);
}

.dfpp-items-duplicates[b-5upnewclnk] {
    margin: 0;
    padding: 6px 10px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.dfpp-items-full[b-5upnewclnk] {
    margin: 0;
    padding: 6px 10px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
    font-size: 12px;
    font-weight: 600;
}

.dfpp-item-add[b-5upnewclnk] {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.dfpp-item-new[b-5upnewclnk] {
    flex: 1;
    min-width: 0;
}

.dfpp-item-add-btn[b-5upnewclnk] {
    flex-shrink: 0;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-accent);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.dfpp-item-add-btn:hover[b-5upnewclnk] {
    background: var(--dfs-accent-strong);
    border-color: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/PropertiesQueriesTab.razor.rz.scp.css */
.dfpp-queries[b-lzf5o174cx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--dfs-text);
    padding: 2px;
}

.dfpp-queries-intro[b-lzf5o174cx] {
    margin: 0 0 4px 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--dfs-text-muted);
}

/* HTML5 native drag (a different event family from GridStack's own mousedown drag): the card is the drag source. No lift on hover:
   a card that moves under the pointer is a bad thing to grab. */
.dfpp-source-card[b-lzf5o174cx] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    padding: 12px 14px;
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-sm);
    cursor: grab;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dfpp-source-card:hover[b-lzf5o174cx] {
    border-color: var(--dfs-border-strong);
    box-shadow: var(--dfs-shadow-md);
}

.dfpp-source-card:active[b-lzf5o174cx] {
    cursor: grabbing;
}

.dfpp-source-card.is-unavailable[b-lzf5o174cx] {
    cursor: default;
    background: var(--dfs-surface-alt);
    border-color: var(--dfs-surface-muted);
    opacity: 0.8;
    box-shadow: none;
}

.dfpp-source-icon[b-lzf5o174cx] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    font-size: 16px;
}

.is-unavailable .dfpp-source-icon[b-lzf5o174cx] {
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-muted);
}

.dfpp-source-body[b-lzf5o174cx] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dfpp-source-heading[b-lzf5o174cx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dfpp-source-name[b-lzf5o174cx] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--dfs-text);
    line-height: 1.3;
}

.dfpp-source-badge[b-lzf5o174cx] {
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface-muted);
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.dfpp-source-description[b-lzf5o174cx] {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--dfs-text-muted);
}

.dfpp-source-preview-toggle[b-lzf5o174cx] {
    align-self: flex-start;
    min-height: var(--dfs-hit);
    padding: 0 12px;
    margin-top: 2px;
    border: 1px solid var(--dfs-accent-line);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-accent-wash);
    color: var(--dfs-accent-strong);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dfpp-source-preview-toggle:hover[b-lzf5o174cx] {
    background: var(--dfs-accent-soft);
    border-color: var(--dfs-accent);
}

/* "Aplicar a «{pregunta}»" names the selected question, so it can be long: it takes its own row under the card's text instead
   of squeezing the title and the description into a sliver beside it. */
.dfpp-source-apply[b-lzf5o174cx] {
    flex: 1 1 100%;
    min-height: var(--dfs-hit);
    padding: 6px 16px;
    border-radius: var(--dfs-radius-pill);
    border: 1px solid var(--dfs-accent);
    background: var(--dfs-surface);
    color: var(--dfs-accent-strong);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    overflow-wrap: anywhere;
}

.dfpp-source-apply:hover:not(:disabled)[b-lzf5o174cx] {
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    box-shadow: var(--dfs-shadow-accent);
}

.dfpp-source-apply:disabled[b-lzf5o174cx] {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: var(--dfs-border-strong);
    color: var(--dfs-text-muted);
    background: var(--dfs-surface-alt);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Properties/PropertiesTextField.razor.rz.scp.css */
/* A text of the Properties panel: the caption on the left and its counter on the right, then the input. The look of the input itself (.st-input)
   and of the counter (.dfpp-counter) come from the panel's stylesheet, shared with the rows of the options lists. */
.dfpp-field-head[b-zzmak3m2wj] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.dfpp-field-label[b-zzmak3m2wj] {
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Publishing/DynamicFormAssignDialog.razor.rz.scp.css */
[b-pzhzyph7p7] .dfad-modal {
    max-width: 560px;
}

.dfad-dialog[b-pzhzyph7p7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    color: var(--dfs-glass-text);
}

.dfad-intro[b-pzhzyph7p7] {
    margin: 0;
    line-height: 1.5;
    color: var(--dfs-glass-text-soft);
}

.dfad-form[b-pzhzyph7p7] {
    color: var(--dfs-glass-text);
}

.dfad-blocked[b-pzhzyph7p7] {
    padding: 12px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-surface);
    border: 1px solid var(--dfs-glass-border-strong);
}

.dfad-blocked-title[b-pzhzyph7p7] {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dfs-glass-warning);
}

.dfad-blocked-text[b-pzhzyph7p7] {
    margin: 0;
    line-height: 1.5;
    color: var(--dfs-glass-text-soft);
}

.dfad-loading[b-pzhzyph7p7],
.dfad-empty[b-pzhzyph7p7] {
    margin: 0;
    color: var(--dfs-glass-text-muted);
}

.dfad-error[b-pzhzyph7p7] {
    margin: 0;
    padding: 8px 12px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-danger-bg);
    border: 1px solid var(--dfs-glass-danger-line);
    color: var(--dfs-glass-danger);
}

.dfad-list[b-pzhzyph7p7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.dfad-row[b-pzhzyph7p7] {
    border: 1px solid var(--dfs-glass-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-glass-surface);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dfad-row:hover[b-pzhzyph7p7] {
    background: var(--dfs-glass-hover);
    border-color: var(--dfs-glass-border-strong);
}

.dfad-row.is-selected[b-pzhzyph7p7] {
    border-color: var(--dfs-accent-line);
    background: var(--dfs-glass-active);
}

/* The whole row is the label of its checkbox: a big, easy target (the box itself is only 20 px). */
.dfad-label[b-pzhzyph7p7] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 14px;
    box-sizing: border-box;
    cursor: pointer;
}

.dfad-check[b-pzhzyph7p7] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--dfs-accent);
    cursor: pointer;
}

.dfad-text[b-pzhzyph7p7] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dfad-route[b-pzhzyph7p7] {
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.dfad-current[b-pzhzyph7p7] {
    font-size: 12px;
    color: var(--dfs-glass-text-muted);
}

.dfad-replaces[b-pzhzyph7p7] {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-glass-warning);
}

.dfad-inactive[b-pzhzyph7p7] {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    border: 1px solid var(--dfs-glass-border-strong);
    color: var(--dfs-glass-warning);
    font-size: 12px;
    font-weight: 700;
}

.dfad-summary[b-pzhzyph7p7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-surface);
    border: 1px dashed var(--dfs-glass-border-strong);
}

.dfad-summary-line[b-pzhzyph7p7] {
    margin: 0;
    font-weight: 600;
    color: var(--dfs-glass-text);
}

.dfad-summary-line.is-quiet[b-pzhzyph7p7] {
    font-weight: 400;
    color: var(--dfs-glass-text-muted);
}

.dfad-retry[b-pzhzyph7p7],
.dfad-cancel[b-pzhzyph7p7] {
    align-self: flex-start;
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border: 1px solid var(--dfs-glass-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text-soft);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dfad-retry:hover[b-pzhzyph7p7],
.dfad-cancel:hover:not(:disabled)[b-pzhzyph7p7] {
    background: var(--dfs-glass-active);
    border-color: var(--dfs-glass-border-hover);
    color: var(--dfs-on-accent);
}

.dfad-cancel:disabled[b-pzhzyph7p7] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dfad-apply[b-pzhzyph7p7] {
    min-height: var(--dfs-hit);
    padding: 0 24px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--dfs-shadow-accent);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dfad-apply:hover:not(:disabled)[b-pzhzyph7p7] {
    background: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent-hover);
}

.dfad-apply:disabled[b-pzhzyph7p7] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
    box-shadow: none;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Publishing/DynamicFormPublishDialog.razor.rz.scp.css */
[b-vrdivclwe7] .dfpb-modal {
    max-width: 520px;
}

.dfpb-dialog[b-vrdivclwe7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    color: var(--dfs-glass-text);
}

.dfpb-issues-title[b-vrdivclwe7] {
    font-weight: 700;
    color: var(--dfs-glass-warning);
    margin: 0;
    font-size: 14px;
}

.dfpb-issues[b-vrdivclwe7] {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dfpb-issue-link[b-vrdivclwe7] {
    background: none;
    border: none;
    padding: 0;
    color: var(--dfs-glass-link);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    transition: color 0.2s ease;
}

.dfpb-issue-link:hover[b-vrdivclwe7] {
    color: var(--dfs-glass-link-hover);
}

/* The control a problem is about, by the name the person knows it by: a chip next to the message. */
.dfpb-issue-control[b-vrdivclwe7] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-active);
    color: var(--dfs-glass-text-soft);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dfpb-issue-text[b-vrdivclwe7] {
    color: var(--dfs-glass-text-soft);
    font-size: 13px;
}

.dfpb-error[b-vrdivclwe7] {
    color: var(--dfs-glass-danger);
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-danger-bg);
    border: 1px solid var(--dfs-glass-danger-line);
    font-size: 13px;
}

.dfpb-review-title[b-vrdivclwe7] {
    font-weight: 700;
    font-size: 14px;
    color: var(--dfs-glass-text);
    margin: 0;
}

.dfpb-review-subtitle[b-vrdivclwe7] {
    color: var(--dfs-glass-text-muted);
    margin: 0;
    font-size: 12px;
}

.dfpb-review-list[b-vrdivclwe7] {
    margin: 4px 0;
    padding: 10px 14px 10px 28px;
    max-height: 220px;
    overflow-y: auto;
    color: var(--dfs-glass-text-soft);
    background: var(--dfs-glass-surface);
    border: 1px solid var(--dfs-glass-border);
    border-radius: var(--dfs-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dfpb-review-list li[b-vrdivclwe7] {
    font-size: 13px;
}

.dfpb-review-check[b-vrdivclwe7] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--dfs-hit);
    font-weight: 600;
    color: var(--dfs-glass-text);
    cursor: pointer;
    padding: 0 10px;
    border-radius: var(--dfs-radius-md);
    transition: background-color 0.2s ease;
    user-select: none;
}

.dfpb-review-check:hover[b-vrdivclwe7] {
    background: var(--dfs-glass-surface);
}

.dfpb-review-checkbox[b-vrdivclwe7] {
    width: 16px;
    height: 16px;
    accent-color: var(--dfs-accent);
    cursor: pointer;
}

.dfpb-review-error[b-vrdivclwe7] {
    color: var(--dfs-glass-danger);
    margin: 0;
    font-size: 12px;
}

.dfpb-success[b-vrdivclwe7] {
    color: var(--dfs-glass-success);
    font-weight: 700;
    padding: 12px 16px;
    background: var(--dfs-glass-success-bg);
    border: 1px solid var(--dfs-glass-success-line);
    border-radius: var(--dfs-radius-md);
    margin: 0;
}

.dfpb-keep-editing[b-vrdivclwe7] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border-radius: 24px;
    border: 1px solid var(--dfs-glass-border-strong);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text-soft);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dfpb-keep-editing:hover[b-vrdivclwe7] {
    background: var(--dfs-glass-active);
    border-color: var(--dfs-glass-border-hover);
    color: var(--dfs-on-accent);
}

.dfpb-publish-btn[b-vrdivclwe7],
.dfpb-publish[b-vrdivclwe7] {
    min-height: var(--dfs-hit);
    padding: 0 24px;
    border-radius: 24px;
    border: none;
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--dfs-shadow-accent);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dfpb-publish-btn:hover:not(:disabled)[b-vrdivclwe7],
.dfpb-publish:hover:not(:disabled)[b-vrdivclwe7] {
    background: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent-hover);
}

.dfpb-publish-btn:disabled[b-vrdivclwe7],
.dfpb-publish:disabled[b-vrdivclwe7] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
    box-shadow: none;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Publishing/DynamicFormUsagePopover.razor.rz.scp.css */
/* "Se usa en": a button under which a panel opens. Light surface (it lives in the list and under the editor's bar), --dfs-* tokens. */
.dfup-wrap[b-n86jlopknf] {
    position: relative;
    display: inline-block;
}

.dfup-trigger[b-n86jlopknf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--dfs-hit);
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--dfs-radius-md);
    background: none;
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfup-trigger:hover[b-n86jlopknf],
.dfup-trigger[aria-expanded="true"][b-n86jlopknf] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

/* A transparent layer under the panel and over the page: a click anywhere else closes it. */
.dfup-backdrop[b-n86jlopknf] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.dfup-panel[b-n86jlopknf] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 41;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    min-width: 240px;
    max-width: min(420px, calc(100vw - 32px));
    max-height: 320px;
    overflow-y: auto;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    box-shadow: var(--dfs-shadow-lg);
    color: var(--dfs-text);
    text-decoration: none;
}

.dfup-panel:focus-visible[b-n86jlopknf] {
    outline: none;
}

.dfup-title[b-n86jlopknf] {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--dfs-text-muted);
}

.dfup-list[b-n86jlopknf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dfup-item[b-n86jlopknf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface-alt);
}

.dfup-route[b-n86jlopknf] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dfs-text);
}

.dfup-to[b-n86jlopknf] {
    color: var(--dfs-accent-ink);
}

.dfup-inactive[b-n86jlopknf] {
    padding: 2px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-warning-tint);
    color: var(--dfs-warning-ink);
    font-size: 12px;
    font-weight: 700;
}

.dfup-loading[b-n86jlopknf],
.dfup-empty[b-n86jlopknf] {
    margin: 0;
    font-size: 13px;
    color: var(--dfs-text-muted);
}

.dfup-error[b-n86jlopknf] {
    margin: 0;
    padding: 8px 10px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 13px;
}

.dfup-retry[b-n86jlopknf] {
    align-self: flex-start;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dfup-retry:hover[b-n86jlopknf] {
    border-color: var(--dfs-accent);
    color: var(--dfs-accent-strong);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Editor/Structure/DynamicFormStructureList.razor.rz.scp.css */
/* The keyboard alternative to dragging, said out loud (WCAG 2.5.7) instead of living in a code comment. */
.dfe-structure-hint[b-ad5hmeqy94] {
    margin: 0;
    padding: 10px 12px 0;
    color: var(--dfs-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.dfe-structure-list[b-ad5hmeqy94] {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* A grid, not a row: the name gets the whole width (a rail panel is narrow) and the "Del sistema" tag and the rule mark go under it. */
.dfe-structure-item[b-ad5hmeqy94] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 6px;
    min-height: var(--dfs-hit);
    padding: 6px 10px;
    border-radius: var(--dfs-radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--dfs-text);
    font-size: 13px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dfe-structure-item:hover[b-ad5hmeqy94] {
    background: var(--dfs-surface-muted);
}

.dfe-structure-item.is-selected[b-ad5hmeqy94] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
}

.dfe-structure-order[b-ad5hmeqy94] {
    grid-column: 1;
    grid-row: 1;
    font-weight: 700;
    color: var(--dfs-text-muted);
    min-width: 22px;
}

/* Up to two lines before cutting: in the docked rail panel a one-line label left «¿Está …» of «¿Está en el taller?». */
.dfe-structure-label[b-ad5hmeqy94] {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    line-height: 1.35;
}

/* Same compact badge as DynamicFormCanvas.razor.css's .dfe-system-tag: CSS isolation scopes each stylesheet separately. */
.dfe-system-tag[b-ad5hmeqy94] {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-info-tint);
    color: var(--dfs-info-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    cursor: help;
}

/* A control that has a rule shows the logic glyph, like on the canvas (the row's accessible name says it too). */
.dfe-structure-logic[b-ad5hmeqy94] {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    color: var(--dfs-text-muted);
}

.dfe-structure-size[b-ad5hmeqy94] {
    grid-column: 3;
    grid-row: 1;
    font-size: 12px;
    color: var(--dfs-text-muted);
    font-weight: 600;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/NewDynamicFormDialog.razor.rz.scp.css */
.ndf-dialog[b-tyqe8uqbe2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ndf-label[b-tyqe8uqbe2] {
    font-size: 13px;
    font-weight: 700;
    color: var(--dfs-glass-text);
}

.ndf-dialog .st-input[b-tyqe8uqbe2] {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--dfs-radius-lg);
    border: 1px solid var(--dfs-glass-border-strong);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ndf-dialog .st-input:hover[b-tyqe8uqbe2] {
    border-color: var(--dfs-glass-border-hover);
    background: var(--dfs-glass-hover);
}

.ndf-dialog .st-input:focus[b-tyqe8uqbe2] {
    border-color: var(--dfs-accent);
    background: var(--dfs-glass-hover);
}

.ndf-error[b-tyqe8uqbe2] {
    margin: 0;
    font-size: 12px;
    color: var(--dfs-glass-danger);
}

.ndf-subtitle[b-tyqe8uqbe2] {
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dfs-glass-text);
}

/* Two columns while the dialog has room for them; one column on a phone-width dialog (it used to force a 420 px minimum). */
.ndf-templates[b-tyqe8uqbe2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 10px;
}

.ndf-template[b-tyqe8uqbe2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: var(--dfs-hit);
    text-align: left;
    padding: 12px 14px;
    border: 1.5px solid var(--dfs-glass-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-glass-surface);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ndf-template:hover[b-tyqe8uqbe2] {
    border-color: var(--dfs-accent-line);
    background: var(--dfs-glass-hover);
    box-shadow: var(--dfs-shadow-md);
}

.ndf-template.is-selected[b-tyqe8uqbe2] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-soft);
    box-shadow: 0 0 0 1px var(--dfs-accent), var(--dfs-shadow-accent);
}

.ndf-template-title[b-tyqe8uqbe2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dfs-glass-text);
}

.ndf-template-badge[b-tyqe8uqbe2] {
    padding: 1px 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-success-bg);
    color: var(--dfs-glass-success);
    border: 1px solid var(--dfs-glass-success-line);
    font-size: 12px;
    font-weight: 700;
}

.ndf-template-description[b-tyqe8uqbe2] {
    font-size: 12px;
    color: var(--dfs-glass-text-muted);
    line-height: 1.4;
}

.ndf-cancel[b-tyqe8uqbe2] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border-radius: 24px;
    border: 1px solid var(--dfs-glass-border-strong);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text-soft);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ndf-cancel:hover[b-tyqe8uqbe2] {
    background: var(--dfs-glass-active);
    border-color: var(--dfs-glass-border-hover);
    color: var(--dfs-on-accent);
}

.ndf-submit[b-tyqe8uqbe2] {
    min-height: var(--dfs-hit);
    padding: 0 22px;
    border-radius: 24px;
    border: none;
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: var(--dfs-shadow-accent);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ndf-submit:hover:not(:disabled)[b-tyqe8uqbe2] {
    background: var(--dfs-accent-strong);
    box-shadow: var(--dfs-shadow-accent-hover);
}

.ndf-submit:disabled[b-tyqe8uqbe2] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
    box-shadow: none;
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Responses/DynamicFormResponseDetail.razor.rz.scp.css */
/* One filled form in the platform's dark side panel (--dfs-glass-* tokens: light text on navy). */
.dfrd-panel[b-a9cge9u9ve] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 8px 24px;
    color: var(--dfs-glass-text);
}

.dfrd-header[b-a9cge9u9ve] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 28px;
}

.dfrd-title[b-a9cge9u9ve] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.dfrd-when[b-a9cge9u9ve] {
    margin: 0;
    font-size: 13px;
    color: var(--dfs-glass-text-muted);
}

.dfrd-meta[b-a9cge9u9ve] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--dfs-glass-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-glass-surface);
}

.dfrd-meta-item[b-a9cge9u9ve] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dfrd-meta-item dt[b-a9cge9u9ve] {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--dfs-glass-text-muted);
}

.dfrd-meta-item dd[b-a9cge9u9ve] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.dfrd-loading[b-a9cge9u9ve],
.dfrd-empty[b-a9cge9u9ve] {
    margin: 0;
    font-size: 13px;
    color: var(--dfs-glass-text-muted);
}

.dfrd-error[b-a9cge9u9ve] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--dfs-glass-danger-line);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-glass-danger-bg);
    color: var(--dfs-glass-danger);
    font-size: 13px;
}

.dfrd-error-text[b-a9cge9u9ve] {
    margin: 0;
}

.dfrd-retry[b-a9cge9u9ve] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border: 1px solid var(--dfs-glass-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-glass-field);
    color: var(--dfs-glass-text-soft);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dfrd-retry:hover[b-a9cge9u9ve] {
    background: var(--dfs-glass-active);
    border-color: var(--dfs-glass-border-hover);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Responses/DynamicFormResponsesView.razor.rz.scp.css */
/* The "Respuestas" tab: a column of header, filters, summary and the table of answers. The width that counts is the view's own (a container
   query), not the viewport's: inside the editor the view shares the screen with the global sidebar. Light surface, --dfs-* tokens. */
.dfr-view[b-zi1hzrkcs1] {
    container-type: inline-size;
    container-name: dfrview;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 48px;
    box-sizing: border-box;
    color: var(--dfs-text);
}

.dfr-header[b-zi1hzrkcs1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dfr-heading[b-zi1hzrkcs1] {
    min-width: 0;
}

.dfr-title[b-zi1hzrkcs1] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.dfr-subtitle[b-zi1hzrkcs1] {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--dfs-text-muted);
    overflow-wrap: anywhere;
}

.dfr-export[b-zi1hzrkcs1] {
    min-height: var(--dfs-hit);
    padding: 0 20px;
    border: none;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent);
    color: var(--dfs-on-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.dfr-export:hover:not(:disabled)[b-zi1hzrkcs1] {
    background: var(--dfs-accent-strong);
}

.dfr-export:disabled[b-zi1hzrkcs1] {
    background: var(--dfs-accent-disabled);
    color: var(--dfs-on-accent-muted);
    cursor: not-allowed;
}

/* ─── Filters ───────────────────────────────────────────────────────────────────────────────────────────── */
.dfr-filters[b-zi1hzrkcs1] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
}

.dfr-field[b-zi1hzrkcs1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dfr-field-label[b-zi1hzrkcs1] {
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

.dfr-date[b-zi1hzrkcs1] {
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 14px;
    box-sizing: border-box;
}

.dfr-date:focus-visible[b-zi1hzrkcs1] {
    border-color: var(--dfs-accent);
}

.dfr-quick-ranges[b-zi1hzrkcs1] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dfr-quick[b-zi1hzrkcs1] {
    min-height: var(--dfs-hit);
    padding: 0 14px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dfr-quick:hover[b-zi1hzrkcs1] {
    border-color: var(--dfs-accent);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
}

.dfr-range-problem[b-zi1hzrkcs1],
.dfr-export-error[b-zi1hzrkcs1] {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-danger-tint);
    color: var(--dfs-danger-ink);
    font-size: 13px;
    font-weight: 600;
}

.dfr-export-notice[b-zi1hzrkcs1] {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--dfs-radius-md);
    background: var(--dfs-success-tint);
    color: var(--dfs-success-ink);
    font-size: 13px;
    font-weight: 600;
}

.dfr-summary[b-zi1hzrkcs1] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}

/* ─── States ────────────────────────────────────────────────────────────────────────────────────────────── */
.dfr-state[b-zi1hzrkcs1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 36px 16px;
    text-align: center;
    border: 1px dashed var(--dfs-border-strong);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface-alt);
}

.dfr-state.is-error[b-zi1hzrkcs1] {
    border-style: solid;
    border-color: var(--dfs-danger-line);
    background: var(--dfs-danger-tint);
}

.dfr-state-title[b-zi1hzrkcs1] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dfs-text-secondary);
}

.dfr-state.is-error .dfr-state-title[b-zi1hzrkcs1] {
    color: var(--dfs-danger-ink);
}

.dfr-state-text[b-zi1hzrkcs1] {
    margin: 0;
    max-width: 52ch;
    font-size: 13px;
    color: var(--dfs-text-muted);
}

.dfr-retry[b-zi1hzrkcs1] {
    min-height: var(--dfs-hit);
    margin-top: 6px;
    padding: 0 18px;
    border: 1px solid var(--dfs-danger-ink);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-danger-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dfr-retry:hover[b-zi1hzrkcs1] {
    background: var(--dfs-danger-tint-strong);
}

/* ─── The table: columns when there is room, a card per answer when there is not ─────────────────────────── */
.dfr-table[b-zi1hzrkcs1] {
    border: 1px solid var(--dfs-border);
    border-radius: var(--dfs-radius-lg);
    background: var(--dfs-surface);
    overflow: hidden;
}

.dfr-head[b-zi1hzrkcs1],
.dfr-row[b-zi1hzrkcs1] {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr 1.8fr 1.4fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
}

.dfr-head[b-zi1hzrkcs1] {
    background: var(--dfs-surface-alt);
    border-bottom: 1px solid var(--dfs-border);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--dfs-text-muted);
}

.dfr-rows[b-zi1hzrkcs1] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dfr-rows > li + li[b-zi1hzrkcs1] {
    border-top: 1px solid var(--dfs-border);
}

.dfr-row[b-zi1hzrkcs1] {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: none;
    background: var(--dfs-surface);
    color: var(--dfs-text);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dfr-row:hover[b-zi1hzrkcs1] {
    background: var(--dfs-accent-tint);
}

.dfr-cell[b-zi1hzrkcs1] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dfr-cell-order[b-zi1hzrkcs1],
.dfr-cell-plate[b-zi1hzrkcs1] {
    font-weight: 700;
}

.dfr-cell[b-zi1hzrkcs1]::before {
    display: none;
    content: attr(data-label);
    margin-right: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dfs-text-muted);
}

/* A narrow view: no header row, and each answer is a card whose cells say what they are. */
@container dfrview (max-width: 760px) {
    .dfr-head[b-zi1hzrkcs1] {
        display: none;
    }

    .dfr-rows[b-zi1hzrkcs1] {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .dfr-rows > li + li[b-zi1hzrkcs1] {
        border-top: none;
    }

    .dfr-row[b-zi1hzrkcs1] {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 12px 14px;
        border: 1px solid var(--dfs-border);
        border-radius: var(--dfs-radius-md);
    }

    .dfr-cell[b-zi1hzrkcs1] {
        display: flex;
        align-items: baseline;
    }

    .dfr-cell[b-zi1hzrkcs1]::before {
        display: inline;
        flex: 0 0 96px;
    }

    .dfr-export[b-zi1hzrkcs1] {
        width: 100%;
    }
}

/* ─── Pager ─────────────────────────────────────────────────────────────────────────────────────────────── */
.dfr-pager[b-zi1hzrkcs1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dfr-prev[b-zi1hzrkcs1],
.dfr-next[b-zi1hzrkcs1] {
    min-height: var(--dfs-hit);
    padding: 0 18px;
    border: 1px solid var(--dfs-border-strong);
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-surface);
    color: var(--dfs-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.dfr-prev:hover:not(:disabled)[b-zi1hzrkcs1],
.dfr-next:hover:not(:disabled)[b-zi1hzrkcs1] {
    border-color: var(--dfs-accent);
    color: var(--dfs-accent-strong);
}

.dfr-prev:disabled[b-zi1hzrkcs1],
.dfr-next:disabled[b-zi1hzrkcs1] {
    opacity: 0.45;
    cursor: not-allowed;
}

.dfr-page[b-zi1hzrkcs1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--dfs-text-secondary);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Shared/DynamicFormConflictBanner.razor.rz.scp.css */
.dfcb-banner[b-schnsz6bmz] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--dfs-danger-tint);
    border: 1px solid var(--dfs-danger-line);
    border-radius: var(--dfs-radius-md);
    padding: 10px 12px;
    color: var(--dfs-danger-ink);
}

.dfcb-icon[b-schnsz6bmz] {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 1px;
}

.dfcb-text[b-schnsz6bmz] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dfcb-message[b-schnsz6bmz] {
    margin: 0;
    font-weight: 700;
}

.dfcb-hint[b-schnsz6bmz] {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.dfcb-reload[b-schnsz6bmz] {
    flex-shrink: 0;
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border-radius: 24px;
    border: 1px solid var(--dfs-danger-ink);
    background: var(--dfs-surface);
    color: var(--dfs-danger-ink);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.dfcb-reload:hover[b-schnsz6bmz] {
    background: var(--dfs-danger-tint-strong);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Shared/DynamicFormMobilePreview.razor.rz.scp.css */
/* The phone frame around the REAL fill form (the renderer paints everything inside the screen with its own styles). The frame is exactly
   360 / 412 px wide (inline width) and never wider than its container; the screen leaves the gutters a phone has, so the renderer gets
   the width it gets on the technician's device and pairs short fields the same way. */
.dfmp-preview[b-v87m6ufhw0] {
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 8px 12px;
    background: var(--dfs-surface-alt);
    border: 1px solid var(--dfs-border-strong);
    border-radius: 28px;
    box-shadow: var(--dfs-shadow-md);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* The speaker slot of the phone. */
.dfmp-preview[b-v87m6ufhw0]::before {
    content: "";
    align-self: center;
    width: 56px;
    height: 5px;
    margin: 2px 0 8px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-border-strong);
}

.dfmp-appbar[b-v87m6ufhw0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: var(--dfs-surface);
    border-bottom: 1px solid var(--dfs-border);
    border-radius: 20px 20px 0 0;
}

.dfmp-appbar-name[b-v87m6ufhw0] {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--dfs-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfmp-appbar-badge[b-v87m6ufhw0] {
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: var(--dfs-radius-pill);
    background: var(--dfs-accent-tint);
    color: var(--dfs-accent-strong);
    font-size: 12px;
    font-weight: 700;
}

/* The white card the renderer is designed for. */
.dfmp-screen[b-v87m6ufhw0] {
    min-width: 0;
    padding: 12px 12px 16px;
    background: var(--dfs-surface);
    border-radius: 0 0 20px 20px;
}

.dfmp-loading[b-v87m6ufhw0],
.dfmp-empty[b-v87m6ufhw0] {
    margin: 0;
    padding: 24px 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dfs-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Shared/DynamicFormPhonePreviewModal.razor.rz.scp.css */
[b-cic41q8o1j] .dfpm-modal {
    max-width: 460px;
}

.dfpm-toggle[b-cic41q8o1j] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dfpm-toggle-btn[b-cic41q8o1j] {
    min-height: var(--dfs-hit);
    padding: 0 16px;
    border-radius: var(--dfs-radius-pill);
    border: 1px solid var(--dfs-border-strong);
    background: var(--dfs-surface);
    color: var(--dfs-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dfpm-toggle-btn.is-active[b-cic41q8o1j] {
    border-color: var(--dfs-gold);
    background: var(--dfs-gold-tint);
    color: var(--dfs-text);
}
/* /Pages/Home/Components/Setting/Department/Components/Forms/Shared/DynamicFormsTheme.razor.rz.scp.css */
/* The single source of the Forms feature's design tokens (--dfs-*). Every other Forms stylesheet READS these and declares no
   colour of its own (DynamicFormsStylesheetTests fails the build of the sprint if one does). Values follow the systime-design
   skill: Electric Magenta accent, light panels with Navy-slate text, a dark glass for the dialogs, 4 px grid, 36 px hit target.
   display: contents -> the wrapper is a node for the custom properties to inherit from, never a box. */
.dfs-theme[b-tdt83pu4sb] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;

    /* ── Brand: ONE magenta ─────────────────────────────────────────────────────────────────────────────── */
    --dfs-accent: var(--st-accent, #d81b84);
    --dfs-accent-strong: var(--st-accent-text, #be185d);                       /* hover of a filled accent button; accent TEXT on a tinted surface (contrast >= 4.5) */
    --dfs-accent-ink: var(--st-accent-text, #831843);                          /* text on --dfs-accent-tint */
    --dfs-accent-tint: var(--st-accent-bg, #fdf2f8);                         /* pale pink surface: hover, selected row, chips */
    --dfs-accent-wash: rgba(216, 27, 132, 0.08);        /* a veil over any surface (drop placeholder) */
    --dfs-accent-soft: rgba(216, 27, 132, 0.12);        /* hover / selection halo */
    --dfs-accent-line: rgba(216, 27, 132, 0.3);         /* outline of an accent chip or button on a light surface */
    --dfs-accent-glow: rgba(216, 27, 132, 0.45);        /* glow of the resize handles of the selected control */
    --dfs-accent-disabled: rgba(216, 27, 132, 0.35);    /* a filled accent button that cannot be pressed */
    --dfs-on-accent: var(--st-on-accent, #ffffff);
    --dfs-on-accent-muted: rgba(255, 255, 255, 0.7);

    /* ── Light surfaces and lines (the panels, the canvas, the list) ────────────────────────────────────── */
    --dfs-surface: var(--st-surface, #ffffff);
    --dfs-surface-alt: var(--st-surface-muted, #f8fafc);
    --dfs-surface-muted: var(--st-surface-sunken, #f1f5f9);
    --dfs-surface-veil: rgba(255, 255, 255, 0.92);
    --dfs-border: var(--st-border, #e2e8f0);
    --dfs-border-strong: var(--st-border-strong, #cbd5e1);
    --dfs-border-muted: var(--st-border-stronger, #94a3b8);                        /* the darkest line: unchecked boxes, resize handles at rest */

    /* ── Text on light surfaces ─────────────────────────────────────────────────────────────────────────── */
    --dfs-text: var(--st-text, #1e293b);
    --dfs-text-secondary: var(--st-text-secondary, #334d6e);
    --dfs-text-muted: var(--st-text-subtle, #64748b);                          /* the lightest allowed text: 4.7:1 on white */

    /* ── Status ─────────────────────────────────────────────────────────────────────────────────────────── */
    --dfs-danger: var(--st-danger-fg, #dc2626);
    --dfs-danger-ink: var(--st-danger-text, #b42318);
    --dfs-danger-tint: var(--st-danger-bg, #fef2f2);
    --dfs-danger-tint-strong: var(--st-danger-bg-strong, #fee2e2);
    --dfs-danger-line: var(--st-danger-border, #fecaca);
    --dfs-danger-line-strong: #fca5a5;
    --dfs-success-ink: var(--st-success-text, #166534);
    --dfs-success-tint: var(--st-success-bg, #dcfce7);
    --dfs-warning: var(--st-warning-fg, #d97706);
    --dfs-warning-ink: var(--st-warning-text, #92400e);
    --dfs-warning-tint: var(--st-warning-bg, #fef3c7);
    --dfs-info-ink: var(--st-info-text, #0369a1);
    --dfs-info-tint: var(--st-info-bg, #e0f2fe);
    --dfs-gold: var(--st-brand-gold, #ffc107);
    --dfs-gold-tint: var(--st-gold-bg, #fff8e1);

    /* ── Tones of a visual control (Presentation.Tone): accent (bars, swatches, icons) · soft surface · edge · ink (the text that sits on
       the soft surface, >= 4.5:1). They mirror the palette the phone renderer paints, so the canvas miniature and the Propiedades swatches
       anticipate what the technician gets. Brand, neutral and danger reuse the tokens above; the rest are their own. ───────────────── */
    --dfs-tone-neutral: var(--dfs-text-muted);
    --dfs-tone-neutral-soft: var(--dfs-surface-muted);
    --dfs-tone-neutral-edge: var(--dfs-border);
    --dfs-tone-neutral-ink: var(--dfs-text);
    --dfs-tone-brand: var(--dfs-accent);
    --dfs-tone-brand-soft: var(--dfs-accent-tint);
    --dfs-tone-brand-edge: var(--st-accent-border, #fbcfe8);
    --dfs-tone-brand-ink: var(--dfs-accent-ink);
    --dfs-tone-info: var(--st-info-fg, #2563eb);
    --dfs-tone-info-soft: var(--st-info-bg, #eff6ff);
    --dfs-tone-info-edge: var(--st-info-border, #bfdbfe);
    --dfs-tone-info-ink: var(--st-info-text, #1e3a8a);
    --dfs-tone-success: var(--st-success-fg, #16a34a);
    --dfs-tone-success-soft: var(--st-success-bg, #f0fdf4);
    --dfs-tone-success-edge: var(--st-success-border, #bbf7d0);
    --dfs-tone-success-ink: var(--st-success-text, #14532d);
    --dfs-tone-warning: #dea301;
    --dfs-tone-warning-soft: var(--st-warning-bg, #fffbeb);
    --dfs-tone-warning-edge: var(--st-warning-border, #fde68a);
    --dfs-tone-warning-ink: var(--st-warning-text, #7a5200);
    --dfs-tone-danger: var(--dfs-danger);
    --dfs-tone-danger-soft: var(--dfs-danger-tint);
    --dfs-tone-danger-edge: var(--dfs-danger-line);
    --dfs-tone-danger-ink: var(--st-danger-text, #7f1d1d);

    /* ── Elevation ──────────────────────────────────────────────────────────────────────────────────────── */
    --dfs-shadow-sm: var(--st-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.08));
    --dfs-shadow-md: var(--st-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.14));
    --dfs-shadow-lg: var(--st-shadow-lg, 0 12px 32px rgba(0, 0, 0, 0.18));
    --dfs-shadow-drawer-start: 12px 0 32px rgba(0, 0, 0, 0.14);
    --dfs-shadow-drawer-end: -12px 0 32px rgba(0, 0, 0, 0.14);
    --dfs-shadow-accent: 0 2px 10px rgba(216, 27, 132, 0.35);
    --dfs-shadow-accent-hover: 0 4px 14px rgba(216, 27, 132, 0.5);
    --dfs-scrim: rgba(15, 23, 42, 0.32);

    /* ── Shape and size ─────────────────────────────────────────────────────────────────────────────────── */
    --dfs-radius-sm: 6px;
    --dfs-radius-md: 8px;
    --dfs-radius-lg: 12px;
    --dfs-radius-pill: 9999px;
    --dfs-hit: 36px;                                    /* the smallest interactive control on desktop */

    /* ── Dark glass: the dialogs (publish, history, new form) sit on the platform's navy modal ──────────── */
    --dfs-glass-text: #f8fafc;
    --dfs-glass-text-soft: #e2e8f0;
    --dfs-glass-text-muted: #94a3b8;
    --dfs-glass-surface: rgba(255, 255, 255, 0.04);
    --dfs-glass-field: rgba(255, 255, 255, 0.06);
    --dfs-glass-hover: rgba(255, 255, 255, 0.08);
    --dfs-glass-active: rgba(255, 255, 255, 0.12);
    --dfs-glass-border: rgba(255, 255, 255, 0.1);
    --dfs-glass-border-strong: rgba(255, 255, 255, 0.2);
    --dfs-glass-border-hover: rgba(255, 255, 255, 0.35);
    --dfs-glass-danger: #f87171;
    --dfs-glass-danger-bg: rgba(239, 68, 68, 0.12);
    --dfs-glass-danger-line: rgba(239, 68, 68, 0.3);
    --dfs-glass-success: #4ade80;
    --dfs-glass-success-bg: rgba(34, 197, 94, 0.12);
    --dfs-glass-success-line: rgba(34, 197, 94, 0.3);
    --dfs-glass-warning: #fbbf24;
    --dfs-glass-link: #f472b6;
    --dfs-glass-link-hover: #f9a8d4;
}

/* One visible focus ring for every kind of control of the feature (WCAG 2.4.7; an outline survives forced-colors mode,
   a box-shadow does not). Components never restyle it: they only decide where the outline sits when its box clips it. */
.dfs-theme[b-tdt83pu4sb]  button:focus-visible,
.dfs-theme[b-tdt83pu4sb]  input:focus-visible,
.dfs-theme[b-tdt83pu4sb]  select:focus-visible,
.dfs-theme[b-tdt83pu4sb]  textarea:focus-visible,
.dfs-theme[b-tdt83pu4sb]  summary:focus-visible,
.dfs-theme[b-tdt83pu4sb]  a:focus-visible,
.dfs-theme[b-tdt83pu4sb]  [role="button"]:focus-visible,
.dfs-theme[b-tdt83pu4sb]  [tabindex]:focus-visible {
    outline: 2px solid var(--dfs-accent);
    outline-offset: 2px;
}
/* /Pages/Home/Components/Setting/Department/Components/JobTitlesLevels/JobTitleEditPanel.razor.rz.scp.css */
.jobtitle-edit-panel[b-e20rdf7f4g] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 850px;
    height: 100%;
    box-sizing: border-box;
}

/* ---- Modo embebido: sin tarjeta propia, integrado al tema oscuro del RightSidebar ---- */
.jobtitle-edit-panel.embedded[b-e20rdf7f4g] {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 8px 4px 0;
    min-width: 0;
    width: 100%;
}

.jobtitle-edit-panel.embedded .jte-main-layout[b-e20rdf7f4g] {
    gap: 0;
    width: 100%;
    min-width: 0;
}

.jobtitle-edit-panel.embedded .jte-body[b-e20rdf7f4g] {
    width: 100%;
    min-width: 0;
}

.jobtitle-edit-panel.embedded .jte-avatar[b-e20rdf7f4g] {
    background-color: var(--st-fill-3);
    border-color: var(--st-border-strong);
}

.jobtitle-edit-panel.embedded .jte-avatar svg[b-e20rdf7f4g] {
    fill: var(--st-text-muted);
}

.jobtitle-edit-panel.embedded .jte-toggle-label.inactive[b-e20rdf7f4g] {
    color: var(--st-danger-fg);
}

.jobtitle-edit-panel.embedded .form-label[b-e20rdf7f4g] {
    color: var(--st-text-body);
}

.jobtitle-edit-panel.embedded .form-select[b-e20rdf7f4g] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border);
}

.jobtitle-edit-panel.embedded .form-select:focus[b-e20rdf7f4g] {
    border-color: #D33BB2;
    background-color: var(--st-surface-sunken);
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.2);
}

.jobtitle-edit-panel.embedded .jte-info-section[b-e20rdf7f4g] {
    border-top-color: var(--st-border-subtle);
}

.jobtitle-edit-panel.embedded .info-title[b-e20rdf7f4g] {
    color: var(--st-text-body);
}

.jobtitle-edit-panel.embedded .info-desc[b-e20rdf7f4g] {
    color: var(--st-text-muted);
}

.jobtitle-edit-panel.embedded .jte-footer[b-e20rdf7f4g] {
    border-top-color: var(--st-border-subtle);
}

.jobtitle-edit-panel.embedded .btn-secondary[b-e20rdf7f4g] {
    background: var(--st-fill-3);
    color: var(--st-text-body);
}

.jobtitle-edit-panel.embedded .btn-secondary:hover[b-e20rdf7f4g] {
    background: var(--st-fill-5);
}

.jobtitle-edit-panel.embedded .btn-primary[b-e20rdf7f4g] {
    background: #D33BB2;
}

.jobtitle-edit-panel.embedded .btn-primary:hover[b-e20rdf7f4g] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
}

.jte-header[b-e20rdf7f4g] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 10px;
}

.jte-header-text[b-e20rdf7f4g] {
    min-width: 0;
}

.jte-header-actions[b-e20rdf7f4g] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.jte-title[b-e20rdf7f4g] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 4px 0;
}

.jte-subtitle[b-e20rdf7f4g] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

.jte-main-layout[b-e20rdf7f4g] {
    display: flex;
    gap: 15px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.jte-body[b-e20rdf7f4g] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.jte-body[b-e20rdf7f4g]::-webkit-scrollbar {
    display: none;
}

.jte-main-layout.split .jte-body[b-e20rdf7f4g] {
    width: 340px;
    flex: none;
    flex-shrink: 0;
}

.jte-permissions-col[b-e20rdf7f4g] {
    flex: 1;
    min-width: 380px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-left: 1px solid var(--st-border);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* La lista de features scrollea dentro del RoleEditPanel embebido (.re-body); acá solo se oculta
   la barra sin quitar el scroll. */
.jte-permissions-col[b-e20rdf7f4g]  .re-body {
    scrollbar-width: none;
}

.jte-permissions-col[b-e20rdf7f4g]  .re-body::-webkit-scrollbar {
    display: none;
}

.jte-avatar-section[b-e20rdf7f4g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 0px 20px;
    margin-bottom: 8px;
}

.jte-avatar[b-e20rdf7f4g] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--st-surface-strong);
    border: 1px solid var(--st-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jte-toggle-section[b-e20rdf7f4g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.jte-toggle-section--header[b-e20rdf7f4g] {
    flex-direction: row;
    gap: 8px;
}

.jte-toggle-label[b-e20rdf7f4g] {
    font-size: 0.85rem;
    font-weight: 600;
}

.jte-toggle-label.active[b-e20rdf7f4g] {
    color: var(--st-success-fg);
}

.jte-toggle-label.inactive[b-e20rdf7f4g] {
    color: var(--st-danger-fg);
}

/* Switch */
.toggle-switch[b-e20rdf7f4g] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input[b-e20rdf7f4g] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-e20rdf7f4g] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .4s;
    border-radius: 34px;
}

.slider[b-e20rdf7f4g]:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider[b-e20rdf7f4g] {
    background-color: #4CAF50;
}

input:checked+.slider[b-e20rdf7f4g]:before {
    transform: translateX(20px);
}

.form-label[b-e20rdf7f4g] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: 0.5rem;
}

.form-select[b-e20rdf7f4g] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--st-surface-sunken);
    font-size: 0.9rem;
    color: var(--st-text-brand);
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238898AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-select:focus[b-e20rdf7f4g] {
    border-color: var(--st-text-brand);
    background-color: var(--st-input-bg);
    box-shadow: 0 0 0 3px rgba(14, 34, 59, 0.1);
}

.jte-info-section[b-e20rdf7f4g] {
    padding: 16px 0;
    border-top: 1px solid var(--st-border-subtle);
}

.info-title[b-e20rdf7f4g] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin: 0 0 8px 0;
}

.info-desc[b-e20rdf7f4g] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.5;
}

.btn-delete-profile[b-e20rdf7f4g] {
    margin-right: auto;
    background: transparent;
    color: #FF00FF;
    border: 1px solid #FF00FF;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-profile:hover[b-e20rdf7f4g] {
    background: var(--st-surface-sunken);
}

.jte-footer[b-e20rdf7f4g] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--st-border);
}

.btn-secondary[b-e20rdf7f4g] {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-secondary:hover[b-e20rdf7f4g] {
    background: var(--st-surface-stronger);
}

.btn-primary[b-e20rdf7f4g] {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: #FF00FF;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-primary:hover[b-e20rdf7f4g] {
    background: #e600e6;
}

.btn-primary:disabled[b-e20rdf7f4g] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---- Selección de Cargo EN LÍNEA (caso embebido dentro de un RightSidebar) ---- */
.jte-inline-picker[b-e20rdf7f4g] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 2px;
}

.jte-inline-back[b-e20rdf7f4g] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--st-text-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.jte-inline-back:hover[b-e20rdf7f4g] {
    background: var(--st-fill-3);
    color: #D33BB2;
}

.jte-inline-search[b-e20rdf7f4g] {
    margin-bottom: 4px;
}

.jte-inline-search-input[b-e20rdf7f4g] {
    width: 100%;
    box-sizing: border-box;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    color: var(--st-text-strong);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.jte-inline-search-input[b-e20rdf7f4g]::placeholder {
    color: var(--st-text-subtle);
}

.jte-inline-search-input:focus[b-e20rdf7f4g] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-sunken);
}

.jte-inline-subtitle[b-e20rdf7f4g] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
    margin: 0 0 4px 0;
    text-transform: lowercase;
}

.jte-inline-empty[b-e20rdf7f4g] {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--st-text-muted);
    font-weight: 500;
}

.jte-inline-grid[b-e20rdf7f4g] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 4px 0;
}

.mt-auto[b-e20rdf7f4g] {
    margin-top: auto;
}

.w-100[b-e20rdf7f4g] {
    width: 100%;
}
/* /Pages/Home/Components/Setting/Department/Components/JobTitlesLevels/JobTitleLevelEditPanel.razor.rz.scp.css */
.worklevel-edit-panel[b-x95fqw3t5b] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    min-width: 400px;
    display: flex;
    flex-direction: column;
}

.we-header[b-x95fqw3t5b] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.we-header-text[b-x95fqw3t5b] {
    min-width: 0;
}

.we-title[b-x95fqw3t5b] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 4px 0;
}

.we-subtitle[b-x95fqw3t5b] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

.we-body[b-x95fqw3t5b] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.we-avatar-section[b-x95fqw3t5b] {
    display: flex;
    justify-content: center;
}

.we-avatar[b-x95fqw3t5b] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.we-avatar-initial[b-x95fqw3t5b] {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
}

.form-label[b-x95fqw3t5b] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: 0.5rem;
}

/* El desplegable del nivel usa PickerDropdown (variante Light, acento magenta). */
.we-form-group[b-x95fqw3t5b] {
    position: relative;
    z-index: 5;
}

/* Short code of the level in the load control (LV, MD, FT, FF). */
.we-shortcode[b-x95fqw3t5b] {
    z-index: 1;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.we-shortcode-input[b-x95fqw3t5b] {
    width: 120px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background-color: var(--st-surface-muted);
    color: var(--st-text-brand);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.we-shortcode-input[b-x95fqw3t5b]::placeholder {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.we-shortcode-input:focus[b-x95fqw3t5b] {
    outline: none;
    border-color: #FF00FF;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

.we-shortcode-input:disabled[b-x95fqw3t5b] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    cursor: not-allowed;
}

.we-hint[b-x95fqw3t5b] {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--st-text-muted);
}

.we-info-section[b-x95fqw3t5b] {
    margin-top: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--st-border-subtle);
}

.info-title[b-x95fqw3t5b] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin: 0 0 8px 0;
}

.info-desc[b-x95fqw3t5b] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.5;
}

.delete-profile-section[b-x95fqw3t5b] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delete-profile-label[b-x95fqw3t5b] {
    font-size: 0.85rem;
    color: var(--st-text-brand);
}

.btn-delete-profile[b-x95fqw3t5b] {
    align-self: flex-start;
    background: transparent;
    color: #FF00FF;
    border: 1px solid #FF00FF;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-profile:hover[b-x95fqw3t5b] {
    background: var(--st-surface-sunken);
}

.we-footer[b-x95fqw3t5b] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
}

.btn-secondary[b-x95fqw3t5b] {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-secondary:hover[b-x95fqw3t5b] {
    background: var(--st-surface-stronger);
}

.btn-primary[b-x95fqw3t5b] {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: #FF00FF;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-primary:hover[b-x95fqw3t5b] {
    background: #e600e6;
}

.btn-primary:disabled[b-x95fqw3t5b] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mt-4[b-x95fqw3t5b] {
    margin-top: 1.5rem;
}

.mt-auto[b-x95fqw3t5b] {
    margin-top: auto;
}

.w-100[b-x95fqw3t5b] {
    width: 100%;
}
/* Color del nivel: muestras de WorkLevelColorRules.Palette y «Sin color» (gris por defecto). */
.we-color-swatches[b-x95fqw3t5b] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.we-color-swatch[b-x95fqw3t5b] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--st-border, rgba(0, 0, 0, 0.12));
    cursor: pointer;
    padding: 0;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.we-color-swatch:hover:not(:disabled)[b-x95fqw3t5b] {
    transform: scale(1.08);
}

.we-color-swatch.selected[b-x95fqw3t5b] {
    border-color: var(--st-surface);
    box-shadow: 0 0 0 2px var(--st-text-strong);
}

.we-color-swatch:disabled[b-x95fqw3t5b] {
    cursor: default;
    opacity: 0.6;
}

.we-color-none[b-x95fqw3t5b] {
    width: auto;
    border-radius: 16px;
    padding: 0 12px;
    background: #949DAC;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}
/* /Pages/Home/Components/Setting/Department/Components/JobTitlesLevels/JobTitlesLevelPanel.razor.rz.scp.css */
.cargos-niveles-panel[b-nvnio3ccal] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.cn-items-list[b-nvnio3ccal] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: none;
}

.cn-items-list[b-nvnio3ccal]::-webkit-scrollbar {
    display: none;
}

.cn-item-card[b-nvnio3ccal] {
    display: flex;
    align-items: center;
    background: var(--st-surface);
    border-radius: 14px;
    padding: 14px 18px;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--st-border);
    flex-shrink: 0;
}

.cn-item-card:hover[b-nvnio3ccal] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.cn-item-card.selected[b-nvnio3ccal] {
    border: 2px solid #FFC107;
}

.cn-item-avatar[b-nvnio3ccal] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cn-item-info[b-nvnio3ccal] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cn-item-name[b-nvnio3ccal] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.cn-item-role[b-nvnio3ccal] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.cn-item-status[b-nvnio3ccal] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cn-status-dot[b-nvnio3ccal] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.cn-status-dot.active[b-nvnio3ccal] {
    background: #4CAF50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.cn-status-dot.inactive[b-nvnio3ccal] {
    background: var(--st-surface-strong);
}

.cn-status-label[b-nvnio3ccal] {
    font-size: 0.7rem;
    font-weight: 600;
}

.cn-status-label.active[b-nvnio3ccal] {
    color: var(--st-success-fg);
}

.cn-status-label.inactive[b-nvnio3ccal] {
    color: var(--st-text-muted);
}

.cn-niveles-layout[b-nvnio3ccal] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.cn-niveles-list[b-nvnio3ccal] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 400px;
    width: 400px;
    min-width: 280px;
    max-width: 600px;
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 5px;
    padding-right: 8px;
}

.st-panel-resizer[b-nvnio3ccal] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-nvnio3ccal],
.st-panel-resizer.active[b-nvnio3ccal] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-nvnio3ccal]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-nvnio3ccal]::after,
.st-panel-resizer.active[b-nvnio3ccal]::after {
    background-color: #D33BB2;
    height: 48px;
}

.cn-niveles-list[b-nvnio3ccal]::-webkit-scrollbar {
    display: none;
}

.cn-nivel-bar[b-nvnio3ccal] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    flex-shrink: 0;
    /* Tinted with the level color over the theme surface: soft in both themes */
    background: color-mix(in srgb, var(--level-color) 14%, var(--st-surface));
}

.cn-nivel-bar:hover[b-nvnio3ccal] {
    opacity: 0.85;
    transform: translateX(2px);
}

.cn-nivel-bar.selected[b-nvnio3ccal] {
    border: 2px solid #FFC107;
}

.cn-nivel-name[b-nvnio3ccal] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
    margin-right: 8px;
}

.cn-nivel-badge[b-nvnio3ccal] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cn-nivel-badge span[b-nvnio3ccal] {
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
}

.cn-nivel-detail[b-nvnio3ccal] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 10px 20px;
    gap: 12px;
    animation: fadeInDetail-b-nvnio3ccal 0.3s ease;
    min-width: 0;
    height: 100%;
}

.cn-nivel-detail[b-nvnio3ccal]::-webkit-scrollbar {
    width: 6px;
}

.cn-nivel-detail[b-nvnio3ccal]::-webkit-scrollbar-track {
    background: transparent;
}

.cn-nivel-detail[b-nvnio3ccal]::-webkit-scrollbar-thumb {
    background-color: var(--st-surface-stronger);
    border-radius: 20px;
}

.cn-nivel-detail[b-nvnio3ccal]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-border-stronger);
}

@keyframes fadeInDetail-b-nvnio3ccal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cn-nivel-detail-badge[b-nvnio3ccal] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid;
    background: var(--st-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cn-nivel-detail-badge span[b-nvnio3ccal] {
    font-size: 2rem;
    font-weight: 800;
}

.cn-nivel-detail-name[b-nvnio3ccal] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
}

.cn-nivel-detail-desc[b-nvnio3ccal] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    text-align: center;
    margin: 0;
    max-width: 200px;
    line-height: 1.4;
}
/* /Pages/Home/Components/Setting/Department/Components/JobTitlesLevels/JobTitlesLevelsTablePanel.razor.rz.scp.css */
.jt-table-panel-container[b-vp80dvmd31] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    gap: 10px;
}

.jt-readonly-notice[b-vp80dvmd31] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
    font-size: 0.82rem;
    font-weight: 500;
    flex-shrink: 0;
}

.jt-readonly-notice svg[b-vp80dvmd31] {
    flex-shrink: 0;
}

.jt-table-grid-wrapper[b-vp80dvmd31] {
    position: relative;
    flex: 1;
    min-height: 400px;
    width: 100%;
}

.jt-table-grid[b-vp80dvmd31] {
    width: 100%;
    height: 100%;
    min-height: 400px;
    
    --ag-foreground-color: var(--st-text-brand);
    --ag-background-color: var(--st-surface);
    --ag-header-background-color: var(--st-surface-sunken);
    --ag-header-foreground-color: var(--st-text-secondary);
    --ag-border-color: var(--st-border);
    --ag-row-border-color: var(--st-border-subtle);
    --ag-row-hover-color: var(--st-fill-2);
    --ag-column-hover-color: var(--st-fill-3);
    --ag-selected-row-background-color: var(--st-surface-strong);
    --ag-range-selection-background-color: rgba(211, 59, 178, 0.12);
    --ag-checkbox-checked-color: #d33bb2;
    --ag-input-focus-border-color: #d33bb2;
    --ag-odd-row-background-color: var(--st-surface);
    --ag-control-panel-background-color: var(--st-surface-muted);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-input-border-color: var(--st-border-strong);
    --ag-font-family: 'Inter', 'Segoe UI', sans-serif;
    --ag-font-size: 13px;
    --ag-wrapper-border-radius: 10px;
}

.jt-table-grid[b-vp80dvmd31]  .ag-header-cell-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jt-table-grid[b-vp80dvmd31]  .ag-root-wrapper {
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
}

.jt-table-grid[b-vp80dvmd31]  .ag-details-row {
    padding: 10px 14px;
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.jt-table-loading-overlay[b-vp80dvmd31] {
    position: absolute;
    inset: 0;
    background-color: var(--st-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--st-text-brand);
}

.loading-spinner[b-vp80dvmd31] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--st-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: spin-b-vp80dvmd31 0.8s linear infinite;
}

@keyframes spin-b-vp80dvmd31 {
    to {
        transform: rotate(360deg);
    }
}

.jt-table-grid[b-vp80dvmd31]  .ag-paging-panel {
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    color: var(--st-text-brand);
    white-space: nowrap !important;
    min-height: 38px;
}

.jt-table-grid[b-vp80dvmd31]  .ag-paging-row-summary-panel,
.jt-table-grid[b-vp80dvmd31]  .ag-paging-page-summary-panel,
.jt-table-grid[b-vp80dvmd31]  .ag-paging-page-size {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Dialogs/TemplateEditorDialog.razor.rz.scp.css */
.dialog-overlay[b-q4rj5a8c4p] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeInOverlay-b-q4rj5a8c4p 0.2s ease-out;
}

@keyframes fadeInOverlay-b-q4rj5a8c4p {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dialog-modal[b-q4rj5a8c4p] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 740px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleInModal-b-q4rj5a8c4p 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal-b-q4rj5a8c4p {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header */
.dialog-header[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.dialog-title-group[b-q4rj5a8c4p] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dialog-title[b-q4rj5a8c4p] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
}

.dialog-subtitle[b-q4rj5a8c4p] {
    font-size: 0.82rem;
    color: var(--st-text-subtle);
}

.btn-close-modal[b-q4rj5a8c4p] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-close-modal:hover[b-q4rj5a8c4p] {
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
}

.btn-close-modal svg[b-q4rj5a8c4p] {
    width: 18px;
    height: 18px;
}

/* Body */
.dialog-body[b-q4rj5a8c4p] {
    padding: 20px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dialog-alert-error[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
}

.dialog-alert-error svg[b-q4rj5a8c4p] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Form Fields */
.form-row-two-col[b-q4rj5a8c4p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row-two-col[b-q4rj5a8c4p] {
        grid-template-columns: 1fr;
    }
}

.form-field[b-q4rj5a8c4p] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-q4rj5a8c4p] {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-text-body);
}

.required[b-q4rj5a8c4p] {
    color: var(--st-danger-fg);
}

.field-input[b-q4rj5a8c4p], .field-textarea[b-q4rj5a8c4p] {
    width: 100%;
    background: var(--st-surface);
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.9rem;
    color: var(--st-text-strong);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.field-input:focus[b-q4rj5a8c4p], .field-textarea:focus[b-q4rj5a8c4p] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field-textarea[b-q4rj5a8c4p] {
    resize: vertical;
    min-height: 80px;
    line-height: 1.45;
}

/* Variable Chips */
.variable-chips-container[b-q4rj5a8c4p] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chips-label[b-q4rj5a8c4p] {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.chips-list[b-q4rj5a8c4p] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.btn-chip[b-q4rj5a8c4p] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    color: var(--st-info-fg);
    font-family: 'Segoe UI Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-chip:hover[b-q4rj5a8c4p] {
    background: var(--st-info-bg);
    border-color: #3b82f6;
    color: var(--st-info-fg);
    transform: translateY(-1px);
}

/* Channel Tabs Bar */
.channel-tabs-bar[b-q4rj5a8c4p] {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--st-border);
    padding-bottom: 2px;
    overflow-x: auto;
}

.channel-tab-btn[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--st-text-subtle);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: -4px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.channel-tab-btn svg[b-q4rj5a8c4p] {
    width: 16px;
    height: 16px;
}

.channel-tab-btn:hover[b-q4rj5a8c4p] {
    color: var(--st-text);
}

.channel-tab-btn.active[b-q4rj5a8c4p] {
    color: var(--st-text-strong);
    border-bottom-color: #dea301;
}

.tab-channel-dot[b-q4rj5a8c4p] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tab-channel-dot.active[b-q4rj5a8c4p] {
    background: #22c55e;
}

.tab-channel-dot.inreview[b-q4rj5a8c4p] {
    background: #f97316;
}

.tab-channel-dot.rejected[b-q4rj5a8c4p] {
    background: #ef4444;
}

.tab-channel-dot.inactive[b-q4rj5a8c4p] {
    background: var(--st-surface-stronger);
}

/* Channel Content Pane */
.channel-content-pane[b-q4rj5a8c4p] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 16px;
}

.channel-pane-header[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch-toggle-label[b-q4rj5a8c4p] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle-label input[b-q4rj5a8c4p] {
    display: none;
}

.toggle-slider[b-q4rj5a8c4p] {
    width: 36px;
    height: 20px;
    background: var(--st-surface-stronger);
    border-radius: 20px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-slider[b-q4rj5a8c4p]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--st-surface);
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-toggle-label input:checked + .toggle-slider[b-q4rj5a8c4p] {
    background: #22c55e;
}

.switch-toggle-label input:checked + .toggle-slider[b-q4rj5a8c4p]::after {
    transform: translateX(16px);
}

.toggle-text[b-q4rj5a8c4p] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-text);
}

.sms-counter[b-q4rj5a8c4p] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    font-family: monospace;
}

.meta-status-pill[b-q4rj5a8c4p] {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
}

.meta-status-pill.published[b-q4rj5a8c4p] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border-color: var(--st-success-border);
}

.meta-status-pill.inreview[b-q4rj5a8c4p] {
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    border-color: var(--st-warning-border);
}

.meta-status-pill.rejected[b-q4rj5a8c4p] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border-color: var(--st-danger-border);
}

.meta-notice-card[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--st-success-text);
}

.meta-notice-card svg[b-q4rj5a8c4p] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer */
.dialog-footer[b-q4rj5a8c4p] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--st-border-subtle);
    background: var(--st-surface-muted);
}

.btn-dialog-cancel[b-q4rj5a8c4p] {
    background: var(--st-surface);
    border: 1.5px solid var(--st-border-strong);
    color: var(--st-text-secondary);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-dialog-cancel:hover[b-q4rj5a8c4p] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.btn-dialog-save[b-q4rj5a8c4p] {
    background: #d81b84;
    border: 1px solid #b7156f;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.3);
}

.btn-dialog-save:hover[b-q4rj5a8c4p] {
    background: #c21875;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(216, 27, 132, 0.4);
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Channels/AppPushEditorSection.razor.rz.scp.css */
.app-push-editor-section[b-7ckl4oucw9] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
    color: var(--st-text);
}

/* Channel Toggles Row */
.channel-toggles-row[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 16px;
}

.switch-toggle-label[b-7ckl4oucw9] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle-label input[b-7ckl4oucw9] {
    display: none;
}

.toggle-slider[b-7ckl4oucw9] {
    width: 36px;
    height: 20px;
    background: var(--st-surface-stronger);
    border-radius: 20px;
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.toggle-slider[b-7ckl4oucw9]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--st-surface);
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-toggle-label input:checked + .toggle-slider[b-7ckl4oucw9] {
    background: #10b981;
}

.switch-toggle-label input:checked + .toggle-slider[b-7ckl4oucw9]::after {
    transform: translateX(16px);
}

.toggle-text[b-7ckl4oucw9] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text);
}

.form-group-section[b-7ckl4oucw9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-7ckl4oucw9] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
}

.mb-0[b-7ckl4oucw9] {
    margin-bottom: 0 !important;
}

.title-with-desc[b-7ckl4oucw9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-hint-sub[b-7ckl4oucw9] {
    font-size: 0.74rem;
    color: var(--st-text-subtle);
}

.textarea-header-bar[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variable-insert-wrapper[b-7ckl4oucw9] {
    position: relative;
}

.btn-insert-variable[b-7ckl4oucw9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-insert-variable:hover[b-7ckl4oucw9] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.btn-insert-variable svg[b-7ckl4oucw9] {
    width: 13px;
    height: 13px;
    color: #d81b84;
}

.variable-dropdown-menu[b-7ckl4oucw9] {
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

.var-item[b-7ckl4oucw9] {
    padding: 7px 12px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.8rem;
    color: var(--st-text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
}

.var-item:hover[b-7ckl4oucw9] {
    background: var(--st-accent-bg);
    color: #d81b84;
    font-weight: 600;
}

.input-with-counter[b-7ckl4oucw9] {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input[b-7ckl4oucw9] {
    width: 100%;
    padding: 9px 12px;
    padding-right: 70px;
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--st-text-strong);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus[b-7ckl4oucw9] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.char-hint[b-7ckl4oucw9] {
    position: absolute;
    right: 12px;
    font-size: 0.74rem;
    color: var(--st-text-muted);
    pointer-events: none;
}

.char-hint.warning[b-7ckl4oucw9] {
    color: #ea580c;
    font-weight: 600;
}

.textarea-container[b-7ckl4oucw9] {
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.textarea-container.focused[b-7ckl4oucw9] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.form-textarea[b-7ckl4oucw9] {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.counter-row-right[b-7ckl4oucw9] {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.char-hint-btm[b-7ckl4oucw9] {
    font-size: 0.74rem;
    color: var(--st-text-muted);
}

.char-hint-btm.warning[b-7ckl4oucw9] {
    color: #ea580c;
    font-weight: 600;
}

/* Target Pills */
.target-pills[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.target-pill[b-7ckl4oucw9] {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-text-body);
    cursor: pointer;
    transition: all 0.15s ease;
}

.target-pill:hover[b-7ckl4oucw9] {
    background: var(--st-surface-sunken);
}

.target-pill.active[b-7ckl4oucw9] {
    background: #d81b84;
    border-color: #b7156f;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.25);
}

/* Accordions */
.accordion-item[b-7ckl4oucw9] {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--st-surface);
}

.accordion-header[b-7ckl4oucw9] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--st-surface);
    border: none;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-text-body);
    transition: background 0.15s;
}

.accordion-header:hover[b-7ckl4oucw9] {
    background: var(--st-surface-muted);
}

.accordion-title-wrap[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-title-wrap svg[b-7ckl4oucw9] {
    width: 15px;
    height: 15px;
    color: var(--st-text-subtle);
}

.accordion-chevron[b-7ckl4oucw9] {
    width: 14px;
    height: 14px;
    color: var(--st-text-muted);
    transition: transform 0.2s;
}

.accordion-chevron.open[b-7ckl4oucw9] {
    transform: rotate(180deg);
}

.accordion-body[b-7ckl4oucw9] {
    padding: 12px 14px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    font-size: 0.82rem;
}

.option-check-row[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--st-text-body);
    font-size: 0.82rem;
}

.variables-list[b-7ckl4oucw9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variable-row[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.var-badge[b-7ckl4oucw9] {
    padding: 2px 7px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border: 1px solid var(--st-accent-border);
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    font-family: monospace;
}

.var-sample-val[b-7ckl4oucw9] {
    color: var(--st-text-secondary);
    font-size: 0.8rem;
}

.text-muted-sm[b-7ckl4oucw9] {
    color: var(--st-text-muted);
    font-size: 0.78rem;
}

.tech-row[b-7ckl4oucw9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed var(--st-border);
}

.tech-row:last-child[b-7ckl4oucw9] {
    border-bottom: none;
}

.tech-k[b-7ckl4oucw9] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.tech-v[b-7ckl4oucw9] {
    color: var(--st-text-strong);
    font-weight: 600;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Channels/ChannelEnableToggle.razor.rz.scp.css */
/* Same switch as the App/Web channel toggles (AppPushEditorSection.razor.css). */
.channel-enable-row[b-fzu4fql093] {
    display: flex;
    align-items: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 16px;
}

.switch-toggle-label[b-fzu4fql093] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle-label input[b-fzu4fql093] {
    display: none;
}

.toggle-slider[b-fzu4fql093] {
    width: 36px;
    height: 20px;
    background: var(--st-surface-stronger);
    border-radius: 20px;
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.toggle-slider[b-fzu4fql093]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--st-surface);
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-toggle-label input:checked + .toggle-slider[b-fzu4fql093] {
    background: #10b981;
}

.switch-toggle-label input:checked + .toggle-slider[b-fzu4fql093]::after {
    transform: translateX(16px);
}

.toggle-text[b-fzu4fql093] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text);
}

.channel-enable-hint[b-fzu4fql093] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Channels/EmailEditorSection.razor.rz.scp.css */
.email-editor-section[b-nj0j4aq3ua] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
    color: var(--st-text);
}

.form-group-section[b-nj0j4aq3ua] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-nj0j4aq3ua] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
}

.sub-label[b-nj0j4aq3ua] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--st-text-secondary);
    margin-bottom: 4px;
}

.mb-0[b-nj0j4aq3ua] {
    margin-bottom: 0 !important;
}

/* Verified Sender */
.verified-sender-card[b-nj0j4aq3ua] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    width: fit-content;
}

.sender-text[b-nj0j4aq3ua] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text);
}

.badge-verified[b-nj0j4aq3ua] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.badge-verified svg[b-nj0j4aq3ua] {
    width: 12px;
    height: 12px;
}

/* Subject line with counter */
.input-with-counter[b-nj0j4aq3ua] {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input[b-nj0j4aq3ua] {
    width: 100%;
    padding: 9px 12px;
    padding-right: 140px;
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--st-text-strong);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus[b-nj0j4aq3ua] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.char-hint[b-nj0j4aq3ua] {
    position: absolute;
    right: 12px;
    font-size: 0.74rem;
    color: var(--st-text-muted);
    pointer-events: none;
}

.char-hint.warning[b-nj0j4aq3ua] {
    color: #ea580c;
    font-weight: 600;
}

/* Toolbar & Variable buttons */
.textarea-header-bar[b-nj0j4aq3ua] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toolbar-actions-group[b-nj0j4aq3ua] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rich-toolbar[b-nj0j4aq3ua] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    padding: 2px;
}

.btn-tool[b-nj0j4aq3ua] {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--st-text-secondary);
    transition: background 0.12s;
}

.btn-tool:hover[b-nj0j4aq3ua] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

.icon-bold[b-nj0j4aq3ua] {
    font-weight: 800;
    font-size: 0.85rem;
}

.btn-tool svg[b-nj0j4aq3ua] {
    width: 14px;
    height: 14px;
}

.variable-insert-wrapper[b-nj0j4aq3ua] {
    position: relative;
}

.btn-insert-variable[b-nj0j4aq3ua] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-insert-variable:hover[b-nj0j4aq3ua] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.btn-insert-variable svg[b-nj0j4aq3ua] {
    width: 13px;
    height: 13px;
    color: #d81b84;
}

.variable-dropdown-menu[b-nj0j4aq3ua] {
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

.var-item[b-nj0j4aq3ua] {
    padding: 7px 12px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.8rem;
    color: var(--st-text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
}

.var-item:hover[b-nj0j4aq3ua] {
    background: var(--st-accent-bg);
    color: #d81b84;
    font-weight: 600;
}

.textarea-container[b-nj0j4aq3ua] {
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.textarea-container.focused[b-nj0j4aq3ua] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.form-textarea[b-nj0j4aq3ua] {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

/* Button interactive configuration */
.button-config-grid[b-nj0j4aq3ua] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-config-col[b-nj0j4aq3ua] {
    display: flex;
    flex-direction: column;
}

.form-select[b-nj0j4aq3ua] {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--st-text-strong);
    background: var(--st-surface);
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.form-select:focus[b-nj0j4aq3ua] {
    border-color: #d81b84;
}

/* Attachment Toggle Card */
.attachment-toggle-card[b-nj0j4aq3ua] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 14px;
}

.checkbox-container[b-nj0j4aq3ua] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[b-nj0j4aq3ua] {
    display: none;
}

.checkmark[b-nj0j4aq3ua] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--st-border-stronger);
    border-radius: 4px;
    background: var(--st-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.15s;
}

.checkbox-container input:checked ~ .checkmark[b-nj0j4aq3ua] {
    background: #d81b84;
    border-color: #d81b84;
}

.checkbox-container input:checked ~ .checkmark[b-nj0j4aq3ua]::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-label-wrap[b-nj0j4aq3ua] {
    display: flex;
    flex-direction: column;
}

.checkbox-title[b-nj0j4aq3ua] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.checkbox-subtitle[b-nj0j4aq3ua] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    line-height: 1.35;
    margin-top: 2px;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Channels/SmsEditorSection.razor.rz.scp.css */
.sms-editor-section[b-p1s12xjfbb] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
    color: var(--st-text);
}

/* Shortcode Notice */
.shortcode-notice-card[b-p1s12xjfbb] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 14px;
}

.notice-icon[b-p1s12xjfbb] {
    color: var(--st-info-fg);
    margin-top: 1px;
    flex-shrink: 0;
}

.notice-icon svg[b-p1s12xjfbb] {
    width: 18px;
    height: 18px;
}

.notice-text[b-p1s12xjfbb] {
    font-size: 0.82rem;
    color: var(--st-text-body);
    line-height: 1.4;
}

.notice-text strong[b-p1s12xjfbb] {
    color: var(--st-text-strong);
    display: block;
    margin-bottom: 2px;
}

/* Form Group */
.form-group-section[b-p1s12xjfbb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-p1s12xjfbb] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.mb-0[b-p1s12xjfbb] {
    margin-bottom: 0 !important;
}

.textarea-header-bar[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variable-insert-wrapper[b-p1s12xjfbb] {
    position: relative;
}

.btn-insert-variable[b-p1s12xjfbb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-insert-variable:hover[b-p1s12xjfbb] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.btn-insert-variable svg[b-p1s12xjfbb] {
    width: 13px;
    height: 13px;
    color: #d81b84;
}

.variable-dropdown-menu[b-p1s12xjfbb] {
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

.var-item[b-p1s12xjfbb] {
    padding: 7px 12px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.8rem;
    color: var(--st-text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
}

.var-item:hover[b-p1s12xjfbb] {
    background: var(--st-accent-bg);
    color: #d81b84;
    font-weight: 600;
}

.textarea-container[b-p1s12xjfbb] {
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.textarea-container.focused[b-p1s12xjfbb] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.form-textarea[b-p1s12xjfbb] {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

/* SMS Counter */
.sms-counter-row[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.counter-badge[b-p1s12xjfbb] {
    font-size: 0.82rem;
    color: var(--st-text-body);
}

.counter-explanation[b-p1s12xjfbb] {
    font-size: 0.76rem;
    color: var(--st-text-muted);
}

/* Toggle Card */
.toggle-card[b-p1s12xjfbb] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.switch-toggle-label[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle-label input[b-p1s12xjfbb] {
    display: none;
}

.toggle-slider[b-p1s12xjfbb] {
    width: 38px;
    height: 20px;
    background: var(--st-surface-stronger);
    border-radius: 20px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.toggle-slider[b-p1s12xjfbb]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--st-surface);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch-toggle-label input:checked + .toggle-slider[b-p1s12xjfbb] {
    background: #d81b84;
}

.switch-toggle-label input:checked + .toggle-slider[b-p1s12xjfbb]::after {
    transform: translateX(18px);
}

.toggle-title[b-p1s12xjfbb] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.toggle-desc[b-p1s12xjfbb] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.4;
    padding-left: 48px;
}

/* Accordions */
.accordion-item[b-p1s12xjfbb] {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--st-surface);
}

.accordion-header[b-p1s12xjfbb] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--st-surface);
    border: none;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-text-body);
    transition: background 0.15s;
}

.accordion-header:hover[b-p1s12xjfbb] {
    background: var(--st-surface-muted);
}

.accordion-title-wrap[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-title-wrap svg[b-p1s12xjfbb] {
    width: 15px;
    height: 15px;
    color: var(--st-text-subtle);
}

.accordion-chevron[b-p1s12xjfbb] {
    width: 14px;
    height: 14px;
    color: var(--st-text-muted);
    transition: transform 0.2s;
}

.accordion-chevron.open[b-p1s12xjfbb] {
    transform: rotate(180deg);
}

.accordion-body[b-p1s12xjfbb] {
    padding: 12px 14px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    font-size: 0.82rem;
}

.variables-list[b-p1s12xjfbb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variable-row[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.var-badge[b-p1s12xjfbb] {
    padding: 2px 7px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border: 1px solid var(--st-accent-border);
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    font-family: monospace;
}

.var-sample-val[b-p1s12xjfbb] {
    color: var(--st-text-secondary);
    font-size: 0.8rem;
}

.text-muted-sm[b-p1s12xjfbb] {
    color: var(--st-text-muted);
    font-size: 0.78rem;
}

.tech-row[b-p1s12xjfbb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed var(--st-border);
}

.tech-row:last-child[b-p1s12xjfbb] {
    border-bottom: none;
}

.tech-k[b-p1s12xjfbb] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.tech-v[b-p1s12xjfbb] {
    color: var(--st-text-strong);
    font-weight: 600;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Channels/WhatsAppEditorSection.razor.rz.scp.css */
.whatsapp-editor-section[b-5qf8a19y65] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
    color: var(--st-text);
}

/* Stepper */
.meta-stepper-container[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
}

.stepper-item[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stepper-icon[b-5qf8a19y65] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-icon svg[b-5qf8a19y65] {
    width: 12px;
    height: 12px;
}

.stepper-icon.error[b-5qf8a19y65] {
    background: #ef4444;
}

.stepper-icon.in-review[b-5qf8a19y65] {
    background: #f59e0b;
}

.stepper-label[b-5qf8a19y65] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text-body);
    white-space: nowrap;
}

.stepper-label.error[b-5qf8a19y65] {
    color: var(--st-danger-fg);
}

.stepper-line[b-5qf8a19y65] {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--st-surface-stronger);
}

.stepper-line.completed[b-5qf8a19y65] {
    background: #10b981;
}

.stepper-line.rejected[b-5qf8a19y65] {
    background: #ef4444;
}

/* Rejection Alert */
.rejection-alert-card[b-5qf8a19y65] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--st-danger-bg);
    border: 1.5px solid var(--st-danger-border);
    border-radius: 8px;
    padding: 14px 16px;
    animation: fadeIn-b-5qf8a19y65 0.2s ease-out;
}

.rejection-alert-icon[b-5qf8a19y65] {
    color: var(--st-danger-fg);
    margin-top: 2px;
    flex-shrink: 0;
}

.rejection-alert-icon svg[b-5qf8a19y65] {
    width: 20px;
    height: 20px;
}

.rejection-alert-content[b-5qf8a19y65] {
    flex: 1;
}

.rejection-alert-title[b-5qf8a19y65] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--st-danger-text);
    margin-bottom: 2px;
}

.rejection-alert-desc[b-5qf8a19y65] {
    font-size: 0.82rem;
    color: var(--st-danger-text);
    line-height: 1.4;
}

.btn-correct-text[b-5qf8a19y65] {
    padding: 6px 12px;
    background: var(--st-surface);
    border: 1px solid #dc2626;
    color: var(--st-danger-fg);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    align-self: center;
}

.btn-correct-text:hover[b-5qf8a19y65] {
    background: var(--st-danger-bg-strong);
}

/* Form Groups */
.form-group-section[b-5qf8a19y65] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-5qf8a19y65] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
    margin: 0;
}

.label-with-help[b-5qf8a19y65] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.label-note[b-5qf8a19y65] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
}

.verified-phone-badge[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    width: fit-content;
}

.phone-number-text[b-5qf8a19y65] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-text);
}

.badge-verified[b-5qf8a19y65] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.badge-verified svg[b-5qf8a19y65] {
    width: 12px;
    height: 12px;
}

/* Pills (Category & Header) */
.category-pills[b-5qf8a19y65], .header-pills[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-pill[b-5qf8a19y65], .header-pill[b-5qf8a19y65] {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-text-body);
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-pill:hover[b-5qf8a19y65], .header-pill:hover[b-5qf8a19y65] {
    background: var(--st-surface-sunken);
}

.category-pill.active[b-5qf8a19y65], .header-pill.active[b-5qf8a19y65] {
    background: #d81b84;
    border-color: #b7156f;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.25);
}

.helper-text-box[b-5qf8a19y65] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    line-height: 1.4;
}

.header-input-wrap[b-5qf8a19y65] {
    margin-top: 6px;
}

.form-input[b-5qf8a19y65] {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--st-text-strong);
    outline: none;
    box-sizing: border-box;
}

.form-input:focus[b-5qf8a19y65] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

/* Textarea & Variable Insert */
.textarea-header-bar[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mb-0[b-5qf8a19y65] {
    margin-bottom: 0 !important;
}

.variable-insert-wrapper[b-5qf8a19y65] {
    position: relative;
}

.btn-insert-variable[b-5qf8a19y65] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-insert-variable:hover[b-5qf8a19y65] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.btn-insert-variable svg[b-5qf8a19y65] {
    width: 13px;
    height: 13px;
    color: #d81b84;
}

.variable-dropdown-menu[b-5qf8a19y65] {
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

.var-item[b-5qf8a19y65] {
    padding: 7px 12px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.8rem;
    color: var(--st-text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
}

.var-item:hover[b-5qf8a19y65] {
    background: var(--st-accent-bg);
    color: #d81b84;
    font-weight: 600;
}

.textarea-container[b-5qf8a19y65] {
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.textarea-container.focused[b-5qf8a19y65] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.form-textarea[b-5qf8a19y65] {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

/* Detected Variables Tags */
.detected-variables-bar[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.detected-label[b-5qf8a19y65] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.tags-row[b-5qf8a19y65] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.var-tag-pill[b-5qf8a19y65] {
    padding: 2px 8px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border: 1px solid var(--st-accent-border);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quick Replies */
.quick-replies-list[b-5qf8a19y65] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-reply-pill[b-5qf8a19y65] {
    padding: 6px 12px;
    background: var(--st-surface-muted);
    border: 1px dashed var(--st-border-strong);
    border-radius: 16px;
    font-size: 0.82rem;
    color: var(--st-text-secondary);
    font-weight: 500;
}

.quick-reply-hint[b-5qf8a19y65] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

@keyframes fadeIn-b-5qf8a19y65 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Previews/AppPushLivePreview.razor.rz.scp.css */
.phone-frame[b-6peur7gcro] {
    width: 100%;
    max-width: 340px;
    height: 520px;
    background: #000000;
    border: 8px solid #1e293b;
    border-radius: 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.device-speaker[b-6peur7gcro] {
    width: 50px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

/* Status Bar */
.lockscreen-status-bar[b-6peur7gcro] {
    padding: 14px 18px 4px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 0.65rem;
    z-index: 10;
}

.status-icons[b-6peur7gcro] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg[b-6peur7gcro] {
    width: 12px;
    height: 12px;
}

/* Lockscreen Canvas with background wallpaper gradient */
.lockscreen-canvas[b-6peur7gcro] {
    flex: 1;
    background: linear-gradient(145deg, #1e1b4b 0%, #1e293b 60%, #0f172a 100%);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lockscreen-time-wrap[b-6peur7gcro] {
    text-align: center;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 24px;
}

.lockscreen-clock[b-6peur7gcro] {
    font-size: 3.2rem;
    font-weight: 200;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}

.lockscreen-date[b-6peur7gcro] {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.85;
}

/* Floating Push Notification Card */
.floating-push-card[b-6peur7gcro] {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: fadeInPush-b-6peur7gcro 0.3s ease-out;
}

@keyframes fadeInPush-b-6peur7gcro {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.push-card-header[b-6peur7gcro] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.push-app-identity[b-6peur7gcro] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.push-app-icon[b-6peur7gcro] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #d81b84;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-app-icon svg[b-6peur7gcro] {
    width: 12px;
    height: 12px;
}

.push-app-name[b-6peur7gcro] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
}

.push-bullet[b-6peur7gcro] {
    font-size: 0.65rem;
    color: #94a3b8;
}

.push-timestamp[b-6peur7gcro] {
    font-size: 0.68rem;
    color: #94a3b8;
}

.push-card-body[b-6peur7gcro] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.push-title-text[b-6peur7gcro] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.push-body-text[b-6peur7gcro] {
    font-size: 0.78rem;
    color: #334155;
    line-height: 1.35;
    word-break: break-word;
}

/* Lockscreen Bottom Tools */
.lockscreen-tools-bottom[b-6peur7gcro] {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 12px;
}

.tool-circle[b-6peur7gcro] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.tool-circle svg[b-6peur7gcro] {
    width: 18px;
    height: 18px;
}

.device-home-bar[b-6peur7gcro] {
    width: 100px;
    height: 4px;
    background: #ffffff;
    border-radius: 4px;
    margin: 0 auto;
    opacity: 0.8;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Previews/EmailLivePreview.razor.rz.scp.css */
.email-preview-card[b-gr6jf0ev8b] {
    width: 100%;
    max-width: 360px;
    height: 520px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

/* Email Client Header */
.email-client-header[b-gr6jf0ev8b] {
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-meta-field[b-gr6jf0ev8b] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.76rem;
}

.meta-label[b-gr6jf0ev8b] {
    color: #64748b;
    font-weight: 600;
    width: 44px;
    flex-shrink: 0;
}

.meta-val[b-gr6jf0ev8b] {
    color: #1e293b;
    word-break: break-all;
}

.meta-val.highlight[b-gr6jf0ev8b] {
    font-weight: 600;
    color: #0f172a;
}

.meta-val.subject-text[b-gr6jf0ev8b] {
    font-weight: 700;
    color: #0f172a;
}

/* Canvas Body */
.email-body-canvas[b-gr6jf0ev8b] {
    flex: 1;
    background: #f1f5f9;
    padding: 12px 10px;
    overflow-y: auto;
}

.email-newsletter-container[b-gr6jf0ev8b] {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* Navy Brand Header */
.email-brand-header[b-gr6jf0ev8b] {
    background: #1f2f45;
    padding: 14px 16px;
    color: #ffffff;
    text-align: center;
}

.brand-logo-text[b-gr6jf0ev8b] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.brand-name[b-gr6jf0ev8b] {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.brand-divider[b-gr6jf0ev8b] {
    color: #dea301;
    font-weight: 300;
}

.brand-sub[b-gr6jf0ev8b] {
    font-size: 0.8rem;
    color: #b0b5c1;
    font-weight: 500;
}

/* Content Inner */
.email-content-inner[b-gr6jf0ev8b] {
    padding: 16px;
    color: #334155;
    font-size: 0.82rem;
    line-height: 1.5;
}

.email-body-text[b-gr6jf0ev8b] {
    word-break: break-word;
}

.email-action-row[b-gr6jf0ev8b] {
    margin: 16px 0 8px 0;
    text-align: center;
}

.btn-email-cta[b-gr6jf0ev8b] {
    background: #d81b84;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.3);
}

.email-pdf-attachment[b-gr6jf0ev8b] {
    margin-top: 14px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-icon[b-gr6jf0ev8b] {
    color: #ef4444;
}

.pdf-icon svg[b-gr6jf0ev8b] {
    width: 22px;
    height: 22px;
}

.pdf-info[b-gr6jf0ev8b] {
    display: flex;
    flex-direction: column;
}

.pdf-name[b-gr6jf0ev8b] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
}

.pdf-size[b-gr6jf0ev8b] {
    font-size: 0.68rem;
    color: #64748b;
}

/* Brand Footer */
.email-brand-footer[b-gr6jf0ev8b] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.35;
}

.footer-muted[b-gr6jf0ev8b] {
    color: #94a3b8;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Previews/SmsLivePreview.razor.rz.scp.css */
.phone-frame[b-9l4kf0vg5v] {
    width: 100%;
    max-width: 340px;
    height: 520px;
    background: #ffffff;
    border: 8px solid #1e293b;
    border-radius: 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.device-speaker[b-9l4kf0vg5v] {
    width: 50px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

/* SMS Header Bar */
.sms-header-bar[b-9l4kf0vg5v] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 12px 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sms-back-icon[b-9l4kf0vg5v] {
    width: 18px;
    height: 18px;
    color: #2563eb;
}

.sms-sender-group[b-9l4kf0vg5v] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sms-sender-avatar[b-9l4kf0vg5v] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #94a3b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.sms-sender-avatar svg[b-9l4kf0vg5v] {
    width: 16px;
    height: 16px;
}

.sms-sender-title[b-9l4kf0vg5v] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.sms-sender-subtitle[b-9l4kf0vg5v] {
    font-size: 0.65rem;
    color: #64748b;
}

.sms-dummy-spacer[b-9l4kf0vg5v] {
    width: 18px;
}

/* SMS Chat Body */
.sms-chat-body[b-9l4kf0vg5v] {
    flex: 1;
    background: #ffffff;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sms-time-badge[b-9l4kf0vg5v] {
    align-self: center;
    font-size: 0.68rem;
    color: #8e8e93;
    margin-bottom: 12px;
}

.sms-bubble-wrapper[b-9l4kf0vg5v] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 85%;
    gap: 4px;
}

.sms-bubble[b-9l4kf0vg5v] {
    background: #e5e5ea;
    color: #000000;
    border-radius: 16px 16px 16px 4px;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.35;
    word-break: break-word;
}

.sms-bubble-footer[b-9l4kf0vg5v] {
    font-size: 0.68rem;
    color: #8e8e93;
    padding-left: 4px;
}

/* SMS Bottom Bar */
.sms-bottom-bar[b-9l4kf0vg5v] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sms-fake-input[b-9l4kf0vg5v] {
    flex: 1;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.78rem;
    color: #9ca3af;
}

.sms-send-circle[b-9l4kf0vg5v] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sms-send-circle svg[b-9l4kf0vg5v] {
    width: 14px;
    height: 14px;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/Previews/WhatsAppLivePreview.razor.rz.scp.css */
.phone-frame[b-wtc9yn77jz] {
    width: 100%;
    max-width: 340px;
    height: 520px;
    background: #0f172a;
    border: 8px solid #1e293b;
    border-radius: 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.device-speaker[b-wtc9yn77jz] {
    width: 50px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

/* WhatsApp App Bar */
.wa-app-bar[b-wtc9yn77jz] {
    background: #075e54;
    color: #ffffff;
    padding: 18px 12px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.wa-bar-left[b-wtc9yn77jz] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wa-back-icon[b-wtc9yn77jz] {
    width: 18px;
    height: 18px;
}

.wa-avatar-circle[b-wtc9yn77jz] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-avatar-circle svg[b-wtc9yn77jz] {
    width: 18px;
    height: 18px;
}

.wa-sender-info[b-wtc9yn77jz] {
    display: flex;
    flex-direction: column;
}

.wa-sender-name[b-wtc9yn77jz] {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.wa-sender-sub[b-wtc9yn77jz] {
    font-size: 0.68rem;
    opacity: 0.85;
}

.wa-bar-actions[b-wtc9yn77jz] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.wa-bar-actions svg[b-wtc9yn77jz] {
    width: 16px;
    height: 16px;
}

/* WhatsApp Chat Canvas */
.wa-chat-canvas[b-wtc9yn77jz] {
    flex: 1;
    background: #efeae2;
    background-image: radial-gradient(#dfd8cb 1px, transparent 1px);
    background-size: 16px 16px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.wa-date-pill[b-wtc9yn77jz] {
    align-self: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: #54656f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    font-weight: 600;
}

.wa-bubble-wrapper[b-wtc9yn77jz] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: 90%;
    align-self: flex-end;
}

.wa-bubble[b-wtc9yn77jz] {
    background: #dcf8c6;
    border-radius: 8px 8px 2px 8px;
    padding: 8px 10px 4px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    position: relative;
    word-break: break-word;
    color: #111b21;
}

.wa-bubble-header-text[b-wtc9yn77jz] {
    font-weight: 700;
    font-size: 0.82rem;
    color: #075e54;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 3px;
}

.wa-bubble-media-placeholder[b-wtc9yn77jz] {
    padding: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.74rem;
    color: #4b5563;
}

.wa-bubble-media-placeholder svg[b-wtc9yn77jz] {
    width: 16px;
    height: 16px;
}

.wa-bubble-content[b-wtc9yn77jz] {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 2px;
}

.wa-bubble-meta[b-wtc9yn77jz] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    float: right;
    margin-left: 12px;
    margin-top: 2px;
}

.wa-time[b-wtc9yn77jz] {
    font-size: 0.65rem;
    color: #667781;
}

.wa-checks[b-wtc9yn77jz] {
    display: flex;
    align-items: center;
}

/* Quick Replies */
.wa-quick-replies[b-wtc9yn77jz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.btn-wa-reply[b-wtc9yn77jz] {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00a884;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.1s;
}

.btn-wa-reply:hover[b-wtc9yn77jz] {
    background: #f0f2f5;
}

.btn-wa-reply svg[b-wtc9yn77jz] {
    width: 12px;
    height: 12px;
}

/* WhatsApp Bottom Bar */
.wa-bottom-bar[b-wtc9yn77jz] {
    background: #f0f2f5;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-input-pill[b-wtc9yn77jz] {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #8696a0;
}

.wa-input-pill svg[b-wtc9yn77jz] {
    width: 16px;
    height: 16px;
    color: #8696a0;
}

.wa-mic-btn[b-wtc9yn77jz] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-mic-btn svg[b-wtc9yn77jz] {
    width: 16px;
    height: 16px;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Editor/TemplateDetailEditor.razor.rz.scp.css */
.template-detail-editor-panel[b-yer14svgph] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-family: inherit;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 74px; /* Space for fixed bottom bar */
}

/* Header & Breadcrumb Bar */
.editor-header-bar[b-yer14svgph] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 8px 24px;
    flex-wrap: wrap;
}

.header-left[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-back-breadcrumb[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.15s;
}

.btn-back-breadcrumb:hover[b-yer14svgph] {
    color: var(--st-text-strong);
    background: var(--st-surface-sunken);
}

.btn-back-breadcrumb svg[b-yer14svgph] {
    width: 16px;
    height: 16px;
}

.breadcrumb-slash[b-yer14svgph] {
    color: var(--st-text-faint);
    font-size: 1.1rem;
    font-weight: 300;
}

.title-display-wrap[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.15s;
}

.title-display-wrap:hover[b-yer14svgph] {
    background: var(--st-surface-muted);
}

.template-main-title[b-yer14svgph] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
    letter-spacing: -0.2px;
}

.pencil-icon[b-yer14svgph] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
}

.title-inline-edit-wrap[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.title-inline-input[b-yer14svgph] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text-strong);
    border: 1.5px solid #d81b84;
    border-radius: 6px;
    padding: 4px 8px;
    outline: none;
    background: var(--st-surface);
}

.btn-done-title[b-yer14svgph] {
    padding: 4px 8px;
    background: #d81b84;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

/* Status Badges */
.badge-status-pill[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-status-pill .dot[b-yer14svgph] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-status-pill.rejected[b-yer14svgph] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.badge-status-pill.rejected .dot[b-yer14svgph] {
    background: #dc2626;
}

.badge-status-pill.in-review[b-yer14svgph] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
}

.badge-status-pill.in-review .dot[b-yer14svgph] {
    background: #d97706;
}

.badge-status-pill.published[b-yer14svgph] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.badge-status-pill.published .dot[b-yer14svgph] {
    background: #16a34a;
}

.badge-status-pill.draft[b-yer14svgph] {
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
}

.badge-status-pill.draft .dot[b-yer14svgph] {
    background: #94a3b8;
}

.usage-rules-indicator[b-yer14svgph] {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--st-info-fg);
    background: var(--st-info-bg);
    padding: 4px 12px;
    border-radius: 14px;
    border: 1px solid var(--st-info-border);
}

/* Subtitle Row */
.editor-subtitle-row[b-yer14svgph] {
    padding: 0 24px 14px 24px;
    font-size: 0.86rem;
    color: var(--st-text-subtle);
}

/* Channel Selector Bar */
.channels-selector-wrapper[b-yer14svgph] {
    padding: 0 24px 18px 24px;
    border-bottom: 1.5px solid var(--st-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channels-pills-row[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.channel-nav-pill[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-body);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.channel-nav-pill:hover[b-yer14svgph] {
    background: var(--st-surface-muted);
}

.channel-nav-pill.selected[b-yer14svgph] {
    background: #d81b84;
    border-color: #b7156f;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.3);
}

.channel-dot[b-yer14svgph] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
}

.channel-dot.active[b-yer14svgph] {
    background: #10b981;
}

.channel-dot.rejected[b-yer14svgph] {
    background: #ef4444;
}

.channel-dot.inreview[b-yer14svgph] {
    background: #f59e0b;
}

.channel-nav-pill.selected .channel-dot[b-yer14svgph] {
    background: var(--st-surface);
}

.channel-desc-banner[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--st-text-secondary);
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    padding: 8px 12px;
}

.channel-desc-banner svg[b-yer14svgph] {
    width: 15px;
    height: 15px;
    color: #d81b84;
    flex-shrink: 0;
}

/* Two Columns Layout */
.editor-two-columns-layout[b-yer14svgph] {
    display: flex;
    flex: 1;
    min-height: 0;
    padding: 20px 24px;
    gap: 32px;
    overflow-y: auto;
}

.col-form-left[b-yer14svgph] {
    flex: 6;
    min-width: 0;
}

.col-preview-right[b-yer14svgph] {
    flex: 4;
    min-width: 320px;
    max-width: 440px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
}

/* Preview Header */
.preview-header-row[b-yer14svgph] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.preview-title-wrap[b-yer14svgph] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-title[b-yer14svgph] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
}

.preview-sub[b-yer14svgph] {
    font-size: 0.74rem;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.35;
}

.preview-ot-dropdown-wrap[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ot-drop-label[b-yer14svgph] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.ot-select[b-yer14svgph] {
    padding: 4px 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--st-text-strong);
    background: var(--st-surface);
    outline: none;
    cursor: pointer;
}

.preview-component-render-area[b-yer14svgph] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Web bell preview card */
.bell-preview-card[b-yer14svgph] {
    width: 100%;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.bell-preview-card.mt-3[b-yer14svgph] {
    margin-top: 14px;
}

.bell-card-header[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--st-info-fg);
    margin-bottom: 8px;
}

.bell-card-header svg[b-yer14svgph] {
    width: 16px;
    height: 16px;
}

.bell-card-body[b-yer14svgph] {
    font-size: 0.84rem;
    color: var(--st-text);
    line-height: 1.4;
}

/* Send Test Bar */
.preview-send-test-bar[b-yer14svgph] {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.test-send-group[b-yer14svgph] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-send-test[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-send-test:hover[b-yer14svgph] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-stronger);
}

.btn-send-test svg[b-yer14svgph] {
    width: 14px;
    height: 14px;
    color: #d81b84;
}

.btn-send-test svg.chevron-sm[b-yer14svgph] {
    width: 12px;
    height: 12px;
    color: var(--st-text-subtle);
}

.test-info-hint[b-yer14svgph] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
}

/* Fixed Bottom Bar */
.editor-bottom-bar[b-yer14svgph] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--st-surface);
    border-top: 1.5px solid var(--st-border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    z-index: 40;
}

.bottom-guidance-text[b-yer14svgph] {
    font-size: 0.84rem;
    color: var(--st-text-subtle);
}

.text-warning-bold[b-yer14svgph] {
    color: var(--st-danger-fg);
    font-weight: 600;
}

.bottom-buttons-group[b-yer14svgph] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-bottom-cancel[b-yer14svgph] {
    padding: 9px 18px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-bottom-cancel:hover[b-yer14svgph] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

.btn-bottom-draft[b-yer14svgph] {
    padding: 9px 18px;
    border-radius: 20px;
    background: var(--st-surface);
    border: 1.5px solid #d81b84;
    color: #d81b84;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-bottom-draft:hover[b-yer14svgph] {
    background: var(--st-accent-bg);
}

.btn-bottom-publish[b-yer14svgph] {
    padding: 9px 22px;
    border-radius: 20px;
    background: #d81b84;
    border: 1px solid #b7156f;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(216, 27, 132, 0.35);
}

.btn-bottom-publish:hover[b-yer14svgph] {
    background: #c21875;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.45);
}

/* Web bell editor placeholder */
.web-bell-editor-placeholder[b-yer14svgph] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.web-channel-header-row[b-yer14svgph] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.form-label[b-yer14svgph] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.form-label.mb-0[b-yer14svgph] {
    margin-bottom: 0;
}

.switch-toggle-label[b-yer14svgph] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-toggle-label input[b-yer14svgph] {
    display: none;
}

.toggle-slider[b-yer14svgph] {
    width: 36px;
    height: 20px;
    background: var(--st-surface-stronger);
    border-radius: 20px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-slider[b-yer14svgph]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--st-surface);
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-toggle-label input:checked + .toggle-slider[b-yer14svgph] {
    background: #10b981;
}

.switch-toggle-label input:checked + .toggle-slider[b-yer14svgph]::after {
    transform: translateX(16px);
}

.toggle-text[b-yer14svgph] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text);
}

.form-textarea[b-yer14svgph] {
    width: 100%;
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
}

.form-textarea:focus[b-yer14svgph] {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.12);
}

.text-muted-desc[b-yer14svgph] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
}

/* Responsive */
@media (max-width: 992px) {
    .editor-two-columns-layout[b-yer14svgph] {
        flex-direction: column;
    }

    .col-preview-right[b-yer14svgph] {
        max-width: 100%;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/NotificationSettingsPanel.razor.rz.scp.css */
.notifications-management-panel[b-tpg0ljmaiq] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--st-surface);
    color: var(--st-text-strong);
    overflow-y: auto;
    font-family: inherit;
    box-sizing: border-box;
}

.notif-panel-inner[b-tpg0ljmaiq] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 20px 24px 36px 24px;
}

/* Header */
.notif-header-row[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.notif-header-title-wrap[b-tpg0ljmaiq] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notif-main-title[b-tpg0ljmaiq] {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
    letter-spacing: -0.3px;
}

.notif-main-subtitle[b-tpg0ljmaiq] {
    font-size: 0.86rem;
    color: var(--st-text-subtle);
    margin: 0;
}

.notif-header-actions[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Search Box */
.notif-search-box[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-surface);
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 7px 12px;
    width: 260px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.notif-search-box:focus-within[b-tpg0ljmaiq] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.notif-search-box svg[b-tpg0ljmaiq] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.notif-search-box input[b-tpg0ljmaiq] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.88rem;
    color: var(--st-text-strong);
    width: 100%;
}

/* Add Button in Magenta (#d81b84) */
.btn-magenta-add[b-tpg0ljmaiq] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #d81b84;
    border: 1px solid #b7156f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.3);
    flex-shrink: 0;
}

.btn-magenta-add:hover[b-tpg0ljmaiq] {
    background: #c21875;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(216, 27, 132, 0.4);
}

.btn-magenta-add svg[b-tpg0ljmaiq] {
    width: 18px;
    height: 18px;
}

/* Toast: sticky, so it stays in view however far the list is scrolled */
.notif-toast-banner[b-tpg0ljmaiq] {
    position: sticky;
    top: 8px;
    z-index: 20;
    margin: 8px 24px 0 24px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--st-shadow-md);
    animation: fadeInToast-b-tpg0ljmaiq 0.2s ease-out;
}

.notif-toast-banner.success[b-tpg0ljmaiq] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid #10b981;
}

.notif-toast-banner.info[b-tpg0ljmaiq] {
    background: var(--st-info-bg);
    color: var(--st-info-text);
    border: 1px solid #3b82f6;
}

.notif-toast-banner.warning[b-tpg0ljmaiq] {
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    border: 1px solid #f59e0b;
}

.notif-toast-banner.error[b-tpg0ljmaiq] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid #ef4444;
}

@keyframes fadeInToast-b-tpg0ljmaiq {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Nav Bar & Pills */
.notif-nav-bar[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1.5px solid var(--st-border);
    padding-bottom: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.notif-tabs-pills[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.nav-tab-pill[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-tab-pill:hover[b-tpg0ljmaiq] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.nav-tab-pill.active[b-tpg0ljmaiq] {
    background: var(--st-surface);
    border-color: #dea301;
    color: var(--st-text-strong);
    box-shadow: 0 1px 4px rgba(222, 163, 1, 0.25);
}

.pill-counter[b-tpg0ljmaiq] {
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 7px;
}

.nav-tab-pill.active .pill-counter[b-tpg0ljmaiq] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

/* Filters Group */
.notif-filters-group[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-dropdown-container[b-tpg0ljmaiq] {
    position: relative;
}

.btn-filter-trigger[b-tpg0ljmaiq] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface);
    border: 1.5px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.84rem;
    cursor: pointer;
    color: var(--st-text);
    transition: border-color 0.15s;
}

.btn-filter-trigger:hover[b-tpg0ljmaiq] {
    border-color: var(--st-border-stronger);
}

.btn-filter-trigger.active[b-tpg0ljmaiq] {
    border-color: #2563eb;
    background: var(--st-info-bg);
}

.btn-filter-trigger svg[b-tpg0ljmaiq] {
    width: 14px;
    height: 14px;
    color: var(--st-text-subtle);
}

.filter-label[b-tpg0ljmaiq] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.filter-val[b-tpg0ljmaiq] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.filter-menu-card[b-tpg0ljmaiq] {
    position: absolute;
    right: 0;
    top: 38px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    animation: fadeInDropdown-b-tpg0ljmaiq 0.15s ease-out;
}

@keyframes fadeInDropdown-b-tpg0ljmaiq {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-option-btn[b-tpg0ljmaiq] {
    padding: 8px 14px;
    background: transparent;
    border: none;
    font-size: 0.84rem;
    color: var(--st-text);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.filter-option-btn:hover[b-tpg0ljmaiq] {
    background: var(--st-surface-muted);
}

.filter-option-btn.selected[b-tpg0ljmaiq] {
    font-weight: 600;
    color: var(--st-info-fg);
    background: var(--st-info-bg);
}

/* Rules filter (Todas / Activas / Inactivas) */
.notif-seg[b-tpg0ljmaiq] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border-radius: 9999px;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
}

.notif-seg-btn[b-tpg0ljmaiq] {
    border: 0;
    background: transparent;
    color: var(--st-text-subtle);
    min-height: 32px;
    padding: 0 14px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.notif-seg-btn:hover[b-tpg0ljmaiq] {
    color: var(--st-text-strong);
}

.notif-seg-btn.active[b-tpg0ljmaiq] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

.notif-seg-btn:focus-visible[b-tpg0ljmaiq],
.nav-tab-pill:focus-visible[b-tpg0ljmaiq],
.btn-magenta-add:focus-visible[b-tpg0ljmaiq] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Tab Content Area */
.notif-tab-content-area[b-tpg0ljmaiq] {
    display: flex;
    flex-direction: column;
    flex: 1;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Rules/RuleSummaryDrawer.razor.rz.scp.css */
/* Rule summary: a right-hand drawer over the panel, in the template summary's design language
   (Summary/TemplateSummaryDrawer.razor.css). Neutral colors come from the --st-* tokens; the brand magenta stays literal. */

.rsd-scrim[b-y1lmer4qe7] {
    position: fixed;
    inset: 0;
    background: var(--st-backdrop);
    z-index: 40;
    animation: rsd-fade-b-y1lmer4qe7 0.25s ease;
}

.rsd-drawer[b-y1lmer4qe7] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(560px, 100vw);
    background: var(--st-app-frame);
    color: var(--st-text-body);
    border-left: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 41;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    animation: rsd-slide-b-y1lmer4qe7 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes rsd-fade-b-y1lmer4qe7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rsd-slide-b-y1lmer4qe7 {
    from { transform: translateX(104%); }
    to { transform: none; }
}

.rsd-head[b-y1lmer4qe7] {
    padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.rsd-head-text[b-y1lmer4qe7] {
    min-width: 0;
}

.rsd-eyebrow[b-y1lmer4qe7] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rsd-title[b-y1lmer4qe7] {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.rsd-subtitle[b-y1lmer4qe7] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.rsd-icon-btn[b-y1lmer4qe7] {
    width: 36px;
    height: 36px;
    flex: none;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text-subtle);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.rsd-icon-btn:hover[b-y1lmer4qe7] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.rsd-facts[b-y1lmer4qe7] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--st-border);
}

.rsd-pill[b-y1lmer4qe7] {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.rsd-pill.tone-success[b-y1lmer4qe7] { background: var(--st-success-bg); color: var(--st-success-text); }
.rsd-pill.tone-info[b-y1lmer4qe7] { background: var(--st-info-bg); color: var(--st-info-text); }
.rsd-pill.tone-warning[b-y1lmer4qe7] { background: var(--st-warning-bg); color: var(--st-warning-text); }
.rsd-pill.tone-danger[b-y1lmer4qe7] { background: var(--st-danger-bg); color: var(--st-danger-text); }
.rsd-pill.tone-off[b-y1lmer4qe7] { background: var(--st-fill-3); color: var(--st-text-subtle); }

/* The content box (st-chrome-box in css/theme.css): the part of the drawer that follows the theme. */
.rsd-body[b-y1lmer4qe7] {
    flex: 1;
    margin: 14px 16px 0;
    overflow-y: auto;
    padding: 18px 24px 24px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.rsd-note[b-y1lmer4qe7] {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.rsd-note[b-y1lmer4qe7]  .rule-icon {
    flex: none;
    margin-top: 2px;
}

.rsd-note.tone-info[b-y1lmer4qe7] { background: var(--st-info-bg); color: var(--st-info-text); }
.rsd-note.tone-danger[b-y1lmer4qe7] { background: var(--st-danger-bg); color: var(--st-danger-text); }

.rsd-section[b-y1lmer4qe7] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rsd-foot[b-y1lmer4qe7] {
    border-top: 1px solid var(--st-border);
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rsd-readonly[b-y1lmer4qe7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rsd-btn-primary[b-y1lmer4qe7],
.rsd-btn-ghost[b-y1lmer4qe7] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rsd-btn-primary[b-y1lmer4qe7] {
    margin-left: auto;
    background: #d81b84;
    color: var(--st-on-accent);
    border: 1px solid #d81b84;
}

.rsd-btn-primary:hover[b-y1lmer4qe7] {
    background: #e5389a;
    border-color: #e5389a;
}

.rsd-btn-ghost[b-y1lmer4qe7] {
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-subtle);
    padding: 0 8px;
}

.rsd-btn-ghost:hover[b-y1lmer4qe7] {
    color: var(--st-text-strong);
}

@media (prefers-reduced-motion: reduce) {
    .rsd-scrim[b-y1lmer4qe7],
    .rsd-drawer[b-y1lmer4qe7] {
        animation: none;
    }
}

.rsd-sentence[b-y1lmer4qe7] {
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    font-size: 14px;
    color: var(--st-text-secondary);
}

.rsd-sentence b[b-y1lmer4qe7] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rsd-lead[b-y1lmer4qe7] {
    display: block;
    margin-bottom: 4px;
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.rsd-ph[b-y1lmer4qe7] {
    color: var(--st-text-muted);
    border-bottom: 1px dashed var(--st-border-strong);
}

.rsd-note.tone-base[b-y1lmer4qe7] { background: var(--st-fill-3); color: var(--st-text-secondary); }
.rsd-note.tone-off[b-y1lmer4qe7] { background: var(--st-fill-3); color: var(--st-text-subtle); }
.rsd-note.tone-warning[b-y1lmer4qe7] { background: var(--st-warning-bg); color: var(--st-warning-text); }

.rsd-note b[b-y1lmer4qe7] {
    color: var(--st-text-strong);
}

.rsd-line[b-y1lmer4qe7] {
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--st-text-body);
}

.rsd-line[b-y1lmer4qe7]  .rule-icon {
    flex: none;
    color: var(--st-text-muted);
}

.rsd-list[b-y1lmer4qe7] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.rsd-item[b-y1lmer4qe7] {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
}

.rsd-item.is-off[b-y1lmer4qe7] {
    background: transparent;
    border-style: dashed;
    opacity: 0.7;
}

.rsd-item .rsd-pill[b-y1lmer4qe7] {
    margin-left: auto;
}

.rsd-ico[b-y1lmer4qe7] {
    flex: none;
    display: inline-flex;
    color: var(--st-text-secondary);
}

.rsd-ico.is-accent[b-y1lmer4qe7] { color: #d8289f; }
.rsd-ico.ch-whatsapp[b-y1lmer4qe7] { color: var(--st-success-fg); }
.rsd-ico.ch-sms[b-y1lmer4qe7] { color: var(--st-info-fg); }
.rsd-ico.ch-email[b-y1lmer4qe7] { color: #dea301; }
.rsd-ico.ch-push[b-y1lmer4qe7] { color: var(--st-accent-text); }
.rsd-ico.ch-web[b-y1lmer4qe7] { color: var(--st-text-secondary); }

.rsd-item-name[b-y1lmer4qe7] {
    min-width: 0;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.rsd-hint[b-y1lmer4qe7] {
    margin: -6px 0 0;
    font-size: 12px;
    color: var(--st-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Rules/RuleSummaryTrack.razor.rz.scp.css */
/* "Tu regla": the five decisions as a track of cards that stays in view under every step. */

.rs-summary[b-nqz1i3fxrf] {
    container: summary / inline-size;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    padding: 12px 24px 14px;
    display: grid;
    gap: 10px;
}

.rs-head[b-nqz1i3fxrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rs-label[b-nqz1i3fxrf] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rs-progress[b-nqz1i3fxrf] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.rs-meter[b-nqz1i3fxrf] {
    width: 72px;
    height: 4px;
    border-radius: 9999px;
    background: var(--st-border);
    overflow: hidden;
}

.rs-meter span[b-nqz1i3fxrf] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #d81b84;
    transition: width 0.3s ease;
}

.rs-flow[b-nqz1i3fxrf] {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.rs-card[b-nqz1i3fxrf] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text-body);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-card:not(:last-child)[b-nqz1i3fxrf]::after {
    content: "";
    position: absolute;
    right: -11px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--st-border-strong);
    border-right: 2px solid var(--st-border-strong);
    transform: translateY(-50%) rotate(45deg);
}

.rs-card:hover:not(:disabled)[b-nqz1i3fxrf] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-raised);
}

.rs-card:disabled[b-nqz1i3fxrf] {
    cursor: not-allowed;
}

.rs-card:focus-visible[b-nqz1i3fxrf] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.rs-card.is-empty[b-nqz1i3fxrf] {
    border-style: dashed;
    background: transparent;
}

.rs-card.is-current[b-nqz1i3fxrf] {
    border-color: #dea301;
    box-shadow: 0 0 0 3px var(--st-gold-bg);
}

.rs-top[b-nqz1i3fxrf] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.is-current .rs-top[b-nqz1i3fxrf] {
    color: var(--st-gold-text);
}

.rs-n[b-nqz1i3fxrf] {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    letter-spacing: 0;
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
}

.is-filled .rs-n[b-nqz1i3fxrf] {
    background: #d81b84;
    color: var(--st-on-accent);
}

.rs-body[b-nqz1i3fxrf] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rs-val[b-nqz1i3fxrf] {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-empty[b-nqz1i3fxrf] {
    font-size: 12.5px;
    color: var(--st-text-muted);
}

.rs-chips[b-nqz1i3fxrf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.rs-chip[b-nqz1i3fxrf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-chip.is-accent[b-nqz1i3fxrf] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

.rs-chip.ch-whatsapp[b-nqz1i3fxrf]  .rule-icon { color: var(--st-success-fg); }
.rs-chip.ch-sms[b-nqz1i3fxrf]  .rule-icon { color: var(--st-info-fg); }
.rs-chip.ch-email[b-nqz1i3fxrf]  .rule-icon { color: #dea301; }
.rs-chip.ch-push[b-nqz1i3fxrf]  .rule-icon { color: var(--st-accent-text); }

.rs-chip.is-off[b-nqz1i3fxrf] {
    color: var(--st-text-muted);
    opacity: 0.7;
}

.rs-chip.is-off[b-nqz1i3fxrf]  .rule-icon { color: var(--st-text-muted); }

.rs-more[b-nqz1i3fxrf] {
    align-self: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.rs-sub[b-nqz1i3fxrf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.rs-card.pulse[b-nqz1i3fxrf] {
    animation: rs-pulse-b-nqz1i3fxrf 0.9s ease-out;
}

.rs-card.pulse .rs-body[b-nqz1i3fxrf] {
    animation: rs-in-b-nqz1i3fxrf 0.35s ease-out;
}

@keyframes rs-pulse-b-nqz1i3fxrf {
    0% { border-color: #d81b84; box-shadow: 0 0 0 0 rgba(216, 27, 132, 0.55); }
    100% { box-shadow: 0 0 0 10px rgba(216, 27, 132, 0); }
}

@keyframes rs-in-b-nqz1i3fxrf {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.rs-text[b-nqz1i3fxrf] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-secondary);
}

.rs-text b[b-nqz1i3fxrf] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.rs-lead[b-nqz1i3fxrf] {
    color: var(--st-text-muted);
    font-weight: 600;
    margin-right: 4px;
}

.rs-ph[b-nqz1i3fxrf] {
    color: var(--st-text-muted);
    border-bottom: 1px dashed var(--st-border-strong);
}

@container summary (max-width: 560px) {
    .rs-flow[b-nqz1i3fxrf] {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 4px 8px;
        margin: -4px -4px 0;
    }

    .rs-card[b-nqz1i3fxrf] {
        flex: 0 0 148px;
        scroll-snap-align: start;
    }
}

@media (max-width: 600px) {
    .rs-summary[b-nqz1i3fxrf] {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-card[b-nqz1i3fxrf],
    .rs-card.pulse[b-nqz1i3fxrf],
    .rs-card.pulse .rs-body[b-nqz1i3fxrf],
    .rs-meter span[b-nqz1i3fxrf] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Rules/RuleWizard.razor.rz.scp.css */
/* Rule wizard: a right-hand drawer over the panel. The five steps (Rules/Steps/*) are parts of this drawer and share
   its design language, so their styles live here and reach them through ::deep. Neutral colors come from the --st-*
   tokens; brand magenta/gold and the previews that imitate other apps (WhatsApp, SMS) stay literal. */

.rw-scrim[b-thwfvu0nvl] {
    position: fixed;
    inset: 0;
    background: var(--st-backdrop);
    z-index: 40;
    animation: rw-fade-b-thwfvu0nvl 0.25s ease;
}

.rw-drawer[b-thwfvu0nvl] {
    container: drawer / inline-size;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(760px, 100vw);
    background: var(--st-app-frame);
    color: var(--st-text-body);
    border-left: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 41;
    font-size: 14px;
    line-height: 1.5;
    animation: rw-slide-b-thwfvu0nvl 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes rw-fade-b-thwfvu0nvl {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rw-slide-b-thwfvu0nvl {
    from { transform: translateX(104%); }
    to { transform: none; }
}

.rw-head[b-thwfvu0nvl] {
    padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.rw-eyebrow[b-thwfvu0nvl] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rw-title[b-thwfvu0nvl] {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--st-text-strong);
}

/* Stepper */
.rw-stepper[b-thwfvu0nvl] {
    list-style: none;
    margin: 0;
    padding: 0 24px 16px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    border-bottom: 1px solid var(--st-border);
}

.rw-step[b-thwfvu0nvl] {
    width: 100%;
    min-height: 36px;
    border: 0;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    text-align: left;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.rw-step:disabled[b-thwfvu0nvl] {
    cursor: not-allowed;
    opacity: 0.55;
}

.rw-bar[b-thwfvu0nvl] {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: 9999px;
    background: var(--st-border);
    margin-bottom: 6px;
    transition: background-color 0.2s ease;
}

.rw-step-n[b-thwfvu0nvl] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.rw-step-label[b-thwfvu0nvl] {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rw-step.is-done .rw-bar[b-thwfvu0nvl],
.rw-step.is-done .rw-step-n[b-thwfvu0nvl] {
    background: #d81b84;
}

.rw-step.is-done .rw-step-n[b-thwfvu0nvl] {
    color: var(--st-on-accent);
}

.rw-step.is-current .rw-bar[b-thwfvu0nvl],
.rw-step.is-current .rw-step-n[b-thwfvu0nvl] {
    background: #dea301;
}

.rw-step.is-current .rw-step-n[b-thwfvu0nvl] {
    color: #1f2f45;
}

.rw-step.is-current .rw-step-label[b-thwfvu0nvl] {
    color: var(--st-text-strong);
}

/* Body */
/* The content box (st-chrome-box in css/theme.css): the part of the drawer that follows the theme. */
.rw-body[b-thwfvu0nvl] {
    flex: 1;
    margin: 14px 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 24px 24px;
    display: grid;
    gap: 20px;
    align-content: start;
}

.rw-step-head h3[b-thwfvu0nvl] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--st-text-strong);
    outline: none;
}

.rw-step-head p[b-thwfvu0nvl] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.rw-step-head b[b-thwfvu0nvl] {
    color: var(--st-text-strong);
}

.rw-err[b-thwfvu0nvl] {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--st-danger-fg);
    font-size: 13px;
    font-weight: 600;
}

/* Footer */
.rw-foot[b-thwfvu0nvl] {
    border-top: 1px solid var(--st-border);
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rw-foot-right[b-thwfvu0nvl] {
    display: flex;
    gap: 10px;
}

.rw-btn-primary[b-thwfvu0nvl],
.rw-btn-ghost[b-thwfvu0nvl],
.rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rw-btn-primary[b-thwfvu0nvl] {
    background: #d81b84;
    color: var(--st-on-accent);
    border: 1px solid #d81b84;
}

.rw-btn-primary:hover:not(:disabled)[b-thwfvu0nvl] {
    background: #e5389a;
    border-color: #e5389a;
}

.rw-btn-primary:disabled[b-thwfvu0nvl] {
    cursor: progress;
    opacity: 0.8;
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary {
    background: transparent;
    color: var(--st-text);
    border: 1px solid var(--st-border-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary:hover:not(:disabled) {
    background: var(--st-fill-3);
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rw-btn-ghost[b-thwfvu0nvl] {
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-subtle);
    padding: 0 8px;
}

.rw-btn-ghost:hover[b-thwfvu0nvl] {
    color: var(--st-text-strong);
}

.rw-spinner[b-thwfvu0nvl] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    animation: rw-spin-b-thwfvu0nvl 0.8s linear infinite;
}

@keyframes rw-spin-b-thwfvu0nvl {
    to { transform: rotate(360deg); }
}

.rule-wizard[b-thwfvu0nvl]  .rw-icon-btn {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-icon-btn:hover {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

.rule-wizard[b-thwfvu0nvl]  button:focus-visible,
.rule-wizard[b-thwfvu0nvl]  select:focus-visible,
.rule-wizard[b-thwfvu0nvl]  input:focus-visible {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* ---- Shared step primitives ---------------------------------------------------------------------------------- */

.rule-wizard[b-thwfvu0nvl]  .rw-grp {
    display: grid;
    gap: 10px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-grp h4 {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-grp-sub {
    margin: -4px 0 0;
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-muted {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt-stack,
.rule-wizard[b-thwfvu0nvl]  .rw-opt-list {
    display: grid;
    gap: 10px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-fill-1);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt:hover {
    border-color: var(--st-border-strong);
    background: var(--st-fill-2);
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-on {
    border-color: #d81b84;
    background: var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-static {
    cursor: default;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt:focus-within {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-disabled:hover {
    border-color: var(--st-border);
    background: var(--st-fill-1);
}

/* Switched off in the template: the channel's icon loses its color, chosen or not. */
.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-off .rw-ch-ico,
.rule-wizard[b-thwfvu0nvl]  .rw-opt.is-off .rw-ch-ico .rule-icon {
    color: var(--st-text-muted);
    opacity: 0.7;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt input,
.rule-wizard[b-thwfvu0nvl]  .rw-person input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tick {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 1px;
    border-radius: 6px;
    border: 1.5px solid var(--st-border-strong);
    display: grid;
    place-items: center;
    color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tick-radio {
    border-radius: 50%;
}

.rule-wizard[b-thwfvu0nvl]  .is-on > .rw-tick {
    background: #d81b84;
    border-color: #d81b84;
    color: var(--st-on-accent);
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt-main {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 3px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt-title {
    font-weight: 600;
    color: var(--st-text-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-opt-desc {
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-mini-count {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-note .rule-icon {
    flex: none;
    margin-top: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-note-warn {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.rule-wizard[b-thwfvu0nvl]  .rw-note-warn .rule-icon {
    color: var(--st-warning-fg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-note-info {
    background: var(--st-info-bg);
    color: var(--st-info-text);
}

.rule-wizard[b-thwfvu0nvl]  .rw-note-info .rule-icon {
    color: var(--st-info-fg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-inline-warn,
.rule-wizard[b-thwfvu0nvl]  .rw-inline-info {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    font-size: 12.5px;
    margin-top: 4px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-inline-warn {
    color: var(--st-warning-text);
}

.rule-wizard[b-thwfvu0nvl]  .rw-inline-warn .rule-icon {
    color: var(--st-warning-fg);
    flex: none;
    margin-top: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-inline-info {
    color: var(--st-info-text);
}

.rule-wizard[b-thwfvu0nvl]  .rw-inline-info .rule-icon {
    color: var(--st-info-fg);
    flex: none;
    margin-top: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-dashed {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1.5px dashed var(--st-border-strong);
    background: transparent;
    color: var(--st-text-secondary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-dashed:hover:not(:disabled) {
    border-color: #d81b84;
    color: var(--st-accent-text);
    background: var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-dashed:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rule-wizard[b-thwfvu0nvl]  .rw-empty-box {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 28px 20px;
    border-radius: 14px;
    border: 1.5px dashed var(--st-border-strong);
    color: var(--st-text-subtle);
    text-align: center;
}

.rule-wizard[b-thwfvu0nvl]  .rw-empty-box p {
    margin: 0;
}

.rule-wizard[b-thwfvu0nvl]  .rw-empty-box b {
    color: var(--st-text-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-empty-box > .rule-icon {
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-empty-sub {
    font-size: 12.5px;
    max-width: 460px;
}

.rule-wizard[b-thwfvu0nvl]  mark.rw-var {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    border-radius: 4px;
    padding: 0 3px;
}

/* ---- Template step ------------------------------------------------------------------------------------------- */

.rule-wizard[b-thwfvu0nvl]  .rw-mini-chs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-mini-ch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.rule-wizard[b-thwfvu0nvl]  .rw-mini-ch.tone-warning {
    color: var(--st-warning-text);
}

.rule-wizard[b-thwfvu0nvl]  .rw-mini-ch.tone-off,
.rule-wizard[b-thwfvu0nvl]  .rw-mini-ch.tone-off .rule-icon {
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-mini-ch.tone-danger {
    color: var(--st-danger-fg);
    text-decoration: line-through;
}

.rule-wizard[b-thwfvu0nvl]  .rw-snippet {
    font-size: 12.5px;
    color: var(--st-text-subtle);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Channel step -------------------------------------------------------------------------------------------- */

.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--st-fill-3);
    flex: none;
}

.rule-wizard[b-thwfvu0nvl]  .ch-whatsapp .rule-icon,
.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico.ch-whatsapp { color: var(--st-success-fg); }
.rule-wizard[b-thwfvu0nvl]  .ch-sms .rule-icon,
.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico.ch-sms { color: var(--st-info-fg); }
.rule-wizard[b-thwfvu0nvl]  .ch-email .rule-icon,
.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico.ch-email { color: #dea301; }
.rule-wizard[b-thwfvu0nvl]  .ch-push .rule-icon,
.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico.ch-push { color: var(--st-accent-text); }
.rule-wizard[b-thwfvu0nvl]  .ch-web .rule-icon,
.rule-wizard[b-thwfvu0nvl]  .rw-ch-ico.ch-web { color: var(--st-text-secondary); }

.rule-wizard[b-thwfvu0nvl]  .rw-pill {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pill.tone-success { background: var(--st-success-bg); color: var(--st-success-text); }
.rule-wizard[b-thwfvu0nvl]  .rw-pill.tone-info { background: var(--st-info-bg); color: var(--st-info-text); }
.rule-wizard[b-thwfvu0nvl]  .rw-pill.tone-warning { background: var(--st-warning-bg); color: var(--st-warning-text); }
.rule-wizard[b-thwfvu0nvl]  .rw-pill.tone-danger { background: var(--st-danger-bg); color: var(--st-danger-text); }
.rule-wizard[b-thwfvu0nvl]  .rw-pill.tone-off { background: var(--st-fill-3); color: var(--st-text-subtle); }

.rule-wizard[b-thwfvu0nvl]  .rw-preview {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-tab {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-tab.is-on {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-foot {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

/* Previews imitate WhatsApp and SMS: their colors stay the same in both modes. */
.rule-wizard[b-thwfvu0nvl]  .rw-pv-wa {
    background: #e5ddd5;
    border-radius: 12px;
    padding: 16px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-wa-bubble {
    max-width: 420px;
    margin-left: auto;
    background: #dcf8c6;
    color: #1f2c34;
    padding: 8px 10px 6px;
    border-radius: 10px 0 10px 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    display: grid;
    gap: 2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-wa-time {
    justify-self: end;
    font-size: 11px;
    color: #667781;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-sms {
    padding: 8px 0;
}

.rule-wizard[b-thwfvu0nvl]  .rw-sms-bubble {
    max-width: 380px;
    background: #e9e9eb;
    color: #1c1c1e;
    padding: 10px 12px;
    border-radius: 18px 18px 18px 4px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-wa-bubble mark.rw-var,
.rule-wizard[b-thwfvu0nvl]  .rw-sms-bubble mark.rw-var {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-weight: 600;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--st-shadow-sm);
    max-width: 460px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-card .rw-ch-ico {
    width: 32px;
    height: 32px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-app {
    font-size: 11px;
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-title {
    font-weight: 600;
    color: var(--st-text-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-text {
    font-size: 13px;
    color: var(--st-text-secondary);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pv-mail {
    display: grid;
    gap: 6px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px;
    max-width: 520px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-mail-from {
    font-size: 12px;
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-mail-subj {
    font-weight: 600;
    color: var(--st-text-strong);
}

/* ---- Recipients step ----------------------------------------------------------------------------------------- */

/* The live audience and, right under it, the event's base notice (sent whatever the rule says). */
.rule-wizard[b-thwfvu0nvl]  .rw-aud-stack {
    display: grid;
    gap: 8px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-base-note b {
    font-weight: 700;
}

.rule-wizard[b-thwfvu0nvl]  .rw-aud {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--st-fill-2);
    border: 1px dashed var(--st-border-strong);
    color: var(--st-text-secondary);
    font-size: 13px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-aud .rule-icon {
    color: var(--st-text-muted);
    flex: none;
}

/* Job title picker: the chosen titles as tags inside a search field; the list opens below it, in the flow. */

.rule-wizard[b-thwfvu0nvl]  .rw-picker {
    display: grid;
    gap: 6px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-input-bg);
    color: var(--st-text-muted);
    cursor: text;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-field > .rule-icon {
    flex: none;
    margin-top: 8px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-field:focus-within,
.rule-wizard[b-thwfvu0nvl]  .rw-picker.is-open .rw-picker-field {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-tags {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-height: 30px;
    padding: 0 4px 0 10px;
    border-radius: 9999px;
    border: 1px solid #d81b84;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-size: 13px;
    font-weight: 600;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tag-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rule-wizard[b-thwfvu0nvl]  .rw-rc-n {
    font-size: 11px;
    font-weight: 800;
    padding: 0 6px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-accent-text);
    font-variant-numeric: tabular-nums;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tag-x {
    width: 22px;
    height: 22px;
    flex: none;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-tag-x:hover {
    background: var(--st-fill-3);
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-input {
    flex: 1;
    min-width: 140px;
    height: 30px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-size: 13.5px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-input:focus-visible {
    outline: none;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-caret {
    width: 30px;
    height: 30px;
    flex: none;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-caret:hover {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-caret .rule-icon {
    transition: transform 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker.is-open .rw-picker-caret .rule-icon {
    transform: rotate(180deg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-pop {
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-sm);
    overflow: hidden;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-list {
    display: grid;
    gap: 2px;
    max-height: 264px;
    overflow-y: auto;
    padding: 4px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 10px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-group span {
    font-weight: 800;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-pick-opt {
    padding: 7px 10px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pick-opt .rw-opt-title {
    font-size: 13.5px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pick-count {
    flex: none;
    font-size: 12px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.rule-wizard[b-thwfvu0nvl]  .rw-picker-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 14px;
    border-top: 1px solid var(--st-border);
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary.rw-btn-sm {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 13px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-input-bg);
    border-radius: 10px;
    color: var(--st-text-muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-search:focus-within {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-search input {
    border: 0;
    background: transparent;
    outline: none;
    flex: 1;
    min-width: 0;
    color: var(--st-text);
    font: inherit;
}

.rule-wizard[b-thwfvu0nvl]  .rw-search input:focus-visible {
    outline: none;
}

.rule-wizard[b-thwfvu0nvl]  .rw-people {
    display: grid;
    gap: 2px;
    max-height: 232px;
    overflow-y: auto;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 4px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-person {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-person:hover {
    background: var(--st-fill-2);
}

.rule-wizard[b-thwfvu0nvl]  .rw-person:focus-within {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-person.is-on {
    background: var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 700;
    flex: none;
}

.rule-wizard[b-thwfvu0nvl]  .rw-people-empty {
    margin: 0;
    padding: 14px;
    color: var(--st-text-subtle);
    font-size: 13px;
}

/* ---- Conditions step ----------------------------------------------------------------------------------------- */

.rule-wizard[b-thwfvu0nvl]  .rw-logic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--st-text-secondary);
    font-size: 13px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-seg {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border-radius: 9999px;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
}

.rule-wizard[b-thwfvu0nvl]  .rw-seg-btn {
    border: 0;
    background: transparent;
    color: var(--st-text-subtle);
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-seg-btn.is-on {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

.rule-wizard[b-thwfvu0nvl]  .rw-conds {
    display: grid;
    gap: 8px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.2fr) 36px;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: var(--st-fill-1);
    border: 1px solid var(--st-border);
}

/* "es uno de": field, operator and remove on the first line; the values picker takes the whole second line. */

.rule-wizard[b-thwfvu0nvl]  .rw-cond-row.is-multi {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 36px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-row.is-multi > .rw-icon-btn {
    grid-row: 1;
    grid-column: 3;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-row.is-multi > .rw-cond-picker {
    grid-column: 1 / -1;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-picker .rw-picker-field {
    min-height: 40px;
    padding: 4px 4px 4px 10px;
    border-radius: 8px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-picker .rw-tag {
    min-height: 28px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cond-picker .rw-picker-input {
    min-width: 120px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-pick-opt.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.rule-wizard[b-thwfvu0nvl]  .rw-conj-pill {
    justify-self: start;
    margin-left: 14px;
    padding: 1px 10px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rule-wizard[b-thwfvu0nvl]  .rw-select,
.rule-wizard[b-thwfvu0nvl]  .rw-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-input-bg);
    color: var(--st-text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rule-wizard[b-thwfvu0nvl]  .rw-select:focus,
.rule-wizard[b-thwfvu0nvl]  .rw-input:focus {
    border-color: #d81b84;
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.rule-wizard[b-thwfvu0nvl]  .rw-select:disabled {
    opacity: 0.65;
}

.rule-wizard[b-thwfvu0nvl]  .rw-num-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.rule-wizard[b-thwfvu0nvl]  .rw-unit {
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rule-wizard[b-thwfvu0nvl]  .rw-cool-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
    color: var(--st-text-secondary);
    font-size: 13px;
}

.rule-wizard[b-thwfvu0nvl]  .rw-cool-row .rw-input {
    width: 96px;
}

@container drawer (max-width: 560px) {
    .rw-head[b-thwfvu0nvl],
    .rw-body[b-thwfvu0nvl],
    .rw-foot[b-thwfvu0nvl] {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Narrow: numbers only, and the current step takes the free room for its label. */
    .rw-stepper[b-thwfvu0nvl] {
        display: flex;
        padding-left: 16px;
        padding-right: 16px;
        gap: 6px;
    }

    .rw-stepper li[b-thwfvu0nvl] {
        flex: 0 0 36px;
        min-width: 0;
    }

    .rw-stepper li:has(.is-current)[b-thwfvu0nvl] {
        flex: 1 1 auto;
    }

    .rw-step:not(.is-current) .rw-step-label[b-thwfvu0nvl] {
        display: none;
    }

    .rw-btn-primary[b-thwfvu0nvl],
    .rule-wizard[b-thwfvu0nvl]  .rw-btn-secondary {
        padding: 0 14px;
    }

    .rule-wizard[b-thwfvu0nvl]  .rw-opt-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rule-wizard[b-thwfvu0nvl]  .rw-cond-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 36px;
    }

    .rule-wizard[b-thwfvu0nvl]  .rw-cond-row .rw-cf {
        grid-column: 1 / -1;
    }

    /* Narrow "es uno de": field; then operator and remove; then the values picker. */
    .rule-wizard[b-thwfvu0nvl]  .rw-cond-row.is-multi {
        grid-template-columns: minmax(0, 1fr) 36px;
    }

    .rule-wizard[b-thwfvu0nvl]  .rw-cond-row.is-multi > .rw-icon-btn {
        grid-row: 2;
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rw-scrim[b-thwfvu0nvl],
    .rw-drawer[b-thwfvu0nvl],
    .rw-spinner[b-thwfvu0nvl],
    .rw-bar[b-thwfvu0nvl],
    .rule-wizard[b-thwfvu0nvl]  .rw-opt,
    .rule-wizard[b-thwfvu0nvl]  .rw-tick {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Summary/TemplateSummaryDrawer.razor.rz.scp.css */
/* Template summary: a right-hand drawer over the panel, in the rule drawer's design language (Rules/RuleWizard.razor.css).
   Neutral colors come from the --st-* tokens; the brand magenta stays literal. */

.ts-scrim[b-typk14oaic] {
    position: fixed;
    inset: 0;
    background: var(--st-backdrop);
    z-index: 40;
    animation: ts-fade-b-typk14oaic 0.25s ease;
}

.ts-drawer[b-typk14oaic] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(560px, 100vw);
    background: var(--st-app-frame);
    color: var(--st-text-body);
    border-left: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 41;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    animation: ts-slide-b-typk14oaic 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes ts-fade-b-typk14oaic {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ts-slide-b-typk14oaic {
    from { transform: translateX(104%); }
    to { transform: none; }
}

.ts-head[b-typk14oaic] {
    padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ts-head-text[b-typk14oaic] {
    min-width: 0;
}

.ts-eyebrow[b-typk14oaic] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.ts-title[b-typk14oaic] {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.ts-subtitle[b-typk14oaic] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.ts-icon-btn[b-typk14oaic] {
    width: 36px;
    height: 36px;
    flex: none;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text-subtle);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ts-icon-btn:hover[b-typk14oaic] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

.ts-facts[b-typk14oaic] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--st-border);
}

.ts-pill[b-typk14oaic] {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ts-pill.tone-success[b-typk14oaic] { background: var(--st-success-bg); color: var(--st-success-text); }
.ts-pill.tone-info[b-typk14oaic] { background: var(--st-info-bg); color: var(--st-info-text); }
.ts-pill.tone-warning[b-typk14oaic] { background: var(--st-warning-bg); color: var(--st-warning-text); }
.ts-pill.tone-danger[b-typk14oaic] { background: var(--st-danger-bg); color: var(--st-danger-text); }
.ts-pill.tone-off[b-typk14oaic] { background: var(--st-fill-3); color: var(--st-text-subtle); }

/* The content box (st-chrome-box in css/theme.css): the part of the drawer that follows the theme. */
.ts-body[b-typk14oaic] {
    flex: 1;
    margin: 14px 16px 0;
    overflow-y: auto;
    padding: 18px 24px 24px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.ts-note[b-typk14oaic] {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.ts-note[b-typk14oaic]  .rule-icon {
    flex: none;
    margin-top: 2px;
}

.ts-note.tone-info[b-typk14oaic] { background: var(--st-info-bg); color: var(--st-info-text); }
.ts-note.tone-danger[b-typk14oaic] { background: var(--st-danger-bg); color: var(--st-danger-text); }

.ts-section[b-typk14oaic] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.ts-channels[b-typk14oaic] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ts-channel[b-typk14oaic] {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
}

.ts-channel.is-off[b-typk14oaic] {
    background: transparent;
    border-style: dashed;
}

.ts-channel.is-off .ts-ch-ico[b-typk14oaic] {
    opacity: 0.55;
}

.ts-ch-ico[b-typk14oaic] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--st-fill-3);
    flex: none;
}

.ts-ch-ico.ch-whatsapp[b-typk14oaic] { color: var(--st-success-fg); }
.ts-ch-ico.ch-sms[b-typk14oaic] { color: var(--st-info-fg); }
.ts-ch-ico.ch-email[b-typk14oaic] { color: #dea301; }
.ts-ch-ico.ch-push[b-typk14oaic] { color: var(--st-accent-text); }
.ts-ch-ico.ch-web[b-typk14oaic] { color: var(--st-text-secondary); }

.ts-ch-main[b-typk14oaic] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
}

.ts-ch-head[b-typk14oaic] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    min-height: 36px;
}

.ts-ch-name[b-typk14oaic] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.ts-ch-strong[b-typk14oaic],
.ts-ch-text[b-typk14oaic],
.ts-ch-meta[b-typk14oaic] {
    margin: 0;
    overflow-wrap: anywhere;
}

.ts-ch-strong[b-typk14oaic] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.ts-ch-text[b-typk14oaic] {
    color: var(--st-text-body);
    white-space: pre-line;
}

.ts-clamp[b-typk14oaic] {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-ch-meta[b-typk14oaic] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.template-summary[b-typk14oaic]  mark.rw-var {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
    border-radius: 4px;
    padding: 0 3px;
}

.ts-foot[b-typk14oaic] {
    border-top: 1px solid var(--st-border);
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ts-readonly[b-typk14oaic] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.ts-btn-primary[b-typk14oaic],
.ts-btn-ghost[b-typk14oaic] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ts-btn-primary[b-typk14oaic] {
    margin-left: auto;
    background: #d81b84;
    color: var(--st-on-accent);
    border: 1px solid #d81b84;
}

.ts-btn-primary:hover[b-typk14oaic] {
    background: #e5389a;
    border-color: #e5389a;
}

.ts-btn-ghost[b-typk14oaic] {
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-subtle);
    padding: 0 8px;
}

.ts-btn-ghost:hover[b-typk14oaic] {
    color: var(--st-text-strong);
}

@media (prefers-reduced-motion: reduce) {
    .ts-scrim[b-typk14oaic],
    .ts-drawer[b-typk14oaic] {
        animation: none;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Tabs/ChannelsTab.razor.rz.scp.css */
.channels-tab-container[b-r3yy3ob80s] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.channels-header-banner[b-r3yy3ob80s] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 18px;
}

.banner-info[b-r3yy3ob80s] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--st-text-secondary);
}

.banner-info svg[b-r3yy3ob80s] {
    width: 20px;
    height: 20px;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.providers-grid[b-r3yy3ob80s] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}

.provider-card[b-r3yy3ob80s] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.provider-card:hover[b-r3yy3ob80s] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.provider-card-header[b-r3yy3ob80s] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.provider-icon-badge[b-r3yy3ob80s] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.provider-icon-badge svg[b-r3yy3ob80s] {
    width: 22px;
    height: 22px;
}

.provider-icon-badge.whatsapp[b-r3yy3ob80s] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

.provider-icon-badge.sms[b-r3yy3ob80s] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.provider-icon-badge.email[b-r3yy3ob80s] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
}

.provider-icon-badge.web[b-r3yy3ob80s] {
    background: var(--st-surface-sunken);
    color: #7c3aed;
}

.provider-icon-badge.mobilepush[b-r3yy3ob80s] {
    background: var(--st-accent-bg);
    color: #db2777;
}

.provider-title-group[b-r3yy3ob80s] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.provider-name[b-r3yy3ob80s] {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

.provider-service[b-r3yy3ob80s] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
}

.provider-status-badge[b-r3yy3ob80s] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 600;
}

.provider-status-badge .dot[b-r3yy3ob80s] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.provider-status-badge.online[b-r3yy3ob80s] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
}
.provider-status-badge.online .dot[b-r3yy3ob80s] {
    background: #10b981;
}

.provider-status-badge.offline[b-r3yy3ob80s] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
}
.provider-status-badge.offline .dot[b-r3yy3ob80s] {
    background: #ef4444;
}

.provider-card-body[b-r3yy3ob80s] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--st-border-subtle);
    padding-top: 12px;
}

.provider-description[b-r3yy3ob80s] {
    font-size: 0.84rem;
    color: var(--st-text-secondary);
    line-height: 1.4;
    margin: 0;
}

.provider-meta-row[b-r3yy3ob80s] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.82rem;
}

.meta-label[b-r3yy3ob80s] {
    font-weight: 600;
    color: var(--st-text-subtle);
    font-size: 0.78rem;
}

.meta-value[b-r3yy3ob80s] {
    color: var(--st-text-strong);
    font-family: 'Segoe UI Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
}

.meta-value-sub[b-r3yy3ob80s] {
    color: var(--st-text-subtle);
    font-size: 0.78rem;
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Tabs/HistoryTab.razor.rz.scp.css */
/* Notification history: channel and status filters (the period is in the panel's filter slot), the period's summary
   chips and one row per message, recipient and channel. Neutral colors come from the --st-* tokens (light and dark
   themes); brand magenta stays literal. Rows turn into labeled cards when the panel is narrow, like the rules list
   (RulesTab.razor.css). */

.nh-tab[b-96nlxhqctd] {
    container: history / inline-size;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.nh-sr-only[b-96nlxhqctd] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Filters: channel and status selects */
.nh-filters[b-96nlxhqctd] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nh-select[b-96nlxhqctd] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px 0 12px;
    border-radius: 10px;
    border: 1.5px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text);
    font-size: 13px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nh-select:hover[b-96nlxhqctd] {
    border-color: var(--st-border-stronger);
}

.nh-select.is-active[b-96nlxhqctd] {
    border-color: var(--st-info-fg);
    background: var(--st-info-bg);
}

.nh-select:focus-within[b-96nlxhqctd] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.nh-select-label[b-96nlxhqctd] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.nh-select-input[b-96nlxhqctd] {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--st-text-strong);
    font: inherit;
    font-weight: 600;
    padding: 0 18px 0 0;
    min-height: 32px;
    cursor: pointer;
    outline: none;
}

.nh-select-input option[b-96nlxhqctd] {
    background: var(--st-surface);
    color: var(--st-text);
}

.nh-select[b-96nlxhqctd]  .nh-select-caret {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--st-text-subtle);
}

/* Summary chips: the period's counts by status; one click filters, a second clears */
.nh-summary[b-96nlxhqctd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nh-total[b-96nlxhqctd] {
    margin-right: 4px;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.nh-total b[b-96nlxhqctd] {
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.nh-chip[b-96nlxhqctd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nh-chip:hover[b-96nlxhqctd] {
    background: var(--st-fill-3);
}

.nh-chip-count[b-96nlxhqctd] {
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.nh-dot[b-96nlxhqctd] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex: none;
    background: var(--st-text-muted);
}

.tone-info .nh-dot[b-96nlxhqctd] { background: var(--st-info-fg); }
.tone-success .nh-dot[b-96nlxhqctd] { background: var(--st-success-fg); }
.tone-success-strong .nh-dot[b-96nlxhqctd] { background: var(--st-success-text); }
.tone-danger .nh-dot[b-96nlxhqctd] { background: var(--st-danger-fg); }

.nh-chip.is-active.tone-info[b-96nlxhqctd] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.nh-chip.is-active.tone-success[b-96nlxhqctd] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.nh-chip.is-active.tone-success-strong[b-96nlxhqctd] {
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.nh-chip.is-active.tone-danger[b-96nlxhqctd] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.nh-chip.is-active .nh-chip-count[b-96nlxhqctd] {
    color: inherit;
}

/* Table */
.nh-card[b-96nlxhqctd] {
    border: 1px solid var(--st-border);
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
    background: var(--st-surface);
}

.nh-table[b-96nlxhqctd] {
    min-width: 0;
}

.nh-head[b-96nlxhqctd],
.nh-row[b-96nlxhqctd] {
    display: grid;
    grid-template-columns:
        128px minmax(140px, 1.1fr) 116px minmax(140px, 1fr)
        minmax(180px, 1.6fr) 150px;
    gap: 14px;
    padding: 14px 18px;
    align-items: start;
}

.nh-head[b-96nlxhqctd] {
    background: var(--st-surface-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
    padding-block: 10px;
}

.nh-row[b-96nlxhqctd] {
    border-top: 1px solid var(--st-border-subtle);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nh-row:hover[b-96nlxhqctd] {
    background: var(--st-fill-1);
}

.nh-row.is-open[b-96nlxhqctd] {
    background: var(--st-fill-1);
}

.nh-cell[b-96nlxhqctd] {
    min-width: 0;
    display: grid;
    gap: 4px;
    align-content: start;
}

.nh-cell[data-label][b-96nlxhqctd]::before {
    content: attr(data-label);
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.nh-date[b-96nlxhqctd] {
    font-size: 13px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nh-ev-name[b-96nlxhqctd] {
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.nh-ev-ctx[b-96nlxhqctd] {
    font-size: 12.5px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

/* Channel badge, on tokens so it reads in both themes; web and push together share the push color */
.nh-channel[b-96nlxhqctd] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-3);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.nh-channel.ch-whatsapp[b-96nlxhqctd] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border-color: var(--st-success-border);
}

.nh-channel.ch-sms[b-96nlxhqctd] {
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    border-color: var(--st-border-strong);
}

.nh-channel.ch-email[b-96nlxhqctd] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border-color: var(--st-info-border);
}

.nh-channel.ch-push[b-96nlxhqctd],
.nh-channel.ch-all[b-96nlxhqctd] {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    border-color: var(--st-accent-border);
}

.nh-channel.ch-web[b-96nlxhqctd] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border-color: var(--st-border-strong);
}

.nh-rec-name[b-96nlxhqctd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-body);
    font-size: 13.5px;
    overflow-wrap: anywhere;
}

.nh-rec-name.is-broadcast[b-96nlxhqctd] {
    color: var(--st-text-secondary);
    font-style: italic;
}

.nh-rec-name[b-96nlxhqctd]  .rule-icon {
    flex: none;
    color: var(--st-text-muted);
}

.nh-rec-contact[b-96nlxhqctd] {
    font-family: 'Segoe UI Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--st-text-subtle);
    overflow-wrap: anywhere;
}

.nh-tag[b-96nlxhqctd] {
    justify-self: start;
    padding: 1px 8px;
    border-radius: 9999px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nh-tag.is-base[b-96nlxhqctd] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

/* Message: title and the first line; the row opens to the whole text */
.nh-msg[b-96nlxhqctd] {
    display: grid;
    gap: 2px;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
}

.nh-msg:focus-visible[b-96nlxhqctd] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.nh-msg-title[b-96nlxhqctd] {
    font-weight: 700;
    color: var(--st-text-strong);
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nh-msg-text[b-96nlxhqctd] {
    font-size: 13px;
    color: var(--st-text-subtle);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nh-status[b-96nlxhqctd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    padding: 3px 9px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-3);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.nh-status.tone-info[b-96nlxhqctd] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.nh-status.tone-success[b-96nlxhqctd] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.nh-status.tone-success-strong[b-96nlxhqctd] {
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.nh-status.tone-danger[b-96nlxhqctd] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.nh-progress[b-96nlxhqctd] {
    font-size: 12px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.nh-fail-short[b-96nlxhqctd] {
    font-size: 12px;
    color: var(--st-danger-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Opened row: the whole message, why it failed and every time */
.nh-detail[b-96nlxhqctd] {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-surface);
    cursor: auto;
}

.nh-detail p[b-96nlxhqctd] {
    margin: 0;
}

.nh-detail-title[b-96nlxhqctd] {
    font-weight: 700;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.nh-detail-text[b-96nlxhqctd] {
    color: var(--st-text-body);
    font-size: 13.5px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.nh-detail-fail[b-96nlxhqctd] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.nh-detail-fail[b-96nlxhqctd]  .rule-icon {
    flex: none;
    margin-top: 2px;
    color: var(--st-danger-fg);
}

.nh-detail-times[b-96nlxhqctd] {
    font-size: 12px;
    color: var(--st-text-muted);
    font-variant-numeric: tabular-nums;
}

/* Loading skeleton */
.nh-skel-row[b-96nlxhqctd] {
    cursor: default;
}

.nh-skel-row:hover[b-96nlxhqctd] {
    background: transparent;
}

.nh-skel[b-96nlxhqctd] {
    display: block;
    height: 12px;
    width: 80%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--st-fill-2) 0%, var(--st-fill-4) 50%, var(--st-fill-2) 100%);
    background-size: 200% 100%;
    animation: nh-shimmer-b-96nlxhqctd 1.3s ease-in-out infinite;
}

.nh-skel-short[b-96nlxhqctd] {
    width: 55%;
}

.nh-skel-long[b-96nlxhqctd] {
    width: 100%;
}

@keyframes nh-shimmer-b-96nlxhqctd {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

/* Empty, error and no-scope states */
.nh-state[b-96nlxhqctd] {
    padding: 40px 20px;
    text-align: center;
    color: var(--st-text-subtle);
    display: grid;
    justify-items: center;
    gap: 12px;
    border-top: 1px solid var(--st-border-subtle);
}

.nh-card > .nh-state[b-96nlxhqctd] {
    border-top: 0;
}

.nh-state p[b-96nlxhqctd] {
    margin: 0;
}

.nh-state-cell[b-96nlxhqctd] {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.nh-state-empty[b-96nlxhqctd]  .rule-icon {
    color: var(--st-text-muted);
}

.nh-state .nh-state-sub[b-96nlxhqctd] {
    margin-top: -4px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.nh-state-error[b-96nlxhqctd] {
    color: var(--st-danger-text);
}

.nh-state-error[b-96nlxhqctd]  .rule-icon {
    color: var(--st-danger-fg);
}

.nh-btn-secondary[b-96nlxhqctd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nh-btn-secondary:hover[b-96nlxhqctd] {
    background: var(--st-fill-3);
}

/* Pager */
.nh-pager[b-96nlxhqctd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nh-range[b-96nlxhqctd] {
    font-size: 13px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}

.nh-pager-btns[b-96nlxhqctd] {
    display: flex;
    gap: 6px;
}

.nh-icon-btn[b-96nlxhqctd] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nh-icon-btn:hover:not(:disabled)[b-96nlxhqctd] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

.nh-icon-btn:disabled[b-96nlxhqctd] {
    cursor: not-allowed;
    opacity: 0.5;
}

.nh-icon-btn[b-96nlxhqctd]  .rule-icon.is-prev {
    transform: rotate(90deg);
}

.nh-icon-btn[b-96nlxhqctd]  .rule-icon.is-next {
    transform: rotate(-90deg);
}

.nh-chip:focus-visible[b-96nlxhqctd],
.nh-btn-secondary:focus-visible[b-96nlxhqctd],
.nh-icon-btn:focus-visible[b-96nlxhqctd] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@container history (max-width: 980px) {
    .nh-head[b-96nlxhqctd] {
        display: none;
    }

    .nh-row[b-96nlxhqctd] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px 20px;
        padding: 16px;
    }

    .nh-cell[data-label][b-96nlxhqctd]::before {
        display: block;
    }

    .nh-c-msg[b-96nlxhqctd] {
        grid-column: 1 / -1;
    }
}

@container history (max-width: 520px) {
    .nh-filters[b-96nlxhqctd] {
        width: 100%;
    }

    .nh-select[b-96nlxhqctd] {
        flex: 1 1 140px;
    }

    .nh-select-input[b-96nlxhqctd] {
        flex: 1;
        min-width: 0;
    }

    .nh-row[b-96nlxhqctd] {
        grid-template-columns: minmax(0, 1fr);
    }

    .nh-pager[b-96nlxhqctd] {
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nh-row[b-96nlxhqctd],
    .nh-chip[b-96nlxhqctd],
    .nh-skel[b-96nlxhqctd],
    .nh-icon-btn[b-96nlxhqctd] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Tabs/RulesTab.razor.rz.scp.css */
/* Rules list: one row per rule (event, message, channels, recipients, conditions, state, actions). Neutral colors come
   from the --st-* tokens; brand magenta/gold stay literal. Rows turn into labeled cards when the panel is narrow. */

.rl-tab[b-f8z9dk1gy5] {
    container: rules / inline-size;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.rl-explain[b-f8z9dk1gy5] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--st-info-bg);
    color: var(--st-info-text);
    font-size: 13px;
}

.rl-explain p[b-f8z9dk1gy5] {
    margin: 0;
}

.rl-explain[b-f8z9dk1gy5]  .rule-icon {
    color: var(--st-info-fg);
    flex: none;
    margin-top: 2px;
}

/* Base notices: who each event always notifies by bell and push, whatever the rules say. Read-only, so it reads as a
   quiet panel (muted surface, lock) rather than a row of the list; it folds to its title line and remembers that. */
.rl-base[b-f8z9dk1gy5] {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: var(--st-surface-muted);
}

.rl-base-head[b-f8z9dk1gy5] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.rl-base-lock[b-f8z9dk1gy5] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

.rl-base-copy[b-f8z9dk1gy5] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.rl-base-title[b-f8z9dk1gy5] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--st-text-strong);
}

.rl-base-count[b-f8z9dk1gy5] {
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--st-fill-3);
    color: var(--st-text-subtle);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rl-base-rule[b-f8z9dk1gy5] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.rl-base-more[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rl-base-more:hover[b-f8z9dk1gy5] {
    background: var(--st-fill-3);
}

.rl-base-more:focus-visible[b-f8z9dk1gy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.rl-base-more[b-f8z9dk1gy5]  .rule-icon {
    transition: transform 0.2s ease;
}

.rl-base-more[b-f8z9dk1gy5]  .rule-icon.is-up {
    transform: rotate(180deg);
}

.rl-base-list[b-f8z9dk1gy5] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.rl-base-item[b-f8z9dk1gy5] {
    min-width: 0;
    display: grid;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-surface);
}

.rl-base-ev[b-f8z9dk1gy5] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.rl-base-who[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12.5px;
    color: var(--st-text-secondary);
}

.rl-base-who[b-f8z9dk1gy5]  .rule-icon {
    flex: none;
    margin-top: 2px;
    color: var(--st-text-muted);
}

.rl-base-foot[b-f8z9dk1gy5] {
    margin: 0;
    font-size: 12.5px;
    color: var(--st-text-muted);
}

.rl-tally[b-f8z9dk1gy5] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.rl-tally b[b-f8z9dk1gy5] {
    color: var(--st-text-strong);
    font-variant-numeric: tabular-nums;
}

.rl-tally-warn[b-f8z9dk1gy5] {
    color: var(--st-warning-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rl-dot[b-f8z9dk1gy5] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--st-warning-fg);
    display: inline-block;
    flex: none;
}

.rl-dot.is-danger[b-f8z9dk1gy5] {
    background: var(--st-danger-fg);
}

.rl-sr-only[b-f8z9dk1gy5] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Table */
.rl-table[b-f8z9dk1gy5] {
    border: 1px solid var(--st-border);
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
    background: var(--st-surface);
}

.rl-head[b-f8z9dk1gy5],
.rl-row[b-f8z9dk1gy5] {
    display: grid;
    grid-template-columns:
        minmax(170px, 1.25fr) minmax(130px, 1fr) minmax(120px, 0.85fr)
        minmax(150px, 1.15fr) minmax(150px, 1.15fr) 112px 92px;
    gap: 14px;
    padding: 14px 18px;
    align-items: start;
}

.rl-head[b-f8z9dk1gy5] {
    background: var(--st-surface-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
    padding-block: 10px;
}

.rl-row[b-f8z9dk1gy5] {
    border-top: 1px solid var(--st-border-subtle);
    transition: background-color 0.2s ease;
}

.rl-row:hover[b-f8z9dk1gy5] {
    background: var(--st-fill-1);
}

/* The row opens the rule's summary drawer. */
.rl-row.is-clickable[b-f8z9dk1gy5] {
    cursor: pointer;
}

.rl-row.is-clickable:focus-visible[b-f8z9dk1gy5] {
    outline: 2px solid #d81b84;
    outline-offset: -2px;
}

.rl-row.is-selected[b-f8z9dk1gy5] {
    background: var(--st-fill-2);
}

.rl-row.is-off .rl-cell:not(.rl-c-state):not(.rl-c-actions)[b-f8z9dk1gy5] {
    opacity: 0.55;
}

.rl-row.is-flash[b-f8z9dk1gy5] {
    animation: rl-flash-b-f8z9dk1gy5 2.4s ease-out;
}

@keyframes rl-flash-b-f8z9dk1gy5 {
    0%, 30% { background: var(--st-accent-bg); }
    100% { background: transparent; }
}

.rl-cell[b-f8z9dk1gy5] {
    min-width: 0;
    display: grid;
    gap: 4px;
    align-content: start;
}

.rl-cell[data-label][b-f8z9dk1gy5]::before {
    content: attr(data-label);
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.rl-ev-name[b-f8z9dk1gy5] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.rl-ev-desc[b-f8z9dk1gy5] {
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.rl-tpl[b-f8z9dk1gy5] {
    display: inline-flex;
    gap: 6px;
    align-items: flex-start;
    color: var(--st-text-body);
    font-size: 13.5px;
}

.rl-tpl[b-f8z9dk1gy5]  .rule-icon {
    margin-top: 2px;
    color: var(--st-text-muted);
    flex: none;
}

.rl-chips[b-f8z9dk1gy5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rl-chip[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-3);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The text shrinks inside the chip: a bare text node in a flex box keeps its longest word, so a long name or id
   would overflow into the next column instead of ending in an ellipsis. */
.rl-chip-text[b-f8z9dk1gy5] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rl-chip.is-accent[b-f8z9dk1gy5] {
    background: var(--st-accent-bg);
    border-color: var(--st-accent-border);
    color: var(--st-accent-text);
}

.rl-chip.is-warn[b-f8z9dk1gy5] {
    border-color: var(--st-gold-border);
}

.rl-chip.ch-whatsapp[b-f8z9dk1gy5]  .rule-icon { color: var(--st-success-fg); }
.rl-chip.ch-sms[b-f8z9dk1gy5]  .rule-icon { color: var(--st-info-fg); }
.rl-chip.ch-email[b-f8z9dk1gy5]  .rule-icon { color: #dea301; }
.rl-chip.ch-push[b-f8z9dk1gy5]  .rule-icon { color: var(--st-accent-text); }
.rl-chip.ch-web[b-f8z9dk1gy5]  .rule-icon { color: var(--st-text-secondary); }

/* A channel the template does not send (switched off there, or without text): grayed out, after the channel colors. */
.rl-chip.is-off[b-f8z9dk1gy5] {
    background: transparent;
    border-style: dashed;
    color: var(--st-text-muted);
    opacity: 0.7;
}

.rl-chip.is-off[b-f8z9dk1gy5]  .rule-icon { color: var(--st-text-muted); }

.rl-badge[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rl-badge-inherit[b-f8z9dk1gy5] {
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
}

.rl-badge-legacy[b-f8z9dk1gy5] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-subtle);
}

.rl-cond-always[b-f8z9dk1gy5] {
    color: var(--st-text-muted);
    font-size: 13px;
}

.rl-cond-line[b-f8z9dk1gy5] {
    font-size: 13px;
    color: var(--st-text-secondary);
}

.rl-conj[b-f8z9dk1gy5] {
    color: var(--st-text-muted);
    font-style: italic;
    margin-right: 4px;
}

.rl-cond-cool[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

/* State switch: a button with role="switch", so a cancelled change never leaves the control out of sync. */
.rl-switch[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 4px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 9999px;
}

.rl-switch:disabled[b-f8z9dk1gy5] {
    cursor: not-allowed;
    opacity: 0.6;
}

.rl-switch.is-busy[b-f8z9dk1gy5] {
    cursor: progress;
}

.rl-switch:focus-visible[b-f8z9dk1gy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.rl-track[b-f8z9dk1gy5] {
    width: 40px;
    height: 22px;
    border-radius: 9999px;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border-strong);
    position: relative;
    flex: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rl-track[b-f8z9dk1gy5]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.rl-switch[aria-checked="true"] .rl-track[b-f8z9dk1gy5] {
    background: #d81b84;
    border-color: #d81b84;
}

.rl-switch[aria-checked="true"] .rl-track[b-f8z9dk1gy5]::after {
    transform: translateX(18px);
}

.rl-sw-label[b-f8z9dk1gy5] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

/* Actions */
.rl-c-actions[b-f8z9dk1gy5] {
    justify-items: end;
}

.rl-actions[b-f8z9dk1gy5] {
    display: flex;
    gap: 6px;
}

.rl-icon-btn[b-f8z9dk1gy5] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-2);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rl-icon-btn:hover:not(:disabled)[b-f8z9dk1gy5] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

.rl-icon-danger:hover:not(:disabled)[b-f8z9dk1gy5] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.rl-icon-btn:disabled[b-f8z9dk1gy5],
.rl-btn-mini:disabled[b-f8z9dk1gy5] {
    cursor: not-allowed;
    opacity: 0.5;
}

.rl-btn-mini[b-f8z9dk1gy5] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid var(--st-gold-border);
    background: transparent;
    color: var(--st-gold-text);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rl-btn-mini:hover:not(:disabled)[b-f8z9dk1gy5] {
    background: var(--st-gold-bg);
}

.rl-btn-secondary[b-f8z9dk1gy5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rl-btn-secondary:hover[b-f8z9dk1gy5] {
    background: var(--st-fill-3);
}

.rl-icon-btn:focus-visible[b-f8z9dk1gy5],
.rl-btn-mini:focus-visible[b-f8z9dk1gy5],
.rl-btn-secondary:focus-visible[b-f8z9dk1gy5] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Empty, loading and error states */
.rl-empty[b-f8z9dk1gy5] {
    padding: 40px 20px;
    text-align: center;
    color: var(--st-text-subtle);
    display: grid;
    justify-items: center;
    gap: 12px;
}

.rl-empty p[b-f8z9dk1gy5] {
    margin: 0;
}

.rl-empty b[b-f8z9dk1gy5] {
    color: var(--st-text-strong);
}

.rl-empty .rl-empty-sub[b-f8z9dk1gy5] {
    margin-top: -6px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.rl-empty-cell[b-f8z9dk1gy5] {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.rl-empty-error[b-f8z9dk1gy5] {
    color: var(--st-danger-text);
}

.rl-empty-error[b-f8z9dk1gy5]  .rule-icon {
    color: var(--st-danger-fg);
}

.rl-spinner[b-f8z9dk1gy5] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2.5px solid var(--st-border-strong);
    border-top-color: #d81b84;
    animation: rl-spin-b-f8z9dk1gy5 0.8s linear infinite;
}

@keyframes rl-spin-b-f8z9dk1gy5 {
    to { transform: rotate(360deg); }
}

@container rules (max-width: 1060px) {
    .rl-head[b-f8z9dk1gy5] {
        display: none;
    }

    .rl-row[b-f8z9dk1gy5] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px 20px;
        padding: 16px;
    }

    .rl-cell[data-label][b-f8z9dk1gy5]::before {
        display: block;
    }

    .rl-c-event[b-f8z9dk1gy5] {
        grid-column: 1 / -1;
    }

    .rl-c-actions[b-f8z9dk1gy5] {
        align-self: end;
    }
}

@container rules (max-width: 560px) {
    .rl-row[b-f8z9dk1gy5] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* The fold button drops under the text, aligned with it; the notices go one per line. */
    .rl-base-head[b-f8z9dk1gy5] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .rl-base-more[b-f8z9dk1gy5] {
        grid-column: 2;
        justify-self: start;
    }

    .rl-base-list[b-f8z9dk1gy5] {
        grid-template-columns: minmax(0, 1fr);
    }

    .rl-c-actions[b-f8z9dk1gy5] {
        justify-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rl-row[b-f8z9dk1gy5],
    .rl-track[b-f8z9dk1gy5],
    .rl-track[b-f8z9dk1gy5]::after,
    .rl-row.is-flash[b-f8z9dk1gy5],
    .rl-spinner[b-f8z9dk1gy5],
    .rl-base-more[b-f8z9dk1gy5]  .rule-icon {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* /Pages/Home/Components/Setting/Department/Components/Notifications/Tabs/TemplatesTab.razor.rz.scp.css */
.templates-tab-container[b-ddjm6qu3mq] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Meta Warning Banner */
.meta-warning-banner[b-ddjm6qu3mq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: fadeInBanner-b-ddjm6qu3mq 0.25s ease-out;
}

.meta-warning-banner.active-filter[b-ddjm6qu3mq] {
    background: var(--st-warning-bg-strong);
    border-color: #f59e0b;
}

@keyframes fadeInBanner-b-ddjm6qu3mq {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-content[b-ddjm6qu3mq] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-icon[b-ddjm6qu3mq] {
    width: 22px;
    height: 22px;
    color: var(--st-warning-fg);
    flex-shrink: 0;
}

.banner-text[b-ddjm6qu3mq] {
    font-size: 0.88rem;
    color: var(--st-warning-text);
    line-height: 1.4;
}

.banner-text strong[b-ddjm6qu3mq] {
    font-weight: 700;
    margin-right: 6px;
    color: var(--st-warning-text);
}

.btn-banner-action[b-ddjm6qu3mq] {
    background: var(--st-surface);
    border: 1px solid #d97706;
    color: var(--st-warning-fg);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-banner-action:hover[b-ddjm6qu3mq] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    border-color: #b45309;
}

/* Table Card */
.table-card[b-ddjm6qu3mq] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

.templates-table[b-ddjm6qu3mq] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-family: inherit;
}

.templates-table th[b-ddjm6qu3mq] {
    background: var(--st-surface-muted);
    color: var(--st-text-subtle);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 12px 18px;
    border-bottom: 1.5px solid var(--st-border);
    white-space: nowrap;
}

.templates-table td[b-ddjm6qu3mq] {
    padding: 14px 18px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: middle;
    color: var(--st-text);
    font-size: 0.9rem;
}

.template-row[b-ddjm6qu3mq] {
    transition: background-color 0.15s ease;
}

.template-row:hover[b-ddjm6qu3mq] {
    background-color: var(--st-surface-muted);
}

.template-row.row-rejected[b-ddjm6qu3mq] {
    background-color: var(--st-surface-muted);
}

.template-row.row-rejected:hover[b-ddjm6qu3mq] {
    background-color: var(--st-danger-bg);
}

/* Column Widths & Alignments */
.col-template[b-ddjm6qu3mq] {
    min-width: 260px;
}

.col-channels[b-ddjm6qu3mq] {
    width: 170px;
    min-width: 170px;
}

.col-status[b-ddjm6qu3mq] {
    min-width: 220px;
}

.col-usage[b-ddjm6qu3mq] {
    width: 120px;
    min-width: 110px;
}

.col-origin[b-ddjm6qu3mq] {
    width: 130px;
    min-width: 120px;
}

.col-actions[b-ddjm6qu3mq] {
    width: 90px;
    min-width: 90px;
    text-align: right;
}

/* Template Info */
.template-info[b-ddjm6qu3mq] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.template-title[b-ddjm6qu3mq] {
    font-weight: 700;
    color: var(--st-text-strong);
    font-size: 0.94rem;
}

.template-subtitle[b-ddjm6qu3mq] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    line-height: 1.35;
}

/* Channels Matrix */
.channels-matrix[b-ddjm6qu3mq] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-slot[b-ddjm6qu3mq] {
    width: 28px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.slot-icon[b-ddjm6qu3mq] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border);
    transition: all 0.15s ease;
}

.slot-icon svg[b-ddjm6qu3mq] {
    width: 14px;
    height: 14px;
}

/* Slot status variants */
.channel-slot.active .slot-icon[b-ddjm6qu3mq] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border-color: var(--st-success-border);
}

.channel-slot.inreview .slot-icon[b-ddjm6qu3mq] {
    background: var(--st-gold-bg);
    color: var(--st-warning-fg);
    border-color: var(--st-warning-border);
}

.channel-slot.rejected .slot-icon[b-ddjm6qu3mq] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
}

.channel-slot.inactive .slot-icon[b-ddjm6qu3mq] {
    background: var(--st-surface);
    color: var(--st-text-muted);
    border: 1px dashed var(--st-border-strong);
}

/* Status dots */
.status-dot[b-ddjm6qu3mq] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: transparent;
}

.status-dot.active[b-ddjm6qu3mq] {
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

.status-dot.inreview[b-ddjm6qu3mq] {
    background: #f97316;
    box-shadow: 0 0 4px rgba(249, 115, 22, 0.4);
}

.status-dot.rejected[b-ddjm6qu3mq] {
    background: #ef4444;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
}

.status-dot.inactive[b-ddjm6qu3mq] {
    background: transparent;
}

/* Status Badges */
.status-cell-wrapper[b-ddjm6qu3mq] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-status[b-ddjm6qu3mq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    width: fit-content;
}

.indicator-dot[b-ddjm6qu3mq] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-published[b-ddjm6qu3mq] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
}
.status-published .indicator-dot[b-ddjm6qu3mq] {
    background: #10b981;
}

.status-in-review[b-ddjm6qu3mq] {
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    border: 1px solid var(--st-warning-border);
}
.status-in-review .indicator-dot[b-ddjm6qu3mq] {
    background: #f59e0b;
}

.status-rejected[b-ddjm6qu3mq] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
}
.status-rejected .indicator-dot[b-ddjm6qu3mq] {
    background: #ef4444;
}

.status-draft[b-ddjm6qu3mq] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border);
}
.status-draft .indicator-dot[b-ddjm6qu3mq] {
    background: #94a3b8;
}

.meta-reason-text[b-ddjm6qu3mq] {
    font-size: 0.76rem;
    color: var(--st-danger-text);
    line-height: 1.35;
    background: var(--st-danger-bg);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Usage Column */
.usage-text[b-ddjm6qu3mq] {
    font-size: 0.84rem;
    font-weight: 500;
}

.usage-text.active[b-ddjm6qu3mq] {
    color: var(--st-text-strong);
}

.usage-text.empty[b-ddjm6qu3mq] {
    color: var(--st-text-muted);
}

/* Origin Badges */
.badge-origin[b-ddjm6qu3mq] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
}

.badge-origin.default[b-ddjm6qu3mq] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
}

.badge-origin.custom[b-ddjm6qu3mq] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border);
}

/* Actions Column */
.actions-wrapper[b-ddjm6qu3mq] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    position: relative;
}

.btn-action-icon[b-ddjm6qu3mq] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-action-icon svg[b-ddjm6qu3mq] {
    width: 16px;
    height: 16px;
}

.btn-action-icon.edit[b-ddjm6qu3mq] {
    color: var(--st-info-fg);
}

.btn-action-icon.edit:hover[b-ddjm6qu3mq] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
}

.btn-action-icon.more[b-ddjm6qu3mq] {
    color: var(--st-text-subtle);
}

.btn-action-icon.more:hover[b-ddjm6qu3mq] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border);
}

/* Menu Dropdown */
.menu-container[b-ddjm6qu3mq] {
    position: relative;
}

.dropdown-actions-menu[b-ddjm6qu3mq] {
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 50;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 170px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    animation: fadeInMenu-b-ddjm6qu3mq 0.15s ease-out;
}

@keyframes fadeInMenu-b-ddjm6qu3mq {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item[b-ddjm6qu3mq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    font-size: 0.84rem;
    color: var(--st-text);
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}

.menu-item svg[b-ddjm6qu3mq] {
    width: 14px;
    height: 14px;
    color: var(--st-text-subtle);
}

.menu-item:hover[b-ddjm6qu3mq] {
    background: var(--st-surface-muted);
    color: var(--st-text-strong);
}

.menu-item.danger[b-ddjm6qu3mq] {
    color: var(--st-danger-fg);
}

.menu-item.danger svg[b-ddjm6qu3mq] {
    color: var(--st-danger-fg);
}

.menu-item.danger:hover[b-ddjm6qu3mq] {
    background: var(--st-danger-bg);
}

.menu-backdrop[b-ddjm6qu3mq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
}

/* Empty State */
.empty-row td[b-ddjm6qu3mq] {
    padding: 48px 24px;
    text-align: center;
}

.empty-state[b-ddjm6qu3mq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.empty-icon[b-ddjm6qu3mq] {
    width: 44px;
    height: 44px;
    color: var(--st-text-muted);
    margin-bottom: 4px;
}

.empty-title[b-ddjm6qu3mq] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--st-text);
}

.empty-subtitle[b-ddjm6qu3mq] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
}

.btn-clear-filter[b-ddjm6qu3mq] {
    margin-top: 8px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-clear-filter:hover[b-ddjm6qu3mq] {
    background: var(--st-surface-strong);
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/CreateGroupPanel.razor.rz.scp.css */
.create-group-panel[b-f1p1ekyljb] {
    background-color: var(--st-surface);
    border-radius: 12px;
    padding: 24px;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.cgp-header[b-f1p1ekyljb] {
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.cgp-title[b-f1p1ekyljb] {
    font-size: 24px;
    color: var(--st-text);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.cgp-subtitle[b-f1p1ekyljb] {
    color: var(--st-text-subtle);
    margin: 0;
    font-size: 14px;
}

.cgp-body[b-f1p1ekyljb] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.cgp-body .form-group[b-f1p1ekyljb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cgp-body label[b-f1p1ekyljb] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.cgp-body input[b-f1p1ekyljb],
.cgp-body select[b-f1p1ekyljb] {
    padding: 11px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--st-text-brand);
    background-color: var(--st-surface-muted);
    transition: all 0.2s;
}

.cgp-body input:focus[b-f1p1ekyljb],
.cgp-body select:focus[b-f1p1ekyljb] {
    outline: none;
    border-color: #0EA5E9;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.cgp-hint[b-f1p1ekyljb] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

.cgp-error[b-f1p1ekyljb] {
    font-size: 0.85rem;
    color: var(--st-danger-fg);
    background: var(--st-danger-bg);
    border-radius: 8px;
    padding: 10px 14px;
}

.cgp-footer[b-f1p1ekyljb] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
}

.cgp-footer button[b-f1p1ekyljb] {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cgp-footer .btn-cancel[b-f1p1ekyljb] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.cgp-footer .btn-cancel:hover:not(:disabled)[b-f1p1ekyljb] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}

.cgp-footer .btn-primary[b-f1p1ekyljb] {
    background-color: #0EA5E9;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.2);
}

.cgp-footer .btn-primary:hover:not(:disabled)[b-f1p1ekyljb] {
    background-color: #0284C7;
}

.cgp-footer button:disabled[b-f1p1ekyljb] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/HandoverFormModal.razor.rz.scp.css */
[b-u877ommr4e] .handover-form-modal {
    max-width: 640px;
}

.ho-form-alert[b-u877ommr4e] {
    background-color: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.ho-form-row[b-u877ommr4e] {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.ho-form-row-double[b-u877ommr4e] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.ho-form-row label[b-u877ommr4e] {
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-secondary);
    margin-bottom: 6px;
}

.ho-form-row select[b-u877ommr4e],
.ho-form-row input[type="text"][b-u877ommr4e] {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background-color: var(--st-fill-3);
    color: var(--st-text);
    font-size: 14px;
}

.ho-form-row select[b-u877ommr4e] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.ho-form-row select:focus[b-u877ommr4e] {
    outline: none;
    border-color: #d33bb2;
    box-shadow: 0 0 0 2px rgba(211, 59, 178, 0.2);
}

.ho-form-row select option[b-u877ommr4e] {
    background-color: var(--st-input-bg);
    color: var(--st-text);
}

/* Short help under a field («Ubicación al entregar»): explains what the choice does, not an error. */
.ho-form-hint[b-u877ommr4e] {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-text-subtle);
}

.ho-form-toggles[b-u877ommr4e] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.ho-toggle[b-u877ommr4e] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--st-text-body);
}

/* «Preguntar si queda en taller»: the toggle with its hint underneath, in both modes (the embedded grid would split them). */
.ho-asks-instore[b-u877ommr4e],
.handover-form-embedded .ho-asks-instore[b-u877ommr4e] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.ho-form-reasons[b-u877ommr4e] {
    border-top: 1px solid var(--st-border);
    padding-top: 16px;
}

.ho-reasons-header[b-u877ommr4e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ho-reasons-header label[b-u877ommr4e] {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-secondary);
}

.ho-add-reason-btn[b-u877ommr4e] {
    background: transparent;
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
}

.ho-add-reason-btn:hover[b-u877ommr4e] {
    background-color: var(--st-fill-3);
}

.ho-reason-row[b-u877ommr4e] {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.ho-icon-btn[b-u877ommr4e] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--st-text-muted);
    padding: 6px;
    border-radius: 6px;
}

.ho-icon-btn-danger:hover[b-u877ommr4e] {
    background-color: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.ho-empty[b-u877ommr4e] {
    color: var(--st-text-muted);
    font-size: 13px;
    margin: 0;
}

/* =====================================================================
   Modo EMBEBIDO (wizard de entrega dentro del LeftSidebar navy).
   El formulario se presenta como tarjeta blanca limpia, en paridad con
   ProcessEditPanel / UserEditPanel. Estas reglas SOLO afectan a
   .handover-form-embedded; el modo CenterModal (Configuración, tema
   oscuro) conserva las reglas base de arriba intactas.
   ===================================================================== */
.handover-form-embedded[b-u877ommr4e] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

/* Labels oscuros sobre tarjeta blanca */
.handover-form-embedded .ho-form-row label[b-u877ommr4e],
.handover-form-embedded .ho-reasons-header label[b-u877ommr4e] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: 8px;
}

/* Separación uniforme entre grupos */
.handover-form-embedded .ho-form-row-double[b-u877ommr4e] {
    margin-bottom: 16px;
}

.handover-form-embedded .ho-form-row-double .ho-form-row[b-u877ommr4e] {
    margin-bottom: 0;
}

/* Inputs y selects: tema claro */
.handover-form-embedded .ho-form-row select[b-u877ommr4e],
.handover-form-embedded .ho-form-row input[type="text"][b-u877ommr4e] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background-color: var(--st-surface-muted);
    color: var(--st-text-brand);
    font-size: 14px;
    transition: all 0.2s ease;
}

.handover-form-embedded .ho-form-row select:focus[b-u877ommr4e],
.handover-form-embedded .ho-form-row input[type="text"]:focus[b-u877ommr4e] {
    outline: none;
    border-color: #d33bb2;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.12);
}

/* Chevron custom en selects */
.handover-form-embedded .ho-form-row select[b-u877ommr4e] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.handover-form-embedded .ho-form-row select option[b-u877ommr4e] {
    background-color: var(--st-surface);
    color: var(--st-text-brand);
}

/* Toggles como checkboxes con acento de marca */
.handover-form-embedded .ho-form-toggles[b-u877ommr4e] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 20px;
}

.handover-form-embedded .ho-toggle[b-u877ommr4e] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--st-text-secondary);
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 11px 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.handover-form-embedded .ho-toggle:hover[b-u877ommr4e] {
    background: var(--st-surface-sunken);
}

.handover-form-embedded .ho-toggle input[type="checkbox"][b-u877ommr4e] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d33bb2;
    flex-shrink: 0;
}

/* Sección de razones */
.handover-form-embedded .ho-form-reasons[b-u877ommr4e] {
    border-top: 1px solid var(--st-border);
    padding-top: 18px;
    margin-top: 4px;
}

.handover-form-embedded .ho-add-reason-btn[b-u877ommr4e] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-accent-border);
    color: #b02e93;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.handover-form-embedded .ho-add-reason-btn:hover[b-u877ommr4e] {
    background: var(--st-surface-strong);
}

.handover-form-embedded .ho-reason-row input[type="text"][b-u877ommr4e] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
    font-size: 13.5px;
}

.handover-form-embedded .ho-reason-row input[type="text"]:focus[b-u877ommr4e] {
    outline: none;
    border-color: #d33bb2;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.12);
}

.handover-form-embedded .ho-icon-btn-danger[b-u877ommr4e] {
    color: var(--st-danger-fg);
}

.handover-form-embedded .ho-icon-btn-danger:hover[b-u877ommr4e] {
    background-color: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.handover-form-embedded .ho-empty[b-u877ommr4e] {
    color: var(--st-text-muted);
    font-size: 13px;
}

.handover-form-embedded .ho-form-alert[b-u877ommr4e] {
    background-color: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
}

/* Footer + botones (antes sin estilos → "no se veían") */
.handover-form-embedded .footer-actions[b-u877ommr4e] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
}

.handover-form-embedded .footer-actions .btn-secondary[b-u877ommr4e],
.handover-form-embedded .footer-actions .btn-primary[b-u877ommr4e] {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.handover-form-embedded .footer-actions .btn-secondary[b-u877ommr4e] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.handover-form-embedded .footer-actions .btn-secondary:hover:not(:disabled)[b-u877ommr4e] {
    background: var(--st-surface-strong);
}

.handover-form-embedded .footer-actions .btn-primary[b-u877ommr4e] {
    background: #d33bb2;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.3);
}

.handover-form-embedded .footer-actions .btn-primary:hover:not(:disabled)[b-u877ommr4e] {
    background: #b02e93;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 59, 178, 0.4);
}

.handover-form-embedded .footer-actions .btn-primary:disabled[b-u877ommr4e],
.handover-form-embedded .footer-actions .btn-secondary:disabled[b-u877ommr4e] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================================================
   Step 3 · Details (REQ-ASG-01..06, REQ-HOS-03/04). Only rendered in
   EMBEDDED mode (the only live route: HandoverListSection always passes Embedded=true;
   the CenterModal/Embedded=false mode isn't used anywhere in the app today).
   ===================================================================== */
.handover-form-embedded .ho-step3[b-u877ommr4e] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 18px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.handover-form-embedded .ho-step3 #ho-step3-title[b-u877ommr4e] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text);
}

.handover-form-embedded .ho-step3-subtitle[b-u877ommr4e] {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.handover-form-embedded .ho-step3 .ho-form-row[b-u877ommr4e] {
    margin-bottom: 16px;
}

.handover-form-embedded .ho-step3 .ho-form-row:last-child[b-u877ommr4e] {
    margin-bottom: 0;
}

.handover-form-embedded .ho-step3-error[b-u877ommr4e] {
    color: var(--st-danger-fg);
    font-size: 12.5px;
    margin: 8px 0 0;
}

.handover-form-embedded .ho-step3-links[b-u877ommr4e] {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.handover-form-embedded .ho-step3-link[b-u877ommr4e] {
    background: transparent;
    border: none;
    padding: 0;
    color: #d81b84;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.handover-form-embedded .ho-step3-link:hover[b-u877ommr4e] {
    text-decoration: underline;
}

.handover-form-embedded .ho-step3-link:focus-visible[b-u877ommr4e] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Wb5: informative, non-blocking — amber, not red (that's reserved for ho-step3-error's real errors). */
.handover-form-embedded .ho-step3-warning[b-u877ommr4e] {
    margin: 8px 0 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--st-gold-bg);
    color: var(--st-warning-text);
    font-size: 12.5px;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/HandoverListSection.razor.rz.scp.css */
.ho-section[b-ul2aegkabc] {
    display: flex;
    flex-direction: column;
}

.ho-header[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.ho-header h4[b-ul2aegkabc] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text);
}

.ho-header-actions[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ho-order-confirm-actions[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: ho-fade-in-b-ul2aegkabc 0.2s ease-in-out;
}

@keyframes ho-fade-in-b-ul2aegkabc {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ho-btn-save-order[b-ul2aegkabc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    background-color: #10B981;
    color: white;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.ho-btn-save-order:hover:not(:disabled)[b-ul2aegkabc] {
    background-color: #059669;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.ho-btn-save-order:disabled[b-ul2aegkabc] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ho-btn-cancel-order[b-ul2aegkabc] {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 500;
    background-color: var(--st-surface);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ho-btn-cancel-order:hover:not(:disabled)[b-ul2aegkabc] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-body);
}

.ho-btn-cancel-order:disabled[b-ul2aegkabc] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ho-card-container[b-ul2aegkabc] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ho-card-container.has-pending-order[b-ul2aegkabc] {
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.ho-add-btn[b-ul2aegkabc] {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    background-color: #d33bb2;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ho-add-btn:hover:not(:disabled)[b-ul2aegkabc] {
    background-color: #b02e93;
}

.ho-add-btn:disabled[b-ul2aegkabc] {
    background-color: var(--st-surface-strong);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.ho-order-saving-banner[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 10px;
    background-color: var(--st-surface-muted);
    border: 1px solid var(--st-accent-border);
    border-radius: 6px;
    color: #b02e93;
    font-size: 12px;
    font-weight: 500;
}

.ho-order-saving-spinner[b-ul2aegkabc] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border: 2px solid var(--st-accent-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: ho-order-spin-b-ul2aegkabc 0.7s linear infinite;
}

@keyframes ho-order-spin-b-ul2aegkabc {
    to {
        transform: rotate(360deg);
    }
}

.ho-hint[b-ul2aegkabc],
.ho-empty[b-ul2aegkabc] {
    color: var(--st-text-subtle);
    font-size: 13px;
    margin: 0;
}

.ho-list[b-ul2aegkabc] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ho-item[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background-color: var(--st-surface-muted);
}

.ho-item.ho-draggable[b-ul2aegkabc] {
    cursor: grab;
}

.ho-item.ho-draggable:active[b-ul2aegkabc] {
    cursor: grabbing;
}

.ho-item.ho-dragging[b-ul2aegkabc] {
    opacity: 0.45;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ho-drag-handle[b-ul2aegkabc] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
    cursor: grab;
}

.ho-drag-handle span[b-ul2aegkabc] {
    width: 7px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
}

.ho-item-main[b-ul2aegkabc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ho-item-title-row[b-ul2aegkabc] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ho-item-icon[b-ul2aegkabc] {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    padding: 0;
    box-sizing: border-box;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    flex-shrink: 0;
}

.ho-item-icon-fallback[b-ul2aegkabc] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-strong);
    border-radius: 4px;
    color: #ffc107;
    flex-shrink: 0;
}

.ho-item-name[b-ul2aegkabc] {
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* «Pausada» (D536): not offered when handing over; changed in «Flujo de procesos». */
.ho-item.ho-paused .ho-item-name[b-ul2aegkabc] {
    color: var(--st-text-subtle);
}

.ho-item-paused[b-ul2aegkabc] {
    flex-shrink: 0;
    font-size: 11px;
    line-height: 16px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
}

.ho-item-reasons-badge[b-ul2aegkabc] {
    font-size: 11px;
    color: var(--st-text-subtle);
}

.ho-item-actions[b-ul2aegkabc] {
    display: flex;
    gap: 6px;
}

.ho-icon-btn[b-ul2aegkabc] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 6px;
    color: var(--st-text-subtle);
}

.ho-icon-btn:hover[b-ul2aegkabc] {
    background-color: var(--st-surface-strong);
}

.ho-icon-btn-danger:hover[b-ul2aegkabc] {
    background-color: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}
.ho-icon-btn:disabled[b-ul2aegkabc],
.ho-btn-save-order:disabled[b-ul2aegkabc] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/HandoverTable.razor.rz.scp.css */
.ho-table-section[b-fgdivhyneg] {
    display: flex;
    flex-direction: column;
    /* Toma el alto que le cede .pr-handovers-panel-body para repartirlo al grid. */
    flex: 1;
    min-height: 0;
}

.ho-header[b-fgdivhyneg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ho-header h4[b-fgdivhyneg] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text-brand);
}

.ho-add-btn[b-fgdivhyneg] {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    background-color: #d33bb2;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ho-add-btn:hover:not(:disabled)[b-fgdivhyneg] {
    background-color: #b02e93;
}

.ho-add-btn:disabled[b-fgdivhyneg] {
    background-color: var(--st-surface-strong);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.ho-hint[b-fgdivhyneg] {
    color: var(--st-text-subtle);
    font-size: 13px;
    margin: 0;
}

/* ── Tabla embebida de Razones (mismo patrón que "Entregas" en ProcessTablePanel) ─────────── */
.ho-reasons-panel-embedded[b-fgdivhyneg] {
    margin-top: 12px;
    background-color: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 45%;
    min-height: 220px;
}

.ho-reasons-panel-header[b-fgdivhyneg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: var(--st-surface-muted);
    border-bottom: 1px solid var(--st-border);
}

.ho-reasons-panel-title[b-fgdivhyneg] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.ho-reasons-panel-actions[b-fgdivhyneg] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ho-reasons-panel-add[b-fgdivhyneg] {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    background-color: #d33bb2;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ho-reasons-panel-add:hover[b-fgdivhyneg] {
    background-color: #b02e93;
}

.ho-reasons-panel-close[b-fgdivhyneg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ho-reasons-panel-close:hover[b-fgdivhyneg] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-brand);
}

.ho-reasons-panel-body[b-fgdivhyneg] {
    padding: 8px 16px 16px;
    overflow: auto;
    flex: 1;
    min-height: 0;
}

.ho-reasons-table[b-fgdivhyneg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ho-reasons-table th[b-fgdivhyneg] {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--st-border);
}

.ho-reasons-table td[b-fgdivhyneg] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border);
    color: var(--st-text-brand);
    vertical-align: middle;
}

.ho-reasons-table tr:last-child td[b-fgdivhyneg] {
    border-bottom: none;
}

.ho-reasons-table tbody tr:hover td[b-fgdivhyneg] {
    background-color: var(--st-accent-bg);
}

.ho-reasons-table-actions-col[b-fgdivhyneg] {
    width: 90px;
}

.ho-reasons-table-actions[b-fgdivhyneg] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ho-reasons-table-empty[b-fgdivhyneg] {
    text-align: center;
    color: var(--st-text-muted);
    padding: 18px 10px;
}

.ho-reasons-readonly-hint[b-fgdivhyneg] {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--st-text-muted);
    font-style: italic;
}

.ho-reasons-cell-input[b-fgdivhyneg] {
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    background-color: var(--st-surface-muted);
    font-size: 13px;
    color: var(--st-text-brand);
    outline: none;
    transition: all 0.2s ease;
}

.ho-reasons-cell-input:focus[b-fgdivhyneg] {
    border-color: #d33bb2;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.1);
}

.ho-reasons-btn[b-fgdivhyneg] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
}

.ho-reasons-btn.delete[b-fgdivhyneg] { color: var(--st-danger-fg); }
.ho-reasons-btn:disabled[b-fgdivhyneg] { color: var(--st-text-muted); cursor: not-allowed; }

.ho-table-grid-wrapper[b-fgdivhyneg] {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.ho-table-grid[b-fgdivhyneg] {
    width: 100%;
    height: 100%;
    /* Mismo theming del AG Grid que la tabla de Procesos (pr-table-grid en
       ProcessTablePanel.razor.css): navy/magenta en vez del azul por defecto. */
    --ag-foreground-color: var(--st-text-brand);
    --ag-background-color: var(--st-surface);
    --ag-header-background-color: var(--st-surface-sunken);
    --ag-header-foreground-color: var(--st-text-secondary);
    --ag-border-color: var(--st-border);
    --ag-row-border-color: var(--st-border-subtle);
    --ag-row-hover-color: var(--st-fill-2);
    --ag-column-hover-color: var(--st-fill-3);
    --ag-selected-row-background-color: var(--st-surface-strong);
    --ag-range-selection-background-color: rgba(211, 59, 178, 0.12);
    --ag-checkbox-checked-color: #d33bb2;
    --ag-input-focus-border-color: #d33bb2;
    --ag-odd-row-background-color: var(--st-surface);
    --ag-control-panel-background-color: var(--st-surface-muted);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-input-border-color: var(--st-border-strong);
    --ag-font-family: 'Inter', 'Segoe UI', sans-serif;
    --ag-font-size: 13px;
    --ag-wrapper-border-radius: 10px;
}

.ho-table-grid[b-fgdivhyneg]  .ag-cell:hover,
.ho-table-grid[b-fgdivhyneg]  .ag-cell-hover {
    background-color: var(--st-surface-sunken) !important;
}

.ho-table-grid[b-fgdivhyneg]  .ag-header-cell-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ho-table-grid[b-fgdivhyneg]  .ag-root-wrapper {
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
}

.ho-table-grid[b-fgdivhyneg]  .ag-paging-panel {
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    color: var(--st-text-brand);
}

.ho-table-grid[b-fgdivhyneg]  .ag-paging-panel {
    white-space: nowrap !important;
    min-height: 38px;
}

.ho-table-grid[b-fgdivhyneg]  .ag-paging-row-summary-panel,
.ho-table-grid[b-fgdivhyneg]  .ag-paging-page-summary-panel,
.ho-table-grid[b-fgdivhyneg]  .ag-paging-page-size {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.ho-table-grid[b-fgdivhyneg]  .ag-paging-row-summary-panel * {
    white-space: nowrap !important;
    display: inline-block !important;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/ProcessEditPanel.razor.rz.scp.css */
/* Form Layout and Aesthetics */
.process-edit-panel[b-136xqm2tqi] {
    background-color: var(--st-surface);
    border-radius: 12px;
    padding: 24px;
    max-width: none;
    margin: 0;
}

.pe-columns[b-136xqm2tqi] {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.pe-form-column[b-136xqm2tqi] {
    flex: 1 1 620px;
    max-width: 680px;
    min-width: 320px;
}

.pe-handovers-column[b-136xqm2tqi] {
    flex: 1 1 440px;
    min-width: 400px;
    border-left: 1px solid var(--st-border);
    padding-left: 32px;
}

@media (max-width: 1100px) {
    .pe-columns[b-136xqm2tqi] {
        flex-direction: column;
    }

    .pe-handovers-column[b-136xqm2tqi] {
        border-left: none;
        border-top: 1px solid var(--st-border);
        padding-left: 0;
        padding-top: 24px;
        width: 100%;
    }
}

.pe-header[b-136xqm2tqi] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 16px;
}

.pe-header-text[b-136xqm2tqi] {
    min-width: 0;
}

.pe-header-actions[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pe-status-toggle[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pe-status-label[b-136xqm2tqi] {
    font-size: 0.85rem;
    font-weight: 600;
}

.pe-status-label.active[b-136xqm2tqi] {
    color: var(--st-success-fg);
}

.pe-status-label.inactive[b-136xqm2tqi] {
    color: var(--st-text-subtle);
}

.pe-title[b-136xqm2tqi] {
    font-size: 24px;
    color: var(--st-text);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.pe-subtitle[b-136xqm2tqi] {
    color: var(--st-text-subtle);
    margin: 0;
    font-size: 14px;
}

.form-row[b-136xqm2tqi] {
    padding: 10px;
}

.form-row.double[b-136xqm2tqi] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group[b-136xqm2tqi] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-136xqm2tqi] {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-secondary);
    margin-bottom: 8px;
}

.form-group input[b-136xqm2tqi],
.form-group select[b-136xqm2tqi],
.form-group textarea[b-136xqm2tqi] {
    padding: 11px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--st-text-body);
    background-color: var(--st-surface-muted);
    transition: all 0.2s ease;
}

.form-group select[b-136xqm2tqi] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus[b-136xqm2tqi],
.form-group select:focus[b-136xqm2tqi],
.form-group textarea:focus[b-136xqm2tqi] {
    outline: none;
    border-color: #d33bb2;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.1);
    background-color: var(--st-surface);
}

.form-group input.disabled-input[b-136xqm2tqi] {
    background-color: var(--st-surface-strong);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.pe-hint[b-136xqm2tqi] {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--st-text-muted);
}

/* ── Estado del taller (control de carga) ───────────────────── */
.pe-workshop-state[b-136xqm2tqi] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.pe-workshop-state .pe-workshop-target[b-136xqm2tqi] {
    margin-top: 8px;
    margin-bottom: 0;
}

/* A process without state shows its name in the load control: the field says it is unmapped. */
.pe-workshop-state.is-unmapped input[b-136xqm2tqi] {
    border-color: var(--st-warning-border);
}

.pe-unmapped-badge[b-136xqm2tqi] {
    align-self: flex-start;
    margin-top: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--st-warning-border);
    background-color: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 700;
}

/* ── Number Input con Sufijo (%) ────────────────────────────── */
.input-suffix-wrapper[b-136xqm2tqi] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-suffix-wrapper input[b-136xqm2tqi] {
    width: 100%;
    padding-right: 36px !important;
}

.input-suffix-wrapper .input-suffix[b-136xqm2tqi] {
    position: absolute;
    right: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-subtle);
    pointer-events: none;
    user-select: none;
}

.pe-field-hint[b-136xqm2tqi] {
    color: var(--st-text-subtle);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 6px;
}

/* ── Tiempo de alerta (horas + minutos) ─────────────────────── */
.pe-alert-time[b-136xqm2tqi] {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background-color: var(--st-surface-muted);
}

.pe-alert-time-title[b-136xqm2tqi] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
    margin-bottom: 10px;
}

.pe-alert-time-inputs[b-136xqm2tqi] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.pe-alert-time-inputs .form-group input[b-136xqm2tqi] {
    background-color: var(--st-surface);
}

.pe-alert-time-summary[b-136xqm2tqi] {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #d33bb2;
}

.label-with-info[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.label-with-info label[b-136xqm2tqi] {
    margin-bottom: 0 !important;
}

.info-popover-backdrop[b-136xqm2tqi] {
    position: fixed;
    inset: 0;
    z-index: 115;
    background: transparent;
}

.info-popover-wrapper[b-136xqm2tqi] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.info-icon-btn[b-136xqm2tqi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.info-icon-btn:hover[b-136xqm2tqi],
.info-icon-btn.active[b-136xqm2tqi] {
    background: var(--st-info-bg-strong);
    border-color: var(--st-info-border);
    color: var(--st-info-fg);
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.info-popover-card[b-136xqm2tqi] {
    position: absolute;
    top: calc(100% + 8px);
    left: -10px;
    z-index: 120;
    width: 320px;
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.18), 0 4px 10px -3px rgba(15, 23, 42, 0.08);
    animation: popoverFadeIn-b-136xqm2tqi 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-popover-card[b-136xqm2tqi]::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 14px;
    width: 9px;
    height: 9px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-left: 1px solid #E2E8F0;
    transform: rotate(45deg);
}

.info-popover-header[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-popover-title[b-136xqm2tqi] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: 0.01em;
}

.info-popover-close[b-136xqm2tqi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.info-popover-close:hover[b-136xqm2tqi] {
    background: #F1F5F9;
    color: #0F172A;
}

.info-popover-text[b-136xqm2tqi] {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748B;
    font-weight: 400;
}

.info-popover-text strong[b-136xqm2tqi] {
    color: #2563EB;
    font-weight: 600;
}

/* Guide preview */
.ig-preview[b-136xqm2tqi] {
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ig-tabs[b-136xqm2tqi] { display: flex; gap: 4px; margin-bottom: 2px; }

.ig-tab[b-136xqm2tqi] {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 999px;
    color: #64748B;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.ig-tab.on[b-136xqm2tqi] { color: #0F172A; font-weight: 600; border: 1.5px solid #FBBF24; }

.ig-pcard[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #FFFFFF;
    border: 1px solid #EEF2F7;
    border-radius: 9px;
    padding: 6px 8px;
}

.ig-pcard.focus[b-136xqm2tqi] { border: 1.5px solid #FBBF24; }
.ig-grip[b-136xqm2tqi] { color: #CBD5E1; font-size: 0.6rem; letter-spacing: -2px; }

.ig-icon[b-136xqm2tqi] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid #CBD5E1;
}

.ig-pbody[b-136xqm2tqi] { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ig-pbody .ig-name[b-136xqm2tqi] { font-size: 0.72rem; font-weight: 600; color: #1E293B; }
.ig-pbody .ig-pill[b-136xqm2tqi] { position: relative; background: #EEF2FF; color: #334155; }
.ig-pbody .ig-pill.hot[b-136xqm2tqi] { background: #2563EB; color: #FFFFFF; }

.ig-status[b-136xqm2tqi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #22C55E;
    font-size: 0.75rem;
    line-height: 1;
}

.ig-status small[b-136xqm2tqi] { font-size: 0.55rem; font-weight: 600; margin-top: 2px; }

.ig-card[b-136xqm2tqi],
.ig-group[b-136xqm2tqi] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 0.72rem;
    color: #334155;
}

.ig-group[b-136xqm2tqi] { background: #EEF2FF; border-color: #C7D2FE; font-weight: 600; }
.ig-card.focus[b-136xqm2tqi] { border-color: #93C5FD; box-shadow: 0 0 0 2px #DBEAFE; }

.ig-seq[b-136xqm2tqi] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E2E8F0;
    font-size: 0.62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ig-name[b-136xqm2tqi] { flex: 1; }

.ig-pill[b-136xqm2tqi],
.ig-sum[b-136xqm2tqi] {
    font-size: 0.66rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #475569;
}

.ig-pill.hot[b-136xqm2tqi],
.ig-sum.hot[b-136xqm2tqi] { background: #2563EB; color: #FFFFFF; }

.ig-cursor[b-136xqm2tqi] { position: absolute; right: -4px; bottom: -10px; font-size: 0.8rem; }

.ig-section[b-136xqm2tqi] {
    margin: 12px 0 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F172A;
}

.ig-steps[b-136xqm2tqi] {
    margin: 0;
    padding-left: 18px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: #64748B;
}

.ig-chip[b-136xqm2tqi] {
    display: inline-block;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid #F0ABFC;
    background: #FDF4FF;
    color: #A21CAF;
    font-weight: 600;
    font-size: 0.72rem;
}

@keyframes popoverFadeIn-b-136xqm2tqi {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.input-suffix-wrapper.is-readonly input[b-136xqm2tqi],
.pe-readonly-input[b-136xqm2tqi] {
    background-color: var(--st-surface-sunken) !important;
    color: var(--st-text-body) !important;
    cursor: not-allowed !important;
    border-color: var(--st-border-strong) !important;
    font-weight: 600;
}

.pe-footer[b-136xqm2tqi] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
}

.pe-footer button[b-136xqm2tqi] {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cancel[b-136xqm2tqi] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.btn-cancel:hover[b-136xqm2tqi] {
    background-color: var(--st-surface-strong);
}

.btn-save[b-136xqm2tqi] {
    background-color: #d33bb2;
    color: white;
    box-shadow: 0 2px 4px rgba(211, 59, 178, 0.3);
}

.btn-save:hover[b-136xqm2tqi] {
    background-color: #b02e93;
    box-shadow: 0 4px 6px rgba(211, 59, 178, 0.4);
    transform: translateY(-1px);
}

.btn-delete[b-136xqm2tqi] {
    background-color: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    margin-right: auto;
}

.btn-delete:hover[b-136xqm2tqi] {
    background-color: var(--st-danger-border);
}

/* Contenedor desplegable para 'Cambiar nombre del proceso visible' */
.pe-expandable-card[b-136xqm2tqi] {
    margin: 10px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background-color: var(--st-surface-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pe-expandable-card.is-expanded[b-136xqm2tqi] {
    border-color: #d33bb2;
    background-color: var(--st-surface-muted);
    box-shadow: 0 4px 14px rgba(211, 59, 178, 0.08);
}

.pe-expandable-header[b-136xqm2tqi] {
    padding: 0;
}

.pe-custom-switch[b-136xqm2tqi] {
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 12px 16px !important;
}

.pe-expandable-content-wrapper[b-136xqm2tqi] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pe-expandable-content-wrapper.open[b-136xqm2tqi] {
    grid-template-rows: 1fr;
}

.pe-expandable-body[b-136xqm2tqi] {
    min-height: 0;
    overflow: hidden;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, padding 0.35s ease;
}

.pe-expandable-content-wrapper.open .pe-expandable-body[b-136xqm2tqi] {
    opacity: 1;
    transform: translateY(0);
    padding: 4px 16px 16px 16px;
    border-top: 1px dashed rgba(211, 59, 178, 0.25);
}

/* Rejilla de 2 columnas para los toggles booleanos (Asignable, Por Defecto, etc.)
   Antes iban en una fila flex horizontal (5 en línea) que estiraba el panel a lo ancho.
   Con grid de 2 columnas el bloque queda compacto y ordenado. */
.pe-toggle-grid[b-136xqm2tqi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Toggle Switch Styling */
.switch-container[b-136xqm2tqi] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    background-color: var(--st-surface-muted);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.pe-toggle-grid .switch-container[b-136xqm2tqi] {
    margin-bottom: 0;
}

.switch-container:hover[b-136xqm2tqi] {
    background-color: var(--st-surface-sunken);
}

.switch-label[b-136xqm2tqi] {
    font-size: 14px;
    color: var(--st-text-body);
    font-weight: 500;
}

.switch[b-136xqm2tqi] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input[b-136xqm2tqi] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-136xqm2tqi] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .4s;
}

.slider[b-136xqm2tqi]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .4s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input:checked+.slider[b-136xqm2tqi] {
    background-color: #d33bb2;
}

input:focus+.slider[b-136xqm2tqi] {
    box-shadow: 0 0 1px #d33bb2;
}

input:checked+.slider[b-136xqm2tqi]:before {
    transform: translateX(20px);
}

.slider.round[b-136xqm2tqi] {
    border-radius: 24px;
}

.slider.round[b-136xqm2tqi]:before {
    border-radius: 50%;
}
.ig-ghead[b-136xqm2tqi] { display: flex; align-items: center; gap: 6px; padding: 2px 2px 0; }
.ig-gname[b-136xqm2tqi] { font-size: 0.78rem; font-weight: 700; color: #1E293B; }
.ig-gcount[b-136xqm2tqi] { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: #64748B; }

.ig-gsum[b-136xqm2tqi] {
    position: relative;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: #DCFCE7;
    color: #15803D;
    border: 1.5px solid #2563EB;
}

.pe-footer button:disabled[b-136xqm2tqi] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/ProcessesPanel.razor.rz.scp.css */
.procesos-panel[b-1mumvdvrhn] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

@keyframes prCardHighlight-b-1mumvdvrhn {
    0% { box-shadow: 0 0 0 0 rgba(211, 59, 178, 0.7); transform: scale(1.02); }
    70% { box-shadow: 0 0 0 10px rgba(211, 59, 178, 0); transform: scale(1); }
    100% { box-shadow: 0 0 0 0 rgba(211, 59, 178, 0); transform: scale(1); }
}

.pr-card-highlight-pulse[b-1mumvdvrhn] {
    animation: prCardHighlight-b-1mumvdvrhn 1.5s ease-out;
}

/* Drag handle (modo Secuencia) */
.pr-drag-handle[b-1mumvdvrhn] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
    cursor: grab;
}

.pr-drag-handle span[b-1mumvdvrhn] {
    width: 7px;
    height: 2px;
    border-radius: 1px;
    background: var(--st-surface-stronger);
}

.pr-process-card.pr-draggable[b-1mumvdvrhn] {
    cursor: grab;
}

.pr-process-card.pr-draggable:active[b-1mumvdvrhn] {
    cursor: grabbing;
    opacity: 0.7;
}

.pr-process-card.pr-dragging[b-1mumvdvrhn] {
    opacity: 0.45;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pr-order-saving-banner[b-1mumvdvrhn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 4px;
    background-color: var(--st-surface-muted);
    border: 1px solid var(--st-accent-border);
    border-radius: 6px;
    color: #b02e93;
    font-size: 12px;
    font-weight: 500;
}

.pr-order-saving-spinner[b-1mumvdvrhn] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border: 2px solid var(--st-accent-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: pr-order-spin-b-1mumvdvrhn 0.7s linear infinite;
}

@keyframes pr-order-spin-b-1mumvdvrhn {
    to {
        transform: rotate(360deg);
    }
}

/* Groups List */
.pr-groups-list[b-1mumvdvrhn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 400px;
    width: 400px;
    min-width: 280px;
    max-width: 600px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: none;
    padding-top: 5px;
    padding-right: 8px;
}

.pr-groups-list[b-1mumvdvrhn]::-webkit-scrollbar {
    display: none;
}

.st-panel-resizer[b-1mumvdvrhn] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-1mumvdvrhn],
.st-panel-resizer.active[b-1mumvdvrhn] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-1mumvdvrhn]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-1mumvdvrhn]::after,
.st-panel-resizer.active[b-1mumvdvrhn]::after {
    background-color: #D33BB2;
    height: 48px;
}

.pr-content-split[b-1mumvdvrhn] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Group Header */
.pr-group-header[b-1mumvdvrhn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    margin-top: 6px;
}

.pr-group-header:first-child[b-1mumvdvrhn] {
    margin-top: 0;
}

.pr-group-header-left[b-1mumvdvrhn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pr-group-name[b-1mumvdvrhn] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text);
}

.pr-group-total-badge[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.02em;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pr-group-total-badge:hover[b-1mumvdvrhn] {
    transform: scale(1.05);
}

.pr-group-total-badge.complete[b-1mumvdvrhn] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pr-group-total-badge.incomplete[b-1mumvdvrhn] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
}

.pr-group-count[b-1mumvdvrhn] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-muted);
}

.pr-group-header-actions[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pr-btn-group-confirm[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.pr-btn-group-confirm:hover[b-1mumvdvrhn] {
    background: var(--st-success-border);
    color: var(--st-success-text);
    transform: scale(1.1);
    box-shadow: 0 1px 4px rgba(22, 101, 52, 0.2);
}

.pr-btn-group-cancel[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.pr-btn-group-cancel:hover[b-1mumvdvrhn] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
    transform: scale(1.1);
}

/* Process Card */
.pr-process-card[b-1mumvdvrhn] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--st-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.pr-process-card:hover[b-1mumvdvrhn] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.pr-process-card.selected[b-1mumvdvrhn] {
    border: 2px solid #FFC107;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.2);
}

/* Process Icon */
.pr-process-icon[b-1mumvdvrhn] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--st-border-strong);
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.pr-process-icon img[b-1mumvdvrhn] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Process Info & Progress */
.pr-process-info[b-1mumvdvrhn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 3px;
}

.pr-process-name[b-1mumvdvrhn] {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--st-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    min-width: 0;
}

.pr-process-progress-row[b-1mumvdvrhn] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    min-height: 18px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

/* Console-style range slider */
.pr-slider-container[b-1mumvdvrhn] {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    height: 16px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.pr-slider-range[b-1mumvdvrhn] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #3B6C9B 0%, #5283B5 var(--slider-pct, 0%), var(--st-surface-strong) var(--slider-pct, 0%), var(--st-surface-strong) 100%);
    outline: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
    transition: none; /* Deslizamiento ultra fluido nativo sin lag */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* WebKit (Chrome, Safari, Edge) Thumb */
.pr-slider-range[b-1mumvdvrhn]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #3B6C9B;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.pr-slider-range[b-1mumvdvrhn]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    border-color: #1E3E62;
    box-shadow: 0 0 0 4px rgba(59, 108, 155, 0.2);
}

.pr-slider-range:active[b-1mumvdvrhn]::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(59, 108, 155, 0.25);
}

/* Firefox Thumb */
.pr-slider-range[b-1mumvdvrhn]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #3B6C9B;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.pr-slider-range[b-1mumvdvrhn]::-moz-range-thumb:hover {
    transform: scale(1.2);
    border-color: #1E3E62;
    box-shadow: 0 0 0 4px rgba(59, 108, 155, 0.2);
}

.pr-slider-range:active[b-1mumvdvrhn]::-moz-range-thumb {
    cursor: grabbing;
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(59, 108, 155, 0.25);
}

.pr-progress-val[b-1mumvdvrhn] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-text-brand);
    min-width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* Sequence Advance Progress Badge */
.pr-advance-badge-row[b-1mumvdvrhn] {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.pr-advance-pill[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pr-advance-pill:hover[b-1mumvdvrhn] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-strong);
    color: var(--st-text-strong);
    transform: scale(1.02);
}

.pr-percentage-pill[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pr-percentage-pill:hover[b-1mumvdvrhn] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-strong);
    color: var(--st-text-strong);
    transform: scale(1.03);
}

.pr-advance-icon[b-1mumvdvrhn] {
    color: var(--st-text-subtle);
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.pr-advance-text[b-1mumvdvrhn] {
    font-weight: 700;
}

.pr-advance-pct[b-1mumvdvrhn] {
    color: var(--st-text-subtle);
    font-weight: 500;
    font-size: 0.68rem;
}

.pr-inline-actions[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.pr-btn-confirm-inline[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.pr-btn-confirm-inline:hover[b-1mumvdvrhn] {
    background: var(--st-success-border);
    color: var(--st-success-text);
    transform: scale(1.1);
    box-shadow: 0 1px 4px rgba(22, 101, 52, 0.2);
}

.pr-btn-cancel-inline[b-1mumvdvrhn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.pr-btn-cancel-inline:hover[b-1mumvdvrhn] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
    transform: scale(1.1);
}

/* Status */
.pr-process-status[b-1mumvdvrhn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    min-width: 44px;
}

.pr-status-dot[b-1mumvdvrhn] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.pr-status-dot.active[b-1mumvdvrhn] {
    background: #4CAF50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.pr-status-dot.inactive[b-1mumvdvrhn] {
    background: var(--st-surface-stronger);
}

.pr-status-label[b-1mumvdvrhn] {
    font-size: 0.65rem;
    font-weight: 600;
}

.pr-status-label.active[b-1mumvdvrhn] {
    color: var(--st-success-fg);
}

.pr-status-label.inactive[b-1mumvdvrhn] {
    color: var(--st-text-muted);
}

.pr-edit-detail[b-1mumvdvrhn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    height: 100%;
    padding-left: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.pr-edit-detail[b-1mumvdvrhn]::-webkit-scrollbar {
    display: none;
}
/* /Pages/Home/Components/Setting/Department/Components/Processes/ProcessTablePanel.razor.rz.scp.css */
.pr-table-panel-container[b-o19kytsla0] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    background-color: var(--st-surface);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pr-table-grid-wrapper[b-o19kytsla0] {
    position: relative;
    flex: 1;
    min-height: 400px;
    width: 100%;
}

.pr-table-grid[b-o19kytsla0] {
    width: 100%;
    height: 100%;
    min-height: 400px;
    /* Theming del AG Grid alineado a la paleta del resto de Configuración
       (navy/magenta), en vez del azul genérico de Element-UI que traía por defecto. */
    --ag-foreground-color: var(--st-text-brand);
    --ag-background-color: var(--st-surface);
    --ag-header-background-color: var(--st-surface-sunken);
    --ag-header-foreground-color: var(--st-text-secondary);
    --ag-border-color: var(--st-border);
    --ag-row-border-color: var(--st-border-subtle);
    --ag-row-hover-color: var(--st-fill-2);
    --ag-column-hover-color: var(--st-fill-3);
    --ag-selected-row-background-color: var(--st-surface-strong);
    --ag-range-selection-background-color: rgba(211, 59, 178, 0.12);
    --ag-checkbox-checked-color: #d33bb2;
    --ag-input-focus-border-color: #d33bb2;
    --ag-odd-row-background-color: var(--st-surface);
    --ag-control-panel-background-color: var(--st-surface-muted);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-input-border-color: var(--st-border-strong);
    --ag-font-family: 'Inter', 'Segoe UI', sans-serif;
    --ag-font-size: 13px;
    --ag-wrapper-border-radius: 10px;
}

.pr-table-grid[b-o19kytsla0]  .ag-cell:hover,
.pr-table-grid[b-o19kytsla0]  .ag-cell-hover {
    background-color: var(--st-surface-sunken) !important;
}

.pr-table-grid[b-o19kytsla0]  .ag-header-cell-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pr-table-grid[b-o19kytsla0]  .ag-root-wrapper {
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
}

.pr-table-grid[b-o19kytsla0]  .ag-paging-panel {
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    color: var(--st-text-brand);
}

/* Fila del acordeón anidado (Nivel 1: detail grid de Entregas dentro de la fila de Proceso). El
   grid anidado hereda las variables --ag-* de .pr-table-grid por cascada normal de CSS custom
   properties (vive dentro del mismo subárbol del DOM), así que solo hace falta el "marco". */
.pr-table-grid[b-o19kytsla0]  .ag-details-row {
    padding: 10px 14px;
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.pr-table-loading-overlay[b-o19kytsla0] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--st-text-brand);
}

.loading-spinner[b-o19kytsla0] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--st-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: spin-b-o19kytsla0 0.8s linear infinite;
}

@keyframes spin-b-o19kytsla0 {
    to {
        transform: rotate(360deg);
    }
}

/* Fix AG Grid Pagination Panel text wrapping */
.pr-table-grid[b-o19kytsla0]  .ag-paging-panel {
    white-space: nowrap !important;
    min-height: 38px;
}

.pr-table-grid[b-o19kytsla0]  .ag-paging-row-summary-panel,
.pr-table-grid[b-o19kytsla0]  .ag-paging-page-summary-panel,
.pr-table-grid[b-o19kytsla0]  .ag-paging-page-size {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.pr-table-grid[b-o19kytsla0]  .ag-paging-row-summary-panel * {
    white-space: nowrap !important;
    display: inline-block !important;
}
/* /Pages/Home/Components/Setting/Department/Components/RolesPermissions/RoleEditPanel.razor.rz.scp.css */
/* ══════════════════════════════════════
   RoleEditPanel – consistent with app design system
   Colors: #FF00FF/#d33bb2 primary, #FFC107 selection, #334D6E text
   ══════════════════════════════════════ */

.role-edit-panel[b-a2a25x0be0] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 800px;
    height: 100%;
}

/* ── Embebido dentro de otro panel (ej. Editar Cargo): sin tarjeta propia, el padre da el footer ── */
.role-edit-panel.embedded[b-a2a25x0be0] {
    background: transparent;
    box-shadow: none;
    padding: 0;
    max-width: none;
}

.re-header[b-a2a25x0be0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.re-header-text[b-a2a25x0be0] {
    min-width: 0;
}

.re-title[b-a2a25x0be0] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 4px 0;
}

.re-subtitle[b-a2a25x0be0] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

.re-body[b-a2a25x0be0] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.re-body[b-a2a25x0be0]::-webkit-scrollbar {
    width: 6px;
}

.re-body[b-a2a25x0be0]::-webkit-scrollbar-track {
    background: transparent;
}

.re-body[b-a2a25x0be0]::-webkit-scrollbar-thumb {
    background-color: var(--st-surface-stronger);
    border-radius: 20px;
}

/* ── JobTitle picker (sin caja contenedora) ── */
.re-jobtitle-picker[b-a2a25x0be0] {
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* ── Form Section (JobTitle selector) ── */
.re-form-section[b-a2a25x0be0] {
    background-color: var(--st-surface-muted);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
}

.re-field-label[b-a2a25x0be0] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: 8px;
    display: block;
}

.re-select[b-a2a25x0be0] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--st-text-brand);
    background-color: var(--st-surface);
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.re-select:focus[b-a2a25x0be0] {
    border-color: #FF00FF;
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

/* ── Título + buscador: ancladas juntas arriba del scroll de re-body ── */
.re-sticky-header[b-a2a25x0be0] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 4px;
    padding-bottom: 10px;
    background: var(--st-surface);
}

.re-section-title[b-a2a25x0be0] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

.re-search-box[b-a2a25x0be0] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.re-search-box svg[b-a2a25x0be0] {
    position: absolute;
    left: 14px;
    color: var(--st-text-muted);
    pointer-events: none;
}

.re-search-box input[b-a2a25x0be0] {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--st-border);
    border-radius: 24px;
    outline: none;
    font-size: 0.9rem;
    color: var(--st-text-brand);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.re-search-box input:focus[b-a2a25x0be0] {
    border-color: #FF00FF;
    border-width: 2px;
    padding: 9px 13px 9px 37px;
}

/* ══════════════════════════════════════
   Feature Accordion (Permisos Asociados)
   ══════════════════════════════════════ */
.re-features-list[b-a2a25x0be0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.re-feature-group[b-a2a25x0be0] {
    background: var(--st-surface);
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.re-feature-group.expanded[b-a2a25x0be0] {
    border-color: var(--st-accent-border);
}

.re-feature-group-header[b-a2a25x0be0] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.re-feature-group.expanded .re-feature-group-header[b-a2a25x0be0] {
    background: var(--st-surface-muted);
}

.re-feature-group-name[b-a2a25x0be0] {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.re-feature-group-count[b-a2a25x0be0] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border-radius: 10px;
    padding: 2px 9px;
    flex-shrink: 0;
}

.re-feature-group-actions[b-a2a25x0be0] {
    display: flex;
    flex-direction: column;
    padding: 2px 14px 12px;
    animation: reSlideDown-b-a2a25x0be0 0.25s ease;
}

@keyframes reSlideDown-b-a2a25x0be0 {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.re-toggle-row[b-a2a25x0be0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border-subtle);
}

.re-toggle-row:last-child[b-a2a25x0be0] {
    border-bottom: none;
}

.re-toggle-row-name[b-a2a25x0be0] {
    font-size: 0.88rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.re-toggle-row.on .re-toggle-row-name[b-a2a25x0be0] {
    color: var(--st-text-brand);
    font-weight: 600;
}

/* ── DIV-based Toggle Switch (no CSS sibling selectors) ── */
.re-toggle[b-a2a25x0be0] {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 24px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.re-toggle.off[b-a2a25x0be0] {
    background-color: var(--st-surface-stronger);
}

.re-toggle.on[b-a2a25x0be0] {
    background-color: #d33bb2;
}

.re-toggle-thumb[b-a2a25x0be0] {
    position: absolute;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.re-toggle.off .re-toggle-thumb[b-a2a25x0be0] {
    left: 3px;
}

.re-toggle.on .re-toggle-thumb[b-a2a25x0be0] {
    left: 23px;
}

/* ── Empty State ── */
.re-empty[b-a2a25x0be0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: var(--st-text-muted);
    text-align: center;
    min-height: 200px;
    gap: 12px;
}

.re-empty svg[b-a2a25x0be0] {
    opacity: 0.4;
}

.re-empty p[b-a2a25x0be0] {
    font-size: 0.9rem;
    margin: 0;
}

/* ── Footer ── */
.re-footer[b-a2a25x0be0] {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
    flex-shrink: 0;
}

.btn-cancel[b-a2a25x0be0] {
    flex: 1;
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.btn-cancel:hover[b-a2a25x0be0] {
    background: var(--st-surface-stronger);
}

.btn-save[b-a2a25x0be0] {
    flex: 1;
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: #FF00FF;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 0, 255, 0.3);
    box-sizing: border-box;
}

.btn-save:hover[b-a2a25x0be0] {
    background: #e600e6;
    box-shadow: 0 4px 6px rgba(255, 0, 255, 0.4);
    transform: translateY(-1px);
}

.btn-save:disabled[b-a2a25x0be0] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* Person mode: where the effective value comes from (base, job title override, person override). */
.re-toggle-origin[b-a2a25x0be0] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border, currentColor);
}
/* /Pages/Home/Components/Setting/Department/Components/Schedules/ScheduleShiftEditPanel.razor.rz.scp.css */
.schedule-shift-edit-panel[b-k3yruqueiv] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
    min-width: 0;
}

.ssep-header[b-k3yruqueiv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.ssep-header-text[b-k3yruqueiv] {
    min-width: 0;
}

.ssep-title[b-k3yruqueiv] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0 0 4px 0;
}

.ssep-subtitle[b-k3yruqueiv] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
}

.ssep-alert[b-k3yruqueiv] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ssep-alert.error[b-k3yruqueiv] {
    background-color: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.ssep-body[b-k3yruqueiv] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ssep-form[b-k3yruqueiv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row[b-k3yruqueiv] {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-row.double > .form-group[b-k3yruqueiv] {
    flex: 1 1 calc(50% - 8px);
}

.form-group[b-k3yruqueiv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-group label[b-k3yruqueiv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.form-group input[b-k3yruqueiv] {
    padding: 10px 14px;
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--st-text);
    background-color: var(--st-surface-muted);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus[b-k3yruqueiv] {
    border-color: #d33bb2;
    background-color: var(--st-surface);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.15);
}

/* Disparador de hora (solo lectura) que abre el PickerSidebarTime estándar. */
.ssep-time-trigger[b-k3yruqueiv] {
    position: relative;
}

.ssep-time-trigger input[readonly][b-k3yruqueiv] {
    width: 100%;
    padding-right: 36px;
    cursor: pointer;
}

.ssep-time-trigger-icon[b-k3yruqueiv] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.form-group input:disabled[b-k3yruqueiv] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-muted);
    cursor: not-allowed;
    border-color: var(--st-border);
}

.field-hint[b-k3yruqueiv] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    margin-top: 2px;
}

.days-chips-container[b-k3yruqueiv] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.day-chip[b-k3yruqueiv] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--st-border);
    background: var(--st-surface-muted);
    color: var(--st-text-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-chip:hover[b-k3yruqueiv] {
    border-color: #d33bb2;
    color: #d33bb2;
    background: rgba(211, 59, 178, 0.05);
}

.day-chip.selected[b-k3yruqueiv] {
    background: #d33bb2;
    border-color: #d33bb2;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(211, 59, 178, 0.3);
}

.day-chip-short[b-k3yruqueiv] {
    font-weight: 700;
}

.pause-section[b-k3yruqueiv] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Turno de los colaboradores nuevos (ajuste CALENDARDEFAULTSHIFTCODE del taller) */
.default-shift-section[b-k3yruqueiv] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pause-times-row[b-k3yruqueiv] {
    margin-top: 4px;
}

.toggle-container[b-k3yruqueiv] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-switch[b-k3yruqueiv] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.st-switch input[b-k3yruqueiv] {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-slider[b-k3yruqueiv] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .3s;
    border-radius: 24px;
}

.st-slider[b-k3yruqueiv]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.st-switch input:checked + .st-slider[b-k3yruqueiv] {
    background-color: #d33bb2;
}

.st-switch input:checked + .st-slider[b-k3yruqueiv]:before {
    transform: translateX(20px);
}

.st-switch input:disabled + .st-slider[b-k3yruqueiv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.st-switch-text[b-k3yruqueiv] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.st-switch-text.active[b-k3yruqueiv] {
    color: var(--st-text);
}

.ssep-actions[b-k3yruqueiv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--st-border-subtle);
}

.ssep-actions-right[b-k3yruqueiv] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.btn-save[b-k3yruqueiv] {
    background: #d33bb2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(211, 59, 178, 0.3);
}

.btn-save:hover:not(:disabled)[b-k3yruqueiv] {
    background: #b82b99;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.4);
}

.btn-save:disabled[b-k3yruqueiv] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel[b-k3yruqueiv] {
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover:not(:disabled)[b-k3yruqueiv] {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
}

.btn-delete[b-k3yruqueiv] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-delete:hover:not(:disabled)[b-k3yruqueiv] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

/* Wraps the fields so they can all be disabled at once (read-only, A35) without changing the layout. */
.ssep-fields[b-k3yruqueiv] {
    display: contents;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Several pauses (made in «Nivelación del taller»): read-only list. */
.pause-list[b-k3yruqueiv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
    color: var(--st-text-body);
    font-size: 13px;
}

.pause-list i[b-k3yruqueiv] {
    margin-right: 6px;
    color: var(--st-text-muted);
}
/* /Pages/Home/Components/Setting/Department/Components/Schedules/SchedulesPanel.razor.rz.scp.css */
.schedules-panel[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.schedules-loading[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 16px;
    color: var(--st-text-subtle);
    font-size: 0.95rem;
    font-weight: 500;
}

.sc-layout[b-qydwzf0xgk] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-top: 6px;
}

.sc-list[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 380px;
    width: 380px;
    min-width: 280px;
    max-width: 600px;
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 12px;
}

.sc-list[b-qydwzf0xgk]::-webkit-scrollbar {
    display: none;
}

/* Panel Resizer */
.st-panel-resizer[b-qydwzf0xgk] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-qydwzf0xgk],
.st-panel-resizer.active[b-qydwzf0xgk] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-qydwzf0xgk]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-qydwzf0xgk]::after,
.st-panel-resizer.active[b-qydwzf0xgk]::after {
    background-color: #D33BB2;
    height: 48px;
}

/* Detail Area */
.sc-detail-area[b-qydwzf0xgk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding-left: 12px;
    padding-right: 6px;
}

/* Cards */
.sc-item-card[b-qydwzf0xgk] {
    display: flex;
    align-items: center;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 12px 16px;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--st-border);
    flex-shrink: 0;
}

.sc-item-card:hover[b-qydwzf0xgk] {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
    border-color: var(--st-border-strong);
}

.sc-item-card.selected[b-qydwzf0xgk] {
    border: 2px solid #FFC107;
    background: var(--st-surface);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.18);
}

.sc-item-icon[b-qydwzf0xgk] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-item-card.selected .sc-item-icon[b-qydwzf0xgk] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.sc-item-info[b-qydwzf0xgk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sc-item-title-row[b-qydwzf0xgk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sc-item-name[b-qydwzf0xgk] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Turno de los colaboradores nuevos: marca en la tarjeta y nota cuando decide la regla automática */
.sc-badge-default[b-qydwzf0xgk] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-right: auto;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--st-accent-text);
    background: var(--st-accent-bg);
    border: 1px solid var(--st-accent-border);
    padding: 1px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}

.sc-badge-default i[b-qydwzf0xgk] {
    font-size: 0.6rem;
}

.sc-default-note[b-qydwzf0xgk] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--st-info-text);
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    border-radius: 8px;
    flex-shrink: 0;
}

.sc-default-note i[b-qydwzf0xgk] {
    color: var(--st-info-fg);
    margin-top: 1px;
}

.sc-item-code[b-qydwzf0xgk] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--st-text-subtle);
    background: var(--st-surface-sunken);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sc-item-badges-row[b-qydwzf0xgk] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sc-badge-days[b-qydwzf0xgk] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-info-fg);
    background: var(--st-surface-sunken);
    padding: 2px 7px;
    border-radius: 6px;
}

.sc-badge-hours[b-qydwzf0xgk] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-info-fg);
    background: var(--st-info-bg-strong);
    padding: 2px 7px;
    border-radius: 6px;
}

.sc-item-break[b-qydwzf0xgk] {
    font-size: 0.72rem;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.sc-item-status[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.sc-status-dot[b-qydwzf0xgk] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.sc-status-dot.active[b-qydwzf0xgk] {
    background: #10B981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.sc-status-dot.inactive[b-qydwzf0xgk] {
    background: var(--st-surface-stronger);
}

.sc-status-label[b-qydwzf0xgk] {
    font-size: 0.68rem;
    font-weight: 600;
}

.sc-status-label.active[b-qydwzf0xgk] {
    color: var(--st-success-fg);
}

.sc-status-label.inactive[b-qydwzf0xgk] {
    color: var(--st-text-muted);
}

/* Collaborator Card Specifics */
.sc-collab-avatar[b-qydwzf0xgk] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.sc-collab-avatar .avatar-img[b-qydwzf0xgk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-collab-role-row[b-qydwzf0xgk] {
    display: flex;
    align-items: center;
}

.sc-collab-role[b-qydwzf0xgk] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-collab-shift-badge[b-qydwzf0xgk] {
    margin-top: 2px;
}

.badge-shift-assigned[b-qydwzf0xgk] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-success-text);
    background: var(--st-success-bg-strong);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-shift-none[b-qydwzf0xgk] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-warning-fg);
    background: var(--st-warning-bg-strong);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Empty & Placeholder States */
.sc-empty-list[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
    color: var(--st-text-muted);
    background: var(--st-surface-muted);
    border: 2px dashed var(--st-border);
    border-radius: 14px;
    margin-top: 12px;
}

.sc-empty-list svg[b-qydwzf0xgk] {
    margin-bottom: 12px;
    color: var(--st-text-faint);
}

.sc-empty-list h3[b-qydwzf0xgk] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text-body);
    margin: 0 0 6px 0;
}

.sc-empty-list p[b-qydwzf0xgk] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
    max-width: 240px;
}

.sc-placeholder-card[b-qydwzf0xgk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 360px;
    padding: 32px;
    text-align: center;
    color: var(--st-text-muted);
    background: var(--st-surface-muted);
    border: 2px dashed var(--st-border);
    border-radius: 14px;
}

.sc-placeholder-card svg[b-qydwzf0xgk] {
    margin-bottom: 14px;
    color: var(--st-text-faint);
}

.sc-placeholder-card h4[b-qydwzf0xgk] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-body);
    margin: 0 0 8px 0;
}

.sc-placeholder-card p[b-qydwzf0xgk] {
    font-size: 0.9rem;
    color: var(--st-text-subtle);
    margin: 0;
    max-width: 320px;
}
/* /Pages/Home/Components/Setting/Department/Components/Schedules/SchedulesTablePanel.razor.rz.scp.css */
.schedules-table-container[b-53afw2s8pg] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.st-table-wrapper[b-53afw2s8pg] {
    background: var(--st-surface);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--st-border);
    overflow-x: auto;
    flex: 1;
}

.st-table[b-53afw2s8pg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.st-table thead tr[b-53afw2s8pg] {
    background: var(--st-surface-muted);
    border-bottom: 1.5px solid var(--st-border);
}

.st-table th[b-53afw2s8pg] {
    padding: 12px 16px;
    color: var(--st-text-secondary);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.th-actions[b-53afw2s8pg] {
    text-align: right;
    padding-right: 20px;
}

.st-table tbody tr[b-53afw2s8pg] {
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background-color 0.15s ease;
}

.st-table tbody tr:nth-child(even)[b-53afw2s8pg] {
    background-color: var(--st-surface-muted);
}

.st-table tbody tr:hover[b-53afw2s8pg] {
    background-color: var(--st-surface-sunken);
}

.st-table td[b-53afw2s8pg] {
    padding: 12px 16px;
    color: var(--st-text);
    vertical-align: middle;
}

.td-primary[b-53afw2s8pg] {
    font-weight: 600;
}

.shift-name-cell[b-53afw2s8pg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cell-title[b-53afw2s8pg] {
    font-weight: 600;
    color: var(--st-text);
}

.shift-title-row[b-53afw2s8pg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-default[b-53afw2s8pg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--st-accent-text);
    background: var(--st-accent-bg);
    border: 1px solid var(--st-accent-border);
    padding: 1px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}

.badge-default i[b-53afw2s8pg] {
    font-size: 0.6rem;
}

.cell-subtitle[b-53afw2s8pg] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    font-weight: 400;
}

.badge-code[b-53afw2s8pg] {
    background: rgba(222, 163, 1, 0.15);
    color: #dea301;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(222, 163, 1, 0.3);
}

.badge-days[b-53afw2s8pg] {
    background: rgba(211, 59, 178, 0.1);
    color: #d33bb2;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
}

.badge-hours[b-53afw2s8pg] {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.8rem;
    white-space: nowrap;
}

.badge-assigned-shift[b-53afw2s8pg] {
    background: var(--st-gold-bg);
    color: var(--st-warning-fg);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(222, 163, 1, 0.3);
    white-space: nowrap;
}

.badge-unassigned[b-53afw2s8pg] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.status-badge[b-53afw2s8pg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.status-badge.active[b-53afw2s8pg] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.status-badge.inactive[b-53afw2s8pg] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
}

.status-dot[b-53afw2s8pg] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.td-actions[b-53afw2s8pg] {
    text-align: right;
    white-space: nowrap;
    padding-right: 20px;
}

.action-btn[b-53afw2s8pg] {
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.action-btn.edit[b-53afw2s8pg] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.action-btn.edit:hover[b-53afw2s8pg] {
    background: rgba(211, 59, 178, 0.12);
    color: #d33bb2;
}

.action-btn.delete[b-53afw2s8pg] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

.action-btn.delete:hover[b-53afw2s8pg] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.collab-cell[b-53afw2s8pg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.collab-avatar-small[b-53afw2s8pg] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.collab-name-block[b-53afw2s8pg] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.roles-cell[b-53afw2s8pg] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.role-chip[b-53afw2s8pg] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.text-muted[b-53afw2s8pg] {
    color: var(--st-text-muted);
    font-size: 0.8rem;
}

.empty-table-state[b-53afw2s8pg] {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--st-surface);
    border-radius: 12px;
    border: 1px dashed var(--st-border-strong);
    color: var(--st-text-subtle);
}

.empty-table-state svg[b-53afw2s8pg] {
    color: var(--st-text-muted);
    margin-bottom: 12px;
    opacity: 0.6;
}

.empty-table-state h4[b-53afw2s8pg] {
    margin: 0 0 6px 0;
    color: var(--st-text);
    font-size: 1.05rem;
    font-weight: 600;
}

.empty-table-state p[b-53afw2s8pg] {
    margin: 0;
    font-size: 0.88rem;
    max-width: 400px;
}
/* /Pages/Home/Components/Setting/Department/Components/Schedules/ScheduleStakeholderEditPanel.razor.rz.scp.css */
.schedule-stakeholder-edit-panel[b-mspi2ainab] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
    min-width: 0;
}

.ssep-header[b-mspi2ainab] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 16px;
}

.collaborator-avatar[b-mspi2ainab] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--st-border-strong);
}

.avatar-img[b-mspi2ainab] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials[b-mspi2ainab] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.collaborator-info[b-mspi2ainab] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.collaborator-name[b-mspi2ainab] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
}

.collaborator-meta[b-mspi2ainab] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-tag[b-mspi2ainab] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.collaborator-roles[b-mspi2ainab] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.role-badge[b-mspi2ainab] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.level-badge[b-mspi2ainab] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.ssep-alert[b-mspi2ainab] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ssep-alert.error[b-mspi2ainab] {
    background-color: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.ssep-alert.success[b-mspi2ainab] {
    background-color: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.ssep-body[b-mspi2ainab] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ssep-form[b-mspi2ainab] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group[b-mspi2ainab] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-group label[b-mspi2ainab] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.form-select[b-mspi2ainab] {
    padding: 10px 14px;
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--st-text);
    background-color: var(--st-surface-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.form-select:focus[b-mspi2ainab] {
    border-color: #d33bb2;
    background-color: var(--st-surface);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.15);
}

.field-hint[b-mspi2ainab] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    margin-top: 2px;
}

.shift-preview-card[b-mspi2ainab] {
    background: var(--st-surface-muted);
    border: 1.5px solid var(--st-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-header[b-mspi2ainab] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.preview-title[b-mspi2ainab] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text);
}

.preview-code[b-mspi2ainab] {
    background: rgba(222, 163, 1, 0.15);
    color: #dea301;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(222, 163, 1, 0.3);
}

.preview-desc[b-mspi2ainab] {
    font-size: 0.82rem;
    color: var(--st-text-subtle);
    margin: 0;
}

.preview-details[b-mspi2ainab] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--st-border);
    padding-top: 10px;
}

.preview-detail-row[b-mspi2ainab] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label[b-mspi2ainab] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.detail-value[b-mspi2ainab] {
    color: var(--st-text);
    font-weight: 600;
}

.days-badge[b-mspi2ainab] {
    background: rgba(211, 59, 178, 0.1);
    color: #d33bb2;
    padding: 2px 8px;
    border-radius: 6px;
}

.hours-badge[b-mspi2ainab] {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
}

.no-shift-card[b-mspi2ainab] {
    background: var(--st-surface-muted);
    border: 1.5px dashed var(--st-border-strong);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 0.88rem;
}

.no-shift-card svg[b-mspi2ainab] {
    color: var(--st-text-muted);
}

.ssep-actions[b-mspi2ainab] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--st-border-subtle);
}

.ssep-actions-right[b-mspi2ainab] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.btn-save[b-mspi2ainab] {
    background: #d33bb2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(211, 59, 178, 0.3);
}

.btn-save:hover:not(:disabled)[b-mspi2ainab] {
    background: #b82b99;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.4);
}

.btn-save:disabled[b-mspi2ainab] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel[b-mspi2ainab] {
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover:not(:disabled)[b-mspi2ainab] {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
}

.btn-unlink[b-mspi2ainab] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-unlink:hover:not(:disabled)[b-mspi2ainab] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.empty-state[b-mspi2ainab] {
    padding: 48px 24px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 0.95rem;
}

/* Wraps the fields so they can all be disabled at once (read-only, A35) without changing the layout. */
.ssep-fields[b-mspi2ainab] {
    display: contents;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
/* /Pages/Home/Components/Setting/Department/Components/Schedules/WorkshopHolidaysTab.razor.rz.scp.css */
.wh-tab[b-dqxe40dn3t] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 8px;
    padding-top: 8px;
    overflow-y: auto;
}

.wh-note[b-dqxe40dn3t] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--st-warning-text, var(--st-text));
    background: var(--st-warning-bg, var(--st-surface-muted));
    border: 1px solid var(--st-warning-border, var(--st-border));
    border-radius: 8px;
}

.wh-loading[b-dqxe40dn3t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 0;
    color: var(--st-text-subtle);
}

.wh-layout[b-dqxe40dn3t] {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.wh-card[b-dqxe40dn3t] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.wh-card-title[b-dqxe40dn3t] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-brand);
}

.wh-hint[b-dqxe40dn3t],
.wh-empty[b-dqxe40dn3t] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--st-text-subtle);
}

.wh-fields[b-dqxe40dn3t] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
    margin: 0;
    padding: 0;
}

.wh-group[b-dqxe40dn3t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wh-group label[b-dqxe40dn3t] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.wh-group input[type="text"][b-dqxe40dn3t] {
    padding: 10px 14px;
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--st-text);
    background-color: var(--st-surface-muted);
    box-sizing: border-box;
}

.wh-group input[type="text"]:focus[b-dqxe40dn3t] {
    border-color: #d33bb2;
    background-color: var(--st-surface);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.15);
}

.wh-date-trigger[b-dqxe40dn3t] {
    position: relative;
}

.wh-date-trigger input[b-dqxe40dn3t] {
    width: 100%;
    cursor: pointer;
    padding-right: 34px !important;
}

.wh-date-icon[b-dqxe40dn3t] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-text-muted);
    pointer-events: none;
}

.wh-field-hint[b-dqxe40dn3t] {
    font-size: 0.75rem;
    color: var(--st-text-subtle);
}

.wh-kinds[b-dqxe40dn3t] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wh-kind[b-dqxe40dn3t] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.wh-kind.selected[b-dqxe40dn3t] {
    border-color: #d33bb2;
    background: rgba(211, 59, 178, 0.08);
    color: #d33bb2;
}

.wh-alert[b-dqxe40dn3t] {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--st-danger-text, #b42318);
    background: var(--st-danger-bg, #fef3f2);
    border: 1px solid var(--st-danger-border, #fecdca);
}

.wh-actions[b-dqxe40dn3t] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.wh-btn-save[b-dqxe40dn3t] {
    background: #d33bb2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(211, 59, 178, 0.3);
}

.wh-btn-save:hover:not(:disabled)[b-dqxe40dn3t] {
    background: #b82b99;
}

.wh-btn-save:disabled[b-dqxe40dn3t],
.wh-btn-cancel:disabled[b-dqxe40dn3t] {
    opacity: 0.6;
    cursor: not-allowed;
}

.wh-btn-cancel[b-dqxe40dn3t] {
    background: transparent;
    color: var(--st-text);
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    cursor: pointer;
}

.wh-row[b-dqxe40dn3t] {
    display: grid;
    grid-template-columns: 150px auto 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.85rem;
}

[data-wh-national] .wh-row[b-dqxe40dn3t] {
    grid-template-columns: 150px 1fr auto;
}

.wh-row.past[b-dqxe40dn3t] {
    opacity: 0.55;
}

.wh-row-date[b-dqxe40dn3t] {
    font-weight: 600;
    color: var(--st-text-brand);
}

/* «lun. 2 de nov. de 2026» → «Lun. 2 de nov. de 2026»: solo la primera letra, no cada palabra. */
.wh-row-date[b-dqxe40dn3t]::first-letter {
    text-transform: uppercase;
}

.wh-row-name[b-dqxe40dn3t] {
    color: var(--st-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wh-row-scope[b-dqxe40dn3t] {
    font-size: 0.75rem;
    color: var(--st-text-subtle);
}

.wh-badge[b-dqxe40dn3t] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.wh-badge.close[b-dqxe40dn3t] {
    color: var(--st-danger-text, #b42318);
    background: var(--st-danger-bg, #fef3f2);
}

.wh-badge.open[b-dqxe40dn3t] {
    color: var(--st-success-text, #067647);
    background: var(--st-success-bg, #ecfdf3);
}

.wh-row-actions[b-dqxe40dn3t] {
    display: inline-flex;
    gap: 4px;
}

.wh-icon-btn[b-dqxe40dn3t] {
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
}

.wh-icon-btn:hover[b-dqxe40dn3t] {
    background: var(--st-surface-muted);
    color: var(--st-text);
}

.wh-icon-btn.danger:hover[b-dqxe40dn3t] {
    color: var(--st-danger-text, #b42318);
}

.wh-link-btn[b-dqxe40dn3t] {
    border: none;
    background: transparent;
    color: #d33bb2;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}
/* /Pages/Home/Components/Setting/Department/Components/Setup/SetupEditPanel.razor.rz.scp.css */
.setup-edit-panel[b-1xu4vgx73e] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    box-sizing: border-box;
    min-width: 0;    /* evita desbordamiento horizontal en flex */
}

.se-header[b-1xu4vgx73e] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.se-header-text[b-1xu4vgx73e] {
    min-width: 0;
}

.se-title[b-1xu4vgx73e] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 4px 0;
}

.se-subtitle[b-1xu4vgx73e] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

.se-alert[b-1xu4vgx73e] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.se-alert.error[b-1xu4vgx73e] {
    background-color: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

/* A34: the setting departs from the GOG when turned on. */
.se-alert.warn[b-1xu4vgx73e] {
    background-color: var(--st-warning-bg);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
}

.se-body[b-1xu4vgx73e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
}

.se-form[b-1xu4vgx73e] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row[b-1xu4vgx73e] {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.form-row.double>.form-group[b-1xu4vgx73e] {
    flex: 1 1 200px;
}

.form-group[b-1xu4vgx73e] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label[b-1xu4vgx73e] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.form-group input[b-1xu4vgx73e],
.form-group select[b-1xu4vgx73e],
.form-group textarea[b-1xu4vgx73e] {
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--st-text-brand);
    transition: all 0.2s;
    background-color: var(--st-surface-muted);
    box-sizing: border-box;
    width: 100%;
}

.form-group input[b-1xu4vgx73e]::placeholder,
.form-group textarea[b-1xu4vgx73e]::placeholder {
    font-weight: 400;
}

.form-group input:focus[b-1xu4vgx73e],
.form-group select:focus[b-1xu4vgx73e],
.form-group textarea:focus[b-1xu4vgx73e] {
    outline: none;
    border-color: #FF00FF;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

.form-group textarea[b-1xu4vgx73e] {
    resize: vertical;
    min-height: 80px;
}

.toggle-container[b-1xu4vgx73e] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.st-switch[b-1xu4vgx73e] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.st-switch input[b-1xu4vgx73e] {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-slider[b-1xu4vgx73e] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .3s;
    border-radius: 26px;
}

.st-slider[b-1xu4vgx73e]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.st-switch input:checked + .st-slider[b-1xu4vgx73e] {
    background-color: #059669;
}

.st-switch input:checked + .st-slider[b-1xu4vgx73e]:before {
    transform: translateX(22px);
}

.st-switch-text[b-1xu4vgx73e] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    user-select: none;
}

.st-switch-text.active[b-1xu4vgx73e] {
    color: var(--st-success-fg);
}

.se-footer[b-1xu4vgx73e] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--st-border);
}

.btn-delete[b-1xu4vgx73e] {
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid var(--st-danger-fg);
    background: transparent;
    color: var(--st-danger-fg);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-right: auto;
}

.btn-delete:hover[b-1xu4vgx73e] {
    background: var(--st-danger-bg);
}

.btn-cancel[b-1xu4vgx73e] {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-cancel:hover[b-1xu4vgx73e] {
    background: var(--st-surface-stronger);
}

.btn-save[b-1xu4vgx73e] {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: #FF00FF;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-save:hover[b-1xu4vgx73e] {
    background: #e600e6;
}

.btn-save:disabled[b-1xu4vgx73e],
.btn-delete:disabled[b-1xu4vgx73e],
.btn-cancel:disabled[b-1xu4vgx73e] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Selectores laterales (ERP, Proceso, Cargo) ───────────────────────── */
.erp-select-container[b-1xu4vgx73e],
.process-select-container[b-1xu4vgx73e],
.jobtitle-select-container[b-1xu4vgx73e] {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.erp-select-container[b-1xu4vgx73e]  .st-picker-trigger,
.process-select-container[b-1xu4vgx73e]  .st-picker-trigger,
.jobtitle-select-container[b-1xu4vgx73e]  .st-picker-trigger {
    width: 100%;
    min-height: 38px;
    height: 38px;
    border-radius: 8px;
    padding: 0 40px 0 40px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.erp-select-container[b-1xu4vgx73e]  .st-picker-trigger.has-icon-right,
.process-select-container[b-1xu4vgx73e]  .st-picker-trigger.has-icon-right,
.jobtitle-select-container[b-1xu4vgx73e]  .st-picker-trigger.has-icon-right {
    padding: 0 56px 0 12px;
}

.erp-select-container[b-1xu4vgx73e]  .st-picker-icon-container,
.process-select-container[b-1xu4vgx73e]  .st-picker-icon-container,
.jobtitle-select-container[b-1xu4vgx73e]  .st-picker-icon-container {
    width: 24px;
    height: 24px;
}

.erp-select-container[b-1xu4vgx73e]  .st-picker-trigger:hover,
.process-select-container[b-1xu4vgx73e]  .st-picker-trigger:hover,
.jobtitle-select-container[b-1xu4vgx73e]  .st-picker-trigger:hover {
    border-color: #FF00FF;
}

.erp-select-container[b-1xu4vgx73e]  .st-picker-value,
.process-select-container[b-1xu4vgx73e]  .st-picker-value,
.jobtitle-select-container[b-1xu4vgx73e]  .st-picker-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

/* ── Custom Select (Workload, WorkLevels, 2FA) ──────────────── */
.custom-select-container[b-1xu4vgx73e] {
    position: relative;
    width: 100%;
}

.st-select[b-1xu4vgx73e] {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    background-color: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.st-select:focus[b-1xu4vgx73e] {
    outline: none;
    border-color: #FF00FF;
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

/* ── Encabezado de Configuración y Descripción fija ─────────── */
.se-config-header-display[b-1xu4vgx73e] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.se-config-title[b-1xu4vgx73e] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text);
}

.se-config-desc[b-1xu4vgx73e] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    line-height: 1.35;
    margin: 0;
}

/* ── Fila dividida para Origen / Destino ──────────────────────── */
.form-row-split[b-1xu4vgx73e] {
    display: flex;
    gap: 12px;
    width: 100%;
}

.split-col[b-1xu4vgx73e] {
    flex: 1 1 0;
    min-width: 0;
}
/* /Pages/Home/Components/Setting/Department/Components/Setup/SetupPanel.razor.rz.scp.css */
.taller-panel[b-46w37m48oh] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.tp-sub-header[b-46w37m48oh] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tp-params-label[b-46w37m48oh] {
    font-size: 1rem;
    font-weight: 700;
    color: #FFC107;
}

.tp-copy-btn[b-46w37m48oh] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 16px;
    border-radius: 21px;
    background: transparent;
    color: #FF00FF;
    border: 1.5px solid #FF00FF;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.tp-copy-btn:hover[b-46w37m48oh] {
    background: rgba(255, 0, 255, 0.08);
}

.tp-content-layout[b-46w37m48oh] {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.tp-params-list[b-46w37m48oh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 400px;
    width: 400px;
    min-width: 280px;
    max-width: 600px;
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 5px;
    padding-right: 8px;
}

.st-panel-resizer[b-46w37m48oh] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-46w37m48oh],
.st-panel-resizer.active[b-46w37m48oh] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-46w37m48oh]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-46w37m48oh]::after,
.st-panel-resizer.active[b-46w37m48oh]::after {
    background-color: #D33BB2;
    height: 48px;
}

.tp-params-list[b-46w37m48oh]::-webkit-scrollbar {
    display: none;
}

.tp-param-card[b-46w37m48oh] {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--st-surface);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--st-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.tp-param-card:hover[b-46w37m48oh] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.tp-param-card.selected[b-46w37m48oh] {
    border: 2px solid #FFC107;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.2);
}

.tp-param-icon[b-46w37m48oh] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #689F38;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(104, 159, 56, 0.3);
}

.tp-param-info[b-46w37m48oh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tp-param-name[b-46w37m48oh] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--st-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.tp-param-value[b-46w37m48oh] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.tp-param-detail[b-46w37m48oh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px;
    gap: 14px;
    animation: tpFadeIn-b-46w37m48oh 0.3s ease;
    min-width: 0;
    
}

.tp-param-detail[b-46w37m48oh]::-webkit-scrollbar {
    width: 6px;
}

.tp-param-detail[b-46w37m48oh]::-webkit-scrollbar-track {
    background: transparent;
}

.tp-param-detail[b-46w37m48oh]::-webkit-scrollbar-thumb {
    background-color: var(--st-surface-stronger);
    border-radius: 20px;
}

.tp-param-detail[b-46w37m48oh]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-border-stronger);
}

@keyframes tpFadeIn-b-46w37m48oh {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tp-detail-icon[b-46w37m48oh] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #689F38;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(104, 159, 56, 0.3);
}

.tp-detail-name[b-46w37m48oh] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
    text-align: center;
}

.tp-detail-value[b-46w37m48oh] {
    font-size: 0.9rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.tp-edit-detail[b-46w37m48oh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    min-width: 0;
    height: 100%;
}
/* /Pages/Home/Components/Setting/Department/Components/Setup/SetupTablePanel.razor.rz.scp.css */
.st-table-panel-container[b-3t0vc28kc1] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    gap: 10px;
}

.st-table-grid-wrapper[b-3t0vc28kc1] {
    position: relative;
    flex: 1;
    min-height: 400px;
    width: 100%;
}

.st-table-grid[b-3t0vc28kc1] {
    width: 100%;
    height: 100%;
    min-height: 400px;
    
    --ag-foreground-color: var(--st-text-brand);
    --ag-background-color: var(--st-surface);
    --ag-header-background-color: var(--st-surface-sunken);
    --ag-header-foreground-color: var(--st-text-secondary);
    --ag-border-color: var(--st-border);
    --ag-row-border-color: var(--st-border-subtle);
    --ag-row-hover-color: var(--st-fill-2);
    --ag-column-hover-color: var(--st-fill-3);
    --ag-selected-row-background-color: var(--st-surface-strong);
    --ag-range-selection-background-color: rgba(211, 59, 178, 0.12);
    --ag-checkbox-checked-color: #d33bb2;
    --ag-input-focus-border-color: #d33bb2;
    --ag-odd-row-background-color: var(--st-surface);
    --ag-control-panel-background-color: var(--st-surface-muted);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-input-border-color: var(--st-border-strong);
    --ag-font-family: 'Inter', 'Segoe UI', sans-serif;
    --ag-font-size: 13px;
    --ag-wrapper-border-radius: 10px;
}

.st-table-grid[b-3t0vc28kc1]  .ag-header-cell-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-table-grid[b-3t0vc28kc1]  .ag-root-wrapper {
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
}

.st-table-grid[b-3t0vc28kc1]  .ag-details-row {
    padding: 10px 14px;
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.st-table-loading-overlay[b-3t0vc28kc1] {
    position: absolute;
    inset: 0;
    background-color: var(--st-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--st-text-brand);
}

.loading-spinner[b-3t0vc28kc1] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--st-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: spin-b-3t0vc28kc1 0.8s linear infinite;
}

@keyframes spin-b-3t0vc28kc1 {
    to {
        transform: rotate(360deg);
    }
}

.st-table-grid[b-3t0vc28kc1]  .ag-paging-panel {
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    color: var(--st-text-brand);
    white-space: nowrap !important;
    min-height: 38px;
}

.st-table-grid[b-3t0vc28kc1]  .ag-paging-row-summary-panel,
.st-table-grid[b-3t0vc28kc1]  .ag-paging-page-summary-panel,
.st-table-grid[b-3t0vc28kc1]  .ag-paging-page-size {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
/* /Pages/Home/Components/Setting/Department/Components/Stakeholders/StakeholderEditPanel.razor.rz.scp.css */
.user-edit-panel[b-t0o1q9thiv] {
    background: var(--st-surface);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    padding: 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

.user-edit-panel.split[b-t0o1q9thiv] {
    max-width: 1400px;
}

.ue-main-layout[b-t0o1q9thiv] {
    display: flex;
    gap: 15px;
    flex: 1;
    min-height: 0;
    /* Narrow container: the columns keep their width and the layout scrolls sideways instead of clipping */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--st-border-strong) transparent;
}

.ue-main-layout.split .ue-body[b-t0o1q9thiv] {
    width: 380px;
    flex: none;
    flex-shrink: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

.ue-main-layout.split .ue-body[b-t0o1q9thiv]::-webkit-scrollbar {
    display: none;
}

.ue-permissions-col[b-t0o1q9thiv] {
    flex: 1;
    /* Fits its inner split: fields 300 + gap 15 + permissions 300 + own padding 15 */
    min-width: 630px;
    padding-left: 15px;
    padding-top: 15px;
    border-left: 1px solid var(--st-border);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* La lista de features scrollea dentro del RoleEditPanel embebido (título + buscador anclados
   arriba, .re-body hace el scroll); acá solo se oculta la barra sin quitar el scroll. */
.ue-permissions-col[b-t0o1q9thiv]  .re-body {
    scrollbar-width: none;
}

.ue-permissions-col[b-t0o1q9thiv]  .re-body::-webkit-scrollbar {
    display: none;
}

.ue-permissions-title[b-t0o1q9thiv] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-subtle);
    margin: 0 0 4px 0;
}

.ue-permissions-subtitle[b-t0o1q9thiv] {
    font-size: 0.82rem;
    color: var(--st-text-muted);
    margin: 0 0 14px 0;
}

.ue-jobtitle-tabs[b-t0o1q9thiv] {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    gap: 8px;
}

.ue-jobtitle-tab[b-t0o1q9thiv] {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ue-jobtitle-tab:hover[b-t0o1q9thiv] {
    border-color: #FF00FF;
    color: #FF00FF;
}

.ue-jobtitle-tab.active[b-t0o1q9thiv] {
    background: #FF00FF;
    border-color: #FF00FF;
    color: #fff;
}

.ue-jobtitle-tab.add[b-t0o1q9thiv] {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 50%;
}

/* Columna del cargo (Activo/Asignable/Cargo/Fecha/Niveles, antes un panel aparte) + Permisos
   Asociados del cargo elegido en las pestañas de arriba. */
.ue-cargo-permissions-split[b-t0o1q9thiv] {
    display: flex;
    gap: 15px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.ue-cargo-fields-col[b-t0o1q9thiv] {
    width: 300px;
    flex: none;
    flex-shrink: 0;
    padding-right: 15px;
    padding-bottom: 15px;
    border-right: 1px solid var(--st-border);
    overflow-y: auto;
    scrollbar-width: none;
}

.ue-cargo-fields-col[b-t0o1q9thiv]::-webkit-scrollbar {
    display: none;
}

.ue-cargo-permissions-inner-col[b-t0o1q9thiv] {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.ue-header[b-t0o1q9thiv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--st-border);
    gap: 12px;
}

.ue-header-text[b-t0o1q9thiv] {
    min-width: 0;
}

.ue-header-actions[b-t0o1q9thiv] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ue-title[b-t0o1q9thiv] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 4px 0;
}

.ue-subtitle[b-t0o1q9thiv] {
    font-size: 0.85rem;
    color: var(--st-text-muted);
    margin: 0;
}

.ue-body[b-t0o1q9thiv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
}

.ue-body[b-t0o1q9thiv]::-webkit-scrollbar {
    display: none;
}

.ue-form[b-t0o1q9thiv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.form-row[b-t0o1q9thiv] {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-row.double[b-t0o1q9thiv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row.double>.form-group[b-t0o1q9thiv] {
    flex: initial;
    min-width: 0;
}

.form-group[b-t0o1q9thiv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label[b-t0o1q9thiv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.form-group input[b-t0o1q9thiv],
.form-group select[b-t0o1q9thiv],
.form-group textarea[b-t0o1q9thiv] {
    padding: 11px 14px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--st-text-brand);
    transition: all 0.2s;
    background-color: var(--st-surface-muted);
}

.form-group select[b-t0o1q9thiv] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input[b-t0o1q9thiv]::placeholder,
.form-group textarea[b-t0o1q9thiv]::placeholder {
    font-weight: 400;
}

.form-group input:focus[b-t0o1q9thiv],
.form-group select:focus[b-t0o1q9thiv],
.form-group textarea:focus[b-t0o1q9thiv] {
    outline: none;
    border-color: #FF00FF;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

.form-group input[b-t0o1q9thiv],
.form-group select[b-t0o1q9thiv] {
    min-width: 0;
    box-sizing: border-box;
}

.form-group textarea[b-t0o1q9thiv] {
    resize: vertical;
    min-height: 80px;
}

/* Campo de solo consulta (celular y correo al editar): se puede leer y copiar, no escribir. */
.form-group input.readonly-input[b-t0o1q9thiv] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    cursor: default;
}

.form-group input.readonly-input:focus[b-t0o1q9thiv] {
    border-color: var(--st-border);
    background-color: var(--st-surface-sunken);
    box-shadow: none;
}

/* Aviso que aparece al tocar un campo de solo consulta. */
.contact-locked-hint[b-t0o1q9thiv] {
    display: block;
    margin-top: -2px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--st-accent-text);
}

/* Workshop settings of an insurer (load control): its own block under the person's data. */
.insurer-settings[b-t0o1q9thiv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    background-color: var(--st-surface);
}

.insurer-settings-title[b-t0o1q9thiv] {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.field-hint[b-t0o1q9thiv] {
    display: block;
    margin-top: -2px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--st-text-muted);
}

@media (max-width: 640px) {
    .insurer-settings .form-row.double[b-t0o1q9thiv] {
        grid-template-columns: 1fr;
    }
}

.upload-row[b-t0o1q9thiv] {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
}

.avatar-upload[b-t0o1q9thiv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

.ue-status-group[b-t0o1q9thiv] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.ue-status-label[b-t0o1q9thiv] {
    font-size: 0.85rem;
    font-weight: 600;
}

.ue-status-label.active[b-t0o1q9thiv] {
    color: var(--st-success-fg);
}

.ue-status-label.inactive[b-t0o1q9thiv] {
    color: var(--st-text-muted);
}

.avatar-preview[b-t0o1q9thiv] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--st-surface-strong);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-preview img[b-t0o1q9thiv] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-icon[b-t0o1q9thiv] {
    color: var(--st-text-muted);
}

.upload-controls[b-t0o1q9thiv] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.upload-buttons[b-t0o1q9thiv] {
    display: flex;
    align-items: center;
}

.btn-upload[b-t0o1q9thiv] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--st-border);
}

.btn-upload:hover:not([disabled])[b-t0o1q9thiv] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}

.btn-upload[disabled][b-t0o1q9thiv] {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggles[b-t0o1q9thiv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.btn-add-jobtitle[b-t0o1q9thiv] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-add-jobtitle:hover[b-t0o1q9thiv] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}

.ue-footer[b-t0o1q9thiv] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
    flex-shrink: 0;
    background: var(--st-surface);
    position: relative;
    z-index: 1;
}

.btn-delete[b-t0o1q9thiv] {
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid #ef4444;
    background: transparent;
    color: var(--st-danger-fg);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-right: auto;
}

.btn-delete:hover[b-t0o1q9thiv] {
    background: var(--st-danger-bg);
}

.btn-cancel[b-t0o1q9thiv] {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-cancel:hover[b-t0o1q9thiv] {
    background: var(--st-surface-stronger);
}

.btn-save[b-t0o1q9thiv] {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: #FF00FF;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-save:hover[b-t0o1q9thiv] {
    background: #e600e6;
}

.btn-share-access[b-t0o1q9thiv] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background: #3A4C64;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-share-access:hover[b-t0o1q9thiv] {
    background: #2E3D51;
}

.btn-save:disabled[b-t0o1q9thiv],
.btn-delete:disabled[b-t0o1q9thiv],
.btn-cancel:disabled[b-t0o1q9thiv] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Pages/Home/Components/Setting/Department/Components/Stakeholders/StakeholderJobTitleEditPanel.razor.rz.scp.css */
/* Siempre embebido (columna del medio de StakeholderEditPanel): sin tarjeta blanca propia, el
   contenedor padre ya la pone. */
.jobtitle-edit-panel[b-14im16vwj6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 15px;
    height: 100%;
}

.jte-header[b-14im16vwj6] {
    margin-bottom: 24px;
}

.jte-title[b-14im16vwj6] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
}

.jte-body[b-14im16vwj6] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

.jte-body[b-14im16vwj6]::-webkit-scrollbar {
    display: none;
}

.jte-toggles-col[b-14im16vwj6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}

.jte-toggle-section[b-14im16vwj6] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.jte-toggle-label[b-14im16vwj6] {
    font-size: 0.85rem;
    font-weight: 600;
}

.jte-toggle-label.active[b-14im16vwj6] {
    color: var(--st-success-fg);
}

.jte-toggle-label.inactive[b-14im16vwj6] {
    color: var(--st-danger-fg);
}

/* Switch */
.toggle-switch[b-14im16vwj6] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input[b-14im16vwj6] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-14im16vwj6] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .4s;
    border-radius: 34px;
}

.slider[b-14im16vwj6]:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider[b-14im16vwj6] {
    background-color: #4CAF50;
}

input:checked+.slider[b-14im16vwj6]:before {
    transform: translateX(20px);
}

.select-with-action[b-14im16vwj6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-with-action select[b-14im16vwj6] {
    flex: 1;
    min-width: 0;
}

.btn-add-jobtitle[b-14im16vwj6] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    border: none;
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-jobtitle:hover[b-14im16vwj6] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}

.form-label[b-14im16vwj6] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: 0.5rem;
}

.form-select[b-14im16vwj6],
.form-control[b-14im16vwj6] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--st-surface-sunken);
    font-size: 0.9rem;
    color: var(--st-text-brand);
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.form-select[b-14im16vwj6] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238898AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Disparador de fecha (solo lectura) que abre el PickerSidebarDate estándar. */
.jte-date-picker[b-14im16vwj6] {
    position: relative;
}

.jte-date-picker .form-control[readonly][b-14im16vwj6] {
    padding-right: 2.5rem;
}

.jte-date-picker-icon[b-14im16vwj6] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.form-select:focus[b-14im16vwj6],
.form-control:focus[b-14im16vwj6] {
    border-color: var(--st-text-brand);
    background-color: var(--st-input-bg);
    box-shadow: 0 0 0 3px rgba(14, 34, 59, 0.1);
}

.jte-info-section[b-14im16vwj6] {
    padding: 16px 0;
    border-top: 1px solid var(--st-border-subtle);
}

.info-title[b-14im16vwj6] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin: 0 0 8px 0;
}

.info-desc[b-14im16vwj6] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.5;
}

.delete-profile-section[b-14im16vwj6] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delete-profile-label[b-14im16vwj6] {
    font-size: 0.85rem;
    color: var(--st-text-brand);
}

.btn-delete-profile[b-14im16vwj6] {
    align-self: flex-start;
    background: transparent;
    color: #FF00FF;
    border: 1px solid #FF00FF;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-profile:hover[b-14im16vwj6] {
    background: var(--st-surface-sunken);
}

.mt-3[b-14im16vwj6] {
    margin-top: 1rem;
}
/* Level of the role: active = tinted with its color (--level-color) + check; inactive = neutral and dimmed. Both follow the theme. */
.level-item[b-14im16vwj6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 2px solid var(--st-border);
    border-radius: 8px;
    background-color: var(--st-fill-2);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.level-item-name[b-14im16vwj6] {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--st-text-muted);
}

.level-item-badge[b-14im16vwj6] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--st-border-strong);
    border-radius: 50%;
    color: var(--st-text-muted);
    font-size: 0.8em;
    font-weight: 700;
}

.level-item.level-selected[b-14im16vwj6] {
    border-color: var(--level-color);
    background-color: color-mix(in srgb, var(--level-color) 16%, var(--st-surface));
}

.level-item.level-selected .level-item-name[b-14im16vwj6] {
    color: var(--st-text);
    font-weight: 700;
}

.level-item.level-selected .level-item-badge[b-14im16vwj6] {
    border-color: var(--level-color);
    background-color: var(--level-color);
    color: #ffffff;
}

.level-item.level-unselected:hover[b-14im16vwj6] {
    border-color: var(--level-color);
    background-color: color-mix(in srgb, var(--level-color) 8%, var(--st-surface));
}
/* /Pages/Home/Components/Setting/Department/Components/Stakeholders/StakeholdersPanel.razor.rz.scp.css */
.usuarios-panel[b-07yum1yt4l] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.us-tab[b-07yum1yt4l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 20px;
    border-radius: 25px;
    border: 2px solid var(--st-border);
    background: var(--st-surface);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.us-tab:hover[b-07yum1yt4l] {
    border-color: #FFC107;
    color: var(--st-text-secondary);
}

.us-tab.active[b-07yum1yt4l] {
    border-color: #FFC107;
    background: var(--st-gold-bg);
    color: var(--st-text);
}

.us-tab.selected[b-07yum1yt4l] {
    border-color: #FFC107;
    background: var(--st-gold-bg);
    color: var(--st-text);
    box-shadow: 0 1px 4px rgba(255, 193, 7, 0.2);
}

.us-tab-label[b-07yum1yt4l] {
    font-weight: 700;
}

.us-groups-list[b-07yum1yt4l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 400px;
    width: 400px;
    min-width: 280px;
    max-width: 600px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: none;
    padding-right: 8px;
}

.st-panel-resizer[b-07yum1yt4l] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-07yum1yt4l],
.st-panel-resizer.active[b-07yum1yt4l] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-07yum1yt4l]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-07yum1yt4l]::after,
.st-panel-resizer.active[b-07yum1yt4l]::after {
    background-color: #D33BB2;
    height: 48px;
}

.us-content-split[b-07yum1yt4l] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.us-groups-list[b-07yum1yt4l]::-webkit-scrollbar {
    display: none;
}

.us-group-header[b-07yum1yt4l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    margin-top: 8px;
}

.us-group-header:first-child[b-07yum1yt4l] {
    margin-top: 0;
}

.us-group-name[b-07yum1yt4l] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text);
}

.us-group-count[b-07yum1yt4l] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-muted);
}

.us-user-card[b-07yum1yt4l] {
    display: flex;
    flex-direction: column;
    background: var(--st-surface);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--st-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.us-user-card.expanded[b-07yum1yt4l] {
    border-bottom: 2px solid #FFC107;
}

.us-card-header[b-07yum1yt4l] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
}

.us-user-card:hover[b-07yum1yt4l] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.us-user-card.selected[b-07yum1yt4l] {
    border: 2px solid #FFC107;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.2);
}

.us-user-avatar[b-07yum1yt4l] {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.us-user-avatar img[b-07yum1yt4l] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.us-user-avatar img.loaded[b-07yum1yt4l] {
    opacity: 1;
}

.us-user-info[b-07yum1yt4l] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.us-user-name[b-07yum1yt4l] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.us-user-lastname[b-07yum1yt4l] {
    font-size: 0.78rem;
    color: var(--st-text-muted);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.25;
}

.us-user-badge[b-07yum1yt4l] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFC107;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.us-user-badge span[b-07yum1yt4l] {
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
}

.us-user-status[b-07yum1yt4l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    min-width: 44px;
}

.us-status-dot[b-07yum1yt4l] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.us-status-dot.active[b-07yum1yt4l] {
    background: #4CAF50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.us-status-dot.inactive[b-07yum1yt4l] {
    background: var(--st-surface-stronger);
}

.us-status-label[b-07yum1yt4l] {
    font-size: 0.65rem;
    font-weight: 600;
}

.us-status-label.active[b-07yum1yt4l] {
    color: var(--st-success-fg);
}

.us-status-label.inactive[b-07yum1yt4l] {
    color: var(--st-text-muted);
}

.us-toggle-btn[b-07yum1yt4l] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
    
}

.us-toggle-btn:hover[b-07yum1yt4l] {
    background: var(--st-surface-sunken);
    color: var(--st-text);
}

.us-user-card.expanded .us-toggle-btn svg[b-07yum1yt4l] {
    transform: rotate(180deg);
}

.us-card-body[b-07yum1yt4l] {
    padding: 0 14px 14px 14px;
    border-top: 1px solid var(--st-border);
    margin-top: 4px;
}

.us-job-list[b-07yum1yt4l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.us-job-item[b-07yum1yt4l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--st-surface-muted);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.us-job-item:hover[b-07yum1yt4l] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border);
}

.us-job-item.selected[b-07yum1yt4l] {
    background: var(--st-gold-bg);
    border-color: #FFC107;
    box-shadow: 0 1px 4px rgba(255, 193, 7, 0.2);
}

.us-job-name[b-07yum1yt4l] {
    font-weight: 600;
    color: var(--st-text);
}

.us-job-level[b-07yum1yt4l] {
    color: var(--st-text-muted);
    font-size: 0.75rem;
}

.us-edit-detail[b-07yum1yt4l] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 30px 20px 40px;
    min-width: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.us-edit-detail[b-07yum1yt4l]::-webkit-scrollbar {
    width: 6px;
}

.us-edit-detail[b-07yum1yt4l]::-webkit-scrollbar-track {
    background: transparent;
}

.us-edit-detail[b-07yum1yt4l]::-webkit-scrollbar-thumb {
    background-color: var(--st-surface-stronger);
    border-radius: 20px;
}
/* /Pages/Home/Components/Setting/Department/Components/Stakeholders/StakeholderTablePanel.razor.rz.scp.css */
.sh-table-panel-container[b-hdcrxgyora] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    gap: 10px;
}

.sh-table-grid-wrapper[b-hdcrxgyora] {
    position: relative;
    flex: 1;
    min-height: 400px;
    width: 100%;
}

.sh-table-grid[b-hdcrxgyora] {
    width: 100%;
    height: 100%;
    min-height: 400px;
    
    --ag-foreground-color: var(--st-text-brand);
    --ag-background-color: var(--st-surface);
    --ag-header-background-color: var(--st-surface-sunken);
    --ag-header-foreground-color: var(--st-text-secondary);
    --ag-border-color: var(--st-border);
    --ag-row-border-color: var(--st-border-subtle);
    --ag-row-hover-color: var(--st-fill-2);
    --ag-column-hover-color: var(--st-fill-3);
    --ag-selected-row-background-color: var(--st-surface-strong);
    --ag-range-selection-background-color: rgba(211, 59, 178, 0.12);
    --ag-checkbox-checked-color: #d33bb2;
    --ag-input-focus-border-color: #d33bb2;
    --ag-odd-row-background-color: var(--st-surface);
    --ag-control-panel-background-color: var(--st-surface-muted);
    --ag-secondary-foreground-color: var(--st-text-subtle);
    --ag-input-border-color: var(--st-border-strong);
    --ag-font-family: 'Inter', 'Segoe UI', sans-serif;
    --ag-font-size: 13px;
    --ag-wrapper-border-radius: 10px;
}

.sh-table-grid[b-hdcrxgyora]  .ag-header-cell-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sh-table-grid[b-hdcrxgyora]  .ag-root-wrapper {
    border-radius: 10px;
    border: 1px solid var(--st-border);
    overflow: hidden;
}

.sh-table-grid[b-hdcrxgyora]  .ag-details-row {
    padding: 10px 14px;
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.sh-table-loading-overlay[b-hdcrxgyora] {
    position: absolute;
    inset: 0;
    background-color: var(--st-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--st-text-brand);
}

.loading-spinner[b-hdcrxgyora] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--st-border);
    border-top-color: #d33bb2;
    border-radius: 50%;
    animation: spin-b-hdcrxgyora 0.8s linear infinite;
}

@keyframes spin-b-hdcrxgyora {
    to {
        transform: rotate(360deg);
    }
}

.sh-table-grid[b-hdcrxgyora]  .ag-paging-panel {
    background-color: var(--st-surface-muted);
    border-top: 1px solid var(--st-border);
    color: var(--st-text-brand);
    white-space: nowrap !important;
    min-height: 38px;
}

.sh-table-grid[b-hdcrxgyora]  .ag-paging-row-summary-panel,
.sh-table-grid[b-hdcrxgyora]  .ag-paging-page-summary-panel,
.sh-table-grid[b-hdcrxgyora]  .ag-paging-page-size {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
/* /Pages/Home/Components/Setting/Department/DepartmentEditPanel.razor.rz.scp.css */
.department-edit-container[b-ya4twore6w] {
    display: flex;
    flex-direction: column;
    background-color: var(--st-surface);
    border-radius: 16px;
    padding: 20px;
    height: auto;
    width: auto;
    max-width: 860px;
    overflow-y: auto;
    animation: fadeIn-b-ya4twore6w 0.3s ease-out;
}

@keyframes fadeIn-b-ya4twore6w {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-edit-header[b-ya4twore6w] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.department-edit-header-text[b-ya4twore6w] {
    min-width: 0;
}

.edit-title[b-ya4twore6w] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text-brand);
}

.edit-subtitle[b-ya4twore6w] {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.department-edit-body[b-ya4twore6w] {
    flex-grow: 1;
    position: relative;
}

/* Hide the form while saving so it does not show through or scroll */
.department-edit-body.is-submitting[b-ya4twore6w]  .edit-department-form {
    display: none;
}

.department-edit-body.is-submitting[b-ya4twore6w] {
    min-height: 300px;
}

.department-loading-overlay[b-ya4twore6w] {
    position: absolute;
    inset: 0;
    z-index: 100; /* above PickerDropdown (50) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--st-surface);
    border-radius: 12px;
}

.department-loading-overlay .loading-text[b-ya4twore6w] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.department-loading-overlay .st-spinner-blue[b-ya4twore6w] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--st-border);
    border-radius: 50%;
    border-top-color: #FE00E4;
    animation: department-spin-b-ya4twore6w 0.8s linear infinite;
}

@keyframes department-spin-b-ya4twore6w {
    to {
        transform: rotate(360deg);
    }
}

.edit-department-form[b-ya4twore6w] {
    display: flex;
    flex-direction: column;
    max-width: 800px;
}

/* Avatar Group */
.avatar-group[b-ya4twore6w] {
    margin-bottom: 24px;
}

.avatar-wrapper[b-ya4twore6w] {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: var(--st-surface-strong);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.department-avatar[b-ya4twore6w],
.avatar-placeholder[b-ya4twore6w] {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.upload-btn[b-ya4twore6w] {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FE00E4;
    color: white;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(254, 0, 228, 0.3);
    transition: transform 0.2s;
}

.upload-btn:hover[b-ya4twore6w] {
    transform: scale(1.1);
}

/* Form Groups */
.form-group[b-ya4twore6w] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.inline-group[b-ya4twore6w] {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.form-label[b-ya4twore6w],
.toggle-label[b-ya4twore6w] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.input-with-icon[b-ya4twore6w] {
    position: relative;
    width: 100%;
}

.st-input[b-ya4twore6w] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--st-text-brand);
    font-weight: 500;
    background-color: var(--st-surface-muted);
    transition: all 0.2s ease;
}

.st-input[b-ya4twore6w]::placeholder {
    color: #8F9BB3;
    font-weight: 400;
}

.st-input:focus[b-ya4twore6w] {
    outline: none;
    border-color: #FE00E4;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.st-textarea[b-ya4twore6w] {
    resize: vertical;
    min-height: 80px;
}

/* Switch Toggle */
.switch[b-ya4twore6w] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input[b-ya4twore6w] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-ya4twore6w] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .4s;
    border-radius: 24px;
}

.slider[b-ya4twore6w]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--st-surface);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider[b-ya4twore6w] {
    background-color: #FE00E4;
}

input:focus+.slider[b-ya4twore6w] {
    box-shadow: 0 0 1px #FE00E4;
}

input:checked+.slider[b-ya4twore6w]:before {
    transform: translateX(20px);
}

/* Form Actions */
.form-actions[b-ya4twore6w] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
    margin-bottom: 20px;
}

.btn-cancel[b-ya4twore6w] {
    padding: 10px 24px;
    background-color: var(--st-surface-strong);
    color: var(--st-text-brand);
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cancel:hover[b-ya4twore6w] {
    background-color: var(--st-surface-strong);
}

.btn-save[b-ya4twore6w] {
    padding: 10px 32px;
    background-color: #FE00E4;
    color: white;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.3);
    transition: all 0.2s;
}

.btn-save:hover[b-ya4twore6w] {
    background-color: #D500C0;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(254, 0, 228, 0.4);
}

.flex-spacer[b-ya4twore6w] {
    flex-grow: 1;
}

.btn-delete[b-ya4twore6w] {
    padding: 10px 24px;
    background-color: transparent;
    color: #FF4D4F;
    border: 1px solid #FF4D4F;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete:hover[b-ya4twore6w] {
    background-color: var(--st-danger-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 77, 79, 0.15);
}
/* Aviso cuando la tienda ya usó todos los tipos de departamento disponibles. */
.dept-types-exhausted[b-ya4twore6w] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--st-warning-border);
    border-radius: 8px;
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.dept-types-exhausted svg[b-ya4twore6w] {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Eliminar va bajo Descripción, separado de Cancelar/Guardar para que una acción
   destructiva no quede pegada a las de confirmación. */
.delete-department-row[b-ya4twore6w] {
    display: flex;
    margin-top: 8px;
}
/* /Pages/Home/Components/Setting/Store/StoreCard.razor.rz.scp.css */
/* ========================================
   StoreCard - Estilo card1
   ======================================== */

.store-card[b-0j3eb0jhw9] {
    background: var(--st-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.store-card:hover[b-0j3eb0jhw9] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.store-card.active[b-0j3eb0jhw9] {
    box-shadow:
        0 0 0 2px rgba(212, 175, 55, 0.7),
        0 4px 20px rgba(212, 175, 55, 0.45),
        0 8px 32px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   Header - Background Image or Solid
   ======================================== */
.store-card-header[b-0j3eb0jhw9] {
    background: #4A5A6A;
    padding: 16px;
    padding-bottom: 28px;
    position: relative;
    min-height: 110px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    /* Sin overflow:hidden: el tab SVG de departamento sobresale del borde
       inferior del header hacia el cuerpo blanco (recortado igual por
       .store-card, que ya delimita las esquinas redondeadas de la tarjeta). */
    overflow: visible;
}

/* Dark overlay gradient for text readability over images */
.header-overlay[b-0j3eb0jhw9] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.25) 60%,
            rgba(0, 0, 0, 0.10) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   Header Content (Left side)
   ======================================== */
.store-header-content[b-0j3eb0jhw9] {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* El nombre y la ubicación van sobre la foto de la sede: blancos en ambos temas. */
.store-name[b-0j3eb0jhw9] {
    color: #ffffff;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ========================================
   Ubication Button
   ======================================== */
.ubication-btn[b-0j3eb0jhw9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 12px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    z-index: 2;
}

.ubication-btn svg[b-0j3eb0jhw9] {
    color: #ffffff;
    flex-shrink: 0;
}

.ubication-btn:hover[b-0j3eb0jhw9] {
    background: var(--st-surface);
    border-color: rgba(247, 0, 255, 0.749);
    transform: scale(1.03);
    color: #FF00FF;
}

.ubication-btn:hover svg[b-0j3eb0jhw9] {
    color: #FF00FF;
}

/* ========================================
   Default Store Icon (Right side)
   ======================================== */
.store-default-icon[b-0j3eb0jhw9] {
    z-index: 2;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--st-fill-4);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-strong);
}

/* ========================================
   Department Tabs (Overlapping Header/Body)
   Usa el componente reutilizable FolderTabStrip (Components/Common), escalado
   a 130x24. ::deep ajusta el label del componente para el tamaño compacto.
   ======================================== */
.store-tabs-container[b-0j3eb0jhw9] {
    position: absolute;
    bottom: -1px;
    left: 0px;
    z-index: 10;
    max-width: calc(100% - 32px);
}

.store-tabs-container[b-0j3eb0jhw9]  .folder-tab-label {
    padding: 0px 0px 2px 14px;
    font-size: 0.75rem;
}

/* ========================================
   Body Section
   ======================================== */
.store-card-body[b-0j3eb0jhw9] {
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--st-surface);
    position: relative;
    padding-top: 28px;
}

.store-details[b-0j3eb0jhw9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row[b-0j3eb0jhw9] {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}

.detail-label[b-0j3eb0jhw9] {
    font-weight: 700;
    color: var(--st-text-brand);
    min-width: 55px;
}

.detail-value[b-0j3eb0jhw9] {
    color: var(--st-text-subtle);
    word-break: break-all;
}

/* ========================================
   Actions
   ======================================== */
.store-actions[b-0j3eb0jhw9] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

/* The main action of the card: opens the workshop settings. */
.view-more-btn[b-0j3eb0jhw9] {
    flex: 1;
    min-width: 0;
    background: #FF00FF;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-more-btn svg[b-0j3eb0jhw9] {
    flex-shrink: 0;
}

.view-more-btn:hover[b-0j3eb0jhw9] {
    background: #D500C0;
    box-shadow: 0 6px 6px rgba(255, 0, 255, 0.35);
}

.view-more-btn:focus-visible[b-0j3eb0jhw9],
.store-edit-btn:focus-visible[b-0j3eb0jhw9] {
    outline: 2px solid #FF00FF;
    outline-offset: 2px;
}

/* Discreet pencil at the right of the main button, as tall as it. */
.store-edit-btn[b-0j3eb0jhw9] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 50%;
    color: var(--st-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-edit-btn:hover[b-0j3eb0jhw9] {
    border-color: #FF00FF;
    color: #FF00FF;
}

/* ========================================
   ERP Select / Picker Styles
   ======================================== */
.erp-row[b-0j3eb0jhw9] {
    margin-top: 4px;
    align-items: center;
}

.erp-save-error[b-0j3eb0jhw9] {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--st-danger-fg);
}

.erp-select-container[b-0j3eb0jhw9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
    position: relative;
}

.erp-select-container[b-0j3eb0jhw9]  .st-picker-trigger {
    width: 100%;
    min-height: 34px;
    height: 34px;
    border-radius: 8px;
    padding: 0 46px 0 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.erp-select-container[b-0j3eb0jhw9]  .st-picker-trigger:hover {
    border-color: #FF00FF;
}

.erp-select-container[b-0j3eb0jhw9]  .st-picker-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.erp-select-container[b-0j3eb0jhw9]  .st-picker-icon-container {
    width: 22px;
    height: 22px;
}

.erp-select-container[b-0j3eb0jhw9]  .st-picker-initials {
    font-size: 10px;
}
/* /Pages/Home/Components/Setting/Store/StoreDetailPanel.razor.rz.scp.css */
.store-detail-panel[b-csz30x23qw] {
    height: 100%;
    min-height: 0;
    overflow: clip;
}

/* En modo colapsado no hay contenido ancho que recortar, y el clip de arriba
   cortaría los tooltips de las opciones (que se dibujan fuera del riel
   angosto de 76px). Se libera el recorte solo en ese modo. */
.store-detail-panel.collapsed[b-csz30x23qw] {
    overflow: visible;
}

/* store-full-content reemplaza al layout que antes vivía directo en
   .store-detail-panel; se separa para poder ocultarlo/mostrarlo según el
   modo colapsado sin duplicar el resto de las reglas de este archivo. */
.store-full-content[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    min-height: 0;
}

/* ==========================================================================
   Riel colapsado — reemplaza al contenido completo cuando hay una opción
   seleccionada, para cederle espacio al panel ancho de esa opción. Solo se
   expande con un clic explícito en el ícono junto al acrónimo del
   departamento (clase .rail-expanded, ver ToggleRailExpanded en el
   code-behind); nunca con hover. .company-column en DynamicPanel.razor.css
   reacciona a esta misma clase con :has() para ceder ancho a la columna.
   ========================================================================== */
.store-detail-panel.collapsed .store-full-content[b-csz30x23qw] {
    display: none;
}

.store-detail-panel.collapsed.rail-expanded .store-full-content[b-csz30x23qw] {
    display: flex;
}

/* Se oculta el contenedor completo (foto + sidebar), no solo el sidebar
   interior: si solo se ocultara .store-collapsed-rail, .store-collapsed-container
   seguiría ocupando height:100% y empujaría .store-full-content fuera de vista. */
.store-detail-panel.collapsed.rail-expanded .store-collapsed-container[b-csz30x23qw] {
    display: none;
}

/* Contenedor exterior: foto de tienda (fuera del sidebar blanco, sobre el
   fondo oscuro del panel) + sidebar blanco con título/opciones. Sin scroll
   propio: una lista fija de 5 opciones siempre entra en el alto disponible,
   y evitar overflow:auto/hidden aquí es lo que permite que los tooltips de
   las opciones se vean fuera del riel angosto (ver .collapsed-option-icon::after). */
.store-collapsed-container[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    height: 100%;
}

.store-collapsed-rail[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex: 1;
    min-height: 0;
    padding-bottom: 12px;
    background: var(--st-surface);
    border-radius: 16px 16px 22px 22px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.40);
}

.collapsed-store-photo[b-csz30x23qw] {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: var(--st-surface-strong);
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF00FF;
    overflow: hidden;
    flex-shrink: 0;
}

.collapsed-store-photo-img[b-csz30x23qw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Título de la sección: el acrónimo del departamento actúa como encabezado
   del sidebar colapsado, con un ícono junto a él que indica que se puede
   expandir el panel. Solo expande con clic (ToggleRailExpanded), no con hover. */
.collapsed-dept-header[b-csz30x23qw] {
    flex-shrink: 0;
    width: 100%;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid var(--st-border);
}

.collapsed-dept-title[b-csz30x23qw] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collapsed-dept-expand-btn[b-csz30x23qw] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--st-surface-strong);
    color: #556575;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collapsed-dept-expand-btn:hover[b-csz30x23qw] {
    background: #dea301;
    color: #1a2a42;
}

.collapsed-options-list[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.collapsed-option-icon[b-csz30x23qw] {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--st-surface-sunken);
    color: #556575;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.collapsed-option-icon:hover[b-csz30x23qw] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    transform: scale(1.05);
}

.collapsed-option-icon.active[b-csz30x23qw] {
    background: #dea301;
    color: #ffffff;
}

.collapsed-option-icon.active svg[b-csz30x23qw] {
    color: #ffffff;
    fill: #ffffff;
}

.collapsed-option-icon svg[b-csz30x23qw] {
    width: 22px;
    height: 22px;
}

/* Tooltip: al pasar el cursor sobre una opción del riel, se muestra su
   nombre a la derecha del ícono (el riel vive pegado al borde izquierdo). */
.collapsed-option-icon[b-csz30x23qw]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: 7px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 20;
}

.collapsed-option-icon:hover[b-csz30x23qw]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Store Summary Header (mirrors CompanyDetailPanel's company summary)
   ========================================================================== */
.store-summary-header[b-csz30x23qw] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-summary-logo[b-csz30x23qw] {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: var(--st-surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF00FF;
    overflow: hidden;
    flex-shrink: 0;
}

.store-summary-logo-img[b-csz30x23qw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-summary-info[b-csz30x23qw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.store-summary-name[b-csz30x23qw] {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.store-summary-meta[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-summary-line[b-csz30x23qw] {
    font-size: 0.8rem;
    color: var(--st-text-secondary);
}

/* ==========================================================================
   Department Folder Tabs — usa el componente reutilizable FolderTabStrip
   (Components/Common). Su CSS de tabs/curvas vive en FolderTabStrip.razor.css.
   ========================================================================== */
.dept-tabs-bar[b-csz30x23qw] {
    flex-shrink: 0;
    /* Cancela el gap:16px del contenedor padre, más el margen de recorte
       propio de cada tab (clip-path), para que no quede espacio visible
       entre las pestañas y la tarjeta blanca. */
    margin-bottom: -17px;
    padding-right: 10px;
}

/* ==========================================================================
   Store Config Card (options / sub-panels)
   ========================================================================== */
.store-config-card[b-csz30x23qw] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--st-surface);
    border-radius: 0 12px 12px 12px;
    overflow: hidden;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.40);
}

.store-config-body[b-csz30x23qw] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.options-header-row[b-csz30x23qw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.options-header-title[b-csz30x23qw] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text-muted);
}

.dept-edit-btn[b-csz30x23qw] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dept-edit-btn:hover[b-csz30x23qw] {
    background: #FE00E4;
    color: white;
}

/* ==========================================================================
   Options List (vertical rows, no icons — matches the flat card design)
   ========================================================================== */
.store-options-loading[b-csz30x23qw] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 280px;
    padding: 30px 16px;
}

.options-list[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: st-panel-loading-fade-in 0.25s ease;
}

.option-row[b-csz30x23qw] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface-strong);
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-row:hover[b-csz30x23qw] {
    background: var(--st-surface-strong);
    transform: translateX(2px);
}

/* 6-PE-5: a section without its read permission is shown blocked, not hidden. */
.option-row.locked[b-csz30x23qw],
.collapsed-option-icon.locked[b-csz30x23qw] {
    opacity: 0.45;
    cursor: not-allowed;
}

.option-row.locked:hover[b-csz30x23qw],
.collapsed-option-icon.locked:hover[b-csz30x23qw] {
    transform: none;
}

.option-row.selected[b-csz30x23qw] {
    box-shadow: 0 0 0 2px #dea301;
    background: var(--st-surface-strong);
}

.option-row-icon[b-csz30x23qw] {
    color: #556575;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-row-icon svg[b-csz30x23qw] {
    width: 20px;
    height: 20px;
}

.option-row-label[b-csz30x23qw] {
    flex: 1;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--st-text-body);
}

.option-row-count[b-csz30x23qw] {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--st-text-muted);
    min-width: 24px;
    text-align: right;
}

/* ==========================================================================
   No Departments Empty State
   ========================================================================== */
.no-departments-full-container[b-csz30x23qw] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface);
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inbox-empty-container[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 12px 20px;
    height: 100%;
    width: 100%;
}

.inbox-empty-container h3[b-csz30x23qw] {
    font-size: 1rem;
    color: var(--st-text-brand);
    margin-bottom: 12px;
    font-weight: 600;
}

.inbox-empty-container p[b-csz30x23qw] {
    color: var(--st-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 320px;
    line-height: 1.5;
}

.empty-state-img[b-csz30x23qw] {
    width: 155px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0px;
    opacity: 0.95;
}

.empty-state-text[b-csz30x23qw] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-text-secondary);
    text-transform: lowercase;
    margin-bottom: 8px;
}

.empty-state-buttons[b-csz30x23qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-empty-create[b-csz30x23qw] {
    background: linear-gradient(135deg, #e500cd, #c800b0);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 32px;
    font-weight: 700;
    width: 160px;
    height: 44px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.3);
}

.btn-empty-create:hover[b-csz30x23qw] {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(229, 0, 205, 0.5);
}

.btn-empty-create:active[b-csz30x23qw] {
    transform: translateY(0);
}




.btn-create-first-dept[b-csz30x23qw] {
    background: #FF00FF;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-create-first-dept:hover[b-csz30x23qw] {
    background: #D500C0;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.5);
}

.btn-create-first-dept:active[b-csz30x23qw] {
    transform: translateY(-1px);
}
/* /Pages/Home/Components/Setting/Store/StoreEditModal.razor.rz.scp.css */
.companyedit-overlay[b-hwoj7n6hgb] {
    position: fixed;
    top: 0;
    left: var(--st-sidebar-collapsed-w);
    width: calc(100vw - var(--st-sidebar-collapsed-w));
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.companyedit-overlay.sidebar-collapsed[b-hwoj7n6hgb] {
    left: 0px;
    width: 100%;
}

.companyedit-modal[b-hwoj7n6hgb] {
    background-color: var(--st-surface);
    border-radius: 20px;
    width: 900px;
    max-width: 90vw;
    height: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInScale-b-hwoj7n6hgb 0.3s ease-out;
    overflow: hidden;
}

@keyframes fadeInScale-b-hwoj7n6hgb {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
.companyedit-header[b-hwoj7n6hgb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 32px 16px;
    border-bottom: 1px solid var(--st-border);
}

.header-title[b-hwoj7n6hgb] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text-brand);
    font-family: 'Inter', sans-serif;
}

.header-subtitle[b-hwoj7n6hgb] {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--st-text-muted);
    font-weight: 500;
}

.header-actions[b-hwoj7n6hgb] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-close-modal[b-hwoj7n6hgb] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    transition: all 0.2s;
}

.btn-close-modal:hover[b-hwoj7n6hgb] {
    background: var(--st-surface-sunken);
    color: var(--st-text-brand);
}

/* Body */
.companyedit-body[b-hwoj7n6hgb] {
    flex: 1;
    display: flex;
    padding: 0;
    overflow: hidden;
}

/* Main Column */
.main-column[b-hwoj7n6hgb] {
    flex: 1;
    padding: 24px 32px;
    border-right: 1px solid var(--st-border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Toggle Switch */
.form-toggle-group[b-hwoj7n6hgb] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.toggle-switch[b-hwoj7n6hgb] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input[b-hwoj7n6hgb] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-hwoj7n6hgb] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-strong);
    transition: .3s;
}

.slider[b-hwoj7n6hgb]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--st-surface);
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slider.round[b-hwoj7n6hgb] {
    border-radius: 24px;
}

.slider.round[b-hwoj7n6hgb]:before {
    border-radius: 50%;
}

input:checked+.slider[b-hwoj7n6hgb] {
    background-color: #00D06A;
}

input:checked+.slider[b-hwoj7n6hgb]:before {
    transform: translateX(20px);
}

.toggle-label[b-hwoj7n6hgb] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00D06A;
}

input:not(:checked)+.slider+.toggle-label[b-hwoj7n6hgb] {
    color: var(--st-text-muted);
}

/* Forms */
.form-grid[b-hwoj7n6hgb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.form-group[b-hwoj7n6hgb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width[b-hwoj7n6hgb] {
    grid-column: 1 / -1;
}

.form-label[b-hwoj7n6hgb] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--st-text-brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control[b-hwoj7n6hgb],
.form-select[b-hwoj7n6hgb] {
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--st-text-brand);
    font-family: inherit;
    transition: all 0.2s;
    background-color: var(--st-surface);
}

.form-control:focus[b-hwoj7n6hgb],
.form-select:focus[b-hwoj7n6hgb] {
    outline: none;
    border-color: #FECB00;
    box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.15);
    background-color: var(--st-surface);
}

.form-control[b-hwoj7n6hgb]::placeholder {
    color: #A3B5C6;
}

select.form-select[b-hwoj7n6hgb],
select.form-control[b-hwoj7n6hgb] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238898AA' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 32px;
}

/* Delete Profile */
.delete-profile-section[b-hwoj7n6hgb] {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-profile-label[b-hwoj7n6hgb] {
    font-size: 0.875rem;
    color: var(--st-text-brand);
    font-weight: 500;
}

.btn-delete-profile[b-hwoj7n6hgb] {
    background: transparent;
    border: 1px solid #FF3B30;
    color: #FF3B30;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-profile:hover[b-hwoj7n6hgb] {
    background: var(--st-danger-bg);
}

/* Photo Column */
.photo-column[b-hwoj7n6hgb] {
    width: 250px;
    background-color: var(--st-surface-muted);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-preview[b-hwoj7n6hgb] {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: contain;
    background-color: var(--st-surface-strong);
    /* Matching unified background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview.placeholder[b-hwoj7n6hgb] {
    padding: 0;
}

.photo-label[b-hwoj7n6hgb] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.photo-actions[b-hwoj7n6hgb] {
    display: flex;
    gap: 8px;
    width: 100%;
}

.btn-upload-foto[b-hwoj7n6hgb] {
    flex: 1;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-upload-foto:hover[b-hwoj7n6hgb] {
    border-color: #FECB00;
    color: #FECB00;
}

.btn-camera-icon[b-hwoj7n6hgb] {
    width: 36px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-camera-icon:hover[b-hwoj7n6hgb] {
    color: var(--st-text-brand);
    border-color: #A3B5C6;
}

/* Footer */
.companyedit-footer[b-hwoj7n6hgb] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px;
    border-top: 1px solid var(--st-border);
    background-color: var(--st-surface-muted);
}

.btn-secondary[b-hwoj7n6hgb] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover:not(:disabled)[b-hwoj7n6hgb] {
    background: var(--st-surface-sunken);
}

.btn-primary[b-hwoj7n6hgb] {
    background: #FF00FF;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled)[b-hwoj7n6hgb] {
    background: #D500C0;
    transform: translateY(-1px);
}

.btn-primary:disabled[b-hwoj7n6hgb],
.btn-secondary:disabled[b-hwoj7n6hgb] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner[b-hwoj7n6hgb] {
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-radius: 50%;
    border-top-color: white;
    animation: spin-b-hwoj7n6hgb 1s ease-in-out infinite;
}

@keyframes spin-b-hwoj7n6hgb {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar styles for main column */
.main-column[b-hwoj7n6hgb]::-webkit-scrollbar {
    width: 6px;
}

.main-column[b-hwoj7n6hgb]::-webkit-scrollbar-track {
    background: transparent;
}

.main-column[b-hwoj7n6hgb]::-webkit-scrollbar-thumb {
    background: var(--st-surface-strong);
    border-radius: 3px;
}

.main-column[b-hwoj7n6hgb]::-webkit-scrollbar-thumb:hover {
    background: #A3B5C6;
}
/* ==========================================
   Selector de ubicación en mapa
   ========================================== */
.location-btn-row[b-hwoj7n6hgb] {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-pick-location[b-hwoj7n6hgb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 20px;
    border: none;
    border-radius: 18px;
    background: #FF00FF;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
}

.btn-pick-location:hover[b-hwoj7n6hgb] {
    background: #D500C0;
    transform: translateY(-1px);
}

.btn-gps-location[b-hwoj7n6hgb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 18px;
    border: 1px solid #1A2A42;
    border-radius: 18px;
    background: #1A2A42;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(26, 42, 66, 0.15);
}

.btn-gps-location:hover:not(:disabled)[b-hwoj7n6hgb] {
    background: #253d5e;
    border-color: #253d5e;
    transform: translateY(-1px);
}

.btn-gps-location:disabled[b-hwoj7n6hgb] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Por encima del modal de tienda (z-index 2000) pero debajo de
   ConfirmModal/AlertModal (999999), que deben poder taparlo. */
.locpicker-overlay[b-hwoj7n6hgb] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.locpicker-modal[b-hwoj7n6hgb] {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    height: 100%;
    max-height: 640px;
    background: var(--st-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 42, 66, 0.35);
}

.locpicker-header[b-hwoj7n6hgb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--st-border);
}

.locpicker-title[b-hwoj7n6hgb] {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1A2A42;
}

.locpicker-subtitle[b-hwoj7n6hgb] {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: var(--st-text-muted);
}

.locpicker-header-actions[b-hwoj7n6hgb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-locate-me[b-hwoj7n6hgb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #FF00FF;
    border-radius: 14px;
    background: rgba(255, 0, 255, 0.08);
    color: #D500C0;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-locate-me:hover:not(:disabled)[b-hwoj7n6hgb] {
    background: #FF00FF;
    color: #FFFFFF;
}

.btn-locate-me:disabled[b-hwoj7n6hgb] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* El mapa toma el alto sobrante; min-height:0 evita que el flex item lo desborde. */
.locpicker-map[b-hwoj7n6hgb] {
    flex: 1;
    min-height: 0;
    background: var(--st-surface-sunken);
}

.locpicker-footer[b-hwoj7n6hgb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface);
}

.locpicker-coords[b-hwoj7n6hgb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.locpicker-coords-label[b-hwoj7n6hgb] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.locpicker-coords-value[b-hwoj7n6hgb] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.locpicker-coords-empty[b-hwoj7n6hgb] {
    font-size: 0.8125rem;
    color: #A3B5C6;
}

.locpicker-actions[b-hwoj7n6hgb] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
/* /Pages/Home/Components/Shift/ShiftUnavailableBanner.razor.rz.scp.css */
.shift-unavailable-wrapper[b-1wozqjf92l] {
    position: relative;
    pointer-events: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 0;
    margin-top: 0;
    animation: shiftSlideDown-b-1wozqjf92l 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shiftSlideDown-b-1wozqjf92l {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floats over the map under the tenant card, which keeps its slate glass in both themes: the
   capsule keeps its own literal palette too. */
.shift-unavailable-capsule[b-1wozqjf92l] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    padding: 4px 8px 4px 12px;
    height: 46px;
    box-sizing: border-box;
}

.help-btn[b-1wozqjf92l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.help-btn:hover[b-1wozqjf92l] {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: scale(1.05);
}

.help-icon[b-1wozqjf92l] {
    width: 18px;
    height: 18px;
}

.shift-text-container[b-1wozqjf92l] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    user-select: none;
}

.shift-text-line1[b-1wozqjf92l] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: lowercase;
    letter-spacing: 0.3px;
}

.shift-text-line2[b-1wozqjf92l] {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: lowercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.start-shift-btn[b-1wozqjf92l] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e500cd;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.4px;
    border: none;
    border-radius: 24px;
    height: 40px;
    padding: 0 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 0, 205, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.start-shift-btn:hover:not(:disabled)[b-1wozqjf92l] {
    background: #f01bd7;
    box-shadow: 0 6px 16px rgba(229, 0, 205, 0.55);
    transform: translateY(-1px);
}

.start-shift-btn:active:not(:disabled)[b-1wozqjf92l] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(229, 0, 205, 0.4);
}

.start-shift-btn:disabled[b-1wozqjf92l] {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .shift-unavailable-wrapper[b-1wozqjf92l] {
        bottom: 16px;
        width: 92%;
    }

    .shift-unavailable-capsule[b-1wozqjf92l] {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
}
/* /Pages/Home/Components/TenantSelector.razor.rz.scp.css */
/* TenantSelector Styles */

/* Base Tenant Card */
.tenant-card[b-k5uqchi5w6] {
    pointer-events: auto;
    background: rgba(104, 119, 141, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
    box-sizing: border-box;
    /* 190px y no 240px: el contenido colapsado (logo + sede/departamento) cabe de sobra y los 50px
       que sobraban los ocupa el botón de pantalla completa de la cabecera. Es solo el piso: un
       nombre largo sigue ensanchando la tarjeta porque el ancho es fit-content. */
    min-width: 190px;
    width: fit-content;
    box-shadow: 0 8px 20px rgba(15, 28, 45, 0.3);
}

.tenant-card:not(.expanded)[b-k5uqchi5w6] {
    height: 44px;
}

.tenant-card.expanded[b-k5uqchi5w6] {
    width: 270px;
    min-width: 270px;
    cursor: default;
    max-height: calc(100vh - 60px); /* Evitar que el panel total se salga de la pantalla */
    max-height: calc(100dvh - 60px);
    display: flex;
    flex-direction: column;
}

/* Header (Always Visible) */
.tenant-header[b-k5uqchi5w6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    box-sizing: border-box;
    padding: 3px 4px 3px 16px;
    gap: 12px;
}

.tenant-card:not(.expanded) .tenant-header[b-k5uqchi5w6] {
    height: 100%;
    min-height: 0;
    padding: 1px 3px 1px 12px;
}

.tenant-card:not(.expanded) .tenant-header-info[b-k5uqchi5w6] {
    gap: 1px;
}

.tenant-card:not(.expanded) .tenant-name[b-k5uqchi5w6] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.tenant-card:not(.expanded) .tenant-subtitle[b-k5uqchi5w6] {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1;
}

.tenant-card.operator:not(.expanded) .tenant-operator-badge[b-k5uqchi5w6] {
    display: none;
}

.tenant-card.operator:not(.expanded) .tenant-operator-tag[b-k5uqchi5w6] {
    margin-bottom: 0;
}

.tenant-card.operator:not(.expanded) .tenant-operator-role[b-k5uqchi5w6] {
    font-size: 0.7rem;
    line-height: 1.1;
}

.tenant-card.expanded .tenant-header[b-k5uqchi5w6] {
    padding: 9px 20px;
    border-bottom: none;
}

.tenant-header-info[b-k5uqchi5w6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    text-align: right;
    order: 0;
    min-width: 0;
}

/* Etiqueta de modo operador sobre el nombre del taller: sustituye al banner flotante. */
.tenant-operator-tag[b-k5uqchi5w6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    line-height: 1.2;
    margin-bottom: 2px;
    min-width: 0;
}

.tenant-operator-role[b-k5uqchi5w6] {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Distintivo de plataforma: pastilla blanca con el ámbar de EsferaTech, para que se lea igual sobre
   la tarjeta gris de producción y sobre el amarillo de staging. */
.tenant-operator-badge[b-k5uqchi5w6] {
    flex-shrink: 0;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--st-surface);
    color: #e5a600;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tenant-card.expanded .tenant-operator-role[b-k5uqchi5w6] {
    font-size: 0.85rem;
}

.tenant-card.expanded .tenant-operator-badge[b-k5uqchi5w6] {
    font-size: 0.72rem;
}

.tenant-name[b-k5uqchi5w6] {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tenant-card.expanded .tenant-name[b-k5uqchi5w6] {
    font-size: 1.3rem;
}

.tenant-subtitle[b-k5uqchi5w6] {
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.tenant-card.expanded .tenant-subtitle[b-k5uqchi5w6] {
    font-size: 0.9rem;
}

.tenant-icon[b-k5uqchi5w6] {
    width: 48px;
    height: 48px;
    background: var(--st-surface-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(100, 100, 120, 0.7);
    flex-shrink: 0;
    order: 1;
}

.tenant-card:not(.expanded) .tenant-icon[b-k5uqchi5w6] {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    overflow: hidden;
}

.tenant-image[b-k5uqchi5w6] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.tenant-card:not(.expanded) .tenant-image[b-k5uqchi5w6] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.tenant-card.expanded .tenant-icon[b-k5uqchi5w6] {
    width: 55px;
    height: 55px;
}

/* Expanded Content */
.tenant-expanded-content[b-k5uqchi5w6] {
    animation: fadeIn-b-k5uqchi5w6 0.2s ease-out;
    background: transparent;
    padding: 9px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.tenant-expanded-content[b-k5uqchi5w6]::-webkit-scrollbar {
    width: 6px;
}

.tenant-expanded-content[b-k5uqchi5w6]::-webkit-scrollbar-thumb {
    background: var(--st-fill-7);
    border-radius: 10px;
}

@keyframes fadeIn-b-k5uqchi5w6 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tenant-card:not(.expanded)[b-k5uqchi5w6] {
        min-width: 45px;
        width: 45px;
    }

    .tenant-card:not(.expanded) .tenant-header[b-k5uqchi5w6] {
        min-height: 0;
        padding: 1px;
    }

    .tenant-card:not(.expanded) .tenant-header-info[b-k5uqchi5w6] {
        display: none;
    }

    .tenant-card:not(.expanded) .tenant-icon[b-k5uqchi5w6] {
        width: 40px;
        height: 40px;
    }

    .tenant-card:not(.expanded) .tenant-image[b-k5uqchi5w6] {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tenant-card[b-k5uqchi5w6],
    .tenant-expanded-content[b-k5uqchi5w6] {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Company Accordion */
.company-accordion[b-k5uqchi5w6] {
    background: var(--st-surface);
    border-radius: 15px;
    margin-bottom: 8px;
    overflow: hidden;
}

.company-accordion:last-of-type[b-k5uqchi5w6] {
    margin-bottom: 0;
}

.company-accordion-header[b-k5uqchi5w6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    padding-bottom:2px;
    background: var(--st-surface);
    color: var(--st-text-brand);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 15px;
}

.company-accordion-header:hover[b-k5uqchi5w6] {
    background: var(--st-surface-muted);
}

.company-accordion-header.expanded[b-k5uqchi5w6] {
    border-radius: 15px 15px 0 0;
}

.company-accordion-header .company-name[b-k5uqchi5w6] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow[b-k5uqchi5w6] {
    transition: transform 0.2s;
    color: var(--st-text-brand);
}

.dropdown-arrow.open[b-k5uqchi5w6] {
    transform: rotate(180deg);
}

/* Tenant List */
.tenant-list[b-k5uqchi5w6] {
    max-height: none; /* Quitamos el límite individual ya que el contenedor principal tiene el scroll */
    overflow-y: visible;
    padding: 7px;
    background: var(--st-surface);
    border-radius: 0 0 15px 15px;
    padding-top: 0px;
}

.tenant-item[b-k5uqchi5w6] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    color: var(--st-text-brand);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    margin-bottom: 9px;
    transition: all 0.15s;
    border: 1px solid var(--st-border);
    background: var(--st-surface-strong);
}

.tenant-item:last-child[b-k5uqchi5w6] {
    margin-bottom: 0;
}

.tenant-item:hover[b-k5uqchi5w6] {
    background: var(--st-surface-strong);
    border-color: var(--st-border);
}

.tenant-item.selected[b-k5uqchi5w6] {
    background: #e5b900;
    color: white;
    font-weight: 600;
    border-color: #e5b900;
}

.tenant-item.unassigned[b-k5uqchi5w6],
.tenant-item.tenant-item-disabled[b-k5uqchi5w6] {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--st-surface-sunken);
    border-style: dashed;
}

.tenant-item.unassigned:hover[b-k5uqchi5w6],
.tenant-item.tenant-item-disabled:hover[b-k5uqchi5w6] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border-strong);
}

.tenant-item.unassigned-permitted[b-k5uqchi5w6] {
    opacity: 0.95;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.25);
}

.tenant-item.unassigned-permitted:hover[b-k5uqchi5w6] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-muted);
}

.tenant-item-header-row[b-k5uqchi5w6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.tenant-unassigned-tag[b-k5uqchi5w6] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    background: var(--st-surface-strong);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Tenant Icon (Custom SVG) */
.tenant-item-icon[b-k5uqchi5w6] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-right: 0px;
    opacity: 0.6;
    filter: invert(0);
    transition: all 0.2s;
}

.tenant-item.selected .tenant-item-icon[b-k5uqchi5w6] {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Tenant Info Text */
.tenant-item-info[b-k5uqchi5w6] {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

.tenant-item-name[b-k5uqchi5w6] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--st-text-brand);
    margin-bottom: -5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tenant-item.selected .tenant-item-name[b-k5uqchi5w6] {
    color: white;
}

.tenant-item-dept[b-k5uqchi5w6] {
    font-size: 0.8rem;
    font-weight: 400;
    color: #3d5676eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tenant-item.selected .tenant-item-dept[b-k5uqchi5w6] {
    color: #f8f9fa;
}

/* Environment Color Indicators */

/* Development - Red */
.tenant-card.env-development[b-k5uqchi5w6] {
    background: #dc2626 !important;
    border: 1.5px solid #ef4444 !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35) !important;
}

.tenant-card.env-development.expanded[b-k5uqchi5w6] {
    background: rgba(220, 53, 69, 0.9) !important;
}

.tenant-card.env-development .tenant-header[b-k5uqchi5w6] {
    border-left: none;
}

/* Staging/Test - Yellow */
.tenant-card.env-staging[b-k5uqchi5w6] {
    background: rgba(255, 193, 7, 0.85) !important;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5) !important;
}

.tenant-card.env-staging.expanded[b-k5uqchi5w6] {
    background: rgba(255, 193, 7, 0.9) !important;
}

.tenant-card.env-staging .tenant-icon[b-k5uqchi5w6] {
    color: var(--st-text-brand) !important;
}

.tenant-card.env-staging .tenant-header[b-k5uqchi5w6] {
    border-left: none;
}

/* ---------------------------------------------------------------------------------------------
   Sesión de operador EsferaTech: mismo control, tarjeta más ancha porque además de la lista lleva
   buscador, aviso de acceso delegado y motivo. Con buscador solo scrollea la lista, para que el
   botón de confirmar no se vaya fuera de vista.
   --------------------------------------------------------------------------------------------- */
.tenant-card.operator.expanded[b-k5uqchi5w6] {
    width: 340px;
    min-width: 340px;
}

.tenant-picker-fixed[b-k5uqchi5w6] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 9px;
    animation: fadeIn-b-k5uqchi5w6 0.2s ease-out;
}

.tenant-picker-fixed .tenant-expanded-content[b-k5uqchi5w6] {
    padding: 0;
    max-height: min(34vh, 260px);
    flex: 0 1 auto;
}

[b-k5uqchi5w6] .tenant-operator-reason,
.tenant-operator-reason[b-k5uqchi5w6] {
    flex-shrink: 0;
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Buscador (solo cuando ShowSearch): separado de la lista por una línea sutil. */
.tenant-search[b-k5uqchi5w6] {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--st-border-stronger);
}

.tenant-search input[b-k5uqchi5w6] {
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    padding: 0 16px;
    border-radius: 20px; /* mitad de la altura: píldora */
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: var(--st-fill-7);
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
}

.tenant-search input[b-k5uqchi5w6]::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

/* Botones que el navegador inyecta dentro del campo: autorrelleno de contacto/credenciales (WebKit)
   y la "x" de limpiar de type=search. Se pintan encima del texto y no son parte del diseño. */
.tenant-search input[b-k5uqchi5w6]::-webkit-contacts-auto-fill-button,
.tenant-search input[b-k5uqchi5w6]::-webkit-credentials-auto-fill-button,
.tenant-search input[b-k5uqchi5w6]::-webkit-caps-lock-indicator {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.tenant-search input[b-k5uqchi5w6]::-webkit-search-decoration,
.tenant-search input[b-k5uqchi5w6]::-webkit-search-cancel-button,
.tenant-search input[b-k5uqchi5w6]::-webkit-search-results-button,
.tenant-search input[b-k5uqchi5w6]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.tenant-search input:focus[b-k5uqchi5w6] {
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(255, 255, 255, 0.7);
}

.tenant-empty[b-k5uqchi5w6] {
    padding: 18px 4px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* =============================================================================================
   Panel derecho del selector (sale de la tarjeta; wwwroot/js/tenant-panel.js lo anima y lo lleva
   al <body>). Misma caja que los paneles derechos de la app y su fondo: azul marino en oscuro, el
   lienzo claro en claro.
   ============================================================================================= */
.tsp-root[b-k5uqchi5w6] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
}

.tsp-root.is-open[b-k5uqchi5w6] {
    display: block;
}

.tsp-veil[b-k5uqchi5w6] {
    position: absolute;
    inset: 0;
    background: var(--st-backdrop-tint);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tsp-panel[b-k5uqchi5w6] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 450px;
    max-width: 92vw;
    background: var(--st-app-frame);
    border-left: 1px solid var(--st-border);
    border-radius: 16px 0 0 16px;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tsp-content[b-k5uqchi5w6] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 16px;
}

.tsp-header[b-k5uqchi5w6] {
    position: relative;
    text-align: center;
}

.tsp-header h2[b-k5uqchi5w6] {
    margin: 6px 0 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.tsp-header p[b-k5uqchi5w6] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.tsp-header small[b-k5uqchi5w6] {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--st-text-muted);
}

/* Aviso del operador (lo inyecta TopHeader en HeaderContent): pequeno y en tono suave, para que no compita
   con el titulo. El markup lo crea un RenderFragment de TopHeader, asi que su CSS aislado no le llega: va aqui. */
.tsp-content[b-k5uqchi5w6]  .tenant-operator-note {
    margin: 8px 6px 12px;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: center;
    color: var(--st-text-muted);
    opacity: 0.85;
}

.tsp-close[b-k5uqchi5w6] {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--st-text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.tsp-close:hover[b-k5uqchi5w6] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
}

/* «Estás en»: el tenant en uso, con el color de la tarjeta según el entorno */
.tsp-current[b-k5uqchi5w6] {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(104, 119, 141, 0.85);
    color: #ffffff;
}

.tsp-current.env-development[b-k5uqchi5w6] {
    background: rgba(220, 53, 69, 0.9);
}

.tsp-current.env-staging[b-k5uqchi5w6] {
    background: rgba(255, 193, 7, 0.9);
    color: #1f2f45;
}

.tsp-current-icon[b-k5uqchi5w6] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2f45;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.tsp-current-info[b-k5uqchi5w6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.tsp-current-info small[b-k5uqchi5w6] {
    font-size: 11px;
    opacity: 0.9;
}

.tsp-current-info b[b-k5uqchi5w6] {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The content box of the panel (st-chrome-box in css/theme.css): search, list, error and footer follow the theme. */
.tsp-box[b-k5uqchi5w6] {
    margin-top: 14px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.tsp-search[b-k5uqchi5w6] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
}

.tsp-search input[b-k5uqchi5w6] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--st-text-strong);
    font-size: 14px;
    outline: none;
}

.tsp-search input[b-k5uqchi5w6]::placeholder {
    color: var(--st-text-muted);
}

.tsp-search:focus-within[b-k5uqchi5w6] {
    border-color: #E5B900;
}

/* La lista hace scroll sin mostrar la barra */
.tsp-list[b-k5uqchi5w6] {
    margin-top: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

.tsp-list[b-k5uqchi5w6]::-webkit-scrollbar {
    display: none;
}

.tsp-section[b-k5uqchi5w6] {
    margin: 6px 4px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.tsp-recent[b-k5uqchi5w6] {
    margin-bottom: 14px;
    padding: 6px;
    border-radius: 14px;
    background: var(--st-surface);
}

.tsp-co[b-k5uqchi5w6] {
    margin-bottom: 8px;
    border-radius: 14px;
    background: var(--st-surface);
    overflow: hidden;
}

.tsp-co-h[b-k5uqchi5w6] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--st-text-strong);
    text-align: left;
    cursor: pointer;
}

.tsp-co-h:hover[b-k5uqchi5w6] {
    background: var(--st-surface-strong);
}

.tsp-co-logo[b-k5uqchi5w6] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.tsp-co-name[b-k5uqchi5w6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tsp-co-name b[b-k5uqchi5w6] {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tsp-co-name small[b-k5uqchi5w6] {
    font-size: 11.5px;
    color: var(--st-text-muted);
}

.tsp-count[b-k5uqchi5w6] {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    color: var(--st-text);
    font-size: 11px;
    font-weight: 700;
}

.tsp-chevron[b-k5uqchi5w6] {
    color: var(--st-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.tsp-co.open .tsp-chevron[b-k5uqchi5w6] {
    transform: rotate(180deg);
}

/* Abre y cierra con la altura animada */
.tsp-co-b[b-k5uqchi5w6] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.tsp-co.open .tsp-co-b[b-k5uqchi5w6] {
    grid-template-rows: 1fr;
}

.tsp-co-b > div[b-k5uqchi5w6] {
    overflow: hidden;
    padding: 0 8px;
}

.tsp-co.open .tsp-co-b > div[b-k5uqchi5w6] {
    padding-bottom: 8px;
}

.tsp-t[b-k5uqchi5w6] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text);
    text-align: left;
    cursor: pointer;
}

.tsp-t:hover:not(:disabled)[b-k5uqchi5w6] {
    background: var(--st-surface-strong);
}

.tsp-t:disabled[b-k5uqchi5w6] {
    cursor: default;
}

.tsp-t.is-locked[b-k5uqchi5w6] {
    opacity: 0.55;
}

.tsp-t-icon[b-k5uqchi5w6] {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.tsp-t-info[b-k5uqchi5w6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tsp-t-info b[b-k5uqchi5w6] {
    font-size: 13.5px;
    color: var(--st-text-strong);
}

.tsp-t-info small[b-k5uqchi5w6] {
    font-size: 12px;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* El tenant en uso se marca tambien dentro de la lista: fondo mostaza suave, icono lleno y etiqueta llena */
.tsp-t.is-current[b-k5uqchi5w6],
.tsp-t.is-current:hover:not(:disabled)[b-k5uqchi5w6] {
    background: rgba(229, 185, 0, 0.16);
}

.tsp-t.is-current .tsp-t-icon[b-k5uqchi5w6] {
    background: #E5B900;
    color: #1F2F45;
}

.tsp-t.is-current .tsp-t-tag[b-k5uqchi5w6] {
    background: #E5B900;
    border-color: #E5B900;
    color: #1F2F45;
}

/* El tenant en uso ya está arriba: en la lista solo una etiqueta discreta */
.tsp-t-tag[b-k5uqchi5w6] {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-muted);
    font-size: 10.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.tsp-empty[b-k5uqchi5w6] {
    padding: 30px 10px;
    text-align: center;
    font-size: 13px;
    color: var(--st-text-muted);
}

.tsp-error[b-k5uqchi5w6] {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 77, 79, 0.3);
    background: rgba(255, 77, 79, 0.1);
    color: color-mix(in srgb, #dc3545 calc(var(--st-is-light) * 100%), #ff6b7a);
    font-size: 13px;
}

/* Mientras el servidor cambia de tenant */
.tsp-busy[b-k5uqchi5w6] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--st-app-frame) 60%, transparent);
}

.tsp-spinner[b-k5uqchi5w6] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--st-surface-strong);
    border-top-color: #E5B900;
    animation: tsp-spin-b-k5uqchi5w6 0.8s linear infinite;
}

@keyframes tsp-spin-b-k5uqchi5w6 {
    to {
        transform: rotate(360deg);
    }
}

.tsp-close:focus-visible[b-k5uqchi5w6],
.tsp-co-h:focus-visible[b-k5uqchi5w6],
.tsp-t:focus-visible[b-k5uqchi5w6] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}
/* /Pages/Home/Components/TrafficLight/TrafficLightAssetCard.razor.rz.scp.css */
.tl-asset-card[b-w6oiq1hxkm] {
    background: var(--st-surface);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 195px;
    overflow: hidden;
}

.tl-card-top[b-w6oiq1hxkm] {
    display: flex;
    flex-direction: row;
    padding: 8px 8px 0 8px; /* Inner padding */
}

.tl-image-area[b-w6oiq1hxkm] {
    position: relative;
    width: 150px;
    height: 110px;
    flex-shrink: 0;
}

.tl-main-image[b-w6oiq1hxkm] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background: var(--st-surface-sunken);
}

.tl-progress-pill[b-w6oiq1hxkm] {
    position: absolute;
    bottom: 5px;
    left: 4px;
    padding: 2px 14px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid var(--st-surface); /* Cutout look */
    z-index: 3;
    color: #ffffff;
    background: #ACACAC; /* Fallback; el color real llega por style inline (TrafficLightColorHelper) */
}

.tl-details-area[b-w6oiq1hxkm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 28px; /* Space for the overlap icons */
}

.tl-wo-number[b-w6oiq1hxkm] {
    text-align: right;
    font-weight: 800;
    color: #e879f9; /* Pink from mockup */
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-right: 8px;
}

.tl-info-row[b-w6oiq1hxkm] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    margin-left: -44px; /* Pull just the row left to overlap the image */
}

.tl-icon-circle[b-w6oiq1hxkm] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--st-surface); /* Cutout look */
    z-index: 2;
    background: var(--st-surface-strong);
    flex-shrink: 0;
    object-fit: cover;
}

.tl-process-icon[b-w6oiq1hxkm] {
    font-size: 1.1rem;
    color: #ffffff;
}

.tl-worker-avatar[b-w6oiq1hxkm] {
    border-color: #fcd34d; /* yellow border for avatar in mockup */
}

.tl-process-avatar[b-w6oiq1hxkm] {
    object-fit: contain;
    padding: 0;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border-color: #fcd34d; /* Mismo borde amarillo que el avatar del trabajador */
}

.tl-info-text[b-w6oiq1hxkm] {
    font-size: 0.75rem;
    color: var(--st-text-body);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tl-card-bottom[b-w6oiq1hxkm] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 8px 16px;
    margin-top: auto;
}

.tl-bottom-left[b-w6oiq1hxkm] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.tl-plate[b-w6oiq1hxkm] {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--st-text-body);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tl-description[b-w6oiq1hxkm] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tl-bottom-right[b-w6oiq1hxkm] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 2px;
    flex-shrink: 0;
    margin-right: 42px;
}

.tl-date[b-w6oiq1hxkm] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    font-weight: 700;
    margin-bottom: 4px;
}

.tl-insurance-name[b-w6oiq1hxkm] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    margin-bottom: 2px;
}

.tl-time-label[b-w6oiq1hxkm] {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--st-text-body);
    white-space: nowrap;
}

/* Botón de Entregar (Handover Button) */
.tl-handover-btn[b-w6oiq1hxkm] {
    width: 36px;
    height: 26px;
    border-radius: 15px;
    background: #e500cd;
    background: linear-gradient(135deg, #e500cd 0%, #c800b0 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(229, 0, 205, 0.45);
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 5;
}

.tl-handover-btn svg[b-w6oiq1hxkm] {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.tl-handover-btn:hover[b-w6oiq1hxkm] {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f01bd7 0%, #e500cd 100%);
    box-shadow: 0 5px 14px rgba(229, 0, 205, 0.6);
}

.tl-handover-btn:active[b-w6oiq1hxkm] {
    transform: scale(0.95);
}

/* Color real inyectado por style inline en TrafficLightAssetCard.razor (Asset.Status.GetHexColor()) */

/* /Pages/Home/Components/TrafficLight/TrafficLightMatrix.razor.rz.scp.css */
/* Contenedor Principal */
.traffic-light-container[b-szle0tvvte] {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* With the 3D world open the traffic light can be stowed behind its handle (StowBehindHandle). */
.traffic-light-container.stowed[b-szle0tvvte] {
    display: none;
}

/* The handle: bottom-right of the map, clear of the world's centered toolbar; it moves with the chat. */
.traffic-light-handle[b-szle0tvvte] {
    position: absolute;
    right: calc(20px + var(--chat-width, 0px));
    bottom: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    padding: 0 12px;
    border-radius: 100px;
    background: var(--st-glass-surface);
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border: 1px solid var(--st-border);
    color: var(--st-text-strong);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, right 0.4s ease-in-out;
}

.traffic-light-handle:hover[b-szle0tvvte] {
    transform: translateY(-2px);
}

.traffic-light-handle:focus-visible[b-szle0tvvte] {
    outline: 2px solid var(--st-text-strong);
    outline-offset: 2px;
}

.traffic-light-handle-arrow[b-szle0tvvte] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
}

.traffic-light-container.expanded[b-szle0tvvte] {
    /* Márgen uniforme ~20px visual en los tres lados:
       - left: 95px = espacio óptimo para separar del panel de nav
       - right: 90px = 20px borde + 50px botones flotantes + 20px margen visual */
    left: 91px;
    right: 20px;
    width: auto;
    transform: none;
    max-width: none;
}

/* Cuando el panel lateral está abierto, encogemos la matriz para darle espacio al sidebar */
.traffic-light-container.expanded.sidebar-open[b-szle0tvvte] {
    left: 95px;
    right: 400px;
    width: auto;
    transform: none;
    max-width: none;
}

/* Cuando el menú de navegación izquierdo está expandido (220px), empujamos el semáforo */
.traffic-light-container.expanded.nav-expanded[b-szle0tvvte] {
    left: 230px;
    right: 90px;
}

/* Combinación: menú expandido + panel lateral abierto */
.traffic-light-container.expanded.nav-expanded.sidebar-open[b-szle0tvvte] {
    left: 230px;
    right: 400px;
}

/* Editor del Gemelo Digital abierto (LeftSidebar de 450px). Empuja el semáforo para que
   arranque justo después del panel, en vez de quedar montado debajo.
   LeftSidebar: left = (nav 80/220) - 12; ancho 450 → borde derecho + ~12px de margen. */
.traffic-light-container.expanded.editor-open[b-szle0tvvte] {
    left: 530px; /* (80 - 12) + 450 + 12 */
}

/* Editor abierto + menú de navegación expandido (220px) */
.traffic-light-container.expanded.nav-expanded.editor-open[b-szle0tvvte] {
    left: 670px; /* (220 - 12) + 450 + 12 */
}

/* Cuando el panel de chat derecho está abierto (350px width), empujamos el semáforo */
.traffic-light-container.expanded.chat-expanded[b-szle0tvvte] {
    right: 370px;
}

/* Combinación: chat expandido + menú izquierdo expandido */
.traffic-light-container.expanded.nav-expanded.chat-expanded[b-szle0tvvte] {
    left: 230px;
    right: 370px;
}

/* --- Estado Minimizado --- */
.minimized-toggle[b-szle0tvvte] {
    display: flex;
    align-items: center;
    gap: 12px; /* Reducido en 10% (de 16px) */
    /* Glass role (css/theme.css): the same material as the inbox and the other panels over the map. */
    background: var(--st-glass-surface);
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border: 1px solid var(--st-border);
    padding: 10px 18px; /* Reducido en 10% (de 12px 20px) */
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
}

/* Stays glass on hover (an opaque fill would drop the material); the lift is the feedback. */
.minimized-toggle:hover[b-szle0tvvte] {
    transform: translateY(-2px);
}

.toggle-icon[b-szle0tvvte] {
    width: 32px; /* Reducido en 10% (de 36px) */
    height: 32px; /* Reducido en 10% (de 36px) */
    background: var(--st-fill-4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-strong);
    font-size: 1.05rem; /* Reducido en 10% (de 1.2rem) */
}

.toggle-content[b-szle0tvvte] {
    display: flex;
    align-items: center;
}

.toggle-title[b-szle0tvvte] {
    color: var(--st-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.toggle-badges[b-szle0tvvte] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge[b-szle0tvvte] {
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-on-accent);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; /* Ancho mínimo para mantener simetría entre números grandes y pequeños */
}
.badge-red[b-szle0tvvte] { background-color: #ef4444; }
.badge-yellow[b-szle0tvvte] { background-color: #eab308; color: #ffffff; }
.badge-green[b-szle0tvvte] { background-color: #10b981; }

.toggle-arrow[b-szle0tvvte] {
    color: var(--st-text-subtle);
    font-size: 1.2rem;
    margin-left: 8px;
}

/* --- Estado Expandido (Panel Glassmorphism) --- */
.glass-panel[b-szle0tvvte] {
    background: var(--st-glass-surface); /* Glass role (css/theme.css), like the inbox */
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border: 1px solid var(--st-border-subtle);
    border-radius: 24px;
    padding: 20px 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.matrix-panel[b-szle0tvvte] {
    width: 100%;
}

.matrix-scroll-wrapper[b-szle0tvvte] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 8px; /* Dar espacio para el scrollbar para no chocar con elementos */
}

/* Custom scrollbar para el wrapper interno */
.matrix-scroll-wrapper[b-szle0tvvte]::-webkit-scrollbar {
    height: 6px;
}
.matrix-scroll-wrapper[b-szle0tvvte]::-webkit-scrollbar-track {
    background: var(--st-fill-2);
    border-radius: 10px;
}
.matrix-scroll-wrapper[b-szle0tvvte]::-webkit-scrollbar-thumb {
    background: var(--st-fill-6);
    border-radius: 10px;
}
.matrix-scroll-wrapper[b-szle0tvvte]::-webkit-scrollbar-thumb:hover {
    background: var(--st-fill-7);
}

/* Header */
.matrix-header[b-szle0tvvte] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Permitir que los elementos salten de línea si es muy estrecho */
}

.header-search[b-szle0tvvte] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-filters[b-szle0tvvte] {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Toggle Grupo / Proceso */
.view-mode-toggle[b-szle0tvvte] {
    display: flex;
    background: var(--st-fill-3);
    border-radius: 100px;
    padding: 3px;
    border: 1px solid var(--st-border-subtle);
}

.view-mode-toggle .toggle-btn[b-szle0tvvte] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    padding: 5px 12px; /* -15%: de 6px/14px a 5px/12px */
    border-radius: 100px;
    font-size: 0.7rem; /* -15%: de 0.8rem a 0.7rem */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 1;
    min-width: 68px; /* -15%: de 80px a 68px */
}

.view-mode-toggle .toggle-btn:hover[b-szle0tvvte] {
    color: var(--st-text-body);
}

.view-mode-toggle .toggle-btn.active[b-szle0tvvte] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
}

.toolbar-search[b-szle0tvvte] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 400px;
    min-height: 34px;
    padding: 6px 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: var(--st-fill-5);
    color: var(--st-text-muted);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1;
}

.toolbar-search-icon[b-szle0tvvte] {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-strong); /* Mayor visibilidad para la lupa */
    flex-shrink: 0;
}

.toolbar-search-icon svg[b-szle0tvvte] {
    width: 16px;
    height: 16px;
    display: block;
}

.toolbar-search-input[b-szle0tvvte] {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding: 1px 2px;
}

.toolbar-search-input[b-szle0tvvte]::placeholder {
    color: var(--st-text-subtle);
    opacity: 1;
    font-weight: 500;
}

.toolbar-search-input[type="search"][b-szle0tvvte]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

.toolbar-search:focus-within[b-szle0tvvte] {
    border-color: transparent;
    box-shadow: none;
}

.toolbar-btn[b-szle0tvvte] {
    border: none;
    background: #e5b900;
    color: #1a365d;
    border-radius: 15px;
    padding: 6px 14px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.toolbar-btn:hover[b-szle0tvvte] {
    color: #0f2746;
}

.toolbar-btn.primary[b-szle0tvvte] {
    background: var(--st-surface);
    color: var(--st-text-strong);
    border-radius: 20px;
}

.toolbar-btn.primary:hover[b-szle0tvvte] {
    background: var(--st-surface-strong);
}

.toolbar-general-filter[b-szle0tvvte] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
}

.toolbar-general-filter[b-szle0tvvte]::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--st-text-strong);
    border-bottom: 2px solid var(--st-text-strong);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.toolbar-filter-select[b-szle0tvvte] {
    appearance: none;
    border: none;
    border-radius: 999px;
    min-width: 143px; /* -15%: de 168px a 143px */
    height: 29px; /* -15%: de 34px a 29px — igual al alto resultante del toggle */
    padding: 0px 24px 0px 11px; /* -15%: de 28px/13px a 24px/11px */
    background: var(--st-fill-6);
    color: var(--st-text-strong);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.7rem; /* igualado al toggle */
    font-weight: 600;
    line-height: 29px; /* igualado al height */
    cursor: pointer;
    outline: none;
}

.toolbar-filter-select:focus-visible[b-szle0tvvte] {
    box-shadow: 0 0 0 1px rgba(247, 251, 255, 0.6) inset;
}

.toolbar-filter-select:disabled[b-szle0tvvte] {
    opacity: 0.58;
    cursor: not-allowed;
}

.toolbar-filter-select option[b-szle0tvvte] {
    background: var(--st-surface-raised);
    color: var(--st-text);
}

.header-actions[b-szle0tvvte] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botón de Refresh — mismo patrón que InboxPanel */
.refresh-btn[b-szle0tvvte] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.refresh-btn:hover:not(:disabled)[b-szle0tvvte] {
    background: var(--st-fill-4);
}

.refresh-btn svg[b-szle0tvvte] {
    width: 20px;
    height: 20px;
    color: var(--st-text-subtle);
}

.refresh-btn:disabled[b-szle0tvvte] {
    opacity: 0.5;
    cursor: not-allowed;
}

.refresh-btn:disabled svg[b-szle0tvvte] {
    animation: tl-spin-b-szle0tvvte 1s linear infinite;
}

.btn-close[b-szle0tvvte] {
    background: transparent;
    border: none;
    color: var(--st-text-body);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-close:hover[b-szle0tvvte] { color: var(--st-text-strong); }

/* Grid / Matriz */
.matrix-body[b-szle0tvvte] {
    width: 100%;
}

.matrix-grid[b-szle0tvvte] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 100%;
    padding-bottom: 10px;
    padding-right: 15px; /* Espacio extra para que el hover (scale) no recorte la última celda */
    padding-left: 5px;   /* Prevenir cualquier recorte a la izquierda */
    user-select: none;
    -webkit-user-select: none;
}

.matrix-row[b-szle0tvvte] {
    display: flex;
    align-items: center;
    gap: 12px; /* Gap between individual pills */
}

.header-row[b-szle0tvvte] {
    padding-bottom: 0;
}

.matrix-cell[b-szle0tvvte] {
    flex: 1 1 90px;      /* Se estira cuando hay espacio, se encoge hasta 90px mínimo */
    min-width: 90px;     /* Scroll activa antes de llegar aquí */
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* En modo Grupo, las celdas se estiran para llenar el espacio vacío, pero tienen un límite inferior más bajo para evitar scroll innecesario */
.matrix-grid.view-mode-group .matrix-cell[b-szle0tvvte] {
    flex: 1 1 100px; /* grow: 1, shrink: 1, basis: 100px */
    min-width: 100px;
    width: auto;
}

/* Los títulos no deben estirarse en ningún caso */
.matrix-grid.view-mode-group .col-title[b-szle0tvvte],
.matrix-grid.view-mode-group .row-title[b-szle0tvvte] {
    flex: 0 0 170px !important;
    width: 170px !important;
}

.col-title[b-szle0tvvte] {
    flex: 0 0 auto;
    width: 170px;
    background: transparent; /* Sin fondo de cápsula */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
}

.total-assets[b-szle0tvvte] {
    color: var(--st-text-body); /* Brighter grey */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.col-header[b-szle0tvvte] {
    background: var(--st-fill-3);
    min-height: 36px;
    height: auto;
    padding: 4px 0;
    border-radius: 8px; /* Slightly squarer than data pills */
}

.col-header span[b-szle0tvvte] {
    color: var(--st-text-strong); /* Almost pure white */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize; /* As in mockup: Imprevistos, Mecanica */
    text-align: center;
    
    /* Truncamiento a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    
    max-width: 100%;
    padding: 0 4px;
}

.row-title[b-szle0tvvte] {
    flex: 0 0 auto;
    width: 170px;
    background: transparent; /* Sin fondo de cápsula */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
    gap: 10px;
}

.row-count[b-szle0tvvte] {
    color: var(--st-text-strong);
    font-size: 0.95rem; /* Slightly larger */
    font-weight: 700;
}

.row-label[b-szle0tvvte] {
    color: var(--st-text-strong); /* Almost pure white */
    font-size: 0.85rem;
    font-weight: 600; /* Bolder */
}

/* Burbujas / Pills */
.status-pill[b-szle0tvvte] {
    width: 100%;
    height: 36px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-pill.empty[b-szle0tvvte] {
    background: var(--st-fill-4);
    color: var(--st-text-strong); /* Tono único: blanco para todos los estados */
    font-weight: 600;
    box-shadow: none;
}

/* Color de fondo inyectado por style inline (row.Status.GetHexColor() -> TrafficLightColorHelper).
   Aquí solo queda lo estructural, común a cualquier estado. */
.status-pill.active[b-szle0tvvte] {
    color: var(--st-on-accent);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.status-pill.active:hover[b-szle0tvvte] {
    transform: scale(1.05);
    box-shadow: 0 6px 20px -3px rgba(0, 0, 0, 0.35);
}

/* Glow effect specific to the selected cell */
.status-pill.active.selected[b-szle0tvvte] {
    border: 2px solid #ffffff;
    transform: scale(1.15);
    height: 48px;
    width: 48px; /* Make it a larger circle like the mockup */
    border-radius: 50%;
    font-size: 1.1rem;
    z-index: 10;
}

/* ==============================================
   Right Sidebar Customization (Glassmorphism)
============================================== */
/* El overlay (fondo) debe ser transparente para no opacar el semáforo */
[b-szle0tvvte] .tl-sidebar-overlay {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none; /* Permitir clics a través del overlay hacia el mapa/semáforo */
}

/* El contenido del sidebar sí captura clics */
[b-szle0tvvte] .tl-sidebar-overlay .right-sidebar-content {
    pointer-events: auto;
}

/* A floating glass card of the traffic light, not a navy side panel: same glass as the matrix. */
[b-szle0tvvte] .glass-sidebar.right-sidebar-content {
    background: var(--st-glass-surface) !important;
    backdrop-filter: blur(var(--st-glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--st-glass-blur)) !important;
    border: 1px solid var(--st-border-subtle) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    height: calc(100vh - 50px) !important; /* 30px arriba + 20px abajo = 50px */
    height: calc(100dvh - 50px) !important;
    margin: 30px 30px 20px 0 !important; /* Margen inferior de 20px para alinear con bottom: 20px de la matriz */
    width: 360px !important; /* 20% más pequeño horizontalmente para dar espacio a la matriz */
}

[b-szle0tvvte] .tl-sidebar .right-sidebar-title {
    color: var(--st-text-strong) !important;
    font-size: 1.1rem;
    padding: 0 46px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

/* Header personalizado del sidebar: logo fijo a la izquierda, título siempre centrado */
.tl-sidebar-header-inner[b-szle0tvvte] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
}

.tl-sidebar-header-logo[b-szle0tvvte] {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 2px solid var(--st-border-stronger);
    flex-shrink: 0;
    padding: 0;
}

.tl-sidebar-header-logo-fallback[b-szle0tvvte] {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-4);
    color: var(--st-text-subtle);
    font-size: 1rem;
}

/* Ocultar scrollbar en el sidebar del semáforo para dar más espacio a las tarjetas */
[b-szle0tvvte] .tl-sidebar .right-sidebar-body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

[b-szle0tvvte] .tl-sidebar .right-sidebar-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tl-assets-list[b-szle0tvvte] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.tl-no-data[b-szle0tvvte] {
    color: var(--st-text-muted);
    text-align: center;
    padding: 30px 0;
    font-style: italic;
}

/* Títulos separadores de proceso (solo modo Grupo) */
.tl-process-group-header[b-szle0tvvte] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border);
}

.tl-group-header-left[b-szle0tvvte] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* Permite truncar el h5 si es largo */
}

.tl-group-logo[b-szle0tvvte] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 2px solid var(--st-border-stronger);
    flex-shrink: 0;
    padding: 0;
}

.tl-group-logo-fallback[b-szle0tvvte] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-4);
    color: var(--st-text-subtle);
    font-size: 0.85rem;
}

.tl-process-group-header h5[b-szle0tvvte] {
    color: var(--st-text-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tl-badge-count[b-szle0tvvte] {
    background: #0b3f80;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================== */
/* LOADER (ESTADOS DE CARGA)                      */
/* ============================================== */
.tl-loading-container[b-szle0tvvte] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: var(--st-text-subtle);
    font-size: 0.9rem;
    font-weight: 500;
}

.tl-loading-container p[b-szle0tvvte] {
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.tl-spinner[b-szle0tvvte] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--st-border);
    border-radius: 50%;
    border-top-color: var(--st-text-strong);
    animation: tl-spin-b-szle0tvvte 1s ease-in-out infinite;
}

@keyframes tl-spin-b-szle0tvvte {
    to {
        transform: rotate(360deg);
    }
}

/* TABS DEL SIDEBAR (FILTROS DE COLORES) */
.tl-sidebar-tabs[b-szle0tvvte] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 0 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--st-border);
}

.tl-tab-btn[b-szle0tvvte] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 20px;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tl-tab-btn:hover[b-szle0tvvte] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.tl-tab-btn.active[b-szle0tvvte] {
    background: var(--st-fill-5);
    border-color: var(--st-border-stronger);
    color: var(--st-text-strong);
}

.tl-tab-btn .badge[b-szle0tvvte] {
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.tl-sidebar-subfilter[b-szle0tvvte] {
    margin-bottom: 20px;
    padding: 0;
}

.tl-subfilter-select[b-szle0tvvte] {
    width: 100%;
    appearance: none;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    height: 36px;
    padding: 0 12px;
    background: var(--st-fill-2);
    color: var(--st-text);
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

.tl-subfilter-select:focus[b-szle0tvvte] {
    border-color: var(--st-border-stronger);
}

.tl-subfilter-select option[b-szle0tvvte] {
    background: var(--st-surface);
    color: var(--st-text-strong);
}

.tl-tab-red.active[b-szle0tvvte] { background: var(--st-danger-bg-strong); border-color: var(--st-danger-border); color: var(--st-danger-text); }
.tl-tab-red .badge-red[b-szle0tvvte] { background: #ef4444; color: #fff; }

.tl-tab-yellow.active[b-szle0tvvte] { background: var(--st-warning-bg-strong); border-color: var(--st-warning-border); color: var(--st-warning-text); }
.tl-tab-yellow .badge-yellow[b-szle0tvvte] { background: #f59e0b; color: #fff; }

.tl-tab-green.active[b-szle0tvvte] { background: var(--st-success-bg-strong); border-color: var(--st-success-border); color: var(--st-success-text); }
.tl-tab-green .badge-green[b-szle0tvvte] { background: #22c55e; color: #fff; }

.tl-tab-neutral.active[b-szle0tvvte] { background: var(--st-fill-6); border-color: var(--st-border-stronger); color: var(--st-text-strong); }
.tl-tab-neutral .badge-neutral[b-szle0tvvte] { background: #94a3b8; color: #fff; }

/* CABECERAS CLICKEABLES */
.matrix-cell.col-header.clickable[b-szle0tvvte] {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.matrix-cell.col-header.clickable:hover[b-szle0tvvte] {
    background: var(--st-fill-3);
    border-radius: 8px;
    color: var(--st-text-strong);
}
/* /Pages/Home/Components/TwinWorld/TwinWorldHost.razor.rz.scp.css */
/* Over the 2D map, inside the map frame (which clips and rounds it); under the Home's top bar and panels. */
.twin-world-host[b-l88snorc7z] {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #070d18;
}

/* The iframe is created by twin-world-host.js, outside Blazor's render tree. */
.twin-world-host[b-l88snorc7z]  .twin-world-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
/* /Pages/Home/Components/User/Account/DeleteAccountDialog.razor.rz.scp.css */
.da-overlay[b-id1eadx14u] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.da-dialog[b-id1eadx14u] {
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.da-header[b-id1eadx14u] {
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.da-header h2[b-id1eadx14u] {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
}

.da-header p[b-id1eadx14u] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--st-danger-text);
}

.da-body[b-id1eadx14u] {
    padding: 16px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.da-intro[b-id1eadx14u],
.da-block p[b-id1eadx14u],
.da-provider[b-id1eadx14u] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--st-text-body);
}

.da-block h3[b-id1eadx14u] {
    margin: 0 0 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.da-block ul[b-id1eadx14u] {
    margin: 0;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--st-text-body);
}

.da-warning[b-id1eadx14u] {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.da-label[b-id1eadx14u] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.da-password[b-id1eadx14u] {
    position: relative;
}

.da-password .profile-input[b-id1eadx14u] {
    padding-right: 40px;
}

.da-eye[b-id1eadx14u] {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 4px;
}

.da-error[b-id1eadx14u] {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.da-actions[b-id1eadx14u] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--st-border-subtle);
}

.da-delete[b-id1eadx14u] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    font-weight: 600;
    cursor: pointer;
}

.da-delete:disabled[b-id1eadx14u] {
    opacity: 0.5;
    cursor: not-allowed;
}

.profile-input[b-id1eadx14u] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 0.9rem;
}

.btn-cancel[b-id1eadx14u] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-strong);
    cursor: pointer;
}
/* /Pages/Home/Components/User/Billing/ClientBillingPortalView.razor.rz.scp.css */
/* ==========================================================================
   CLIENT BILLING PORTAL VIEW - SYSTIME DESIGN SYSTEM (Navy / Magenta / Slate)
   4px grid tokens, 100% SVG inline, Cero emojis
   ========================================================================== */

.client-billing-portal[b-iomn0yd8tz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0;
    color: var(--st-text);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.cbp-header[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.cbp-header-left[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbp-header-badge[b-iomn0yd8tz] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--st-accent-bg);
    border: 1px solid var(--st-accent-border);
    color: var(--st-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cbp-title[b-iomn0yd8tz] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.cbp-subtitle[b-iomn0yd8tz] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin: 0;
}

.cbp-close-btn[b-iomn0yd8tz] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.cbp-close-btn:hover[b-iomn0yd8tz] {
    background: var(--st-surface-muted);
    color: var(--st-text);
}

/* --------------------------------------------------------------------------
   Alerts & Loading
   -------------------------------------------------------------------------- */
.cbp-alert[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    position: relative;
}

.cbp-alert-error[b-iomn0yd8tz] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.cbp-alert-success[b-iomn0yd8tz] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
}

.cbp-alert-close[b-iomn0yd8tz] {
    margin-left: auto;
    background: transparent;
    border: none;
    color: currentColor;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.cbp-loading-box[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--st-text-subtle);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   KPIs Grid (4 Cards)
   -------------------------------------------------------------------------- */
.cbp-kpi-grid[b-iomn0yd8tz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.cbp-kpi-card[b-iomn0yd8tz] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s, border-color 0.2s;
}

.cbp-kpi-card:hover[b-iomn0yd8tz] {
    transform: translateY(-2px);
    border-color: var(--st-border-strong);
}

.cbp-kpi-header[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cbp-kpi-label[b-iomn0yd8tz] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
    text-transform: uppercase;
}

.cbp-kpi-icon[b-iomn0yd8tz] {
    color: var(--st-text-muted);
}

.cbp-kpi-value[b-iomn0yd8tz] {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--st-text-strong);
}

.cbp-text-gold[b-iomn0yd8tz] {
    color: var(--st-gold-text);
}

.cbp-kpi-meta[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

.cbp-pill-tier[b-iomn0yd8tz] {
    background: var(--st-surface-muted);
    color: var(--st-text);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.cbp-tier-badge[b-iomn0yd8tz] {
    color: var(--st-accent);
    font-weight: 700;
}

.cbp-status-pill[b-iomn0yd8tz] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.cbp-status-paid[b-iomn0yd8tz] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
}

.cbp-status-overdue[b-iomn0yd8tz] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
}

.cbp-text-danger[b-iomn0yd8tz] {
    color: var(--st-danger-text);
    font-weight: 600;
}

.cbp-text-success[b-iomn0yd8tz] {
    color: var(--st-success-text);
}

.cbp-method-name[b-iomn0yd8tz] {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Action Banner
   -------------------------------------------------------------------------- */
.cbp-action-banner[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(216, 27, 132, 0.12) 0%, rgba(31, 47, 69, 0.4) 100%);
    border: 1px solid var(--st-accent-border);
    border-radius: 12px;
    padding: 16px 20px;
}

.cbp-banner-info[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cbp-banner-icon[b-iomn0yd8tz] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--st-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cbp-banner-title[b-iomn0yd8tz] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
}

.cbp-banner-desc[b-iomn0yd8tz] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    margin: 2px 0 0 0;
}

.cbp-btn-primary[b-iomn0yd8tz] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.1s;
}

.cbp-btn-primary:hover:not(:disabled)[b-iomn0yd8tz] {
    background: #e91e8c;
    transform: translateY(-1px);
}

.cbp-btn-primary:disabled[b-iomn0yd8tz] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Invoices Section & Table
   -------------------------------------------------------------------------- */
.cbp-section[b-iomn0yd8tz] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cbp-section-header[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--st-border-subtle);
    background: var(--st-surface-sunken);
}

.cbp-section-title[b-iomn0yd8tz] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
}

.cbp-section-subtitle[b-iomn0yd8tz] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    margin: 2px 0 0 0;
}

.cbp-badge-count[b-iomn0yd8tz] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    background: var(--st-surface-muted);
    padding: 3px 10px;
    border-radius: 12px;
}

.cbp-table-wrap[b-iomn0yd8tz] {
    width: 100%;
    overflow-x: auto;
}

.cbp-table[b-iomn0yd8tz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.cbp-table thead th[b-iomn0yd8tz] {
    padding: 10px 14px;
    color: var(--st-text-muted);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface);
}

.cbp-table tbody tr[b-iomn0yd8tz] {
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background-color 0.15s;
}

.cbp-table tbody tr:hover[b-iomn0yd8tz] {
    background-color: var(--st-surface-muted);
}

.cbp-table td[b-iomn0yd8tz] {
    padding: 12px 14px;
    color: var(--st-text);
    vertical-align: middle;
}

.cbp-table-empty[b-iomn0yd8tz] {
    text-align: center;
    padding: 32px 14px;
    color: var(--st-text-muted);
}

.cbp-invoice-code[b-iomn0yd8tz] {
    font-family: monospace;
    font-weight: 700;
    color: var(--st-text-strong);
}

.cbp-invoice-cufe[b-iomn0yd8tz] {
    font-size: 0.68rem;
    color: var(--st-text-muted);
    font-family: monospace;
}

.cbp-period-text[b-iomn0yd8tz] {
    font-size: 0.78rem;
    color: var(--st-text-secondary);
}

.cbp-due-date[b-iomn0yd8tz] {
    font-weight: 500;
}

.cbp-pill-status[b-iomn0yd8tz] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.cbp-pill-paid[b-iomn0yd8tz] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
}

.cbp-pill-pending[b-iomn0yd8tz] {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    border: 1px solid var(--st-warning-border);
}

.cbp-pill-withholding[b-iomn0yd8tz] {
    background: var(--st-info-bg);
    color: var(--st-info-text);
    border: 1px solid var(--st-info-border);
}

.cbp-pill-overdue[b-iomn0yd8tz] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
}

.cbp-row-actions[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.cbp-btn-action[b-iomn0yd8tz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    color: var(--st-text-secondary);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cbp-btn-action:hover[b-iomn0yd8tz] {
    background: var(--st-surface-raised);
    color: var(--st-text);
}

.cbp-btn-pay-row[b-iomn0yd8tz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-accent);
    border: none;
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cbp-btn-pay-row:hover[b-iomn0yd8tz] {
    background: #e91e8c;
}

/* --------------------------------------------------------------------------
   Modal de Pago Embebido
   -------------------------------------------------------------------------- */
.cbp-modal-overlay[b-iomn0yd8tz] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--st-backdrop-tint, rgba(15, 23, 42, 0.75));
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}

.cbp-modal-content[b-iomn0yd8tz] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.cbp-modal-header[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border-subtle);
    background: var(--st-surface-sunken);
}

.cbp-modal-title-wrap[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbp-modal-icon[b-iomn0yd8tz] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--st-accent-bg);
    color: var(--st-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbp-modal-title[b-iomn0yd8tz] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
}

.cbp-modal-sub[b-iomn0yd8tz] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    margin: 0;
}

.cbp-modal-close[b-iomn0yd8tz] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.cbp-modal-body[b-iomn0yd8tz] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cbp-summary-box[b-iomn0yd8tz] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
}

.cbp-summary-row[b-iomn0yd8tz] {
    display: flex;
    justify-content: space-between;
}

.cbp-summary-label[b-iomn0yd8tz] {
    color: var(--st-text-muted);
}

.cbp-summary-value[b-iomn0yd8tz] {
    color: var(--st-text);
    font-weight: 600;
}

.cbp-summary-total[b-iomn0yd8tz] {
    border-top: 1px solid var(--st-border);
    padding-top: 6px;
    margin-top: 2px;
}

.cbp-method-tabs[b-iomn0yd8tz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cbp-tab-btn[b-iomn0yd8tz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cbp-tab-btn.active[b-iomn0yd8tz] {
    background: var(--st-accent-bg);
    border-color: var(--st-accent-border);
    color: var(--st-accent);
}

.cbp-form-grid[b-iomn0yd8tz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cbp-form-row[b-iomn0yd8tz] {
    display: flex;
    gap: 10px;
}

.cbp-form-group[b-iomn0yd8tz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cbp-label[b-iomn0yd8tz] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cbp-input[b-iomn0yd8tz] {
    background: var(--st-input-bg);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text);
    font-size: 0.85rem;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.2s;
}

.cbp-input:focus[b-iomn0yd8tz] {
    border-color: var(--st-accent);
}

.cbp-modal-footer[b-iomn0yd8tz] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    background: var(--st-surface-sunken);
    border-top: 1px solid var(--st-border-subtle);
}

.cbp-btn-secondary[b-iomn0yd8tz] {
    background: transparent;
    border: 1px solid var(--st-border);
    color: var(--st-text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cbp-btn-secondary:hover:not(:disabled)[b-iomn0yd8tz] {
    background: var(--st-surface-muted);
    color: var(--st-text);
}
/* /Pages/Home/Components/User/DynamicFormReplicaResyncPanel.razor.rz.scp.css */
/* Mismo lenguaje visual que PlatformConfigSection (paleta clara del panel de plataforma); estilos
   propios porque el aislamiento de CSS de Blazor no alcanza las reglas del padre hacia este componente. */
.pc-resync[b-ql7l72b4zu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
}

.pc-resync-header[b-ql7l72b4zu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-resync-title[b-ql7l72b4zu] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
}

.pc-resync-desc[b-ql7l72b4zu] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
    line-height: 1.4;
}

.pc-resync .pc-primary[b-ql7l72b4zu],
.pc-resync .pc-secondary[b-ql7l72b4zu] {
    align-self: flex-start;
    padding: 7px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.pc-resync .pc-primary[b-ql7l72b4zu] {
    background: #d81b84;
    color: #fff;
}

.pc-resync .pc-secondary[b-ql7l72b4zu] {
    background: var(--st-surface);
    color: var(--st-text-secondary);
    border-color: var(--st-border-strong);
}

.pc-resync .pc-primary:disabled[b-ql7l72b4zu],
.pc-resync .pc-secondary:disabled[b-ql7l72b4zu] {
    opacity: .6;
    cursor: default;
}

.pc-resync .pc-primary:focus-visible[b-ql7l72b4zu],
.pc-resync .pc-secondary:focus-visible[b-ql7l72b4zu] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

.pc-resync-error[b-ql7l72b4zu] {
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    font-size: 12px;
}

.pc-resync .pc-scroll[b-ql7l72b4zu] {
    overflow-x: auto;
}

.pc-resync-table[b-ql7l72b4zu] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.pc-resync-table th[b-ql7l72b4zu],
.pc-resync-table td[b-ql7l72b4zu] {
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid var(--st-border);
    color: var(--st-text-body);
}

.pc-resync-table th[b-ql7l72b4zu] {
    color: var(--st-text-subtle);
    font-weight: 600;
}

.pc-resync-failures[b-ql7l72b4zu] {
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    font-size: 12px;
    color: var(--st-danger-text);
}

.pc-resync-failures-title[b-ql7l72b4zu] {
    font-weight: 700;
}

.pc-resync-failures ul[b-ql7l72b4zu] {
    margin: 4px 0 0;
    padding-left: 18px;
}

.pc-resync-done[b-ql7l72b4zu] {
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    font-size: 12px;
}

.pc-resync-done p[b-ql7l72b4zu] {
    margin: 0 0 4px;
}

.pc-resync-transaction[b-ql7l72b4zu] {
    font-family: monospace;
    font-size: 11px;
    color: var(--st-success-text);
}

.pc-resync-confirm[b-ql7l72b4zu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    font-size: 12px;
    color: var(--st-gold-text);
}

.pc-resync-confirm-actions[b-ql7l72b4zu] {
    display: flex;
    gap: 8px;
}
/* /Pages/Home/Components/User/MappingFieldRow.razor.rz.scp.css */
.mapping-row[b-3drgz7amd8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background 0.15s ease;
}

.mapping-row:hover[b-3drgz7amd8] {
    background: var(--st-surface-muted);
}

.mapping-col-systime[b-3drgz7amd8] {
    flex: 1;
    font-size: 0.9rem;
    color: var(--st-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mapping-prop-name[b-3drgz7amd8] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    font-style: italic;
}

.mapping-required[b-3drgz7amd8] {
    color: var(--st-danger-fg);
    font-weight: 700;
}

.mapping-col-excel[b-3drgz7amd8] {
    flex: 1;
    display: flex;
    align-items: center;
}

/* ── input container ── */
.mapping-input-container[b-3drgz7amd8] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapping-input[b-3drgz7amd8] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--st-text);
    background: var(--st-input-bg);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mapping-input:focus[b-3drgz7amd8] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.mapping-input[b-3drgz7amd8]::placeholder {
    color: var(--st-text-muted);
}

/* ── badge wrapper ── */
.mapping-badge-wrapper[b-3drgz7amd8] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mapping-badge[b-3drgz7amd8] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    border-radius: 9999px;
    color: var(--st-info-fg);
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.05);
}

.excel-icon[b-3drgz7amd8] {
    color: #10b981;
}

.mapping-badge-val[b-3drgz7amd8] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mapping-badge-actions[b-3drgz7amd8] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── action buttons ── */
.mapping-row-action-btn[b-3drgz7amd8] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mapping-row-action-btn:hover[b-3drgz7amd8] {
    transform: translateY(-1px);
}

.mapping-row-action-btn:active[b-3drgz7amd8] {
    transform: translateY(0);
}

/* confirm */
.confirm-btn[b-3drgz7amd8] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    color: var(--st-text-subtle);
}
.confirm-btn:hover[b-3drgz7amd8] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-fg);
}

/* edit */
.edit-btn[b-3drgz7amd8] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    color: var(--st-text-subtle);
}
.edit-btn:hover[b-3drgz7amd8] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-stronger);
    color: var(--st-text-body);
}

/* delete */
.delete-btn[b-3drgz7amd8] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    color: var(--st-text-subtle);
}
.delete-btn:hover[b-3drgz7amd8] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
}
/* /Pages/Home/Components/User/MyRequestsSection.razor.rz.scp.css */
/* Cards follow the Empresa panel's request cards; sized for the profile section. */
.my-requests[b-7lwaofh8a7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mr-tabs[b-7lwaofh8a7] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--st-fill-4);
}

.mr-tab[b-7lwaofh8a7] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mr-tab.active[b-7lwaofh8a7] {
    background: #D81B84;
    color: #fff;
}

.mr-count[b-7lwaofh8a7] {
    min-width: 18px;
    padding: 0 6px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.7rem;
    line-height: 18px;
}

.mr-state[b-7lwaofh8a7] {
    display: flex;
    justify-content: center;
    padding: 24px 8px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.mr-spinner[b-7lwaofh8a7] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--st-border);
    border-top-color: #FE00E4;
    border-radius: 50%;
    animation: mr-spin-b-7lwaofh8a7 0.8s linear infinite;
}

@keyframes mr-spin-b-7lwaofh8a7 {
    to {
        transform: rotate(360deg);
    }
}

.mr-list[b-7lwaofh8a7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mr-card[b-7lwaofh8a7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--st-surface);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mr-card-row[b-7lwaofh8a7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.mr-card-left[b-7lwaofh8a7] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.mr-logo[b-7lwaofh8a7] {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--st-surface-strong);
}

.mr-logo img[b-7lwaofh8a7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mr-logo-icon[b-7lwaofh8a7] {
    display: flex;
    color: #FF00FF;
}

.mr-logo-icon svg[b-7lwaofh8a7] {
    width: 28px;
    height: 28px;
}

.mr-info[b-7lwaofh8a7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mr-name[b-7lwaofh8a7] {
    margin: 0;
    overflow: hidden;
    color: var(--st-text-brand);
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mr-detail[b-7lwaofh8a7] {
    color: var(--st-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.mr-meta[b-7lwaofh8a7] {
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mr-badge[b-7lwaofh8a7] {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(222, 163, 1, 0.15);
    color: #b7860b;
    font-size: 0.75rem;
    font-weight: 700;
}

.mr-badge.approved[b-7lwaofh8a7] {
    background: rgba(22, 163, 74, 0.15);
    color: #15803d;
}

.mr-badge.rejected[b-7lwaofh8a7] {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.mr-badge.expired[b-7lwaofh8a7] {
    background: var(--st-fill-4);
    color: var(--st-text-muted);
}

.mr-reason[b-7lwaofh8a7] {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.08);
}

.mr-reason-label[b-7lwaofh8a7] {
    display: block;
    margin-bottom: 4px;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.mr-reason p[b-7lwaofh8a7] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
/* /Pages/Home/Components/User/PlatformConfigSection.razor.rz.scp.css */
/* ==========================================================================
   PlatformConfigSection - SysTime Popup Card Design Theme
   Matches StoreDetailPanel (Colisión) & SetupPanel exactly
   ========================================================================== */

.store-detail-panel.platform-detail-panel[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: clip;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    transition: width 0.35s ease, max-width 0.35s ease;
}

.store-detail-panel.platform-detail-panel.collapsed[b-1cbzqsh8wg] {
    overflow: visible;
    flex-direction: row;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    gap: 12px;
    padding: 10px 12px;
}

/* ==========================================================================
   Full Content View (Popup Card)
   ========================================================================== */
.store-full-content[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.store-detail-panel.platform-detail-panel.collapsed .store-full-content[b-1cbzqsh8wg] {
    display: none;
}

/* ==========================================================================
   Tabs Navigation Strip & Back Button
   ========================================================================== */
.company-tabs-strip[b-1cbzqsh8wg] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    padding: 2px 0 2px 2px;
}

.tabs-back-btn[b-1cbzqsh8wg] {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--st-fill-4);
    border: none;
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tabs-back-btn:hover[b-1cbzqsh8wg] {
    background: var(--st-fill-6);
    transform: translateX(-2px);
}

.rail-back-btn[b-1cbzqsh8wg] {
    margin-bottom: 2px;
}

.company-tabs-scroll-container[b-1cbzqsh8wg] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.company-tabs-scroll[b-1cbzqsh8wg] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    padding: 3px 6px 3px 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.company-tabs-scroll[b-1cbzqsh8wg]::-webkit-scrollbar {
    display: none;
}

.company-tab-pill[b-1cbzqsh8wg] {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: var(--st-fill-4);
    color: var(--st-text-subtle);
}

.company-tab-pill.active[b-1cbzqsh8wg] {
    background: #dea301;
    color: #1a2a42;
    box-shadow: 0 4px 10px rgba(222, 163, 1, 0.35);
}

/* ==========================================================================
   Store Summary Header (matching Image 1)
   ========================================================================== */
.store-summary-header[b-1cbzqsh8wg] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-summary-logo[b-1cbzqsh8wg] {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.store-summary-info[b-1cbzqsh8wg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.store-summary-name[b-1cbzqsh8wg] {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--st-text-strong);
    margin: 0;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.store-summary-meta[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-summary-line[b-1cbzqsh8wg] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

/* ==========================================================================
   Department Folder Tabs (FolderTabStrip)
   ========================================================================== */
.dept-tabs-bar[b-1cbzqsh8wg] {
    flex-shrink: 0;
    margin-bottom: -17px;
    padding-right: 10px;
}

/* ==========================================================================
   Store Config Card (Options List)
   ========================================================================== */
.store-config-card[b-1cbzqsh8wg] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--st-surface);
    border-radius: 0 12px 12px 12px;
    overflow: hidden;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.40);
}

.store-config-body[b-1cbzqsh8wg] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.options-header-row[b-1cbzqsh8wg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.options-header-title[b-1cbzqsh8wg] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--st-text-muted);
}

.dept-edit-btn[b-1cbzqsh8wg] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--st-fill-4);
    color: var(--st-text-body);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dept-edit-btn:hover[b-1cbzqsh8wg] {
    background: #FE00E4;
    color: white;
}

.dept-edit-btn.spinning svg[b-1cbzqsh8wg] {
    animation: pc-spin-b-1cbzqsh8wg 0.8s linear infinite;
}

@keyframes pc-spin-b-1cbzqsh8wg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.store-options-loading[b-1cbzqsh8wg] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 280px;
    padding: 30px 16px;
}

.options-list[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-row[b-1cbzqsh8wg] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface-strong);
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-row:hover[b-1cbzqsh8wg] {
    background: var(--st-surface-stronger);
    transform: translateX(2px);
}

.option-row.selected[b-1cbzqsh8wg] {
    box-shadow: 0 0 0 2px #dea301;
    background: var(--st-surface-stronger);
}

.option-row-icon[b-1cbzqsh8wg] {
    color: var(--st-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-row-icon svg[b-1cbzqsh8wg] {
    width: 20px;
    height: 20px;
}

.option-row-label[b-1cbzqsh8wg] {
    flex: 1;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--st-text-body);
}

.option-row-count[b-1cbzqsh8wg] {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--st-text-muted);
    min-width: 24px;
    text-align: right;
}

/* ==========================================================================
   Riel Colapsado (Left 76px Column - Image 2)
   ========================================================================== */
.store-collapsed-container[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    height: 100%;
    flex-shrink: 0;
}

.store-collapsed-rail[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex: 1;
    min-height: 0;
    padding-bottom: 12px;
    background: var(--st-surface);
    border-radius: 16px 16px 22px 22px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.40);
}

.collapsed-store-photo[b-1cbzqsh8wg] {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.collapsed-dept-header[b-1cbzqsh8wg] {
    flex-shrink: 0;
    width: 100%;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid var(--st-border);
}

.collapsed-dept-title[b-1cbzqsh8wg] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collapsed-dept-expand-btn[b-1cbzqsh8wg] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--st-surface-strong);
    color: var(--st-text-subtle);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collapsed-dept-expand-btn:hover[b-1cbzqsh8wg] {
    background: #dea301;
    color: #1a2a42;
}

.collapsed-options-list[b-1cbzqsh8wg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.collapsed-option-icon[b-1cbzqsh8wg] {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.collapsed-option-icon:hover[b-1cbzqsh8wg] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    transform: scale(1.05);
}

.collapsed-option-icon.active[b-1cbzqsh8wg] {
    background: #dea301;
    color: #ffffff;
}

.collapsed-option-icon.active svg[b-1cbzqsh8wg] {
    color: #ffffff;
    fill: #ffffff;
}

.collapsed-option-icon svg[b-1cbzqsh8wg] {
    width: 22px;
    height: 22px;
}

.collapsed-option-icon.active[b-1cbzqsh8wg]::after {
    display: none !important;
}

.collapsed-option-icon[b-1cbzqsh8wg]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: 7px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 20;
}

.collapsed-option-icon:hover[b-1cbzqsh8wg]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Panel Ancho de la Opción (Right Wide Column - Image 2)
   ========================================================================== */
.store-option-wide-panel[b-1cbzqsh8wg] {
    background: var(--st-surface);
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Shell Feedback & Error Alerts
   ========================================================================== */
.pc-feedback[b-1cbzqsh8wg] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.pc-action-error[b-1cbzqsh8wg] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.pc-state-error[b-1cbzqsh8wg] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
/* /Pages/Home/Components/User/Platform/Assignments/PlatformAssignmentsView.razor.rz.scp.css */
.platform-assignments-view[b-sa4fjepsru] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-sa4fjepsru] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-sa4fjepsru] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-sa4fjepsru] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-wide-search-box[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.search-icon[b-sa4fjepsru] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.pc-wide-search-input[b-sa4fjepsru] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.clear-search[b-sa4fjepsru] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
}

.clear-search:hover[b-sa4fjepsru] {
    color: var(--st-text-subtle);
}

.pc-operator-filter-select[b-sa4fjepsru] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text, #f1f5f9);
    width: 100%;
    cursor: pointer;
}

.pc-operator-filter-select option[b-sa4fjepsru] {
    background-color: #ffffff;
    color: #0f172a;
}

[data-st-theme="dark"] .pc-operator-filter-select option[b-sa4fjepsru] {
    background-color: var(--st-surface, #1f2f45);
    color: var(--st-text, #f1f5f9);
}

.pc-wide-add-btn[b-sa4fjepsru] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-wide-add-btn:hover[b-sa4fjepsru] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-wide-filter-strip[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill[b-sa4fjepsru] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    cursor: pointer;
    transition: all 0.2s;
}

.pc-wide-filter-pill.active[b-sa4fjepsru] {
    /* Inverted pill: strong ink as the fill, the surface as the text, in both themes. */
    background: var(--st-text-strong);
    color: var(--st-surface);
    border-color: var(--st-text-strong);
}

.pill-count[b-sa4fjepsru] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-fill-6);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
}

/* Feedback & Errors */
.pc-feedback[b-sa4fjepsru] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
    border: 1px solid var(--st-success-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
}

.pc-action-error[b-sa4fjepsru] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
}

.pc-state-error[b-sa4fjepsru] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Editor Card */
.pc-editor-card[b-sa4fjepsru] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-editor-title[b-sa4fjepsru] {
    font-size: 1rem;
    font-weight: 800;
    color: var(--st-text);
}

.pc-editor-grid[b-sa4fjepsru] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.pc-field[b-sa4fjepsru] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-field span[b-sa4fjepsru] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.pc-field input[type="text"][b-sa4fjepsru],
.pc-field select[b-sa4fjepsru] {
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--st-text);
    outline: none;
    transition: border-color 0.2s;
    height: 38px;
    box-sizing: border-box;
}

.pc-field input[type="text"]:focus[b-sa4fjepsru],
.pc-field select:focus[b-sa4fjepsru] {
    border-color: #fe00e4;
}

.pc-field select:disabled[b-sa4fjepsru] {
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    cursor: not-allowed;
}

/* Multi-select Dropdown */
.pc-field-multiselect[b-sa4fjepsru] {
    position: relative;
}

.pc-multiselect-container[b-sa4fjepsru] {
    position: relative;
    width: 100%;
}

.pc-multiselect-trigger[b-sa4fjepsru] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    height: 38px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pc-multiselect-trigger:hover[b-sa4fjepsru] {
    border-color: var(--st-border-stronger);
}

.pc-multiselect-trigger.active[b-sa4fjepsru] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 2px rgba(254, 0, 228, 0.15);
}

.pc-multiselect-trigger .pc-multiselect-label[b-sa4fjepsru] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 8px;
    font-size: 13px;
    color: var(--st-text);
    font-weight: 500;
}

.pc-multiselect-chevron[b-sa4fjepsru] {
    color: var(--st-text-subtle);
    transition: transform 0.2s ease, color 0.15s ease;
    flex-shrink: 0;
}

.pc-multiselect-chevron.open[b-sa4fjepsru] {
    transform: rotate(180deg);
    color: #fe00e4;
}

.pc-multiselect-backdrop[b-sa4fjepsru] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: transparent;
}

.pc-multiselect-menu[b-sa4fjepsru] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 320px;
    z-index: 101;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    padding: 6px;
    box-sizing: border-box;
}

.pc-multiselect-item[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--st-text);
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.pc-multiselect-item:hover[b-sa4fjepsru] {
    background: var(--st-surface-muted);
}

.pc-multiselect-item.selected[b-sa4fjepsru] {
    background: rgba(254, 0, 228, 0.08);
    color: #fe00e4;
    font-weight: 600;
}

.pc-multiselect-item input[type="checkbox"][b-sa4fjepsru] {
    accent-color: #fe00e4;
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.pc-multiselect-item .pc-item-text[b-sa4fjepsru] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: inherit;
    font-weight: inherit;
}

.pc-multiselect-divider[b-sa4fjepsru] {
    height: 1px;
    background: var(--st-surface-strong);
    margin: 4px 0;
}

.pc-multiselect-list[b-sa4fjepsru] {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* Actions in Editor */
.pc-editor-actions[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.pc-secondary[b-sa4fjepsru] {
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pc-secondary:hover:not(:disabled)[b-sa4fjepsru] {
    background: var(--st-surface-stronger);
}

.pc-primary[b-sa4fjepsru] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.25);
}

.pc-primary:hover:not(:disabled)[b-sa4fjepsru] {
    background: #d600c0;
}

.pc-primary:disabled[b-sa4fjepsru],
.pc-secondary:disabled[b-sa4fjepsru] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table Card */
.pc-table-card[b-sa4fjepsru] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pc-table[b-sa4fjepsru] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.pc-table th[b-sa4fjepsru] {
    background: var(--st-surface-muted);
    color: var(--st-text-secondary);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.pc-table td[b-sa4fjepsru] {
    padding: 12px 14px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.pc-table tr:last-child td[b-sa4fjepsru] {
    border-bottom: none;
}

.pc-table tr:hover td[b-sa4fjepsru] {
    background: var(--st-surface-muted);
}

.pc-td-name[b-sa4fjepsru] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.pc-audit[b-sa4fjepsru] {
    font-size: 12px;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.pc-store-pills[b-sa4fjepsru] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.pc-store-pill[b-sa4fjepsru] {
    display: inline-flex;
    align-items: center;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pc-bool[b-sa4fjepsru] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.pc-bool-on[b-sa4fjepsru] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pc-bool-off[b-sa4fjepsru] {
    background: var(--st-surface-muted);
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
}

.pc-actions[b-sa4fjepsru] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-btn-icon[b-sa4fjepsru] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--st-border);
    border-radius: 6px;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
}

.pc-btn-icon:hover[b-sa4fjepsru] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
    color: var(--st-text-strong);
}

.pc-btn-icon-danger[b-sa4fjepsru] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
}

.pc-btn-icon-danger:hover[b-sa4fjepsru] {
    background: var(--st-danger-bg);
    border-color: #f87171;
    color: var(--st-danger-fg);
}

.inbox-empty[b-sa4fjepsru] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: var(--st-surface-muted);
    border: 1px dashed var(--st-border-strong);
    border-radius: 12px;
    color: var(--st-text-subtle);
    font-size: 14px;
    font-weight: 500;
}
/* /Pages/Home/Components/User/Platform/Billing/PlatformBillingView.razor.rz.scp.css */
/* ==========================================================================
   PLATFORM BILLING VIEW - FACTURACION Y CARTERA ENTERPRISE
   Homologado 1:1 con PlatformRolesView (SysTime Design System Standard)
   Cero emojis, 100% SVG inline
   ========================================================================== */

.platform-billing-view[b-kg2ej6z9hx] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 0;
    color: var(--st-text);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Wide Header
   -------------------------------------------------------------------------- */
.pc-wide-header[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-kg2ej6z9hx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-kg2ej6z9hx] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-kg2ej6z9hx] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-subscription-badge[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-fg);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   KPIs Grid (4 Cards)
   -------------------------------------------------------------------------- */
.pb-kpi-grid[b-kg2ej6z9hx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.pb-kpi-card[b-kg2ej6z9hx] {
    border-radius: 16px;
    border: 1px solid var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--st-surface);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pb-kpi-card:hover[b-kg2ej6z9hx] {
    transform: translateY(-2px);
    border-color: var(--st-border-strong);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pb-kpi-header[b-kg2ej6z9hx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pb-kpi-label[b-kg2ej6z9hx] {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
}

.pb-kpi-icon[b-kg2ej6z9hx] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-icon-mrr[b-kg2ej6z9hx] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.pb-icon-paid[b-kg2ej6z9hx] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.pb-icon-overdue[b-kg2ej6z9hx] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
}

.pb-icon-subscribed[b-kg2ej6z9hx] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}

.pb-kpi-value[b-kg2ej6z9hx] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pb-text-gold[b-kg2ej6z9hx] {
    color: var(--st-warning-fg);
}

.pb-text-green[b-kg2ej6z9hx] {
    color: var(--st-success-fg);
}

.pb-text-red[b-kg2ej6z9hx] {
    color: var(--st-danger-fg);
}

.pb-text-blue[b-kg2ej6z9hx] {
    color: var(--st-info-fg);
}

.pb-text-muted[b-kg2ej6z9hx] {
    color: var(--st-text-subtle);
}

.pb-text-bold[b-kg2ej6z9hx] {
    font-weight: 700;
}

.pb-kpi-meta[b-kg2ej6z9hx] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    display: flex;
    align-items: center;
}

.pb-badge-pill[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pb-badge-paid[b-kg2ej6z9hx] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pb-badge-overdue[b-kg2ej6z9hx] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.pb-meta-split[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pb-dot[b-kg2ej6z9hx] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.pb-dot-active[b-kg2ej6z9hx] {
    background: #059669;
    box-shadow: 0 0 6px #059669;
}

.pb-dot-suspended[b-kg2ej6z9hx] {
    background: #dc2626;
}

.pb-sep[b-kg2ej6z9hx] {
    color: var(--st-text-faint);
}

/* --------------------------------------------------------------------------
   Controls & Filter Strip
   -------------------------------------------------------------------------- */
.pb-controls-bar[b-kg2ej6z9hx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-wide-search-box[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    min-width: 240px;
}

.pc-wide-search-input[b-kg2ej6z9hx] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pc-clear-btn[b-kg2ej6z9hx] {
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-clear-btn:hover[b-kg2ej6z9hx] {
    color: var(--st-text-secondary);
}

.pc-wide-filter-strip[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-wide-filter-pill:hover[b-kg2ej6z9hx] {
    color: var(--st-text);
    border-color: var(--st-border-strong);
    background: var(--st-surface-strong);
}

.pc-wide-filter-pill.active[b-kg2ej6z9hx] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pc-wide-filter-pill.pc-pill-paid.active[b-kg2ej6z9hx] {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.pc-wide-filter-pill.pc-pill-overdue.active[b-kg2ej6z9hx] {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.pill-count[b-kg2ej6z9hx] {
    opacity: 0.85;
}

/* View Toggle Segmented */
.pb-view-toggle-container[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-toggle-label[b-kg2ej6z9hx] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.pb-segmented-switch[b-kg2ej6z9hx] {
    display: flex;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}

.pb-segmented-btn[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pb-segmented-btn:hover[b-kg2ej6z9hx] {
    color: var(--st-text);
}

.pb-segmented-btn.active[b-kg2ej6z9hx] {
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Table Card & Styles
   -------------------------------------------------------------------------- */
.pc-table-card[b-kg2ej6z9hx] {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    overflow-x: auto;
    width: 100%;
}

.pc-table[b-kg2ej6z9hx] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
    text-align: left;
}

.pc-table th[b-kg2ej6z9hx] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
    border-bottom: 1px solid var(--st-border);
}

.pb-th-actions[b-kg2ej6z9hx] {
    text-align: right;
    padding-right: 18px;
}

.pb-tr[b-kg2ej6z9hx] {
    border-bottom: 1px solid var(--st-border-subtle);
    transition: background 0.15s ease;
}

.pb-tr:hover[b-kg2ej6z9hx] {
    background: var(--st-surface-muted);
}

.pb-tr-overdue[b-kg2ej6z9hx] {
    background: var(--st-surface-muted);
}

.pb-tr-overdue:hover[b-kg2ej6z9hx] {
    background: var(--st-danger-bg);
}

.pb-tr-expanded[b-kg2ej6z9hx] {
    background: var(--st-surface);
}

.pc-table td[b-kg2ej6z9hx] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    font-size: 13px;
    color: var(--st-text-body);
    vertical-align: middle;
}

.pc-td-name[b-kg2ej6z9hx] {
    font-weight: 700;
    color: var(--st-text);
    font-size: 13px;
}

.pb-company-name[b-kg2ej6z9hx] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
}

.pb-td-city[b-kg2ej6z9hx] {
    color: var(--st-text-subtle);
}

.pb-workshop-pill[b-kg2ej6z9hx] {
    display: inline-block;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 6px;
}

.pb-td-date[b-kg2ej6z9hx] {
    color: var(--st-text-subtle);
    font-size: 0.8rem;
}

.pb-td-fee[b-kg2ej6z9hx] {
    font-family: 'Segoe UI Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
}

.pb-badge-count[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
}

/* Status Pills */
.pb-status-pill[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pb-status-paid[b-kg2ej6z9hx] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pb-status-overdue[b-kg2ej6z9hx] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

/* Service Pills */
.pb-service-pill[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pb-service-active[b-kg2ej6z9hx] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
}

.pb-service-suspended[b-kg2ej6z9hx] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.pb-service-dot[b-kg2ej6z9hx] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pb-service-dot.active[b-kg2ej6z9hx] {
    background: #2563eb;
    box-shadow: 0 0 5px #2563eb;
}

.pb-service-dot.suspended[b-kg2ej6z9hx] {
    background: #dc2626;
}

/* Corporate Breakdown Pills */
.pb-breakdown-pills[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pb-pill-mini[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pb-mini-paid[b-kg2ej6z9hx] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pb-mini-overdue[b-kg2ej6z9hx] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

/* Actions */
.pb-td-actions[b-kg2ej6z9hx] {
    text-align: right;
    padding-right: 18px;
}

.pc-actions[b-kg2ej6z9hx] {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.pc-link[b-kg2ej6z9hx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pc-link:hover[b-kg2ej6z9hx] {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}

.pc-link-danger[b-kg2ej6z9hx] {
    color: var(--st-danger-fg);
}

.pc-link-danger:hover[b-kg2ej6z9hx] {
    background: rgba(220, 38, 38, 0.08);
}

.pc-link-success[b-kg2ej6z9hx] {
    color: var(--st-success-fg);
}

.pc-link-success:hover[b-kg2ej6z9hx] {
    background: rgba(5, 150, 105, 0.08);
}

.pc-link-warning[b-kg2ej6z9hx] {
    color: var(--st-warning-fg);
}

.pc-link-warning:hover[b-kg2ej6z9hx] {
    background: rgba(217, 119, 6, 0.08);
}

.pb-btn-expander[b-kg2ej6z9hx] {
    background: transparent;
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pb-btn-expander:hover[b-kg2ej6z9hx] {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
}

.pb-btn-expander.open[b-kg2ej6z9hx] {
    transform: rotate(90deg);
    color: var(--st-warning-fg);
}

/* Nested Container in Accordion */
.pb-tr-nested-container[b-kg2ej6z9hx] {
    background: var(--st-surface-muted);
}

.pb-td-nested[b-kg2ej6z9hx] {
    padding: 0 14px 16px 42px !important;
}

.pb-nested-wrapper[b-kg2ej6z9hx] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pb-nested-header[b-kg2ej6z9hx] {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--st-border);
}

.pb-nested-title[b-kg2ej6z9hx] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--st-warning-fg);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pb-nested-table[b-kg2ej6z9hx] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    color: var(--st-text);
}

.pb-nested-table th[b-kg2ej6z9hx] {
    padding: 8px 10px;
    font-size: 0.68rem;
    color: var(--st-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.pb-nested-table td[b-kg2ej6z9hx] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pb-nested-table tr:last-child td[b-kg2ej6z9hx] {
    border-bottom: none;
}

/* Empty State */
.pb-empty-state[b-kg2ej6z9hx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--st-surface-muted);
    border: 1px dashed var(--st-border-strong);
    border-radius: 10px;
    color: var(--st-text-subtle);
    text-align: center;
}

.pb-empty-title[b-kg2ej6z9hx] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-text);
    margin: 12px 0 4px 0;
}

.pb-empty-desc[b-kg2ej6z9hx] {
    font-size: 0.8rem;
    margin: 0;
    color: var(--st-text-subtle);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .pb-controls-bar[b-kg2ej6z9hx] {
        flex-direction: column;
        align-items: stretch;
    }

    .pc-wide-search-box[b-kg2ej6z9hx] {
        width: 100%;
        min-width: 0;
    }

    .pc-wide-filter-strip[b-kg2ej6z9hx] {
        width: 100%;
    }

    .pb-view-toggle-container[b-kg2ej6z9hx] {
        width: 100%;
        justify-content: space-between;
    }
}
/* /Pages/Home/Components/User/Platform/Catalogs/PlatformCatalogsView.razor.rz.scp.css */
.platform-catalogs-view[b-ty74mkn2la] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-ty74mkn2la] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-ty74mkn2la] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-ty74mkn2la] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-search-input[b-ty74mkn2la] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--st-text);
    outline: none;
    transition: all 0.2s ease;
}

.pc-wide-search-input:focus[b-ty74mkn2la] {
    border-color: #fe00e4;
    background: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.pc-wide-filter-strip[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-pill-button[b-ty74mkn2la] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-pill-button:hover[b-ty74mkn2la] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

.pc-pill-button.active[b-ty74mkn2la] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
    box-shadow: 0 2px 8px rgba(222, 163, 1, 0.35);
}

/* Master-Detail Layout */
.tp-content-layout[b-ty74mkn2la] {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1;
    min-height: 0;
}

.tp-params-list[b-ty74mkn2la] {
    flex: 0 0 380px;
    width: 380px;
    min-width: 280px;
    max-width: 600px;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: none;
    padding-top: 5px;
    padding-right: 8px;
}

.tp-params-list[b-ty74mkn2la]::-webkit-scrollbar {
    display: none;
}

.tp-param-card[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tp-param-card:hover[b-ty74mkn2la] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.tp-param-card.selected[b-ty74mkn2la] {
    border: 2px solid #FFC107;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.2);
    background: var(--st-surface);
}

.tp-param-icon[b-ty74mkn2la] {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tp-param-info[b-ty74mkn2la] {
    flex: 1;
    min-width: 0;
}

.tp-param-name[b-ty74mkn2la] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tp-param-value[b-ty74mkn2la] {
    font-size: 12px;
    color: var(--st-text-subtle);
    margin-top: 3px;
}

.st-panel-resizer[b-ty74mkn2la] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-ty74mkn2la],
.st-panel-resizer.active[b-ty74mkn2la] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-ty74mkn2la]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-ty74mkn2la]::after,
.st-panel-resizer.active[b-ty74mkn2la]::after {
    background-color: #D33BB2;
    height: 48px;
}

.tp-edit-detail[b-ty74mkn2la] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    min-width: 0;
}

/* Detail Header & Titles */
.pc-detail-header[b-ty74mkn2la] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.pc-detail-header-left[b-ty74mkn2la] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pc-section-title[b-ty74mkn2la] {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong);
    margin: 0;
    padding: 0;
    line-height: 1.3;
    word-break: break-word;
}

.pc-section-subtitle[b-ty74mkn2la] {
    display: block;
    font-size: 12px;
    color: var(--st-text-subtle);
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Catalog Rows Error Banner */
.pc-catalog-error-banner[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid var(--st-danger-border);
    border-radius: 12px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.pc-catalog-error-text[b-ty74mkn2la] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-danger-fg);
    word-break: break-word;
    flex: 1;
}

.pc-retry-btn[b-ty74mkn2la] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pc-retry-btn:hover[b-ty74mkn2la] {
    background: var(--st-surface-strong);
    color: var(--st-text);
    border-color: var(--st-text-secondary);
}

/* Badges & Tables */
.pc-badge[b-ty74mkn2la] {
    display: inline-block;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border-radius: 12px;
    font-weight: 600;
}

.pc-badge-replica[b-ty74mkn2la] {
    background: rgba(37, 99, 235, 0.1);
    color: var(--st-info-fg);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.pc-code[b-ty74mkn2la] {
    font-family: monospace;
    font-size: 11px;
    background: var(--st-surface-sunken);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--st-text-strong);
    border: 1px solid var(--st-border-strong);
}

.pc-table-card[b-ty74mkn2la] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pc-table[b-ty74mkn2la] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pc-table th[b-ty74mkn2la] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
}

.pc-table td[b-ty74mkn2la] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pc-table tr:hover[b-ty74mkn2la] {
    background: var(--st-fill-2, rgba(255, 255, 255, 0.03));
}

.pc-catalog-thumb[b-ty74mkn2la] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--st-surface-sunken);
    padding: 2px;
    display: block;
}

.pc-catalog-thumb.is-process[b-ty74mkn2la] {
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    padding: 0;
}

.pc-catalog-thumb-placeholder[b-ty74mkn2la] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--st-surface-sunken);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border-subtle);
}

.pc-name-cell[b-ty74mkn2la] {
    font-weight: 700;
    color: var(--st-text);
}

.pc-group-pill[b-ty74mkn2la] {
    display: inline-block;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.pc-actions-cell[b-ty74mkn2la] {
    white-space: nowrap;
}

.pc-actions-group[b-ty74mkn2la] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pc-btn-action[b-ty74mkn2la] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.pc-btn-action svg[b-ty74mkn2la] {
    flex-shrink: 0;
}

.pc-btn-action-edit[b-ty74mkn2la] {
    background: rgba(254, 0, 228, 0.08);
    color: #fe00e4;
    border-color: rgba(254, 0, 228, 0.2);
}

.pc-btn-action-edit:hover[b-ty74mkn2la] {
    background: #fe00e4;
    color: #ffffff;
    border-color: #fe00e4;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-delete[b-ty74mkn2la] {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.pc-btn-action-delete:hover[b-ty74mkn2la] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-coverage[b-ty74mkn2la] {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.2);
}

.pc-btn-action-coverage:hover[b-ty74mkn2la] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.pc-link[b-ty74mkn2la] {
    background: none;
    border: none;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pc-link:hover[b-ty74mkn2la] {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}

.pc-link-danger[b-ty74mkn2la] {
    color: var(--st-danger-fg);
}

.pc-link-danger:hover[b-ty74mkn2la] {
    background: rgba(220, 38, 38, 0.08);
}

.pc-primary[b-ty74mkn2la] {
    background: #fe00e4;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-primary:hover[b-ty74mkn2la] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-primary:disabled[b-ty74mkn2la] {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.pc-secondary[b-ty74mkn2la] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-secondary:hover[b-ty74mkn2la] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

.pc-danger[b-ty74mkn2la] {
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-danger:hover[b-ty74mkn2la] {
    background: #b91c1c;
}

.pc-danger:disabled[b-ty74mkn2la] {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Editor Form Card */
.pc-editor-card[b-ty74mkn2la] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.pc-editor-title[b-ty74mkn2la] {
    font-weight: 800;
    font-size: 14px;
    color: var(--st-text);
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 8px;
}

.pc-editor-error[b-ty74mkn2la] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.pc-editor-grid[b-ty74mkn2la] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pc-field[b-ty74mkn2la] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-field span[b-ty74mkn2la] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
}

.pc-field input[b-ty74mkn2la],
.pc-field select[b-ty74mkn2la] {
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--st-text);
    outline: none;
    transition: border-color 0.2s;
}

.pc-field input:focus[b-ty74mkn2la],
.pc-field select:focus[b-ty74mkn2la] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.pc-field-wide[b-ty74mkn2la] {
    grid-column: 1 / -1;
}

.pc-input-readonly[b-ty74mkn2la] {
    background: var(--st-surface-sunken) !important;
    color: var(--st-text-subtle) !important;
    cursor: not-allowed;
}

/* Photo Section in Editor */
.pc-photo-edit-group[b-ty74mkn2la] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-photo-control[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.pc-photo-preview-wrapper[b-ty74mkn2la] {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.pc-photo-preview-wrapper.is-process[b-ty74mkn2la] {
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
}

.pc-photo-preview-wrapper.is-process .pc-photo-preview[b-ty74mkn2la] {
    padding: 0;
}

.pc-photo-preview[b-ty74mkn2la] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.pc-photo-preview-placeholder[b-ty74mkn2la] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.pc-photo-actions[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pc-photo-btn[b-ty74mkn2la] {
    display: inline-flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-photo-btn:hover[b-ty74mkn2la] {
    background: var(--st-surface-strong);
    color: var(--st-text);
    border-color: var(--st-text-secondary);
}

.pc-photo-btn.disabled[b-ty74mkn2la] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.pc-photo-btn-remove[b-ty74mkn2la] {
    background: none;
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-photo-btn-remove:hover[b-ty74mkn2la] {
    background: rgba(220, 38, 38, 0.08);
}

.pc-editor-actions[b-ty74mkn2la] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

.pc-confirm-strip[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    border-radius: 12px;
    color: var(--st-danger-text);
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

.pc-confirm-actions[b-ty74mkn2la] {
    display: flex;
    gap: 8px;
}

.pc-action-feedback[b-ty74mkn2la] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.pc-action-ok[b-ty74mkn2la] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
}

.pc-action-error[b-ty74mkn2la] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
}

.pc-inline-close[b-ty74mkn2la] {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    padding: 0 4px;
}

.pc-feedback[b-ty74mkn2la] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.pc-spin[b-ty74mkn2la] {
    animation: pc-spinner-b-ty74mkn2la 1s linear infinite;
}

@keyframes pc-spinner-b-ty74mkn2la {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* /Pages/Home/Components/User/Platform/Launch/PlatformLaunchWavesView.razor.rz.scp.css */
.platform-launch-view[b-mpvtu5zuq1] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.pl-header[b-mpvtu5zuq1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.pl-title[b-mpvtu5zuq1] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pl-subtitle[b-mpvtu5zuq1] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 2px 0 0;
}

.pl-search-box[b-mpvtu5zuq1] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.pl-search-input[b-mpvtu5zuq1] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pl-clear[b-mpvtu5zuq1] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
}

.pl-summary[b-mpvtu5zuq1] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body);
}

.pl-filter-strip[b-mpvtu5zuq1] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pl-pill[b-mpvtu5zuq1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pl-pill.active[b-mpvtu5zuq1] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pl-count[b-mpvtu5zuq1] {
    font-size: 11px;
    opacity: 0.85;
}

.pl-table-card[b-mpvtu5zuq1] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pl-table[b-mpvtu5zuq1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pl-table th[b-mpvtu5zuq1] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
}

.pl-table td[b-mpvtu5zuq1] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pl-table tr:hover[b-mpvtu5zuq1] {
    background: var(--st-surface-muted);
}

.pl-name[b-mpvtu5zuq1] {
    font-weight: 700;
    color: var(--st-text);
}

.pl-actions-cell[b-mpvtu5zuq1] {
    white-space: nowrap;
}

.pl-badge[b-mpvtu5zuq1] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pl-badge.is-on[b-mpvtu5zuq1] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pl-badge.is-off[b-mpvtu5zuq1] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.pl-badge.is-default[b-mpvtu5zuq1] {
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

.pl-inactive[b-mpvtu5zuq1] {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
}

.pl-ready[b-mpvtu5zuq1] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-success-fg);
}

.pl-missing[b-mpvtu5zuq1] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-warning-fg);
}

.pl-btn[b-mpvtu5zuq1] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.pl-btn:disabled[b-mpvtu5zuq1] {
    opacity: 0.55;
    cursor: default;
}

.pl-btn.is-primary[b-mpvtu5zuq1] {
    background: #dea301;
    border-color: #dea301;
    color: #ffffff;
}

.pl-btn.is-danger[b-mpvtu5zuq1] {
    background: var(--st-danger-fg);
    border-color: var(--st-danger-fg);
    color: #ffffff;
}

.pl-btn.is-danger-ghost[b-mpvtu5zuq1] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
}

.pl-btn.is-primary-ghost[b-mpvtu5zuq1] {
    color: var(--st-success-fg);
    border-color: var(--st-success-border);
}

.pl-link[b-mpvtu5zuq1] {
    background: transparent;
    border: none;
    color: #fe00e4;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
}

.pl-confirm[b-mpvtu5zuq1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--st-text-body);
}

.pl-confirm.is-off[b-mpvtu5zuq1] {
    border-color: var(--st-warning-border, var(--st-border));
}

.pl-confirm-actions[b-mpvtu5zuq1] {
    display: flex;
    gap: 8px;
}

.pl-feedback[b-mpvtu5zuq1] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pl-error[b-mpvtu5zuq1] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pl-empty[b-mpvtu5zuq1] {
    padding: 24px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 13px;
}

.pl-loading[b-mpvtu5zuq1] {
    padding: 24px;
}
/* /Pages/Home/Components/User/Platform/Metrics/PlatformMetricsView.razor.rz.scp.css */
/* ==========================================================================
   PLATFORM METRICS VIEW - TELEMETRIA Y METRICAS DE OPERARIOS
   Homologado 1:1 con PlatformRolesView (SysTime Design System Standard)
   Cero emojis, 100% SVG inline
   ========================================================================== */

.platform-metrics-view[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 0;
    color: var(--st-text);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Wide Header
   -------------------------------------------------------------------------- */
.pc-wide-header[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-1gpbw8nwm7] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-1gpbw8nwm7] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-telemetry-badge[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

.pm-pulse-dot[b-1gpbw8nwm7] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pm-pulse-b-1gpbw8nwm7 1.8s infinite;
}

@keyframes pm-pulse-b-1gpbw8nwm7 {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* --------------------------------------------------------------------------
   KPIs Grid (4 Cards)
   -------------------------------------------------------------------------- */
.pm-kpi-grid[b-1gpbw8nwm7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.pm-kpi-card[b-1gpbw8nwm7] {
    border-radius: 16px;
    border: 1px solid var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--st-surface);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pm-kpi-card:hover[b-1gpbw8nwm7] {
    transform: translateY(-2px);
    border-color: var(--st-border-strong);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pm-kpi-header[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-kpi-label[b-1gpbw8nwm7] {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
}

.pm-kpi-icon[b-1gpbw8nwm7] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-icon-techs[b-1gpbw8nwm7] { background: var(--st-info-bg-strong); color: var(--st-info-fg); }
.pm-icon-hours[b-1gpbw8nwm7] { background: var(--st-warning-bg-strong); color: var(--st-warning-fg); }
.pm-icon-wip[b-1gpbw8nwm7]   { background: var(--st-accent-bg); color: #d81b84; }
.pm-icon-eff[b-1gpbw8nwm7]   { background: var(--st-success-bg-strong); color: var(--st-success-fg); }

.pm-kpi-value[b-1gpbw8nwm7] {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pm-text-blue[b-1gpbw8nwm7]   { color: var(--st-info-fg); }
.pm-text-gold[b-1gpbw8nwm7]   { color: var(--st-warning-fg); }
.pm-text-magenta[b-1gpbw8nwm7]{ color: #d81b84; }
.pm-text-green[b-1gpbw8nwm7]  { color: var(--st-success-fg); }

.pm-kpi-meta[b-1gpbw8nwm7] {
    font-size: 12px;
    color: var(--st-text-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-badge-pill[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.pm-badge-green[b-1gpbw8nwm7] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.pm-badge-gold[b-1gpbw8nwm7] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

/* --------------------------------------------------------------------------
   Barra de Filtros y Controles
   -------------------------------------------------------------------------- */
.pm-controls-bar[b-1gpbw8nwm7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pm-search-container[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 260px;
    flex-wrap: wrap;
}

.pc-wide-search-box[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    min-width: 240px;
}

.pc-wide-search-input[b-1gpbw8nwm7] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pc-clear-btn[b-1gpbw8nwm7] {
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-clear-btn:hover[b-1gpbw8nwm7] {
    color: var(--st-text-secondary);
}

.pm-select-filter[b-1gpbw8nwm7] {
    border-radius: 20px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
    padding: 6px 14px;
    outline: none;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.2s ease;
}

.pm-select-filter:focus[b-1gpbw8nwm7] {
    border-color: #0284c7;
    background: var(--st-surface);
}

.pm-view-segmented[b-1gpbw8nwm7] {
    display: inline-flex;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}

.pm-segment-btn[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-segment-btn:hover[b-1gpbw8nwm7] {
    color: var(--st-text);
}

.pm-segment-btn.active[b-1gpbw8nwm7] {
    background: var(--st-surface);
    color: var(--st-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Tabla y Cards
   -------------------------------------------------------------------------- */
.pc-table-card[b-1gpbw8nwm7] {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    overflow-x: auto;
    width: 100%;
}

.pc-table[b-1gpbw8nwm7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
    text-align: left;
}

.pc-table thead[b-1gpbw8nwm7] {
    background: var(--st-surface-muted);
    border-bottom: 1px solid var(--st-border);
}

.pc-table th[b-1gpbw8nwm7] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-subtle);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--st-border);
}

.pc-table td[b-1gpbw8nwm7] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
    font-size: 13px;
}

.pc-table tr:hover[b-1gpbw8nwm7] {
    background: var(--st-surface-muted);
}

.pc-td-name[b-1gpbw8nwm7],
.pm-td-store[b-1gpbw8nwm7] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
}

.pm-td-numeric[b-1gpbw8nwm7] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pm-wip-badge-btn[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf2f8;
    color: #d81b84;
    border: 1px solid #fbcfe8;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-wip-badge-btn:hover[b-1gpbw8nwm7] {
    background: #fce7f3;
    border-color: #f472b6;
    color: #be185d;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(216, 27, 132, 0.15);
}

.pm-wip-badge-btn svg[b-1gpbw8nwm7] {
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.pm-wip-badge-btn:hover svg[b-1gpbw8nwm7] {
    transform: translate(1px, -1px);
}

.pm-wip-badge-btn.active[b-1gpbw8nwm7] {
    background: #fce7f3;
    border-color: #d81b84;
    color: #be185d;
    box-shadow: 0 0 0 2px rgba(216, 27, 132, 0.2);
}

.pm-pill-eff[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.pm-pill-high[b-1gpbw8nwm7] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.pm-pill-med[b-1gpbw8nwm7] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.pm-pill-low[b-1gpbw8nwm7] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-text);
}

.pm-pill-status[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pm-status-active[b-1gpbw8nwm7] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-text);
}

.pm-status-inactive[b-1gpbw8nwm7] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
}

.pc-actions[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-link[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pc-link:hover[b-1gpbw8nwm7] {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Acordeon Detalle de Taller (Operarios y Departamentos)
   -------------------------------------------------------------------------- */
.pm-accordion-row[b-1gpbw8nwm7] {
    background: var(--st-surface-muted) !important;
}

.pm-accordion-row td[b-1gpbw8nwm7] {
    padding: 0 !important;
    border-bottom: 2px solid var(--st-border) !important;
}

.pm-accordion-body[b-1gpbw8nwm7] {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Barra de Navegacion de Pestanas del Acordeon */
.pm-accordion-nav-bar[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pm-workshop-identity[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-workshop-tag[b-1gpbw8nwm7] {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.pm-workshop-sub[b-1gpbw8nwm7] {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.pm-accordion-tabs[b-1gpbw8nwm7] {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
    flex-wrap: wrap;
}

.pm-tab-btn[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-tab-btn:hover[b-1gpbw8nwm7] {
    color: #1e293b;
}

.pm-tab-btn.active[b-1gpbw8nwm7] {
    background: #ffffff;
    color: #d81b84;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.pm-tab-btn svg[b-1gpbw8nwm7] {
    flex-shrink: 0;
}

.pm-dept-bar-card[b-1gpbw8nwm7] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-dept-bar-title[b-1gpbw8nwm7] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-dept-progress-bar[b-1gpbw8nwm7] {
    height: 12px;
    border-radius: 6px;
    background: var(--st-surface-sunken);
    overflow: hidden;
    display: flex;
    width: 100%;
}

.pm-dept-segment[b-1gpbw8nwm7] {
    height: 100%;
    transition: width 0.3s ease;
}

.pm-bg-colision[b-1gpbw8nwm7] { background-color: #fe00e4; }
.pm-bg-chapa[b-1gpbw8nwm7]    { background-color: #0284c7; }
.pm-bg-pintura[b-1gpbw8nwm7]  { background-color: #fe00e4; }
.pm-bg-mecanica[b-1gpbw8nwm7] { background-color: #dea301; }
.pm-bg-lavado[b-1gpbw8nwm7]   { background-color: #06b6d4; }
.pm-bg-calidad[b-1gpbw8nwm7]  { background-color: #059669; }
.pm-bg-indigo[b-1gpbw8nwm7]   { background-color: #6366f1; }

.pm-dept-legend[b-1gpbw8nwm7] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.pm-dept-legend-item[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--st-text-body);
}

.pm-dept-dot[b-1gpbw8nwm7] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Grilla de Nómina de Técnicos */
.pm-technicians-section[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-technicians-title[b-1gpbw8nwm7] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-technicians-grid[b-1gpbw8nwm7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.pm-tech-card[b-1gpbw8nwm7] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.pm-tech-card:hover[b-1gpbw8nwm7] {
    transform: translateY(-1px);
    border-color: var(--st-border-strong);
}

.pm-tech-left[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pm-tech-avatar[b-1gpbw8nwm7] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--st-surface-sunken);
    color: var(--st-fg-muted);
    flex-shrink: 0;
}

.pm-tech-avatar-img[b-1gpbw8nwm7] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--st-border-strong);
    flex-shrink: 0;
    display: block;
}

.pm-tech-info[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pm-tech-name[b-1gpbw8nwm7] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-tech-role[b-1gpbw8nwm7] {
    font-size: 11px;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-tech-task[b-1gpbw8nwm7] {
    font-size: 11px;
    color: var(--st-info-fg);
    font-weight: 600;
    display: flex;
    gap: 4px;
    align-items: center;
}

.pm-tech-right[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.pm-tech-hours[b-1gpbw8nwm7] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text);
}

.pm-tech-status-badge[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.pm-tech-status-working[b-1gpbw8nwm7] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.pm-tech-status-available[b-1gpbw8nwm7] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}

.pm-tech-status-paused[b-1gpbw8nwm7] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
}

.pm-tech-status-offshift[b-1gpbw8nwm7] {
    background: #f1f5f9;
    color: #64748b;
}

.pm-empty-state[b-1gpbw8nwm7] {
    text-align: center;
    padding: 40px 20px;
    color: var(--st-text-subtle);
    font-size: 14px;
}

.pm-loading-container[b-1gpbw8nwm7] {
    padding: 48px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Conmutador de Periodo Temporal
   -------------------------------------------------------------------------- */
.pm-period-selector[b-1gpbw8nwm7] {
    display: inline-flex;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}

.pm-period-btn[b-1gpbw8nwm7] {
    border: none;
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.pm-period-btn:hover[b-1gpbw8nwm7] {
    color: var(--st-text);
}

/* --------------------------------------------------------------------------
   Banner de Sincronizacion / Aviso de Metricas
   -------------------------------------------------------------------------- */
.pm-sync-banner[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(245, 158, 11, 0.08);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    padding: 10px 16px;
    font-size: 13px;
    color: var(--st-text);
}

.pm-sync-banner-content[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-sync-banner-icon[b-1gpbw8nwm7] {
    color: #f59e0b;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pm-sync-banner-btn[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.pm-sync-banner-btn:hover:not(:disabled)[b-1gpbw8nwm7] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.pm-sync-banner-btn:disabled[b-1gpbw8nwm7] {
    opacity: 0.6;
    cursor: not-allowed;
}

@keyframes pm-spin-b-1gpbw8nwm7 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pm-spin[b-1gpbw8nwm7] {
    animation: pm-spin-b-1gpbw8nwm7 1s linear infinite;
}

.pm-period-btn.active[b-1gpbw8nwm7] {
    background: var(--st-surface);
    color: #d81b84;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Pildoras de Adopcion SysTime (WAS)
   -------------------------------------------------------------------------- */
.pm-adoption-pill[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pm-adoption-excellent[b-1gpbw8nwm7] {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.pm-adoption-high[b-1gpbw8nwm7] {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.pm-adoption-medium[b-1gpbw8nwm7] {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.pm-adoption-low[b-1gpbw8nwm7] {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.pm-icon-adoption[b-1gpbw8nwm7] {
    background: rgba(222, 163, 1, 0.15);
    color: #dea301;
}

.pm-badge-red[b-1gpbw8nwm7] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-text);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .pm-controls-bar[b-1gpbw8nwm7] {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-search-container[b-1gpbw8nwm7] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .pc-wide-search-box[b-1gpbw8nwm7] {
        width: 100%;
        min-width: 0;
    }

    .pm-select-filter[b-1gpbw8nwm7] {
        width: 100%;
    }

    .pm-period-selector[b-1gpbw8nwm7] {
        width: 100%;
        justify-content: space-between;
    }

    .pm-view-segmented[b-1gpbw8nwm7] {
        width: 100%;
        justify-content: space-between;
    }
}

/* Boton de Accion Estandar Systime */
.pc-btn-action[b-1gpbw8nwm7] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.pc-btn-action svg[b-1gpbw8nwm7] {
    flex-shrink: 0;
}

.pc-btn-action-chevron[b-1gpbw8nwm7] {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accion Detalle Taller - Azul Telemetria */
.pc-btn-action-detail[b-1gpbw8nwm7] {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.22);
}

.pc-btn-action-detail:hover[b-1gpbw8nwm7] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-detail:active[b-1gpbw8nwm7] {
    transform: translateY(0);
}

/* Estado Expandido - Destacado activo con feedback claro */
.pc-btn-action-detail.is-expanded[b-1gpbw8nwm7] {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.pc-btn-action-detail.is-expanded:hover[b-1gpbw8nwm7] {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

/* Chip atenuado para estado sin datos */
.pm-no-data-chip[b-1gpbw8nwm7] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================================
   ANIMACIONES MODERNAS DE TELEMETRIA Y CARGA
   ========================================================================== */

/* Shimmer general */
@keyframes pm-shimmer-b-1gpbw8nwm7 {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Micro-barra de progreso indeterminada superior */
.pm-refresh-progress-bar[b-1gpbw8nwm7] {
    width: 100%;
    height: 3px;
    background: rgba(37, 99, 235, 0.15);
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.pm-progress-indicator[b-1gpbw8nwm7] {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 35%;
    background: linear-gradient(90deg, #2563eb, #d81b84, #2563eb);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: pm-indeterminate-b-1gpbw8nwm7 1.5s infinite ease-in-out;
}

@keyframes pm-indeterminate-b-1gpbw8nwm7 {
    0% {
        left: -35%;
        width: 35%;
    }
    50% {
        left: 35%;
        width: 50%;
    }
    100% {
        left: 100%;
        width: 35%;
    }
}

/* Tarjeta KPI Skeleton Shimmer */
.pm-kpi-card.pm-kpi-skeleton[b-1gpbw8nwm7] {
    pointer-events: none;
    user-select: none;
    border-color: var(--st-border-subtle);
    background: var(--st-surface);
}

.pm-skeleton-label[b-1gpbw8nwm7] {
    width: 110px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--st-surface-sunken) 25%, rgba(255, 255, 255, 0.05) 50%, var(--st-surface-sunken) 75%);
    background-size: 200% 100%;
    animation: pm-shimmer-b-1gpbw8nwm7 1.8s infinite;
}

.pm-skeleton-icon[b-1gpbw8nwm7] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--st-surface-sunken) 25%, rgba(255, 255, 255, 0.05) 50%, var(--st-surface-sunken) 75%);
    background-size: 200% 100%;
    animation: pm-shimmer-b-1gpbw8nwm7 1.8s infinite;
}

.pm-skeleton-value[b-1gpbw8nwm7] {
    width: 70px;
    height: 28px;
    border-radius: 6px;
    margin: 4px 0;
    background: linear-gradient(90deg, var(--st-surface-sunken) 25%, rgba(255, 255, 255, 0.05) 50%, var(--st-surface-sunken) 75%);
    background-size: 200% 100%;
    animation: pm-shimmer-b-1gpbw8nwm7 1.8s infinite;
}

.pm-skeleton-meta[b-1gpbw8nwm7] {
    width: 140px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--st-surface-sunken) 25%, rgba(255, 255, 255, 0.05) 50%, var(--st-surface-sunken) 75%);
    background-size: 200% 100%;
    animation: pm-shimmer-b-1gpbw8nwm7 1.8s infinite;
}

/* Indicador central de Telemetría (Radar y Anillos) */
.pm-telemetry-loader-container[b-1gpbw8nwm7] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    width: 100%;
    min-height: 280px;
}

.pm-telemetry-loader[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.pm-loader-rings[b-1gpbw8nwm7] {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-ring[b-1gpbw8nwm7] {
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
}

.pm-ring-outer[b-1gpbw8nwm7] {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(37, 99, 235, 0.35);
    animation: pm-radar-spin-b-1gpbw8nwm7 8s linear infinite;
}

.pm-ring-inner[b-1gpbw8nwm7] {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(216, 27, 132, 0.25);
    animation: pm-radar-spin-reverse-b-1gpbw8nwm7 5s linear infinite;
}

.pm-radar-sweep[b-1gpbw8nwm7] {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(37, 99, 235, 0.4) 0deg, rgba(216, 27, 132, 0.1) 45deg, transparent 90deg);
    animation: pm-radar-spin-b-1gpbw8nwm7 2s linear infinite;
    pointer-events: none;
}

.pm-radar-core[b-1gpbw8nwm7] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.8), 0 0 20px rgba(216, 27, 132, 0.5);
    animation: pm-pulse-glow-b-1gpbw8nwm7 1.8s infinite ease-in-out;
}

.pm-loader-text-group[b-1gpbw8nwm7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.pm-loader-title[b-1gpbw8nwm7] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text);
    letter-spacing: -0.01em;
}

.pm-loader-subtitle[b-1gpbw8nwm7] {
    font-size: 13px;
    color: var(--st-text-subtle);
    max-width: 480px;
    line-height: 1.4;
}

/* Transicion Suave Fade-In al cargar datos */
.pm-loaded-content[b-1gpbw8nwm7] {
    animation: pm-fade-in-b-1gpbw8nwm7 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pm-radar-spin-b-1gpbw8nwm7 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pm-radar-spin-reverse-b-1gpbw8nwm7 {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pm-pulse-glow-b-1gpbw8nwm7 {
    0%, 100% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes pm-fade-in-b-1gpbw8nwm7 {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* /Pages/Home/Components/User/Platform/Metrics/PlatformWorkshopAdoptionSection.razor.rz.scp.css */
/* ==========================================================================
   PLATFORM WORKSHOP ADOPTION SECTION - INDICE DE ADOPCION SYSTIME (WAS)
   Homologado 1:1 con PlatformMetricsView y estandares de Systime Design System
   Cero emojis, 100% SVG inline
   ========================================================================== */

.pm-workshop-adoption-section[b-jeissyan25] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    color: var(--st-text, #1e293b);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Scorecard Superior del Taller
   -------------------------------------------------------------------------- */
.pm-adoption-scorecard[b-jeissyan25] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pm-scorecard-overall[b-jeissyan25] {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.pm-overall-badge-container[b-jeissyan25] {
    flex-shrink: 0;
}

.pm-overall-gauge[b-jeissyan25] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f2f45 0%, #0f172a 100%);
    border: 3px solid #d81b84;
    box-shadow: 0 4px 14px rgba(216, 27, 132, 0.25);
    color: #ffffff;
    text-align: center;
}

.pm-overall-value[b-jeissyan25] {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.pm-overall-caption[b-jeissyan25] {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #dea301;
    margin-top: 3px;
}

.pm-overall-details[b-jeissyan25] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pm-overall-title-row[b-jeissyan25] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pm-overall-title[b-jeissyan25] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.pm-overall-desc[b-jeissyan25] {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Level Pills */
.pm-adoption-pill[b-jeissyan25] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pm-adoption-excellent[b-jeissyan25] {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.pm-adoption-high[b-jeissyan25] {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.pm-adoption-medium[b-jeissyan25] {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.pm-adoption-low[b-jeissyan25] {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* --------------------------------------------------------------------------
   4 Tarjetas de Pilares
   -------------------------------------------------------------------------- */
.pm-pillars-grid[b-jeissyan25] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pm-pillar-card[b-jeissyan25] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.pm-pillar-card:hover[b-jeissyan25] {
    transform: translateY(-1px);
    border-color: #cbd5e1;
}

.pm-pillar-header[b-jeissyan25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-pillar-tag[b-jeissyan25] {
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-pillar-icon[b-jeissyan25] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-picon-users[b-jeissyan25]    { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.pm-picon-autonomy[b-jeissyan25] { background: rgba(16, 185, 129, 0.12); color: #059669; }
.pm-picon-times[b-jeissyan25]    { background: rgba(222, 163, 1, 0.15); color: #d97706; }
.pm-picon-reception[b-jeissyan25]{ background: rgba(216, 27, 132, 0.12); color: #d81b84; }

.pm-pillar-score[b-jeissyan25] {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

.pm-text-blue[b-jeissyan25]   { color: #2563eb; }
.pm-text-green[b-jeissyan25]  { color: #059669; }
.pm-text-gold[b-jeissyan25]   { color: #d97706; }
.pm-text-magenta[b-jeissyan25]{ color: #d81b84; }

.pm-pillar-bar[b-jeissyan25] {
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    overflow: hidden;
    width: 100%;
}

.pm-pillar-fill[b-jeissyan25] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pm-pfill-blue[b-jeissyan25]   { background: #3b82f6; }
.pm-pfill-green[b-jeissyan25]  { background: #10b981; }
.pm-pfill-gold[b-jeissyan25]   { background: #f59e0b; }
.pm-pfill-magenta[b-jeissyan25]{ background: #d81b84; }

.pm-pillar-meta[b-jeissyan25] {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Barra de Herramientas y Filtros
   -------------------------------------------------------------------------- */
.pm-adoption-toolbar[b-jeissyan25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
}

.pm-category-pills[b-jeissyan25] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pm-cat-pill-btn[b-jeissyan25] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-cat-pill-btn:hover[b-jeissyan25] {
    color: #1e293b;
    background: #f1f5f9;
}

.pm-cat-pill-btn.active[b-jeissyan25] {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
}

.pm-cat-pill-champ.active[b-jeissyan25] {
    background: #059669;
    border-color: #059669;
}

.pm-cat-pill-act.active[b-jeissyan25] {
    background: #2563eb;
    border-color: #2563eb;
}

.pm-cat-pill-asst.active[b-jeissyan25] {
    background: #d97706;
    border-color: #d97706;
}

.pm-cat-pill-inact.active[b-jeissyan25] {
    background: #dc2626;
    border-color: #dc2626;
}

.pm-dot[b-jeissyan25] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.pm-dot-green[b-jeissyan25] { background-color: #10b981; }
.pm-dot-blue[b-jeissyan25]  { background-color: #3b82f6; }
.pm-dot-amber[b-jeissyan25] { background-color: #f59e0b; }
.pm-dot-red[b-jeissyan25]   { background-color: #ef4444; }

.pm-adoption-search-box[b-jeissyan25] {
    min-width: 280px;
}

/* --------------------------------------------------------------------------
   Cuadrícula de Colaboradores
   -------------------------------------------------------------------------- */
.pm-adoption-users-grid[b-jeissyan25] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}

.pm-user-adoption-card[b-jeissyan25] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pm-user-adoption-card:hover[b-jeissyan25] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Card Top */
.pm-user-card-top[b-jeissyan25] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-user-card-avatar[b-jeissyan25] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm-user-avatar-img[b-jeissyan25] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-user-initials[b-jeissyan25] {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
}

.pm-user-card-info[b-jeissyan25] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.pm-user-name[b-jeissyan25] {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-user-job[b-jeissyan25] {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-user-card-badge[b-jeissyan25] {
    flex-shrink: 0;
}

/* Status Badges */
.pm-cat-badge[b-jeissyan25] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pm-cat-champion[b-jeissyan25] {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.pm-cat-active[b-jeissyan25] {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #2563eb;
}

.pm-cat-assisted[b-jeissyan25] {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}

.pm-cat-inactive[b-jeissyan25] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

/* Autonomy Box */
.pm-user-autonomy-box[b-jeissyan25] {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pm-user-autonomy-header[b-jeissyan25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.pm-autonomy-title[b-jeissyan25] {
    color: #475569;
    font-weight: 600;
}

.pm-autonomy-percent[b-jeissyan25] {
    color: #059669;
    font-weight: 700;
}

.pm-autonomy-track[b-jeissyan25] {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.pm-autonomy-fill[b-jeissyan25] {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pm-autonomy-sub[b-jeissyan25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: #94a3b8;
}

/* User Metrics Row */
.pm-user-metrics-row[b-jeissyan25] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}

.pm-user-metric-col[b-jeissyan25] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pm-um-val[b-jeissyan25] {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.pm-um-lbl[b-jeissyan25] {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Card Footer */
.pm-user-card-footer[b-jeissyan25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}

.pm-user-last-action[b-jeissyan25] {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
    color: #475569;
}

.pm-user-last-action svg[b-jeissyan25] {
    flex-shrink: 0;
    color: #d81b84;
}

.pm-user-time[b-jeissyan25] {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 10.5px;
}

.pm-empty-state[b-jeissyan25] {
    text-align: center;
    padding: 32px 16px;
    color: #64748b;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pm-scorecard-overall[b-jeissyan25] {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-adoption-toolbar[b-jeissyan25] {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-adoption-search-box[b-jeissyan25] {
        width: 100%;
        min-width: 0;
    }
}
/* /Pages/Home/Components/User/Platform/Metrics/PlatformWorkshopSettingsSection.razor.rz.scp.css */
/* --------------------------------------------------------------------------
   PlatformWorkshopSettingsSection — Estilos Modulares Homologados Systime
   -------------------------------------------------------------------------- */
.pm-workshop-settings-section[b-xbo2ikixrz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Mini-KPIs Bar
   -------------------------------------------------------------------------- */
.pm-settings-kpi-bar[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pm-skpi-item[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.pm-skpi-label[b-xbo2ikixrz] {
    color: #64748b;
    font-weight: 500;
}

.pm-skpi-value[b-xbo2ikixrz] {
    color: #1e293b;
    font-weight: 600;
}

.pm-text-magenta[b-xbo2ikixrz] {
    color: #d81b84;
}

.pm-text-emerald[b-xbo2ikixrz] {
    color: #059669;
}

.pm-text-navy[b-xbo2ikixrz] {
    color: #0f172a;
}

.font-bold[b-xbo2ikixrz] {
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Alertas y Feedback
   -------------------------------------------------------------------------- */
.pm-settings-alert[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    animation: fadeIn-b-xbo2ikixrz 0.2s ease-in-out;
}

.pm-alert-left[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.pm-alert-success[b-xbo2ikixrz] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.pm-alert-error[b-xbo2ikixrz] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.pm-alert-actions[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-retry-btn[b-xbo2ikixrz] {
    background: #991b1b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pm-retry-btn:hover[b-xbo2ikixrz] {
    background: #7f1d1d;
}

.pm-alert-dismiss[b-xbo2ikixrz] {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.pm-alert-dismiss:hover[b-xbo2ikixrz] {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Barra de Herramientas
   -------------------------------------------------------------------------- */
.pm-settings-toolbar[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pm-view-segmented[b-xbo2ikixrz] {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}

.pm-segment-btn[b-xbo2ikixrz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-segment-btn:hover[b-xbo2ikixrz] {
    color: #1e293b;
}

.pm-segment-btn.active[b-xbo2ikixrz] {
    background: #ffffff;
    color: #d81b84;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.pm-settings-filters-row[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.pm-ssearch-box[b-xbo2ikixrz] {
    min-width: 260px;
    max-width: 380px;
    flex: 1;
}

.pc-wide-search-box[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    gap: 8px;
    transition: all 0.2s ease;
}

.pc-wide-search-box:focus-within[b-xbo2ikixrz] {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.pc-wide-search-input[b-xbo2ikixrz] {
    border: none;
    background: transparent;
    font-size: 13px;
    color: #1e293b;
    width: 100%;
    outline: none;
}

.pc-wide-search-input[b-xbo2ikixrz]::placeholder {
    color: #94a3b8;
}

.pc-clear-btn[b-xbo2ikixrz] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-clear-btn:hover[b-xbo2ikixrz] {
    color: #475569;
}

.pm-select-filter[b-xbo2ikixrz] {
    border-radius: 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    padding: 6px 14px;
    outline: none;
    cursor: pointer;
    min-width: 170px;
    transition: all 0.2s ease;
}

.pm-select-filter:focus[b-xbo2ikixrz] {
    border-color: #0284c7;
    background: #ffffff;
}

.pm-clear-all-btn[b-xbo2ikixrz] {
    background: transparent;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-clear-all-btn:hover[b-xbo2ikixrz] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.pm-refresh-btn[b-xbo2ikixrz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-refresh-btn:hover:not(:disabled)[b-xbo2ikixrz] {
    background: #e2e8f0;
    color: #0f172a;
}

.pm-refresh-btn:disabled[b-xbo2ikixrz] {
    opacity: 0.6;
    cursor: not-allowed;
}

.pm-spin[b-xbo2ikixrz] {
    animation: spin-b-xbo2ikixrz 1s linear infinite;
}

/* --------------------------------------------------------------------------
   Cuadrícula de Parámetros
   -------------------------------------------------------------------------- */
.pm-settings-grid[b-xbo2ikixrz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.pm-setting-card[b-xbo2ikixrz] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pm-setting-card:hover[b-xbo2ikixrz] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}


/* Cabecera de la Tarjeta */
.pm-setting-header[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pm-badge-category[b-xbo2ikixrz] {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pm-grp-time[b-xbo2ikixrz] {
    background: rgba(216, 27, 132, 0.1);
    color: #d81b84;
    border: 1px solid rgba(216, 27, 132, 0.25);
}

.pm-grp-handover[b-xbo2ikixrz] {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.pm-grp-erp[b-xbo2ikixrz] {
    background: rgba(222, 163, 1, 0.12);
    color: #b45309;
    border: 1px solid rgba(222, 163, 1, 0.3);
}

.pm-grp-calendar[b-xbo2ikixrz] {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.pm-grp-syscolor[b-xbo2ikixrz] {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.pm-grp-security[b-xbo2ikixrz] {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.pm-grp-default[b-xbo2ikixrz] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Control Toggle Switch */
.pm-toggle-control-box[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-toggle-switch[b-xbo2ikixrz] {
    position: relative;
    width: 36px;
    height: 20px;
    background: #cbd5e1;
    border: none;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.pm-toggle-switch:focus-visible[b-xbo2ikixrz] {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}

.pm-toggle-switch.is-on[b-xbo2ikixrz] {
    background: #059669;
}

.pm-toggle-switch:disabled[b-xbo2ikixrz] {
    opacity: 0.6;
    cursor: not-allowed;
}

.pm-toggle-thumb[b-xbo2ikixrz] {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-toggle-switch.is-on .pm-toggle-thumb[b-xbo2ikixrz] {
    transform: translateX(16px);
}

.pm-mini-spinner[b-xbo2ikixrz] {
    width: 10px;
    height: 10px;
    border: 2px solid #cbd5e1;
    border-top-color: #059669;
    border-radius: 50%;
    animation: spin-b-xbo2ikixrz 0.8s linear infinite;
}

.pm-toggle-status-label[b-xbo2ikixrz] {
    font-size: 11px;
    font-weight: 700;
}

.pm-toggle-status-label.status-on[b-xbo2ikixrz] {
    color: #059669;
}

.pm-toggle-status-label.status-off[b-xbo2ikixrz] {
    color: #64748b;
}

/* Píldoras de Valor */
.pm-value-pill[b-xbo2ikixrz] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.pm-value-pill.val-bool-on[b-xbo2ikixrz] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.pm-value-pill.val-bool-off[b-xbo2ikixrz] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.pm-pill-dot[b-xbo2ikixrz] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pm-value-badge[b-xbo2ikixrz] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-value-badge code[b-xbo2ikixrz] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
}

/* Cuerpo de la Tarjeta */
.pm-setting-body[b-xbo2ikixrz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pm-setting-title[b-xbo2ikixrz] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.pm-setting-code[b-xbo2ikixrz] {
    font-size: 11px;
}

.pm-setting-code code[b-xbo2ikixrz] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #64748b;
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #f1f5f9;
}

.pm-setting-desc[b-xbo2ikixrz] {
    margin: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pie de la Tarjeta */
.pm-setting-footer[b-xbo2ikixrz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #94a3b8;
}

.pm-setting-kind[b-xbo2ikixrz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-weight: 600;
}

.pm-badge-configured[b-xbo2ikixrz] {
    color: #059669;
    background: #ecfdf5;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px;
}

.pm-badge-unconfigured[b-xbo2ikixrz] {
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 10px;
}

.pm-setting-audit[b-xbo2ikixrz] {
    font-size: 11px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-type-tag[b-xbo2ikixrz] {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: lowercase;
}

/* Estados de Carga y Vacío */
.pm-loading-container[b-xbo2ikixrz] {
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.pm-empty-state[b-xbo2ikixrz] {
    padding: 32px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

/* Animaciones */
@keyframes spin-b-xbo2ikixrz {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-xbo2ikixrz {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pm-settings-toolbar[b-xbo2ikixrz] {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-settings-filters-row[b-xbo2ikixrz] {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-ssearch-box[b-xbo2ikixrz] {
        max-width: none;
        min-width: 0;
    }

    .pm-select-filter[b-xbo2ikixrz] {
        width: 100%;
    }

    .pm-settings-grid[b-xbo2ikixrz] {
        grid-template-columns: 1fr;
    }
}

/* A34: a switch that departs from the GOG carries a warning badge; the reason is in its tooltip. */
.pm-badge-caution[b-xbo2ikixrz] {
    color: var(--st-warning-fg);
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 10px;
}
/* /Pages/Home/Components/User/Platform/Metrics/PlatformWorkshopVehiclesSection.razor.rz.scp.css */
/* ==========================================================================
   PLATFORM WORKSHOP VEHICLES SECTION - VEHICULOS WIP EN PATIO DE TALLER
   Homologado 1:1 con PlatformMetricsView y estandares de Systime Design System
   Cero emojis, 100% SVG inline
   ========================================================================== */

.pm-workshop-vehicles-section[b-67p8f261ii] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    color: #1e293b;
    box-sizing: border-box;
}

/* Mini-KPIs Bar */
.pm-vehicles-kpi-bar[b-67p8f261ii] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 12px;
}

.pm-vkpi-item[b-67p8f261ii] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pm-vkpi-label[b-67p8f261ii] {
    color: #64748b;
    font-weight: 500;
}

.pm-vkpi-value[b-67p8f261ii] {
    color: #1e293b;
    font-weight: 600;
}

.pm-vkpi-value.font-bold[b-67p8f261ii] {
    font-weight: 700;
}

.pm-text-magenta[b-67p8f261ii] {
    color: #d81b84;
}

.pm-text-navy[b-67p8f261ii] {
    color: #0f172a;
}

.pm-days-red-text[b-67p8f261ii] {
    color: #dc2626;
}

/* Barra de Distribucion por Proceso */
.pm-proc-bar-card[b-67p8f261ii] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-proc-bar-header[b-67p8f261ii] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-proc-bar-title[b-67p8f261ii] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-proc-bar-total[b-67p8f261ii] {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.pm-proc-progress-bar[b-67p8f261ii] {
    height: 12px;
    border-radius: 6px;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    width: 100%;
}

.pm-proc-segment[b-67p8f261ii] {
    height: 100%;
    transition: width 0.3s ease;
}

.pm-proc-legend[b-67p8f261ii] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.pm-proc-legend-item[b-67p8f261ii] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.pm-proc-legend-item:hover[b-67p8f261ii] {
    background-color: #f1f5f9;
}

.pm-proc-dot[b-67p8f261ii] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Toolbar & Filters */
.pm-vehicles-toolbar[b-67p8f261ii] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-filter-pills[b-67p8f261ii] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pm-pill-btn[b-67p8f261ii] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pm-pill-btn:hover[b-67p8f261ii] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pm-pill-btn.active[b-67p8f261ii] {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
}

.pm-pill-dot[b-67p8f261ii] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pm-vehicles-filters-row[b-67p8f261ii] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pm-vsearch-box[b-67p8f261ii] {
    flex: 1;
    min-width: 240px;
}

.pc-wide-search-box[b-67p8f261ii] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 14px;
    min-width: 240px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-wide-search-box:focus-within[b-67p8f261ii] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.pc-wide-search-input[b-67p8f261ii] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #1e293b;
    flex: 1;
}

.pc-clear-btn[b-67p8f261ii] {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-clear-btn:hover[b-67p8f261ii] {
    color: #475569;
}

.pm-select-filter[b-67p8f261ii] {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    padding: 6px 14px;
    outline: none;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.2s ease;
}

.pm-select-filter:focus[b-67p8f261ii] {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.pm-varea-select[b-67p8f261ii] {
    min-width: 180px;
}

.pm-clear-all-btn[b-67p8f261ii] {
    background: transparent;
    border: none;
    color: #d81b84;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.pm-clear-all-btn:hover[b-67p8f261ii] {
    background: #fdf2f8;
    text-decoration: underline;
}

/* Grid & Cards */
.pm-vehicles-grid[b-67p8f261ii] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 12px;
}

.pm-vehicle-card[b-67p8f261ii] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pm-vehicle-card:hover[b-67p8f261ii] {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pm-card-photo-box[b-67p8f261ii] {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-car-img[b-67p8f261ii] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-car-img-fallback[b-67p8f261ii] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #f8fafc;
}

.pm-card-content[b-67p8f261ii] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.pm-card-header[b-67p8f261ii] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pm-plate[b-67p8f261ii] {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.3px;
}

.pm-ot-badge[b-67p8f261ii] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.pm-card-model[b-67p8f261ii] {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-card-tags[b-67p8f261ii] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.pm-badge-process[b-67p8f261ii] {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.pm-badge-dept[b-67p8f261ii] {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.pm-card-worker[b-67p8f261ii] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-card-worker svg[b-67p8f261ii] {
    flex-shrink: 0;
    color: #94a3b8;
}

.pm-card-footer[b-67p8f261ii] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

.pm-badge-days[b-67p8f261ii] {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

.pm-days-green[b-67p8f261ii] {
    background: #dcfce7;
    color: #15803d;
}

.pm-days-yellow[b-67p8f261ii] {
    background: #fef3c7;
    color: #b45309;
}

.pm-days-red[b-67p8f261ii] {
    background: #fee2e2;
    color: #b91c1c;
}

.pm-progress-wrapper[b-67p8f261ii] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 100px;
}

.pm-progress-track[b-67p8f261ii] {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.pm-progress-bar[b-67p8f261ii] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pm-progress-text[b-67p8f261ii] {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    min-width: 26px;
    text-align: right;
}

.pm-empty-state[b-67p8f261ii] {
    text-align: center;
    padding: 32px 16px;
    color: #64748b;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .pm-vehicles-filters-row[b-67p8f261ii] {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-vsearch-box[b-67p8f261ii],
    .pm-varea-select[b-67p8f261ii] {
        width: 100%;
        min-width: 0;
    }
}
/* /Pages/Home/Components/User/Platform/News/NewsHistory.razor.rz.scp.css */
.pn-history-none[b-um370m3dz0] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.pn-history-btn[b-um370m3dz0] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -6px -8px;
    padding: 6px 8px;
    background: none;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    text-align: left;
    color: var(--st-text-body);
    cursor: pointer;
}

.pn-history-btn:hover[b-um370m3dz0] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border);
}

.pn-history-avatar[b-um370m3dz0] {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text);
}

/* The mark sits on an opaque disc so its tinted background stays readable over the avatar. */
.pn-history-mark[b-um370m3dz0] {
    position: absolute;
    right: -5px;
    bottom: -5px;
    padding: 1px;
    border-radius: 50%;
    background: var(--st-surface);
}

.pn-history-mark > span[b-um370m3dz0] {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.pn-history-mark > .is-success[b-um370m3dz0] { background: var(--st-success-bg); color: var(--st-success-fg); }
.pn-history-mark > .is-danger[b-um370m3dz0] { background: var(--st-danger-bg); color: var(--st-danger-fg); }
.pn-history-mark > .is-warning[b-um370m3dz0] { background: var(--st-warning-bg); color: var(--st-warning-fg); }
.pn-history-mark > .is-info[b-um370m3dz0] { background: var(--st-info-bg); color: var(--st-info-fg); }

.pn-history-text[b-um370m3dz0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pn-history-who[b-um370m3dz0] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--st-text);
}

.pn-history-what[b-um370m3dz0] {
    font-size: 12px;
    white-space: nowrap;
}

.pn-history-what .is-success[b-um370m3dz0] { color: var(--st-success-fg); }
.pn-history-what .is-danger[b-um370m3dz0] { color: var(--st-danger-fg); }
.pn-history-what .is-warning[b-um370m3dz0] { color: var(--st-warning-fg); }
.pn-history-what .is-info[b-um370m3dz0] { color: var(--st-info-fg); }

.pn-history-count[b-um370m3dz0] {
    flex-shrink: 0;
    padding: 1px 7px;
    border: 1px solid var(--st-border);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

/* Top layer: the table's scroll container cannot clip it. Centred unless the browser can anchor it to its button. */
.pn-history-pop[b-um370m3dz0] {
    width: min(320px, calc(100vw - 32px));
    max-height: 60vh;
    padding: 14px 16px;
    overflow: auto;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    color: var(--st-text-body);
    text-align: left;
}

@supports (position-area: block-end) {
    .pn-history-pop[b-um370m3dz0] {
        inset: auto;
        margin: 6px 0;
        position-area: block-end span-inline-end;
        position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
    }
}

.pn-history-pop h4[b-um370m3dz0] {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--st-text);
}

.pn-history-pop ol[b-um370m3dz0] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-history-pop li[b-um370m3dz0] {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 0 14px 22px;
    font-size: 12px;
    line-height: 1.5;
}

.pn-history-pop li:last-child[b-um370m3dz0] {
    padding-bottom: 0;
}

/* Timeline: a dot in the action's colour and a line down to the next one. */
.pn-history-pop li[b-um370m3dz0]::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.pn-history-pop li:not(:last-child)[b-um370m3dz0]::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 0;
    left: 8px;
    width: 1px;
    background: var(--st-border);
}

.pn-history-pop li.is-success[b-um370m3dz0]::before { background: var(--st-success-fg); }
.pn-history-pop li.is-danger[b-um370m3dz0]::before { background: var(--st-danger-fg); }
.pn-history-pop li.is-warning[b-um370m3dz0]::before { background: var(--st-warning-fg); }
.pn-history-pop li.is-info[b-um370m3dz0]::before { background: var(--st-info-fg); }

.pn-history-pop li strong[b-um370m3dz0] {
    color: var(--st-text);
}

.pn-history-pop time[b-um370m3dz0] {
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
}
/* /Pages/Home/Components/User/Platform/News/PlatformNewsView.razor.rz.scp.css */
.platform-news-view[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.pn-header[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.pn-title[b-m87wuysiwn] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pn-subtitle[b-m87wuysiwn] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 2px 0 0;
}

.pn-header-actions[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Pestañas Actual | Anteriores. */
.pn-view-tabs[b-m87wuysiwn] {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pn-view-tab[b-m87wuysiwn] {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: inherit;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    cursor: pointer;
    opacity: 0.7;
}

.pn-view-tab.active[b-m87wuysiwn] {
    border-bottom-color: #e500cd;
    opacity: 1;
}

/* El nombre del lanzamiento y el contador de anteriores van en una chip, para que se lean como una etiqueta y no como parte del título. */
.pn-view-tab .pn-count[b-m87wuysiwn] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 1;
}

.pn-view-tab.active .pn-count[b-m87wuysiwn] {
    background: #D33BB3;
    color: #fff;
}

.pn-release-note[b-m87wuysiwn] {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

/* Barra de acciones sobre las novedades marcadas. */
.pn-bulk-bar[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 10px 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
}

.pn-bulk-info[b-m87wuysiwn] {
    display: flex;
    align-items: center;
}

.pn-bulk-count[b-m87wuysiwn] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body);
    white-space: nowrap;
}

.pn-bulk-actions[b-m87wuysiwn] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

/* Botones redondos con el icono de la acción, como los de la fila; «(N de M)» dice a cuántas de las marcadas aplica. */
.pn-bulk-btn[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid var(--st-border-strong, var(--st-border));
    background: var(--st-fill-2, var(--st-surface-sunken));
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.pn-bulk-btn svg[b-m87wuysiwn] {
    flex-shrink: 0;
}

.pn-bulk-btn:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-fill-4, var(--st-surface-sunken));
    transform: translateY(-1px);
}

/* Publicar: el relleno de la marca; apagado cuando no aplica. */
.pn-bulk-btn.is-primary[b-m87wuysiwn] {
    background: #e500cd;
    border-color: #e500cd;
    color: #ffffff;
}

.pn-bulk-btn.is-primary:hover:not(:disabled)[b-m87wuysiwn] {
    background: #ff00e5;
    border-color: #ff00e5;
}

.pn-bulk-btn.is-primary:disabled[b-m87wuysiwn] {
    background: var(--st-fill-2, var(--st-surface-sunken));
    border-color: var(--st-border);
    color: var(--st-text-subtle);
}

/* Archivar: rojo tenue, sin el relleno fuerte. */
.pn-bulk-btn.is-danger[b-m87wuysiwn] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-fg);
}

.pn-bulk-btn.is-danger:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-danger-fg);
    border-color: var(--st-danger-fg);
    color: #ffffff;
}

.pn-bulk-btn:disabled[b-m87wuysiwn] {
    opacity: 0.45;
    cursor: not-allowed;
}

.pn-bulk-btn:focus-visible[b-m87wuysiwn],
.pn-bulk-clear:focus-visible[b-m87wuysiwn] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 0, 205, 0.3);
}

.pn-bulk-clear[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.pn-bulk-clear:hover:not(:disabled)[b-m87wuysiwn] {
    color: var(--st-text-body);
    background: var(--st-fill-2, var(--st-surface-sunken));
}

.pn-bulk-clear:disabled[b-m87wuysiwn] {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 720px) {
    .pn-bulk-actions[b-m87wuysiwn] {
        margin-left: 0;
    }
}

.pn-toolbar[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pn-search-box[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.pn-search-input[b-m87wuysiwn] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pn-clear[b-m87wuysiwn] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
}

.pn-filter-strip[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pn-pill[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pn-pill:hover:not(.active)[b-m87wuysiwn] {
    border-color: var(--st-brand-gold);
}

/* Selección = mostaza de la marca (tinta oscura: el blanco no contrasta sobre el mostaza). */
.pn-pill.active[b-m87wuysiwn] {
    background: var(--st-brand-gold);
    color: #1a2433;
    border-color: var(--st-brand-gold);
}

.pn-count[b-m87wuysiwn] {
    font-size: 11px;
    opacity: 0.85;
}

.pn-table-card[b-m87wuysiwn] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pn-table[b-m87wuysiwn] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    color: var(--st-text-body);
}

.pn-table th[b-m87wuysiwn] {
    background: linear-gradient(180deg, var(--st-surface-muted), var(--st-surface-sunken));
    padding: 12px 10px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid rgba(229, 0, 205, 0.35);
    white-space: nowrap;
}

.pn-table td[b-m87wuysiwn] {
    padding: 14px 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: middle;
    transition: background 0.15s;
}

.pn-table tbody tr:last-child td[b-m87wuysiwn] {
    border-bottom: none;
}

.pn-table tbody tr:hover td[b-m87wuysiwn] {
    background: var(--st-surface-muted);
}

.pn-table tbody tr.is-selected td[b-m87wuysiwn] {
    background: var(--st-gold-bg);
}

.pn-check-cell[b-m87wuysiwn] {
    width: 40px;
}

.pn-main-cell[b-m87wuysiwn] {
    min-width: 200px;
}

/* A long header must not widen its column: the table has to fit the panel. */
.pn-table th.pn-reach-head[b-m87wuysiwn] {
    width: 130px;
    white-space: normal;
}

.pn-reach .pn-tag.is-audience[b-m87wuysiwn] {
    white-space: normal;
}

/* Platform above audience: one narrow column leaves room for the last change. */
.pn-reach[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pn-date-cell[b-m87wuysiwn] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.pn-name[b-m87wuysiwn] {
    font-weight: 700;
    font-size: 14px;
    color: var(--st-text);
}

.pn-slug[b-m87wuysiwn] {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-subtle);
    border-radius: 6px;
}

.pn-meta[b-m87wuysiwn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--st-text-muted);
}

.pn-tag[b-m87wuysiwn] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
}

.pn-tag.is-audience[b-m87wuysiwn] {
    background: var(--st-surface-sunken);
    border-color: var(--st-border);
    color: var(--st-text-body);
}

.pn-actions-cell[b-m87wuysiwn] {
    white-space: nowrap;
    text-align: right;
}

.pn-actions-cell .pn-btn + .pn-btn[b-m87wuysiwn] {
    margin-left: 6px;
}

.pn-badge[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pn-badge[b-m87wuysiwn]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.pn-badge.is-on[b-m87wuysiwn] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pn-badge.is-off[b-m87wuysiwn] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

/* Publicada pero su fecha aún no llega: los usuarios todavía no la ven. */
.pn-badge.is-scheduled[b-m87wuysiwn] {
    background: var(--st-warning-bg, var(--st-surface-sunken));
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border, var(--st-border));
}

.pn-badge.is-default[b-m87wuysiwn] {
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

/* Botones: pastilla como el resto de la app. Acción principal = magenta; el resto, neutro. */
.pn-btn[b-m87wuysiwn] {
    background: var(--st-fill-2, var(--st-surface-sunken));
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    border-radius: 9999px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pn-btn:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-fill-4, var(--st-surface-sunken));
    border-color: var(--st-border-strong, var(--st-border));
}

.pn-btn:disabled[b-m87wuysiwn] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pn-btn.is-primary[b-m87wuysiwn] {
    background: #e500cd;
    border-color: #e500cd;
    color: #ffffff;
}

.pn-btn.is-primary:hover:not(:disabled)[b-m87wuysiwn] {
    background: #ff00e5;
    border-color: #ff00e5;
    transform: translateY(-1px);
}

.pn-btn.is-danger[b-m87wuysiwn] {
    background: var(--st-danger-fg);
    border-color: var(--st-danger-fg);
    color: #ffffff;
}

.pn-btn.is-danger-ghost[b-m87wuysiwn] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
}

.pn-btn.is-danger-ghost:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-danger-bg);
}

.pn-btn.is-primary-ghost[b-m87wuysiwn] {
    color: #e500cd;
    border-color: #e500cd;
    background: transparent;
}

.pn-btn.is-primary-ghost:hover:not(:disabled)[b-m87wuysiwn] {
    background: rgba(229, 0, 205, 0.1);
    border-color: #e500cd;
}

.pn-file[b-m87wuysiwn] {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.pn-file[b-m87wuysiwn]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.pn-link[b-m87wuysiwn] {
    background: transparent;
    border: none;
    color: #e500cd;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
}

.pn-feedback[b-m87wuysiwn] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pn-error[b-m87wuysiwn] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pn-import-result[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--st-text-body);
}

.pn-import-failed[b-m87wuysiwn] {
    color: var(--st-danger-fg);
}

.pn-empty[b-m87wuysiwn] {
    padding: 24px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 13px;
}

.pn-loading[b-m87wuysiwn] {
    padding: 24px;
}

.pn-muted[b-m87wuysiwn] {
    color: var(--st-text-muted);
    font-size: 12px;
    margin: 6px 0 0;
}

/* ── Grupos por lanzamiento: cada uno es una sección con su encabezado ── */
.pn-release[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pn-release.has-header[b-m87wuysiwn] {
    margin-top: 8px;
}

.pn-release-header[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(229, 0, 205, 0.14), transparent 55%),
        linear-gradient(135deg, var(--st-surface-raised, var(--st-surface-muted)), var(--st-surface-muted));
    border: 1px solid var(--st-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* La versión del lanzamiento va como pastilla magenta. */
.pn-version-pill[b-m87wuysiwn] {
    background: rgba(229, 0, 205, 0.14);
    border: 1px solid rgba(229, 0, 205, 0.55);
    color: var(--st-accent-text, #f9a8d4);
    border-radius: 9999px;
    padding: 2px 12px;
    letter-spacing: 0.02em;
}

.pn-release-title[b-m87wuysiwn] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    flex: 1;
    min-width: 0;
}

.pn-release-actions[b-m87wuysiwn] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.pn-release-date[b-m87wuysiwn] {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 1px 8px;
}

.pn-release-toggle[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-subtle);
    cursor: pointer;
    transition: transform 0.15s;
}

.pn-release-toggle.is-collapsed[b-m87wuysiwn] {
    transform: rotate(-90deg);
}

.pn-release-empty[b-m87wuysiwn] {
    padding: 14px 18px;
    border: 1px dashed var(--st-border);
    border-radius: 12px;
    color: var(--st-text-muted);
    font-size: 13px;
}

.pn-permissions[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-chips[b-m87wuysiwn] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-chip[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 4px 3px 10px;
    border: 1px solid var(--st-brand-gold);
    border-radius: 9999px;
    background: var(--st-gold-bg);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-gold-text);
}

.pn-chip button[b-m87wuysiwn] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 11px;
    padding: 0 6px;
}

.pn-inline[b-m87wuysiwn] {
    display: flex;
    gap: 8px;
}

.pn-inline select[b-m87wuysiwn] {
    flex: 1;
    min-width: 0;
}

.platform-news-view[b-m87wuysiwn]  .pn-release-modal {
    max-width: 460px;
}

.pn-group-tag[b-m87wuysiwn] {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--st-text-muted);
    margin-right: 6px;
}

.pn-group-name[b-m87wuysiwn] {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-text);
}

.pn-group-summary[b-m87wuysiwn] {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.pn-preview-release[b-m87wuysiwn] {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--st-text);
}

.pn-doc-status[b-m87wuysiwn] {
    font-weight: 600;
}

.pn-doc-status.is-ok[b-m87wuysiwn] {
    color: var(--st-success-fg);
}

.pn-doc-status.is-warning[b-m87wuysiwn] {
    color: var(--st-warning-fg);
}

.pn-doc-status.is-muted[b-m87wuysiwn] {
    color: var(--st-text-muted);
}

/* ── Ventana emergente de edición ── */
/* Misma ventana para crear y editar. El selector doble gana a `.modal-content.center-modal` (90 %, 820 px) de CenterModal. */
.platform-news-view[b-m87wuysiwn]  .modal-content.center-modal.pn-edit-modal {
    /* Nunca más ancho que la ventana (menos un margen), ni siquiera si el contenido pide más. */
    width: min(1240px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    min-width: 0;
    box-sizing: border-box;
}

.platform-news-view[b-m87wuysiwn]  .pn-edit-modal .modal-body-container {
    min-width: 0;
    overflow-x: hidden;
}

.pn-form[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pn-form-grid[b-m87wuysiwn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    align-items: start;
}

/* Fila de Plataforma y Documentación: los controles se alinean por abajo aunque una etiqueta lleve ayuda. */
.pn-row.is-bottom[b-m87wuysiwn] {
    align-items: end;
}

@media (max-width: 960px) {
    .pn-form-grid[b-m87wuysiwn] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pn-form-main[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pn-row[b-m87wuysiwn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

@media (max-width: 560px) {
    .pn-row[b-m87wuysiwn] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pn-field[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--st-text-subtle);
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.pn-field legend[b-m87wuysiwn] {
    padding: 0;
    margin-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
}

/* La ayuda de cada campo va siempre en su propia línea para que los campos de una fila queden alineados. */
.pn-field small[b-m87wuysiwn] {
    display: block;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--st-text-muted);
}

.pn-row.is-bottom > .pn-field > span[b-m87wuysiwn] {
    min-height: 2.6em;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    column-gap: 5px;
}

/* La ayuda ocupa su propia línea; las etiquetas .pn-term solo lo que mide su texto. */
.pn-row > .pn-field > span small[b-m87wuysiwn] {
    flex-basis: 100%;
}

.pn-field input[type="text"][b-m87wuysiwn],
.pn-field input[type="date"][b-m87wuysiwn],
.pn-field select[b-m87wuysiwn],
.pn-field textarea[b-m87wuysiwn] {
    /* Mismo aspecto que el disparador del PickerDropdown, para que todos los campos del formulario se vean iguales. */
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 0 16px;
    height: 48px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--st-text-brand, var(--st-text));
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pn-field textarea[b-m87wuysiwn] {
    height: auto;
    padding: 12px 16px;
    line-height: 1.45;
}

.pn-field input:hover:not(:disabled)[b-m87wuysiwn],
.pn-field textarea:hover[b-m87wuysiwn] {
    border-color: #d33bb2;
}

.pn-field input:disabled[b-m87wuysiwn] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    cursor: not-allowed;
}

.pn-field input:focus[b-m87wuysiwn],
.pn-field select:focus[b-m87wuysiwn],
.pn-field textarea:focus[b-m87wuysiwn] {
    outline: none;
    border-color: #d33bb2;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.12);
}

.pn-field input[b-m87wuysiwn]::placeholder,
.pn-field textarea[b-m87wuysiwn]::placeholder {
    color: var(--st-text-muted);
}

.pn-platform[b-m87wuysiwn],
.pn-audience[b-m87wuysiwn] {
    gap: 8px;
}

/* Opciones tipo botón: lo elegido se resalta en mostaza. */
.pn-choices[b-m87wuysiwn] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pn-choice[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--st-border);
    border-radius: 9999px;
    background: var(--st-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
    cursor: pointer;
    transition: all 0.15s;
}

.pn-choice:hover[b-m87wuysiwn] {
    border-color: var(--st-brand-gold);
}

.pn-choice:has(input:checked)[b-m87wuysiwn] {
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
    color: var(--st-gold-text);
}

.pn-choice:has(input:focus-visible)[b-m87wuysiwn] {
    box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.25);
}

/* «Quién la ve»: un desplegable que abre otro; cada paso lleva su rótulo. */
.pn-who[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pn-who-step[b-m87wuysiwn] {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pn-who-summary[b-m87wuysiwn] {
    margin-top: 2px;
    color: var(--st-text-muted);
    font-size: 12.5px;
}

.pn-form input[type="checkbox"][b-m87wuysiwn],
.pn-form input[type="radio"][b-m87wuysiwn],
.pn-table input[type="checkbox"][b-m87wuysiwn],
.pn-release-header input[type="checkbox"][b-m87wuysiwn] {
    accent-color: var(--st-brand-gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.pn-sr-only[b-m87wuysiwn] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Secciones del formulario */
.pn-section[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 20px;
    background: linear-gradient(160deg, var(--st-surface-raised, var(--st-surface-muted)), var(--st-surface-muted));
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    counter-increment: pn-section;
}

.pn-form-main[b-m87wuysiwn] {
    counter-reset: pn-section;
}

/* Cada sección lleva su número en una insignia magenta. */
.pn-section-title[b-m87wuysiwn] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--st-text-strong, var(--st-text));
    display: flex;
    align-items: center;
    gap: 10px;
}

.pn-section-title[b-m87wuysiwn]::before {
    content: counter(pn-section);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e500cd;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(229, 0, 205, 0.4);
}

.pn-section-hint[b-m87wuysiwn] {
    margin: -8px 0 2px 34px;
    font-size: 12px;
    color: var(--st-text-muted);
}

/* Desplegables de la app (PickerDropdown) dentro del formulario: ocupan todo el ancho de su columna. */
.pn-picker[b-m87wuysiwn] {
    width: 100%;
    min-width: 0;
    flex: 1;
}

.pn-picker[b-m87wuysiwn]  .st-native-selector {
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

/* La lista se ajusta al texto más largo en vez de recortarlo. */
.pn-picker[b-m87wuysiwn]  .st-native-selector-dropdown {
    width: max-content;
    min-width: 100%;
    max-width: min(420px, 90vw);
}

.pn-picker[b-m87wuysiwn]  .st-native-selector-item {
    white-space: normal;
    text-transform: none;
    letter-spacing: 0;
}

.pn-inline[b-m87wuysiwn] {
    align-items: stretch;
    flex-wrap: wrap;
}

.pn-inline .pn-picker[b-m87wuysiwn] {
    flex: 1 1 150px;
}

.pn-inline .pn-btn[b-m87wuysiwn] {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.pn-companies[b-m87wuysiwn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px 12px;
    max-height: 180px;
    overflow-y: auto;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
}

.pn-companies label[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Las sedes de un taller marcado: ocupan toda la fila, debajo del taller, un poco hacia adentro. */
.pn-stores[b-m87wuysiwn] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 4px 12px;
    margin: 0 0 6px 22px;
    padding: 6px 10px;
    border-left: 2px solid rgba(229, 0, 205, 0.4);
    font-weight: 500;
}

.pn-stores > .pn-muted[b-m87wuysiwn] {
    grid-column: 1 / -1;
    font-size: 11.5px;
    font-weight: 400;
}

.pn-form-actions[b-m87wuysiwn] {
    display: flex;
    gap: 8px;
}

/* ── Vista previa ── */
.pn-preview[b-m87wuysiwn] {
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 0;
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(229, 0, 205, 0.5);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 0, 205, 0.12), transparent 60%),
        var(--st-surface-muted);
}

.pn-preview-label[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--st-accent-text, var(--st-text-subtle));
    margin-bottom: 12px;
}

.pn-preview-label[b-m87wuysiwn]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e500cd;
    box-shadow: 0 0 0 4px rgba(229, 0, 205, 0.2);
}

.pn-card[b-m87wuysiwn] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.pn-card-meta[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--st-text-muted);
    text-transform: capitalize;
}

.pn-card-new[b-m87wuysiwn] {
    background: #e500cd;
    color: #ffffff;
    border-radius: 10px;
    padding: 1px 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
}

.pn-card-title[b-m87wuysiwn] {
    margin: 6px 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--st-text);
}

.pn-card-bullets[b-m87wuysiwn] {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--st-text-body);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pn-card-actions[b-m87wuysiwn] {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.pn-card-doc[b-m87wuysiwn],
.pn-card-see[b-m87wuysiwn] {
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    padding: 4px 12px;
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
}

.pn-card-see[b-m87wuysiwn] {
    background: #e500cd;
    border-color: #e500cd;
    color: #ffffff;
}

/* Lo escrito nunca desborda la vista previa: las palabras largas se parten. */
.pn-card[b-m87wuysiwn],
.pn-card-title[b-m87wuysiwn],
.pn-card-bullets li[b-m87wuysiwn] {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* La ruta («Ruta: …») va en su propio renglón, sin la marca de viñeta. */
.pn-card-bullets li.pn-route-line[b-m87wuysiwn] {
    list-style: none;
    margin-left: -18px;
}

/* Cómo se marca la ruta dentro de una viñeta: la regla, lo que se escribe y cómo se ve. */
.pn-howto[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 12.5px;
    color: var(--st-text-muted);
}

.pn-howto p[b-m87wuysiwn] {
    margin: 0;
}

.pn-howto-label[b-m87wuysiwn] {
    margin-top: 6px !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pn-howto-label small[b-m87wuysiwn] {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.pn-howto-code[b-m87wuysiwn] {
    align-self: flex-start;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--st-text-body);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.pn-howto-sample[b-m87wuysiwn] {
    color: var(--st-text-body);
    font-size: 13px;
    line-height: 1.7;
}

/* Rótulo de cada lista de viñetas de la vista previa cuando la web y el móvil se leen distinto. */
.pn-card-area[b-m87wuysiwn] {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-text-muted);
}

/* Nombres de botones o campos dentro de un texto: se destacan como una etiqueta en lugar de entre comillas. */
.pn-term[b-m87wuysiwn] {
    display: inline-block;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(229, 0, 205, 0.14);
    border: 1px solid rgba(229, 0, 205, 0.4);
    color: var(--st-accent-text, #f9a8d4);
    font-weight: 700;
    font-style: normal;
    line-height: 1.5;
}

/* El panel de Plataforma está desplazado 10 px del borde de la ventana y el fondo del modal se fija a él, no a la ventana: con 100vw/100vh
   el modal quedaba descentrado hacia abajo. Se ajusta al tamaño real del panel para que el espacio de arriba y de abajo sea igual. */
.platform-news-view[b-m87wuysiwn]  .modal-overlay {
    width: 100%;
    height: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.platform-news-view[b-m87wuysiwn]  .modal-content.center-modal {
    max-height: calc(100% - 48px);
}

/* Columna izquierda de «Destino y visibilidad»: el destino del botón. */
.pn-col[b-m87wuysiwn] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* Las etiquetas de «Destino del botón Ver» y «Quién la ve» miden lo mismo (la etiqueta .pn-term es más alta que el texto), así que sus
   selectores arrancan a la misma altura. */
.pn-col > .pn-field > span:first-child[b-m87wuysiwn],
.pn-who > span:first-child[b-m87wuysiwn] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
}

/* ── Casillas y opciones: del estilo de la app, en mostaza al marcarse ── */
.pn-form input[type="checkbox"][b-m87wuysiwn],
.pn-form input[type="radio"][b-m87wuysiwn],
.pn-table input[type="checkbox"][b-m87wuysiwn],
.pn-release-header input[type="checkbox"][b-m87wuysiwn] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid var(--st-border-strong, var(--st-border));
    border-radius: 6px;
    background: var(--st-surface-sunken);
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.pn-form input[type="radio"][b-m87wuysiwn] {
    border-radius: 50%;
}

.pn-form input[type="checkbox"]:hover[b-m87wuysiwn],
.pn-form input[type="radio"]:hover[b-m87wuysiwn],
.pn-table input[type="checkbox"]:hover[b-m87wuysiwn],
.pn-release-header input[type="checkbox"]:hover[b-m87wuysiwn] {
    border-color: var(--st-brand-gold);
}

.pn-form input[type="checkbox"]:checked[b-m87wuysiwn],
.pn-table input[type="checkbox"]:checked[b-m87wuysiwn],
.pn-release-header input[type="checkbox"]:checked[b-m87wuysiwn] {
    background: var(--st-brand-gold);
    border-color: var(--st-brand-gold);
}

.pn-form input[type="checkbox"]:checked[b-m87wuysiwn]::after,
.pn-table input[type="checkbox"]:checked[b-m87wuysiwn]::after,
.pn-release-header input[type="checkbox"]:checked[b-m87wuysiwn]::after {
    content: "";
    width: 5px;
    height: 9px;
    margin-top: -2px;
    border: solid #1a2433;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pn-form input[type="radio"]:checked[b-m87wuysiwn] {
    border-color: var(--st-brand-gold);
    background: radial-gradient(circle, var(--st-brand-gold) 0 4px, transparent 5px);
}

.pn-form input[type="checkbox"]:focus-visible[b-m87wuysiwn],
.pn-form input[type="radio"]:focus-visible[b-m87wuysiwn],
.pn-table input[type="checkbox"]:focus-visible[b-m87wuysiwn],
.pn-release-header input[type="checkbox"]:focus-visible[b-m87wuysiwn] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.3);
}

/* ── Acciones de la tabla: botones redondos con icono ── */
.pn-icon-btn[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 50%;
    background: var(--st-fill-2, var(--st-surface-sunken));
    color: var(--st-text-body);
    cursor: pointer;
    transition: all 0.2s;
}

.pn-icon-btn + .pn-icon-btn[b-m87wuysiwn] {
    margin-left: 6px;
}

.pn-icon-btn:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-fill-4, var(--st-surface-sunken));
    border-color: var(--st-border-strong, var(--st-border));
    transform: translateY(-1px);
}

.pn-icon-btn.is-primary[b-m87wuysiwn] {
    color: #e500cd;
    border-color: rgba(229, 0, 205, 0.6);
}

.pn-icon-btn.is-primary:hover:not(:disabled)[b-m87wuysiwn] {
    background: #e500cd;
    border-color: #e500cd;
    color: #fff;
}

.pn-icon-btn.is-danger[b-m87wuysiwn] {
    color: var(--st-danger-fg);
    border-color: var(--st-danger-border);
}

.pn-icon-btn.is-danger:hover:not(:disabled)[b-m87wuysiwn] {
    background: var(--st-danger-bg);
}

.pn-icon-btn:disabled[b-m87wuysiwn] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pn-icon-btn:focus-visible[b-m87wuysiwn] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 0, 205, 0.3);
}

/* ── Buscador: lupa, texto corto y se ve completo ── */
.pn-search-box[b-m87wuysiwn] {
    min-width: 260px;
    padding: 8px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pn-search-box:focus-within[b-m87wuysiwn] {
    border-color: #d33bb2;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.12);
}

.pn-search-icon[b-m87wuysiwn] {
    display: inline-flex;
    color: var(--st-text-muted);
}

.pn-search-input[b-m87wuysiwn]::placeholder {
    color: var(--st-text-muted);
}

/* ── Botones con icono y texto ── */
.pn-btn[b-m87wuysiwn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pn-btn svg[b-m87wuysiwn] {
    flex-shrink: 0;
}

/* Separa las acciones de crear de las de exportar/importar. */
.pn-header-divider[b-m87wuysiwn] {
    width: 1px;
    align-self: stretch;
    margin: 4px 4px;
    background: var(--st-border);
}

.pn-header-actions .pn-btn[b-m87wuysiwn] {
    padding: 9px 18px;
    font-size: 13px;
}

.pn-release-actions .pn-btn[b-m87wuysiwn] {
    padding: 7px 14px;
}

/* Botones que dejan puesta la marca {web: } o {móvil: } en el cuadro de viñetas. */
.pn-route-insert[b-m87wuysiwn] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Lanzamiento «solo catálogo»: no es un lanzamiento real, se distingue del resto. */
.pn-catalog-tag[b-m87wuysiwn] {
    background: rgba(245, 158, 11, 0.16);
    color: #f59e0b;
}
/* /Pages/Home/Components/User/Platform/Operators/PlatformOperatorsView.razor.rz.scp.css */
.platform-operators-view[b-9r02r0kxtw] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-9r02r0kxtw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-9r02r0kxtw] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-9r02r0kxtw] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-wide-search-box[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.search-icon[b-9r02r0kxtw] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.pc-wide-search-input[b-9r02r0kxtw] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pc-wide-add-btn[b-9r02r0kxtw] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-wide-add-btn:hover[b-9r02r0kxtw] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-wide-filter-strip[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill[b-9r02r0kxtw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-wide-filter-pill.active[b-9r02r0kxtw] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

/* Editor Form Card */
.pc-editor-card[b-9r02r0kxtw] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.pc-editor-title[b-9r02r0kxtw] {
    font-weight: 800;
    font-size: 14px;
    color: var(--st-text);
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 8px;
}

.pc-editor-grid[b-9r02r0kxtw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pc-field[b-9r02r0kxtw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-field span[b-9r02r0kxtw] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
}

.pc-field input[b-9r02r0kxtw],
.pc-field select[b-9r02r0kxtw] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--st-text);
    outline: none;
    transition: border-color 0.2s;
}

.pc-field input:focus[b-9r02r0kxtw],
.pc-field select:focus[b-9r02r0kxtw] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.pc-field-wide[b-9r02r0kxtw] {
    grid-column: 1 / -1;
}

.pc-readonly[b-9r02r0kxtw] {
    background: var(--st-surface-sunken) !important;
    color: var(--st-text-subtle) !important;
    cursor: not-allowed;
}

.pc-editor-actions[b-9r02r0kxtw] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

.pc-primary[b-9r02r0kxtw] {
    background: #fe00e4;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-primary:hover[b-9r02r0kxtw] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-primary:disabled[b-9r02r0kxtw] {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.pc-secondary[b-9r02r0kxtw] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-secondary:hover[b-9r02r0kxtw] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

/* Table Card */
.pc-table-card[b-9r02r0kxtw] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pc-table[b-9r02r0kxtw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pc-table th[b-9r02r0kxtw] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
}

.pc-table td[b-9r02r0kxtw] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pc-table tr:hover[b-9r02r0kxtw] {
    background: var(--st-surface-muted);
}

.pc-td-name[b-9r02r0kxtw] {
    font-weight: 700;
    color: var(--st-text);
}

.pc-code[b-9r02r0kxtw] {
    font-family: monospace;
    font-size: 11px;
    background: var(--st-surface-sunken);
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

.company-industry-badge[b-9r02r0kxtw] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
}

.pc-coverage[b-9r02r0kxtw] {
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pc-bool[b-9r02r0kxtw] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pc-bool-on[b-9r02r0kxtw] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pc-bool-off[b-9r02r0kxtw] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.pc-actions[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-link[b-9r02r0kxtw] {
    background: none;
    border: none;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pc-link:hover[b-9r02r0kxtw] {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}

.pc-link-danger[b-9r02r0kxtw] {
    color: var(--st-danger-fg);
}

.pc-link-danger:hover[b-9r02r0kxtw] {
    background: rgba(220, 38, 38, 0.08);
}

.pc-feedback[b-9r02r0kxtw] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.pc-action-error[b-9r02r0kxtw] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}


/* Acciones en Tabla */
.pc-actions-cell[b-9r02r0kxtw] {
    white-space: nowrap;
}

.pc-actions[b-9r02r0kxtw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-btn-action[b-9r02r0kxtw] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.pc-btn-action svg[b-9r02r0kxtw] {
    flex-shrink: 0;
}

/* Accion Editar - Magenta */
.pc-btn-action-edit[b-9r02r0kxtw] {
    background: rgba(254, 0, 228, 0.08);
    color: #fe00e4;
    border-color: rgba(254, 0, 228, 0.22);
}

.pc-btn-action-edit:hover[b-9r02r0kxtw] {
    background: #fe00e4;
    color: #ffffff;
    border-color: #fe00e4;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-edit:active[b-9r02r0kxtw] {
    transform: translateY(0);
}

/* Accion Borrar / Bloquear - Danger */
.pc-btn-action-delete[b-9r02r0kxtw],
.pc-btn-action-lock[b-9r02r0kxtw] {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.22);
}

.pc-btn-action-delete:hover[b-9r02r0kxtw],
.pc-btn-action-lock:hover[b-9r02r0kxtw] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-delete:active[b-9r02r0kxtw],
.pc-btn-action-lock:active[b-9r02r0kxtw] {
    transform: translateY(0);
}

/* Accion Activar / Desbloquear - Success */
.pc-btn-action-unlock[b-9r02r0kxtw] {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.22);
}

.pc-btn-action-unlock:hover[b-9r02r0kxtw] {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-unlock:active[b-9r02r0kxtw] {
    transform: translateY(0);
}
/* /Pages/Home/Components/User/Platform/Portfolio/PlatformPortfolioView.razor.rz.scp.css */
/* ==========================================================================
   PLATFORM PORTFOLIO VIEW - CARTERA DE TALLERES Y TAMAÑO DE TABLAS (H-36, H-38)
   Mismos tokens --st-* que PlatformMetricsView. Cero emojis.
   ========================================================================== */

.platform-portfolio-view[b-6cdyzugvty] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    color: var(--st-text);
    box-sizing: border-box;
}

.pf-header[b-6cdyzugvty] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pf-header-left[b-6cdyzugvty] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pf-title[b-6cdyzugvty] {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: var(--st-text);
}

.pf-subtitle[b-6cdyzugvty] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pf-header-right[b-6cdyzugvty] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-stamp[b-6cdyzugvty] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
}

.pf-btn[b-6cdyzugvty] {
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.pf-btn:hover:not(:disabled)[b-6cdyzugvty] {
    background: var(--st-surface-muted);
}

.pf-btn:disabled[b-6cdyzugvty] {
    opacity: 0.6;
    cursor: default;
}

.pf-tabs[b-6cdyzugvty] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pf-tab[b-6cdyzugvty] {
    border: 0;
    background: transparent;
    color: var(--st-text-subtle);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.pf-tab:hover[b-6cdyzugvty] {
    color: var(--st-text);
}

.pf-tab.active[b-6cdyzugvty] {
    color: var(--st-text-strong, var(--st-text));
    border-bottom-color: var(--st-info-fg);
}

.pf-state[b-6cdyzugvty] {
    padding: 28px 12px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 0.9rem;
}

.pf-state-error[b-6cdyzugvty] {
    color: var(--st-danger-text);
    background: var(--st-danger-bg-strong);
    border-radius: 8px;
}

.pf-toolbar[b-6cdyzugvty] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pf-search[b-6cdyzugvty] {
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    min-width: 220px;
}

.pf-count[b-6cdyzugvty] {
    font-size: 0.8rem;
    color: var(--st-text-subtle);
}

.pf-scroll[b-6cdyzugvty] {
    overflow-x: auto;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.pf-table[b-6cdyzugvty] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.pf-table th[b-6cdyzugvty],
.pf-table td[b-6cdyzugvty] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: top;
    text-align: left;
}

.pf-table thead th[b-6cdyzugvty] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pf-table tbody tr:last-child td[b-6cdyzugvty] {
    border-bottom: 0;
}

.pf-table .pf-num[b-6cdyzugvty] {
    text-align: right;
    white-space: nowrap;
}

.pf-th-name[b-6cdyzugvty] {
    min-width: 200px;
}

.pf-sort[b-6cdyzugvty] {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.pf-sort:hover[b-6cdyzugvty] {
    color: var(--st-text);
}

.pf-help[b-6cdyzugvty] {
    margin-left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.pf-help[aria-expanded="true"][b-6cdyzugvty] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
    border-color: var(--st-info-fg);
}

.pf-name[b-6cdyzugvty] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pf-name-main[b-6cdyzugvty] {
    font-weight: 700;
    color: var(--st-text);
}

.pf-name-sub[b-6cdyzugvty] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
}

.pf-inactive .pf-name-main[b-6cdyzugvty] {
    color: var(--st-text-subtle);
}

.pf-value[b-6cdyzugvty] {
    display: block;
    font-weight: 700;
    color: var(--st-text);
}

.pf-value.pf-warn[b-6cdyzugvty] {
    color: var(--st-warning-fg);
}

.pf-detail[b-6cdyzugvty] {
    display: block;
    font-size: 0.72rem;
    color: var(--st-text-subtle);
    white-space: normal;
}

.pf-helpcard[b-6cdyzugvty] {
    border: 1px solid var(--st-info-fg);
    background: var(--st-info-bg-strong);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--st-text-body, var(--st-text));
}

.pf-helpcard p[b-6cdyzugvty] {
    margin: 4px 0 0;
}

.pf-helpcard-calc[b-6cdyzugvty] {
    color: var(--st-text-secondary);
    font-size: 0.8rem;
}

.pf-foot[b-6cdyzugvty] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--st-text-subtle);
}

.pf-note[b-6cdyzugvty] {
    border: 1px solid var(--st-warning-fg);
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-fg);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.pf-sizes[b-6cdyzugvty] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-sizes-summary[b-6cdyzugvty] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pf-card[b-6cdyzugvty] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    border-radius: 10px;
    padding: 10px 14px;
}

.pf-card-over[b-6cdyzugvty] {
    border-color: var(--st-danger-text);
    background: var(--st-danger-bg-strong);
}

.pf-card-label[b-6cdyzugvty] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}

.pf-card-value[b-6cdyzugvty] {
    font-size: 1.1rem;
    font-weight: 800;
}

.pf-card-sub[b-6cdyzugvty] {
    font-size: 0.75rem;
    color: var(--st-text-subtle);
}

.pf-group[b-6cdyzugvty] {
    margin: 6px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-text-secondary);
}

.pf-over td[b-6cdyzugvty] {
    background: var(--st-danger-bg-strong);
}

.pf-badge[b-6cdyzugvty] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-text);
    color: var(--st-danger-text);
    font-size: 0.68rem;
    font-weight: 700;
}

.pf-why[b-6cdyzugvty] {
    color: var(--st-text-subtle);
    font-size: 0.78rem;
    min-width: 260px;
}

@media (max-width: 720px) {
    .pf-header[b-6cdyzugvty] {
        align-items: flex-start;
    }

    .pf-search[b-6cdyzugvty] {
        min-width: 0;
        flex: 1;
    }
}
/* /Pages/Home/Components/User/Platform/Roles/PlatformRolesView.razor.rz.scp.css */
.platform-roles-view[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-wfbnntvdl6] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-wfbnntvdl6] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-wide-search-box[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.pc-wide-search-input[b-wfbnntvdl6] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.pc-wide-add-btn[b-wfbnntvdl6] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-wide-add-btn:hover[b-wfbnntvdl6] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-wide-filter-strip[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill[b-wfbnntvdl6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-wide-filter-pill.active[b-wfbnntvdl6] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

/* Editor Form Card */
.pc-editor-card[b-wfbnntvdl6] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.pc-editor-title[b-wfbnntvdl6] {
    font-weight: 800;
    font-size: 14px;
    color: var(--st-text);
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 8px;
}

.pc-editor-error[b-wfbnntvdl6] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.pc-editor-grid[b-wfbnntvdl6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pc-field[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-field span[b-wfbnntvdl6] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
    text-transform: uppercase;
}

.pc-field input[b-wfbnntvdl6] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--st-text);
    outline: none;
    transition: border-color 0.2s;
}

.pc-field input:focus[b-wfbnntvdl6] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.pc-field-wide[b-wfbnntvdl6] {
    grid-column: 1 / -1;
}

.pc-field-id[b-wfbnntvdl6] {
    font-family: monospace;
}

.pc-readonly[b-wfbnntvdl6] {
    background: var(--st-surface-sunken) !important;
    color: var(--st-text-subtle) !important;
    cursor: not-allowed;
}

/* Permissions Catalog Section */
.pc-perms-wrapper[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.pc-sysadmin-card[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    transition: all 0.15s ease;
}

.pc-sysadmin-card:hover[b-wfbnntvdl6] {
    border-color: var(--st-border-strong);
    background: var(--st-surface-muted);
}

.pc-sysadmin-card.is-active[b-wfbnntvdl6] {
    background: rgba(222, 163, 1, 0.08);
    border-color: rgba(222, 163, 1, 0.4);
}

.pc-sysadmin-checkbox[b-wfbnntvdl6] {
    width: 16px;
    height: 16px;
    accent-color: #dea301;
    cursor: pointer;
    margin: 0;
}

.pc-sysadmin-label[b-wfbnntvdl6] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
    cursor: pointer;
}

.pc-perms-container[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-perm-category[b-wfbnntvdl6] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pc-perm-category-header[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pc-perm-category-title[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-category-tag[b-wfbnntvdl6] {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--st-text-secondary);
    letter-spacing: 0.5px;
}

.pc-category-count[b-wfbnntvdl6] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
    background: var(--st-surface-sunken);
    padding: 2px 8px;
    border-radius: 12px;
}

.pc-perms-grid[b-wfbnntvdl6] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.pc-perm-card[b-wfbnntvdl6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.pc-perm-card:hover[b-wfbnntvdl6] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
    transform: translateY(-1px);
}

.pc-perm-card.is-selected[b-wfbnntvdl6] {
    background: rgba(254, 0, 228, 0.03);
    border-color: rgba(254, 0, 228, 0.35);
}

.pc-perm-checkbox[b-wfbnntvdl6] {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: #fe00e4;
    cursor: pointer;
    flex-shrink: 0;
}

.pc-perm-info[b-wfbnntvdl6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-perm-name[b-wfbnntvdl6] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.25;
}

.pc-perm-desc[b-wfbnntvdl6] {
    font-size: 11px;
    color: var(--st-text-subtle);
    line-height: 1.3;
}

.pc-editor-actions[b-wfbnntvdl6] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

.pc-primary[b-wfbnntvdl6] {
    background: #fe00e4;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-primary:hover[b-wfbnntvdl6] {
    background: #d600c0;
    transform: translateY(-1px);
}

.pc-primary:disabled[b-wfbnntvdl6] {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.pc-secondary[b-wfbnntvdl6] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-secondary:hover[b-wfbnntvdl6] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

/* Table Card */
.pc-table-card[b-wfbnntvdl6] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pc-table[b-wfbnntvdl6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pc-table th[b-wfbnntvdl6] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
}

.pc-table td[b-wfbnntvdl6] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pc-table tr:hover[b-wfbnntvdl6] {
    background: var(--st-surface-muted);
}

.pc-td-name[b-wfbnntvdl6] {
    font-weight: 700;
    color: var(--st-text);
}

.company-industry-badge[b-wfbnntvdl6] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
}

.pc-coverage[b-wfbnntvdl6] {
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pc-coverage:hover[b-wfbnntvdl6] {
    background: var(--st-info-bg-strong);
}

.pc-actions[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-link[b-wfbnntvdl6] {
    background: none;
    border: none;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.pc-link:hover[b-wfbnntvdl6] {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}

.pc-link-danger[b-wfbnntvdl6] {
    color: var(--st-danger-fg);
}

.pc-link-danger:hover[b-wfbnntvdl6] {
    background: rgba(220, 38, 38, 0.08);
}

.pc-feedback[b-wfbnntvdl6] {
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.pc-action-error[b-wfbnntvdl6] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}


/* Acciones en Tabla */
.pc-actions-cell[b-wfbnntvdl6] {
    white-space: nowrap;
}

.pc-actions[b-wfbnntvdl6] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-btn-action[b-wfbnntvdl6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.pc-btn-action svg[b-wfbnntvdl6] {
    flex-shrink: 0;
}

/* Accion Editar - Magenta */
.pc-btn-action-edit[b-wfbnntvdl6] {
    background: rgba(254, 0, 228, 0.08);
    color: #fe00e4;
    border-color: rgba(254, 0, 228, 0.22);
}

.pc-btn-action-edit:hover[b-wfbnntvdl6] {
    background: #fe00e4;
    color: #ffffff;
    border-color: #fe00e4;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-edit:active[b-wfbnntvdl6] {
    transform: translateY(0);
}

/* Accion Borrar / Bloquear - Danger */
.pc-btn-action-delete[b-wfbnntvdl6],
.pc-btn-action-lock[b-wfbnntvdl6] {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.22);
}

.pc-btn-action-delete:hover[b-wfbnntvdl6],
.pc-btn-action-lock:hover[b-wfbnntvdl6] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-delete:active[b-wfbnntvdl6],
.pc-btn-action-lock:active[b-wfbnntvdl6] {
    transform: translateY(0);
}

/* Accion Activar / Desbloquear - Success */
.pc-btn-action-unlock[b-wfbnntvdl6] {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.22);
}

.pc-btn-action-unlock:hover[b-wfbnntvdl6] {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-unlock:active[b-wfbnntvdl6] {
    transform: translateY(0);
}
/* /Pages/Home/Components/User/Platform/Templates/PlatformTemplatesView.razor.rz.scp.css */
.platform-templates-view[b-w28dkf59pg] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-w28dkf59pg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-w28dkf59pg] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-w28dkf59pg] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Canonical Search Pill */
.pc-wide-search-box[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.search-icon[b-w28dkf59pg] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.pc-wide-search-input[b-w28dkf59pg] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.clear-search[b-w28dkf59pg] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
}

.clear-search:hover[b-w28dkf59pg] {
    color: var(--st-text-subtle);
}

.pc-wide-add-btn[b-w28dkf59pg] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(254, 0, 228, 0.3);
}

.pc-wide-add-btn:hover[b-w28dkf59pg] {
    background: #d600c0;
    transform: translateY(-1px);
}

/* Filter Strip & Pills */
.tp-filter-strip-wrapper[b-w28dkf59pg] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.tp-scroll-arrow[b-w28dkf59pg] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.tp-scroll-arrow:hover[b-w28dkf59pg] {
    background: var(--st-surface-strong);
    color: var(--st-text);
    border-color: #fe00e4;
    box-shadow: 0 0 8px rgba(254, 0, 228, 0.3);
    transform: scale(1.06);
}

.tp-scroll-arrow:active[b-w28dkf59pg] {
    transform: scale(0.95);
}

.tp-scroll-arrow svg[b-w28dkf59pg] {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.pc-wide-filter-strip[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex: 1 1 0;
    min-width: 0;
    scroll-behavior: smooth;
}

.pc-wide-filter-strip[b-w28dkf59pg]::-webkit-scrollbar {
    display: none;
}

.pc-wide-filter-pill[b-w28dkf59pg] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill.active[b-w28dkf59pg] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pill-count[b-w28dkf59pg] {
    font-size: 11px;
    opacity: 0.85;
}

/* Category Badges on Cards */
.tp-type-badge[b-w28dkf59pg] {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 6px;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.08);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border-subtle);
}

.tp-badge-tenantsetting[b-w28dkf59pg] { background: rgba(104, 159, 56, 0.15); color: #8bc34a; border-color: rgba(104, 159, 56, 0.3); }
.tp-badge-process[b-w28dkf59pg] { background: rgba(37, 99, 235, 0.15); color: #60a5fa; border-color: rgba(37, 99, 235, 0.3); }
.tp-badge-jobtitle[b-w28dkf59pg] { background: rgba(147, 51, 234, 0.15); color: #c084fc; border-color: rgba(147, 51, 234, 0.3); }
.tp-badge-worklevel[b-w28dkf59pg] { background: rgba(217, 119, 6, 0.15); color: #fbbf24; border-color: rgba(217, 119, 6, 0.3); }
.tp-badge-hoursprocessworklevel[b-w28dkf59pg] { background: rgba(8, 145, 178, 0.15); color: #22d3ee; border-color: rgba(8, 145, 178, 0.3); }
.tp-badge-handover[b-w28dkf59pg] { background: rgba(79, 70, 229, 0.15); color: #818cf8; border-color: rgba(79, 70, 229, 0.3); }
.tp-badge-handoverreason[b-w28dkf59pg] { background: rgba(219, 39, 119, 0.15); color: #f472b6; border-color: rgba(219, 39, 119, 0.3); }
.tp-badge-shift[b-w28dkf59pg] { background: rgba(5, 150, 105, 0.15); color: #34d399; border-color: rgba(5, 150, 105, 0.3); }
.tp-badge-stakeholder[b-w28dkf59pg] { background: rgba(124, 58, 237, 0.15); color: #a78bfa; border-color: rgba(124, 58, 237, 0.3); }
.tp-badge-workcircuit[b-w28dkf59pg] { background: rgba(13, 148, 136, 0.15); color: #2dd4bf; border-color: rgba(13, 148, 136, 0.3); }
.tp-badge-workordertype[b-w28dkf59pg] { background: rgba(225, 29, 72, 0.15); color: #fb7185; border-color: rgba(225, 29, 72, 0.3); }

/* ========================================================================== */
/* Plantillas de Configuración - Layout Maestro-Detalle (SetupPanel / SetupEditPanel) */
/* ========================================================================== */

.tp-content-layout[b-w28dkf59pg] {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1;
    min-height: 0;
}

.tp-params-list[b-w28dkf59pg] {
    flex: 0 0 380px;
    width: 380px;
    min-width: 280px;
    max-width: 600px;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: none;
    padding-top: 5px;
    padding-right: 8px;
}

.tp-params-list[b-w28dkf59pg]::-webkit-scrollbar {
    display: none;
}

.tp-param-card[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tp-param-card:hover[b-w28dkf59pg] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.tp-param-card.selected[b-w28dkf59pg] {
    border: 2px solid #FFC107;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.2);
    background: var(--st-surface);
}

.tp-param-icon[b-w28dkf59pg] {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #689F38;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(104, 159, 56, 0.3);
}

.tp-param-info[b-w28dkf59pg] {
    flex: 1;
    min-width: 0;
}

.tp-param-name[b-w28dkf59pg] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tp-param-value[b-w28dkf59pg] {
    font-size: 12px;
    color: var(--st-text-subtle);
    margin-top: 3px;
}

.st-panel-resizer[b-w28dkf59pg] {
    width: 10px;
    margin-left: 0;
    margin-right: 0;
    cursor: col-resize;
    position: relative;
    z-index: 15;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--st-border);
    transition: background-color 0.2s ease;
}

.st-panel-resizer:hover[b-w28dkf59pg],
.st-panel-resizer.active[b-w28dkf59pg] {
    background-color: rgba(211, 59, 178, 0.12);
    border-right-color: #D33BB2;
}

.st-panel-resizer[b-w28dkf59pg]::after {
    content: "";
    width: 2px;
    height: 32px;
    border-radius: 1px;
    background-color: var(--st-surface-stronger);
    transition: background-color 0.2s ease, height 0.2s ease;
}

.st-panel-resizer:hover[b-w28dkf59pg]::after,
.st-panel-resizer.active[b-w28dkf59pg]::after {
    background-color: #D33BB2;
    height: 48px;
}

.tp-edit-detail[b-w28dkf59pg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    min-width: 0;
}

.setup-edit-panel[b-w28dkf59pg] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 28px;
    max-width: 640px;
}

.se-header[b-w28dkf59pg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.se-title[b-w28dkf59pg] {
    font-size: 16px;
    font-weight: 800;
    color: var(--st-text-strong);
    margin: 0;
}

.se-subtitle[b-w28dkf59pg] {
    font-size: 13px;
    color: var(--st-text-subtle);
    margin: 4px 0 0 0;
}

.se-header-info-icon[b-w28dkf59pg] {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    color: #fe00e4;
    background: rgba(254, 0, 228, 0.08);
    border: 1px solid rgba(254, 0, 228, 0.22);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.se-header-info-icon:hover[b-w28dkf59pg] {
    background: rgba(254, 0, 228, 0.16);
    border-color: rgba(254, 0, 228, 0.45);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(254, 0, 228, 0.3);
    transform: scale(1.06);
}

.setup-edit-panel .form-control[b-w28dkf59pg],
.setup-edit-panel .st-form-control[b-w28dkf59pg] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--st-text);
    background-color: var(--st-surface-muted);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.setup-edit-panel .form-control:focus[b-w28dkf59pg],
.setup-edit-panel .st-form-control:focus[b-w28dkf59pg] {
    outline: none;
    border-color: #fe00e4;
    background-color: var(--st-surface);
    box-shadow: 0 0 0 3px rgba(254, 0, 228, 0.1);
}

.setup-edit-panel .form-group label[b-w28dkf59pg],
.setup-edit-panel .st-form-group label[b-w28dkf59pg] {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body);
    margin-bottom: 6px;
}

.tp-props-grid[b-w28dkf59pg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    padding: 12px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-subtle);
    border-radius: 8px;
}

.tp-prop-item[b-w28dkf59pg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tp-prop-key[b-w28dkf59pg] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
    text-transform: uppercase;
}

.tp-prop-val[b-w28dkf59pg] {
    font-size: 12px;
    color: var(--st-text);
    font-weight: 500;
    word-break: break-all;
}

.se-field-label[b-w28dkf59pg] {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body);
    margin-bottom: 10px;
}

.toggle-container[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-switch[b-w28dkf59pg] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.st-switch input[b-w28dkf59pg] {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-slider[b-w28dkf59pg] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .25s;
    border-radius: 26px;
}

.st-slider[b-w28dkf59pg]:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .25s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.st-switch input:checked + .st-slider[b-w28dkf59pg] {
    background-color: #059669;
}

.st-switch input:checked + .st-slider[b-w28dkf59pg]:before {
    transform: translateX(22px);
}

.st-switch-text[b-w28dkf59pg] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.st-switch-text.active[b-w28dkf59pg] {
    color: var(--st-success-fg);
}

.se-footer[b-w28dkf59pg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--st-border-subtle);
}

.se-footer-actions[b-w28dkf59pg] {
    display: flex;
    gap: 12px;
}

.btn-delete[b-w28dkf59pg] {
    border: 1px solid #ef4444;
    color: var(--st-danger-fg);
    background: transparent;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.btn-delete:hover[b-w28dkf59pg] {
    background: rgba(239, 68, 68, 0.08);
}

.btn-cancel[b-w28dkf59pg] {
    background: var(--st-surface-strong);
    color: var(--st-text-secondary);
    border: none;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-cancel:hover[b-w28dkf59pg] {
    background: var(--st-surface-stronger);
}

.btn-save[b-w28dkf59pg] {
    background: #fe00e4;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.3);
}

.btn-save:hover[b-w28dkf59pg] {
    background: #d900c2;
}

/* Feedback messages */
.pc-feedback[b-w28dkf59pg] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.pc-action-error[b-w28dkf59pg] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.pc-editor-error[b-w28dkf59pg] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}
/* /Pages/Home/Components/User/Platform/Workshops/PlatformLifecycleModal.razor.rz.scp.css */
.lifecycle-modal-overlay[b-tldtor79od] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: st-fade-in 0.2s ease-out;
}

.lifecycle-modal-content[b-tldtor79od] {
    background: var(--st-surface, #0d1b2e);
    border: 1px solid var(--st-border-strong, rgba(255, 255, 255, 0.15));
    border-radius: 16px;
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: st-dialog-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.lifecycle-modal-header[b-tldtor79od] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    padding-right: 28px;
}

.lifecycle-header-icon[b-tldtor79od] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lifecycle-header-icon.icon-suspend[b-tldtor79od] {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.lifecycle-header-icon.icon-reactivate[b-tldtor79od] {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.lifecycle-header-text[b-tldtor79od] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lifecycle-modal-title[b-tldtor79od] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-text, #ffffff);
}

.lifecycle-modal-subtitle[b-tldtor79od] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--st-text-subtle, rgba(255, 255, 255, 0.65));
    font-weight: 500;
}

.lifecycle-modal-close[b-tldtor79od] {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: var(--st-text-muted, rgba(255, 255, 255, 0.5));
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.lifecycle-modal-close:hover[b-tldtor79od] {
    background: var(--st-surface-sunken, rgba(255, 255, 255, 0.08));
    color: var(--st-text, #ffffff);
}

.lifecycle-modal-body[b-tldtor79od] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lifecycle-alert[b-tldtor79od] {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.83rem;
    line-height: 1.4;
    font-weight: 500;
}

.lifecycle-alert.alert-warning[b-tldtor79od] {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.lifecycle-alert.alert-info[b-tldtor79od] {
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #93c5fd;
}

.lifecycle-form-group[b-tldtor79od] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lifecycle-label-row[b-tldtor79od] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lifecycle-label[b-tldtor79od] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text-body, rgba(255, 255, 255, 0.85));
}

.lifecycle-char-count[b-tldtor79od] {
    font-size: 0.75rem;
    font-weight: 600;
}

.char-count-invalid[b-tldtor79od] {
    color: #ef4444;
}

.char-count-valid[b-tldtor79od] {
    color: #2ecc71;
}

.lifecycle-select[b-tldtor79od],
.lifecycle-textarea[b-tldtor79od] {
    background: var(--st-surface-sunken, rgba(0, 0, 0, 0.25));
    border: 1px solid var(--st-border, rgba(255, 255, 255, 0.15));
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--st-text, #ffffff);
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    width: 100%;
}

.lifecycle-textarea[b-tldtor79od] {
    resize: vertical;
}

.lifecycle-textarea.notes-area[b-tldtor79od] {
    min-height: 50px;
}

.lifecycle-select:focus[b-tldtor79od],
.lifecycle-textarea:focus[b-tldtor79od] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 2px rgba(254, 0, 228, 0.15);
}

.lifecycle-validation-error[b-tldtor79od] {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

.lifecycle-modal-footer[b-tldtor79od] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border-subtle, rgba(255, 255, 255, 0.08));
}

.btn-lifecycle-cancel[b-tldtor79od] {
    background: var(--st-surface-sunken, rgba(255, 255, 255, 0.08));
    color: var(--st-text-secondary, rgba(255, 255, 255, 0.75));
    border: 1px solid var(--st-border-strong, rgba(255, 255, 255, 0.15));
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-lifecycle-cancel:hover[b-tldtor79od] {
    background: var(--st-surface-strong, rgba(255, 255, 255, 0.12));
    color: var(--st-text, #ffffff);
}

.btn-lifecycle-confirm[b-tldtor79od] {
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    color: #ffffff;
}

.btn-lifecycle-confirm.btn-danger[b-tldtor79od] {
    background: #ef4444;
}

.btn-lifecycle-confirm.btn-danger:hover[b-tldtor79od] {
    background: #dc2626;
}

.btn-lifecycle-confirm.btn-success[b-tldtor79od] {
    background: #2ecc71;
}

.btn-lifecycle-confirm.btn-success:hover[b-tldtor79od] {
    background: #27ae60;
}
/* /Pages/Home/Components/User/Platform/Workshops/PlatformWorkshopsView.razor.rz.scp.css */
.platform-workshops-view[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Wide Header */
.pc-wide-header[b-342jhu06ut] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
}

.pc-wide-header-left[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-wide-title[b-342jhu06ut] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pc-wide-subtitle[b-342jhu06ut] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 0;
}

.pc-wide-header-right[b-342jhu06ut] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Canonical Search Pill */
.pc-wide-search-box[b-342jhu06ut] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-width: 220px;
}

.search-icon[b-342jhu06ut] {
    width: 16px;
    height: 16px;
    color: var(--st-text-muted);
    flex-shrink: 0;
}

.pc-wide-search-input[b-342jhu06ut] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
}

.clear-search[b-342jhu06ut] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
}

.clear-search:hover[b-342jhu06ut] {
    color: var(--st-text-subtle);
}

/* Filter Strip & Pills */
.pc-wide-filter-strip[b-342jhu06ut] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pc-wide-filter-pill[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-wide-filter-pill.active[b-342jhu06ut] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pill-count[b-342jhu06ut] {
    font-size: 11px;
    opacity: 0.85;
}

/* Wide Tables & Details */
.pc-wide-catalog-detail[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    min-height: 0;
}

.pc-sub-header[b-342jhu06ut] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pc-sub-back-btn[b-342jhu06ut] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-sub-back-btn:hover[b-342jhu06ut] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

.pc-sub-header-title[b-342jhu06ut] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--st-text);
}

.pc-table-card[b-342jhu06ut] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pc-table[b-342jhu06ut] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pc-table th[b-342jhu06ut] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
}

.pc-table td[b-342jhu06ut] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.pc-table tr:hover[b-342jhu06ut] {
    background: var(--st-surface-muted);
}

.pc-td-name[b-342jhu06ut],
.pc-name-cell[b-342jhu06ut] {
    font-weight: 700;
    color: var(--st-text);
}

.pc-sub[b-342jhu06ut] {
    display: block;
    font-size: 11px;
    color: var(--st-text-subtle);
    font-family: monospace;
    margin-top: 2px;
}

.pc-code[b-342jhu06ut] {
    font-family: monospace;
    font-size: 11px;
    background: var(--st-surface-sunken);
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

.pc-bool[b-342jhu06ut] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.pc-bool-on[b-342jhu06ut] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pc-bool-off[b-342jhu06ut] {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
    border: 1px solid var(--st-danger-border);
}

.pc-bool-paid[b-342jhu06ut] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
}

.pc-bool-overdue[b-342jhu06ut] {
    background: var(--st-warning-bg);
    color: var(--st-warning-fg);
}

.pc-audit[b-342jhu06ut] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.pc-actions[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pc-btn-action[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.pc-btn-action svg[b-342jhu06ut] {
    flex-shrink: 0;
}

.pc-btn-action-primary[b-342jhu06ut] {
    background: rgba(254, 0, 228, 0.08);
    color: #fe00e4;
    border-color: rgba(254, 0, 228, 0.22);
}

.pc-btn-action-primary:hover[b-342jhu06ut] {
    background: #fe00e4;
    color: #ffffff;
    border-color: #fe00e4;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-primary:active[b-342jhu06ut] {
    transform: translateY(0);
}

.pc-btn-action-danger[b-342jhu06ut] {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.22);
}

.pc-btn-action-danger:hover[b-342jhu06ut] {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-danger:active[b-342jhu06ut] {
    transform: translateY(0);
}

.pc-btn-action-success[b-342jhu06ut] {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.22);
}

.pc-btn-action-success:hover[b-342jhu06ut] {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.pc-btn-action-success:active[b-342jhu06ut] {
    transform: translateY(0);
}

.pc-actions-cell[b-342jhu06ut] {
    white-space: nowrap;
}

.pc-link[b-342jhu06ut] {
    background: transparent;
    border: none;
    color: #fe00e4;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
}

.pc-link:hover[b-342jhu06ut] {
    text-decoration: underline;
}

.pc-link-danger[b-342jhu06ut] {
    color: var(--st-danger-fg, #e74c3c);
}

.pc-link-danger:hover[b-342jhu06ut] {
    color: #c0392b;
}

.pc-link-success[b-342jhu06ut] {
    color: var(--st-success-fg, #2ecc71);
}

.pc-link-success:hover[b-342jhu06ut] {
    color: #27ae60;
}

.pc-lifecycle-active[b-342jhu06ut] {
    background: var(--st-success-bg, rgba(46, 204, 113, 0.15));
    color: var(--st-success-fg, #2ecc71);
    border: 1px solid var(--st-success-border, rgba(46, 204, 113, 0.3));
}

.pc-lifecycle-suspended[b-342jhu06ut] {
    background: var(--st-danger-bg, rgba(231, 76, 60, 0.15));
    color: var(--st-danger-fg, #e74c3c);
    border: 1px solid var(--st-danger-border, rgba(231, 76, 60, 0.3));
    cursor: help;
}

.pc-lifecycle-onboarding[b-342jhu06ut] {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.pc-history-link[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    color: var(--st-info-fg);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pc-history-link:hover[b-342jhu06ut] {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--st-info-fg);
}

/* Editor Form Card */
.pc-editor-card[b-342jhu06ut] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.pc-editor-title[b-342jhu06ut] {
    font-weight: 800;
    font-size: 14px;
    color: var(--st-text);
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 8px;
}

/* «Control de carga» card of the selected workshop (load control, task 8.2) */
.pc-lc-head[b-342jhu06ut] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pc-lc-text[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pc-lc-card .pc-editor-title[b-342jhu06ut] {
    border-bottom: none;
    padding-bottom: 0;
}

.pc-lc-error[b-342jhu06ut] {
    color: var(--st-danger-fg, #b91c1c);
}

.pc-editor-grid[b-342jhu06ut] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pc-field[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-field span[b-342jhu06ut] {
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-subtle);
}

.pc-field input[b-342jhu06ut],
.pc-field select[b-342jhu06ut] {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--st-text);
    font-size: 13px;
    outline: none;
}

.pc-field input:focus[b-342jhu06ut],
.pc-field select:focus[b-342jhu06ut] {
    border-color: #fe00e4;
    box-shadow: 0 0 0 2px rgba(254, 0, 228, 0.15);
}

.pc-readonly[b-342jhu06ut] {
    background: var(--st-surface-sunken) !important;
    color: var(--st-text-muted) !important;
}

.pc-editor-actions[b-342jhu06ut] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.pc-primary[b-342jhu06ut] {
    background: #fe00e4;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pc-primary:hover[b-342jhu06ut] {
    background: #d600c0;
}

.pc-secondary[b-342jhu06ut] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
    border: 1px solid var(--st-border-strong);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pc-secondary:hover[b-342jhu06ut] {
    background: var(--st-surface-strong);
}

/* Feedback messages */
.pc-feedback[b-342jhu06ut] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.pc-action-error[b-342jhu06ut] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.inbox-empty[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--st-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}


/* ==========================================================================
   Platform Workshops View Redesign - KPI Grid & Workshop Table
   ========================================================================== */

/* KPI Grid */
.pw-kpi-grid[b-342jhu06ut] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .pw-kpi-grid[b-342jhu06ut] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pw-kpi-grid[b-342jhu06ut] {
        grid-template-columns: 1fr;
    }
}

.pw-kpi-card[b-342jhu06ut] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pw-kpi-card:hover[b-342jhu06ut] {
    border-color: var(--st-border-strong);
}

.pw-kpi-icon-wrap[b-342jhu06ut] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pw-kpi-icon-amber[b-342jhu06ut] {
    background: rgba(222, 163, 1, 0.12);
    color: #dea301;
}

.pw-kpi-icon-green[b-342jhu06ut] {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.pw-kpi-icon-blue[b-342jhu06ut] {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.pw-kpi-icon-red[b-342jhu06ut] {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.pw-kpi-content[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pw-kpi-label[b-342jhu06ut] {
    font-size: 11px;
    font-weight: 800;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pw-kpi-value[b-342jhu06ut] {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--st-text);
    line-height: 1.2;
}

.pw-kpi-sub[b-342jhu06ut] {
    font-size: 12px;
    color: var(--st-text-subtle);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pw-kpi-badge[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.pw-kpi-badge-success[b-342jhu06ut] {
    background: var(--st-success-bg, rgba(46, 204, 113, 0.15));
    color: var(--st-success-fg, #2ecc71);
    border: 1px solid var(--st-success-border, rgba(46, 204, 113, 0.3));
}

.pw-kpi-badge-danger[b-342jhu06ut] {
    background: var(--st-danger-bg, rgba(231, 76, 60, 0.15));
    color: var(--st-danger-fg, #e74c3c);
    border: 1px solid var(--st-danger-border, rgba(231, 76, 60, 0.3));
}

/* Controls Bar (Filters & Search) */
.pw-controls-bar[b-342jhu06ut] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: 2px;
    margin-bottom: 2px;
}

.pw-controls-left[b-342jhu06ut] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pw-filter-pill[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pw-filter-pill:hover[b-342jhu06ut] {
    background: var(--st-surface-strong);
    color: var(--st-text);
}

.pw-filter-pill.active[b-342jhu06ut] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pw-filter-pill.active .pw-pill-badge[b-342jhu06ut] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.pw-pill-badge[b-342jhu06ut] {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--st-surface-strong);
    color: var(--st-text-body);
}

.pw-controls-right[b-342jhu06ut] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pw-count-label[b-342jhu06ut] {
    font-size: 12.5px;
    color: var(--st-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

/* Table Specific Cell Styling */
.pw-company-name[b-342jhu06ut] {
    font-weight: 700;
    font-size: 13px;
    color: var(--st-text);
    letter-spacing: -0.1px;
}

.pw-city-name[b-342jhu06ut] {
    font-size: 12.5px;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.pw-workshop-pill[b-342jhu06ut] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text);
}

.pw-dept-tag[b-342jhu06ut] {
    font-size: 12px;
    color: var(--st-text-subtle);
    font-weight: 500;
}

.pw-date-text[b-342jhu06ut] {
    font-size: 11.5px;
    color: var(--st-text-muted);
    font-variant-numeric: tabular-nums;
}

.pw-status-cell[b-342jhu06ut] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.pw-badge-service[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    padding: 2.5px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.pw-service-active[b-342jhu06ut] {
    background: var(--st-success-bg, rgba(46, 204, 113, 0.15));
    color: var(--st-success-fg, #2ecc71);
    border: 1px solid var(--st-success-border, rgba(46, 204, 113, 0.3));
}

.pw-service-suspended[b-342jhu06ut] {
    background: var(--st-danger-bg, rgba(231, 76, 60, 0.15));
    color: var(--st-danger-fg, #e74c3c);
    border: 1px solid var(--st-danger-border, rgba(231, 76, 60, 0.3));
    cursor: help;
}

.pw-service-other[b-342jhu06ut] {
    background: var(--st-surface-sunken);
    color: var(--st-text-muted);
    border: 1px solid var(--st-border);
}

.pw-operative-indicator[b-342jhu06ut] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pw-dot[b-342jhu06ut] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.pw-dot-active[b-342jhu06ut] {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.pw-dot-inactive[b-342jhu06ut] {
    background: #94a3b8;
}

.pw-operative-text[b-342jhu06ut] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

/* A34: a switch that departs from the GOG says so under its description. */
.pc-caution[b-342jhu06ut] {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 4px;
    padding: 4px 8px;
    line-height: 1.3;
}
/* /Pages/Home/Components/User/Platform/Worlds/PlatformWorldsView.razor.rz.scp.css */
.platform-worlds-view[b-e8devcyy5t] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.pw-header[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.pw-header-left[b-e8devcyy5t] {
    min-width: 0;
}

.pw-header-right[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pw-title[b-e8devcyy5t] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0;
}

.pw-subtitle[b-e8devcyy5t] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    font-weight: 500;
    margin: 2px 0 0;
}

.pw-stamp[b-e8devcyy5t] {
    font-size: 12px;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.pw-toolbar[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pw-filter-strip[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pw-pill[b-e8devcyy5t] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 16px;
    border-radius: 20px;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
    border: 1px solid var(--st-border);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pw-pill:hover[b-e8devcyy5t] {
    background: var(--st-surface-muted);
}

.pw-pill.active[b-e8devcyy5t] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
}

.pw-count[b-e8devcyy5t] {
    font-size: 11px;
    opacity: 0.85;
}

.pw-search-box[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    min-height: 36px;
    min-width: 280px;
    box-sizing: border-box;
}

.pw-search-input[b-e8devcyy5t] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--st-text);
    flex: 1;
    min-width: 0;
}

.pw-clear[b-e8devcyy5t] {
    display: inline-flex;
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 0 4px;
}

.pw-summary[b-e8devcyy5t] {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-body);
}

.pw-table-card[b-e8devcyy5t] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pw-table[b-e8devcyy5t] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.pw-table th[b-e8devcyy5t] {
    background: var(--st-surface-muted);
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    color: var(--st-text-subtle);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.pw-table td[b-e8devcyy5t] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: top;
}

.pw-table tr:hover[b-e8devcyy5t] {
    background: var(--st-surface-muted);
}

.pw-name[b-e8devcyy5t] {
    font-weight: 700;
    color: var(--st-text);
}

.pw-meta[b-e8devcyy5t] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.pw-change[b-e8devcyy5t] {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-body);
}

.pw-actions-cell[b-e8devcyy5t] {
    white-space: nowrap;
}

.pw-badge[b-e8devcyy5t] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pw-badge.is-legacy[b-e8devcyy5t] {
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

.pw-badge.is-pilot[b-e8devcyy5t] {
    background: var(--st-warning-bg);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
}

.pw-badge.is-world[b-e8devcyy5t] {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
}

.pw-badge.is-2d[b-e8devcyy5t] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
}

.pw-btn[b-e8devcyy5t] {
    min-height: 36px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pw-btn:hover:not(:disabled)[b-e8devcyy5t] {
    background: var(--st-surface-muted);
}

.pw-btn:disabled[b-e8devcyy5t] {
    opacity: 0.55;
    cursor: default;
}

.pw-link[b-e8devcyy5t] {
    background: transparent;
    border: none;
    color: #fe00e4;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
}

.pw-editor-row td[b-e8devcyy5t] {
    background: var(--st-surface-muted);
}

.pw-editor[b-e8devcyy5t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pw-option-line[b-e8devcyy5t] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* A device class goes and comes back with the same pill: the active one stays clickable. */
.pw-option--device.active[b-e8devcyy5t] { cursor: pointer; }

.pw-devices-note[b-e8devcyy5t] { color: var(--st-text-warning, #b98a00); }

.pw-option-label[b-e8devcyy5t] {
    min-width: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-text-subtle);
}

.pw-option-strip[b-e8devcyy5t] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pw-option[b-e8devcyy5t] {
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--st-surface);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pw-option:hover:not(:disabled):not(.active)[b-e8devcyy5t] {
    border-color: #dea301;
}

.pw-option.active[b-e8devcyy5t] {
    background: #dea301;
    color: #ffffff;
    border-color: #dea301;
    cursor: default;
}

.pw-option:disabled[b-e8devcyy5t] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pw-note[b-e8devcyy5t] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.pw-notice[b-e8devcyy5t] {
    background: var(--st-warning-bg-strong);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pw-feedback[b-e8devcyy5t] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pw-error[b-e8devcyy5t] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.pw-empty[b-e8devcyy5t] {
    padding: 24px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 13px;
}

.pw-loading[b-e8devcyy5t] {
    padding: 24px;
}

.pw-pill:focus-visible[b-e8devcyy5t],
.pw-btn:focus-visible[b-e8devcyy5t],
.pw-link:focus-visible[b-e8devcyy5t],
.pw-clear:focus-visible[b-e8devcyy5t],
.pw-option:focus-visible[b-e8devcyy5t] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .pw-search-box[b-e8devcyy5t] {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pw-pill[b-e8devcyy5t],
    .pw-btn[b-e8devcyy5t],
    .pw-option[b-e8devcyy5t] {
        transition-duration: 0.01ms;
    }
}
/* /Pages/Home/Components/User/ProfessionalSummary.razor.rz.scp.css */
.professional-block[b-15iextpp2n] {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.professional-header[b-15iextpp2n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.professional-icon[b-15iextpp2n] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fce7f3;
    color: #9d174d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.professional-title[b-15iextpp2n] {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--st-text-body);
}

.professional-type[b-15iextpp2n] {
    padding: 3px 9px;
    border-radius: 12px;
    background: var(--st-surface-strong);
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 700;
}

.professional-summary[b-15iextpp2n] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 20px;
    background: var(--st-surface-strong);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: opacity 0.15s ease;
}

.professional-summary:hover[b-15iextpp2n] {
    opacity: 0.85;
}

.professional-avatars[b-15iextpp2n] {
    display: flex;
}

.professional-initials[b-15iextpp2n] {
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid #dea301;
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.professional-initials:first-child[b-15iextpp2n] {
    margin-left: 0;
}

.professional-text[b-15iextpp2n] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.professional-count[b-15iextpp2n] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-body);
}

.professional-names[b-15iextpp2n] {
    font-size: 12px;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.professional-chevron[b-15iextpp2n] {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-text-subtle);
    transition: transform 0.2s ease;
}

.professional-chevron.open[b-15iextpp2n] {
    transform: rotate(90deg);
}

.professional-links[b-15iextpp2n] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.professional-links-title[b-15iextpp2n] {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.professional-link[b-15iextpp2n] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--st-surface-strong);
}

.professional-link-company[b-15iextpp2n] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-body);
}

.professional-link-place[b-15iextpp2n] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.professional-link-position[b-15iextpp2n] {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.professional-chip[b-15iextpp2n] {
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--st-accent-bg);
    border: 1px solid var(--st-accent-border);
    color: var(--st-accent-text);
    font-size: 12px;
    font-weight: 600;
}

.professional-chip-empty[b-15iextpp2n] {
    background: transparent;
    border-color: var(--st-border-strong);
    color: var(--st-text-subtle);
    font-weight: 500;
}

.professional-link-label[b-15iextpp2n] {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-subtle);
}
/* /Pages/Home/Components/User/ProfilePanel.razor.rz.scp.css */
.profile-panel[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: var(--st-text-strong);
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
}

.profile-panel[b-cn5loyi2ml]::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.btn-back[b-cn5loyi2ml] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 4px 6px;
    margin-bottom: 4px;
    border-radius: 6px;
    transition: all 0.15s;
}

.btn-back:hover[b-cn5loyi2ml] {
    color: var(--st-text-strong);
    background: var(--st-surface-sunken);
}

.btn-back svg[b-cn5loyi2ml] {
    width: 16px;
    height: 16px;
}

.profile-header[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

.avatar-container[b-cn5loyi2ml] {
    position: relative;
    margin-bottom: 15px;
}

.profile-avatar[b-cn5loyi2ml] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--st-border-strong);
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.profile-avatar-placeholder[b-cn5loyi2ml] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: white;
    border: 3px solid var(--st-border-strong);
}

.status-indicator[b-cn5loyi2ml] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--st-surface);
}

.status-indicator.active[b-cn5loyi2ml] {
    background-color: #10b981;
    /* Emerald 500 */
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-indicator.inactive[b-cn5loyi2ml] {
    background-color: #ef4444;
    /* Red 500 */
}

.profile-name[b-cn5loyi2ml] {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--st-text-strong);
}

.profile-role[b-cn5loyi2ml] {
    font-size: 16px;
    color: var(--st-text-subtle);
    margin: 5px 0 15px 0;
    font-style: italic;
}

.profile-email[b-cn5loyi2ml] {
    font-size: 14px;
    color: var(--st-text-subtle);
    margin: 2px 0 0 0;
}

.data-list[b-cn5loyi2ml] {
    margin-top: 10px;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--st-surface-strong);
}

.data-row[b-cn5loyi2ml] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
}

.data-row + .data-row[b-cn5loyi2ml] {
    border-top: 1px solid var(--st-border, rgba(128, 128, 128, 0.2));
}

.data-icon[b-cn5loyi2ml] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #c98f00;
}

.data-label[b-cn5loyi2ml] {
    flex: 1;
    font-size: 15px;
    color: var(--st-text-body);
}

.data-value[b-cn5loyi2ml] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-body);
}

.data-warning[b-cn5loyi2ml] {
    margin: 0 0 10px 34px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--st-warning-text);
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
}

.status-badge[b-cn5loyi2ml] {
    display: flex;
    align-items: center;
    background: var(--st-fill-4);
    padding: 6px 16px;
    border-radius: 20px;
    gap: 8px;
}

.status-dot[b-cn5loyi2ml] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
}

.status-text[b-cn5loyi2ml] {
    font-size: 14px;
    font-weight: 500;
}

/* Sections */
.profile-sections[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-section[b-cn5loyi2ml] {
    background: var(--st-surface-raised);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-header[b-cn5loyi2ml] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: var(--st-surface-raised);
    color: var(--st-text);
    font-weight: 600;
}

.section-title-group[b-cn5loyi2ml] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon[b-cn5loyi2ml] {
    width: 24px;
    height: 24px;
    display: inline-block;
    /* The SVG is a mask painted with the text color, so the icon follows the theme. */
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    opacity: 0.7;
}

.section-icon.personal[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" /></svg>');
}

.section-icon.metrics[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" /></svg>');
}

.section-icon.security[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" /></svg>');
}

.section-icon.integration[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12" /></svg>');
}

.section-icon.requests[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4" /></svg>');
}

.section-icon.platform[b-cn5loyi2ml] {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm0 10a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zm3-9h.01M7 17h.01" /></svg>');
}

.chevron-icon[b-cn5loyi2ml] {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="gray"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" /></svg>');
    background-size: contain;
}

.section-header-end[b-cn5loyi2ml] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-badge[b-cn5loyi2ml] {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--st-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.chevron-icon.up[b-cn5loyi2ml] {
    transform: rotate(180deg);
}

.section-content[b-cn5loyi2ml] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: var(--st-surface-muted);
}

.profile-section.expanded .section-content[b-cn5loyi2ml] {
    max-height: 1400px;
    padding-bottom: 20px;
}

.info-grid[b-cn5loyi2ml] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.info-item[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item.full-width[b-cn5loyi2ml] {
    grid-column: span 2;
}

.info-item label[b-cn5loyi2ml] {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--st-text-subtle);
    font-weight: 600;
}

.info-value[b-cn5loyi2ml] {
    background: var(--st-surface-strong);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--st-text-body);
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.placeholder-content[b-cn5loyi2ml] {
    padding: 20px;
    text-align: center;
    color: var(--st-text-muted);
    font-style: italic;
    font-size: 14px;
}

/* Edit Mode Styles */
.profile-input[b-cn5loyi2ml] {
    background: var(--st-input-bg);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--st-text-body);
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    border: 1px solid var(--st-border-strong);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.profile-input:focus[b-cn5loyi2ml] {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.profile-input:disabled[b-cn5loyi2ml] {
    background: var(--st-surface-strong);
    cursor: not-allowed;
    color: var(--st-text-subtle);
}

.btn-edit[b-cn5loyi2ml] {
    background: #e500cd; /* same magenta as the + button */
    color: white;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-edit.btn-edit-icon[b-cn5loyi2ml] {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-edit:hover[b-cn5loyi2ml] {
    background: #c900b4;
}

/* Cancel is neutral so Save (magenta) is the only call to action. */
.btn-cancel[b-cn5loyi2ml] {
    background: var(--st-surface-strong);
    color: var(--st-text-body);
    border: 1px solid var(--st-border-strong);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-cancel:hover[b-cn5loyi2ml] {
    background: var(--st-border-strong);
}

.btn-save[b-cn5loyi2ml] {
    background: #e500cd; /* same magenta as the + button */
    color: white;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-save:hover[b-cn5loyi2ml] {
    background: #c900b4;
}

.btn-save:disabled[b-cn5loyi2ml] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Edit form drawn like the read-only list: one rounded panel, label on the left and the field on the right. */
.info-grid.edit-list[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--st-surface-strong);
}

.edit-list .info-item[b-cn5loyi2ml],
.edit-list .info-item.full-width[b-cn5loyi2ml] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
}

.edit-list .info-item + .info-item[b-cn5loyi2ml] {
    border-top: 1px solid var(--st-border, rgba(128, 128, 128, 0.2));
}

.edit-list .info-item label[b-cn5loyi2ml] {
    flex: 1;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: var(--st-text-body);
}

.edit-list .profile-input[b-cn5loyi2ml] {
    width: 60%;
    min-height: 36px;
    text-align: right;
    font-weight: 700;
}

.edit-list[b-cn5loyi2ml]  .st-native-selector {
    width: 60%;
    min-height: 36px;
    flex-shrink: 0;
}

/* The dropdown trigger takes the look of the text fields beside it (same fill, border, radius, height and type). */
.edit-list[b-cn5loyi2ml]  .st-native-selector-trigger {
    height: 36px;
    padding: 0 32px 0 12px;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    box-shadow: none;
}

.edit-list[b-cn5loyi2ml]  .st-native-selector:hover .st-native-selector-trigger,
.edit-list[b-cn5loyi2ml]  .st-native-selector.is-open .st-native-selector-trigger {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.edit-list[b-cn5loyi2ml]  .st-native-selector-value {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    color: var(--st-text-body);
}

.edit-list[b-cn5loyi2ml]  .st-native-selector-arrow-container {
    right: 12px;
}

/* «Eliminar mi cuenta» (decision s-7), at the end of the Seguridad section. */
.profile-delete-entry[b-cn5loyi2ml] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-danger-border);
    background: transparent;
    color: var(--st-danger-text);
    text-align: left;
    cursor: pointer;
}

.profile-delete-entry:hover[b-cn5loyi2ml] {
    background: var(--st-danger-bg);
}

.profile-delete-entry-title[b-cn5loyi2ml] {
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-delete-entry-hint[b-cn5loyi2ml] {
    font-size: 0.8rem;
    color: var(--st-text-secondary);
}
/* /Pages/Home/Components/WorkSession/ActiveWorkSessionBanner.razor.rz.scp.css */
@font-face {
    font-family: 'Digital-7 Mono';
    src: url('https://fonts.cdnfonts.com/s/14106/digital-7%20(mono).woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.active-work-banner-wrapper[b-a9scfdpn02] {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    width: auto;
    animation: workSessionFadeIn-b-a9scfdpn02 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes workSessionFadeIn-b-a9scfdpn02 {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floats over the map next to the tenant card, which keeps its slate glass in both themes:
   the capsule keeps its own literal palette too (slate glass, white text, digital timer). */
.active-work-capsule[b-a9scfdpn02] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 380px;
    max-width: 380px;
    background: rgba(79, 94, 115, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    padding: 2px 2px 2px 4px;
    height: 44px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45), 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Vehicle Thumbnail */
.car-thumb-border[b-a9scfdpn02] {
    position: relative;
    width: 68px;
    height: 50px;
    border-radius: 14px;
    border: 2px solid #ffffff;
    overflow: hidden;
    background: #223142;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.pending-authorization-overlay[b-a9scfdpn02] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    z-index: 2;
}

.pending-authorization-overlay svg[b-a9scfdpn02] {
    width: 28px;
    height: 28px;
    color: #ffffff;
    opacity: 0.95;
    animation: authClockPulse-b-a9scfdpn02 2s ease-in-out infinite;
}

@keyframes authClockPulse-b-a9scfdpn02 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
    }
}

.car-thumb-img[b-a9scfdpn02] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-thumb-placeholder[b-a9scfdpn02] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #334155;
}

.car-placeholder-icon[b-a9scfdpn02] {
    width: 28px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
}

/* Vehicle Info */
.vehicle-info-stack[b-a9scfdpn02] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 120px;
    overflow: hidden;
}

.vehicle-plate[b-a9scfdpn02] {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
}

.vehicle-subtext[b-a9scfdpn02] {
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
}

/* Digital Timer */
.timer-container[b-a9scfdpn02] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Digital-7 Mono', 'Digital-7', 'Segment7', 'DSEG7 Classic', 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #39e75f;
    padding: 0 4px;
    user-select: none;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

.timer-container.timer-paused[b-a9scfdpn02] {
    color: #ffd255;
}

.timer-digits[b-a9scfdpn02] {
    display: inline-block;
    font-family: 'Digital-7 Mono', 'Digital-7', 'Segment7', 'DSEG7 Classic', 'Orbitron', monospace;
}

.timer-colon[b-a9scfdpn02] {
    display: inline-block;
    font-family: 'Digital-7 Mono', 'Digital-7', 'Segment7', 'DSEG7 Classic', 'Orbitron', monospace;
    margin: 0 3px;
    letter-spacing: 0;
    transition: opacity 0.15s ease;
}

.timer-colon.colon-visible[b-a9scfdpn02] {
    opacity: 1;
}

.timer-colon.colon-hidden[b-a9scfdpn02] {
    opacity: 0.15;
}

/* Action Buttons */
.active-actions-group[b-a9scfdpn02] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
}

.action-btn[b-a9scfdpn02] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.action-btn:hover[b-a9scfdpn02] {
    transform: scale(1.05);
}

.action-btn:active[b-a9scfdpn02] {
    transform: scale(0.95);
}

.action-btn.blocked[b-a9scfdpn02] {
    opacity: 0.45;
    filter: blur(0.5px) grayscale(60%);
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
}

.pause-btn[b-a9scfdpn02] {
    background: #d5dde7;
    color: #ffffff;
}

.pause-btn.is-paused[b-a9scfdpn02] {
    background: #3df184;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(61, 241, 132, 0.4);
}

.stop-btn[b-a9scfdpn02] {
    background: #ff6c7a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 108, 122, 0.4);
}

.stop-btn:hover[b-a9scfdpn02] {
    background: #f43f5e;
}

.action-icon[b-a9scfdpn02] {
    width: 20px;
    height: 20px;
}

/* Progress against the step's hours (VM-turno-rondas-6) */
.step-progress[b-a9scfdpn02] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 3px;
    min-width: 0;
}

.step-progress-track[b-a9scfdpn02] {
    height: 3px;
    border-radius: 2px;
    background: rgba(203, 213, 225, 0.25);
    overflow: hidden;
}

.step-progress-fill[b-a9scfdpn02] {
    height: 100%;
    border-radius: 2px;
    background: #22c55e;
    transition: width 0.4s ease;
}

.step-progress.is-exceeded .step-progress-fill[b-a9scfdpn02] {
    background: #f43f5e;
}

.step-progress-text[b-a9scfdpn02] {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
}

.step-progress.is-exceeded .step-progress-text[b-a9scfdpn02] {
    color: #fda4af;
}

@media (max-width: 768px) {
    .active-work-banner-wrapper[b-a9scfdpn02] {
        right: auto;
        bottom: auto;
        width: auto;
        max-width: 100%;
        transform: none;
        justify-content: flex-end;
    }

    .active-work-capsule[b-a9scfdpn02] {
        width: auto;
        max-width: 100%;
        justify-content: space-between;
    }

    .vehicle-info-stack[b-a9scfdpn02] {
        display: none;
    }
}
/* /Pages/Home/Components/WorkSession/FinishWorkSessionModal.razor.rz.scp.css */
.finish-modal-overlay[b-w99i0cmz7b] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    animation: modalFadeIn-b-w99i0cmz7b 0.2s ease-out;
}

@keyframes modalFadeIn-b-w99i0cmz7b {
    from { opacity: 0; }
    to { opacity: 1; }
}

.finish-modal-card[b-w99i0cmz7b] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: modalScaleUp-b-w99i0cmz7b 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp-b-w99i0cmz7b {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.finish-modal-header[b-w99i0cmz7b] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-title-row[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.finish-modal-title[b-w99i0cmz7b] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.info-icon-btn[b-w99i0cmz7b] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-btn svg[b-w99i0cmz7b] {
    width: 20px;
    height: 20px;
}

.finish-modal-subtitle[b-w99i0cmz7b] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.section-label[b-w99i0cmz7b] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Photo Slots */
.evidence-section[b-w99i0cmz7b] {
    display: flex;
    flex-direction: column;
}

.photo-slots-grid[b-w99i0cmz7b] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.photo-slot[b-w99i0cmz7b] {
    aspect-ratio: 1;
    border-radius: 14px;
    background: var(--st-surface-strong);
    border: 1.5px dashed var(--st-border-stronger);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.photo-slot.empty-slot[b-w99i0cmz7b] {
    cursor: pointer;
    user-select: none;
}

.photo-slot.empty-slot:hover[b-w99i0cmz7b] {
    border-color: var(--st-border-stronger);
    border-style: solid;
    background: var(--st-surface-stronger);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.photo-slot.empty-slot:active[b-w99i0cmz7b] {
    transform: translateY(0);
}

.slot-plus-container[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slot-plus-icon[b-w99i0cmz7b] {
    width: 32px;
    height: 32px;
    color: var(--st-text-muted);
    transition: all 0.2s ease;
}

.photo-slot.empty-slot:hover .slot-plus-icon[b-w99i0cmz7b] {
    color: var(--st-text-strong);
    transform: scale(1.18);
}

.photo-slot.has-photo[b-w99i0cmz7b] {
    border: 1.5px solid var(--st-border-stronger);
    background: #0f172a;
}

.slot-image[b-w99i0cmz7b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-photo-btn[b-w99i0cmz7b] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    border: 1px solid var(--st-border-stronger);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.remove-photo-btn:hover[b-w99i0cmz7b] {
    transform: scale(1.12);
    background: #dc2626;
}

.remove-photo-btn svg[b-w99i0cmz7b] {
    width: 15px;
    height: 15px;
}

[b-w99i0cmz7b] input[type="file"],
.slot-file-input[b-w99i0cmz7b],
.slot-file-input-hidden[b-w99i0cmz7b] {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Observations */
.observations-section[b-w99i0cmz7b] {
    display: flex;
    flex-direction: column;
}

.observations-textarea[b-w99i0cmz7b] {
    width: 100%;
    background: var(--st-input-bg);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--st-text);
    font-size: 13px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.observations-textarea:focus[b-w99i0cmz7b] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25);
}

.observations-textarea[b-w99i0cmz7b]::placeholder {
    color: var(--st-text-muted);
}

/* Actions */
.finish-modal-actions[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-cancel[b-w99i0cmz7b] {
    padding: 10px 18px;
    border-radius: 20px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover[b-w99i0cmz7b] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

/* VM-turno-rondas-2: «Reportar imprevisto», on the left of the actions */
.btn-unexpected[b-w99i0cmz7b] {
    margin-right: auto;
    padding: 10px 16px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid var(--st-warning-border, #f59e0b);
    color: var(--st-warning-fg, #b45309);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-unexpected:hover[b-w99i0cmz7b] {
    background: var(--st-warning-bg, rgba(245, 158, 11, 0.12));
}

.btn-finish[b-w99i0cmz7b] {
    padding: 10px 22px;
    border-radius: 20px;
    background: var(--systime-violet, #984063);
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(152, 64, 99, 0.4);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-finish:hover:not(:disabled)[b-w99i0cmz7b] {
    background: #b04d74;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(152, 64, 99, 0.5);
}

.btn-finish:disabled[b-w99i0cmz7b],
.btn-cancel:disabled[b-w99i0cmz7b] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Suggested Process Badge */
.suggested-process-badge[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: -6px;
}

.badge-icon[b-w99i0cmz7b] {
    width: 18px;
    height: 18px;
    color: var(--st-info-fg);
    flex-shrink: 0;
}

.badge-label[b-w99i0cmz7b] {
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 500;
}

.badge-target[b-w99i0cmz7b] {
    font-size: 13px;
    color: var(--st-text-strong);
    font-weight: 700;
}

/* Reasons Section */
.reasons-section[b-w99i0cmz7b] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reason-chips-grid[b-w99i0cmz7b] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reason-chip[b-w99i0cmz7b] {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reason-chip:hover:not(:disabled)[b-w99i0cmz7b] {
    background: var(--st-fill-5);
    border-color: var(--st-border-stronger);
    color: var(--st-text-strong);
}

.reason-chip.selected[b-w99i0cmz7b] {
    background: #984063;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(152, 64, 99, 0.4);
}

.reason-chip:disabled[b-w99i0cmz7b] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error Banner */
.modal-error-banner[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--st-danger-text);
    font-size: 12px;
    font-weight: 500;
}

.error-icon[b-w99i0cmz7b] {
    width: 18px;
    height: 18px;
    color: var(--st-danger-fg);
    flex-shrink: 0;
}

/* Spinner */
.btn-spinner[b-w99i0cmz7b] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: acd-spin-b-w99i0cmz7b 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes acd-spin-b-w99i0cmz7b {
    to { transform: rotate(360deg); }
}

/* Success Confirmation Modal */
.finish-success-card[b-w99i0cmz7b] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: modalScaleUp-b-w99i0cmz7b 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-wrapper[b-w99i0cmz7b] {
    margin-bottom: 20px;
}

.success-icon-circle[b-w99i0cmz7b] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--st-success-bg);
    border: 2px solid var(--st-success-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.success-icon-circle.pending-auth[b-w99i0cmz7b] {
    background: var(--st-warning-bg);
    border: 2px solid var(--st-warning-border);
    box-shadow: 0 0 20px rgba(255, 210, 85, 0.25);
}

.success-check-svg[b-w99i0cmz7b] {
    width: 36px;
    height: 36px;
    color: var(--st-success-fg);
}

.success-check-svg.pending-auth-svg[b-w99i0cmz7b] {
    color: var(--st-warning-fg);
}

/* Authorization Notice Banner */
/* D119 «Razones»: the suggested handover is a return whose reason the full handover asks for. The café of
   «Retorno» in the process flow, mixed with the theme text so it reads light on the dark card and dark on
   the white one; said with the «Retorno» chip and words. */
.return-notice-banner[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(214, 185, 156, 0.12);
    border: 1px solid rgba(214, 185, 156, 0.45);
    border-radius: 10px;
    padding: 10px 14px;
    color: color-mix(in srgb, #b8865a 60%, var(--st-text-strong));
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
}

/* T6/E7: el destino sugerido pide un formulario — terminar cierra el trabajo y abre la entrega completa. Informativo, azul suave sobre la
   tarjeta oscura: #bfdbfe sobre ese fondo da más de 9:1. */
.form-notice-banner[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 10px;
    padding: 10px 14px;
    color: color-mix(in srgb, #3b82f6 55%, var(--st-text-strong));
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
}

.form-notice-icon[b-w99i0cmz7b] {
    width: 20px;
    height: 20px;
    color: color-mix(in srgb, #3b82f6 75%, var(--st-text-strong));
    flex-shrink: 0;
}

.authorization-notice-banner[b-w99i0cmz7b] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--st-warning-fg);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
}

.auth-notice-icon[b-w99i0cmz7b] {
    width: 20px;
    height: 20px;
    color: var(--st-warning-fg);
    flex-shrink: 0;
}

.success-title[b-w99i0cmz7b] {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.success-message[b-w99i0cmz7b] {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--st-text-muted);
    line-height: 1.5;
}

.success-actions[b-w99i0cmz7b] {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-success-ok[b-w99i0cmz7b] {
    width: 100%;
    max-width: 200px;
    padding: 12px 24px;
    border-radius: 30px;
    background: #984063;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(152, 64, 99, 0.4);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success-ok:hover[b-w99i0cmz7b] {
    background: #b04d74;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(152, 64, 99, 0.5);
}

.btn-success-ok:active[b-w99i0cmz7b] {
    transform: translateY(0);
}
/* /Pages/Home/Components/WorkSession/PauseWorkSessionModal.razor.rz.scp.css */
.pause-modal-overlay[b-ukpnffuaz3] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    animation: modalFadeIn-b-ukpnffuaz3 0.2s ease-out;
}

@keyframes modalFadeIn-b-ukpnffuaz3 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pause-modal-card[b-ukpnffuaz3] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: modalScaleUp-b-ukpnffuaz3 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp-b-ukpnffuaz3 {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pause-modal-header[b-ukpnffuaz3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-title-row[b-ukpnffuaz3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pause-modal-title[b-ukpnffuaz3] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.info-icon-btn[b-ukpnffuaz3] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.info-icon-btn:hover[b-ukpnffuaz3] {
    color: var(--st-text-strong);
}

.info-icon-btn svg[b-ukpnffuaz3] {
    width: 20px;
    height: 20px;
}

.pause-modal-subtitle[b-ukpnffuaz3] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.pause-options-list[b-ukpnffuaz3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.pause-options-list[b-ukpnffuaz3]::-webkit-scrollbar {
    width: 6px;
}

.pause-options-list[b-ukpnffuaz3]::-webkit-scrollbar-track {
    background: var(--st-fill-2);
    border-radius: 4px;
}

.pause-options-list[b-ukpnffuaz3]::-webkit-scrollbar-thumb {
    background: var(--st-fill-6);
    border-radius: 4px;
}

.pause-options-list[b-ukpnffuaz3]::-webkit-scrollbar-thumb:hover {
    background: var(--st-fill-7);
}

.pause-option-card[b-ukpnffuaz3] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--st-surface-strong);
    border: 1.5px solid var(--st-border);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pause-option-card.option-card-expanded[b-ukpnffuaz3] {
    gap: 10px;
    padding: 14px 16px 16px 16px;
}

.option-header-row[b-ukpnffuaz3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.pause-option-card:hover[b-ukpnffuaz3] {
    background: var(--st-surface-stronger);
    border-color: var(--st-border-stronger);
}

.pause-option-card.selected[b-ukpnffuaz3] {
    background: #dea301;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(222, 163, 1, 0.35);
}

.option-label[b-ukpnffuaz3] {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.option-badge[b-ukpnffuaz3] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--st-border-stronger);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* The selected card is solid gold: its label and badge stay white in both themes. */
.pause-option-card.selected .option-label[b-ukpnffuaz3] {
    color: #ffffff;
}

.option-badge.badge-selected[b-ukpnffuaz3] {
    background: #ffffff;
    border-color: #ffffff;
}

.check-icon[b-ukpnffuaz3] {
    width: 14px;
    height: 14px;
    color: #dea301;
}

.pause-modal-actions[b-ukpnffuaz3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 4px;
}

.btn-cancel[b-ukpnffuaz3] {
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover[b-ukpnffuaz3] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.btn-pause[b-ukpnffuaz3] {
    padding: 10px 24px;
    border-radius: 10px;
    background: #dea301;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(222, 163, 1, 0.35);
    transition: all 0.2s;
}

.btn-pause:hover:not(:disabled)[b-ukpnffuaz3] {
    background: #f5b002;
    transform: translateY(-1px);
}

.btn-pause:disabled[b-ukpnffuaz3] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.other-reason-container[b-ukpnffuaz3] {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: otherFadeIn-b-ukpnffuaz3 0.2s ease-out;
}

@keyframes otherFadeIn-b-ukpnffuaz3 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.other-reason-input[b-ukpnffuaz3] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--st-input-bg);
    border: 1.5px solid transparent;
    color: var(--st-text);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.other-reason-input[b-ukpnffuaz3]::placeholder {
    color: var(--st-text-muted);
    font-weight: 400;
}

.other-reason-input:focus[b-ukpnffuaz3] {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

/* /Pages/Home/Components/WorkSession/ResumeWorkSessionModal.razor.rz.scp.css */
.resume-floating-container[b-4en0j1g0yb] {
    position: fixed;
    right: var(--st-toast-edge, 24px);
    bottom: calc(var(--st-toast-edge, 24px) + var(--st-toast-offset, 0px));
    z-index: 1050;
    pointer-events: none;
    max-width: calc(100vw - 32px);
    width: 420px;
}

.resume-floating-card[b-4en0j1g0yb] {
    pointer-events: auto;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: slideInFromRight-b-4en0j1g0yb 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInFromRight-b-4en0j1g0yb {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

.resume-card-header[b-4en0j1g0yb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-title-row[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resume-card-title[b-4en0j1g0yb] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: -0.2px;
}

.header-actions[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-icon-btn[b-4en0j1g0yb] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    border-radius: 50%;
    color: var(--st-text-muted);
    cursor: pointer;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.header-icon-btn:hover[b-4en0j1g0yb] {
    background: var(--st-fill-5);
    color: var(--st-text-strong);
    transform: scale(1.05);
}

.header-icon-btn svg[b-4en0j1g0yb] {
    width: 15px;
    height: 15px;
}

.resume-card-subtitle[b-4en0j1g0yb] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-secondary);
    line-height: 1.4;
}

/* Vehicle Preview Card */
.resume-vehicle-card[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    padding: 10px 12px;
}

.vehicle-thumb-box[b-4en0j1g0yb] {
    position: relative;
    width: 56px;
    height: 46px;
    border-radius: 8px;
    border: 1.5px solid var(--st-border-stronger);
    overflow: hidden;
    background: #152238;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pending-authorization-overlay[b-4en0j1g0yb] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
}

.pending-authorization-overlay svg[b-4en0j1g0yb] {
    width: 24px;
    height: 24px;
    color: var(--st-on-accent);
    opacity: 0.95;
}

.vehicle-thumb[b-4en0j1g0yb] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-thumb-placeholder[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #152238;
}

.placeholder-icon[b-4en0j1g0yb] {
    width: 26px;
    height: 20px;
    object-fit: contain;
    opacity: 0.85;
}

.vehicle-info-content[b-4en0j1g0yb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.vehicle-plate[b-4en0j1g0yb] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-details[b-4en0j1g0yb] {
    font-size: 11.5px;
    color: var(--st-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-timer-box[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--st-canvas);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 4px 8px;
    flex-shrink: 0;
}

.timer-clock-icon[b-4en0j1g0yb] {
    width: 14px;
    height: 14px;
    color: var(--st-warning-fg);
    flex-shrink: 0;
}

.timer-display[b-4en0j1g0yb] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: 800;
    color: var(--st-warning-fg);
    letter-spacing: 0.5px;
}

/* Action Buttons Row */
.resume-actions-row[b-4en0j1g0yb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 2px;
}

.action-btn[b-4en0j1g0yb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.action-btn:hover[b-4en0j1g0yb] {
    transform: translateY(-1px);
}

.action-btn:active[b-4en0j1g0yb] {
    transform: translateY(0);
}

.choice-icon[b-4en0j1g0yb] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* No por ahora */
.btn-no-now[b-4en0j1g0yb] {
    background: var(--st-canvas);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-strong);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-no-now:hover[b-4en0j1g0yb] {
    background: var(--st-surface-strong);
    border-color: var(--st-border-stronger);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Continuar trabajando */
.btn-resume-work[b-4en0j1g0yb] {
    background: #20e5a5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(32, 229, 165, 0.35);
}

.btn-resume-work:hover[b-4en0j1g0yb] {
    background: #1bd195;
    box-shadow: 0 6px 16px rgba(32, 229, 165, 0.5);
}

@media (max-width: 480px) {
    .resume-floating-container[b-4en0j1g0yb] {
        right: 12px;
        left: 12px;
        width: auto;
    }

    .resume-floating-card[b-4en0j1g0yb] {
        padding: 14px 16px;
        gap: 12px;
    }
}
/* /Pages/Home/Components/WorkSession/SwitchWorkSessionModal.razor.rz.scp.css */
.switch-modal-overlay[b-2lrlozawq2] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    animation: modalFadeIn-b-2lrlozawq2 0.2s ease-out;
}

@keyframes modalFadeIn-b-2lrlozawq2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.switch-modal-card[b-2lrlozawq2] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: modalScaleUp-b-2lrlozawq2 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp-b-2lrlozawq2 {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.switch-modal-header[b-2lrlozawq2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-title-row[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch-modal-title[b-2lrlozawq2] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.info-icon-btn[b-2lrlozawq2] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-btn svg[b-2lrlozawq2] {
    width: 20px;
    height: 20px;
}

.switch-modal-subtitle[b-2lrlozawq2] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

/* Current Vehicle Card */
.current-vehicle-card[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 10px 14px;
}

.vehicle-thumb-box[b-2lrlozawq2] {
    position: relative;
    width: 58px;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid #ffffff;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pending-authorization-overlay[b-2lrlozawq2] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 2;
}

.pending-authorization-overlay svg[b-2lrlozawq2] {
    width: 28px;
    height: 28px;
    color: var(--st-on-accent);
    opacity: 0.95;
}

.vehicle-thumb[b-2lrlozawq2] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-thumb-placeholder[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #334155;
}

.placeholder-icon[b-2lrlozawq2] {
    width: 28px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
}

.vehicle-info-content[b-2lrlozawq2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.vehicle-plate[b-2lrlozawq2] {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-details[b-2lrlozawq2] {
    font-size: 11px;
    color: var(--st-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-timer-box[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 800;
    color: var(--st-success-fg);
    padding-left: 8px;
}

.vehicle-timer-box.timer-paused[b-2lrlozawq2] {
    color: var(--st-warning-fg);
}

/* Action Buttons Row: Cancelar | Pausar | Finalizar in a single horizontal line */
.switch-actions-row[b-2lrlozawq2] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.action-btn[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.action-btn:hover[b-2lrlozawq2] {
    transform: translateY(-1px);
}

.action-btn:active[b-2lrlozawq2] {
    transform: translateY(0);
}

.choice-icon[b-2lrlozawq2] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Cancelar */
.btn-cancel-choice[b-2lrlozawq2] {
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text-strong);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-cancel-choice:hover[b-2lrlozawq2] {
    background: var(--st-surface-stronger);
    border-color: var(--st-border-stronger);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Pausar */
.btn-pause-choice[b-2lrlozawq2] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.btn-pause-choice:hover[b-2lrlozawq2] {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.5);
}

/* Finalizar */
.btn-finish-choice[b-2lrlozawq2] {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.btn-finish-choice:hover[b-2lrlozawq2] {
    background: linear-gradient(135deg, #fda4af 0%, #fb7185 100%);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.5);
}

/* Timer + «Terminar» stacked on the card («Cerrar sesión» mode) */
.vehicle-timer-column[b-2lrlozawq2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.card-finish-btn[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--st-text-strong);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.card-finish-btn:hover[b-2lrlozawq2] {
    opacity: 0.75;
}

.card-finish-square[b-2lrlozawq2] {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: #e53935;
}

/* «Cerrar sesión» mode: Cancelar | Cerrar sesión as plain actions split by a divider */
.close-actions-row[b-2lrlozawq2] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.close-action[b-2lrlozawq2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.close-action:hover[b-2lrlozawq2] {
    opacity: 0.7;
}

.close-action-x[b-2lrlozawq2] {
    font-size: 20px;
    line-height: 1;
}

.close-action .choice-icon[b-2lrlozawq2] {
    width: 22px;
    height: 22px;
}

.close-actions-divider[b-2lrlozawq2] {
    width: 1px;
    height: 36px;
    background: var(--st-border-strong);
}
/* /Pages/Home/Components/WorkSession/WorkSessionVehicleLoadBar.razor.rz.scp.css */
.vehicle-load-wrapper[b-qkl5hd9vxj] {
    pointer-events: auto;
    display: flex;
    align-items: center;
}

.vehicle-load-capsule[b-qkl5hd9vxj] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 380px;
    max-width: 380px;
    min-height: 40px;
    background: rgba(79, 94, 115, 0.94);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    padding: 4px 6px 4px 14px;
    color: #fff;
    font-size: 13px;
}

.vehicle-load-text[b-qkl5hd9vxj] {
    flex: 1;
}

.vehicle-load-spinner[b-qkl5hd9vxj] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vehicleLoadSpin-b-qkl5hd9vxj 0.8s linear infinite;
}

@keyframes vehicleLoadSpin-b-qkl5hd9vxj {
    to {
        transform: rotate(360deg);
    }
}

.vehicle-load-retry[b-qkl5hd9vxj] {
    background: #fff;
    color: #1f2a3a;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-weight: 600;
    cursor: pointer;
}
/* /Pages/Home/Components/WorkshopMap/WorkshopMap.razor.rz.scp.css */
/* Adjuster (Proascol) city bar: the glass pill bar of the map, with the cities of its claims. Centered between the
   inbox and the buttons at the top right, never under them (--adjuster-top-center and --adjuster-top-room, set by
   map.js); until map.js measures them, on the part of the map the inbox leaves visible (--adjuster-inset). */
.adjuster-city-bar[b-c6nbj6kyfo] {
    position: absolute;
    top: 20px;
    left: var(--adjuster-top-center, calc(50% + var(--adjuster-inset, 0px) / 2));
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: var(--adjuster-top-room, calc(100% - 40px));
    padding: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--st-glass-surface);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.adjuster-city-bar[b-c6nbj6kyfo]::-webkit-scrollbar {
    display: none;
}

.city-pill[b-c6nbj6kyfo] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-subtle);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.city-pill:hover[b-c6nbj6kyfo] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.city-pill.active[b-c6nbj6kyfo] {
    background: #e500cd;
    color: #fff;
}

.city-pill-count[b-c6nbj6kyfo] {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--st-fill-4);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.city-pill.active .city-pill-count[b-c6nbj6kyfo] {
    background: rgba(255, 255, 255, 0.25);
}

.city-pill-chevron[b-c6nbj6kyfo] {
    width: 12px;
    height: 12px;
}

/* «Otras»: the rest of the cities, under the bar (the bar scrolls sideways, so the menu lives outside it). */
.adjuster-city-menu[b-c6nbj6kyfo] {
    position: absolute;
    top: 72px;
    left: var(--adjuster-top-center, calc(50% + var(--adjuster-inset, 0px) / 2));
    transform: translateX(-50%);
    z-index: 1501;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    background: var(--st-glass-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.city-menu-item[b-c6nbj6kyfo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text-subtle);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.city-menu-item:hover[b-c6nbj6kyfo] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.city-menu-item.active[b-c6nbj6kyfo] {
    background: #e500cd;
    color: #fff;
}

/* Adjuster semáforo: what the inbox lists by SLA, under the map; a pill filters the inbox and the map by its state. */
.adjuster-semaphore[b-c6nbj6kyfo] {
    position: absolute;
    bottom: 24px;
    left: calc(50% + var(--adjuster-inset, 0px) / 2);
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 40px);
    padding: 6px;
    background: var(--st-glass-surface);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.semaphore-pill[b-c6nbj6kyfo] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding: 7px 8px 7px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-subtle);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.semaphore-pill:hover[b-c6nbj6kyfo] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.semaphore-pill b[b-c6nbj6kyfo] {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.semaphore-pill.late b[b-c6nbj6kyfo] {
    background: #ef4444;
}

.semaphore-pill.risk b[b-c6nbj6kyfo] {
    background: #eab308;
}

.semaphore-pill.ok b[b-c6nbj6kyfo] {
    background: #10b981;
}

.semaphore-pill.active[b-c6nbj6kyfo] {
    background: var(--st-fill-5);
    border-color: var(--st-gold-text);
    color: var(--st-text-strong);
}

.semaphore-note[b-c6nbj6kyfo] {
    padding: 0 10px 0 6px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 12px;
    color: var(--st-text-muted);
    white-space: nowrap;
}

/* The sheet of a person picked in the 3D (WorkshopMap.WorldPeople.cs), over the world and clear of its bars. The same
   card the 2D map and the classic 3D show (map-workshop.js SystimePersonCard): keep the two alike. */
.world-person[b-c6nbj6kyfo] {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    box-sizing: border-box;
    width: max-content;
    min-width: 260px;
    max-width: min(340px, calc(100% - 32px));
    padding: 12px 12px 10px 14px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--st-text-strong);
    background: var(--st-glass-surface);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    animation: world-person-in-b-c6nbj6kyfo 0.16s ease-out;
}

@keyframes world-person-in-b-c6nbj6kyfo {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.world-person__head[b-c6nbj6kyfo] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 28px;
}

.world-person__avatar[b-c6nbj6kyfo] {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.world-person__avatar--initials[b-c6nbj6kyfo] {
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #d81b84, #9d1b73);
}

.world-person--self .world-person__avatar--initials[b-c6nbj6kyfo] {
    background: linear-gradient(135deg, #e500cd, #a80f96);
}

.world-person__text[b-c6nbj6kyfo] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.world-person__name[b-c6nbj6kyfo] {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.world-person__job[b-c6nbj6kyfo] {
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 500;
    color: #dea301;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-person__chips[b-c6nbj6kyfo] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.world-person__chip[b-c6nbj6kyfo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text);
    background: var(--st-fill-2);
    border-radius: 9999px;
}

.world-person__chip i[b-c6nbj6kyfo] {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
}

.world-person__chip--live[b-c6nbj6kyfo] {
    color: var(--st-success-fg);
    background: var(--st-success-bg);
}

.world-person__chip--stale[b-c6nbj6kyfo] {
    color: var(--st-text-subtle);
}

.world-person__chip--self[b-c6nbj6kyfo] {
    color: #fff;
    background: #d81b84;
}

.world-person__meta[b-c6nbj6kyfo] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 10px;
    padding-top: 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
    border-top: 1px solid var(--st-border-subtle);
}

.world-person__meta span[b-c6nbj6kyfo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.world-person__meta svg[b-c6nbj6kyfo] {
    width: 12px;
    height: 12px;
    opacity: 0.85;
}

.world-person__close[b-c6nbj6kyfo] {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    color: var(--st-text-subtle);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.world-person__close:hover[b-c6nbj6kyfo],
.world-person__close:focus-visible[b-c6nbj6kyfo] {
    color: var(--st-text-strong);
    background: var(--st-fill-2);
}

.world-person__close:focus-visible[b-c6nbj6kyfo] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .world-person[b-c6nbj6kyfo] {
        animation: none;
    }
}

/* A full-screen section of the Home covers the frame (WorkshopMap.Stage.cs): nothing under it is painted. Visibility,
   not display, so the Google map keeps its size and camera and comes back without a resize. */
.map-frame--suspended[b-c6nbj6kyfo] {
    visibility: hidden;
}

/* «Editar plano» over the world (WorkshopMap.PlanEditor.cs): the engine keeps its bottom row clear of it (WorldAvoid). */
.world-plan-edit[b-c6nbj6kyfo] {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(14, 22, 38, 0.9);
    color: #e8edf5;
    font: 600 13px/1 'Inter', 'Open Sans', sans-serif;
    cursor: pointer;
}

.world-plan-edit:hover[b-c6nbj6kyfo] {
    background: rgba(194, 24, 91, 0.92);
}

.world-plan-edit:focus-visible[b-c6nbj6kyfo] {
    outline: 2px solid #f5b301;
    outline-offset: 2px;
}
/* /Pages/Home/Home.razor.rz.scp.css */
/* ===== Global Thin Scrollbar Style ===== */
[b-03x8r00w0l] * {
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

[b-03x8r00w0l] *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-03x8r00w0l] *::-webkit-scrollbar-track {
    background: transparent;
}

[b-03x8r00w0l] *::-webkit-scrollbar-thumb {
    background-color: var(--st-surface-stronger);
    border-radius: 20px;
}

[b-03x8r00w0l] *::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}

/* Force no scroll on parent containers */
:host[b-03x8r00w0l],
:root[b-03x8r00w0l] {
    overflow: hidden !important;
}


/* Container for the entire dashboard */
.dashboard-container[b-03x8r00w0l] {
    position: fixed;
    /* `inset: 0` y no `height: 100vh`: en Chrome/Samsung Internet para Android `100vh` mide la
       pantalla con la barra de direcciones OCULTA, y como el tablero no tiene scroll la barra nunca
       se esconde, así que la franja inferior (inbox/semáforo) quedaba detrás de ella en TVs y
       celulares. Un `fixed` anclado arriba y abajo mide siempre el área visible real; en escritorio
       es exactamente el mismo tamaño que antes. */
    inset: 0;
    overflow: hidden;
    /* `clip` (donde existe) además impide el desplazamiento programático: con `hidden` el foco que
       entraba al chat (aparcado a `right: -400px`) corría el tablero 312px a la izquierda y nada lo
       devolvía al cerrarlo. */
    overflow: clip;
    /* Marco de la app: azul marino en ambos temas, como el menú lateral (data-st-theme="dark"). */
    background-color: var(--st-app-frame);
    font-family: 'Inter', sans-serif;
    /* Ancho del chat. --chat-width es lo que el mapa y la top-bar ceden: 0 cerrado, el ancho abierto. */
    --chat-panel-width: 350px;
    --chat-width: 0px;
    --inbox-pill-radius: 20px;
    --inbox-pill-background: #1f2f45;
    --inbox-pill-active-background: #e5b900;
    --inbox-group-header-background: var(--st-fill-3);
    --inbox-group-header-hover-background: var(--st-fill-4);
    --inbox-group-header-radius: 10px;
}

.dashboard-container.chat-open[b-03x8r00w0l] {
    --chat-width: var(--chat-panel-width);
}

/* Full-screen Map */
[b-03x8r00w0l] #map {
    /* Lo hacemos más grande que el marco (100% + desborde) */
    width: 110%;
    height: 110%;
    /* Lo centramos negativamente para compensar el tamaño extra */
    position: absolute;
    top: -5%;
    left: -5%;
    /* Quitamos propiedades que ahora maneja el marco */
    border-radius: 0;
    transition: none;
    /* El mapa no se mueve, se mueve el marco */
}

[b-03x8r00w0l] .map-frame {
    /* 1. Posición y Tamaño (Lo que antes tenía #map) */
    position: absolute;
    top: var(--st-frame-gap-y);
    left: 220px;
    width: calc(100% - 230px);
    height: calc(100% - 2 * var(--st-frame-gap-y));
    /* 2. Estética y Recorte */
    border-radius: 30px;
    overflow: hidden;
    /* ¡CLAVE! Esto corta lo que sobre del mapa */
    z-index: 0;
    /* 3. Transiciones (El marco es el que se anima) */
    transition: left 0.4s ease-in-out, width 0.4s ease-in-out;
}

/* El marco del mapa es un contexto de apilamiento (z-index 0): un popup suyo, aunque sea position: fixed con z-index
   enorme, queda por debajo de la bandeja de inbox y de los paneles. Mientras hay uno visible, el marco sube por encima
   de todo y el popup cubre la pantalla como se espera. */
[b-03x8r00w0l] .map-frame:has(.map-popup-overlay:not([style*="display: none"])) {
    z-index: 2147483000;
}

/* Map adjustment when Chat is Open */
.dashboard-container.chat-open[b-03x8r00w0l]  .map-frame {
    width: calc(100% - 230px - var(--chat-width));
    /* Sidebar (220) + Chat (350) */
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .map-frame {
    left: var(--st-sidebar-collapsed-w);
    width: calc(100% - var(--st-sidebar-collapsed-w) - 10px);
}

/* left 80 + right 10 = 90, the same right edge (10px + chat) as with the sidebar open, so the
   top-bar buttons keep their 10px inset from the frame in every sidebar/chat combination. */
.dashboard-container.sidebar-collapsed.chat-open[b-03x8r00w0l]  .map-frame {
    width: calc(100% - var(--st-sidebar-collapsed-w) - 10px - var(--chat-width));
}

/* Reportes panel: same right-edge adjustment as the map when chat is open */
.dashboard-container.chat-open[b-03x8r00w0l]  .dynamic-panel.reportes-mode {
    right: calc(var(--chat-width) + 10px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dashboard-container.sidebar-collapsed.chat-open[b-03x8r00w0l]  .dynamic-panel.reportes-mode {
    right: calc(var(--chat-width) + 10px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Calendario panel: same right-edge adjustment as the map when chat is open */
.dashboard-container.chat-open[b-03x8r00w0l]  .dynamic-panel.calendario-mode {
    right: calc(var(--chat-width) + 10px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dashboard-container.sidebar-collapsed.chat-open[b-03x8r00w0l]  .dynamic-panel.calendario-mode {
    right: calc(var(--chat-width) + 10px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Documentación abierta: la barra superior (pantalla completa, 3D, notificaciones, selector de taller)
   queda detrás del panel en vez de pintarse encima de su cabecera. Home además pasa el selector como
   cerrado mientras tanto, así que no queda desplegado por encima. */
.dashboard-container.docs-open[b-03x8r00w0l]  .top-bar {
    visibility: hidden;
    pointer-events: none;
}

/* Documentación: mismo ajuste que el Calendario cuando el chat está abierto */
.dashboard-container.chat-open[b-03x8r00w0l]  .dynamic-panel.documentacion-mode,
.dashboard-container.sidebar-collapsed.chat-open[b-03x8r00w0l]  .dynamic-panel.documentacion-mode {
    right: calc(var(--chat-width) + 10px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Calendario a pantalla completa (D81): el panel ocupa toda la pantalla de la app, encima de la barra lateral
   (1005), el chat y la cabecera, sin su marco ni el fondo azul alrededor. Queda debajo de lo que el calendario
   abre encima: la entrega (LeftSidebar, 9990), la ficha de la OT (RightSidebar) y los avisos (999999). Gana a
   las reglas de chat abierto y barra recogida (lleva .visible). */
.dashboard-container[b-03x8r00w0l]  .dynamic-panel.calendario-mode.calendar-expanded.visible {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0;
    z-index: 1500;
    transition: none !important;
}

/* The side panels the expanded calendar opens from the left (the assignment from the order sheet and its panels of groups,
   people and date) live next to it in the container, at the panels' usual z-index (28): without this they open under the
   expanded calendar and only their backdrop shows. Above the calendar, still under the backdrop (9990) and the modals.
   The expanded calendar also covers the NavMenu, so the panel goes flush to the left edge instead of leaving the NavMenu's
   room (its inline left), and the backdrop starts at its right edge (444 px wide, 16 px corner: see LeftSidebar). */
.dashboard-container[b-03x8r00w0l]  .dynamic-panel.calendario-mode.calendar-expanded.visible ~ .slide-panel.open {
    z-index: 1600;
    left: 0 !important;
}

.dashboard-container[b-03x8r00w0l]  .dynamic-panel.calendario-mode.calendar-expanded.visible ~ .slide-panel-backdrop.open {
    left: 428px !important;
}

/* Sidebar (Glassmorphism) */
[b-03x8r00w0l] .sidebar-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background: var(--st-app-frame);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    z-index: 1005;
    box-sizing: border-box;
    color: var(--st-text-strong);
    transition: width 0.4s ease-in-out;
    overflow: visible;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-glass {
    width: var(--st-sidebar-collapsed-w);
}

/* Header */
[b-03x8r00w0l] .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 30px;
    padding-left: 0;
}

/* Logo wrapper - Fixed width to keep icon static */
[b-03x8r00w0l] .sidebar-icon.logo-icon {
    width: var(--st-sidebar-collapsed-w);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

[b-03x8r00w0l] .app-title {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out;
    opacity: 1;
    width: 120px;
    margin-top: 8px;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .app-title {
    opacity: 0;
    width: 0;
}

[b-03x8r00w0l] .title-main {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--st-text-strong);
}

[b-03x8r00w0l] .title-sub {
    font-size: 0.7rem;
    color: var(--st-text-muted);
}

/* Section Header */
[b-03x8r00w0l] .sidebar-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--st-text-faint);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 0;
    position: relative;
}

[b-03x8r00w0l] .sidebar-section-header::after {
    content: "";
    position: absolute;
    bottom: 16px;
    height: 1px;
    background-color: var(--st-fill-4);
    left: 30px;
    right: 30px;
}

[b-03x8r00w0l] .sidebar-section-header span {
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
    white-space: nowrap;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-section-header {
    justify-content: center;
    padding-left: 0;
    border-bottom: none;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-section-header span {
    opacity: 0;
    display: none;
}

/* Union Icon Wrapper */
[b-03x8r00w0l] .sidebar-icon.union-icon {
    width: var(--st-sidebar-collapsed-w);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* Menu Items */
[b-03x8r00w0l] .sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

[b-03x8r00w0l] .sidebar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    cursor: pointer;
    padding: 10px 0;
    padding-left: 0;
    /* overflow visible para que la cápsula del badge se vea SOBRE el contenedor
       (esquina) y no quede recortada dentro de él. Aplica a TODOS los items, no
       solo al activo, para que seleccionados y no seleccionados se comporten
       igual. El texto colapsado se oculta por opacity/width:0, no por overflow,
       así que es seguro. */
    overflow: visible;
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    /* Contenedor de posicionamiento del badge cuando el item está EXPANDIDO
       (sidebar abierto o en hover): el badge se ancla a la esquina inferior
       derecha de esta cápsula completa. */
    position: relative;
}

/* Regla para dar forma de "cuadrito" a los ítems cuando el sidebar está cerrado */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item {
    width: 45px;
    margin-left: calc((var(--st-sidebar-collapsed-w) - 45px) / 2);
    padding-left: 0;
    justify-content: center;
    border-radius: 12px;
    position: relative;
}

/* Icon Wrapper - Fixed width to keep icon static */
[b-03x8r00w0l] .sidebar-icon {
    width: calc(var(--st-sidebar-collapsed-w) - 20px);
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--st-text-muted);
    flex-shrink: 0;
    margin: 0;
    user-select: none;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-icon {
    width: 45px;
}

/* Los iconos del menú son <img> con el blanco horneado: en tema claro el token los oscurece. */
[b-03x8r00w0l] .sidebar-icon img {
    filter: var(--st-icon-image-filter);
}

/* Cada ícono del menú va sobre un cuadro suave de 36px con esquinas de 10px, como el hover. Es un fondo del
   contenedor (no de la imagen, que lleva el filtro del tema): dos franjas y cuatro esquinas redondas forman el cuadro.
   La fila pierde el relleno que gana el cuadro, así no crece el menú. */
[b-03x8r00w0l] .sidebar-menu .sidebar-item:not(.add-button) {
    padding-top: 2px;
    padding-bottom: 2px;
}

[b-03x8r00w0l] .sidebar-menu .sidebar-item:not(.add-button) .sidebar-icon {
    --sb-icon-bg: var(--st-surface-strong);
    height: 40px;
    background:
        linear-gradient(var(--sb-icon-bg), var(--sb-icon-bg)) center / 36px 16px no-repeat,
        linear-gradient(var(--sb-icon-bg), var(--sb-icon-bg)) center / 16px 36px no-repeat,
        radial-gradient(circle, var(--sb-icon-bg) 9.5px, transparent 10px) calc(50% - 8px) calc(50% - 8px) / 20px 20px no-repeat,
        radial-gradient(circle, var(--sb-icon-bg) 9.5px, transparent 10px) calc(50% + 8px) calc(50% - 8px) / 20px 20px no-repeat,
        radial-gradient(circle, var(--sb-icon-bg) 9.5px, transparent 10px) calc(50% - 8px) calc(50% + 8px) / 20px 20px no-repeat,
        radial-gradient(circle, var(--sb-icon-bg) 9.5px, transparent 10px) calc(50% + 8px) calc(50% + 8px) / 20px 20px no-repeat;
}

/* En hover y en la opción activa el cuadro se funde con la fila: un solo tono, sin doble color */
[b-03x8r00w0l] .sidebar-menu .sidebar-item:not(.add-button):not(.disabled):hover .sidebar-icon,
[b-03x8r00w0l] .sidebar-menu .sidebar-item.active:not(.disabled) .sidebar-icon {
    --sb-icon-bg: transparent;
}

[b-03x8r00w0l] .sidebar-icon.inbox-table-menu-icon {
    color: var(--st-text-strong);
    opacity: 1;
}

/* SysColor es el único icono del sidebar dibujado en SVG en línea: los demás son <img> con el
   blanco horneado dentro del archivo. Al heredar `currentColor` tomaba el #a0a0b0 de .sidebar-icon
   y se veía apagado al lado del resto. Se iguala aquí, y no cambiándole el fill en el marcado,
   para que siga respondiendo al color y no quede un blanco fijo imposible de tematizar. */
[b-03x8r00w0l] .sidebar-icon.syscolor-icon {
    color: var(--st-text-strong);
}

[b-03x8r00w0l] .sidebar-icon.doc-icon {
    color: #ffffff;
}

[b-03x8r00w0l] .sidebar-text {
    font-size: 1rem;
    color: var(--st-text-strong);
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    padding-left: 10px;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-text {
    opacity: 0;
    width: 0;
    padding-left: 0;
    overflow: hidden;
}

/* El aviso de estado del tenant vive abajo a la derecha, como notificación: arriba al centro
   tapaba la barra superior y el buscador del inbox justo mientras se cargan los datos. */
.tenant-access-progress[b-03x8r00w0l] {
    position: fixed;
    right: var(--st-toast-edge, 24px);
    /* El desfase sube el aviso sobre los más nuevos (js/toast-stack.js). */
    bottom: calc(var(--st-toast-edge, 24px) + var(--st-toast-offset, 0px));
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(520px, calc(100vw - 32px));
    padding: 8px 14px;
    color: #ffffff;
    font-size: 13px;
    background: rgba(31, 47, 69, 0.92);
    border: 1px solid rgba(229, 185, 0, 0.55);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    animation: tenant-access-progress-in-b-03x8r00w0l 0.2s ease-out;
}

/* Con el chat abierto el aviso se corre a la izquierda del panel en vez de quedar encima. */
.dashboard-container.chat-open .tenant-access-progress[b-03x8r00w0l] {
    right: 370px;
}

@keyframes tenant-access-progress-in-b-03x8r00w0l {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tenant-action-disabled[b-03x8r00w0l] {
    cursor: not-allowed !important;
    filter: grayscale(0.75);
    opacity: 0.5;
}

.fab-container.tenant-action-disabled .fab[b-03x8r00w0l],
.fab-container.tenant-action-disabled .fab:hover[b-03x8r00w0l] {
    box-shadow: none;
    cursor: not-allowed;
    filter: grayscale(1) saturate(0.15);
    transform: none;
}

.fab-container.tenant-action-disabled .fab:focus-visible[b-03x8r00w0l] {
    outline: 2px solid var(--st-color-gold, #e5b900);
    outline-offset: 2px;
}

/* 1. Efecto HOVER (Gris difuminado) para ítems NO seleccionados */
[b-03x8r00w0l] .sidebar-item:not(.add-button):not(.active):not(.disabled):hover {
    color: var(--st-text-strong);
    background-color: var(--st-fill-4);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* 2. Efecto ACTIVE (Amarillo) para el ítem seleccionado */
[b-03x8r00w0l] .sidebar-item.active:not(.disabled) {
    color: white;
    background-color: #e5b900;
    border-radius: 12px;
    /* overflow visible para que la cápsula del badge pueda apoyarse en la esquina
       inferior derecha del recuadro amarillo sin quedar recortada. El texto se
       oculta en colapsado por opacity/width:0, no por overflow, así que es seguro. */
    overflow: visible;
}

/* Tenant-blocked items remain focusable and clickable so the contextual guard can explain why. */
[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"] {
    background: transparent;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

[b-03x8r00w0l] .sidebar-item:focus-visible,
[b-03x8r00w0l] .popup-item:focus-visible {
    outline: 2px solid var(--st-color-gold, #e5b900);
    outline-offset: 2px;
}

[b-03x8r00w0l] .popup-item.disabled[aria-disabled="true"] {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

/* Default state when collapsed for active items and non-hovered items */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item.active {
    width: 45px;
    height: auto;
    margin-left: calc((var(--st-sidebar-collapsed-w) - 45px) / 2);
    padding-left: 0;
    justify-content: center;
    border-radius: 12px;
}

/* Tooltip flotante para el sidebar colapsado: mismo mecanismo que el riel de
   Configuración (::after + data-tooltip), conservando el look "glass" propio
   del sidebar (fondo oscuro difuminado + texto blanco) en vez de la caja
   blanca sólida que usa aquel. */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    background: var(--st-surface);
    color: var(--st-text-strong);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    z-index: 1010;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.disabled)[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ════════════════════════════════════════════════════════════════════════
   Colapsado: el hover/clic debe vivir SOLO en la cápsula del icono
   ────────────────────────────────────────────────────────────────────────
   Antes, los ítems no-activos quedaban a lo ancho de toda la fila (width:100%)
   y, al hacer hover, la cápsula crecía (width:max-content) sobre el mapa; esa
   zona expandida seguía siendo hover, así que el efecto se quedaba "prendido"
   al mover el mouse hacia donde aparece el texto.
   Fix en dos partes:
   (1) Los ítems no-activos usan la MISMA cápsula de 45px que el activo, con el
       icono a 45px ESTABLE (no se encoge en hover ⇒ sin parpadeo).
   (2) pointer-events: solo el icono (auto) captura hover/clic; el resto de la
       píldora expandida (none) deja pasar el puntero, por lo que el hover se
       suelta apenas el cursor sale del icono. El :hover del item sigue
       activándose porque es ancestro del icono que está bajo el cursor, así que
       la animación de expansión de la píldora se conserva intacta. */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.add-button) {
    width: 45px;
    margin: 0 0 0 calc((var(--st-sidebar-collapsed-w) - 45px) / 2);
    padding-left: 0;
    justify-content: center;
    border-radius: 12px;
    pointer-events: none;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.add-button) .sidebar-icon {
    width: 100%;
    pointer-events: auto;
    cursor: pointer;
}

[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"] .sidebar-icon,
[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"] .sidebar-text {
    filter: grayscale(1) saturate(0.15);
    opacity: 0.3;
}

[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"] .inbox-badge {
    animation: none;
    box-shadow: none;
    filter: grayscale(1) saturate(0.15);
    opacity: 0.35;
    transform: none;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item.disabled[aria-disabled="true"] .sidebar-icon {
    cursor: not-allowed;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item.disabled[aria-disabled="true"] .sidebar-text {
    opacity: 0;
}

[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"]:hover,
[b-03x8r00w0l] .sidebar-item.disabled[aria-disabled="true"].active {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

[b-03x8r00w0l] .sidebar-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
}

[b-03x8r00w0l] .sidebar-icon.logo-icon img {
    width: 43px;
    height: 43px;
}

[b-03x8r00w0l] .sidebar-icon.union-icon img {
    width: 18px;
    height: 18px;
}

/* Bottom Section */
[b-03x8r00w0l] .sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: align-items 0.3s ease-in-out;
}

[b-03x8r00w0l] .add-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

[b-03x8r00w0l] .add-button .fab {
    margin: 0 auto;
}

[b-03x8r00w0l] .sidebar-item.add-button {
    padding-left: 0;
}

[b-03x8r00w0l] .sidebar-item.add-button .fab {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

[b-03x8r00w0l] .fab {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e500cd;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
    flex-shrink: 0;
}

[b-03x8r00w0l] .fab:hover {
    transform: scale(1.1);
}

[b-03x8r00w0l] .sidebar-item.add-button.disabled[aria-disabled="true"] .fab {
    box-shadow: none;
    filter: grayscale(1) saturate(0.15);
}

[b-03x8r00w0l] .sidebar-item.add-button.disabled[aria-disabled="true"] .fab:hover {
    box-shadow: none;
    transform: none;
}

/* User Profile in Sidebar */
[b-03x8r00w0l] .sidebar-user-profile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

[b-03x8r00w0l] .sidebar-avatar {
    width: var(--st-sidebar-collapsed-w);
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

[b-03x8r00w0l] .shift-status-dot {
    position: absolute;
    bottom: 0px;
    right: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #1e293b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

[b-03x8r00w0l] .shift-status-dot.shift-online {
    background-color: #10B981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

[b-03x8r00w0l] .shift-status-dot.shift-paused {
    background-color: #F59E0B;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
    animation: pulse-paused-b-03x8r00w0l 2s infinite ease-in-out;
}

@keyframes pulse-paused-b-03x8r00w0l {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
}

[b-03x8r00w0l] .shift-status-dot.shift-offline {
    background-color: #94A3B8;
}

[b-03x8r00w0l] .availability-toggle-item {
    border-bottom: 1px dashed var(--st-border);
    padding-bottom: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

[b-03x8r00w0l] .availability-toggle-item:hover {
    background: var(--st-fill-3);
}

[b-03x8r00w0l] .icon-availability-active {
    color: #10B981;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.45));
}

[b-03x8r00w0l] .icon-availability-paused {
    color: #F59E0B;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.45));
}

[b-03x8r00w0l] .availability-item-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

[b-03x8r00w0l] .availability-item-status {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

[b-03x8r00w0l] .availability-item-status.status-active {
    color: #10B981;
}

[b-03x8r00w0l] .availability-item-status.status-paused {
    color: #F59E0B;
}

[b-03x8r00w0l] .shift-toggle-item {
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 8px;
    margin-bottom: 4px;
    cursor: pointer;
}

[b-03x8r00w0l] .icon-shift-active {
    color: #EF4444;
}

[b-03x8r00w0l] .icon-shift-start {
    color: #D8289F;
}

[b-03x8r00w0l] .icon-shift-inactive {
    color: var(--st-text-muted);
}

[b-03x8r00w0l] .shift-item-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

[b-03x8r00w0l] .shift-item-duration {
    font-size: 11px;
    color: var(--st-text-muted);
    font-weight: 600;
}

[b-03x8r00w0l] .avatar-inner {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    box-sizing: border-box;
    background-color: var(--st-surface);
    border: 3px solid #10B981;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[b-03x8r00w0l] .avatar-inner.shift-active {
    border: 3px solid #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
    opacity: 1;
    filter: none;
}

[b-03x8r00w0l] .avatar-inner.shift-paused {
    border: 3px solid #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
    opacity: 1;
    filter: none;
}

[b-03x8r00w0l] .avatar-inner.shift-inactive {
    border: 3px solid var(--st-border-stronger);
    opacity: 0.45;
    filter: grayscale(100%);
    box-shadow: none;
}

[b-03x8r00w0l] .avatar-inner.shift-active:hover {
    border-color: #059669;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.65);
}

[b-03x8r00w0l] .avatar-inner.shift-paused:hover {
    border-color: #D97706;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.65);
}

[b-03x8r00w0l] .user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out;
    opacity: 1;
    width: 130px;
    padding-left: 0px;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .user-info {
    opacity: 0;
    width: 0;
    padding-left: 0;
}

[b-03x8r00w0l] .user-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

[b-03x8r00w0l] .user-role {
    font-size: 0.75rem;
    color: #e500cd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Top Search Bar */
/* The map frame ends 10px from the viewport edge (see .map-frame): right 20px keeps the buttons
   10px inside the frame, the same inset they have at the top. */
[b-03x8r00w0l] .top-bar {
    position: absolute;
    top: calc(var(--st-frame-gap-y) + 10px);
    left: 240px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    transition: left 0.4s ease-in-out, right 0.4s ease-in-out;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .top-bar {
    left: calc(var(--st-sidebar-collapsed-w) + 20px);
}

.dashboard-container.notifications-open[b-03x8r00w0l]  .top-bar {
    z-index: 1095;
}

/* Con el selector de taller desplegado la barra sube por encima de paneles, tablas y overlays del
   dashboard (inbox z-index 50, chat 30, sidebar 1000): si no, el desplegable queda detrás y sus
   botones son inalcanzables. Solo mientras está abierto. */
[b-03x8r00w0l] .top-bar.selector-open {
    z-index: 2100;
}

/* With the chat open the frame retreats exactly --chat-width, so the same 10px inset holds. */
.dashboard-container.chat-open[b-03x8r00w0l]  .top-bar {
    right: calc(20px + var(--chat-width));
}

[b-03x8r00w0l] .search-container {
    pointer-events: auto;
    background: #9aa1abeb;
    backdrop-filter: blur(1px);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    width: 400px;
}

[b-03x8r00w0l] .search-input {
    background: transparent;
    border: none;
    color: var(--st-text-strong);
    width: 100%;
    margin-left: 10px;
    outline: none;
    font-size: 0.95rem;
}

[b-03x8r00w0l] .search-input::placeholder {
    color: var(--st-text-strong);
}

/* User Profile (Top Right) */
[b-03x8r00w0l] .user-profile {
    pointer-events: auto;
    background: #9aa1ab72;
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    border: 1px solid var(--st-border);
    margin-right: 20px;
    margin-top: 10px;
}

[b-03x8r00w0l] .user-profile-staging {
    background: #ffc107;
    color: #000;
}

[b-03x8r00w0l] .user-profile-dev {
    background: #dc3545;
}

[b-03x8r00w0l] .user-profile-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

[b-03x8r00w0l] .workspace-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--st-text-strong);
    line-height: 1;
}

[b-03x8r00w0l] .workspace-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: #e500cd;
    line-height: 1;
}

[b-03x8r00w0l] .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--st-surface);
}

/* Compact controls aligned with the tenant selector. */
.top-action-btn[b-03x8r00w0l] {
    position: relative;
    width: 45px;
    height: 44px;
    flex: 0 0 45px;
    box-sizing: border-box;
    padding: 0;
    background: rgba(104, 119, 141, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    /* Botones sobre el mapa: vidrio pizarra fijo en ambos temas, como el mapa. */
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 20px rgba(15, 28, 45, 0.3);
    /* The delay on visibility: see the covered buttons rule below. */
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, visibility 0s linear 0.4s;
    color: white;
}

/* A panel that fills the screen sits over these buttons (z-index 25-27 against the top bar's 10), and its close button
   falls right over the chat button. Covered but still alive, they took the second click on that close button (the panel
   stops catching clicks about 200 ms after the first one) and any Tab + Enter or Space, and the chat opened out of nowhere
   and shrank the board. So while covered they leave the page: no click and no focus. They come back 0.4s after the panel
   goes, the length of its fade, so that second click finds nothing. The selector open lifts the bar over the panel (see
   .top-bar.selector-open): then they are not covered. Without :has() support the rule is dropped and nothing changes. */
.dashboard-container:has(> .dynamic-panel.visible:is(.calendario-mode, .reportes-mode, .plataforma-mode, .documentacion-mode, .integracion-mode, .collision-mode, .platform-expanded, .inventarios-mode:not(.inbox-mode):not(.inbox-table-mode)), > .expanded-card-view.active:not(.compact))[b-03x8r00w0l]  .top-bar:not(.selector-open) .top-action-btn {
    visibility: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, visibility 0s;
}

/* The map's traffic light floats centred at the bottom with z-index 1000, so in a narrow window (or a zoomed one) it lands
   on the footer of the modal open inside the panel (assign, reclaim) and takes the clicks of its buttons. While that modal
   is open the traffic light goes down to the level of the map's other floating controls (the top bar's 10), under the
   panel (25). No transition: the traffic light's own one animates every property, and the z-index would stay over the
   footer for a moment. Without :has() support the rule is dropped and nothing changes. */
.dashboard-container:has(> .dynamic-panel.visible.panel-modal-open)[b-03x8r00w0l]  :is(.traffic-light-container, .traffic-light-handle) {
    z-index: 10;
    transition: none;
}

.top-action-btn:hover[b-03x8r00w0l],
.top-action-btn.active[b-03x8r00w0l] {
    background: rgba(122, 137, 159, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 24px rgba(15, 28, 45, 0.38);
}

.top-action-btn:focus-visible[b-03x8r00w0l] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Burbuja de la campana (<CountBadge>): se saca hacia abajo-derecha para que no tape el glifo,
   con dos tercios de su alto (20px) por fuera del borde del botón (el offset se mide desde el
   padding-box, de ahí el px extra del borde). A la derecha no más de 8px, que es el gap hasta
   la tarjeta del taller. */
.top-action-btn.notifications-trigger[b-03x8r00w0l] {
    --st-badge-offset-x: -8px;
    --st-badge-offset-y: -14px;
}

.top-action-btn:disabled[b-03x8r00w0l],
.top-action-btn.tenant-action-disabled[b-03x8r00w0l] {
    cursor: not-allowed;
}

.top-action-btn img[b-03x8r00w0l] {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.top-action-btn svg[b-03x8r00w0l] {
    display: block;
    width: 24px;
    height: 24px;
}

/* The pin of the new 3D: pressed (active) = it opens by itself on entry. */
.twin-entry-btn svg[b-03x8r00w0l] {
    width: 22px;
    height: 22px;
}

.workshop-mode-label[b-03x8r00w0l] {
    color: #ffffff;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    user-select: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.notifications-backdrop[b-03x8r00w0l] {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: transparent;
}

.notifications-popover[b-03x8r00w0l] {
    position: absolute;
    top: calc(var(--st-frame-gap-y) + 62px);
    right: 20px;
    bottom: calc(var(--st-frame-gap-y) + 10px);
    width: 450px;
    min-height: 0;
    z-index: 1100;
    overflow: hidden;
    border: 1px solid var(--st-border-strong);
    border-radius: 28px;
    /* Glass role (css/theme.css): the same material as the inbox. */
    background: var(--st-glass-surface);
    -webkit-backdrop-filter: blur(var(--st-glass-blur)) saturate(118%);
    backdrop-filter: blur(var(--st-glass-blur)) saturate(118%);
    box-shadow: 0 24px 60px rgba(13, 27, 45, 0.38);
    animation: notifications-popover-in-b-03x8r00w0l 0.2s ease-out;
}

@keyframes notifications-popover-in-b-03x8r00w0l {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Panel Styles: in Components/Chat/ChatPanel.razor.css (the panel is its own component). */
[b-03x8r00w0l] .add-button .sidebar-text {
    padding-left: 10px;
}

/* Restaurar posición del botón FAB al colapsar */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item.add-button .fab {
    margin-left: calc((var(--st-sidebar-collapsed-w) - 40px) / 2);
}

/* Restaurar ancho del ícono al colapsar */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-icon {
    width: var(--st-sidebar-collapsed-w);
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item.active .sidebar-icon,
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.add-button):not(.disabled):hover .sidebar-icon {
    width: 100%;
}

/* ── Inbox Badge (count de assets "Míos") ── */
/* EXPANDIDO (sidebar abierto o item en hover): el wrapper NO es contenedor de
   posicionamiento, así el badge escapa hasta el .sidebar-item y se ancla a la
   esquina inferior derecha de la cápsula amarilla completa.
   COLAPSADO (sin hover): el wrapper sí es relative para anclar el badge al
   centro del ícono (esquina del recuadro amarillo de 45px). */
[b-03x8r00w0l] .inbox-icon-wrapper {
    position: static;
}

.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .inbox-icon-wrapper {
    position: relative;
}

/* Colapsado + hover: la cápsula se expande; el wrapper vuelve a static para que
   el badge se ancle a la esquina inferior derecha del item expandido. */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.disabled):hover .inbox-icon-wrapper {
    position: static;
}

/* El badge es un <CountBadge> (xShared/Components/Badges): estilo, tamaño y color viven allí.
   Aquí SOLO se ajusta su posición según el estado del sidebar.
   Modo EXPANDIDO: esquina inferior derecha de la cápsula (offsets vía variables del componente). */
[b-03x8r00w0l] .sidebar-item .inbox-badge {
    --st-badge-offset-x: -6px;
    --st-badge-offset-y: -4px;
}

/* Ajuste del badge cuando el sidebar está colapsado.
   Se ancla al CENTRO del wrapper (left:50%) en lugar del borde derecho, porque
   el centro del ícono es estable (x=40) en todos los estados: normal, activo y
   hover. Así la cápsula NUNCA se mueve horizontalmente (elimina el corrimiento
   derecha→izquierda del hover) y siempre queda en la esquina inferior derecha
   del recuadro amarillo, fuera del ícono. */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .inbox-badge {
    left: 50%;
    right: auto;
    margin-left: 12px;
    bottom: -10px;
    /* La animación de aparición usa transform:scale; conviene que no reintroduzca
       desplazamiento horizontal, por eso el anclaje es por left fijo. */
}

/* Colapsado + hover (cápsula expandida): el badge se ancla a la esquina inferior
   derecha del item expandido, igual que en sidebar abierto. */
.dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-item:not(.disabled):hover .inbox-badge {
    left: auto;
    right: -6px;
    margin-left: 0;
    bottom: -4px;
}

/* ==========================================================================
   LOGOUT ITEM - Inside the "Configuración" popup, below "Gemelo Digital"
   ========================================================================== */

[b-03x8r00w0l] .popup-item.popup-item-logout {
    margin-top: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
    background: #dc354533;
    color: #dc3545;
}

[b-03x8r00w0l] .popup-item.popup-item-logout .popup-icon {
    color: #dc3545;
}

[b-03x8r00w0l] .popup-item.popup-item-logout .popup-icon svg {
    transform: rotate(180deg);
}

[b-03x8r00w0l] .popup-item.popup-item-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    box-shadow: none;
}

[b-03x8r00w0l] .popup-item.popup-item-logout:hover .popup-icon {
    color: #dc3545;
}

[b-03x8r00w0l] .popup-item.popup-item-logout:active {
    background: rgba(220, 53, 69, 0.2);
}

/* ==========================================================================
   LOGOUT CONFIRMATION MODAL - Swift-style Alert
   ========================================================================== */

[b-03x8r00w0l] .logout-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease-out;
}

[b-03x8r00w0l] .logout-confirm-modal {
    background: var(--st-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--st-border-strong);
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp-b-03x8r00w0l 0.25s ease-out;
}

@keyframes slideUp-b-03x8r00w0l {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[b-03x8r00w0l] .logout-confirm-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(220, 53, 69, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: color-mix(in srgb, #dc3545 calc(var(--st-is-light) * 100%), #ff6b7a);
}

[b-03x8r00w0l] .logout-confirm-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0 0 12px 0;
}

[b-03x8r00w0l] .logout-confirm-message {
    font-size: 1rem;
    color: var(--st-text-muted);
    margin: 0 0 25px 0;
    line-height: 1.5;
}

[b-03x8r00w0l] .logout-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

[b-03x8r00w0l] .btn-logout-cancel,
[b-03x8r00w0l] .btn-logout-confirm {
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

[b-03x8r00w0l] .btn-logout-cancel {
    background: var(--st-btn-secondary-bg);
    color: var(--st-btn-secondary-text);
}

[b-03x8r00w0l] .btn-logout-cancel:hover {
    background: var(--st-surface-stronger);
    transform: scale(1.02);
}

[b-03x8r00w0l] .btn-logout-confirm {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

[b-03x8r00w0l] .btn-logout-confirm:hover {
    background: #ff4757;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* --- RESPONSIVE DESIGN (Móvil) --- */
@media (max-width: 768px) {

    /* 1. Sidebar: Se oculta visualmente para dar espacio */
    [b-03x8r00w0l] .sidebar-glass {
        width: 0;
        padding: 0;
        overflow: hidden;
    }

    /* Aseguramos que colapsado también sea 0 en móvil */
    .dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .sidebar-glass {
        width: 0;
    }

    /* 2. Mapa: Ocupa toda la pantalla y se quitan los bordes redondeados */
    [b-03x8r00w0l] .map-frame {
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        top: 0;
    }

    .dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .map-frame {
        left: 0;
        width: 100%;
    }

    /* 3. Barra Superior: Se ajusta a los márgenes de la pantalla */
    [b-03x8r00w0l] .top-bar {
        top: calc(10px + env(safe-area-inset-top, 0px));
        left: calc(10px + env(safe-area-inset-left, 0px));
        right: calc(10px + env(safe-area-inset-right, 0px));
        width: auto;
        justify-content: space-between;
    }

    .dashboard-container.chat-open[b-03x8r00w0l]  .top-bar {
        right: calc(10px + env(safe-area-inset-right, 0px));
    }

    .top-action-btn[b-03x8r00w0l] {
        width: 45px;
        height: 44px;
        flex-basis: 45px;
    }

    .notifications-popover[b-03x8r00w0l] {
        top: calc(62px + env(safe-area-inset-top, 0px));
        left: calc(10px + env(safe-area-inset-left, 0px));
        right: calc(10px + env(safe-area-inset-right, 0px));
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        width: auto;
        border-radius: 22px;
    }

    .dashboard-container.work-session-active .notifications-popover[b-03x8r00w0l] {
        top: calc(120px + env(safe-area-inset-top, 0px));
    }

    .dashboard-container.sidebar-collapsed[b-03x8r00w0l]  .top-bar {
        left: calc(10px + env(safe-area-inset-left, 0px));
    }

    /* Ocultamos el perfil de usuario en móvil para ahorrar espacio (opcional) */
    [b-03x8r00w0l] .user-profile {
        display: none;
    }

    /* 4. Chat Panel: full width on a phone, in Components/Chat/ChatPanel.razor.css. */

    /* El chat ocupa todo el ancho: no hay hueco a la izquierda donde correr el aviso. */
    .dashboard-container.chat-open .tenant-access-progress[b-03x8r00w0l] {
        right: 10px;
    }

    /* Solo el lado: el borde de abajo es el de la pila de avisos (--st-toast-edge). */
    .tenant-access-progress[b-03x8r00w0l] {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-action-btn[b-03x8r00w0l],
    .notifications-popover[b-03x8r00w0l] {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   TENANT SELECTOR - FIGMA DESIGN
   ========================================= */

/* =========================================
   ENVIRONMENT COLOR INDICATORS
   ========================================= */

/* Development - Red background (like login button) */
[b-03x8r00w0l] .tenant-card.env-development {
    background: rgba(220, 53, 69, 0.85) !important;
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5) !important;
}

[b-03x8r00w0l] .tenant-card.env-development.expanded {
    background: rgba(220, 53, 69, 0.9) !important;
}

[b-03x8r00w0l] .tenant-card.env-development .tenant-header {
    border-left: none;
}

/* Staging/Test - Yellow/Orange background (like login button) */
[b-03x8r00w0l] .tenant-card.env-staging {
    background: rgba(255, 193, 7, 0.85) !important;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5) !important;
}

[b-03x8r00w0l] .tenant-card.env-staging.expanded {
    background: rgba(255, 193, 7, 0.9) !important;
}

/* Solo el icono se oscurece sobre el ámbar de staging: el nombre del taller y su departamento van
   siempre en blanco (ver TenantSelector.razor.css), igual que en el resto de entornos. */
[b-03x8r00w0l] .tenant-card.env-staging .tenant-icon {
    color: var(--st-text-brand) !important;
}

[b-03x8r00w0l] .tenant-card.env-staging .tenant-header {
    border-left: none;
}

/* =========================================
   REPORTES SIDEBARS - Paneles laterales
   ========================================= */

/* Panel lateral base */
.graficas-sidebar[b-03x8r00w0l],
.filtros-sidebar[b-03x8r00w0l] {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--st-surface);
    border-right: 1px solid var(--st-border);
    padding: 25px;
    box-sizing: border-box;
    transition: left 0.4s ease-in-out;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.graficas-sidebar.open[b-03x8r00w0l],
.filtros-sidebar.open[b-03x8r00w0l] {
    left: var(--st-sidebar-collapsed-w);
}

.sidebar-header-reportes[b-03x8r00w0l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-header-reportes h3[b-03x8r00w0l] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
    letter-spacing: 0.5px;
}

.close-sidebar-btn[b-03x8r00w0l] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 4px;
}

.close-sidebar-btn:hover[b-03x8r00w0l] {
    color: var(--st-text-strong);
}

.sidebar-instructions[b-03x8r00w0l] {
    font-size: 12px;
    color: var(--st-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.graficas-grid[b-03x8r00w0l] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex: 1;
}

.grafica-option[b-03x8r00w0l] {
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grafica-option:hover[b-03x8r00w0l] {
    background: var(--st-fill-4);
    border-color: #D33BB2;
}

.grafica-preview[b-03x8r00w0l] {
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin-bottom: 8px;
}

.grafica-option h4[b-03x8r00w0l] {
    margin: 0 0 4px 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--st-text-strong);
}

.grafica-option p[b-03x8r00w0l] {
    margin: 0;
    font-size: 10px;
    color: var(--st-text-muted);
}

.agregar-btn[b-03x8r00w0l],
.aplicar-btn[b-03x8r00w0l] {
    margin-top: 15px;
    padding: 12px;
    background: #D33BB2;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    align-self: flex-start;
}

.agregar-btn:hover[b-03x8r00w0l],
.aplicar-btn:hover[b-03x8r00w0l] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
}

/* Filtros sidebar specific */
.filtro-section[b-03x8r00w0l] {
    margin-bottom: 20px;
}

.filtro-section label[b-03x8r00w0l] {
    display: block;
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.filtro-row[b-03x8r00w0l] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filtro-input[b-03x8r00w0l] {
    flex: 1;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px;
    color: var(--st-text-strong);
    font-size: 14px;
}

.filtro-select[b-03x8r00w0l] {
    width: 100%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px;
    color: var(--st-text-strong);
    font-size: 14px;
}

.filtro-toggle-row[b-03x8r00w0l] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch[b-03x8r00w0l] {
    width: 40px;
    height: 20px;
    background: #D33BB2;
    border-radius: 10px;
    cursor: pointer;
}

/* Adjustments for reportes-mode with chat open */
[b-03x8r00w0l] .dynamic-panel.reportes-mode.chat-open {
    right: 350px !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[b-03x8r00w0l] .dynamic-panel.reportes-mode.sidebar-collapsed.chat-open {
    right: 350px !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   USER OPTIONS POPUP - Fixed Position
   ========================================================================== */

/* Overlay to click-outside-to-close */
[b-03x8r00w0l] .user-options-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: transparent;
}

/* The Popup Container */
[b-03x8r00w0l] .user-options-popup {
    position: fixed;
    bottom: 20px;
    left: 228px;
    width: 320px;
    /* Glass role (css/theme.css): the same material as the inbox. It re-asserts the user's theme
       (data-st-theme="@PopupTheme" in Sidebar.razor) because it is rendered inside the navy NavMenu. */
    background: var(--st-surface);
    backdrop-filter: blur(var(--st-glass-blur));
    -webkit-backdrop-filter: blur(var(--st-glass-blur));
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
    border-radius: 24px;
    padding: 12px 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    animation: popupFadeIn-b-03x8r00w0l 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transition: left 0.4s ease-in-out;
}

/* Dynamic positioning based on sidebar state */
[b-03x8r00w0l] .user-options-popup.sidebar-expanded-mode {
    left: 228px;
}

[b-03x8r00w0l] .user-options-popup.sidebar-collapsed-mode {
    left: 88px;
}

.sidebar-collapsed[b-03x8r00w0l]  .user-options-popup {
    left: 88px;
}

/* Header/Title */
[b-03x8r00w0l] .popup-header {
    margin-bottom: 8px;
    padding-left: 4px;
}

[b-03x8r00w0l] .popup-title {
    color: var(--st-text-strong);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-shadow: none;
}

/* Tarjeta Blanca Superior */
[b-03x8r00w0l] .user-options-content,
[b-03x8r00w0l] .user-opitons-content {
    background: var(--st-canvas);
    border: 1px solid var(--st-border-subtle);
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@keyframes popupFadeIn-b-03x8r00w0l {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* List Items dentro de la tarjeta blanca */
[b-03x8r00w0l] .popup-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Una fila por opción: ícono en círculo, título y subtítulo, sin caja propia */
[b-03x8r00w0l] .popup-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 8px;
    background: transparent;
    border-radius: 14px;
    cursor: pointer;
    color: var(--st-text-brand);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease-in-out;
}

[b-03x8r00w0l] .popup-item:hover {
    background: #E5B900;
    color: #1F2F45;
    transform: translateY(-1px);
}

[b-03x8r00w0l] .popup-item.disabled[aria-disabled="true"] .popup-icon,
[b-03x8r00w0l] .popup-item.disabled[aria-disabled="true"] .popup-text {
    filter: grayscale(1) saturate(0.15);
    opacity: 0.4;
}

[b-03x8r00w0l] .popup-item.disabled[aria-disabled="true"]:hover {
    background: transparent;
    box-shadow: none;
    color: var(--st-text-brand);
    transform: none;
}

[b-03x8r00w0l] .popup-item.popup-item-selected {
    background: #DE9C02;
    color: #2B3B52;
}

[b-03x8r00w0l] .popup-item-primary {
    background: #E5B900;
    color: #FFFFFF;
}

[b-03x8r00w0l] .popup-item-primary:hover {
    background: #D49E00;
    color: #FFFFFF;
}

[b-03x8r00w0l] .popup-item.popup-item-insurance {
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #FFC107;
}

[b-03x8r00w0l] .popup-item.popup-item-insurance:hover {
    background: rgba(255, 193, 7, 0.3);
    color: #ffffff;
}

[b-03x8r00w0l] .popup-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--st-surface-strong);
}

[b-03x8r00w0l] .popup-item:hover .popup-icon,
[b-03x8r00w0l] .popup-item.popup-item-selected .popup-icon {
    background: rgba(255, 255, 255, 0.35);
}

[b-03x8r00w0l] .popup-item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

[b-03x8r00w0l] .popup-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.1px;
}

[b-03x8r00w0l] .popup-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-03x8r00w0l] .popup-item:hover .popup-subtext,
[b-03x8r00w0l] .popup-item.popup-item-selected .popup-subtext {
    color: inherit;
    opacity: 0.8;
}

/* Espacio y Cargo: un modo de vista (no una opción). El valor va en un chip y se cambia con la lista flotante. */
[b-03x8r00w0l] .popup-setting {
    position: relative;
}

[b-03x8r00w0l] .popup-setting-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 8px;
    border-radius: 14px;
    cursor: pointer;
    color: var(--st-text-brand);
}

/* El valor actual de un modo de vista (el cargo) se lee más fuerte que un subtítulo normal */
[b-03x8r00w0l] .popup-subtext.popup-subtext-value {
    color: var(--st-text-brand);
    font-weight: 600;
}

/* Encabezado de la tarjeta: «Espacio ˅» a la izquierda y el espacio activo en un chip a la derecha */
[b-03x8r00w0l] .popup-space-row {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 4px 8px 8px;
    cursor: pointer;
    color: var(--st-text-brand);
}

[b-03x8r00w0l] .popup-space-title {
    font-size: 1.05rem;
    font-weight: 700;
}

[b-03x8r00w0l] .popup-space-row .popup-setting-chevron {
    width: 24px;
    height: 24px;
    margin-left: 0;
}

[b-03x8r00w0l] .popup-space-chip {
    margin-left: auto;
    max-width: 160px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-03x8r00w0l] .popup-space .popup-dropdown {
    top: calc(100% - 4px);
    left: 4px;
    right: auto;
}

[b-03x8r00w0l] .popup-setting-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border-radius: 50%;
    color: var(--st-text-subtle);
    transition: transform 0.2s ease, background-color 0.18s ease;
}

[b-03x8r00w0l] .popup-setting-row:hover .popup-setting-chevron,
[b-03x8r00w0l] .popup-space-row:hover .popup-setting-chevron {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
}

/* Cargo es una opción más (mismo hover); la flecha toma el color de la fila */
[b-03x8r00w0l] .popup-item:hover .popup-setting-chevron {
    color: inherit;
}

[b-03x8r00w0l] .popup-setting-chevron.open {
    transform: rotate(180deg);
}

/* Lista flotante bajo la flecha, con la misma superficie de la tarjeta del menú */
[b-03x8r00w0l] .popup-dropdown {
    position: absolute;
    top: calc(100% - 6px);
    right: 8px;
    z-index: 5;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    animation: popupFadeIn-b-03x8r00w0l 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

[b-03x8r00w0l] .popup-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

[b-03x8r00w0l] .popup-dropdown-item:hover {
    background: var(--st-surface-strong);
    color: var(--st-text-brand);
}

/* El elegido sale marcado al abrir la lista: mostaza con letras azules, en ambos temas */
[b-03x8r00w0l] .popup-dropdown-item.selected,
[b-03x8r00w0l] .popup-dropdown-item.selected:hover {
    background: #E5B900;
    color: #1F2F45;
    font-weight: 700;
}

[b-03x8r00w0l] .popup-dropdown-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Al hacer clic no se dibuja el marco del navegador; con teclado sí (focus-visible) */
[b-03x8r00w0l] .popup-space-row:focus:not(:focus-visible),
[b-03x8r00w0l] .popup-item:focus:not(:focus-visible) {
    outline: none;
}

[b-03x8r00w0l] .popup-space-row:focus-visible,
[b-03x8r00w0l] .popup-setting-row:focus-visible,
[b-03x8r00w0l] .popup-dropdown-item:focus-visible {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* Selector de tema (Oscuro / Claro / Sistema) al pie de la tarjeta de enlaces */
[b-03x8r00w0l] .popup-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 4px 2px 8px;
    border-top: 1px solid var(--st-border);
}

[b-03x8r00w0l] .popup-theme-label {
    color: var(--st-text-subtle);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Interruptor claro / oscuro: la píldora toma el color del modo y la perilla cruza de lado */
[b-03x8r00w0l] .theme-switch {
    position: relative;
    display: flex;
    align-items: center;
    width: 132px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease;
}

[b-03x8r00w0l] .theme-switch.is-light {
    background: #EDEDED;
    border-color: #DADADA;
    color: #475569; /* slate, not black */
    justify-content: flex-start;
}

[b-03x8r00w0l] .theme-switch.is-dark {
    background: #1F2F45;
    border-color: #34485E;
    color: #FFFFFF;
    justify-content: flex-end;
}

[b-03x8r00w0l] .theme-switch-knob {
    position: absolute;
    top: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #334D6E;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: left 0.25s ease;
}

[b-03x8r00w0l] .theme-switch.is-light .theme-switch-knob {
    left: calc(100% - 33px);
}

[b-03x8r00w0l] .theme-switch.is-dark .theme-switch-knob {
    left: 3px;
}

[b-03x8r00w0l] .theme-switch:focus-visible {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    [b-03x8r00w0l] .theme-switch,
    [b-03x8r00w0l] .theme-switch-knob {
        transition: none;
    }
}

/* ==========================================================================
   POPUP FOOTER SECTION (Mockup Style: Glassmorphism Dark)
   ========================================================================== */

[b-03x8r00w0l] .popup-footer-section {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    gap: 12px;
    padding: 0 2px;
}

/* Fila de Usuario y Disponibilidad */
[b-03x8r00w0l] .popup-user-availability-row {
    background: var(--st-canvas);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    transition: all 0.18s ease;
}

[b-03x8r00w0l] .popup-user-availability-row.clickable-avail {
    cursor: pointer;
}

[b-03x8r00w0l] .popup-user-availability-row.clickable-avail:hover {
    background: var(--st-fill-5);
}

/* Badges circulares de estado */
[b-03x8r00w0l] .user-avail-status-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[b-03x8r00w0l] .user-avail-status-badge.badge-online {
    background: #C7FCEB;
    border: 2px solid #20E5A5;
    color: #20E5A5;
}

[b-03x8r00w0l] .user-avail-status-badge.badge-paused {
    background: #FDE2E4;
    border: 2px solid #F43F5E;
    color: #F43F5E;
}

[b-03x8r00w0l] .user-avail-status-badge.badge-offline {
    background: var(--st-surface-strong);
    border: 2px solid var(--st-border-stronger);
    color: var(--st-text-muted);
}

[b-03x8r00w0l] .user-avail-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

[b-03x8r00w0l] .user-avail-name {
    color: var(--st-text-strong);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}

[b-03x8r00w0l] .user-avail-status {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

[b-03x8r00w0l] .user-avail-status.status-online {
    color: #20E5A5;
}

[b-03x8r00w0l] .user-avail-status.status-paused {
    color: #F43F5E;
}

[b-03x8r00w0l] .user-avail-status.status-offline {
    color: var(--st-text-muted);
}

[b-03x8r00w0l] .user-avail-status.status-role {
    color: var(--st-text-muted);
    font-weight: 500;
}

/* Píldora de duración digital 0:05 */
[b-03x8r00w0l] .shift-duration-pill {
    background: #27E79F;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 3px 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(39, 231, 159, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[b-03x8r00w0l] .user-avail-arrow {
    color: var(--st-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

[b-03x8r00w0l] .popup-user-availability-row.clickable-avail:hover .user-avail-arrow {
    transform: translateX(2px);
    color: var(--st-text-strong);
}

/* Botonera Dual Inferior */
[b-03x8r00w0l] .popup-actions-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

[b-03x8r00w0l] .popup-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 12px;
    transition: all 0.18s ease;
    text-align: left;
    flex: 1;
}

[b-03x8r00w0l] .popup-action-btn:hover {
    background: var(--st-fill-4);
}

[b-03x8r00w0l] .action-btn-clean-icon {
    color: var(--st-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

[b-03x8r00w0l] .popup-action-btn:hover .action-btn-clean-icon {
    transform: scale(1.1);
}

[b-03x8r00w0l] .action-btn-text {
    display: flex;
    flex-direction: column;
    color: var(--st-text-strong);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

/* Divisor Vertical entre botones */
[b-03x8r00w0l] .popup-actions-divider {
    width: 1px;
    height: 32px;
    background: var(--st-border);
    margin: 0 4px;
}

[b-03x8r00w0l] .btn-shift-disabled {
    opacity: 0.5;
    cursor: default;
}

/* Disponibilidad: la lista de Espacio y Cargo, al lado de la fila del usuario (como un submenú) */
[b-03x8r00w0l] .popup-avail-anchor {
    position: relative;
}

[b-03x8r00w0l] .popup-dropdown.popup-avail-dropdown {
    top: 50%;
    left: calc(100% + 22px);
    right: auto;
    transform: translateY(-50%);
    min-width: 200px;
    animation: none;
}

/* Cargo: su lista también sale al lado, a la misma distancia del menú que la de disponibilidad */
[b-03x8r00w0l] .popup-dropdown.popup-jobtitle-dropdown {
    top: 50%;
    left: calc(100% + 28px);
    right: auto;
    transform: translateY(-50%);
    min-width: 200px;
    animation: none;
}

/* La flecha de un submenú lateral apunta a la derecha (›) */
[b-03x8r00w0l] .popup-setting-chevron.side {
    transform: rotate(-90deg);
}

[b-03x8r00w0l] .popup-avail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

[b-03x8r00w0l] .popup-avail-icon.online {
    background: #D1FADF;
    color: #12B76A;
}

[b-03x8r00w0l] .popup-avail-icon.paused {
    background: #FEE4E2;
    color: #F04438;
}

/* Elegida: el ícono en blanco sobre la mostaza */
[b-03x8r00w0l] .popup-dropdown-item.selected .popup-avail-icon {
    background: #FFFFFF;
}

/* Make Sidebar Profile Clickable */
[b-03x8r00w0l] .sidebar-user-profile {
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 10px;
}

[b-03x8r00w0l] .sidebar-avatar:hover {
    transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
    .tenant-access-progress[b-03x8r00w0l],
    [b-03x8r00w0l] .sidebar-item,
    [b-03x8r00w0l] .sidebar-text,
    [b-03x8r00w0l] .sidebar-item[data-tooltip]::after,
    [b-03x8r00w0l] .sidebar-item .fab,
    [b-03x8r00w0l] .popup-item {
        animation: none !important;
        transition: none !important;
    }

    [b-03x8r00w0l] .sidebar-item .fab:hover,
    [b-03x8r00w0l] .popup-item:hover {
        transform: none !important;
    }
}

/* Barrera de errores del tablero. Ocupa la pantalla porque cuando aparece no hay tablero que
   mostrar detrás, pero la sesión sigue viva: el botón reintenta sin recargar la página. */
.dashboard-error[b-03x8r00w0l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100vh;
    height: 100dvh;
    padding: 24px;
    text-align: center;
    background-color: var(--st-surface);
    color: var(--st-text-body);
}

.dashboard-error h2[b-03x8r00w0l] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.dashboard-error p[b-03x8r00w0l] {
    margin: 0;
    color: var(--st-text-muted);
    max-width: 32rem;
}

/* Novedades: the yellow star over the photo and the count in the user menu */
[b-03x8r00w0l] .news-star {
    position: absolute;
    top: -6px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    color: #DEA301;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    [b-03x8r00w0l] .news-star {
        animation: news-star-blink-b-03x8r00w0l 1.5s ease-in-out 20;
    }
}

@keyframes news-star-blink-b-03x8r00w0l {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

[b-03x8r00w0l] .news-star svg {
    stroke: #1F2F45;
    stroke-width: 0.8;
    fill: currentColor;
}

[b-03x8r00w0l] .popup-icon.popup-icon-news {
    color: #DEA301;
}

[b-03x8r00w0l] .popup-news-count {
    margin-left: auto;
    min-width: 22px;
    padding: 1px 9px;
    border-radius: 11px;
    background: #D33BB3;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================================
   «+» MENU: the page blurs and the options come out as pills over the button, which turns into an «x» (as on the phone)
   ========================================================================== */
[b-03x8r00w0l] .add-dial-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(31, 47, 69, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: add-dial-fade-in-b-03x8r00w0l 0.2s ease-out both;
}

[b-03x8r00w0l] .add-dial-overlay.closing {
    animation: add-dial-fade-out-b-03x8r00w0l 0.19s ease-in both;
}

[b-03x8r00w0l] .add-dial {
    position: fixed;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    /* Every pill the same size: the width of the menu, and a line that does not fit is cut with «…» */
    align-items: stretch;
    width: 330px;
    max-width: calc(100vw - 32px);
    gap: 12px;
}

[b-03x8r00w0l] .add-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 22px;
    border-radius: 32px;
    background: #1F2F45;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    animation: add-pill-in-b-03x8r00w0l 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--i) * 45ms);
    transition: filter 0.15s ease;
}

[b-03x8r00w0l] .add-dial.closing .add-pill {
    animation: add-pill-out-b-03x8r00w0l 0.19s ease-in both;
    animation-delay: 0s;
}

[b-03x8r00w0l] .add-pill:hover {
    filter: brightness(1.14);
}

[b-03x8r00w0l] .add-pill:focus-visible {
    outline: 2px solid #DEA301;
    outline-offset: 2px;
}

[b-03x8r00w0l] .add-pill.add-pill-primary {
    border-color: #DEA301;
}

/* Sin permiso la opción queda atenuada y no abre nada; el motivo va en su título (decisiones del inbox, pregunta 2).
   Se atenúa el contenido y no la píldora: la animación de entrada fija su opacidad. */
[b-03x8r00w0l] .add-pill.add-pill-blocked {
    cursor: not-allowed;
}

[b-03x8r00w0l] .add-pill.add-pill-blocked > * {
    opacity: 0.45;
}

/* Dimmed for a missing permission that can be requested: it answers the click. */
[b-03x8r00w0l] .add-pill.add-pill-blocked.add-pill-askable {
    cursor: pointer;
}

[b-03x8r00w0l] .add-pill.add-pill-blocked.add-pill-askable > * {
    opacity: 0.7;
}

[b-03x8r00w0l] .add-pill.add-pill-blocked:hover {
    filter: none;
}

[b-03x8r00w0l] .add-pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

[b-03x8r00w0l] .add-pill-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-03x8r00w0l] .add-pill-sub {
    color: #92A0B4;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-03x8r00w0l] .add-pill-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3A4C64;
    color: #E5E9EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The button stays over the blur and turns into the «x» */
[b-03x8r00w0l] .sidebar-item.add-button.open {
    position: relative;
    z-index: 1003;
}

[b-03x8r00w0l] .sidebar-item.add-button .fab svg {
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

[b-03x8r00w0l] .sidebar-item.add-button.open .fab svg {
    transform: rotate(45deg);
}

.shop-zone-notice[b-03x8r00w0l] {
    margin: 8px 12px 0;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 196, 0, 0.55);
    background: rgba(255, 196, 0, 0.14);
    color: #ffd666;
    font-size: 12px;
    line-height: 1.35;
}

@keyframes add-dial-fade-in-b-03x8r00w0l {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes add-dial-fade-out-b-03x8r00w0l {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes add-pill-in-b-03x8r00w0l {
    from { opacity: 0; transform: translateY(28px) scale(0.92); }
    to { opacity: 1; transform: none; }
}

@keyframes add-pill-out-b-03x8r00w0l {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(28px) scale(0.92); }
}
/* /Pages/LandinPage/About.razor.rz.scp.css */
.about-hero-section[b-5wryko4w50] {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%), url('/about.jpg') no-repeat center center;
    background-size: cover;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-top-text[b-5wryko4w50] {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #b0b0b0;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-main-title[b-5wryko4w50] {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-main-title .thin[b-5wryko4w50] {
    font-weight: 200;
    color: #fff;
}

.btn-pink[b-5wryko4w50] {
    background-color: #e500cd;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
}

.btn-pink:hover[b-5wryko4w50] {
    background-color: #c400ae;
    transform: translateY(-2px);
}

[b-5wryko4w50] .text-pink {
    color: #e500cd !important;
    font-weight: 700;
}

/* --- SECCIÓN PROBLEMA/SOLUCIÓN (Con Difuminado) --- */
.problem-solution-section[b-5wryko4w50] {
    position: relative;
    background-color: #0d1117;
    padding: 100px 10rem;
    color: #fff;
    display: flex;
    justify-content: center;
    z-index: 2;
}

/* El "Difuminado" (Gradient Fade) entre el Hero y esta sección */
.problem-solution-section[b-5wryko4w50]::before {
    content: "";
    position: absolute;
    top: -150px;
    /* Se solapa con el Hero para crear el efecto de desvanecimiento */
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #0d1117);
    pointer-events: none;
}

.problem-container[b-5wryko4w50] {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.problem-left[b-5wryko4w50] {
    flex: 1.5;
}

.problem-left h2[b-5wryko4w50] {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.problem-right[b-5wryko4w50] {
    flex: 1;
}

.problem-right p[b-5wryko4w50] {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.text-pink[b-5wryko4w50] {
    color: #e500cd !important;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .problem-solution-section[b-5wryko4w50] {
        padding: 80px 5rem;
    }
}

@media (max-width: 992px) {
    .problem-solution-section[b-5wryko4w50] {
        padding: 60px 2rem;
    }

    .problem-container[b-5wryko4w50] {
        flex-direction: column;
        gap: 30px;
    }

    .problem-left h2[b-5wryko4w50] {
        font-size: 2.2rem;
    }
}

/* --- SECCIÓN PILARES --- */
.section-pillars[b-5wryko4w50] {
    background: #0d1117;
    /* Darker background to match the theme */
    padding: 0px 0px 10rem;
    color: #fff;
}

.pillars-container[b-5wryko4w50] {
    max-width: 1400px;
    margin: 0 auto;
}

.pillars-grid[b-5wryko4w50] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Reduced gap like in the image */
    align-items: stretch;
}

.pillar-card[b-5wryko4w50] {
    background: #121c2a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    min-height: 380px;
}

.pillar-card.highlighted[b-5wryko4w50] {
    background: #e500cd;
    /* Brand pink */
    color: #fff;
    border: none;
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(229, 0, 205, 0.2);
}

.pillar-number[b-5wryko4w50] {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #e500cd;
    /* Brand pink for dark cards */
    display: block;
}

.pillar-card.highlighted .pillar-number[b-5wryko4w50] {
    color: #fff;
}

.pillar-card h3[b-5wryko4w50] {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.pillar-card.highlighted h3[b-5wryko4w50] {
    color: #fff;
}

.pillar-card p[b-5wryko4w50] {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
}

.pillar-card.highlighted p[b-5wryko4w50] {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1200px) {
    .section-pillars[b-5wryko4w50] {
        padding: 80px 5%;
    }

    .pillars-grid[b-5wryko4w50] {
        gap: 15px;
    }

    .pillar-card[b-5wryko4w50] {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .pillars-grid[b-5wryko4w50] {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pillar-card.highlighted[b-5wryko4w50] {
        transform: none;
    }
}

/* --- NEW CONTACT SECTION --- */
.new-contact-section[b-5wryko4w50] {
    background-color: #0d1117;
    padding: 100px 10rem 0 10rem;
    color: #fff;
}

.contact-header[b-5wryko4w50] {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1[b-5wryko4w50] {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.contact-grid-container[b-5wryko4w50] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.contact-subtitle[b-5wryko4w50] {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-desc[b-5wryko4w50] {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 500px;
}

.location-item[b-5wryko4w50] {
    display: flex;
    gap: 20px;
    align-items: center;
}

.location-icon[b-5wryko4w50] {
    width: 60px;
    height: 60px;
    background: rgba(229, 0, 205, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e500cd;
    flex-shrink: 0;
}

.location-icon svg[b-5wryko4w50] {
    width: 28px;
    height: 28px;
}

.location-text h4[b-5wryko4w50] {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.location-text p[b-5wryko4w50] {
    color: #94a3b8;
    font-size: 1rem;
}

/* Form Card */
.contact-card-modern[b-5wryko4w50] {
    background: #121c2a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-card-modern h3[b-5wryko4w50] {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.form-row[b-5wryko4w50] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group[b-5wryko4w50] {
    margin-bottom: 24px;
}

.form-group label[b-5wryko4w50] {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.form-group input[b-5wryko4w50],
.form-group textarea[b-5wryko4w50] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus[b-5wryko4w50],
.form-group textarea:focus[b-5wryko4w50] {
    border-color: #e500cd;
}

.form-group textarea[b-5wryko4w50] {
    height: 100px;
    resize: none;
}

.btn-full[b-5wryko4w50] {
    width: 100%;
    margin-top: 20px;
    padding: 18px;
}

/* Map */
.map-container[b-5wryko4w50] {
    height: 500px;
    margin-top: -80px; 
    position: relative;
    background: #0d1117;
    width: 100%;
    overflow: hidden;
}

.styled-map[b-5wryko4w50] {
    width: 100%;
    height: 100%;
}

.styled-map iframe[b-5wryko4w50] {
    filter: grayscale(1) invert(0.9) brightness(0.8) contrast(1.2);
    width: 100%;
    height: 100%;
}

.map-overlay[b-5wryko4w50] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0px 100px 0px 100px;
    pointer-events: none; /* Allow interaction with map */
    z-index: 2;
}

@media (max-width: 1200px) {
    .new-contact-section[b-5wryko4w50] {
        padding: 80px 5% 0 5%;
    }

    .contact-grid-container[b-5wryko4w50] {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .contact-grid-container[b-5wryko4w50] {
        grid-template-columns: 1fr;
    }

    .contact-info-side[b-5wryko4w50] {
        text-align: center;
    }

    .contact-desc[b-5wryko4w50] {
        margin-left: auto;
        margin-right: auto;
    }

    .location-item[b-5wryko4w50] {
        justify-content: center;
    }

    .map-container[b-5wryko4w50] {
        margin-top: 50px;
    }
}

/* --- SECCIÓN MANIFIESTO --- */
.section-manifesto[b-5wryko4w50] {
    background-color: #0d1117;
    padding: 120px 10rem;
    color: #fff;
}

.manifesto-container[b-5wryko4w50] {
    max-width: 1400px;
    margin: 0 auto;
}

.manifesto-content[b-5wryko4w50] {
    display: flex;
    align-items: flex-start;
    gap: 120px;
}

.manifesto-left[b-5wryko4w50] {
    flex: 1;
}

.manifesto-left h2[b-5wryko4w50] {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
}

.manifesto-right[b-5wryko4w50] {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.manifesto-item[b-5wryko4w50] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.manifesto-icon[b-5wryko4w50] {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifesto-item.negative[b-5wryko4w50] {
    opacity: 0.5;
}

.manifesto-item.negative .manifesto-icon[b-5wryko4w50] {
    color: #94a3b8;
}

.manifesto-item.negative p[b-5wryko4w50] {
    font-size: 1.4rem;
    color: #94a3b8;
    margin: 0;
}

.manifesto-item.positive .manifesto-icon[b-5wryko4w50] {
    color: #e500cd;
    font-size: 2rem;
    font-weight: 700;
}

.manifesto-item.positive p[b-5wryko4w50] {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

@media (max-width: 1200px) {
    .section-manifesto[b-5wryko4w50] {
        padding: 80px 5%;
    }

    .manifesto-content[b-5wryko4w50] {
        gap: 60px;
    }

    .manifesto-left h2[b-5wryko4w50] {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .manifesto-content[b-5wryko4w50] {
        flex-direction: column;
        gap: 40px;
    }

    .manifesto-item.positive p[b-5wryko4w50] {
        font-size: 1.5rem;
    }

    .manifesto-item.negative p[b-5wryko4w50] {
        font-size: 1.2rem;
    }
}

/* --- SECCIÓN EQUIPO --- */
.section-team[b-5wryko4w50] {
    background-color: #0d1117;
    padding: 100px 10rem;
    color: #fff;
    text-align: center;
}

.team-container[b-5wryko4w50] {
    max-width: 1400px;
    margin: 0 auto;
}

.team-top-text[b-5wryko4w50] {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #e500cd;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.team-manifesto[b-5wryko4w50] {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 80px auto;
    color: #fff;
}

.team-grid[b-5wryko4w50] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member[b-5wryko4w50] {
    background: #121c2a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 40px 40px 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.team-member:hover[b-5wryko4w50] {
    transform: translateY(-10px);
    background: #162436;
}

/* Icon Wrap - The "Jewel" Container */
.member-icon-wrap[b-5wryko4w50] {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    z-index: 10;
}

.member-icon[b-5wryko4w50] {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    /* Squircle/Diamond look */
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.member-icon svg[b-5wryko4w50] {
    width: 40px;
    height: 40px;
    transform: rotate(-45deg);
    /* Counter-rotate icon back */
    color: #fff;
    z-index: 2;
}

/* Accent Themes */
.accent-pink .member-icon[b-5wryko4w50] {
    background: linear-gradient(135deg, #e500cd 0%, #ff4edc 100%);
    box-shadow: 0 10px 25px rgba(229, 0, 205, 0.4);
}

.accent-pink[b-5wryko4w50]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(229, 0, 205, 0.1), transparent 70%);
    border-radius: 24px;
    pointer-events: none;
}

.accent-blue .member-icon[b-5wryko4w50] {
    background: linear-gradient(135deg, #0070f3 0%, #00c6ff 100%);
    box-shadow: 0 10px 25px rgba(0, 112, 243, 0.4);
}

.accent-blue[b-5wryko4w50]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(0, 112, 243, 0.1), transparent 70%);
    border-radius: 24px;
    pointer-events: none;
}

.accent-violet .member-icon[b-5wryko4w50] {
    background: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
    box-shadow: 0 10px 25px rgba(121, 40, 202, 0.4);
}

.accent-violet[b-5wryko4w50]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(121, 40, 202, 0.1), transparent 70%);
    border-radius: 24px;
    pointer-events: none;
}

.member-role[b-5wryko4w50] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .section-team[b-5wryko4w50] {
        padding: 80px 5%;
    }

    .team-manifesto[b-5wryko4w50] {
        font-size: 2rem;
    }

    .team-grid[b-5wryko4w50] {
        grid-template-columns: 1fr;
    }
}

/* Media Queries */
@media (max-width: 600px) {
    .contact-section h2[b-5wryko4w50] {
        font-size: 2.5rem;
    }

    .contact-card[b-5wryko4w50] {
        align-items: center;
        text-align: center;
    }
}
/* /Pages/LandinPage/Comunity.razor.rz.scp.css */
/* Community Page Styles */

.community-container[b-gk0p9tiosn] {
    width: 100%;
    min-height: 100vh;
    background-color: #1a2332;
}

/* Hero Section */
.hero-section[b-gk0p9tiosn] {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1200') center/cover;
    position: relative;
}

.hero-overlay[b-gk0p9tiosn] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content[b-gk0p9tiosn] {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 2rem;
}

.hero-title[b-gk0p9tiosn] {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle[b-gk0p9tiosn] {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons[b-gk0p9tiosn] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-join[b-gk0p9tiosn] {
    background-color: #1e2d41;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-join:hover[b-gk0p9tiosn] {
        background-color: #2a3f5f;
    }

.btn-explore[b-gk0p9tiosn] {
    background-color: white;
    color: #333;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

    .btn-explore:hover[b-gk0p9tiosn] {
        background-color: #f0f0f0;
    }

.icon-users[b-gk0p9tiosn] {
    font-size: 1.2rem;
}

/* Tabs Section - Positioned at bottom of hero */
.tabs-section[b-gk0p9tiosn] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 45, 65, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.tabs-container[b-gk0p9tiosn] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 0 2rem;
}

.tab-item[b-gk0p9tiosn] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

    .tab-item:hover[b-gk0p9tiosn] {
        color: white;
    }

    .tab-item.active[b-gk0p9tiosn] {
        color: white;
    }

        .tab-item.active[b-gk0p9tiosn]::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: white;
        }

.btn-ask[b-gk0p9tiosn] {
    margin-left: auto;
    background-color: #e500cd;
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-ask:hover[b-gk0p9tiosn] {
        background-color: #cb00b6;
    }

/* Questions Section */
.questions-section[b-gk0p9tiosn] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.question-card[b-gk0p9tiosn] {
    background-color: #243447;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

    .question-card:hover[b-gk0p9tiosn] {
        background-color: #2a3f5f;
    }

.question-stats[b-gk0p9tiosn] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 100px;
}

.stat-item[b-gk0p9tiosn] {
    text-align: center;
}

.stat-number[b-gk0p9tiosn] {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.stat-label[b-gk0p9tiosn] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.question-content[b-gk0p9tiosn] {
    flex: 1;
}

.question-title[b-gk0p9tiosn] {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.question-text[b-gk0p9tiosn] {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.question-footer[b-gk0p9tiosn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info[b-gk0p9tiosn] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.user-avatar[b-gk0p9tiosn] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #5a6c84;
}

.user-name[b-gk0p9tiosn] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.question-time[b-gk0p9tiosn] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section[b-gk0p9tiosn] {
        height: 350px;
    }

    .hero-title[b-gk0p9tiosn] {
        font-size: 2.5rem;
    }

    .hero-subtitle[b-gk0p9tiosn] {
        font-size: 1rem;
    }

    .tabs-container[b-gk0p9tiosn] {
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .tab-item[b-gk0p9tiosn] {
        font-size: 0.9rem;
    }

    .btn-ask[b-gk0p9tiosn] {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-section[b-gk0p9tiosn] {
        height: auto;
        min-height: 450px;
    }

    .hero-title[b-gk0p9tiosn] {
        font-size: 2rem;
    }

    .hero-subtitle[b-gk0p9tiosn] {
        font-size: 0.95rem;
    }

    .hero-content[b-gk0p9tiosn] {
        padding: 1.5rem;
    }

    .hero-buttons[b-gk0p9tiosn] {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn-join[b-gk0p9tiosn],
    .btn-explore[b-gk0p9tiosn] {
        width: 100%;
        max-width: 300px;
    }

    .tabs-section[b-gk0p9tiosn] {
        position: relative;
        background-color: #1e2d41;
    }

    .tabs-container[b-gk0p9tiosn] {
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 1rem;
        justify-content: center;
    }

    .tab-item[b-gk0p9tiosn] {
        font-size: 0.85rem;
    }

    .btn-ask[b-gk0p9tiosn] {
        margin-left: 0;
        width: 100%;
        max-width: 150px;
    }

    .questions-section[b-gk0p9tiosn] {
        padding: 1rem;
    }

    .question-card[b-gk0p9tiosn] {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .question-stats[b-gk0p9tiosn] {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
    }

    .question-title[b-gk0p9tiosn] {
        font-size: 1.1rem;
    }

    .question-text[b-gk0p9tiosn] {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title[b-gk0p9tiosn] {
        font-size: 1.5rem;
    }

    .hero-subtitle[b-gk0p9tiosn] {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .btn-join[b-gk0p9tiosn],
    .btn-explore[b-gk0p9tiosn] {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .tabs-container[b-gk0p9tiosn] {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-item[b-gk0p9tiosn] {
        text-align: center;
        padding: 0.5rem;
    }

    .btn-ask[b-gk0p9tiosn] {
        max-width: 100%;
    }

    .stat-number[b-gk0p9tiosn] {
        font-size: 1.2rem;
    }

    .stat-label[b-gk0p9tiosn] {
        font-size: 0.75rem;
    }
}
/* /Pages/LandinPage/Divice.razor.rz.scp.css */
/* --- PRODUCT HERO SECTION --- */
.product-hero-section[b-n67vq40t4c] {
    position: relative;
    /* Cambia 'fondo-producto.png' por el nombre real de tu imagen de fondo */
    background: url('/productoPage.svg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    /* Ocupa toda la pantalla */
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    justify-content: center;
    padding: 100px 5%;
    color: #fff;
    overflow: hidden;
    /* Evita scroll innecesario */
}

.product-container[b-n67vq40t4c] {
    position: relative;
    z-index: 2;
    /* Para que el contenido quede encima del overlay */
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Separa texto e imagen */
    gap: 50px;
}

/* --- COLUMNA IZQUIERDA (TEXTO) --- */
.product-content[b-n67vq40t4c] {
    flex: 1;
    /* Toma el espacio disponible */
    max-width: 600px;
    margin-left: 70px;
    margin-top: -70px;
}

    .product-content h1[b-n67vq40t4c] {
        font-size: 4rem;
        /* Texto grande */
        font-weight: 550;
        line-height: 1.1;
        margin-bottom: 15px;
        color: #e0e6ed;
        /* Blanco suave */
    }

    .product-content .subtitle[b-n67vq40t4c] {
        font-size: 1.2rem;
        color: #a0aab5;
        margin-bottom: 30px;
        font-weight: 400;
    }

/* Botón Rosa "Acerca de" */
.btn-pink[b-n67vq40t4c] {
    display: inline-block;
    background-color: #e500cd;
    color: #fff;
    padding: 12px 60px;
    border-radius: 8px;
    /* Bordes muy redondos */
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
    transition: background 0.3s;
}

    .btn-pink:hover[b-n67vq40t4c] {
        background-color: #c200ad;
    }

/* Bloques de descarga */
.downloads-block[b-n67vq40t4c] {
    margin-bottom: 30px;
}

.os-label[b-n67vq40t4c] {
    font-size: 1rem;
    color: #a0aab5;
    margin-bottom: 15px;
}

.store-buttons[b-n67vq40t4c] {
    display: flex;
    gap: 15px;
}

/* Estilo para las imágenes dentro de los botones */
.btn-store img[b-n67vq40t4c] {
    width: 20px;
    /* Ajusta este tamaño según  iconos*/
    height: auto;
    /* Mantiene la proporción */
    margin-right: 10px;
    /* Espacio entre la imagen y el texto */
    object-fit: contain;
    /* Asegura que el logo no se estire feo */
    display: inline-block;
    pointer-events: none;
}


/* Botones de las tiendas (Transparentes con borde) */
.btn-store[b-n67vq40t4c] {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    /* Bordes ligeramente redondeados */
    font-size: 1rem;
    cursor: pointer;
    gap: 10px;
    transition: all 0.3s;
    min-width: 175px;
    /* Para que tengan el mismo ancho aprox */
    justify-content: center;
}

    .btn-store:hover[b-n67vq40t4c] {
        background: rgba(255, 255, 255, 0.1);
        border-color: #e500cd;
        /* Detalle rosa al pasar el mouse */
    }

    .btn-store .icon[b-n67vq40t4c] {
        font-size: 1.2rem;
    }

/* --- COLUMNA DERECHA (IMAGEN) --- */
.product-image-wrapper[b-n67vq40t4c] {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Alinea la imagen a la derecha */
}

    .product-image-wrapper img[b-n67vq40t4c] {
        max-width: 190%;
        /* Se adapta al ancho */
        height: auto;
        margin-top: -10px;
        margin-right: -200px;
        position: relative;
        z-index: -1;
    }

.store-buttons.vertical-stack[b-n67vq40t4c] {
    flex-direction: column;
    /* Esto los pone uno bajo el otro */
    align-items: flex-start;
    /* Los alinea a la izquierda */
}

/* --- RESPONSIVE (Móvil) --- */
@media (max-width: 900px) {
    .product-hero-section[b-n67vq40t4c] {
        background-image: none;
        /* Elimina imagen de fondo */
        align-items: flex-start;
        /* Alinea al inicio para manejar mejor el padding */
        padding-top: 0;
    }

    .product-container[b-n67vq40t4c] {
        flex-direction: column;
        text-align: center;
        padding-top: 0;
        gap: 30px;
    }

    .product-content[b-n67vq40t4c] {
        max-width: 100%;
        margin-left: 0;
        /* Resetea margen negativo */
        margin-top: 0;
        /* Resetea margen negativo */
        margin-bottom: 20px;
        padding-top: 15vh;
        /* Baja el texto */
    }

        .product-content h1[b-n67vq40t4c] {
            font-size: 3rem;
        }

    .store-buttons[b-n67vq40t4c] {
        justify-content: center;
    }

    .product-image-wrapper[b-n67vq40t4c] {
        justify-content: center;
        margin-top: 0;
    }

        .product-image-wrapper img[b-n67vq40t4c] {
            max-width: 140%;
            /* Ajusta ancho de imagen */
            margin-top: 0;
            /* Resetea margen negativo */
            transform: translateX(-90px);
        }
}
/* /Pages/Login/ResetPassword.razor.rz.scp.css */
/* --- TUS ESTILOS ORIGINALES (Mantenidos igual) --- */
.login-left[b-7226v9i5hc] {
    background-color: var(--st-surface);
    color: var(--st-text);
}

.input-dark[b-7226v9i5hc] {
    background-color: var(--st-input-bg);
    border: 1px solid var(--st-border);
    color: var(--st-text-strong);
    border-radius: 0.5rem;
    padding: 0.6rem 0.8rem;
    transition: none;
}

    .input-dark[b-7226v9i5hc]::placeholder {
        color: var(--st-text-muted);
    }

    .input-dark:focus[b-7226v9i5hc] {
        background-color: var(--st-input-bg);
        border: 1px solid var(--st-border-strong);
        box-shadow: none;
        outline: none;
    }

.login-right[b-7226v9i5hc] {
    background: url('/map_blur.svg') center/cover no-repeat;
    position: relative;
}

    .login-right[b-7226v9i5hc]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--st-fill-1);
        backdrop-filter: blur(1px);
        z-index: 0;
    }

    .login-right > *[b-7226v9i5hc] {
        position: relative;
        z-index: 1;
    }

.text-pink[b-7226v9i5hc] {
    color: #FE00E4;
}

.btn-pink[b-7226v9i5hc] {
    width: 150px;
    background-color: #fe00e4;
    color: #fff;
    border: none;
    transition: 0.5s;
}

    .btn-pink:hover[b-7226v9i5hc] {
        background-color: #CB00B6;
    }

.btn-white[b-7226v9i5hc] {
    width: 150px;
    background-color: #ffffff;
    transition: 0.5s;
}

    .btn-white:hover[b-7226v9i5hc] {
        background-color: #FE00E4;
        color: #fff;
    }

.social-icons a img[b-7226v9i5hc] {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover img[b-7226v9i5hc] {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(255, 105, 180, 0.2)) brightness(1.2);
}

.env-footer .env-link[b-7226v9i5hc] {
    background: transparent;
    border: none;
    color: #fe00e4;
    text-decoration: underline;
    font-weight: 600;
    padding: 0;
}

.env-footer .env-link:hover[b-7226v9i5hc] {
    color: #CB00B6;
}

.env-chips .badge[b-7226v9i5hc] {
    font-weight: 600;
}

.env-modal-backdrop[b-7226v9i5hc] {
    position: fixed;
    inset: 0;
    background: var(--st-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.env-modal[b-7226v9i5hc] {
    width: min(560px, 90vw);
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.env-option[b-7226v9i5hc] {
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border-subtle);
}

.env-option:last-child[b-7226v9i5hc] {
    border-bottom: none;
}

.env-connection[b-7226v9i5hc] {
    border: 1px dashed var(--st-border-strong);
}

/* ======================================================== */
/* === ZONA DE PROTECCIàN DE ESCRITORIO Y AJUSTE MàVIL === */
/* ======================================================== */


@media (min-width: 992px) {
    .login-left[b-7226v9i5hc] {
        /* Esto restaura el 'rounded-start-3' original pero solo en PC */
        border-top-left-radius: var(--bs-border-radius-lg) !important;
        border-bottom-left-radius: var(--bs-border-radius-lg) !important;
    }

    /* Si tu dise¤o original ten¡a la parte derecha cuadrada, esto lo mantiene as¡ */
    .login-right[b-7226v9i5hc] {
        border-radius: 0 !important;
    }
}

/* 2. REGLAS PARA MàVIL/TABLET (Responsive) */
/* Se activan solo si la pantalla es menor a 991px */
@media (max-width: 991px) {

    /* Parche para permitir scroll en m¢viles muy peque¤os aunque uses vh-100 */
    .h-auto-mobile[b-7226v9i5hc] {
        height: auto !important;
        min-height: 100vh;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .login-container[b-7226v9i5hc] {
        width: 95% !important; /* Casi todo el ancho */
        margin-top: 4rem !important;
    }

    .login-left[b-7226v9i5hc] {
        /* En m¢vil redondeamos arriba */
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        padding: 2rem !important;
    }

    .login-right[b-7226v9i5hc] {
        /* En m¢vil redondeamos abajo */
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        padding: 3rem 1rem !important;
    }
}

/* Clear Text Toggle Button inside Inputs */
.btn-clear-toggle[b-7226v9i5hc] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    z-index: 5;
    transition: color 0.3s, transform 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-toggle:hover[b-7226v9i5hc] {
    color: var(--st-text-strong);
    transform: translateY(-50%) scale(1.1);
}

/* Password Toggle Eye Button */
.btn-password-toggle[b-7226v9i5hc] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--st-text-muted);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 5;
}

.btn-password-toggle:hover[b-7226v9i5hc] {
    color: #FE00E4; /* Rosadito as requested */
}

/* Bootstrap alerts on the login card use the soft status tokens. */
.alert-danger[b-7226v9i5hc] {
    --bs-alert-bg: var(--st-danger-bg);
    --bs-alert-color: var(--st-danger-text);
    --bs-alert-border-color: var(--st-danger-border);
}

.alert-success[b-7226v9i5hc] {
    --bs-alert-bg: var(--st-success-bg);
    --bs-alert-color: var(--st-success-text);
    --bs-alert-border-color: var(--st-success-border);
}

/* Outline button on the login card: follows the theme instead of Bootstrap's white outline. */
.btn-outline-theme[b-7226v9i5hc] {
    --bs-btn-color: var(--st-text);
    --bs-btn-border-color: var(--st-border-stronger);
    --bs-btn-hover-color: var(--st-text-strong);
    --bs-btn-hover-bg: var(--st-fill-3);
    --bs-btn-hover-border-color: var(--st-border-stronger);
    --bs-btn-active-color: var(--st-text-strong);
    --bs-btn-active-bg: var(--st-fill-4);
    --bs-btn-active-border-color: var(--st-border-stronger);
}
/* /Pages/Platform/Automations/Inbox/AutomationsInboxPage.razor.rz.scp.css */
.inb-container[b-op08acfry3] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inb-header[b-op08acfry3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inb-title[b-op08acfry3] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.inb-subtitle[b-op08acfry3] {
    color: var(--st-text-muted);
    font-size: 13px;
}
/* /Pages/Platform/Automations/Studio/PortalTemplateStudioPage.razor.rz.scp.css */
.pts-container[b-6fqqv8uf94] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    box-sizing: border-box;
}

.pts-header[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pts-title[b-6fqqv8uf94] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.pts-subtitle[b-6fqqv8uf94] {
    color: var(--st-text-muted);
    font-size: 13px;
}

/* ─── States and banners ─────────────────────────────────────────────────── */

.pts-state[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.pts-state-warning[b-6fqqv8uf94] {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.pts-state-danger[b-6fqqv8uf94] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.pts-banner[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}

.pts-banner-success[b-6fqqv8uf94] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.pts-banner-warning[b-6fqqv8uf94] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.pts-banner-danger[b-6fqqv8uf94] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.pts-hint[b-6fqqv8uf94] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.pts-muted[b-6fqqv8uf94] {
    color: var(--st-text-muted);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.pts-card[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.pts-card-head[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pts-section-title[b-6fqqv8uf94] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */

.pts-table-wrap[b-6fqqv8uf94] {
    overflow-x: auto;
}

.pts-table[b-6fqqv8uf94] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pts-table th[b-6fqqv8uf94] {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.pts-table td[b-6fqqv8uf94] {
    padding: 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.pts-sr-only[b-6fqqv8uf94] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

code[b-6fqqv8uf94] {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */

.pts-field[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pts-label[b-6fqqv8uf94] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.pts-input[b-6fqqv8uf94],
.pts-select[b-6fqqv8uf94],
.pts-textarea[b-6fqqv8uf94] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
}

.pts-input[b-6fqqv8uf94],
.pts-select[b-6fqqv8uf94] {
    min-height: 36px;
    padding: 0 10px;
}

.pts-textarea[b-6fqqv8uf94] {
    padding: 8px 10px;
    resize: vertical;
}

.pts-input:focus-visible[b-6fqqv8uf94],
.pts-select:focus-visible[b-6fqqv8uf94],
.pts-textarea:focus-visible[b-6fqqv8uf94] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.pts-actions[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pts-btn[b-6fqqv8uf94] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pts-btn:disabled[b-6fqqv8uf94] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pts-btn:focus-visible[b-6fqqv8uf94] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.pts-btn-primary[b-6fqqv8uf94] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.pts-btn-primary:hover:not(:disabled)[b-6fqqv8uf94] {
    background: var(--st-accent-hover);
}

.pts-btn-secondary[b-6fqqv8uf94] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.pts-btn-secondary:hover:not(:disabled)[b-6fqqv8uf94] {
    background: var(--st-fill-4);
}

.pts-btn-danger[b-6fqqv8uf94] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .pts-container[b-6fqqv8uf94] {
        padding: 12px;
    }

    .pts-title[b-6fqqv8uf94] {
        font-size: 20px;
    }

    .pts-actions .pts-btn[b-6fqqv8uf94] {
        flex: 1 1 auto;
    }
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.pts-back[b-6fqqv8uf94] {
    padding: 0;
    margin-bottom: 4px;
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.pts-back[b-6fqqv8uf94]::before {
    content: "‹ ";
}

.pts-back:hover[b-6fqqv8uf94] {
    color: var(--st-text-body);
}

.pts-back:focus-visible[b-6fqqv8uf94] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.pts-subtitle code[b-6fqqv8uf94] {
    color: var(--st-text-body);
}

/* ─── Tabs ───────────────────────────────────────────────────────────────── */

.pts-tabs[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pts-tab[b-6fqqv8uf94] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pts-tab:hover[b-6fqqv8uf94] {
    color: var(--st-text-body);
    border-color: var(--st-border-strong);
}

.pts-tab.active[b-6fqqv8uf94] {
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
    color: var(--st-gold-text);
}

.pts-tab:focus-visible[b-6fqqv8uf94] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* ─── Editor ─────────────────────────────────────────────────────────────── */

.pts-form-grid[b-6fqqv8uf94] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.pts-editor-head[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pts-editor[b-6fqqv8uf94] {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    tab-size: 2;
    white-space: pre;
    overflow: auto;
}

.pts-input[readonly][b-6fqqv8uf94] {
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
}

.pts-errors[b-6fqqv8uf94] {
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    font-size: 13px;
}

.pts-errors ul[b-6fqqv8uf94] {
    margin: 6px 0 0;
    padding-left: 18px;
    max-height: 220px;
    overflow: auto;
}

.pts-errors li + li[b-6fqqv8uf94] {
    margin-top: 2px;
}

.pts-errors code[b-6fqqv8uf94] {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.pts-hint-right[b-6fqqv8uf94] {
    text-align: right;
}

.pts-warning-text[b-6fqqv8uf94] {
    margin: 0;
    font-size: 12px;
    color: var(--st-warning-text);
}

/* ─── Generation pages ───────────────────────────────────────────────────── */

.pts-pages[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pts-page[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-surface-sunken);
}

.pts-page-title[b-6fqqv8uf94] {
    font-size: 13px;
    color: var(--st-text-strong);
}

/* ─── Live recording (inside the company automations) ───────────────────── */

.pts-live[b-6fqqv8uf94] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--st-accent-border);
    background: var(--st-accent-bg);
}

.pts-live-text[b-6fqqv8uf94] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 760px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-text-subtle);
}

.pts-live-text strong[b-6fqqv8uf94] {
    font-size: 15px;
    color: var(--st-text-strong);
}
/* /Pages/Platform/PlatformConfigPage.razor.rz.scp.css */
/* Estructura Modal / Popup nativa de SysTime */
.modal-overlay[b-xf1vh2rk08] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    background: var(--st-backdrop);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInOverlay-b-xf1vh2rk08 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.modal-content.center-modal.platform-config-modal[b-xf1vh2rk08] {
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 24px;
    padding: 0;
    width: 94vw;
    max-width: 1280px;
    height: 88vh;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: slideUpModal-b-xf1vh2rk08 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.modal-header[b-xf1vh2rk08] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 1px solid var(--st-border-subtle);
    background: var(--st-surface-muted);
    flex-shrink: 0;
}

.modal-header-title-wrap[b-xf1vh2rk08] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-icon[b-xf1vh2rk08] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(229, 0, 205, 0.15);
    border: 1px solid rgba(229, 0, 205, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff00e5;
    flex-shrink: 0;
}

.modal-header h3[b-xf1vh2rk08] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.modal-header-actions[b-xf1vh2rk08] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.close-modal-btn[b-xf1vh2rk08] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal-btn:hover[b-xf1vh2rk08] {
    color: var(--st-danger-fg);
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    transform: scale(1.05);
}

.modal-body-container[b-xf1vh2rk08] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.pcp-state[b-xf1vh2rk08] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--st-text-muted);
    font-size: 14px;
}

.btn-primary[b-xf1vh2rk08] {
    padding: 9px 22px;
    border: none;
    border-radius: 9999px;
    background: #e500cd;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover[b-xf1vh2rk08] {
    background: #ff00e5;
    transform: translateY(-1px);
}

@keyframes fadeInOverlay-b-xf1vh2rk08 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal-b-xf1vh2rk08 {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* /Pages/Platform/Valuation/AuthorizationsDashboardPage.razor.rz.scp.css */
.auth-container[b-tfs12dh187] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-header[b-tfs12dh187] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-title[b-tfs12dh187] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.auth-subtitle[b-tfs12dh187] {
    color: var(--st-text-muted);
    font-size: 13px;
}
/* /Pages/Platform/Valuation/BotUploadPage.razor.rz.scp.css */
.bu-container[b-113s9eoo6m] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.bu-header[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bu-stepper[b-113s9eoo6m] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.bu-step[b-113s9eoo6m] {
    padding: 4px 10px;
    border-radius: 9999px;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-subtle);
    background: transparent;
    font-size: 13px;
}

.bu-step-link[b-113s9eoo6m] {
    cursor: pointer;
}

.bu-step-link:hover[b-113s9eoo6m] {
    color: var(--st-text-body);
    border-color: var(--st-border-strong);
}

.bu-step-active[b-113s9eoo6m] {
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
    color: var(--st-gold-text);
    font-weight: 600;
}

.bu-step-later[b-113s9eoo6m] {
    opacity: 0.7;
    cursor: help;
}

.bu-step-sep[b-113s9eoo6m] {
    color: var(--st-text-faint);
}

.bu-title[b-113s9eoo6m] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* ─── States and banners ─────────────────────────────────────────────────── */

.bu-state[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.bu-state-warning[b-113s9eoo6m] {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.bu-state-danger[b-113s9eoo6m] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.bu-banner[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}

.bu-banner strong[b-113s9eoo6m] {
    flex-basis: 100%;
}

.bu-banner-success[b-113s9eoo6m] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.bu-filed[b-113s9eoo6m] {
    flex-direction: column;
    align-items: flex-start;
}

.bu-filed-number[b-113s9eoo6m] {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.bu-banner-info[b-113s9eoo6m] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.bu-banner-warning[b-113s9eoo6m] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.bu-banner-danger[b-113s9eoo6m] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.bu-hint[b-113s9eoo6m] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.bu-error[b-113s9eoo6m] {
    margin: 0;
    font-size: 13px;
    color: var(--st-danger-text);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.bu-card[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.bu-card-head[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bu-section-title[b-113s9eoo6m] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.bu-summary[b-113s9eoo6m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}

.bu-summary dt[b-113s9eoo6m] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.bu-summary dd[b-113s9eoo6m] {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.bu-field[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 420px;
}

.bu-label[b-113s9eoo6m] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.bu-select[b-113s9eoo6m] {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
}

.bu-select:focus-visible[b-113s9eoo6m] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

.bu-mode[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.bu-mode-text[b-113s9eoo6m] {
    margin: 0;
    flex: 1 1 260px;
    font-size: 13px;
    color: var(--st-text-body);
}

/* ─── Step-by-step toggle ────────────────────────────────────────────────── */

.bu-toggle[b-113s9eoo6m] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-surface-sunken);
    cursor: pointer;
}

.bu-toggle-input[b-113s9eoo6m] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.bu-toggle-track[b-113s9eoo6m] {
    flex: none;
    position: relative;
    width: 36px;
    height: 20px;
    margin-top: 2px;
    border-radius: 9999px;
    background: var(--st-fill-4);
    border: 1px solid var(--st-border-strong);
    transition: background-color 0.2s ease;
}

.bu-toggle-thumb[b-113s9eoo6m] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: var(--st-text-subtle);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bu-toggle-input:checked + .bu-toggle-track[b-113s9eoo6m] {
    background: var(--st-accent);
    border-color: var(--st-accent);
}

.bu-toggle-input:checked + .bu-toggle-track .bu-toggle-thumb[b-113s9eoo6m] {
    transform: translateX(16px);
    background: var(--st-on-accent);
}

.bu-toggle-input:focus-visible + .bu-toggle-track[b-113s9eoo6m] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.bu-toggle-input:disabled + .bu-toggle-track[b-113s9eoo6m] {
    opacity: 0.55;
}

.bu-toggle-text[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--st-text-body);
}

.bu-toggle-text strong[b-113s9eoo6m] {
    color: var(--st-text-strong);
}

.bu-toggle-text span[b-113s9eoo6m] {
    font-size: 12px;
    color: var(--st-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .bu-toggle-track[b-113s9eoo6m],
    .bu-toggle-thumb[b-113s9eoo6m] {
        transition: none;
    }
}

/* ─── Pills ──────────────────────────────────────────────────────────────── */

.bu-pill[b-113s9eoo6m] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.bu-pill-info[b-113s9eoo6m] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.bu-pill-gold[b-113s9eoo6m] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.bu-pill-success[b-113s9eoo6m] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.bu-pill-danger[b-113s9eoo6m] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.bu-pill-neutral[b-113s9eoo6m] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-subtle);
    color: var(--st-text-subtle);
}

/* ─── Run bar and progress ───────────────────────────────────────────────── */

.bu-runbar[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--st-surface);
}

.bu-runbar-main[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bu-runbar-portal[b-113s9eoo6m] {
    font-size: 15px;
    color: var(--st-text-strong);
}

.bu-runbar-meta[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.bu-progress-head[b-113s9eoo6m] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bu-progress-text[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--st-text-body);
}

.bu-progress-text strong[b-113s9eoo6m] {
    color: var(--st-text-strong);
}

.bu-progress-text span[b-113s9eoo6m] {
    color: var(--st-text-muted);
}

.bu-spinner[b-113s9eoo6m] {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    border: 3px solid var(--st-info-border);
    border-top-color: var(--st-info-fg);
    animation: bu-spin-b-113s9eoo6m 0.9s linear infinite;
}

@keyframes bu-spin-b-113s9eoo6m {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bu-spinner[b-113s9eoo6m] {
        animation: none;
    }
}

.bu-bar[b-113s9eoo6m] {
    height: 8px;
    border-radius: 9999px;
    background: var(--st-surface-muted);
    overflow: hidden;
}

.bu-bar-fill[b-113s9eoo6m] {
    height: 100%;
    border-radius: 9999px;
    background: var(--st-brand-gold);
    transition: width 0.3s ease;
}

.bu-cancel[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.bu-cancel-question[b-113s9eoo6m] {
    flex: 1 1 260px;
    font-size: 13px;
    color: var(--st-warning-text);
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.bu-grid[b-113s9eoo6m] {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1100px) {
    .bu-grid[b-113s9eoo6m] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.bu-actions[b-113s9eoo6m] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.bu-btn[b-113s9eoo6m] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bu-btn:disabled[b-113s9eoo6m] {
    opacity: 0.55;
    cursor: not-allowed;
}

.bu-btn:focus-visible[b-113s9eoo6m],
.bu-step-link:focus-visible[b-113s9eoo6m] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* In the live view header, next to the «Pantalla completa» pill. */
.bu-live-action[b-113s9eoo6m] {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
}

.bu-btn-primary[b-113s9eoo6m] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.bu-btn-primary:hover:not(:disabled)[b-113s9eoo6m] {
    background: var(--st-accent-hover);
}

.bu-btn-secondary[b-113s9eoo6m] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.bu-btn-secondary:hover:not(:disabled)[b-113s9eoo6m] {
    background: var(--st-fill-4);
}

.bu-btn-danger[b-113s9eoo6m] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .bu-container[b-113s9eoo6m] {
        padding: 12px;
    }

    .bu-title[b-113s9eoo6m] {
        font-size: 20px;
    }

    .bu-actions[b-113s9eoo6m],
    .bu-cancel[b-113s9eoo6m] {
        justify-content: stretch;
    }

    .bu-actions .bu-btn[b-113s9eoo6m],
    .bu-cancel .bu-btn[b-113s9eoo6m] {
        flex: 1 1 auto;
    }
}

.bu-remote[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 2px solid var(--st-brand-gold);
    background: var(--st-gold-bg);
    font-size: 14px;
    color: var(--st-text-strong);
}

.bu-hint-warning[b-113s9eoo6m] {
    font-weight: 600;
    color: var(--st-warning-text);
}

.bu-remote-hint[b-113s9eoo6m] {
    font-size: 13px;
    color: var(--st-text-muted);
}

.bu-recording[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--st-text-strong);
}

.bu-recording-error[b-113s9eoo6m] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.bu-recording-problems[b-113s9eoo6m] {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
}

/* ─── Missing sign-in: the fix instead of an error ───────────────────────── */

.bu-login-needed[b-113s9eoo6m] {
    align-items: center;
    gap: 12px 20px;
    padding: 14px 16px;
}

.bu-login-text[b-113s9eoo6m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 420px;
    line-height: 1.5;
}

/* ─── Review at the end of a load (human supervision) ────────────────────── */

.bu-review[b-113s9eoo6m] {
    border-color: var(--st-success-border);
}

.bu-review-error[b-113s9eoo6m] {
    border-color: var(--st-danger-border);
}

.bu-signin[b-113s9eoo6m] {
    border-color: var(--st-gold-border);
}
/* /Pages/Platform/Valuation/Components/ConfidenceChip.razor.rz.scp.css */
.vcc-chip[b-c02lsiodrz] {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    min-height: 20px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: help;
}

.vcc-high[b-c02lsiodrz] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.vcc-medium[b-c02lsiodrz] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.vcc-low[b-c02lsiodrz] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.vcc-resolved[b-c02lsiodrz] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}
/* /Pages/Platform/Valuation/Components/PhaseLaterNotice.razor.rz.scp.css */
.pln-notice[b-v1msk19xub] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--st-surface);
    color: var(--st-text-body);
    border: 1px dashed var(--st-border-strong);
    border-radius: 8px;
    padding: 24px;
    max-width: 880px;
}

.pln-icon[b-v1msk19xub] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.pln-body[b-v1msk19xub] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pln-tag[b-v1msk19xub] {
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    color: var(--st-gold-text);
}

.pln-title[b-v1msk19xub] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.pln-summary[b-v1msk19xub],
.pln-footnote[b-v1msk19xub] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.pln-footnote[b-v1msk19xub] {
    color: var(--st-text-muted);
    font-size: 13px;
}

.pln-details[b-v1msk19xub]  ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.pln-action[b-v1msk19xub] {
    align-self: flex-start;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--st-accent-border);
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pln-action:hover[b-v1msk19xub] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.pln-action:focus-visible[b-v1msk19xub] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}
/* /Pages/Platform/Valuation/Components/PortalHumanInputCard.razor.rz.scp.css */
.phi-card[b-45x6w73mgk] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--st-brand-gold);
    background: var(--st-gold-bg);
    color: var(--st-text-body);
}

.phi-head[b-45x6w73mgk] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phi-icon[b-45x6w73mgk] {
    display: inline-flex;
    color: var(--st-brand-gold);
}

.phi-head-text[b-45x6w73mgk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phi-title[b-45x6w73mgk] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.phi-elapsed[b-45x6w73mgk] {
    font-family: 'Segoe UI Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--st-gold-text);
}

.phi-prompt[b-45x6w73mgk] {
    margin: 0;
    font-size: 14px;
    color: var(--st-text-strong);
}

.phi-image[b-45x6w73mgk] {
    padding: 8px;
    border-radius: 8px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    align-self: flex-start;
    max-width: 100%;
}

.phi-image img[b-45x6w73mgk] {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.phi-form[b-45x6w73mgk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phi-label[b-45x6w73mgk] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.phi-row[b-45x6w73mgk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.phi-input[b-45x6w73mgk] {
    flex: 1 1 200px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 16px;
    letter-spacing: 0.04em;
}

.phi-input:focus-visible[b-45x6w73mgk],
.phi-btn:focus-visible[b-45x6w73mgk] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

.phi-btn[b-45x6w73mgk] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--st-accent);
    color: var(--st-on-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.phi-btn:hover:not(:disabled)[b-45x6w73mgk] {
    background: var(--st-accent-hover);
}

.phi-btn:disabled[b-45x6w73mgk] {
    opacity: 0.55;
    cursor: not-allowed;
}

.phi-note[b-45x6w73mgk],
.phi-sent[b-45x6w73mgk] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.phi-sent[b-45x6w73mgk] {
    color: var(--st-success-text);
}

.phi-error[b-45x6w73mgk] {
    margin: 0;
    font-size: 13px;
    color: var(--st-danger-text);
}
/* /Pages/Platform/Valuation/Components/PortalLiveView.razor.rz.scp.css */
.plv-card[b-njkmz4qnpq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.plv-head[b-njkmz4qnpq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.plv-title[b-njkmz4qnpq] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.plv-live[b-njkmz4qnpq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.plv-live-stale[b-njkmz4qnpq] {
    background: var(--st-fill-2);
    color: var(--st-text-muted);
}

.plv-dot[b-njkmz4qnpq] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: plv-pulse-b-njkmz4qnpq 1.2s ease-in-out infinite;
}

.plv-live-stale .plv-dot[b-njkmz4qnpq] {
    animation: none;
}

@keyframes plv-pulse-b-njkmz4qnpq {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
    .plv-dot[b-njkmz4qnpq] {
        animation: none;
    }
}

.plv-frame[b-njkmz4qnpq] {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    overflow: hidden;
}

.plv-frame img[b-njkmz4qnpq] {
    display: block;
    width: 100%;
    height: auto;
}

.plv-caption[b-njkmz4qnpq] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.plv-frame-interactive[b-njkmz4qnpq] {
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.plv-frame-interactive:focus[b-njkmz4qnpq],
.plv-frame-interactive:focus-visible[b-njkmz4qnpq] {
    outline-color: var(--st-accent);
}

.plv-error[b-njkmz4qnpq] {
    font-size: 12px;
    color: var(--st-danger-text);
}

.plv-frame img[hidden][b-njkmz4qnpq] {
    display: none;
}

.plv-placeholder[b-njkmz4qnpq] {
    margin: 0;
    padding: 48px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--st-text-muted);
}

.plv-placeholder[hidden][b-njkmz4qnpq] {
    display: none;
}

.plv-latency[data-level="good"][b-njkmz4qnpq] {
    color: var(--st-success-text);
}

.plv-latency[data-level="fair"][b-njkmz4qnpq] {
    color: var(--st-warning-text);
}

.plv-latency[data-level="slow"][b-njkmz4qnpq] {
    color: var(--st-danger-text);
}

.plv-head-actions[b-njkmz4qnpq] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.plv-fullscreen[b-njkmz4qnpq] {
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.plv-fullscreen:hover[b-njkmz4qnpq] {
    background: var(--st-fill-4);
}

.plv-fullscreen:focus-visible[b-njkmz4qnpq] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.plv-fullscreen[hidden][b-njkmz4qnpq] {
    display: none;
}

/* Full screen: the frame at its own size (no upscaling past it), centered; the image box is the drawn
   picture, so click coordinates stay exact. */
.plv-frame:fullscreen[b-njkmz4qnpq] {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: #000;
}

.plv-frame:fullscreen img[b-njkmz4qnpq] {
    /* The runner viewport is 1366 x 900: up to its real size, fitted to the screen, one size for every frame. */
    width: min(100vw, calc(100vh * 1366 / 900), 1366px);
    height: auto;
}
/* /Pages/Platform/Valuation/Components/PortalReadbackResult.razor.rz.scp.css */
.prr-card[b-vs6pad6rte] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.prr-head[b-vs6pad6rte] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prr-icon[b-vs6pad6rte] {
    display: inline-flex;
    color: var(--st-success-fg);
}

.prr-title[b-vs6pad6rte] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.prr-sub[b-vs6pad6rte] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.prr-match[b-vs6pad6rte],
.prr-mismatch[b-vs6pad6rte],
.prr-next[b-vs6pad6rte] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px;
}

.prr-match[b-vs6pad6rte] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.prr-mismatch[b-vs6pad6rte] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.prr-next[b-vs6pad6rte] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.prr-table-wrap[b-vs6pad6rte] {
    overflow-x: auto;
}

.prr-table[b-vs6pad6rte] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.prr-table th[b-vs6pad6rte],
.prr-table td[b-vs6pad6rte] {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--st-border-subtle);
    overflow-wrap: anywhere;
}

.prr-table thead th[b-vs6pad6rte] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-muted);
}

.prr-table tbody th[b-vs6pad6rte] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.prr-table td[b-vs6pad6rte] {
    color: var(--st-text-body);
}

.prr-actual[b-vs6pad6rte] {
    color: var(--st-danger-text);
    font-weight: 600;
}

.prr-sr[b-vs6pad6rte] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
/* /Pages/Platform/Valuation/Components/PortalRunChecklist.razor.rz.scp.css */
.prc-card[b-4arxj4ilzw] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.prc-head[b-4arxj4ilzw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.prc-title[b-4arxj4ilzw] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.prc-count[b-4arxj4ilzw] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.prc-empty[b-4arxj4ilzw] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.prc-list[b-4arxj4ilzw] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 420px;
    overflow-y: auto;
}

.prc-item[b-4arxj4ilzw] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 8px;
}

.prc-mark[b-4arxj4ilzw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--st-fill-2);
    color: var(--st-text-muted);
}

.prc-done .prc-mark[b-4arxj4ilzw] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.prc-current[b-4arxj4ilzw] {
    border-color: var(--st-accent);
}

.prc-current .prc-mark[b-4arxj4ilzw] {
    background: var(--st-accent-bg);
    color: var(--st-accent);
}

.prc-warn[b-4arxj4ilzw] {
    border-color: var(--st-gold-border);
}

.prc-warn .prc-mark[b-4arxj4ilzw] {
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.prc-error[b-4arxj4ilzw] {
    border-color: var(--st-danger-border, var(--st-border));
}

.prc-error .prc-mark[b-4arxj4ilzw] {
    background: var(--st-danger-bg, var(--st-fill-2));
    color: var(--st-danger-text, var(--st-text-strong));
}

.prc-text[b-4arxj4ilzw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.prc-item-title[b-4arxj4ilzw] {
    font-size: 13px;
    color: var(--st-text-strong);
}

.prc-item-detail[b-4arxj4ilzw] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.prc-spinner[b-4arxj4ilzw] {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: prc-spin-b-4arxj4ilzw 1s linear infinite;
}

@keyframes prc-spin-b-4arxj4ilzw {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .prc-spinner[b-4arxj4ilzw] { animation: none; }
}

.prc-link[b-4arxj4ilzw] {
    border: none;
    background: none;
    padding: 0;
    color: var(--st-accent);
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.prc-log summary[b-4arxj4ilzw] {
    cursor: pointer;
    font-size: 12px;
    color: var(--st-text-muted);
}

.prc-log[open] summary[b-4arxj4ilzw] {
    margin-bottom: 8px;
}
/* /Pages/Platform/Valuation/Components/PortalRunEventLog.razor.rz.scp.css */
.prl-card[b-brb1q5npcp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.prl-title[b-brb1q5npcp] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.prl-empty[b-brb1q5npcp] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.prl-list[b-brb1q5npcp] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 360px;
    overflow-y: auto;
}

.prl-item[b-brb1q5npcp] {
    display: grid;
    grid-template-columns: 16px auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--st-text-body);
}

.prl-item:first-child[b-brb1q5npcp] {
    background: var(--st-surface-muted);
}

.prl-icon[b-brb1q5npcp] {
    display: inline-flex;
    margin-top: 2px;
    color: var(--st-info-fg);
}

.prl-step .prl-icon[b-brb1q5npcp] {
    color: var(--st-text-brand);
}

.prl-warning .prl-icon[b-brb1q5npcp] {
    color: var(--st-warning-fg);
}

.prl-error .prl-icon[b-brb1q5npcp] {
    color: var(--st-danger-fg);
}

.prl-error .prl-message[b-brb1q5npcp] {
    color: var(--st-danger-text);
}

.prl-screenshot .prl-icon[b-brb1q5npcp] {
    color: var(--st-text-subtle);
}

.prl-human .prl-icon[b-brb1q5npcp] {
    color: var(--st-brand-gold);
}

.prl-time[b-brb1q5npcp] {
    font-family: 'Segoe UI Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--st-text-muted);
    white-space: nowrap;
}

.prl-message[b-brb1q5npcp] {
    overflow-wrap: anywhere;
}

.prl-link[b-brb1q5npcp] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.prl-link:focus-visible[b-brb1q5npcp] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.sr-only[b-brb1q5npcp] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .prl-item[b-brb1q5npcp] {
        grid-template-columns: 16px minmax(0, 1fr);
    }

    .prl-time[b-brb1q5npcp] {
        grid-column: 2;
    }

    .prl-message[b-brb1q5npcp],
    .prl-link[b-brb1q5npcp] {
        grid-column: 2;
    }
}
/* /Pages/Platform/Valuation/Components/PortalRunScreenshots.razor.rz.scp.css */
.prs-card[b-5z2xcj093v] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.prs-title[b-5z2xcj093v] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.prs-empty[b-5z2xcj093v] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.prs-main[b-5z2xcj093v] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    overflow: hidden;
    cursor: zoom-in;
    text-align: left;
}

.prs-main img[b-5z2xcj093v] {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: var(--st-surface-sunken);
}

.prs-caption[b-5z2xcj093v] {
    padding: 0 10px 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.prs-thumbs[b-5z2xcj093v] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.prs-thumb[b-5z2xcj093v] {
    display: block;
    width: 96px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--st-surface-sunken);
    cursor: zoom-in;
}

.prs-thumb:hover[b-5z2xcj093v] {
    border-color: var(--st-brand-gold);
}

.prs-thumb img[b-5z2xcj093v] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prs-main:focus-visible[b-5z2xcj093v],
.prs-thumb:focus-visible[b-5z2xcj093v],
.prs-close:focus-visible[b-5z2xcj093v] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.prs-lightbox[b-5z2xcj093v] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--st-backdrop-tint);
}

.prs-lightbox-figure[b-5z2xcj093v] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-md);
}

.prs-lightbox-figure img[b-5z2xcj093v] {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
}

.prs-lightbox-figure figcaption[b-5z2xcj093v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.prs-close[b-5z2xcj093v] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
/* /Pages/Platform/Valuation/Components/PortalSectionConfirmCard.razor.rz.scp.css */
.psc-card[b-2g8c2hwy7p] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--st-brand-gold);
    background: var(--st-gold-bg);
    color: var(--st-text-body);
    min-width: 0;
}

.psc-head[b-2g8c2hwy7p] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.psc-icon[b-2g8c2hwy7p] {
    display: inline-flex;
    color: var(--st-brand-gold);
}

.psc-head-text[b-2g8c2hwy7p] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.psc-title[b-2g8c2hwy7p] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.psc-progress[b-2g8c2hwy7p] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-gold-text);
}

.psc-lead[b-2g8c2hwy7p] {
    margin: 0;
    font-size: 14px;
    color: var(--st-text-strong);
}

.psc-body[b-2g8c2hwy7p] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.psc-body > :only-child[b-2g8c2hwy7p] {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .psc-body[b-2g8c2hwy7p] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.psc-table-wrap[b-2g8c2hwy7p] {
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    overflow: auto;
    max-height: 420px;
}

.psc-table[b-2g8c2hwy7p] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.psc-table th[b-2g8c2hwy7p] {
    position: sticky;
    top: 0;
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border-bottom: 1px solid var(--st-border);
}

.psc-table td[b-2g8c2hwy7p] {
    padding: 8px 12px;
    vertical-align: top;
    border-bottom: 1px solid var(--st-border-subtle);
}

.psc-table tbody tr:last-child td[b-2g8c2hwy7p] {
    border-bottom: none;
}

.psc-label[b-2g8c2hwy7p] {
    width: 40%;
    color: var(--st-text-subtle);
    overflow-wrap: anywhere;
}

.psc-value[b-2g8c2hwy7p] {
    color: var(--st-text-strong);
    font-weight: 600;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.psc-blank[b-2g8c2hwy7p] {
    font-weight: 400;
    font-style: italic;
    color: var(--st-text-faint);
}

.psc-empty[b-2g8c2hwy7p] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psc-shot[b-2g8c2hwy7p] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    cursor: zoom-in;
    text-align: left;
    color: inherit;
}

.psc-shot img[b-2g8c2hwy7p] {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.psc-shot-caption[b-2g8c2hwy7p] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.psc-actions[b-2g8c2hwy7p] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.psc-stop[b-2g8c2hwy7p] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.psc-stop-question[b-2g8c2hwy7p] {
    flex: 1 1 260px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-warning-text);
}

.psc-btn[b-2g8c2hwy7p] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.psc-btn:disabled[b-2g8c2hwy7p] {
    opacity: 0.55;
    cursor: not-allowed;
}

.psc-btn:focus-visible[b-2g8c2hwy7p],
.psc-shot:focus-visible[b-2g8c2hwy7p] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.psc-btn-primary[b-2g8c2hwy7p] {
    min-width: 140px;
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.psc-btn-primary:hover:not(:disabled)[b-2g8c2hwy7p] {
    background: var(--st-accent-hover);
}

.psc-btn-secondary[b-2g8c2hwy7p] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.psc-btn-secondary:hover:not(:disabled)[b-2g8c2hwy7p] {
    background: var(--st-fill-4);
}

.psc-btn-danger[b-2g8c2hwy7p] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.psc-note[b-2g8c2hwy7p] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psc-error[b-2g8c2hwy7p] {
    margin: 0;
    font-size: 13px;
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .psc-actions[b-2g8c2hwy7p],
    .psc-stop[b-2g8c2hwy7p] {
        justify-content: stretch;
    }

    .psc-actions .psc-btn[b-2g8c2hwy7p],
    .psc-stop .psc-btn[b-2g8c2hwy7p] {
        flex: 1 1 auto;
    }
}
/* /Pages/Platform/Valuation/Components/PortalSectionStepper.razor.rz.scp.css */
.pss-card[b-sdo4yaslow] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--st-surface);
}

.pss-title[b-sdo4yaslow] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.pss-list[b-sdo4yaslow] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pss-item[b-sdo4yaslow] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 10px 4px 4px;
    border-radius: 9999px;
    border: 1px solid var(--st-border-subtle);
    font-size: 12px;
    color: var(--st-text-body);
}

.pss-item-done[b-sdo4yaslow] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.pss-item-current[b-sdo4yaslow] {
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
    color: var(--st-gold-text);
    font-weight: 600;
}

.pss-mark[b-sdo4yaslow] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background: var(--st-surface);
    font-size: 11px;
    font-weight: 700;
}

.pss-text[b-sdo4yaslow] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pss-sr[b-sdo4yaslow] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* /Pages/Platform/Valuation/Components/PortalSimulatedInsurerPage.razor.rz.scp.css */
/* The simulated insurer page: framed like a browser so it reads as «the insurer's site», always marked as a simulation. */
.psi-page[b-sir85pwcea] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px 16px;
    border-radius: 8px;
    border: 2px dashed var(--st-info-border);
    background: var(--st-surface);
    min-width: 0;
    overflow: hidden;
}

.psi-chrome[b-sir85pwcea] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 -16px;
    padding: 8px 12px;
    background: var(--st-surface-sunken);
    border-bottom: 1px solid var(--st-border);
}

.psi-dot[b-sir85pwcea] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-border-strong);
}

.psi-address[b-sir85pwcea] {
    margin-left: 8px;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--st-text-muted);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.psi-header[b-sir85pwcea] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.psi-mark[b-sir85pwcea] {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--st-info-bg-strong);
    color: var(--st-info-text);
}

.psi-title[b-sir85pwcea] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.psi-sub[b-sir85pwcea] {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psi-case[b-sir85pwcea] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin: 0;
}

.psi-case > div[b-sir85pwcea] {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    min-width: 0;
}

.psi-case dt[b-sir85pwcea] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.psi-case dd[b-sir85pwcea] {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.psi-decision[b-sir85pwcea] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
}

.psi-decision legend[b-sir85pwcea] {
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.psi-choice[b-sir85pwcea] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 220px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    cursor: pointer;
}

.psi-choice.is-on[b-sir85pwcea] {
    border-color: var(--st-accent);
    box-shadow: inset 0 0 0 1px var(--st-accent);
}

.psi-choice input[b-sir85pwcea] {
    accent-color: var(--st-accent);
}

.psi-choice span[b-sir85pwcea] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--st-text-strong);
}

.psi-choice small[b-sir85pwcea] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.psi-table-wrap[b-sir85pwcea] {
    border-radius: 8px;
    border: 1px solid var(--st-border);
    overflow: auto;
}

.psi-table[b-sir85pwcea] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.psi-table th[b-sir85pwcea] {
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border-bottom: 1px solid var(--st-border);
}

.psi-table td[b-sir85pwcea] {
    padding: 8px 12px;
    color: var(--st-text-strong);
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: middle;
}

.psi-table tfoot td[b-sir85pwcea] {
    border-bottom: none;
    background: var(--st-surface-sunken);
}

.psi-num[b-sir85pwcea] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.psi-table th.psi-num[b-sir85pwcea] {
    text-align: right;
}

.psi-empty[b-sir85pwcea] {
    color: var(--st-text-muted);
}

.psi-input[b-sir85pwcea] {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 13px;
    max-width: 100%;
}

.psi-input:focus-visible[b-sir85pwcea] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

.psi-input.is-missing[b-sir85pwcea] {
    border-color: var(--st-danger-border);
}

.psi-hours[b-sir85pwcea] {
    width: 96px;
    text-align: right;
}

.psi-field[b-sir85pwcea] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 320px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
}

.psi-field small[b-sir85pwcea] {
    font-weight: 400;
    color: var(--st-text-muted);
}

.psi-reject[b-sir85pwcea] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.psi-note[b-sir85pwcea] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psi-warn[b-sir85pwcea],
.psi-field small.psi-warn[b-sir85pwcea] {
    color: var(--st-warning-text);
}

.psi-error[b-sir85pwcea] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    font-size: 13px;
}

.psi-outcome[b-sir85pwcea] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.psi-outcome-ok[b-sir85pwcea] {
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.psi-outcome-info[b-sir85pwcea] {
    border: 1px solid var(--st-info-border);
    background: var(--st-info-bg);
    color: var(--st-info-text);
}

.psi-outcome-error[b-sir85pwcea] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.psi-actions[b-sir85pwcea] {
    display: flex;
    justify-content: flex-end;
}

.psi-btn[b-sir85pwcea] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.psi-btn:disabled[b-sir85pwcea] {
    opacity: 0.5;
    cursor: not-allowed;
}

.psi-btn-primary[b-sir85pwcea] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.psi-btn-primary:hover:not(:disabled)[b-sir85pwcea] {
    background: var(--st-accent-hover);
}

.psi-btn-secondary[b-sir85pwcea] {
    min-height: 32px;
    padding: 0 12px;
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.psi-icon-btn[b-sir85pwcea] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--st-text-muted);
    cursor: pointer;
}

.psi-icon-btn:hover:not(:disabled)[b-sir85pwcea] {
    border-color: var(--st-border-strong);
    color: var(--st-danger-text);
}

.psi-sr[b-sir85pwcea] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .psi-actions .psi-btn-primary[b-sir85pwcea] {
        width: 100%;
    }
}
/* /Pages/Platform/Valuation/Components/PortalSimulatedResponseCard.razor.rz.scp.css */
.psr-card[b-had1ohs3td] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px dashed var(--st-info-border);
    background: var(--st-info-bg);
    min-width: 0;
}

.psr-head[b-had1ohs3td] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.psr-mark[b-had1ohs3td] {
    flex: none;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--st-info-bg-strong);
    color: var(--st-info-text);
}

.psr-title[b-had1ohs3td] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.psr-sub[b-had1ohs3td] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.psr-note[b-had1ohs3td] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psr-answer[b-had1ohs3td] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.psr-answer-authorized[b-had1ohs3td] {
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.psr-answer-rejected[b-had1ohs3td] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-surface);
    color: var(--st-danger-text);
}

.psr-table-wrap[b-had1ohs3td] {
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    overflow: auto;
}

.psr-table[b-had1ohs3td] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.psr-table th[b-had1ohs3td] {
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border-bottom: 1px solid var(--st-border);
}

.psr-table td[b-had1ohs3td] {
    padding: 8px 12px;
    color: var(--st-text-strong);
    border-bottom: 1px solid var(--st-border-subtle);
}

.psr-table tbody tr:last-child td[b-had1ohs3td] {
    border-bottom: none;
}

.psr-table .psr-num[b-had1ohs3td] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.psr-sr[b-had1ohs3td] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* /Pages/Platform/Valuation/Components/PortalSubmitApprovalCard.razor.rz.scp.css */
.psa-card[b-j882y1twmg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--st-brand-gold);
    background: var(--st-gold-bg);
    color: var(--st-text-body);
    min-width: 0;
}

.psa-head[b-j882y1twmg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.psa-icon[b-j882y1twmg] {
    display: inline-flex;
    color: var(--st-brand-gold);
}

.psa-head-text[b-j882y1twmg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.psa-title[b-j882y1twmg] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.psa-progress[b-j882y1twmg] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-gold-text);
}

.psa-lead[b-j882y1twmg] {
    margin: 0;
    font-size: 14px;
    color: var(--st-text-strong);
}

.psa-body[b-j882y1twmg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.psa-body > :only-child[b-j882y1twmg] {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .psa-body[b-j882y1twmg] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.psa-table-wrap[b-j882y1twmg] {
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    overflow: auto;
    max-height: 420px;
}

.psa-table[b-j882y1twmg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.psa-table th[b-j882y1twmg] {
    position: sticky;
    top: 0;
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
    border-bottom: 1px solid var(--st-border);
}

.psa-table td[b-j882y1twmg] {
    padding: 8px 12px;
    vertical-align: top;
    border-bottom: 1px solid var(--st-border-subtle);
}

.psa-table tbody tr:last-child td[b-j882y1twmg] {
    border-bottom: none;
}

.psa-label[b-j882y1twmg] {
    width: 40%;
    color: var(--st-text-subtle);
    overflow-wrap: anywhere;
}

.psa-value[b-j882y1twmg] {
    color: var(--st-text-strong);
    font-weight: 600;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.psa-blank[b-j882y1twmg] {
    font-weight: 400;
    font-style: italic;
    color: var(--st-text-faint);
}

.psa-empty[b-j882y1twmg] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psa-shot[b-j882y1twmg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    cursor: zoom-in;
    text-align: left;
    color: inherit;
}

.psa-shot img[b-j882y1twmg] {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.psa-shot-caption[b-j882y1twmg] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.psa-actions[b-j882y1twmg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.psa-stop[b-j882y1twmg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.psa-stop-question[b-j882y1twmg] {
    flex: 1 1 260px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-warning-text);
}

.psa-btn[b-j882y1twmg] {
    min-height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.psa-btn:disabled[b-j882y1twmg] {
    opacity: 0.55;
    cursor: not-allowed;
}

.psa-btn:focus-visible[b-j882y1twmg],
.psa-shot:focus-visible[b-j882y1twmg] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.psa-btn-primary[b-j882y1twmg] {
    min-width: 140px;
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.psa-btn-primary:hover:not(:disabled)[b-j882y1twmg] {
    background: var(--st-accent-hover);
}

.psa-btn-secondary[b-j882y1twmg] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.psa-btn-secondary:hover:not(:disabled)[b-j882y1twmg] {
    background: var(--st-fill-4);
}

.psa-btn-danger[b-j882y1twmg] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.psa-note[b-j882y1twmg] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-subtle);
}

.psa-error[b-j882y1twmg] {
    margin: 0;
    font-size: 13px;
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .psa-actions[b-j882y1twmg],
    .psa-stop[b-j882y1twmg] {
        justify-content: stretch;
    }

    .psa-actions .psa-btn[b-j882y1twmg],
    .psa-stop .psa-btn[b-j882y1twmg] {
        flex: 1 1 auto;
    }
}

.psa-card-blocked[b-j882y1twmg] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

.psa-check[b-j882y1twmg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.psa-check-ok[b-j882y1twmg] {
    border: 1px solid var(--st-success-border);
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.psa-check-bad[b-j882y1twmg] {
    border: 1px solid var(--st-danger-border);
    background: var(--st-surface);
    color: var(--st-danger-text);
}

.psa-diffs[b-j882y1twmg] {
    margin: 4px 0 0;
    padding-left: 18px;
}

.psa-irreversible[b-j882y1twmg] {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-warning-text);
}

.psa-card-sim[b-j882y1twmg] {
    border-style: dashed;
    border-color: var(--st-info-border);
    background: var(--st-info-bg);
}

.psa-sim-mark[b-j882y1twmg] {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
    background: var(--st-info-bg-strong);
    color: var(--st-info-text);
}

.psa-check-warn[b-j882y1twmg] {
    border: 1px solid var(--st-warning-border);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

/* /Pages/Platform/Valuation/Components/ValuationCurrentSummary.razor.rz.scp.css */
.vcs-card[b-bllf03g4bc] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    border: 1px solid var(--st-success-border);
    color: var(--st-text-body);
}

.vcs-head[b-bllf03g4bc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.vcs-tag[b-bllf03g4bc] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-text);
}

.vcs-title[b-bllf03g4bc] {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vcs-action[b-bllf03g4bc] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--st-accent-border);
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vcs-action:hover[b-bllf03g4bc] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.vcs-action:focus-visible[b-bllf03g4bc] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vcs-grid[b-bllf03g4bc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}

.vcs-grid dt[b-bllf03g4bc] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.vcs-grid dd[b-bllf03g4bc] {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--st-text-strong);
}

.vcs-grid code[b-bllf03g4bc] {
    color: var(--st-text-subtle);
}

.vcs-actions[b-bllf03g4bc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.vcs-action-secondary[b-bllf03g4bc] {
    border-color: var(--st-border-strong);
    background: transparent;
    color: var(--st-text-body);
}

.vcs-action-secondary:hover[b-bllf03g4bc] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

/* The card itself opens the document: it shows it can be touched. */
.vcs-open[b-bllf03g4bc] {
    cursor: pointer;
    border-radius: 8px;
}

.vcs-open:focus-visible[b-bllf03g4bc] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vcs-grid.vcs-open:hover[b-bllf03g4bc] {
    background: var(--st-fill-1);
}

.vcs-document[b-bllf03g4bc] {
    height: 70vh;
    min-height: 480px;
    border-top: 1px solid var(--st-border-subtle);
    padding-top: 12px;
}

.vcs-hint[b-bllf03g4bc] {
    font-size: 12px;
    color: var(--st-text-muted);
}
/* /Pages/Platform/Valuation/Components/ValuationDocumentPicker.razor.rz.scp.css */
.vdp-card[b-llns99j4n3] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
}

.vdp-head[b-llns99j4n3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vdp-title[b-llns99j4n3] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vdp-hint[b-llns99j4n3] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.vdp-list[b-llns99j4n3] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
}

.vdp-item[b-llns99j4n3] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--st-border-subtle);
    background: var(--st-fill-1);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vdp-item:hover[b-llns99j4n3] {
    background: var(--st-fill-3);
}

.vdp-item:focus-visible[b-llns99j4n3] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vdp-item-selected[b-llns99j4n3] {
    border-color: var(--st-brand-gold);
    background: var(--st-gold-bg);
}

.vdp-item-name[b-llns99j4n3] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vdp-item-meta[b-llns99j4n3] {
    font-size: 11px;
    color: var(--st-text-muted);
}

.vdp-upload[b-llns99j4n3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.vdp-label[b-llns99j4n3] {
    font-size: 12px;
    color: var(--st-text-subtle);
}

.vdp-select[b-llns99j4n3] {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-body);
    font-size: 13px;
}

.vdp-file[b-llns99j4n3] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
}

.vdp-file[b-llns99j4n3]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.vdp-file-busy[b-llns99j4n3] {
    opacity: 0.6;
    cursor: progress;
}

.vdp-error[b-llns99j4n3] {
    margin: 0;
    font-size: 12px;
    color: var(--st-danger-text);
}

.vdp-footer[b-llns99j4n3] {
    display: flex;
    justify-content: flex-end;
}

.vdp-extract[b-llns99j4n3] {
    min-height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--st-accent);
    color: var(--st-on-accent);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vdp-extract:hover:not(:disabled)[b-llns99j4n3] {
    background: var(--st-accent-hover);
}

.vdp-extract:disabled[b-llns99j4n3] {
    opacity: 0.55;
    cursor: not-allowed;
}

.vdp-extract:focus-visible[b-llns99j4n3] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* Files marked to be read together: a check, or their order when there are several. */
.vdp-item-check[b-llns99j4n3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    grid-row: span 2;
    border: 1px solid var(--st-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-accent);
}

.vdp-item-selected .vdp-item-check[b-llns99j4n3] {
    border-color: var(--st-accent);
    background: var(--st-accent-soft, transparent);
}

.vdp-item-shown[b-llns99j4n3] {
    outline: 1px dashed var(--st-accent-border);
    outline-offset: -3px;
}
/* /Pages/Platform/Valuation/Components/ValuationDocumentThumbs.razor.rz.scp.css */
.vdt-strip[b-ftwp486287] {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.vdt-tile[b-ftwp486287] {
    position: relative;
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 6px 8px;
    border: 1px solid var(--st-border);
    border-top-width: 3px;
    border-radius: 10px;
    background: var(--st-surface-raised);
    transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

/* Read with the others: SysTime success green. */
.vdt-tile-read[b-ftwp486287] {
    border-color: var(--st-success-border);
    border-top-color: var(--st-success-fg);
    background: linear-gradient(180deg, var(--st-success-bg) 0%, var(--st-surface-raised) 45%);
}

/* Added and waiting for «Leer de nuevo con IA»: SysTime gold. */
.vdt-tile-new[b-ftwp486287] {
    border-color: var(--st-gold-border);
    border-top-color: var(--st-brand-gold);
    background: linear-gradient(180deg, var(--st-gold-bg) 0%, var(--st-surface-raised) 45%);
    box-shadow: 0 0 0 1px var(--st-gold-border);
}

/* In the order file but not in the reading. */
.vdt-tile-out[b-ftwp486287] {
    opacity: .72;
}

.vdt-tile-out:hover[b-ftwp486287] {
    opacity: 1;
}

/* The one open in the viewer: SysTime magenta. */
.vdt-tile-shown[b-ftwp486287] {
    border-color: var(--st-accent);
    border-top-color: var(--st-accent);
    box-shadow: 0 0 0 1px var(--st-accent);
}

.vdt-shown-tag[b-ftwp486287] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--st-accent);
    color: var(--st-on-accent);
    font-size: 10px;
    font-weight: 700;
}

.vdt-preview[b-ftwp486287] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.vdt-preview img[b-ftwp486287] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* A PDF page shrunk to the tile: the frame does not take clicks, the tile does. */
.vdt-preview iframe[b-ftwp486287] {
    width: 400%;
    height: 400%;
    border: none;
    transform: scale(0.25);
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.vdt-icon[b-ftwp486287] {
    font-size: 13px;
    font-weight: 700;
    color: #667;
}

.vdt-name[b-ftwp486287] {
    font-size: 11px;
    color: var(--st-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vdt-badge[b-ftwp486287] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.vdt-badge-read[b-ftwp486287] {
    background: var(--st-success-bg-strong);
    border-color: var(--st-success-border);
    color: var(--st-success-fg);
}

.vdt-badge-new[b-ftwp486287] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-brand-gold);
}

.vdt-badge-new .vdt-badge-mark[b-ftwp486287] {
    animation: vdt-pulse-b-ftwp486287 1.6s ease-in-out infinite;
}

.vdt-badge-out[b-ftwp486287] {
    background: var(--st-fill-2);
    border-color: var(--st-border);
    color: var(--st-text-muted);
}

@keyframes vdt-pulse-b-ftwp486287 {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .vdt-badge-new .vdt-badge-mark[b-ftwp486287] { animation: none; }
}

/* «Leer»: whether the file goes into the AI reading. Over the preview so it is always in sight. */
.vdt-pick[b-ftwp486287] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 4px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-surface-raised);
    color: var(--st-text-body);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.vdt-pick.is-on[b-ftwp486287] {
    border-color: var(--st-accent);
    color: var(--st-text-strong);
}

/* SysTime check, not the browser's gray one: magenta with a white tick when on, outlined when off. */
.vdt-pick input[b-ftwp486287] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1.5px solid var(--st-text-muted);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.vdt-pick input[b-ftwp486287]::before {
    content: "";
    width: 8px;
    height: 8px;
    clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 8%, 38% 68%);
    background: var(--st-on-accent);
    transform: scale(0);
    transition: transform .12s ease;
}

.vdt-pick input:checked[b-ftwp486287] {
    border-color: var(--st-accent);
    background: var(--st-accent);
}

.vdt-pick input:checked[b-ftwp486287]::before {
    transform: scale(1);
}

/* The only file of the reading: it stays checked, without looking switched off. */
.vdt-pick input:disabled[b-ftwp486287] {
    opacity: 1;
}

.vdt-pick:has(input:disabled)[b-ftwp486287] {
    cursor: not-allowed;
}

.vdt-pick input:disabled[b-ftwp486287] {
    cursor: not-allowed;
}

/* In the reading the AI is doing right now: SysTime gold, pulsing. */
.vdt-tile-reading[b-ftwp486287] {
    border-color: var(--st-gold-border);
    border-top-color: var(--st-brand-gold);
}

.vdt-badge-reading[b-ftwp486287] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-brand-gold);
}

.vdt-badge-reading .vdt-badge-mark[b-ftwp486287] {
    animation: vdt-pulse-b-ftwp486287 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .vdt-badge-reading .vdt-badge-mark[b-ftwp486287] { animation: none; }
}

/* «Eliminar»: takes the file out of the order, after asking once. */
.vdt-delete[b-ftwp486287] {
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    color: var(--st-text-muted);
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

.vdt-delete:hover[b-ftwp486287] {
    color: var(--st-danger-fg, #e5484d);
}

.vdt-delete-confirm[b-ftwp486287] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--st-text-strong);
}

.vdt-delete-yes[b-ftwp486287],
.vdt-delete-no[b-ftwp486287] {
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid var(--st-border);
    border-radius: 6px;
    background: transparent;
    color: var(--st-text-body);
    font-size: 11px;
    cursor: pointer;
}

.vdt-delete-yes[b-ftwp486287] {
    border-color: var(--st-danger-fg, #e5484d);
    color: var(--st-danger-fg, #e5484d);
}

/* Being removed: the tile dims under «Eliminando...» until it goes. */
.vdt-tile-deleting[b-ftwp486287] {
    pointer-events: none;
}

.vdt-deleting[b-ftwp486287] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--st-surface) 82%, transparent);
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 600;
}

.vdt-spinner[b-ftwp486287] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--st-border);
    border-top-color: var(--st-accent);
    border-radius: 50%;
    animation: vdt-spin-b-ftwp486287 .8s linear infinite;
}

@keyframes vdt-spin-b-ftwp486287 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vdt-spinner[b-ftwp486287] { animation-duration: 2.4s; }
}
/* /Pages/Platform/Valuation/Components/ValuationDocumentViewer.razor.rz.scp.css */
.vdv-panel[b-h9v5gdgeih] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    height: 100%;
}

.vdv-toolbar[b-h9v5gdgeih] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text-body);
}

.vdv-name[b-h9v5gdgeih] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vdv-actions[b-h9v5gdgeih] {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.vdv-btn[b-h9v5gdgeih] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--st-border);
    background: var(--st-fill-1);
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vdv-btn:hover:not(:disabled)[b-h9v5gdgeih] {
    background: var(--st-fill-3);
    border-color: var(--st-border-strong);
}

.vdv-btn:disabled[b-h9v5gdgeih] {
    opacity: 0.6;
    cursor: not-allowed;
}

.vdv-btn:focus-visible[b-h9v5gdgeih] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vdv-frame[b-h9v5gdgeih] {
    flex: 1;
    min-height: 480px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-sunken);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.vdv-iframe[b-h9v5gdgeih] {
    width: 100%;
    min-height: 480px;
    border: 0;
}

.vdv-image[b-h9v5gdgeih] {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    align-self: center;
}

.vdv-empty[b-h9v5gdgeih],
.vdv-error[b-h9v5gdgeih] {
    align-self: center;
    margin: 0;
    padding: 24px;
    font-size: 14px;
    color: var(--st-text-muted);
    text-align: center;
}

.vdv-error[b-h9v5gdgeih] {
    color: var(--st-danger-text);
}
/* /Pages/Platform/Valuation/Components/ValuationInbox.razor.rz.scp.css */
/* Same inner frame as the reading and the upload screens: 16px from the panel edge, so the rounded buttons
   and cards are not cut by it. */
.vin-container[b-aji4zg5jyx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    min-height: 100%;
    padding: 16px;
    background: var(--st-canvas);
    color: var(--st-text-body);
}

.vin-head[b-aji4zg5jyx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.vin-title[b-aji4zg5jyx] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vin-subtitle[b-aji4zg5jyx] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.vin-head-actions[b-aji4zg5jyx] {
    display: flex;
    gap: 8px;
}

.vin-btn[b-aji4zg5jyx] {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.vin-btn:disabled[b-aji4zg5jyx] {
    opacity: .6;
    cursor: default;
}

.vin-btn-primary[b-aji4zg5jyx] {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: var(--st-on-accent);
}

.vin-btn-secondary[b-aji4zg5jyx] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

.vin-cards[b-aji4zg5jyx] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 900px) {
    .vin-cards[b-aji4zg5jyx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vin-card[b-aji4zg5jyx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-top-width: 3px;
    border-radius: 10px;
    background: var(--st-surface);
    /* A button that opens the orders of its category. */
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.vin-card:hover[b-aji4zg5jyx] {
    background: var(--st-fill-2);
}

.vin-card:focus-visible[b-aji4zg5jyx] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* The category the table shows. */
.vin-card.is-active[b-aji4zg5jyx] {
    box-shadow: 0 0 0 1px var(--st-accent);
    border-color: var(--st-accent);
}

.vin-card-pending[b-aji4zg5jyx] { border-top-color: var(--st-brand-gold); }
.vin-card-info[b-aji4zg5jyx] { border-top-color: var(--st-info-fg, var(--st-accent)); }
.vin-card-err[b-aji4zg5jyx] { border-top-color: var(--st-danger-fg); }
.vin-card-pending.is-active[b-aji4zg5jyx] { border-top-color: var(--st-brand-gold); }
.vin-card-info.is-active[b-aji4zg5jyx] { border-top-color: var(--st-info-fg, var(--st-accent)); }
.vin-card-err.is-active[b-aji4zg5jyx] { border-top-color: var(--st-danger-fg); }

.vin-card-label[b-aji4zg5jyx] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.vin-card-value[b-aji4zg5jyx] {
    font-size: 26px;
    color: var(--st-text-strong);
}

.vin-card-hint[b-aji4zg5jyx] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.vin-toolbar[b-aji4zg5jyx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.vin-tabs[b-aji4zg5jyx] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.vin-tab[b-aji4zg5jyx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    font-weight: 600;
    cursor: pointer;
}

.vin-tab:hover[b-aji4zg5jyx] { background: var(--st-fill-2); }

.vin-tab.is-active[b-aji4zg5jyx] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.vin-tab-count[b-aji4zg5jyx] {
    padding: 0 8px;
    border-radius: 999px;
    background: var(--st-fill-2);
    font-size: 11px;
}

.vin-tab.is-active .vin-tab-count[b-aji4zg5jyx] { background: rgba(255, 255, 255, .2); }

.vin-filters[b-aji4zg5jyx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vin-origins[b-aji4zg5jyx] {
    display: flex;
    gap: 4px;
}

.vin-chip[b-aji4zg5jyx] {
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-body);
    cursor: pointer;
}

.vin-chip.is-active[b-aji4zg5jyx] {
    border-color: var(--st-accent);
    color: var(--st-accent);
    background: var(--st-accent-bg);
}

.vin-search[b-aji4zg5jyx] {
    min-width: 220px;
    min-height: 34px;
    padding: 4px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}

.vin-table[b-aji4zg5jyx] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
    overflow: hidden;
}

.vin-row[b-aji4zg5jyx] {
    display: grid;
    grid-template-columns: 110px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) 120px 170px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--st-border-subtle);
}

.vin-row:hover[b-aji4zg5jyx] { background: var(--st-fill-2); }

.vin-row-head[b-aji4zg5jyx] {
    border-top: none;
    font-size: 12px;
    color: var(--st-text-muted);
    font-weight: 600;
}

.vin-row-head:hover[b-aji4zg5jyx] { background: transparent; }

.vin-order[b-aji4zg5jyx],
.vin-status-cell[b-aji4zg5jyx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vin-order strong[b-aji4zg5jyx] { color: var(--st-text-strong); }

.vin-order small[b-aji4zg5jyx],
.vin-status-cell small[b-aji4zg5jyx] {
    color: var(--st-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vin-num[b-aji4zg5jyx] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.vin-action[b-aji4zg5jyx] {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

/* «Cargar a <aseguradora>» grows with the insurer's name: it wraps inside the column instead of covering the total. */
.vin-action .vin-btn[b-aji4zg5jyx] {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

.vin-origin[b-aji4zg5jyx],
.vin-status[b-aji4zg5jyx] {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.vin-origin-phone[b-aji4zg5jyx] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.vin-origin-document[b-aji4zg5jyx] {
    background: var(--st-info-bg, var(--st-fill-2));
    border-color: var(--st-info-border, var(--st-border));
    color: var(--st-info-text, var(--st-text-strong));
}

.vin-tone-pending[b-aji4zg5jyx] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.vin-tone-info[b-aji4zg5jyx] {
    background: var(--st-info-bg, var(--st-fill-2));
    border-color: var(--st-info-border, var(--st-border));
    color: var(--st-info-text, var(--st-text-strong));
}

.vin-tone-ok[b-aji4zg5jyx] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.vin-tone-err[b-aji4zg5jyx] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.vin-tone-muted[b-aji4zg5jyx] {
    background: var(--st-fill-2);
    color: var(--st-text-muted);
}

.vin-empty[b-aji4zg5jyx],
.vin-state[b-aji4zg5jyx] {
    padding: 24px 16px;
    color: var(--st-text-muted);
    text-align: center;
}

.vin-state-err[b-aji4zg5jyx] { color: var(--st-danger-text); }

.vin-legend[b-aji4zg5jyx] {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.vin-legend > span[b-aji4zg5jyx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1000px) {
    .vin-row[b-aji4zg5jyx] {
        grid-template-columns: 1fr 1fr;
    }

    .vin-row-head[b-aji4zg5jyx] { display: none; }
}
/* /Pages/Platform/Valuation/Components/ValuationLinesTable.razor.rz.scp.css */
.vlt-card[b-jjvz291am1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-body);
}

.vlt-head[b-jjvz291am1] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.vlt-title[b-jjvz291am1] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vlt-filters[b-jjvz291am1] {
    display: flex;
    gap: 4px;
}

.vlt-filter[b-jjvz291am1] {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    background: transparent;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vlt-filter:hover[b-jjvz291am1] {
    background: var(--st-fill-2);
}

.vlt-filter-active[b-jjvz291am1] {
    border-color: var(--st-brand-gold);
    background: var(--st-gold-bg);
    color: var(--st-gold-text);
}

.vlt-filter:focus-visible[b-jjvz291am1],
.vlt-input:focus-visible[b-jjvz291am1],
.vlt-resolve:focus-visible[b-jjvz291am1] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vlt-empty[b-jjvz291am1] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.vlt-scroll[b-jjvz291am1] {
    overflow-x: auto;
}

.vlt-table[b-jjvz291am1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.vlt-table th[b-jjvz291am1] {
    position: sticky;
    top: 0;
    padding: 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    background: var(--st-surface-muted);
    white-space: nowrap;
}

.vlt-table td[b-jjvz291am1] {
    padding: 6px 8px;
    border-top: 1px solid var(--st-border-subtle);
    vertical-align: middle;
}

.vlt-num[b-jjvz291am1] {
    text-align: right;
}

.vlt-input[b-jjvz291am1] {
    width: 96px;
    min-height: 30px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
    text-align: right;
}

.vlt-input:disabled[b-jjvz291am1] {
    opacity: 0.7;
}

.vlt-row-doubt[b-jjvz291am1] {
    background: var(--st-warning-bg);
}

.vlt-row-edited[b-jjvz291am1] {
    background: var(--st-info-bg);
}

.vlt-row-highlight[b-jjvz291am1] {
    background: var(--st-gold-bg);
}

.vlt-doubt[b-jjvz291am1] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.vlt-reason[b-jjvz291am1] {
    font-size: 11px;
    color: var(--st-warning-text);
}

.vlt-resolve[b-jjvz291am1] {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 9999px;
    border: 1px solid var(--st-warning-border);
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.vlt-status[b-jjvz291am1] {
    display: inline-flex;
    padding: 0 8px;
    min-height: 20px;
    align-items: center;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
}

.vlt-status-ok[b-jjvz291am1] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.vlt-status-edited[b-jjvz291am1] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.vlt-status-noref[b-jjvz291am1] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

/* The operation of a line, picked while creating the valuation */
.vlt-select[b-jjvz291am1] {
    min-height: 30px;
    max-width: 170px;
    padding: 2px 6px;
    border: 1px solid var(--st-border);
    border-radius: 6px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
    font-size: 12px;
}

.vlt-select-missing[b-jjvz291am1] {
    border-color: var(--st-danger-border);
    background: var(--st-danger-bg);
}

/* The open list is drawn by the browser on its own box: without a solid background the options took the tinted,
   translucent one of the select and the text could not be read (staging, 2026-11-12). */
.vlt-select option[b-jjvz291am1] {
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}
/* /Pages/Platform/Valuation/Components/ValuationLoading.razor.rz.scp.css */
.vl-loading[b-qtg3icq9p6] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 10px;
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 14px;
}

.vl-inline[b-qtg3icq9p6] {
    display: inline-flex;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.vl-spinner[b-qtg3icq9p6] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 3px solid var(--st-border);
    border-top-color: var(--st-accent);
    animation: vl-spin-b-qtg3icq9p6 0.9s linear infinite;
}

.vl-inline .vl-spinner[b-qtg3icq9p6] {
    width: 14px;
    height: 14px;
    border-width: 2px;
    border-color: currentColor;
    border-right-color: transparent;
}

@keyframes vl-spin-b-qtg3icq9p6 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vl-spinner[b-qtg3icq9p6] { animation-duration: 2.4s; }
}
/* /Pages/Platform/Valuation/Components/ValuationSlidePanel.razor.rz.scp.css */
/* Starts after the SysTime NavMenu (220px, 80px collapsed: see LeftSidebar.NavWidth) so the menu stays
   sharp and usable while the panel is open. Solid app frame, like around the Reportes panel: the frame around
   the panel is navy, not the gray veil of the blurred board. */
.vsp-backdrop[b-3oeuqkkkzq] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 220px;
    /* Under the NavMenu (.sidebar-glass, z-index 1005) so its «+» menu opens on top, like over Reportes;
       over the board and its side panels. */
    z-index: 1003;
    background: var(--st-app-frame);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: left 0.3s ease;
}

.vsp-backdrop.vsp-collapsed[b-3oeuqkkkzq] {
    left: var(--st-sidebar-collapsed-w);
}

/* Same frame as the Reportes panel (DynamicPanel reportes-mode): attached to the NavMenu edge with the frame's inset
   elsewhere, so the whole screen is used and no gray margin is left around it. Opaque on purpose: the glass let
   the board show through and the header was hard to read. */
.vsp-panel[b-3oeuqkkkzq] {
    position: fixed;
    top: var(--st-frame-gap-y);
    bottom: var(--st-frame-gap-y);
    left: 220px;
    right: 10px;
    z-index: 1004;
    /* The center-screen surface, like Reportes: it stands out from the navy frame around it. */
    background: var(--st-surface);
    border: none;
    border-radius: 30px;
    box-shadow: var(--st-shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: left 0.3s ease;
    color: var(--st-text-body);
}

.vsp-panel.vsp-collapsed[b-3oeuqkkkzq] {
    left: var(--st-sidebar-collapsed-w);
}

.vsp-header[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.vsp-title-group[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.vsp-close-btn[b-3oeuqkkkzq] {
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-strong);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vsp-close-btn:hover[b-3oeuqkkkzq] {
    background: var(--st-accent-bg);
    border-color: var(--st-accent);
}

.vsp-title-text h2[b-3oeuqkkkzq] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vsp-subtitle[b-3oeuqkkkzq] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.vsp-wo-selector-container[b-3oeuqkkkzq] {
    flex: 1 1 auto;
    /* A select is as wide as its longest option and a flex item does not shrink below that:
       min-width 0 lets the selector give way instead of covering the navigation buttons. */
    min-width: 0;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vsp-wo-selector[b-3oeuqkkkzq] {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 0 10px;
    transition: border-color 0.2s ease;
}

.vsp-wo-selector:hover[b-3oeuqkkkzq] {
    border-color: var(--st-accent-border);
}

.vsp-wo-icon[b-3oeuqkkkzq] {
    display: inline-flex;
    margin-right: 8px;
    color: var(--st-text-subtle);
}

.vsp-wo-search[b-3oeuqkkkzq] {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 36px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-text-strong);
    font-size: 13px;
    font-weight: 500;
}

.vsp-wo-search[b-3oeuqkkkzq]::placeholder {
    color: var(--st-text-subtle);
    font-weight: 400;
}

.vsp-wo-search:disabled[b-3oeuqkkkzq] {
    cursor: not-allowed;
}

.vsp-wo-selector:focus-within[b-3oeuqkkkzq] {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 2px var(--st-accent-border);
}

.vsp-wo-caret[b-3oeuqkkkzq] {
    margin-left: 6px;
    color: var(--st-text-subtle);
    font-size: 11px;
    pointer-events: none;
}

.vsp-wo-list[b-3oeuqkkkzq] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 360px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.vsp-wo-item[b-3oeuqkkkzq] {
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--st-text-strong);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.vsp-wo-item:hover[b-3oeuqkkkzq],
.vsp-wo-item.is-active[b-3oeuqkkkzq] {
    background: var(--st-fill-2);
}

.vsp-wo-item.is-selected[b-3oeuqkkkzq] {
    color: var(--st-accent);
    font-weight: 600;
}

.vsp-wo-empty[b-3oeuqkkkzq] {
    padding: 10px;
    color: var(--st-text-muted);
    font-size: 13px;
}

.vsp-retry[b-3oeuqkkkzq] {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: var(--st-fill-2);
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.vsp-nav-buttons[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.vsp-nav-btn[b-3oeuqkkkzq] {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--st-border-strong);
    background: transparent;
    color: var(--st-text-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vsp-nav-btn:hover:not(:disabled)[b-3oeuqkkkzq] {
    background: var(--st-fill-2);
}

.vsp-nav-btn:disabled[b-3oeuqkkkzq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.vsp-nav-btn-primary[b-3oeuqkkkzq] {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: var(--st-on-accent);
}

.vsp-nav-btn-primary:hover:not(:disabled)[b-3oeuqkkkzq] {
    background: var(--st-accent-hover);
}

.vsp-step-badge[b-3oeuqkkkzq] {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
    background: var(--st-fill-1);
    padding: 4px 10px;
    border-radius: 8px;
}

.vsp-tabs-bar[b-3oeuqkkkzq] {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
    overflow-x: auto;
}

.vsp-tab[b-3oeuqkkkzq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-subtle);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vsp-tab:hover[b-3oeuqkkkzq] {
    color: var(--st-text-strong);
    background: var(--st-fill-1);
}

.vsp-tab:focus-visible[b-3oeuqkkkzq],
.vsp-close-btn:focus-visible[b-3oeuqkkkzq],
.vsp-nav-btn:focus-visible[b-3oeuqkkkzq],
.vsp-retry:focus-visible[b-3oeuqkkkzq] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.vsp-tab.active[b-3oeuqkkkzq] {
    color: var(--st-gold-text);
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
}

.vsp-tab-later[b-3oeuqkkkzq] {
    opacity: 0.75;
}

.vsp-tab-tag[b-3oeuqkkkzq] {
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
    background: var(--st-fill-2);
    color: var(--st-text-muted);
}

/* The content box (st-chrome-box in css/theme.css): the part of the panel that follows the theme. */
.vsp-body[b-3oeuqkkkzq] {
    flex: 1;
    overflow-y: auto;
    margin: 12px;
}

.vsp-state[b-3oeuqkkkzq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 16px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.vsp-state-danger[b-3oeuqkkkzq] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

/* Quote wizard (tab «Cotizaciones»): its own header with the 3 steps, the step's screen below. */
/* The step screens bring their own 16px frame; the wizard head and foot keep the same one. */
.vsp-wizard[b-3oeuqkkkzq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    background: var(--st-canvas);
}

.vsp-wizard-head[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.vsp-wizard-title[b-3oeuqkkkzq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 220px;
}

.vsp-wizard-title h2[b-3oeuqkkkzq] {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vsp-wizard-title span[b-3oeuqkkkzq] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.vsp-wizard-steps[b-3oeuqkkkzq] {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vsp-wizard-step button[b-3oeuqkkkzq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 12px 4px 4px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: transparent;
    color: var(--st-text-body);
    font-weight: 600;
    cursor: pointer;
}

.vsp-wizard-step button:disabled[b-3oeuqkkkzq] {
    opacity: .5;
    cursor: default;
}

.vsp-wizard-mark[b-3oeuqkkkzq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--st-fill-2);
    font-size: 12px;
}

.vsp-wizard-step-current button[b-3oeuqkkkzq] {
    border-color: var(--st-accent);
    color: var(--st-text-strong);
}

.vsp-wizard-step-current .vsp-wizard-mark[b-3oeuqkkkzq] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.vsp-wizard-step-done .vsp-wizard-mark[b-3oeuqkkkzq] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.vsp-wizard-foot[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 16px;
    padding: 12px 0 16px;
    border-top: 1px solid var(--st-border-subtle);
    font-size: 13px;
    color: var(--st-text-muted);
}

/* The valuation by document was created: where it went and the way to its quote. */
.vsp-created[b-3oeuqkkkzq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 16px 12px;
    padding: 10px 14px;
    border: 1px solid var(--st-success-border);
    border-radius: 8px;
    background: var(--st-success-bg);
    color: var(--st-success-text);
    font-size: 13px;
}

/* Where the order goes after its valuation: the handover's own destination cards, side by side */
.vsp-next-cards[b-3oeuqkkkzq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* A single destination: one card, centered */
.vsp-next-cards.is-single[b-3oeuqkkkzq] {
    grid-template-columns: minmax(0, 150px);
    justify-content: center;
}

.vsp-next-badge[b-3oeuqkkkzq] {
    margin-top: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-success-fg);
    background: var(--st-success-bg-strong);
    border-radius: 999px;
}
/* /Pages/Platform/Valuation/Components/ValuationWizardOrderStep.razor.rz.scp.css */
.vwo-grid[b-yvl52o62b5] {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1000px) {
    .vwo-grid[b-yvl52o62b5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.vwo-card[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: var(--st-surface);
    min-width: 0;
}

.vwo-card-head[b-yvl52o62b5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vwo-title[b-yvl52o62b5] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.vwo-search[b-yvl52o62b5] {
    min-width: 220px;
    min-height: 34px;
    padding: 4px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}

.vwo-tabs[b-yvl52o62b5] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.vwo-tab[b-yvl52o62b5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 34px;
    padding: 4px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    font-weight: 600;
    cursor: pointer;
}

.vwo-tab:hover[b-yvl52o62b5] { background: var(--st-fill-2); }

.vwo-tab.is-active[b-yvl52o62b5] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.vwo-tab-count[b-yvl52o62b5] {
    padding: 0 8px;
    border-radius: 999px;
    background: var(--st-fill-2);
    font-size: 11px;
}

.vwo-tab.is-active .vwo-tab-count[b-yvl52o62b5] { background: rgba(255, 255, 255, .2); }

.vwo-order-main small.vwo-process.is-current[b-yvl52o62b5] {
    color: var(--st-accent);
    font-weight: 700;
}

.vwo-group-hint[b-yvl52o62b5],
.vwo-empty[b-yvl52o62b5],
.vwo-note[b-yvl52o62b5] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.vwo-list[b-yvl52o62b5] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
}

.vwo-order[b-yvl52o62b5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text-body);
    text-align: left;
    cursor: pointer;
}

.vwo-order:hover[b-yvl52o62b5] {
    border-color: var(--st-accent);
}

.vwo-order.is-selected[b-yvl52o62b5] {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 1px var(--st-accent);
    background: var(--st-accent-bg);
}

.vwo-order-main[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vwo-order-main strong[b-yvl52o62b5] {
    color: var(--st-text-strong);
}

.vwo-order-main small[b-yvl52o62b5] {
    color: var(--st-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vwo-badge[b-yvl52o62b5] {
    flex-shrink: 0;
    padding: 2px 10px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: var(--st-fill-2);
    color: var(--st-text-muted);
    font-size: 11px;
    font-weight: 700;
}

.vwo-tone-pending[b-yvl52o62b5] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.vwo-tone-ok[b-yvl52o62b5] {
    background: var(--st-success-bg-strong);
    border-color: transparent;
    color: var(--st-success-fg);
}

.vwo-tone-info[b-yvl52o62b5] {
    background: var(--st-info-bg, var(--st-fill-2));
    border-color: var(--st-info-border, var(--st-border));
    color: var(--st-info-text, var(--st-text-strong));
}

.vwo-tone-err[b-yvl52o62b5] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.vwo-side[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vwo-selected[b-yvl52o62b5] {
    border: 1px solid var(--st-accent);
    color: var(--st-text-body);
    font-size: 13px;
    gap: 6px;
}

.vwo-selected strong[b-yvl52o62b5] {
    color: var(--st-text-strong);
    font-size: 14px;
}

.vwo-steps[b-yvl52o62b5] {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--st-text-body);
}

/* The valuation of an order already valued, for who still has to hand it over */
.vwo-summary[b-yvl52o62b5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0;
}

.vwo-summary dt[b-yvl52o62b5] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.vwo-summary dd[b-yvl52o62b5] {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
}

/* The insurer's answer of the selected order */
.vwo-answer[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border);
}

.vwo-answer-field[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.vwo-quick[b-yvl52o62b5] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.vwo-btn[b-yvl52o62b5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 16px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.vwo-btn-primary[b-yvl52o62b5] {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: var(--st-on-accent);
}

.vwo-btn-secondary[b-yvl52o62b5] {
    background: var(--st-fill-2);
    color: var(--st-text-strong);
}

/* The file input covers the whole button, so a click anywhere on it opens the picker. */
.vwo-upload[b-yvl52o62b5] {
    position: relative;
    align-self: flex-start;
    margin-top: 4px;
    overflow: hidden;
}

.vwo-upload[b-yvl52o62b5]  input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.vwo-upload.is-busy[b-yvl52o62b5] {
    opacity: .7;
    cursor: progress;
}

.vwo-error[b-yvl52o62b5] {
    color: var(--st-danger-text);
    font-size: 12px;
}

/* «¿La orden no existe?»: the way in for a quote of a vehicle without an order. */
.vwo-new[b-yvl52o62b5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px dashed var(--st-border);
    border-radius: 10px;
}

.vwo-new.is-active[b-yvl52o62b5] {
    border-style: solid;
    border-color: var(--st-accent);
}

.vwo-new-text[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.vwo-new-text strong[b-yvl52o62b5] {
    color: var(--st-text-strong);
}

.vwo-new .vwo-upload[b-yvl52o62b5] {
    margin-top: 0;
}

.vwo-link[b-yvl52o62b5] {
    border: none;
    background: none;
    padding: 0;
    color: var(--st-accent);
    font-weight: 600;
    cursor: pointer;
}

.vwo-existing[b-yvl52o62b5] {
    padding: 10px 12px;
    border: 1px solid var(--st-gold-border);
    border-radius: 8px;
    background: var(--st-gold-bg);
    color: var(--st-text-strong);
}

.vwo-form[b-yvl52o62b5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.vwo-form label[b-yvl52o62b5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.vwo-input[b-yvl52o62b5] {
    min-height: 34px;
    padding: 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}

.vwo-input:disabled[b-yvl52o62b5] {
    opacity: .7;
}

.vwo-insurer[b-yvl52o62b5] {
    font-size: 13px;
}

.vwo-check[b-yvl52o62b5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* An order that has not reached «Estimación de daños» cannot be chosen yet */
.vwo-order:disabled[b-yvl52o62b5] {
    opacity: .6;
    cursor: not-allowed;
}

.vwo-order:disabled:hover[b-yvl52o62b5] {
    border-color: var(--st-border);
}
/* /Pages/Platform/Valuation/PreRadicationReviewPage.razor.rz.scp.css */
.prr-container[b-lpl3j3f3u8] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prr-header[b-lpl3j3f3u8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prr-title[b-lpl3j3f3u8] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.prr-subtitle[b-lpl3j3f3u8] {
    color: var(--st-text-muted);
    font-size: 13px;
}
/* /Pages/Platform/Valuation/ReadDocumentPage.razor.rz.scp.css */
.rd-container[b-gzu0butntx] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

/* ─── States ─────────────────────────────────────────────────────────────── */

.rd-state[b-gzu0butntx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.rd-state-warning[b-gzu0butntx] {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.rd-state-danger[b-gzu0butntx] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.rd-header[b-gzu0butntx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rd-stepper[b-gzu0butntx] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.rd-step[b-gzu0butntx] {
    padding: 4px 10px;
    border-radius: 9999px;
    color: var(--st-text-muted);
    border: 1px solid var(--st-border-subtle);
}

.rd-step-active[b-gzu0butntx] {
    background: var(--st-gold-bg);
    border-color: var(--st-brand-gold);
    color: var(--st-gold-text);
    font-weight: 600;
}

.rd-step-link[b-gzu0butntx] {
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}

.rd-step-link:hover[b-gzu0butntx] {
    color: var(--st-text-body);
    border-color: var(--st-border-strong);
}

.rd-step-link:focus-visible[b-gzu0butntx] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.rd-step-later[b-gzu0butntx] {
    opacity: 0.7;
    cursor: help;
}

.rd-step-sep[b-gzu0butntx] {
    color: var(--st-text-faint);
}

.rd-title-row[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rd-title-row-embedded[b-gzu0butntx] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.rd-title[b-gzu0butntx] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.rd-meta[b-gzu0butntx] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rd-chip[b-gzu0butntx] {
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 12px;
    background: var(--st-surface-muted);
    color: var(--st-text-subtle);
}

/* ─── Banners and notes ──────────────────────────────────────────────────── */

.rd-banner[b-gzu0butntx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}

.rd-banner ul[b-gzu0butntx] {
    flex-basis: 100%;
    margin: 4px 0 0;
    padding-left: 20px;
}

.rd-banner-success[b-gzu0butntx] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.rd-banner-info[b-gzu0butntx] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.rd-banner-warning[b-gzu0butntx] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.rd-banner-danger[b-gzu0butntx] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
    white-space: pre-line;
}

.rd-note[b-gzu0butntx],
.rd-hint[b-gzu0butntx] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.rd-grid[b-gzu0butntx] {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1100px) {
    .rd-grid[b-gzu0butntx] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rd-col[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.rd-col-document[b-gzu0butntx] {
    position: sticky;
    top: 0;
    /* Above the sticky footer (save buttons) and under the panel and wizard headers. The column never scrolls:
       the viewer gives up height so the documents strip and «Leer de nuevo con IA» always show whole below it. */
    height: calc(100vh - 330px);
    min-height: 480px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* The viewer (inside its reading frame) takes what is left; the documents strip with «+ Agregar archivos» keeps
   its own height below it and is always in sight. */
.rd-col-document > .rd-viewer-wrap[b-gzu0butntx] {
    flex: 1 1 auto;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.rd-viewer-wrap[b-gzu0butntx] >  .vdv-panel {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.rd-col-document[b-gzu0butntx]  .vdv-frame {
    min-height: 0;
}

.rd-col-document > .rd-files[b-gzu0butntx] {
    flex-shrink: 0;
}

/* Compact previews: the strip stays short and scrolls sideways only, never the column. */
.rd-col-document[b-gzu0butntx]  .vdt-tile {
    flex-basis: 112px;
}

.rd-col-document[b-gzu0butntx]  .vdt-preview {
    height: 84px;
}

/* One column: the document goes above the form at its natural height. */
@media (max-width: 1100px) {
    .rd-col-document[b-gzu0butntx] {
        position: static;
        height: auto;
        overflow: visible;
    }

    .rd-col-document > .rd-viewer-wrap[b-gzu0butntx] {
        min-height: 420px;
    }
}

.rd-card[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
}

.rd-section-title[b-gzu0butntx] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* ─── Progress ───────────────────────────────────────────────────────────── */

.rd-progress[b-gzu0butntx] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-text);
}

.rd-progress-text[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    font-size: 13px;
}

.rd-spinner[b-gzu0butntx] {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    border: 3px solid var(--st-info-border);
    border-top-color: var(--st-info-fg);
    animation: rd-spin-b-gzu0butntx 0.9s linear infinite;
}

@keyframes rd-spin-b-gzu0butntx {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rd-spinner[b-gzu0butntx] {
        animation: none;
    }
}

/* ─── Kind and reconciliation ────────────────────────────────────────────── */

.rd-kind[b-gzu0butntx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rd-reconcile[b-gzu0butntx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rd-badge[b-gzu0butntx] {
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 12px;
    border: 1px solid transparent;
}

.rd-badge-ok[b-gzu0butntx] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.rd-badge-warn[b-gzu0butntx] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.rd-badge-danger[b-gzu0butntx] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.rd-badge-neutral[b-gzu0butntx] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-subtle);
    color: var(--st-text-subtle);
}

/* ─── Header fields ──────────────────────────────────────────────────────── */

.rd-fields[b-gzu0butntx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.rd-field[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.rd-field-doubt[b-gzu0butntx] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

.rd-field-active[b-gzu0butntx] {
    border-color: var(--st-brand-gold);
}

.rd-field-doubt-row[b-gzu0butntx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--st-warning-text);
}

.rd-label[b-gzu0butntx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.rd-critical[b-gzu0butntx] {
    color: var(--st-danger-text);
    cursor: help;
}

.rd-input[b-gzu0butntx],
.rd-select[b-gzu0butntx] {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
}

.rd-input:focus-visible[b-gzu0butntx],
.rd-select:focus-visible[b-gzu0butntx] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

.rd-snippet[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.rd-snippet-label[b-gzu0butntx] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.rd-snippet-text[b-gzu0butntx] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
    color: var(--st-text-strong);
    white-space: pre-wrap;
}

/* ─── Totals and warnings ────────────────────────────────────────────────── */

.rd-totals-grid[b-gzu0butntx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}

.rd-totals-grid dt[b-gzu0butntx] {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.rd-totals-grid dd[b-gzu0butntx] {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--st-text-strong);
}

.rd-total dd[b-gzu0butntx] {
    font-size: 16px;
    font-weight: 700;
}

.rd-warnings[b-gzu0butntx] {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--st-warning-text);
}

/* ─── Footer and buttons ─────────────────────────────────────────────────── */

.rd-footer[b-gzu0butntx] {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--st-surface-raised);
    box-shadow: var(--st-shadow-md);
}

.rd-footer-summary[b-gzu0butntx] {
    font-size: 13px;
    color: var(--st-text-subtle);
}

.rd-footer-actions[b-gzu0butntx] {
    display: flex;
    gap: 8px;
}

.rd-btn[b-gzu0butntx] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rd-btn:disabled[b-gzu0butntx] {
    opacity: 0.55;
    cursor: not-allowed;
}

.rd-btn:focus-visible[b-gzu0butntx],
.rd-link:focus-visible[b-gzu0butntx] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.rd-btn-primary[b-gzu0butntx] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.rd-btn-primary:hover:not(:disabled)[b-gzu0butntx] {
    background: var(--st-accent-hover);
}

.rd-btn-secondary[b-gzu0butntx] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.rd-btn-secondary:hover:not(:disabled)[b-gzu0butntx] {
    background: var(--st-fill-4);
}

.rd-btn-with-spinner[b-gzu0butntx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rd-btn-spinner[b-gzu0butntx] {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: rd-spin-b-gzu0butntx 0.9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .rd-btn-spinner[b-gzu0butntx] {
        animation: none;
    }
}

.rd-btn-gold[b-gzu0butntx] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.rd-btn-gold:hover:not(:disabled)[b-gzu0butntx] {
    border-color: var(--st-brand-gold);
}

.rd-link[b-gzu0butntx] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--st-text-brand);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.rd-insurer[b-gzu0butntx] {
    font-size: 13px;
    color: var(--st-text-subtle);
    overflow-wrap: anywhere;
}

.rd-insurer strong[b-gzu0butntx] {
    color: var(--st-text-strong);
}

.rd-insurer-mismatch[b-gzu0butntx] {
    display: block;
    margin-top: 2px;
    font-weight: 600;
    color: var(--st-warning-text);
}

/* Draft from a phone assessment: there is no document to show next to the form. */
.rd-phone-source[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: 12px;
    border: 1px dashed var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 14px;
}

.rd-phone-icon[b-gzu0butntx] {
    font-size: 32px;
}

.rd-phone-hint[b-gzu0butntx] {
    font-size: 13px;
    color: var(--st-text-muted);
}

/* Documents of the order under the viewer: previews, add files and read again. */
.rd-files[b-gzu0butntx] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: var(--st-surface);
    box-shadow: var(--st-shadow-sm, 0 2px 8px rgba(0, 0, 0, .25));
}

.rd-files-head[b-gzu0butntx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rd-files-title[b-gzu0butntx] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-strong);
}

.rd-files-add[b-gzu0butntx] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rd-files-add[b-gzu0butntx]  input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.rd-files-add-busy[b-gzu0butntx] {
    opacity: 0.6;
    pointer-events: none;
}

.rd-files-reread[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rd-files-hint[b-gzu0butntx] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.rd-files-error[b-gzu0butntx] {
    font-size: 12px;
    color: var(--st-danger, #e5484d);
}

/* Reading in progress over the form being filled: SysTime gold, kept in sight while scrolling. */
.rd-progress-live[b-gzu0butntx] {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-bottom: 12px;
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
    backdrop-filter: blur(6px);
}

/* Right column of the reading, split like the wizard design: Datos (document, claim, insured, vehicle),
   Valores (lines and totals) and Resultado (what is missing before saving). */
.rd-data-tabs[b-gzu0butntx] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface);
}

.rd-data-tab[b-gzu0butntx] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--st-text-body);
    font-weight: 600;
    cursor: pointer;
}

.rd-data-tab:hover[b-gzu0butntx] {
    background: var(--st-fill-2);
}

.rd-data-tab.is-active[b-gzu0butntx] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.rd-data-tab-count[b-gzu0butntx] {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--st-fill-2);
    font-size: 11px;
    font-weight: 700;
}

.rd-data-tab-count.is-warn[b-gzu0butntx] {
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
}

.rd-data-tab-count.is-ok[b-gzu0butntx] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

.rd-data-tab.is-active .rd-data-tab-count[b-gzu0butntx] {
    background: rgba(255, 255, 255, .2);
    color: inherit;
}

.rd-data-panel[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rd-data-panel[hidden][b-gzu0butntx] {
    display: none;
}

.rd-result-grid[b-gzu0butntx] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.rd-result-grid dt[b-gzu0butntx] {
    font-size: 12px;
    color: var(--st-text-muted);
}

.rd-result-grid dd[b-gzu0butntx] {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.rd-result-ok[b-gzu0butntx] {
    margin: 0;
    color: var(--st-success-text);
    font-weight: 600;
}

/* While the AI reads: a field still empty waits with a dashed edge and «Leyendo...», then fills in. */
.rd-field-waiting[b-gzu0butntx]  .rd-input,
.rd-field-waiting .rd-input[b-gzu0butntx] {
    border-style: dashed;
    background: transparent;
}

.rd-field-waiting .rd-input[b-gzu0butntx]::placeholder {
    color: var(--st-text-muted);
    animation: rd-waiting-b-gzu0butntx 1.4s ease-in-out infinite;
}

.rd-field:not(.rd-field-waiting) .rd-input[b-gzu0butntx] {
    transition: background-color .4s ease, border-color .4s ease;
}

@keyframes rd-waiting-b-gzu0butntx {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rd-field-waiting .rd-input[b-gzu0butntx]::placeholder { animation: none; }
}

/* The field being filled right now: lit in SysTime magenta for a moment. */
.rd-field-filling[b-gzu0butntx] {
    border-radius: 8px;
    animation: rd-fill-b-gzu0butntx 1.1s ease-out;
}

.rd-field-filling .rd-input[b-gzu0butntx] {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

@keyframes rd-fill-b-gzu0butntx {
    0% { background: var(--st-accent-bg); }
    100% { background: transparent; }
}

/* The document while the AI reads it: a band sweeps it, and below it what is being read and where it goes. */
.rd-viewer-wrap[b-gzu0butntx] {
    position: relative;
}

.rd-viewer-wrap.is-reading[b-gzu0butntx] {
    border-radius: 10px;
    box-shadow: 0 0 0 2px var(--st-accent);
}

.rd-scanline[b-gzu0butntx] {
    position: absolute;
    left: 0;
    right: 0;
    top: 10%;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(227, 28, 140, .22), transparent);
    animation: rd-scan-b-gzu0butntx 3.2s ease-in-out infinite;
}

@keyframes rd-scan-b-gzu0butntx {
    0% { top: 10%; }
    50% { top: 85%; }
    100% { top: 10%; }
}

.rd-reading-now[b-gzu0butntx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border: 1px solid var(--st-accent);
    border-radius: 8px;
    background: var(--st-accent-bg);
    font-size: 13px;
    color: var(--st-text-body);
}

.rd-reading-now-label strong[b-gzu0butntx] {
    color: var(--st-text-strong);
}

.rd-reading-now-text[b-gzu0butntx] {
    font-family: var(--st-font-mono, monospace);
    color: var(--st-text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .rd-scanline[b-gzu0butntx] { animation: none; }
    .rd-field-filling[b-gzu0butntx] { animation: none; }
}
/* /Pages/Settings/Automations/AutomationDetailConfigPage.razor.rz.scp.css */
.adc-container[b-p2mpdf7vbe] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    box-sizing: border-box;
}

.adc-header[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.adc-title[b-p2mpdf7vbe] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.adc-subtitle[b-p2mpdf7vbe] {
    color: var(--st-text-muted);
    font-size: 13px;
}

/* ─── States and banners ─────────────────────────────────────────────────── */

.adc-state[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.adc-state-warning[b-p2mpdf7vbe] {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.adc-state-danger[b-p2mpdf7vbe] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.adc-banner[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}

.adc-banner-success[b-p2mpdf7vbe] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.adc-banner-warning[b-p2mpdf7vbe] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.adc-banner-danger[b-p2mpdf7vbe] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.adc-hint[b-p2mpdf7vbe] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.adc-muted[b-p2mpdf7vbe] {
    color: var(--st-text-muted);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.adc-card[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.adc-card-head[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adc-section-title[b-p2mpdf7vbe] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */

.adc-table-wrap[b-p2mpdf7vbe] {
    overflow-x: auto;
}

.adc-table[b-p2mpdf7vbe] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.adc-table th[b-p2mpdf7vbe] {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.adc-table td[b-p2mpdf7vbe] {
    padding: 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.adc-sr-only[b-p2mpdf7vbe] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

code[b-p2mpdf7vbe] {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */

.adc-field[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.adc-label[b-p2mpdf7vbe] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.adc-input[b-p2mpdf7vbe],
.adc-select[b-p2mpdf7vbe],
.adc-textarea[b-p2mpdf7vbe] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
}

.adc-input[b-p2mpdf7vbe],
.adc-select[b-p2mpdf7vbe] {
    min-height: 36px;
    padding: 0 10px;
}

.adc-textarea[b-p2mpdf7vbe] {
    padding: 8px 10px;
    resize: vertical;
}

.adc-input:focus-visible[b-p2mpdf7vbe],
.adc-select:focus-visible[b-p2mpdf7vbe],
.adc-textarea:focus-visible[b-p2mpdf7vbe] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.adc-actions[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.adc-btn[b-p2mpdf7vbe] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.adc-btn:disabled[b-p2mpdf7vbe] {
    opacity: 0.55;
    cursor: not-allowed;
}

.adc-btn:focus-visible[b-p2mpdf7vbe] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.adc-btn-primary[b-p2mpdf7vbe] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.adc-btn-primary:hover:not(:disabled)[b-p2mpdf7vbe] {
    background: var(--st-accent-hover);
}

.adc-btn-secondary[b-p2mpdf7vbe] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.adc-btn-secondary:hover:not(:disabled)[b-p2mpdf7vbe] {
    background: var(--st-fill-4);
}

.adc-btn-danger[b-p2mpdf7vbe] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .adc-container[b-p2mpdf7vbe] {
        padding: 12px;
    }

    .adc-title[b-p2mpdf7vbe] {
        font-size: 20px;
    }

    .adc-actions .adc-btn[b-p2mpdf7vbe] {
        flex: 1 1 auto;
    }
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.adc-back[b-p2mpdf7vbe] {
    padding: 0;
    margin-bottom: 4px;
    border: none;
    background: transparent;
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.adc-back[b-p2mpdf7vbe]::before {
    content: "‹ ";
}

.adc-back:hover[b-p2mpdf7vbe] {
    color: var(--st-text-body);
}

.adc-back:focus-visible[b-p2mpdf7vbe] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.adc-subtitle code[b-p2mpdf7vbe] {
    color: var(--st-text-body);
}

.adc-picker[b-p2mpdf7vbe] {
    max-width: 420px;
}

/* ─── Versions table ─────────────────────────────────────────────────────── */

.adc-row-selected td[b-p2mpdf7vbe] {
    background: var(--st-fill-1);
}

.adc-who[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    white-space: nowrap;
}

.adc-notes[b-p2mpdf7vbe] {
    max-width: 280px;
    font-size: 12px;
    color: var(--st-text-subtle);
    overflow-wrap: anywhere;
}

.adc-row-actions[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.adc-confirm-row td[b-p2mpdf7vbe] {
    background: var(--st-surface-sunken);
}

.adc-confirm[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
    padding-left: 12px;
}

.adc-confirm-question[b-p2mpdf7vbe] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-body);
}

/* ─── JSON viewer ────────────────────────────────────────────────────────── */

.adc-json-head[b-p2mpdf7vbe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.adc-json[b-p2mpdf7vbe] {
    margin: 0;
    padding: 12px;
    max-height: 520px;
    overflow: auto;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 12px;
    line-height: 1.5;
    white-space: pre;
}

.adc-patches[b-p2mpdf7vbe] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* /Pages/Settings/Automations/AutomationsListPage.razor.rz.scp.css */
.aut-container[b-b0glrbflko] {
    background: var(--st-canvas);
    color: var(--st-text-body);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    box-sizing: border-box;
}

.aut-header[b-b0glrbflko] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aut-title[b-b0glrbflko] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.aut-subtitle[b-b0glrbflko] {
    color: var(--st-text-muted);
    font-size: 13px;
}

/* ─── States and banners ─────────────────────────────────────────────────── */

.aut-state[b-b0glrbflko] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-subtle);
    font-size: 14px;
}

.aut-state-warning[b-b0glrbflko] {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
}

.aut-state-danger[b-b0glrbflko] {
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
}

.aut-banner[b-b0glrbflko] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
}

.aut-banner-success[b-b0glrbflko] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.aut-banner-warning[b-b0glrbflko] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.aut-banner-danger[b-b0glrbflko] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.aut-hint[b-b0glrbflko] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.aut-muted[b-b0glrbflko] {
    color: var(--st-text-muted);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.aut-card[b-b0glrbflko] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    min-width: 0;
}

.aut-card-head[b-b0glrbflko] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aut-section-title[b-b0glrbflko] {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text-strong);
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */

.aut-table-wrap[b-b0glrbflko] {
    overflow-x: auto;
}

.aut-table[b-b0glrbflko] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.aut-table th[b-b0glrbflko] {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.aut-table td[b-b0glrbflko] {
    padding: 10px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.aut-sr-only[b-b0glrbflko] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

code[b-b0glrbflko] {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */

.aut-field[b-b0glrbflko] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.aut-label[b-b0glrbflko] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.aut-input[b-b0glrbflko],
.aut-select[b-b0glrbflko],
.aut-textarea[b-b0glrbflko] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
}

.aut-input[b-b0glrbflko],
.aut-select[b-b0glrbflko] {
    min-height: 36px;
    padding: 0 10px;
}

.aut-textarea[b-b0glrbflko] {
    padding: 8px 10px;
    resize: vertical;
}

.aut-input:focus-visible[b-b0glrbflko],
.aut-select:focus-visible[b-b0glrbflko],
.aut-textarea:focus-visible[b-b0glrbflko] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.aut-actions[b-b0glrbflko] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.aut-btn[b-b0glrbflko] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aut-btn:disabled[b-b0glrbflko] {
    opacity: 0.55;
    cursor: not-allowed;
}

.aut-btn:focus-visible[b-b0glrbflko] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.aut-btn-primary[b-b0glrbflko] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.aut-btn-primary:hover:not(:disabled)[b-b0glrbflko] {
    background: var(--st-accent-hover);
}

.aut-btn-secondary[b-b0glrbflko] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.aut-btn-secondary:hover:not(:disabled)[b-b0glrbflko] {
    background: var(--st-fill-4);
}

.aut-btn-danger[b-b0glrbflko] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

@media (max-width: 640px) {
    .aut-container[b-b0glrbflko] {
        padding: 12px;
    }

    .aut-title[b-b0glrbflko] {
        font-size: 20px;
    }

    .aut-actions .aut-btn[b-b0glrbflko] {
        flex: 1 1 auto;
    }
}

/* ─── Portals table ──────────────────────────────────────────────────────── */

.aut-row[b-b0glrbflko] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.aut-row:hover[b-b0glrbflko] {
    background: var(--st-fill-1);
}

.aut-portal[b-b0glrbflko] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aut-portal strong[b-b0glrbflko] {
    color: var(--st-text-strong);
}

.aut-portal code[b-b0glrbflko] {
    font-size: 11px;
    color: var(--st-text-muted);
}

.aut-cell-action[b-b0glrbflko] {
    text-align: right;
}

.aut-patches[b-b0glrbflko] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* /Pages/Settings/Automations/Components/AutomationsSettingsPanel.razor.rz.scp.css */
.asp-host[b-jrjtz5bc52] {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px 24px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--st-text-body);
}

.asp-head[b-jrjtz5bc52] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.asp-head-text[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asp-help[b-jrjtz5bc52] {
    flex: none;
}

.asp-title[b-jrjtz5bc52] {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--st-text-strong);
}

.asp-subtitle[b-jrjtz5bc52],
.asp-hint[b-jrjtz5bc52] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-muted);
}

.asp-label[b-jrjtz5bc52] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--st-text-muted);
}

.asp-layout[b-jrjtz5bc52] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .asp-layout[b-jrjtz5bc52] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ─── Level 1: categories ────────────────────────────────────────────────── */

.asp-categories[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asp-category[b-jrjtz5bc52] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.asp-category.selected[b-jrjtz5bc52] {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
}

.asp-category-icon[b-jrjtz5bc52] {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

.asp-category-body[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.asp-category-body strong[b-jrjtz5bc52] {
    font-size: 14px;
    color: var(--st-text-strong);
}

/* ─── Level 2: automations of the category ───────────────────────────────── */

.asp-main[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.asp-crumbs[b-jrjtz5bc52] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--st-text-muted);
}

.asp-crumb-link[b-jrjtz5bc52] {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.asp-crumb-link:hover[b-jrjtz5bc52],
.asp-crumb-link:focus-visible[b-jrjtz5bc52] {
    color: var(--st-accent-text);
    text-decoration: underline;
}

.asp-crumb-current[b-jrjtz5bc52] {
    color: var(--st-text-strong);
    font-weight: 600;
}

.asp-autos[b-jrjtz5bc52] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.asp-auto[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.asp-auto:hover[b-jrjtz5bc52],
.asp-auto:focus-visible[b-jrjtz5bc52] {
    border-color: var(--st-border-strong);
}

.asp-auto.selected[b-jrjtz5bc52] {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
}

.asp-auto-head[b-jrjtz5bc52] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.asp-auto-head strong[b-jrjtz5bc52] {
    font-size: 15px;
    color: var(--st-text-strong);
}

.asp-auto-text[b-jrjtz5bc52] {
    font-size: 13px;
    line-height: 1.45;
    color: var(--st-text-subtle);
}

.asp-pill[b-jrjtz5bc52] {
    flex: none;
    padding: 2px 9px;
    border-radius: 9999px;
    border: 1px solid var(--st-border);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--st-text-muted);
}

.asp-pill-success[b-jrjtz5bc52] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.asp-pill-gold[b-jrjtz5bc52] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

/* ─── Level 3: the selected automation ───────────────────────────────────── */

.asp-detail[b-jrjtz5bc52] {
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: var(--st-surface-sunken);
    min-width: 0;
    overflow: hidden;
}

.asp-toolbar[b-jrjtz5bc52] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}

.asp-chip[b-jrjtz5bc52] {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.asp-chip.selected[b-jrjtz5bc52] {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
    color: var(--st-text-strong);
}

.asp-chip-add[b-jrjtz5bc52] {
    border-style: dashed;
    color: var(--st-text-muted);
}

.asp-dot[b-jrjtz5bc52] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.asp-dot-success[b-jrjtz5bc52] {
    background: var(--st-success-text);
}

.asp-dot-gold[b-jrjtz5bc52] {
    background: var(--st-gold-text);
}

.asp-dot-danger[b-jrjtz5bc52] {
    background: var(--st-danger-text);
}

/* The template and the studio paint their own canvas on their routes; here they sit inside the detail card. */
.asp-detail[b-jrjtz5bc52]  .adc-container,
.asp-detail[b-jrjtz5bc52]  .pts-container,
.asp-detail[b-jrjtz5bc52]  .bu-container {
    background: transparent;
    padding: 20px;
    min-height: 0;
}

.asp-empty[b-jrjtz5bc52] {
    margin: 0;
    padding: 28px 20px;
    font-size: 14px;
    color: var(--st-text-subtle);
}

.asp-soon[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 24px;
}

.asp-soon strong[b-jrjtz5bc52] {
    font-size: 15px;
    color: var(--st-text-strong);
}

.asp-soon p[b-jrjtz5bc52] {
    margin: 0;
    max-width: 640px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-text-subtle);
}

.asp-repairs[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

/* ─── States ─────────────────────────────────────────────────────────────── */

.asp-state[b-jrjtz5bc52] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
}

.asp-state-warning[b-jrjtz5bc52] {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.asp-state-danger[b-jrjtz5bc52] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.asp-state-success[b-jrjtz5bc52] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.asp-btn[b-jrjtz5bc52] {
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ─── Recording a new template from a saved quote ────────────────────────── */

.asp-chip-studio[b-jrjtz5bc52] {
    margin-left: auto;
    border-style: dashed;
    color: var(--st-text-muted);
    font-weight: 500;
}

.asp-record[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.asp-record-intro[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asp-record-intro strong[b-jrjtz5bc52] {
    font-size: 15px;
    color: var(--st-text-strong);
}

.asp-record-intro p[b-jrjtz5bc52] {
    margin: 0;
    max-width: 720px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-text-subtle);
}

.asp-search[b-jrjtz5bc52] {
    max-width: 320px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 9999px;
    background: transparent;
    color: var(--st-text-body);
    font: inherit;
    font-size: 13px;
}

.asp-orders[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    overflow: hidden;
}

.asp-order[b-jrjtz5bc52] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.asp-order:last-child[b-jrjtz5bc52] {
    border-bottom: 0;
}

.asp-order-main[b-jrjtz5bc52] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.asp-order-main strong[b-jrjtz5bc52] {
    font-size: 14px;
    color: var(--st-text-strong);
}

.asp-btn-primary[b-jrjtz5bc52] {
    flex: none;
    border-color: var(--st-accent);
    background: var(--st-accent);
    color: #ffffff;
}
/* /Pages/Settings/Automations/Components/TemplateChip.razor.rz.scp.css */
.ptl-chip[b-pzmcb234in] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ptl-chip-info[b-pzmcb234in] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.ptl-chip-gold[b-pzmcb234in] {
    background: var(--st-gold-bg);
    border-color: var(--st-gold-border);
    color: var(--st-gold-text);
}

.ptl-chip-success[b-pzmcb234in] {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.ptl-chip-danger[b-pzmcb234in] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.ptl-chip-neutral[b-pzmcb234in] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-subtle);
    color: var(--st-text-subtle);
}
/* /Pages/Settings/Automations/Components/TemplatePatchCard.razor.rz.scp.css */
.tpc-card[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-subtle);
    min-width: 0;
}

.tpc-head[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tpc-head-main[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tpc-step[b-mqgiqb471h] {
    font-size: 15px;
    color: var(--st-text-strong);
    overflow-wrap: anywhere;
}

.tpc-chips[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tpc-meta[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: var(--st-text-muted);
}

.tpc-meta code[b-mqgiqb471h],
.tpc-diff code[b-mqgiqb471h],
.tpc-snippet code[b-mqgiqb471h],
.tpc-diff-sign[b-mqgiqb471h] {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
}

.tpc-meta code[b-mqgiqb471h] {
    color: var(--st-text-body);
    overflow-wrap: anywhere;
}

/* ─── Diff ───────────────────────────────────────────────────────────────── */

.tpc-diff[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--st-border-subtle);
    font-size: 13px;
}

.tpc-diff-row[b-mqgiqb471h] {
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    min-width: 0;
}

.tpc-diff-row code[b-mqgiqb471h] {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.tpc-diff-sign[b-mqgiqb471h] {
    flex: none;
    font-weight: 700;
}

.tpc-diff-old[b-mqgiqb471h] {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
}

.tpc-diff-new[b-mqgiqb471h] {
    background: var(--st-success-bg);
    color: var(--st-success-text);
}

/* ─── Confidence ─────────────────────────────────────────────────────────── */

.tpc-confidence[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.tpc-bar[b-mqgiqb471h] {
    flex: 1 1 120px;
    max-width: 240px;
    height: 6px;
    border-radius: 9999px;
    background: var(--st-surface-muted);
    overflow: hidden;
}

.tpc-bar-fill[b-mqgiqb471h] {
    height: 100%;
    border-radius: 9999px;
}

.tpc-bar-success[b-mqgiqb471h] {
    background: var(--st-success-fg);
}

.tpc-bar-gold[b-mqgiqb471h] {
    background: var(--st-brand-gold);
}

.tpc-bar-danger[b-mqgiqb471h] {
    background: var(--st-danger-fg);
}

.tpc-label[b-mqgiqb471h] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
}

.tpc-hint[b-mqgiqb471h] {
    margin: 0;
    font-size: 12px;
    color: var(--st-text-muted);
}

.tpc-reason[b-mqgiqb471h] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-body);
}

/* ─── HTML snippet (text only) ───────────────────────────────────────────── */

.tpc-snippet summary[b-mqgiqb471h] {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-body);
}

.tpc-snippet summary:focus-visible[b-mqgiqb471h] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.tpc-snippet pre[b-mqgiqb471h] {
    margin: 8px 0 0;
    padding: 10px 12px;
    max-height: 260px;
    overflow: auto;
    border-radius: 8px;
    background: var(--st-surface-sunken);
    color: var(--st-text-body);
    font-size: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ─── Decision ───────────────────────────────────────────────────────────── */

.tpc-confirm[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    background: var(--st-surface-sunken);
}

.tpc-confirm-question[b-mqgiqb471h] {
    margin: 0;
    font-size: 13px;
    color: var(--st-text-body);
}

.tpc-warning[b-mqgiqb471h] {
    color: var(--st-warning-text);
}

.tpc-textarea[b-mqgiqb471h] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    font-size: 13px;
    resize: vertical;
}

.tpc-textarea:focus-visible[b-mqgiqb471h] {
    outline: 2px solid var(--st-accent);
    outline-offset: 1px;
}

.tpc-error[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--st-danger-bg);
    border: 1px solid var(--st-danger-border);
    color: var(--st-danger-text);
    font-size: 13px;
}

.tpc-actions[b-mqgiqb471h] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.tpc-btn[b-mqgiqb471h] {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tpc-btn:disabled[b-mqgiqb471h] {
    opacity: 0.55;
    cursor: not-allowed;
}

.tpc-btn:focus-visible[b-mqgiqb471h] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.tpc-btn-primary[b-mqgiqb471h] {
    background: var(--st-accent);
    color: var(--st-on-accent);
}

.tpc-btn-primary:hover:not(:disabled)[b-mqgiqb471h] {
    background: var(--st-accent-hover);
}

.tpc-btn-secondary[b-mqgiqb471h] {
    background: var(--st-fill-2);
    border-color: var(--st-border-strong);
    color: var(--st-text-body);
}

.tpc-btn-secondary:hover:not(:disabled)[b-mqgiqb471h] {
    background: var(--st-fill-4);
}

.tpc-btn-danger[b-mqgiqb471h] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

/* ─── Plain explanation (what happened, what the AI found, what each choice does) ─ */

.tpc-plain[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.tpc-plain > div[b-mqgiqb471h] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .tpc-plain > div[b-mqgiqb471h] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}

.tpc-plain dt[b-mqgiqb471h] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
}

.tpc-plain dd[b-mqgiqb471h] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-text-body);
}

.tpc-confidence-word[b-mqgiqb471h] {
    font-weight: 600;
    color: var(--st-text-strong);
}

span.tpc-bar[b-mqgiqb471h],
span.tpc-bar-fill[b-mqgiqb471h] {
    display: block;
}

.tpc-tech[b-mqgiqb471h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.tpc-tech pre[b-mqgiqb471h] {
    margin: 0;
}
/* /Pages/Settings/Notifications/Components/NotificationCard.razor.rz.scp.css */
.st-notif-card[b-p82sjwzhxo] {
    background: var(--st-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-subtle);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 16px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.st-notif-card:hover[b-p82sjwzhxo] {
    border-color: var(--st-info-border);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.12);
}


.st-card-header[b-p82sjwzhxo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.st-event-info[b-p82sjwzhxo] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.st-event-icon[b-p82sjwzhxo] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--st-info-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.st-event-name[b-p82sjwzhxo] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.st-event-id[b-p82sjwzhxo] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

.st-badge-mandatory[b-p82sjwzhxo] {
    background: var(--st-warning-bg);
    color: var(--st-warning-fg);
    border: 1px solid var(--st-warning-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.st-switch[b-p82sjwzhxo] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.st-switch input[b-p82sjwzhxo] {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-slider[b-p82sjwzhxo] {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--st-surface-stronger);
    transition: .3s;
    border-radius: 26px;
}

.st-slider[b-p82sjwzhxo]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .st-slider[b-p82sjwzhxo] {
    background-color: #3b82f6;
}

input:checked + .st-slider[b-p82sjwzhxo]:before {
    transform: translateX(22px);
}

.st-card-body[b-p82sjwzhxo] {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--st-border-subtle);
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: center;
}

.st-option-group[b-p82sjwzhxo] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-option-label[b-p82sjwzhxo] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--st-text-secondary);
}

.st-select[b-p82sjwzhxo] {
    background: var(--st-input-bg);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
}

.st-btn-test[b-p82sjwzhxo] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s ease;
}

.st-btn-test:hover:not(:disabled)[b-p82sjwzhxo] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.st-btn-test:disabled[b-p82sjwzhxo] {
    opacity: 0.6;
    cursor: not-allowed;
}

.st-spinner[b-p82sjwzhxo] {
    width: 14px;
    height: 14px;
    border: 2px solid var(--st-border-stronger);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-p82sjwzhxo 0.8s linear infinite;
}

@keyframes spin-b-p82sjwzhxo {
    to { transform: rotate(360deg); }
}
/* /Pages/Settings/Notifications/Components/TenantSettingsTab.razor.rz.scp.css */
.st-tab-content[b-v7fnsihbf0] {
    animation: fadeIn 0.3s ease-in-out;
}

.st-tab-header-description[b-v7fnsihbf0] {
    margin-bottom: 24px;
}

.st-tab-header-description h3[b-v7fnsihbf0] {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    color: var(--st-text-strong);
}

.st-tab-header-description p[b-v7fnsihbf0] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--st-text-muted);
}

.st-tenant-list[b-v7fnsihbf0] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-tenant-card[b-v7fnsihbf0] {
    background: var(--st-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-subtle);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.st-tenant-info[b-v7fnsihbf0] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.st-tenant-icon[b-v7fnsihbf0] {
    font-size: 1.5rem;
}

.st-tenant-title[b-v7fnsihbf0] {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.st-tenant-sub[b-v7fnsihbf0] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

.st-checkbox-label[b-v7fnsihbf0] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--st-text-secondary);
}

.st-checkbox-label input[type="checkbox"][b-v7fnsihbf0] {
    width: 18px;
    height: 18px;
    accent-color: #f59e0b;
    cursor: pointer;
}

.st-empty-state[b-v7fnsihbf0] {
    text-align: center;
    padding: 48px 24px;
    background: var(--st-surface-muted);
    border-radius: 16px;
    color: var(--st-text-muted);
}

.st-empty-state span[b-v7fnsihbf0] {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}
/* /Pages/Settings/Notifications/Components/UserPreferencesTab.razor.rz.scp.css */
.st-tab-content[b-opxksus9ns] {
    animation: fadeIn-b-opxksus9ns 0.3s ease-in-out;
}

.st-tab-header-description[b-opxksus9ns] {
    margin-bottom: 24px;
}

.st-tab-header-description h3[b-opxksus9ns] {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    color: var(--st-text-strong);
}

.st-tab-header-description p[b-opxksus9ns] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--st-text-muted);
}

.st-cards-list[b-opxksus9ns] {
    display: flex;
    flex-direction: column;
}

.st-skeleton-container[b-opxksus9ns] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-skeleton-card[b-opxksus9ns] {
    height: 110px;
    background: linear-gradient(90deg, var(--st-fill-1) 25%, var(--st-fill-3) 50%, var(--st-fill-1) 75%);
    background-size: 200% 100%;
    animation: skeletonWave-b-opxksus9ns 1.5s infinite;
    border-radius: 14px;
}

@keyframes skeletonWave-b-opxksus9ns {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn-b-opxksus9ns {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-empty-state[b-opxksus9ns] {
    text-align: center;
    padding: 48px 24px;
    background: var(--st-surface-muted);
    border-radius: 16px;
    color: var(--st-text-muted);
}

.st-empty-state span[b-opxksus9ns] {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}
/* /Pages/Settings/Notifications/NotificationSettingsPage.razor.rz.scp.css */
.st-settings-page[b-xbslvtptif] {
    padding: 32px;
    max-width: 1100px;
    margin: 0 auto;
    color: var(--st-text-strong);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.st-header[b-xbslvtptif] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.st-page-title[b-xbslvtptif] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--st-text-strong);
}

.st-page-subtitle[b-xbslvtptif] {
    font-size: 0.95rem;
    color: var(--st-text-muted);
    margin: 0;
}

.st-status-badge[b-xbslvtptif] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--st-success-bg);
    border: 1px solid var(--st-success-border);
    color: var(--st-success-fg);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.st-status-dot[b-xbslvtptif] {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.st-toast-banner[b-xbslvtptif] {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideDown-b-xbslvtptif 0.25s ease-out;
}

.st-toast-banner--error[b-xbslvtptif] {
    background: var(--st-danger-bg-strong);
    border: 1px solid var(--st-danger-border);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    color: var(--st-danger-fg);
}

.st-toast-banner--warning[b-xbslvtptif] {
    background: var(--st-warning-bg-strong);
    border: 1px solid var(--st-warning-border);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    color: var(--st-warning-fg);
}

.st-toast-banner--success[b-xbslvtptif] {
    background: var(--st-success-bg-strong);
    border: 1px solid var(--st-success-border);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    color: var(--st-success-fg);
}

.st-toast-banner--info[b-xbslvtptif] {
    background: var(--st-info-bg-strong);
    border: 1px solid var(--st-info-border);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    color: var(--st-info-fg);
}

@keyframes slideDown-b-xbslvtptif {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-tabs-nav[b-xbslvtptif] {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--st-border);
    padding-bottom: 12px;
    margin-bottom: 28px;
}

.st-tab-btn[b-xbslvtptif] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-tab-btn:hover[b-xbslvtptif] {
    color: var(--st-text-strong);
    background: var(--st-fill-2);
}

.st-tab-btn.active[b-xbslvtptif] {
    color: var(--st-text-strong);
    background: var(--st-info-bg-strong);
    border: 1px solid var(--st-info-border);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.st-page-body[b-xbslvtptif] {
    margin-top: 12px;
}
/* /Pages/SysColor/Catalogs/ContainersPanel.razor.rz.scp.css */
/* What is only of this catalog: the rest is the shared look of SysColorPage.razor.css. */
.cp-panel[b-735jldw4j0] {
    max-width: 1100px;
}

.cp-thumb[b-735jldw4j0] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    display: inline-block;
}

.cp-thumb-empty[b-735jldw4j0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-strong);
    color: var(--st-text-muted);
    font-size: 14px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.cp-photo[b-735jldw4j0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-photo-preview[b-735jldw4j0] {
    width: 100%;
    max-height: 130px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--st-border-strong);
}
/* /Pages/SysColor/Catalogs/OperationTypesPanel.razor.rz.scp.css */
/* What is only of this catalog: the rest is the shared look of SysColorPage.razor.css. */
.ot-panel[b-vy8a5j63r2] {
    max-width: 1080px;
}
/* /Pages/SysColor/Catalogs/StandardsPanel.razor.rz.scp.css */
/* What is only of this catalog: the rest is the shared look of SysColorPage.razor.css. */
.sm-panel[b-snvn7xi1k1] {
    max-width: 1180px;
}

.sm-table[b-snvn7xi1k1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sm-table th[b-snvn7xi1k1],
.sm-table td[b-snvn7xi1k1] {
    border-bottom: 1px solid var(--st-border-subtle);
    padding: 8px 10px;
    vertical-align: middle;
}

.sm-table thead th[b-snvn7xi1k1] {
    background: var(--st-surface-muted);
    border-bottom: 1px solid var(--st-border);
    text-align: center;
    vertical-align: bottom;
}

/* La columna del nivel se queda fija: con nueve fases la tabla se desplaza y sin esto se pierde
   de vista a qué nivel pertenece la celda que se está escribiendo. */
.sm-level-col[b-snvn7xi1k1] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--st-surface);
    text-align: left;
    min-width: 190px;
    box-shadow: 1px 0 0 var(--st-border-subtle);
}

.sm-table thead .sm-level-col[b-snvn7xi1k1] {
    background: var(--st-surface-muted);
    box-shadow: 1px 0 0 var(--st-border);
}

.sm-level-name[b-snvn7xi1k1] {
    display: block;
    font-weight: 600;
    color: var(--st-text-strong);
}

.sm-level-meta[b-snvn7xi1k1] {
    display: block;
    font-size: 11px;
    color: var(--st-text-subtle);
    margin-top: 2px;
}

.sm-level-warn[b-snvn7xi1k1] {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--st-danger-text);
    background: var(--st-danger-bg);
    border-radius: 4px;
    padding: 1px 6px;
}

.sm-phase[b-snvn7xi1k1] {
    min-width: 92px;
}

.sm-phase-name[b-snvn7xi1k1] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-body);
}

.sm-phase-meta[b-snvn7xi1k1] {
    display: block;
    font-size: 10px;
    color: var(--st-text-subtle);
    margin-top: 2px;
    font-weight: 400;
}

.sm-phase-meta.warn[b-snvn7xi1k1] {
    color: var(--st-warning-text);
}

.sm-phase.mute .sm-phase-name[b-snvn7xi1k1] {
    color: var(--st-text-subtle);
}

.sm-cell[b-snvn7xi1k1] {
    text-align: center;
    white-space: nowrap;
}

/* Three classes: the shared look of the fields is declared with two. */
.sct-page.sm-panel .sm-cell-input.sm-cell-input[b-snvn7xi1k1] {
    width: 52px;
    min-height: 30px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 13px;
    text-align: right;
}

.sct-page.sm-panel .sm-cell-input.sm-cell-input[readonly][b-snvn7xi1k1] {
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
}

.sm-cell-suffix[b-snvn7xi1k1] {
    font-size: 11px;
    color: var(--st-text-subtle);
    margin-left: 3px;
}

/* Propia del taller: el acento, el mismo que la leyenda. */
.sct-page .sm-cell.own .sm-cell-input.sm-cell-input[b-snvn7xi1k1] {
    border-color: var(--st-accent);
    font-weight: 600;
}

/* Heredada: se lee, pero no compite visualmente con lo que el taller decidió. */
.sct-page .sm-cell.inherited .sm-cell-input.sm-cell-input[b-snvn7xi1k1] {
    color: var(--st-text-muted);
    background: var(--st-surface-sunken);
}

.sct-page .sm-cell.edited .sm-cell-input.sm-cell-input[b-snvn7xi1k1] {
    border-color: var(--st-warning-border);
    background: var(--st-warning-bg);
}

.sm-cell-note[b-snvn7xi1k1] {
    display: block;
    font-size: 10px;
    color: var(--st-text-subtle);
    margin-top: 2px;
}

.sm-table tbody tr.dirty[b-snvn7xi1k1] {
    background: var(--st-warning-bg);
}

/* Fija a la derecha, por el mismo motivo que la del nivel lo está a la izquierda: con nueve fases
   la tabla se desplaza y el botón de guardar quedaba cortado contra el borde — el usuario veía
   «Guard» y tenía que arrastrar la barra para poder pulsarlo. */
.sm-actions-col[b-snvn7xi1k1] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--st-surface);
    white-space: nowrap;
    text-align: right;
    min-width: 138px;
    box-shadow: -1px 0 0 var(--st-border-subtle);
}

.sm-table thead .sm-actions-col[b-snvn7xi1k1] {
    background: var(--st-surface-muted);
    box-shadow: -1px 0 0 var(--st-border);
}

/* Las dos columnas fijas llevan fondo propio para poder tapar lo que pasa por debajo, así que el
   resaltado de la fila modificada hay que repetírselo o se ven dos parches blancos. */
.sm-table tbody tr.dirty .sm-level-col[b-snvn7xi1k1],
.sm-table tbody tr.dirty .sm-actions-col[b-snvn7xi1k1] {
    background: var(--st-warning-bg);
}

/* Regla del fondo: una línea con su interruptor y el umbral, debajo de la matriz. */
.sm-rule[b-snvn7xi1k1] {
    margin-top: 14px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
}

.sm-rule-switch[b-snvn7xi1k1] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--st-text-strong);
    flex: 1 1 320px;
}

.sm-rule-input[b-snvn7xi1k1] {
    margin: 0 4px;
}

.sm-rule-origin[b-snvn7xi1k1] {
    font-size: 11px;
    color: var(--st-text-subtle);
}
/* /Pages/SysColor/SysColorPage.razor.rz.scp.css */
/* ── SysColor is one more screen of SysTime (user, 2026-11-23: «son dos herramientas por separado pero en sí son una») ──
   Letter, backgrounds, buttons and fields are the ones of SysTime: the tokens of css/theme.css. The content is white by
   default (user, 2026-11-24): it forces the light mode (data-st-theme in SysColorPage). Fields, buttons and spacing are declared once here for every screen, under `.sct-page`: the delivery assistant
   of SysTime also renders inside `.sc-content` and keeps its own look because it hangs outside of it. */
.sc-shell[b-ai8d2ojlzv] {
    display: flex;
    min-height: 100vh;
    background: var(--st-canvas);
    color: var(--st-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.sc-nav[b-ai8d2ojlzv] {
    width: 232px;
    flex-shrink: 0;
    background: var(--st-app-frame);
    color: var(--st-text);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 4px;
}

.sc-back[b-ai8d2ojlzv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-subtle);
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}

.sc-back:hover[b-ai8d2ojlzv],
.sc-back:focus-visible[b-ai8d2ojlzv] {
    color: var(--st-text-strong);
    background: var(--st-fill-3);
}

.sc-brand[b-ai8d2ojlzv] {
    display: flex;
    align-items: center;
    padding: 4px 12px 16px;
}

/* El logotipo de SysColor: caja alta, peso fuerte y tracking abierto, como en la marca del taller.
   Va sin la palabra CONNECT.

   Es una reconstrucción con tipografía del sistema, no el logotipo real: la marca usa una grotesca
   geométrica que no está en Windows, y traer una fuente externa por dos palabras no compensa. Si el
   archivo del logo entra en wwwroot, esto se reemplaza por la imagen y queda exacto.

   El azul de la marca no se usa aquí a propósito: sobre el azul del riel no tendría contraste suficiente
   para leerse. */
.sc-brand-name[b-ai8d2ojlzv] {
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.1;
    color: var(--st-text-strong);
}

.sc-brand-sub[b-ai8d2ojlzv] {
    font-size: 11px;
    color: var(--st-text-subtle);

    /* Un pelo de tracking para que cuelgue del logotipo en vez de flotar suelto debajo. */
    letter-spacing: .03em;
    margin-top: 4px;
}

.sc-group[b-ai8d2ojlzv] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--st-text-muted);
    padding: 12px 12px 4px;
}

.sc-item[b-ai8d2ojlzv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    text-align: left;
    background: none;
    border: none;
    color: var(--st-text-secondary);
    padding: 8px 12px;
    border-radius: 12px;
    font: inherit;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.sc-item:hover:not([aria-disabled="true"])[b-ai8d2ojlzv] {
    background: var(--st-fill-3);
    color: var(--st-text-strong);
}

/* The gold of the active entry of the SysTime menu. Navy text: white on this gold does not reach the contrast. */
.sc-item.active[b-ai8d2ojlzv],
.sc-item.active:hover:not([aria-disabled="true"])[b-ai8d2ojlzv] {
    background: var(--st-brand-gold);
    color: var(--st-app-frame);
    font-weight: 600;
}

.sc-back:focus-visible[b-ai8d2ojlzv],
.sc-item:focus-visible[b-ai8d2ojlzv] {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.sc-item.permission-disabled[b-ai8d2ojlzv],
.sc-item[aria-disabled="true"][b-ai8d2ojlzv] {
    color: var(--st-text-faint);
    cursor: help;
    filter: grayscale(1);
    opacity: .48;
}

.sc-item.permission-disabled.active[b-ai8d2ojlzv],
.sc-item[aria-disabled="true"].active[b-ai8d2ojlzv],
.sc-item.permission-disabled:hover[b-ai8d2ojlzv],
.sc-item[aria-disabled="true"]:hover[b-ai8d2ojlzv] {
    background: transparent;
    box-shadow: none;
    color: var(--st-text-faint);
    transform: none;
}

.sc-item.permission-disabled:focus-visible[b-ai8d2ojlzv],
.sc-item[aria-disabled="true"]:focus-visible[b-ai8d2ojlzv],
.sc-content[b-ai8d2ojlzv]  .permission-disabled:focus-visible {
    outline: 2px solid var(--st-brand-gold);
    outline-offset: 2px;
}

.sc-content[b-ai8d2ojlzv]  .permission-disabled {
    cursor: help;
    filter: grayscale(1);
    opacity: .48;
}

.sc-content[b-ai8d2ojlzv]  .permission-disabled:hover {
    box-shadow: none;
    transform: none;
}

.sc-content[b-ai8d2ojlzv] {
    background: var(--st-surface);
    flex: 1;
    min-width: 0;
    padding: 24px 32px;
    overflow-x: auto;
}

@media (max-width: 720px) {
    .sc-content[b-ai8d2ojlzv] { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-item[b-ai8d2ojlzv],
    .sc-content[b-ai8d2ojlzv]  .permission-disabled {
        transition: none !important;
    }
}

/* ── Every screen is a stack: the same room between one block and the next ───────────────────────────────────────────
   The gap belongs to the stack and not to each block (user, 2026-11-23: «contenedores que no tienen separación el uno del
   otro»): a new block cannot come out glued to the one above. */
.sc-content[b-ai8d2ojlzv]  .sct-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-content[b-ai8d2ojlzv]  .sct-page.sct-page > *,
.sc-content[b-ai8d2ojlzv]  .sct-stack.sct-stack > * {
    margin-top: 0;
    margin-bottom: 0;
}

/* Blocks that go one under the other inside a column of the screen. */
.sc-content[b-ai8d2ojlzv]  .sct-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* A section starts: a little more room above it, and its title stays close to what it names. */
.sc-content[b-ai8d2ojlzv]  .sct-page.sct-page > .sct-heading,
.sc-content[b-ai8d2ojlzv]  .sct-page.sct-page > * + .sct-head {
    margin-top: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-page.sct-page > .sct-heading,
.sc-content[b-ai8d2ojlzv]  .sct-page.sct-page > * + .sct-head {
    margin-bottom: -4px;
}

.sc-content[b-ai8d2ojlzv]  .sct-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

/* The titles take the free room: the help of a title hangs from it and needs width. */
.sc-content[b-ai8d2ojlzv]  .sct-head > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-head > .sct-actions {
    margin-top: 0;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .sc-content[b-ai8d2ojlzv]  .sct-head { flex-direction: column; }
    .sc-content[b-ai8d2ojlzv]  .sct-head > .sct-actions { justify-content: flex-start; }
}

/* Two or three controls in one line: dates, year and month. */
.sc-content[b-ai8d2ojlzv]  .sct-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-inline label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-subtle);
}

/* ── Titles with their help hidden (SysColorTitle) ─────────────────────────────────────────────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-heading {
    position: relative;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-title,
.sc-content[b-ai8d2ojlzv]  .sct-form-title {
    width: fit-content;
    max-width: 100%;
    color: var(--st-text-strong);
    line-height: 1.3;
}

.sc-content[b-ai8d2ojlzv]  .sct-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.sc-content[b-ai8d2ojlzv]  .sct-form-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

/* The only sign that a title has help: the mouse and the dotted line when it passes over it. */
.sc-content[b-ai8d2ojlzv]  .has-help {
    cursor: help;
    border-radius: 4px;
}

.sc-content[b-ai8d2ojlzv]  .has-help:hover,
.sc-content[b-ai8d2ojlzv]  .has-help:focus-visible {
    text-decoration: underline dotted var(--st-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.sc-content[b-ai8d2ojlzv]  .has-help:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 4px;
}

.sc-content[b-ai8d2ojlzv]  .sct-tip {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    width: max-content;
    max-width: min(520px, 100%);
    padding: 12px 16px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    box-shadow: var(--st-shadow-md);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--st-text-body);
    text-align: left;
    animation: sct-tip-in-b-ai8d2ojlzv .16s ease-out .12s both;
}

/* The gap between the title and its help is part of the help: the mouse crosses it without closing it. */
.sc-content[b-ai8d2ojlzv]  .sct-tip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.sc-content[b-ai8d2ojlzv]  .sct-tip p {
    margin: 0;
    max-width: none;
}

.sc-content[b-ai8d2ojlzv]  .sct-tip p + p { margin-top: 8px; }

.sc-content[b-ai8d2ojlzv]  .has-help:hover + .sct-tip,
.sc-content[b-ai8d2ojlzv]  .has-help:focus-visible + .sct-tip,
.sc-content[b-ai8d2ojlzv]  .sct-tip:hover {
    display: block;
}

@keyframes sct-tip-in-b-ai8d2ojlzv {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-content[b-ai8d2ojlzv]  .sct-tip { animation: none; }
}

.sc-content[b-ai8d2ojlzv]  .sct-sub {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-text-subtle);
    max-width: 88ch;
}

/* ── Icons, the way back and the small button of a row ─────────────────────────────────────────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-icon {
    flex: none;
    vertical-align: -1px;
}

.sc-content[b-ai8d2ojlzv]  .sct-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 32px;
    margin: 0 0 8px;
    padding: 4px 14px 4px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    color: var(--st-text-secondary);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.sc-content[b-ai8d2ojlzv]  .sct-back .sct-icon { color: var(--st-accent); }

.sc-content[b-ai8d2ojlzv]  .sct-back:hover {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
    color: var(--st-text-strong);
}

.sc-content[b-ai8d2ojlzv]  .sct-back:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-icon-btn:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-link:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-chip:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-phase:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-collapse-head:focus-visible,
.sc-content[b-ai8d2ojlzv]  .sct-btn:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.sc-content[b-ai8d2ojlzv]  .sct-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--st-text-muted);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.sc-content[b-ai8d2ojlzv]  .sct-icon-btn:hover {
    background: var(--st-danger-bg);
    color: var(--st-danger-fg);
}

/* ── Fields: one look for every box, list and date of SysColor ─────────────────────────────────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-page input,
.sc-content[b-ai8d2ojlzv]  .sct-page select,
.sc-content[b-ai8d2ojlzv]  .sct-page textarea {
    box-sizing: border-box;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background-color: var(--st-input-bg);
    color: var(--st-text);
    font: inherit;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 20px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input::placeholder,
.sc-content[b-ai8d2ojlzv]  .sct-page textarea::placeholder {
    color: var(--st-text-muted);
    opacity: 1;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input:hover,
.sc-content[b-ai8d2ojlzv]  .sct-page select:hover,
.sc-content[b-ai8d2ojlzv]  .sct-page textarea:hover {
    border-color: var(--st-border-stronger);
}

.sc-content[b-ai8d2ojlzv]  .sct-page input:focus,
.sc-content[b-ai8d2ojlzv]  .sct-page select:focus,
.sc-content[b-ai8d2ojlzv]  .sct-page textarea:focus {
    outline: none;
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.sc-content[b-ai8d2ojlzv]  .sct-page input:disabled,
.sc-content[b-ai8d2ojlzv]  .sct-page select:disabled,
.sc-content[b-ai8d2ojlzv]  .sct-page textarea:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* The arrows of the number boxes: nobody counts grams by clicks and they cover the figure. */
.sc-content[b-ai8d2ojlzv]  .sct-page input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="number"]::-webkit-inner-spin-button,
.sc-content[b-ai8d2ojlzv]  .sct-page input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: none;
    accent-color: var(--st-accent);
    box-shadow: none;
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="date"] { cursor: pointer; }

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="date"]::-webkit-calendar-picker-indicator {
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    opacity: .7;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: var(--st-fill-4);
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

/* The photo of a container: the button of the file box is one more button. */
.sc-content[b-ai8d2ojlzv]  .sct-page input[type="file"] {
    width: 100%;
    padding: 6px;
    font-size: 12.5px;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-page input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 4px 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* The lists (user, 2026-11-23: «ese buscador de trabajos no tiene estilos»). The closed box is the one of SysTime, with its
   magenta triangle; the open list follows below for the browsers that let it be drawn. */
.sc-content[b-ai8d2ojlzv]  .sct-page select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 120px;
    padding-right: 36px;
    background-image: linear-gradient(45deg, transparent 50%, var(--st-accent) 50%), linear-gradient(135deg, var(--st-accent) 50%, transparent 50%);
    background-position: right 18px center, right 13px center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-page select option {
    background-color: var(--st-surface-raised);
    color: var(--st-text);
}

@supports (appearance: base-select) {
    .sc-content[b-ai8d2ojlzv]  .sct-page select,
    .sc-content[b-ai8d2ojlzv]  .sct-page select::picker(select) {
        appearance: base-select;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select {
        display: inline-block;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select::picker-icon {
        display: none;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select:open {
        border-color: var(--st-accent);
        box-shadow: 0 0 0 3px var(--st-accent-bg);
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select::picker(select) {
        margin-top: 4px;
        max-height: 320px;
        padding: 4px;
        border: 1px solid var(--st-border-strong);
        border-radius: 12px;
        background: var(--st-surface-raised);
        color: var(--st-text);
        box-shadow: var(--st-shadow-md);
        overflow-y: auto;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select option {
        min-height: 36px;
        padding: 8px 12px;
        border-radius: 8px;
        background: transparent;
        font-size: 13.5px;
        line-height: 20px;
        cursor: pointer;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select option::checkmark {
        display: none;
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select option:hover,
    .sc-content[b-ai8d2ojlzv]  .sct-page select option:focus-visible {
        outline: none;
        background: var(--st-fill-3);
    }

    .sc-content[b-ai8d2ojlzv]  .sct-page select option:checked {
        background: var(--st-accent-bg);
        color: var(--st-accent-text);
        font-weight: 600;
    }
}

/* Search boxes: the magnifying glass sits inside the box. */
.sc-content[b-ai8d2ojlzv]  .sct-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sc-content[b-ai8d2ojlzv]  .sct-search > .sct-icon,
.sc-content[b-ai8d2ojlzv]  .sct-picker > .sct-icon {
    position: absolute;
    left: 12px;
    top: 18px;
    transform: translateY(-50%);
    color: var(--st-text-muted);
    pointer-events: none;
}

.sc-content[b-ai8d2ojlzv]  .sct-page .sct-search > input,
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-picker > input {
    padding-left: 36px;
}

/* ── Estilos compartidos por los paneles hijos (F2) ── */

.sc-content[b-ai8d2ojlzv]  .sct-toast {
    background: var(--st-success-bg);
    color: var(--st-success-fg);
    border: 1px solid var(--st-success-border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    margin-bottom: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-toast.error {
    background: var(--st-danger-bg);
    color: var(--st-danger-text);
    border-color: var(--st-danger-border);
}

/* A note that stays on the screen: what cannot be done here and why. */
.sc-content[b-ai8d2ojlzv]  .sct-note {
    background: var(--st-warning-bg);
    border: 1px solid var(--st-warning-border);
    color: var(--st-warning-text);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
}

.sc-content[b-ai8d2ojlzv]  .sct-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

@media (max-width: 1100px) {
    .sc-content[b-ai8d2ojlzv]  .sct-grid { grid-template-columns: minmax(0, 1fr); }
}

.sc-content[b-ai8d2ojlzv]  .sct-table-wrap {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: var(--st-shadow-sm);
    overflow-x: auto;
}

.sc-content[b-ai8d2ojlzv]  .sct-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--st-text-body);
}

.sc-content[b-ai8d2ojlzv]  .sct-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--st-text-subtle);
    padding: 10px 12px;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-muted);
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: middle;
}

.sc-content[b-ai8d2ojlzv]  .sct-table tbody tr:last-child > td { border-bottom: 0; }

.sc-content[b-ai8d2ojlzv]  .sct-table tbody tr:hover {
    background: var(--st-surface-muted);
}

.sc-content[b-ai8d2ojlzv]  .sct-table tbody tr.selected {
    background: var(--st-accent-bg);
}

.sc-content[b-ai8d2ojlzv]  .sct-table tr.sct-row-open { cursor: pointer; }

.sc-content[b-ai8d2ojlzv]  .sct-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .mono {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
    font-size: 12.5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-form {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: var(--st-shadow-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-form > .sct-heading,
.sc-content[b-ai8d2ojlzv]  .sct-form > .sct-form-title {
    margin-bottom: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-form > * + .sct-heading,
.sc-content[b-ai8d2ojlzv]  .sct-form > * + .sct-form-title {
    margin-top: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-form label {
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-subtle);
    margin-top: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-form label.sct-check,
.sc-content[b-ai8d2ojlzv]  label.sct-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    font-size: 13px;
    color: var(--st-text-body);
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-form input,
.sc-content[b-ai8d2ojlzv]  .sct-form select,
.sc-content[b-ai8d2ojlzv]  .sct-form textarea,
.sc-content[b-ai8d2ojlzv]  .sct-paint-side input,
.sc-content[b-ai8d2ojlzv]  .sct-paint-side select {
    width: 100%;
}

.sc-content[b-ai8d2ojlzv]  .sct-form .sct-search { width: 100%; }

/* Inside the filter row of a card each control keeps its own width. */
.sc-content[b-ai8d2ojlzv]  .sct-form .sct-filter input,
.sc-content[b-ai8d2ojlzv]  .sct-form .sct-filter select {
    width: auto;
}

/* A state is a colour swatch and its word, the same swatch of the legends (.sct-dot), never a tinted pill (user,
   2026-11-24). Without a state it is a side note: plain quiet text. */
.sc-content[b-ai8d2ojlzv]  .sct-badge {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: normal;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-badge:is(.on, .off, .warn, .bad, .ok, .vision, .own, .platform) {
    --sct-swatch: var(--st-border-stronger);
    position: relative;
    padding-left: 16px;
    color: var(--st-text-secondary);
}

.sc-content[b-ai8d2ojlzv]  .sct-badge:is(.on, .off, .warn, .bad, .ok, .vision, .own, .platform)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--sct-swatch);
}

.sc-content[b-ai8d2ojlzv]  .sct-badge:is(.on, .off, .warn, .bad, .ok, .own, .platform)::first-letter { text-transform: uppercase; }

.sc-content[b-ai8d2ojlzv]  .sct-badge.on,
.sc-content[b-ai8d2ojlzv]  .sct-badge.ok { --sct-swatch: var(--st-success-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-badge.warn { --sct-swatch: var(--st-brand-gold); }
.sc-content[b-ai8d2ojlzv]  .sct-badge.bad { --sct-swatch: var(--st-danger-fg); color: var(--st-danger-fg); font-weight: 600; }
.sc-content[b-ai8d2ojlzv]  .sct-badge.vision { --sct-swatch: var(--st-info-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-badge.own { --sct-swatch: var(--st-accent); }
.sc-content[b-ai8d2ojlzv]  .sct-badge.off { --sct-swatch: var(--st-border-strong); color: var(--st-text-subtle); }

/* It follows a text of the same cell or title. */
.sc-content[b-ai8d2ojlzv]  .sct-badge.trail,
.sc-content[b-ai8d2ojlzv]  .sct-title .sct-badge { margin-left: 12px; }

.sc-content[b-ai8d2ojlzv]  .sct-table td:has(> .sct-badge.trail),
.sc-content[b-ai8d2ojlzv]  .sct-table td:has(> .sct-plate) { white-space: nowrap; }

/* The licence plate, drawn as one: it goes before the vehicle, so the plates line up in the column. */
.sc-content[b-ai8d2ojlzv]  .sct-plate {
    display: inline-block;
    min-width: 70px;
    margin-right: 10px;
    padding: 1px 7px;
    border: 1.5px solid var(--st-border-stronger);
    border-radius: 4px;
    color: var(--st-text-strong);
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: .06em;
    text-align: center;
    white-space: nowrap;
}

/* A figure with a verdict: the colour of the number, no container. */
.sc-content[b-ai8d2ojlzv]  .sct-figure { font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-content[b-ai8d2ojlzv]  .sct-figure:is(.on, .ok) { color: var(--st-success-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-figure.warn { color: var(--st-warning-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-figure.bad { color: var(--st-danger-fg); }

/* Candidatos de modelo: se tocan, no se leen en lista. */
.sc-content[b-ai8d2ojlzv]  .sct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 16px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-surface-raised);
    color: var(--st-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.sc-content[b-ai8d2ojlzv]  .sct-btn:hover:not(:disabled) {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
}

.sc-content[b-ai8d2ojlzv]  .sct-btn.primary {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: var(--st-on-accent);
}

.sc-content[b-ai8d2ojlzv]  .sct-btn.primary:hover:not(:disabled) {
    background: var(--st-accent-hover);
    border-color: var(--st-accent-hover);
}

.sc-content[b-ai8d2ojlzv]  .sct-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.sc-content[b-ai8d2ojlzv]  .sct-btn.danger {
    background: #dc2626;
    border-color: #dc2626;
    color: var(--st-on-accent);
}

.sc-content[b-ai8d2ojlzv]  .sct-btn.danger:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* A button inside a row of a table. */
.sc-content[b-ai8d2ojlzv]  .sct-btn.small {
    min-height: 28px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--st-accent-text);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px;
}

.sc-content[b-ai8d2ojlzv]  .sct-link:hover:not(:disabled) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sc-content[b-ai8d2ojlzv]  .sct-empty {
    padding: 32px;
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 13.5px;
}

/* Carga: mismo anillo que usa el resto de SysTime (inbox, timeline), con la paleta del modulo.
   Va con ::deep porque los paneles son componentes hijos y el CSS aislado no les llega solo. */
.sc-content[b-ai8d2ojlzv]  .sct-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    color: var(--st-text-subtle);
    font-size: 13.5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-spinner {
    width: 18px;
    height: 18px;
    flex: none;
    border: 2px solid var(--st-border-strong);
    border-top-color: var(--st-accent);
    border-radius: 50%;
    animation: sct-spin-b-ai8d2ojlzv 0.8s linear infinite;
}

@keyframes sct-spin-b-ai8d2ojlzv {
    to { transform: rotate(360deg); }
}

/* Respeta a quien pidio menos animacion: el anillo se queda quieto en vez de girar. */
@media (prefers-reduced-motion: reduce) {
    .sc-content[b-ai8d2ojlzv]  .sct-spinner { animation: none; }
}

/* Barra de filtros con varios controles (marca -> modelo -> buscar): se reparten en linea y
   bajan solos en pantallas angostas en vez de desbordar la tabla. */
.sc-content[b-ai8d2ojlzv]  div.sct-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 12px 16px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface);
    box-shadow: var(--st-shadow-sm);
    font-size: 13px;
}

.sc-content[b-ai8d2ojlzv]  .sct-filter label {
    margin: 0;
    color: var(--st-text-subtle);
    font-size: 12px;
    font-weight: 500;
}

.sc-content[b-ai8d2ojlzv]  .sct-filter .sct-back { margin: 0; }

/* Inside a card the row of filters is part of the card, not another card. */
.sc-content[b-ai8d2ojlzv]  .sct-form div.sct-filter {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* ── Ficha del vehiculo: foto + placa + specs, como la ficha de activo de SysTime ───────── */

.sc-content[b-ai8d2ojlzv]  .sct-asset {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
}

/* Mismas medidas de la tarjeta de SysTime: esquina de 14 px y foto recortada a cubrir. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-photo {
    position: relative;
    flex: none;
    width: 116px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--st-surface-strong);
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sin foto: el gris y la camara blanca de AssetCard, para que la ausencia se lea igual que alla. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-noimg {
    width: 100%;
    height: 100%;
    background: darkgrey;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The drawing brings its own margin (the camera takes a quarter of its width): it fills the photo, as in AssetCard. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-noimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-body {
    flex: 1;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-title h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: 0.5px;
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-vehicle {
    font-size: 13.5px;
    color: var(--st-text-subtle);
}

/* auto-fit: las 14 celdas se reparten segun el ancho y bajan solas en vez de desbordarse. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px 14px;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-specs > div {
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-specs span {
    display: block;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

/* El valor no se parte a mitad de palabra: si no cabe, se recorta con puntos suspensivos y el
   dato completo queda en el title del navegador. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-specs strong {
    display: block;
    font-size: 13px;
    color: var(--st-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-specs .sct-badge {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-specs .sct-badge.ok { color: var(--st-success-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-asset-specs .sct-badge.warn { color: var(--st-warning-fg); }

/* Section E of the Access: the figures of the job, under the data of the vehicle and bigger than them. */
.sc-content[b-ai8d2ojlzv]  .sct-asset-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    gap: 8px 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border);
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-figures > div { min-width: 0; }

.sc-content[b-ai8d2ojlzv]  .sct-asset-figures span {
    display: block;
    font-size: 11.5px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-figures strong {
    display: block;
    font-size: 17px;
    line-height: 24px;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-strong);
}

.sc-content[b-ai8d2ojlzv]  .sct-asset-figures strong.ok { color: var(--st-success-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-asset-figures strong.warn { color: var(--st-warning-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-asset-figures strong.bad { color: var(--st-danger-fg); }

.sc-content[b-ai8d2ojlzv]  .sct-figure-edit {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13.5px;
    color: var(--st-text-subtle);
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-figure-edit:hover { color: var(--st-text-strong); text-decoration: underline; }
.sc-content[b-ai8d2ojlzv]  .sct-figure-edit:focus-visible { outline: 2px solid var(--st-border-stronger); outline-offset: 2px; }

/* Writing the billing: below the figures, so they stay in sight while it is typed. */
.sc-content[b-ai8d2ojlzv]  .sct-billing {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 14px;
    margin-top: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-billing label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-billing input { width: 150px; }

.sc-content[b-ai8d2ojlzv]  .sct-billing-total { min-width: 110px; padding-bottom: 6px; }
.sc-content[b-ai8d2ojlzv]  .sct-billing-total span { display: block; font-size: 12px; color: var(--st-text-subtle); }
.sc-content[b-ai8d2ojlzv]  .sct-billing-total strong { font-size: 15px; color: var(--st-text-strong); }

.sc-content[b-ai8d2ojlzv]  .sct-asset-body > .sct-note,
.sc-content[b-ai8d2ojlzv]  .sct-asset-body > .sct-toast { margin: 12px 0 0; }

/* ── Autorizado vs entregado: dos columnas fijas, sin texto fuera del marco ─────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-money {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 20px;
}

.sc-content[b-ai8d2ojlzv]  .sct-money-head {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-subtle);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--st-border-strong);
    margin-bottom: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-money-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-money-item span {
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-money-item strong {
    font-size: 13.5px;
    color: var(--st-text);
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-money-item.total {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid var(--st-border-strong);
}

.sc-content[b-ai8d2ojlzv]  .sct-money-item strong.neg { color: var(--st-danger-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-money-item strong.pos { color: var(--st-success-fg); }

/* ── Ruta de entrega: los cuatro pasos del seguimiento del trabajo ──────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-steps {
    list-style: none;
    margin: 6px 0 10px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
}

/* El paso hecho se apaga y el pendiente se destaca: lo que importa es dónde continuar. */
.sc-content[b-ai8d2ojlzv]  .sct-steps li.done {
    background: var(--st-surface-muted);
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li.done strong { color: var(--st-text-subtle); }

.sc-content[b-ai8d2ojlzv]  .sct-steps li.done .sct-step-mark {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li.todo {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
}

.sc-content[b-ai8d2ojlzv]  .sct-step-mark {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-on-accent);
    background: var(--st-border-stronger);
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li.todo .sct-step-mark {
    background: var(--st-accent);
}

/* El texto se lleva el ancho sobrante y el boton queda alineado a la derecha en TODOS los pasos:
   sin esto cada boton se pega al final de su texto y la columna sale escalonada. */
.sc-content[b-ai8d2ojlzv]  .sct-steps li > div {
    flex: 1;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li .sct-btn {
    flex: none;
    margin-left: auto;
    align-self: center;
}

/* El motivo de un bloqueo se lee BAJO su paso, no en el toast global: ahi se pierde entre avisos
   de otras acciones y no queda claro a cual de los cuatro pertenece. */
.sc-content[b-ai8d2ojlzv]  .sct-step-note {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-step-note.blocked {
    color: var(--st-accent-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li strong {
    display: block;
    font-size: 13.5px;
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-steps li span:not(.sct-step-mark) {
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

/* ── F3 · valoración: rejilla, pie consolidado y pintado táctil ─────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-table tfoot td {
    background: var(--st-surface-sunken);
    font-weight: 600;
    color: var(--st-text);
    border-top: 1px solid var(--st-border-strong);
}

.sc-content[b-ai8d2ojlzv]  .sct-table tr.sel {
    background: var(--st-accent-bg);
}

/* Celda ajustada a mano: se marca para que el colorista vea qué tocó y no se pierda de vista */
.sc-content[b-ai8d2ojlzv]  .sct-table td.edited {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-weight: 600;
}

.sc-content[b-ai8d2ojlzv]  .sct-hint {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-text-subtle);
    max-width: 96ch;
}

.sc-content[b-ai8d2ojlzv]  .sct-kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--st-border);
    font-size: 13px;
}

.sc-content[b-ai8d2ojlzv]  .sct-kv span { color: var(--st-text-subtle); }
.sc-content[b-ai8d2ojlzv]  .sct-kv b { color: var(--st-text); font-weight: 600; }

/* Section that opens on demand (costing of the products): the whole header is the button. */
.sc-content[b-ai8d2ojlzv]  .sct-collapse-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-collapse-head .sct-icon { color: var(--st-accent); }

.sc-content[b-ai8d2ojlzv]  .sct-paint {
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    overflow: hidden;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom: 1px solid var(--st-border);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-body {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(240px, 320px);
    gap: 18px;
    padding: 16px;
}

.sc-content[b-ai8d2ojlzv]  .sct-canvas {
    width: 100%;
    max-width: 560px;
    touch-action: none;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    cursor: crosshair;
}

/* El 3D ocupa el mismo lugar que la silueta: misma proporción, y las herramientas flotan arriba a la derecha. */
.sc-content[b-ai8d2ojlzv]  .sct-paint-stage {
    position: relative;
    max-width: 560px;
}

.sc-content[b-ai8d2ojlzv]  .sct-canvas-3d {
    display: block;
    aspect-ratio: 560 / 340;
    height: auto;
    cursor: grab;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 560 / 340;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface-sunken);
    font-size: 13px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-tools {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-tools .sct-btn,
.sc-content[b-ai8d2ojlzv]  .sct-paint-views .sct-btn {
    padding: 4px 10px;
    font-size: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-tools .sct-btn.on,
.sc-content[b-ai8d2ojlzv]  .sct-paint-views .sct-btn.on {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-views {
    display: flex;
    gap: 4px;
}

/* Porcentaje escrito en el 3D: aviso para marcar el daño principal antes de dibujarlo. */
.sc-content[b-ai8d2ojlzv]  .sct-paint-points {
    padding: 10px 12px;
    border: 1px solid var(--st-accent);
    border-radius: 8px;
    background: var(--st-accent-bg);
    font-size: 12px;
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-points p {
    margin: 0 0 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-credit {
    margin: 6px 0 0;
    font-size: 11px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-side label {
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-subtle);
    margin-top: 6px;
}

/* La casilla del lado no es un rótulo de sección: va en minúscula y junto a su control. */
.sc-content[b-ai8d2ojlzv]  .sct-paint-side label.sct-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
    color: var(--st-text-body);
}

.sc-content[b-ai8d2ojlzv]  .sct-paint-piece {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-phase-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-phase {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    font-size: 12.5px;
    color: var(--st-text-body);
    cursor: pointer;
    text-align: left;
}

.sc-content[b-ai8d2ojlzv]  .sct-phase:hover { border-color: var(--st-border-stronger); }

.sc-content[b-ai8d2ojlzv]  .sct-phase.on {
    border-color: var(--st-accent);
    background: var(--st-accent-bg);
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-phase i {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    flex: none;
}

.sc-content[b-ai8d2ojlzv]  .sct-phase span { flex: 1; }
.sc-content[b-ai8d2ojlzv]  .sct-phase b { font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
    .sc-content[b-ai8d2ojlzv]  .sct-paint-body { grid-template-columns: 1fr; }
}

/* ── F4 · balanza del pesaje guiado y filas de conversión ───────────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-scale {
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    background: var(--st-surface);
    padding: 14px 16px;
}

.sc-content[b-ai8d2ojlzv]  .sct-scale-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--st-text-subtle);
    margin-bottom: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-scale-value {
    font-family: 'Segoe UI Mono', ui-monospace, Consolas, monospace;
    font-size: 40px;
    font-weight: 600;
    color: var(--st-text);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.sc-content[b-ai8d2ojlzv]  .sct-scale-value span {
    font-size: 17px;
    color: var(--st-text-subtle);
    margin-left: 4px;
}

/* La marca vertical es el objetivo; el relleno, lo acumulado. Sin semáforo: el mockup no lo tiene */
.sc-content[b-ai8d2ojlzv]  .sct-gauge {
    margin-top: 13px;
    height: 6px;
    background: var(--st-surface-strong);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.sc-content[b-ai8d2ojlzv]  .sct-gauge i {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: var(--st-accent);
}

.sc-content[b-ai8d2ojlzv]  .sct-gauge u {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 2px;
    background: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-gauge-legend {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--st-text-subtle);
    margin-top: 5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-conv {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-conv select { flex: 1; }
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-conv input { width: 90px; }

/* ── Captura de valoración (F1) ─────────────────────────────────────────────────────────────── */

/* La cabecera del documento son ~16 campos. En una columna quedaba una pantalla de scroll para
   transcribir un papel; en rejilla que se adapta al ancho cabe en una o dos filas. */
.sc-content[b-ai8d2ojlzv]  .sct-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 4px 12px;
    align-items: end;
}

.sc-content[b-ai8d2ojlzv]  .sct-form-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-form-grid > div.wide {
    grid-column: span 2;
}

/* Los controles de la rejilla de captura se acotan a `.sct-capture` a proposito: `.sct-table input`
   a secas alcanzaria las casillas de aprobacion de la valoracion y del hub, y un checkbox al 100 %
   de ancho es exactamente el defecto que esto evita. */
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-capture input,
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-capture select {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12.5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-page .sct-capture select {
    padding-right: 22px;
    background-position: right 13px center, right 8px center;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture input.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture td {
    vertical-align: top;
}

/* ── Rejilla de captura: una línea por trabajo ──────────────────────────────────────────────────
   Dieciseis columnas: las celdas se aprietan para que quepan sin scroll en una pantalla de
   escritorio. Cada pieza es un `tbody`; sus datos ocupan con rowspan todas sus líneas, a la
   izquierda de una raya que separa la pieza de lo que se le hace. */
.sc-content[b-ai8d2ojlzv]  .sct-capture th,
.sc-content[b-ai8d2ojlzv]  .sct-capture td {
    padding-left: 6px;
    padding-right: 6px;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture th:first-child,
.sc-content[b-ai8d2ojlzv]  .sct-capture td:first-child:not(.sct-job-start) {
    padding-left: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture th:last-child,
.sc-content[b-ai8d2ojlzv]  .sct-capture td:last-child {
    padding-right: 10px;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture .sct-capture-groups th {
    padding-top: 8px;
    padding-bottom: 6px;
    font-size: 10.5px;
    color: var(--st-text-subtle);
    border-bottom: 1px solid var(--st-border-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-capture .sct-job-start {
    border-left: 1px solid var(--st-border);
}

.sc-content[b-ai8d2ojlzv]  .sct-capture tbody.sct-piece td {
    border-bottom: 1px solid var(--st-border-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-capture tbody.sct-piece tr:last-child td,
.sc-content[b-ai8d2ojlzv]  .sct-capture tbody.sct-piece td[rowspan] {
    border-bottom: 1px solid var(--st-border);
}

/* La pieza entera se ilumina, no la línea suelta: con rowspan, la línea de abajo no contiene
   las celdas de la pieza y el resaltado partiria el bloque en dos. */
.sc-content[b-ai8d2ojlzv]  .sct-capture tbody tr:hover {
    background: transparent;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture tbody.sct-piece:hover {
    background: var(--st-surface-muted);
}

.sc-content[b-ai8d2ojlzv]  .sct-capture .sct-add-job {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-capture tfoot td {
    vertical-align: top;
}

/* La nota de horas del pie parte linea: en una sola, ensanchaba la columna de tiempo a costa
   de la descripcion de la pieza. */
.sc-content[b-ai8d2ojlzv]  .sct-capture tfoot .sct-cell-note {
    white-space: normal;
}

/* Procedencia del dato bajo su celda: que el area venga del catalogo o se haya escrito a mano
   cambia lo que significa el estimado, y no puede quedar solo en la cabeza de quien digito. */
.sc-content[b-ai8d2ojlzv]  .sct-cell-note {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
}

.sc-content[b-ai8d2ojlzv]  .sct-cell-note.ok { color: var(--st-success-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-cell-note.warn { color: var(--st-warning-text); }

.sc-content[b-ai8d2ojlzv]  .sct-problems {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    color: var(--st-warning-text);
}

/* Pista de advertencia: el mismo tono ambar de los avisos que no bloquean, para que un
   emparejamiento de modelo que no resolvio no se lea como texto de ayuda cualquiera. */
.sc-content[b-ai8d2ojlzv]  .sct-hint.warn {
    color: var(--st-warning-text);
    font-weight: 600;
}

/* ── Acciones por fila (anular valoracion) ──────────────────────────────────────────────────── */

.sc-content[b-ai8d2ojlzv]  .sct-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-link.danger { color: var(--st-danger-fg); }
.sc-content[b-ai8d2ojlzv]  .sct-link.danger:hover:not(:disabled) { color: var(--st-danger-text); }
.sc-content[b-ai8d2ojlzv]  .sct-link:disabled { opacity: .5; cursor: default; }

/* Accion no disponible: se ve que existe y el `title` dice por que no. Esconderla dejaria al
   usuario preguntandose si la funcion esta o no. */
.sc-content[b-ai8d2ojlzv]  .sct-link-off {
    color: var(--st-text-subtle);
    font-size: 12.5px;
    cursor: help;
    text-decoration: line-through;
}

.sc-content[b-ai8d2ojlzv]  .sct-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0 2px 10px;
    border-left: 3px solid var(--st-danger-fg);
    color: var(--st-danger-text);
    font-size: 12px;
    font-weight: 600;
}

/* Campo de fila completa dentro de la rejilla del formulario: las notas del documento traen frases
   largas («2 cierres y 6 modificaciones; la puerta izquierda aparece en 3 secciones») y en una
   celda de 168 px solo se veia el principio. */
.sc-content[b-ai8d2ojlzv]  .sct-form-grid > div.full {
    grid-column: 1 / -1;
}

.sc-content[b-ai8d2ojlzv]  .sct-form-grid > div.full textarea {
    min-height: 62px;
    resize: vertical;
    line-height: 1.45;
}

/* ── Selector de trabajo por tarjetas ───────────────────────────────────────────────────────
   El taller reconoce el carro, no el consecutivo. Misma gramatica que el tablero de SysTime:
   foto arriba, placa de titular y el numero de orden en letra menor. */

.sc-content[b-ai8d2ojlzv]  .sct-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px;
}

.sc-content[b-ai8d2ojlzv]  .sct-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-surface);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color .12s, box-shadow .12s, transform .12s;
}

.sc-content[b-ai8d2ojlzv]  .sct-card:hover {
    border-color: var(--st-accent);
    box-shadow: 0 4px 14px -6px rgba(31, 47, 69, .28);
    transform: translateY(-1px);
}

.sc-content[b-ai8d2ojlzv]  .sct-card:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* Una orden cerrada se puede abrir igual —el seguimiento existe para el trabajo terminado— pero
   se atenua para que no compita con las que estan en el taller. */
.sc-content[b-ai8d2ojlzv]  .sct-card.closed { opacity: .62; }
.sc-content[b-ai8d2ojlzv]  .sct-card.closed:hover { opacity: 1; }

.sc-content[b-ai8d2ojlzv]  .sct-card-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--st-surface-strong);
    overflow: hidden;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-photo .sct-asset-noimg img {
    object-fit: contain;
}

/* Distintivo sobre la foto, como el punto de estado del tablero de SysTime. */
.sc-content[b-ai8d2ojlzv]  .sct-card-flag {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-on-accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.sc-content[b-ai8d2ojlzv]  .sct-card-flag.warranty { background: #b3261e; }
.sc-content[b-ai8d2ojlzv]  .sct-card-flag.closed { background: #2e6b52; }

/* Estado de la valoración sobre la foto, arriba a la derecha (abajo a la izquierda va el distintivo de
   garantía o cierre). Con texto y no solo color: «Borrador» y «Valorada» se distinguen sin leyenda. */
.sc-content[b-ai8d2ojlzv]  .sct-card-state {
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 10px;
    border-radius: 0 0 0 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-on-accent);
}

.sc-content[b-ai8d2ojlzv]  .sct-card-state.valued { background: #2e6b52; }
.sc-content[b-ai8d2ojlzv]  .sct-card-state.draft { background: var(--st-brand-gold); color: #3d2f00; }

.sc-content[b-ai8d2ojlzv]  .sct-card-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 9px 11px 11px;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-body b {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--st-text);
    letter-spacing: .01em;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-vehicle,
.sc-content[b-ai8d2ojlzv]  .sct-card-meta-text {
    font-size: 11px;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-vehicle {
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* La fila del pie reparte: el numero de orden se encoge y las marcas nunca, para que no sean lo
   primero que se corta cuando el nombre del vehiculo es largo. */
.sc-content[b-ai8d2ojlzv]  .sct-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    min-width: 0;
    margin-top: 2px;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-meta-text { min-width: 0; }

.sc-content[b-ai8d2ojlzv]  .sct-card-marks {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
}

.sc-content[b-ai8d2ojlzv]  .sct-card-mark {
    min-width: 18px;
    height: 18px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: var(--st-on-accent);
}

/* Ambar = cuantas ordenes tiene el vehiculo; es el mismo codigo de color del tablero de SysTime, donde ese numero
   avisa de la placa repetida. */
.sc-content[b-ai8d2ojlzv]  .sct-card-mark.count { background: var(--st-brand-gold); color: #3d2f00; }

/* ---- Desglose del estimado ---------------------------------------------------------------------
   El desglose se abre DENTRO de la tabla de fases y no en un panel aparte: la comprobacion que
   habilita es «esta fila da 4.312 g; a ver de donde salen», y sacarla de contexto obliga a recordar
   la cifra que se estaba comprobando. */
.sc-content[b-ai8d2ojlzv]  .sct-table tr.sct-breakdown > td {
    background: var(--st-surface-muted);
    padding: 12px 16px 14px 34px;
    border-bottom: 1px solid var(--st-border-strong);
}

/* Tabla anidada: fondo blanco y letra un punto menor para que se lea como el detalle de la fila de
   arriba y no como una segunda tabla independiente. */
.sc-content[b-ai8d2ojlzv]  .sct-subtable {
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 12.5px;
    margin-top: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-subtable th { background: var(--st-surface); padding: 8px 10px; }
.sc-content[b-ai8d2ojlzv]  .sct-subtable td { padding: 7px 10px; }
.sc-content[b-ai8d2ojlzv]  .sct-subtable tbody tr:last-child td { border-bottom: 0; }

/* El pie repite las dos cifras de la fila padre: es lo que cierra la comprobacion a mano. */
.sc-content[b-ai8d2ojlzv]  .sct-subtable tfoot td {
    background: var(--st-surface-muted);
    font-weight: 600;
    border-top: 1px solid var(--st-border-strong);
    border-bottom: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-why {
    margin: 0;
    font-size: 12.5px;
    color: var(--st-text-subtle);
    max-width: 96ch;
}

/* Contador junto al nombre: dice cuantas piezas hay detras SIN abrir el desglose, para no tener que
   desplegar fase por fase buscando cual tiene piezas. */
.sc-content[b-ai8d2ojlzv]  .sct-count {
    margin-left: 7px;
    font-size: 11px;
    color: var(--st-text-subtle);
}

/* Aviso de piezas que no aportan gramos. Ambar y no rojo a proposito: no es un error del sistema
   —el dato falta en el catalogo del taller— pero cambia el total, asi que no puede ser gris. */
.sc-content[b-ai8d2ojlzv]  .sct-silent {
    background: var(--st-gold-bg);
    border: 1px solid var(--st-gold-border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-silent > p {
    margin: 0 0 6px;
    font-size: 12.5px;
    color: var(--st-warning-text);
    max-width: 92ch;
}

/* ---- Abrir preparacion: de donde sale el objetivo y que mezcla sale de el --------------------- */

/* La resta a la vista: pedido - entregado = pendiente. En una linea y con las cifras en negrita,
   porque el colorista lo que necesita saber es si le piden la tanda entera o el resto de una. */
.sc-content[b-ai8d2ojlzv]  .sct-target {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: baseline;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    padding: 9px 13px;
    margin-bottom: 6px;
    font-size: 12.5px;
    color: var(--st-text-body);
}

/* Vista previa de la mezcla. Fondo blanco sobre la tarjeta gris del formulario: se lee como el
   resultado de lo elegido arriba y no como otro formulario mas. */
.sc-content[b-ai8d2ojlzv]  .sct-preview {
    margin-top: 12px;
    border-top: 1px solid var(--st-border-strong);
    padding-top: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-preview h4 {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--st-text);
}

/* ---- Desviacion contra el sugerido (F3, dia 7) --------------------------------------------------
   Verde no: una desviacion dentro de tolerancia no es un logro, es lo normal. Se pinta gris y solo
   se enciende en ambar cuando pasa el umbral, para que el ojo salte a la unica fila que importa. */
.sc-content[b-ai8d2ojlzv]  .sct-dev {
    font-variant-numeric: tabular-nums;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-dev.bad {
    color: var(--st-warning-text);
    font-weight: 700;
}

/* Renglon bajo la balanza: acompana al peso acumulado, asi que comparte su caja. */
.sc-content[b-ai8d2ojlzv]  .sct-dev-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--st-border-strong);
    font-size: 12px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-dev-line b {
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    color: var(--st-text-body);
}

.sc-content[b-ai8d2ojlzv]  .sct-dev-line.bad b { color: var(--st-warning-text); }

/* La desviacion viva del componente en balanza: pegada bajo el campo, sin caja propia, porque es
   una lectura del numero que se esta tecleando y no un dato aparte. */
.sc-content[b-ai8d2ojlzv]  .sct-dev-live {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 4px 0 2px;
    font-size: 12.5px;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-dev-live b {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: var(--st-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-dev-live span { color: var(--st-text-subtle); font-size: 11.5px; }

.sc-content[b-ai8d2ojlzv]  .sct-dev-live.bad b { color: var(--st-warning-text); }

/* ---- Costeo por componente (F3, dia 8) ----------------------------------------------------------
   Tres botones en linea y no un desplegable: son tres opciones fijas, y con un select hay que abrir,
   leer y elegir para ver cual esta puesta. Aqui la que rige se ve sin tocar nada. */
.sc-content[b-ai8d2ojlzv]  .sct-costing-set {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-chip {
    border: 1px solid var(--st-border-strong);
    background: var(--st-surface);
    color: var(--st-text-subtle);
    border-radius: 6px;
    padding: 4px 11px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-chip:hover:not(:disabled) { border-color: var(--st-border-stronger); }

.sc-content[b-ai8d2ojlzv]  .sct-chip:disabled { opacity: .5; cursor: default; }

/* La que rige: el fondo suave de acento y no el magenta lleno, que es para la accion principal de la pantalla. */
.sc-content[b-ai8d2ojlzv]  .sct-chip.on {
    background: var(--st-accent-bg);
    border-color: var(--st-accent);
    color: var(--st-accent-text);
    font-weight: 600;
}

.sc-content[b-ai8d2ojlzv]  .sct-hint-inline {
    font-size: 11px;
    color: var(--st-text-subtle);
    font-style: italic;
    margin-left: 2px;
}

/* Renglon de la presentacion elegida en complementarios: el contenido por unidad y el cajon de
   costeo juntos, porque son las dos cosas que cambian lo que va a pasar al registrar. */
.sc-content[b-ai8d2ojlzv]  .sct-extra-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 2px;
    padding: 7px 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--st-text-body);
}

/* ── Desplegable de piezas de la captura ────────────────────────────────────────────────────────
   Sustituye al `datalist` del navegador, que se pinta con el tema del SISTEMA —negro sobre una
   pantalla clara— y no admite una sola regla de estilo. Aquí la lista es nuestra, así que se ve
   como los `select` de al lado y puede mostrar el area de cada pieza. */
.sc-content[b-ai8d2ojlzv]  .sct-combo {
    position: relative;
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    min-width: 260px;
    max-height: 264px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 8px;
    box-shadow: var(--st-shadow-md);
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12.5px;
    color: var(--st-text-body);
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-list li:hover {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-meta {
    font-size: 11px;
    color: var(--st-text-subtle);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-list li:hover .sct-combo-meta {
    color: var(--st-accent-text);
}

/* El aviso de «ninguna coincide» no es una opción: no se elige ni se resalta. */
.sc-content[b-ai8d2ojlzv]  .sct-combo-list li.sct-combo-empty {
    display: block;
    cursor: default;
    color: var(--st-text-subtle);
    font-size: 11.5px;
    line-height: 1.4;
}

.sc-content[b-ai8d2ojlzv]  .sct-combo-list li.sct-combo-empty:hover {
    background: transparent;
    color: var(--st-text-subtle);
}

/* Con `overflow-x: auto` el navegador computa tambien `overflow-y: auto`, asi que la lista se
   recortaba dentro de la tabla y solo se veian dos piezas (medido con la tabla real, 22-sep-2026).
   Mientras hay una lista abierta el contenedor deja de recortar; al cerrarla vuelve el scroll
   horizontal, que las diez columnas de la captura necesitan. Dos clases, porque con una pierde
   contra la regla base. */
.sc-content[b-ai8d2ojlzv]  .sct-table-wrap.sct-combo-open {
    overflow: visible;
}

/* ── Trabajos de una pieza (detalle de la valoración) ────────────────────────────────────────────
   El desglose vive DENTRO de la fila de su pieza, no en otra pantalla: la pieza se elige una vez y
   lo que se le hace —latoneria, pintura, solapamiento— cuelga de ella. Se hunde el fondo para que
   se lea como parte de la fila de arriba y no como una tabla suelta. */
.sc-content[b-ai8d2ojlzv]  .sct-ops-row > td {
    background: var(--st-surface-sunken);
    padding: 0 !important;
    border-bottom: 1px solid var(--st-border);
}

.sc-content[b-ai8d2ojlzv]  .sct-ops {
    padding: 10px 14px 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--st-text-subtle);
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 12.5px;
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-table th {
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--st-text-subtle);
    background: var(--st-surface-muted);
    padding: 6px 8px;
    border-bottom: 1px solid var(--st-border);
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-table td {
    padding: 5px 8px;
    border-bottom: 1px solid var(--st-border-subtle);
    vertical-align: top;
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-table tfoot td {
    background: var(--st-surface-muted);
    font-weight: 600;
    color: var(--st-text-strong);
    border-bottom: none;
}

.sc-content[b-ai8d2ojlzv]  .sct-page .sct-ops-table input,
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-ops-table select {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    border-radius: 6px;
    font-size: 12px;
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* El tiempo de un solapamiento es negativo por diseño: se marca para que no se lea como error. */
.sc-content[b-ai8d2ojlzv]  .sct-ops-table .num.negative {
    color: var(--st-danger-text);
}

.sc-content[b-ai8d2ojlzv]  .sct-ops-foot {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: var(--st-text-subtle);
    max-width: 96ch;
    line-height: 1.45;
}

/* ── Unified finders (2026-11-21): SysColorPicker opens its list while typing; SysColorSearchBox filters lists. ── */
.sc-content[b-ai8d2ojlzv]  .sct-picker {
    position: relative;
    width: 100%;
}

.sc-content[b-ai8d2ojlzv]  .sct-page .sct-picker-input {
    width: 100%;
    min-width: 0;
}

.sc-content[b-ai8d2ojlzv]  .sct-page .sct-searchbox {
    width: 100%;
    min-width: 240px;
}

.sc-content[b-ai8d2ojlzv]  .sct-picker-list {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    box-shadow: var(--st-shadow-md);
}

.sc-content[b-ai8d2ojlzv]  .sct-picker-item {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--st-text);
    cursor: pointer;
}

.sc-content[b-ai8d2ojlzv]  .sct-picker-item:hover,
.sc-content[b-ai8d2ojlzv]  .sct-picker-item.active {
    background: var(--st-fill-3);
}

.sc-content[b-ai8d2ojlzv]  .sct-picker-item.chosen {
    background: var(--st-accent-bg);
    color: var(--st-accent-text);
    font-weight: 600;
}

.sc-content[b-ai8d2ojlzv]  .sct-picker-note {
    padding: 7px 10px;
    font-size: 12px;
    color: var(--st-text-subtle);
}

/* A picker in a component row takes the room the old <select> took, not the 90 px of the number boxes. */
.sc-content[b-ai8d2ojlzv]  .sct-conv .sct-picker { flex: 1; }
.sc-content[b-ai8d2ojlzv]  .sct-page .sct-conv .sct-picker .sct-picker-input { width: 100%; }

/* In a filter row (the model of an assessment) the picker takes the free room. */
.sc-content[b-ai8d2ojlzv]  .sct-filter .sct-picker { flex: 1; min-width: 260px; width: auto; }

/* A figure that is still an estimate (the cost of a component not weighed yet). */
.sc-content[b-ai8d2ojlzv]  .sct-table td.sct-muted { color: var(--st-text-subtle); }

/* A product shown by its reference only (user, 2026-11-23): the full description is in the tooltip. */
.sc-content[b-ai8d2ojlzv]  .sct-table td.sct-ref { cursor: help; }

/* A table or list under something of the same card. */
.sc-content[b-ai8d2ojlzv]  .sct-after { margin-top: 12px; }

.sc-content[b-ai8d2ojlzv]  .sct-more {
    margin: 0;
    padding: 12px 16px;
}

/* Asking before erasing: the card says with its border what is about to happen. */
.sc-content[b-ai8d2ojlzv]  .sct-form.sct-danger { border-color: var(--st-danger-border); }
.sc-content[b-ai8d2ojlzv]  .sct-form.sct-danger p { margin: 0; font-size: 13.5px; }

/* Where each value comes from (catalogs). */
.sc-content[b-ai8d2ojlzv]  .sct-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--st-text-subtle);
    white-space: nowrap;
}

.sc-content[b-ai8d2ojlzv]  .sct-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.sc-content[b-ai8d2ojlzv]  .sct-dot.own { background: var(--st-accent); }
.sc-content[b-ai8d2ojlzv]  .sct-dot.platform,
.sc-content[b-ai8d2ojlzv]  .sct-dot.inherited { background: var(--st-border-stronger); }
.sc-content[b-ai8d2ojlzv]  .sct-dot.empty { background: var(--st-surface); border: 1px solid var(--st-border-strong); }

.sc-content[b-ai8d2ojlzv]  .sct-muted { color: var(--st-text-subtle); }
/* /xShared/Components/ActionToast.razor.rz.scp.css */
.at-toast[b-wis4z3o9t2] {
    position: fixed;
    left: 50%;
    bottom: calc(28px + var(--st-toast-offset, 0px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 18px;
    background: var(--st-surface);
    color: var(--st-text-strong);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    z-index: 1300;
    max-width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.at-toast-right[b-wis4z3o9t2] {
    left: auto;
    right: var(--st-toast-edge, 24px);
    bottom: calc(var(--st-toast-edge, 24px) + var(--st-toast-offset, 0px));
    transform: none;
    z-index: 2100;
}

.at-toast-text[b-wis4z3o9t2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.at-toast-message[b-wis4z3o9t2] {
    font-size: 0.88rem;
    font-weight: 500;
}

.at-toast-star[b-wis4z3o9t2] {
    display: inline-flex;
    flex-shrink: 0;
    color: #DEA301;
}

.at-toast-where[b-wis4z3o9t2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.at-toast-where-label[b-wis4z3o9t2] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

.at-toast-progress[b-wis4z3o9t2] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #FE00E4;
    transform-origin: left center;
    animation: at-toast-empty-b-wis4z3o9t2 linear forwards;
}

.at-toast-progress-paused[b-wis4z3o9t2] {
    animation-play-state: paused;
}

@keyframes at-toast-empty-b-wis4z3o9t2 {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

.at-toast-action[b-wis4z3o9t2] {
    border: none;
    background: transparent;
    color: #FE00E4;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
}

.at-toast-action:hover[b-wis4z3o9t2] {
    background: rgba(254, 0, 228, 0.14);
}

.at-toast-action:focus-visible[b-wis4z3o9t2],
.at-toast-close:focus-visible[b-wis4z3o9t2] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.at-toast-close[b-wis4z3o9t2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--st-fill-4);
    color: var(--st-text-strong);
    cursor: pointer;
    flex-shrink: 0;
}

.at-toast-close:hover[b-wis4z3o9t2] {
    background: var(--st-fill-7);
}

@media (prefers-reduced-motion: no-preference) {
    .at-toast[b-wis4z3o9t2] {
        animation: at-toast-in-b-wis4z3o9t2 0.15s ease-out;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .at-toast-right[b-wis4z3o9t2] {
        animation-name: at-toast-in-right-b-wis4z3o9t2;
    }
}

@keyframes at-toast-in-right-b-wis4z3o9t2 {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

@keyframes at-toast-in-b-wis4z3o9t2 {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
/* /xShared/Components/AssetImageUploadIndicator.razor.rz.scp.css */
.st-image-upload-stack[b-ab8agv8qoo] {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

.st-image-upload-toast[b-ab8agv8qoo] {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #1f2f45;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    animation: st-image-upload-in-b-ab8agv8qoo 0.2s ease-out;
}

.st-image-upload-failed[b-ab8agv8qoo] {
    background: #7a1f2b;
    border-radius: 12px;
    flex-wrap: wrap;
}

.st-image-upload-done[b-ab8agv8qoo] {
    background: #2f5a3a;
}

.st-image-upload-text[b-ab8agv8qoo] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.st-image-upload-icon[b-ab8agv8qoo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.st-image-upload-spinner[b-ab8agv8qoo] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: st-image-upload-spin-b-ab8agv8qoo 0.7s linear infinite;
}

.st-image-upload-btn[b-ab8agv8qoo] {
    border: none;
    border-radius: 999px;
    padding: 4px 12px;
    background: #fff;
    color: #7a1f2b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.st-image-upload-btn-ghost[b-ab8agv8qoo] {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes st-image-upload-spin-b-ab8agv8qoo {
    to {
        transform: rotate(360deg);
    }
}

@keyframes st-image-upload-in-b-ab8agv8qoo {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /xShared/Components/Badges/CountBadge.razor.rz.scp.css */
/* CountBadge — única definición visual de las burbujas contador de la web.
   Sin variantes de color, tamaño ni borde: los valores viven en los tokens --st-badge-* de app.css
   y aquí solo hay fallbacks. */

.st-count-badge[b-jrbbgygogb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: var(--st-badge-size, 20px);
    height: var(--st-badge-size, 20px);
    padding: 0 6px;
    border-radius: 999px;
    background: var(--st-badge-bg, #d81b84);
    color: var(--st-badge-fg, #ffffff);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    animation: st-count-badge-pop-in-b-jrbbgygogb 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.st-count-badge[title][b-jrbbgygogb] {
    cursor: help;
}

/* Anclaje: absoluto en una esquina del contenedor (que debe ser position:relative).
   Los offsets se leen de variables para que el consumidor los ajuste sin !important. */
.st-count-badge.is-anchored[b-jrbbgygogb] {
    position: absolute;
    z-index: 3;
}

.st-count-badge.anchor-top-right[b-jrbbgygogb] {
    top: var(--st-badge-offset-y, -4px);
    right: var(--st-badge-offset-x, -4px);
}

.st-count-badge.anchor-bottom-right[b-jrbbgygogb] {
    bottom: var(--st-badge-offset-y, -4px);
    right: var(--st-badge-offset-x, -4px);
}

.st-count-badge.anchor-top-left[b-jrbbgygogb] {
    top: var(--st-badge-offset-y, -4px);
    left: var(--st-badge-offset-x, -4px);
}

.st-count-badge.anchor-bottom-left[b-jrbbgygogb] {
    bottom: var(--st-badge-offset-y, -4px);
    left: var(--st-badge-offset-x, -4px);
}

/* Aparición con rebote (solo al montarse; Blazor no vuelve a insertar el nodo en re-renders). */
@keyframes st-count-badge-pop-in-b-jrbbgygogb {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-count-badge[b-jrbbgygogb] {
        animation: none;
    }
}
/* /xShared/Components/Badges/StatusChip.razor.rz.scp.css */
.st-status-chip[b-yelfcu3gk5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.st-status-chip-icon[b-yelfcu3gk5] {
    display: inline-flex;
    align-items: center;
}

.st-status-chip-neutral[b-yelfcu3gk5] {
    background: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.st-status-chip-success[b-yelfcu3gk5] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-text);
}

.st-status-chip-warning[b-yelfcu3gk5] {
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
}

.st-status-chip-info[b-yelfcu3gk5] {
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
}
/* /xShared/Components/Buttons/ActionButtonBar.razor.rz.scp.css */
/* ─── ActionButtonBar — acciones directas sobre superficie clara ─── */

/* El host toma el ancho que le da el LAYOUT y no el de su contenido (containment en línea):
   así la medida del ajuste es el sitio real del panel, y la barra nunca empuja a sus vecinos
   ni ensancha a un padre con fit-content. La tarjeta de detalle se angosta al abrirse en 3
   columnas con la ventana igual de ancha, y ahí es donde hace falta encoger. */
.st-ab-host[b-56vs0ay005] {
    display: block;
    width: 100%;
    min-width: 0;
    container-type: inline-size;
}

/* AutoFit="false": sin medida ni containment, el host mide lo que miden sus botones y puede ir
   como un ítem más de una fila flex (cabecera de la línea de tiempo). */
.st-ab-host.st-ab-static[b-56vs0ay005] {
    display: inline-block;
    width: auto;
    container-type: normal;
}

.st-ab-host.st-ab-static .st-ab-bar[b-56vs0ay005] {
    flex-wrap: nowrap;
}

.st-ab-bar[b-56vs0ay005] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.st-ab-divider[b-56vs0ay005] {
    width: 1px;
    height: 24px;
    background: var(--st-surface-strong);
    margin: 0 4px;
    flex-shrink: 0;
}

.st-ab-btn[b-56vs0ay005] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: var(--st-surface);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.st-ab-btn:focus-visible[b-56vs0ay005] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.st-ab-icon[b-56vs0ay005] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── Primary: la acción que empuja la orden hacia adelante ── */
.st-ab-primary[b-56vs0ay005] {
    background: #FE00E4;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(254, 0, 228, 0.25);
}

.st-ab-primary:hover[b-56vs0ay005] {
    background: #D500C0;
    box-shadow: 0 4px 12px rgba(254, 0, 228, 0.35);
}

/* ── Neutral: lo habitual, sin competir con la primaria ── */
.st-ab-neutral[b-56vs0ay005] {
    border-color: var(--st-border);
    color: var(--st-text-brand);
}

.st-ab-neutral .st-ab-icon[b-56vs0ay005] {
    color: var(--st-text-muted);
}

.st-ab-neutral:hover[b-56vs0ay005] {
    background: var(--st-surface-muted);
    border-color: var(--st-border-strong);
}

.st-ab-neutral:hover .st-ab-icon[b-56vs0ay005] {
    color: var(--st-text-brand);
}

/* ── Success: cierre correcto del trabajo ── */
.st-ab-success[b-56vs0ay005] {
    border-color: var(--st-success-border);
    color: var(--st-success-fg);
}

.st-ab-success:hover[b-56vs0ay005] {
    background: var(--st-success-bg);
    border-color: #6FCFA3;
}

/* ── Danger: contorno vacío. Un rojo sólido competiría con el semáforo de retraso
   y atraería el clic hacia lo irreversible. ── */
.st-ab-danger[b-56vs0ay005] {
    background: transparent;
    color: var(--st-danger-fg);
}

.st-ab-danger:hover[b-56vs0ay005] {
    background: var(--st-danger-bg);
    border-color: var(--st-danger-border);
}

/* ── No disponible: sigue a la vista, con el motivo en el title ── */
.st-ab-btn.st-ab-disabled[b-56vs0ay005] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.st-ab-btn.st-ab-disabled:hover[b-56vs0ay005] {
    background: var(--st-surface);
    border-color: var(--st-border);
}

.st-ab-primary.st-ab-disabled:hover[b-56vs0ay005] {
    background: #FE00E4;
}

.st-ab-danger.st-ab-disabled:hover[b-56vs0ay005] {
    background: transparent;
    border-color: transparent;
}

/* ── Ajuste al ancho, en tres pasos. Lo mide action-button-bar.js y lo escribe en data-fit:
   sin atributo o "full" todos llevan rótulo; "partial" deja en icono sólo los botones marcados
   con CollapsesFirst (editar y anular: los que no empujan la orden); "compact" los deja a todos.
   Se mide en vez de estimar umbrales porque el ancho de un rótulo depende del idioma y de
   cuántas acciones hay, y con umbrales fijos la barra quedaba en iconos aunque sobrara sitio.

   En icono el botón es un círculo de 36px. El texto se oculta a la vista pero sigue siendo
   el nombre accesible y el tooltip, así que no se pierde. Sin texto, el ghost de Anular
   tampoco se leería como botón: en círculo lleva contorno. ── */
.st-ab-bar[data-fit="partial"] .st-ab-has-icon.st-ab-collapses-first[b-56vs0ay005],
.st-ab-bar[data-fit="compact"] .st-ab-has-icon[b-56vs0ay005],
.st-ab-bar .st-ab-has-icon.st-ab-icon-only[b-56vs0ay005] {
    width: 36px;
    padding: 0;
    border-radius: 50%;
}

.st-ab-bar[data-fit="partial"] .st-ab-has-icon.st-ab-collapses-first .st-ab-label[b-56vs0ay005],
.st-ab-bar[data-fit="compact"] .st-ab-has-icon .st-ab-label[b-56vs0ay005],
.st-ab-bar .st-ab-has-icon.st-ab-icon-only .st-ab-label[b-56vs0ay005] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.st-ab-bar[data-fit="partial"] .st-ab-danger.st-ab-has-icon.st-ab-collapses-first[b-56vs0ay005],
.st-ab-bar[data-fit="compact"] .st-ab-danger.st-ab-has-icon[b-56vs0ay005] {
    border-color: var(--st-danger-border);
}

@media (prefers-reduced-motion: reduce) {
    .st-ab-btn[b-56vs0ay005] {
        transition-duration: 0.01ms;
    }
}
/* /xShared/Components/Files/ImageEditDialog.razor.rz.scp.css */
.img-edit-backdrop[b-y1qedffz0y] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1200;
}

.img-edit-dialog[b-y1qedffz0y] {
    position: fixed;
    inset: 4vh 4vw;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--st-surface, #fff);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.35);
}

.img-edit-header[b-y1qedffz0y] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.img-edit-header h3[b-y1qedffz0y] {
    margin: 0;
    font-size: 16px;
}

.img-edit-file[b-y1qedffz0y] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 12px;
}

.img-edit-stage[b-y1qedffz0y] {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 8px;
    background: #0f172a;
}

.img-edit-canvas[b-y1qedffz0y] {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

.img-edit-canvas.is-cropping[b-y1qedffz0y] {
    cursor: crosshair;
}

.img-edit-busy[b-y1qedffz0y] {
    position: absolute;
    inset: auto 12px 12px auto;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

.img-edit-toolbar[b-y1qedffz0y],
.img-edit-actions[b-y1qedffz0y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.img-edit-actions[b-y1qedffz0y] {
    justify-content: flex-end;
}

.img-edit-hint[b-y1qedffz0y] {
    margin-right: auto;
    color: #64748b;
    font-size: 12px;
}
/* /xShared/Components/InfoCarouselPopover.razor.rz.scp.css */
/* Chasis del popover de ayuda. Lo que el consumidor pasa como contenido lleva su propio
   scope de CSS isolation, por eso el vocabulario de las entradas va con ::deep. */

.info-carousel-wrapper[b-m3e9e9o8ij] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Open, the card and its backdrop live at the end of <body> (info-carousel.js), over every panel and dialog; only a guided
   tour (the top z-index) goes over them. */
.info-carousel-backdrop[b-m3e9e9o8ij] {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: transparent;
}

.info-carousel-btn[b-m3e9e9o8ij] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    background: var(--st-info-bg);
    border: 1px solid var(--st-info-border);
    color: var(--st-info-fg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.info-carousel-btn:hover[b-m3e9e9o8ij],
.info-carousel-btn.active[b-m3e9e9o8ij] {
    background: var(--st-info-bg-strong);
    border-color: var(--st-info-border);
    color: var(--st-info-fg);
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

/* Cuelga del icono y sobresale 14px a su derecha: el pico cae sobre el icono, que es de
   donde sale la ayuda, y la tarjeta crece hacia la izquierda. Abierta, info-carousel.js la fija junto al
   icono (sin espacio a la izquierda crece a la derecha; sin espacio abajo, arriba) y nunca fuera de la pantalla. */
.info-carousel-card[b-m3e9e9o8ij] {
    position: absolute;
    top: calc(100% + 8px);
    right: -14px;
    z-index: 2147483001;
    width: 340px;
    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    background: var(--st-surface);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.18), 0 6px 12px -3px rgba(15, 23, 42, 0.1);
    cursor: default;
    animation: infoCarouselFadeIn-b-m3e9e9o8ij 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-carousel-card[b-m3e9e9o8ij]::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 9px;
    height: 9px;
    background: var(--st-surface);
    border-left: 1px solid var(--st-border);
    border-top: 1px solid var(--st-border);
    transform: rotate(45deg);
}

/* Placed by info-carousel.js: the peak points at the «i» wherever the card ended up, and goes under it when the card opened
   above. */
.info-carousel-card[data-side][b-m3e9e9o8ij]::before {
    right: auto;
    left: var(--ic-peak, 20px);
}

.info-carousel-card[data-side="above"][b-m3e9e9o8ij]::before {
    top: auto;
    bottom: -5px;
    border-left: none;
    border-top: none;
    border-right: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

@keyframes infoCarouselFadeIn-b-m3e9e9o8ij {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-carousel-header[b-m3e9e9o8ij] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-carousel-title[b-m3e9e9o8ij] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-strong);
}

.info-carousel-close[b-m3e9e9o8ij] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
}

.info-carousel-close:hover[b-m3e9e9o8ij] { color: var(--st-text-secondary); }

/* Alto fijo para que las flechas no salten al cambiar de paso. */
.info-carousel-step[b-m3e9e9o8ij] {
    min-height: 210px;
}

[b-m3e9e9o8ij] .info-carousel-step-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--st-text-strong);
    margin-bottom: 8px;
}

.info-carousel-nav[b-m3e9e9o8ij] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.info-carousel-arrow[b-m3e9e9o8ij] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 50%;
    background: var(--st-surface);
    color: var(--st-text-body);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.info-carousel-arrow:hover:not(:disabled)[b-m3e9e9o8ij] {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-fg);
}

.info-carousel-arrow:disabled[b-m3e9e9o8ij] {
    opacity: 0.35;
    cursor: default;
}

.info-carousel-dots[b-m3e9e9o8ij] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-carousel-dot[b-m3e9e9o8ij] {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--st-surface-stronger);
    cursor: pointer;
    transition: all 0.15s ease;
}

.info-carousel-dot.active[b-m3e9e9o8ij] {
    background: var(--st-info-fg);
    transform: scale(1.25);
}

.info-carousel-footer[b-m3e9e9o8ij] {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--st-border);
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--st-text-secondary);
}

/* Dibujo del paso: el consumidor lo pasa como contenido, aquí solo se le da el marco. */
[b-m3e9e9o8ij] .info-carousel-illustration {
    width: 100%;
    height: auto;
    display: block;
    background: var(--st-surface-muted);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: visible;
}

/* Vocabulario de las entradas: marca de color, titular y descripción. */
[b-m3e9e9o8ij] .info-carousel-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 8px;
    margin-bottom: 8px;
}

[b-m3e9e9o8ij] .info-carousel-key {
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: start;
    margin-top: 5px;
    width: 14px;
    height: 3px;
    border-radius: 2px;
}

[b-m3e9e9o8ij] .info-carousel-name {
    align-self: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-text-strong);
}

[b-m3e9e9o8ij] .info-carousel-desc {
    grid-column: 2;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--st-text-secondary);
}
/* /xShared/Components/Inputs/RemovableChips.razor.rz.scp.css */
.st-rc-chips[b-vdcoo44mpb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.st-rc-chip[b-vdcoo44mpb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 6px 12px;
    background: var(--st-surface-sunken);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.st-rc-chip-remove[b-vdcoo44mpb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--st-fill-5);
    color: var(--st-text-brand);
    cursor: pointer;
}

.st-rc-chip-remove:hover:not(:disabled)[b-vdcoo44mpb] {
    background: #FE00E4;
    color: #fff;
}

.st-rc-chip-remove:focus-visible[b-vdcoo44mpb] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.st-rc-add[b-vdcoo44mpb] {
    width: auto;
    min-width: 160px;
    flex: 1;
}

.st-rc-add:focus-visible[b-vdcoo44mpb] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.st-rc-error[b-vdcoo44mpb] {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: var(--st-danger-fg);
}

.st-rc.is-disabled[b-vdcoo44mpb] {
    opacity: 0.6;
}
/* /xShared/Components/Inputs/StepperInput.razor.rz.scp.css */
.st-stepper-input[b-f6wbwzi5yf] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-stepper-label[b-f6wbwzi5yf] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.st-stepper-control[b-f6wbwzi5yf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.st-stepper-btn[b-f6wbwzi5yf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: var(--st-surface-muted);
    color: var(--st-text-brand);
    cursor: pointer;
    transition: all 0.15s ease;
}

.st-stepper-btn:hover:not(:disabled)[b-f6wbwzi5yf] {
    background: var(--st-surface);
    border-color: #FE00E4;
    color: #FE00E4;
}

.st-stepper-btn:focus-visible[b-f6wbwzi5yf] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.st-stepper-btn:disabled[b-f6wbwzi5yf] {
    opacity: 0.45;
    cursor: not-allowed;
}

.st-stepper-value[b-f6wbwzi5yf] {
    width: 56px;
    padding: 6px 8px;
    text-align: center;
    -moz-appearance: textfield;
}

.st-stepper-value[b-f6wbwzi5yf]::-webkit-outer-spin-button,
.st-stepper-value[b-f6wbwzi5yf]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.st-stepper-value:focus-visible[b-f6wbwzi5yf] {
    outline: 2px solid #FE00E4;
    outline-offset: 2px;
}

.st-stepper-input.is-disabled[b-f6wbwzi5yf] {
    opacity: 0.6;
}
/* /xShared/Components/LanguageSwitcher.razor.rz.scp.css */
/* Language dropdown. It only lives on the dark glass navbar, so it uses fixed on-dark colors. */
.lang-switcher[b-xyct11bbxp] {
    position: relative;
    display: inline-flex;
}

.lang-trigger[b-xyct11bbxp] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Clean at rest; the box only shows on hover or while the menu is open. */
.lang-trigger:hover[b-xyct11bbxp],
.lang-switcher.open .lang-trigger[b-xyct11bbxp] {
    background: #1b1f27;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.lang-trigger:focus-visible[b-xyct11bbxp] {
    outline: 2px solid #e33eb5;
    outline-offset: 2px;
}

.lang-globe[b-xyct11bbxp] {
    width: 20px;
    height: 20px;
}

.lang-chevron[b-xyct11bbxp] {
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-chevron[b-xyct11bbxp] {
    transform: rotate(180deg);
}

/* The navbar's backdrop-filter makes it the box of fixed children, so the layer is oversized to cover the viewport. */
.lang-backdrop[b-xyct11bbxp] {
    position: fixed;
    top: -100vh;
    left: -100vw;
    width: 300vw;
    height: 300vh;
    z-index: 1040;
}

.lang-menu[b-xyct11bbxp] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1050;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #131820;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    animation: lang-menu-in-b-xyct11bbxp 0.15s ease-out;
}

@keyframes lang-menu-in-b-xyct11bbxp {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-option[b-xyct11bbxp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lang-option:hover[b-xyct11bbxp] {
    background: rgba(255, 255, 255, 0.07);
}

.lang-option:focus-visible[b-xyct11bbxp] {
    outline: 2px solid #e33eb5;
    outline-offset: -2px;
}

.lang-check[b-xyct11bbxp] {
    width: 18px;
    height: 18px;
    color: #e33eb5;
}
/* /xShared/Components/Modals/ActionLoadingModal.razor.rz.scp.css */
/* ActionLoadingModal — Estándar Universal */

.shared-modal-overlay[b-g53xi4hybd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.shared-modal-overlay.is-visible[b-g53xi4hybd] {
    opacity: 1;
    pointer-events: auto;
}

.action-loading-content[b-g53xi4hybd] {
    width: 380px;
    background: var(--st-surface);
    border-radius: 28px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.is-visible .action-loading-content[b-g53xi4hybd] {
    transform: scale(1) translateY(0);
}

.action-loading-spinner-container[b-g53xi4hybd] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px auto;
}

.action-loading-pulse[b-g53xi4hybd] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(211, 59, 178, 0.12);
    animation: loading-pulse-b-g53xi4hybd 2s ease-in-out infinite;
}

.action-loading-spinner[b-g53xi4hybd] {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(211, 59, 178, 0.15);
    border-top-color: #D33BB2;
    border-radius: 50%;
    animation: action-loading-spin-b-g53xi4hybd 0.8s linear infinite;
    z-index: 2;
}

@keyframes action-loading-spin-b-g53xi4hybd {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loading-pulse-b-g53xi4hybd {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

.shared-modal-title[b-g53xi4hybd] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text);
    margin: 0 0 12px 0;
}

.shared-modal-message[b-g53xi4hybd] {
    font-size: 0.95rem;
    color: var(--st-text-subtle);
    line-height: 1.5;
    margin: 0;
}
/* /xShared/Components/Modals/ActionReasonModal.razor.rz.scp.css */
/* ============================================================
   ActionReasonModal — Estilos del Modal de Cierre/Anulación
   ============================================================ */

/* Overlay y Contenedor Principal */
/* El fondo difuminado lo aporta la clase global .st-blurred-backdrop (app.css). */
.confirm-modal-overlay[b-ow9p1tzmoh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.confirm-modal-overlay.is-ready[b-ow9p1tzmoh] {
    opacity: 1;
}

.confirm-modal-content[b-ow9p1tzmoh] {
    background-color: var(--st-surface);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.confirm-modal-header[b-ow9p1tzmoh] {
    display: flex;
    justify-content: center;
    border-bottom: none;
    padding: 20px 32px 0 32px; /* Más aire arriba y a los lados */
}

.confirm-modal-title[b-ow9p1tzmoh] {
    text-align: center;
    width: 100%;
    font-size: 20px; /* Un poco más grande para que destaque */
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
}

.confirm-modal-body[b-ow9p1tzmoh] {
    padding: 24px 32px; /* Más aire lateral y vertical */
}

.confirm-modal-message[b-ow9p1tzmoh] {
    text-align: center;
    color: var(--st-text-body);
    font-size: 15px;
    margin-bottom: 32px; /* Más espacio después del mensaje */
    line-height: 1.5;
}

.confirm-modal-row[b-ow9p1tzmoh] {
    display: flex;
    gap: 12px;
    margin-bottom: 24px; /* Más espacio entre filas de pickers */
    justify-content: center;
}

.hour-picker[b-ow9p1tzmoh],
.minute-picker[b-ow9p1tzmoh] {
    max-width: 100px;
}

/* Pickers de fecha y hora */
.maui-picker-wrapper[b-ow9p1tzmoh] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.maui-picker-label[b-ow9p1tzmoh] {
    font-size: 13px;
    color: var(--st-text-subtle);
    margin-bottom: 4px;
    text-align: center;
    font-weight: 500;
}

.maui-picker-select[b-ow9p1tzmoh] {
    background-color: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 10px 24px 10px 10px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23df3ca8" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: right 4px;
    background-position-y: center;
    font-size: 14px;
    color: var(--st-text-brand);
    font-weight: 600;
    width: 100%;
    text-align: center;
    cursor: pointer;
    outline: none;
}

/* Fecha y hora: el mismo calendario en tarjeta que el selector de fechas de las órdenes (PickerSidebarDate),
   con la hora justo debajo y un resumen legible de lo que se va a guardar. */
.arm-datetime[b-ow9p1tzmoh] {
    margin-bottom: 20px;
}

.arm-datetime-label[b-ow9p1tzmoh] {
    font-size: 13px;
    color: var(--st-text-muted);
    margin: 0 0 10px 4px;
    text-align: left;
}

.arm-calendar-card[b-ow9p1tzmoh] {
    background: var(--st-fill-1);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.arm-datetime-summary[b-ow9p1tzmoh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

/* Que el modal no se salga de pantallas bajas: el contenido se desplaza. */
.confirm-modal-content[b-ow9p1tzmoh] {
    max-height: 92vh;
    overflow-y: auto;
}

/* ---- flatpickr en línea dentro de la tarjeta (mismo estilo que PickerSidebarDate) ---- */
[b-ow9p1tzmoh] .flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[b-ow9p1tzmoh] .flatpickr-months {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    background: transparent !important;
    padding: 0 4px;
    width: 100% !important;
    box-sizing: border-box;
}

[b-ow9p1tzmoh] .flatpickr-months .flatpickr-month {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    height: auto !important;
    color: var(--st-text-strong) !important;
    fill: var(--st-text-strong) !important;
}

[b-ow9p1tzmoh] .flatpickr-innerContainer,
[b-ow9p1tzmoh] .flatpickr-rContainer {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

[b-ow9p1tzmoh] .flatpickr-current-month {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    left: auto !important;
}

[b-ow9p1tzmoh] .flatpickr-months .flatpickr-prev-month,
[b-ow9p1tzmoh] .flatpickr-months .flatpickr-next-month {
    position: static !important;
    height: auto !important;
    padding: 8px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    fill: var(--st-text-muted) !important;
    color: var(--st-text-muted) !important;
}

[b-ow9p1tzmoh] .flatpickr-months .flatpickr-prev-month:hover,
[b-ow9p1tzmoh] .flatpickr-months .flatpickr-next-month:hover {
    fill: #FE00E4 !important;
    background: rgba(254, 0, 228, 0.1);
}

[b-ow9p1tzmoh] .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: var(--st-text-strong);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    appearance: none;
    padding: 4px 8px;
    margin: 0;
    cursor: pointer;
    transition: color 0.2s;
}

[b-ow9p1tzmoh] .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
[b-ow9p1tzmoh] .flatpickr-current-month input.cur-year:hover {
    color: #FE00E4;
}

[b-ow9p1tzmoh] .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}

[b-ow9p1tzmoh] .flatpickr-current-month .numInputWrapper {
    width: 6ch;
    margin-left: 4px;
}

[b-ow9p1tzmoh] .flatpickr-current-month input.cur-year {
    background: transparent !important;
    color: var(--st-text-strong);
    font-weight: 700;
    font-size: 1rem;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.2s;
}

[b-ow9p1tzmoh] .flatpickr-weekdays {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
    background: transparent !important;
    height: auto !important;
}

[b-ow9p1tzmoh] .flatpickr-weekdaycontainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100%;
    background: transparent !important;
}

[b-ow9p1tzmoh] span.flatpickr-weekday {
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-ow9p1tzmoh] .flatpickr-days {
    width: 100% !important;
    display: flex;
    justify-content: center;
    border: none !important;
    padding: 6px 0 !important;
    overflow: visible !important;
}

[b-ow9p1tzmoh] .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    justify-items: center;
    gap: 8px 0;
    box-shadow: none !important;
}

[b-ow9p1tzmoh] .flatpickr-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    color: var(--st-text-body);
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[b-ow9p1tzmoh] .flatpickr-day.prevMonthDay,
[b-ow9p1tzmoh] .flatpickr-day.nextMonthDay {
    color: var(--st-text-faint);
}

[b-ow9p1tzmoh] .flatpickr-day:hover {
    background: rgba(254, 0, 228, 0.15);
    border-color: rgba(254, 0, 228, 0.3);
    color: var(--st-text-strong);
}

[b-ow9p1tzmoh] .flatpickr-day.selected,
[b-ow9p1tzmoh] .flatpickr-day.selected:focus,
[b-ow9p1tzmoh] .flatpickr-day.selected:hover {
    background: #FE00E4 !important;
    border-color: #FE00E4 !important;
    color: #ffffff !important;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(254, 0, 228, 0.5);
    transform: scale(1.05);
}

[b-ow9p1tzmoh] .flatpickr-day.today {
    border-color: #FE00E4;
}

/* Festivos y cierres del taller: punto ámbar (se muestran, no se bloquean) */
[b-ow9p1tzmoh] .flatpickr-day.st-holiday-day {
    color: #f59e0b !important;
    font-weight: 700;
    position: relative;
}

[b-ow9p1tzmoh] .flatpickr-day.st-holiday-day::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #f59e0b;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.6);
}

[b-ow9p1tzmoh] .flatpickr-day.st-holiday-day.selected {
    color: #ffffff !important;
}

[b-ow9p1tzmoh] .flatpickr-day.st-holiday-day.selected::after {
    background-color: #ffffff;
    box-shadow: none;
}

/* Hora debajo del calendario: tamaño cómodo y colores de la app */
[b-ow9p1tzmoh] .flatpickr-time {
    width: 100%;
    max-height: none;
    height: 48px;
    margin-top: 6px;
    border-top: 1px solid var(--st-border-subtle) !important;
    background: transparent !important;
}

[b-ow9p1tzmoh] .flatpickr-time .numInputWrapper {
    height: 40px;
}

[b-ow9p1tzmoh] .flatpickr-time input,
[b-ow9p1tzmoh] .flatpickr-time .flatpickr-time-separator {
    background: transparent !important;
    color: var(--st-text-strong) !important;
    font-size: 1.1rem;
    font-weight: 700;
}

[b-ow9p1tzmoh] .flatpickr-time input:hover,
[b-ow9p1tzmoh] .flatpickr-time input:focus {
    background: rgba(254, 0, 228, 0.1) !important;
}

[b-ow9p1tzmoh] .flatpickr-time .numInputWrapper span.arrowUp::after {
    border-bottom-color: var(--st-text-muted);
}

[b-ow9p1tzmoh] .flatpickr-time .numInputWrapper span.arrowDown::after {
    border-top-color: var(--st-text-muted);
}

/* El Textarea de Razones (Estándar Inventario) */
.inventario-textarea[b-ow9p1tzmoh] {
    width: 100%;
    min-height: 80px;
    background: var(--st-surface-sunken) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--st-text-brand) !important;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    resize: none;
    font-family: inherit;
    box-sizing: border-box;
    border-bottom: 2px solid var(--st-border-strong) !important;
    transition: all 0.2s ease;
}

.inventario-textarea:focus[b-ow9p1tzmoh] {
    border-color: #ff33a6 !important;
    border-bottom-color: #ff33a6 !important;
    background: var(--st-surface) !important;
    box-shadow: 0 4px 12px rgba(255, 51, 166, 0.08);
}

.confirm-modal-textarea-container[b-ow9p1tzmoh] {
    text-align: left;
    margin-top: 8px; /* Un poco más de aire arriba */
    margin-bottom: 28px; /* Más aire antes de los botones */
}

.confirm-modal-textarea-label[b-ow9p1tzmoh] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-body);
    margin-bottom: 8px;
    padding-left: 4px;
}

/* Botones del Footer */
.btn-cancel[b-ow9p1tzmoh] {
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: 600;
    background: var(--st-btn-secondary-bg);
    color: var(--st-btn-secondary-text);
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-confirm[b-ow9p1tzmoh] {
    border-radius: 20px;
    padding: 10px 45px;
    font-weight: 600;
    background: #ff33a6;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.confirm-modal-footer[b-ow9p1tzmoh] {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 32px 32px 32px; /* Mucho más aire abajo y a los lados */
    border-top: none;
}

.btn-cancel:hover[b-ow9p1tzmoh], .btn-confirm:hover[b-ow9p1tzmoh] {
    opacity: 0.9;
}

.btn-confirm:active[b-ow9p1tzmoh] {
    transform: scale(0.95);
}
/* /xShared/Components/Modals/AlertModal.razor.rz.scp.css */
/* AlertModal — Estándar Universal */

/* El fondo difuminado lo aporta la clase global .st-blurred-backdrop (app.css). */
.shared-modal-overlay[b-5tgeybeijb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.shared-modal-overlay.is-visible[b-5tgeybeijb] {
    opacity: 1;
    pointer-events: auto;
}

.shared-modal-content[b-5tgeybeijb] {
    width: auto;
    min-width: 320px;
    max-width: min(90vw, 460px);
    max-height: 85vh;
    background: var(--st-surface);
    border-radius: 28px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.is-visible .shared-modal-content[b-5tgeybeijb] {
    transform: scale(1) translateY(0);
}

/* Slot para la ilustración o icono */
.shared-modal-illustration[b-5tgeybeijb] {
    width: 140px;
    height: 140px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ────────────────────────────────────────────
   Íconos animados de estado (éxito / error / warning)
   Usados tanto por AlertModal (AlertType)
   como por CreationWizardAlert (<IconTemplate>)
──────────────────────────────────────────── */
.wizard-alert-icon-container[b-5tgeybeijb] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto;
}

.wizard-alert-pulse[b-5tgeybeijb] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    animation: success-pulse-b-5tgeybeijb 2s ease-in-out infinite;
}

.wizard-alert-ring-mid[b-5tgeybeijb] {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
}

.wizard-alert-circle-success[b-5tgeybeijb] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-alert-ring-error-bg[b-5tgeybeijb] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
}

.wizard-alert-circle-error[b-5tgeybeijb] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ícono de advertencia por defecto */
.shared-modal-default-icon[b-5tgeybeijb] {
    color: #f0ad4e;
    background: rgba(240, 173, 78, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ícono de información (ayuda contextual) */
.shared-modal-info-icon[b-5tgeybeijb] {
    color: #D33BB2;
    background: rgba(211, 59, 178, 0.12);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes success-pulse-b-5tgeybeijb {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}

/* ─── Tipografía ─── */
.shared-modal-title[b-5tgeybeijb] {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-text-brand);
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.shared-modal-message[b-5tgeybeijb] {
    font-size: 15px;
    line-height: 1.55;
    color: var(--st-text-secondary);
    margin: 0 0 32px 0;
    max-width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: var(--st-scrollbar-thumb) transparent;
}

.shared-modal-message[b-5tgeybeijb]::-webkit-scrollbar {
    width: 6px;
}

.shared-modal-message[b-5tgeybeijb]::-webkit-scrollbar-track {
    background: transparent;
}

.shared-modal-message[b-5tgeybeijb]::-webkit-scrollbar-thumb {
    background-color: var(--st-scrollbar-thumb);
    border-radius: 10px;
}

.shared-modal-message[b-5tgeybeijb]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-text-muted);
}

.shared-modal-actions[b-5tgeybeijb] {
    width: 100%;
}

/* ─── Botón Ok ─── */
.shared-modal-btn-confirm[b-5tgeybeijb] {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(135deg, #D33BB2, #E147C1);
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(211, 59, 178, 0.35);
}

.shared-modal-btn-confirm:hover[b-5tgeybeijb] {
    box-shadow: 0 12px 30px rgba(211, 59, 178, 0.5);
    transform: translateY(-2px);
}

.shared-modal-btn-confirm:active[b-5tgeybeijb] {
    transform: translateY(0);
}
/* VM-transversal-3: the technical detail of a failure, folded under «Ver detalle». */
.shared-modal-detail[b-5tgeybeijb] {
    width: 100%;
    margin: -20px 0 24px 0;
    text-align: left;
    font-size: 13px;
    color: var(--st-text-muted);
}

.shared-modal-detail summary[b-5tgeybeijb] {
    cursor: pointer;
    text-align: center;
}

.shared-modal-detail pre[b-5tgeybeijb] {
    margin: 8px 0 0 0;
    max-height: 24vh;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    background: var(--st-surface);
    border-radius: 8px;
    padding: 8px;
}
/* /xShared/Components/Modals/CenterModal.razor.rz.scp.css */
/* El fondo difuminado lo aporta la clase global .st-blurred-backdrop (app.css). */
.modal-overlay[b-wwj1orpkff] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Massive Z-Index to escape any nesting and cover maps/sidebar/topbar */
    z-index: 2147483647;
    animation: fadeInOverlay-b-wwj1orpkff 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content.center-modal[b-wwj1orpkff] {
    background: linear-gradient(165deg, var(--st-surface-raised), var(--st-surface));
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 820px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: slideUpModal-b-wwj1orpkff 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.modal-header[b-wwj1orpkff] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.modal-header-actions[b-wwj1orpkff] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.modal-header h3[b-wwj1orpkff] {
    margin: 0;
    color: var(--st-text-strong);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.modal-body-container[b-wwj1orpkff] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.modal-footer[b-wwj1orpkff] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border-subtle);
}

.close-modal-btn[b-wwj1orpkff] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-modal-btn:hover[b-wwj1orpkff] {
    color: var(--st-text-strong);
    background: var(--st-fill-4);
}

[b-wwj1orpkff] .footer-actions {
    display: flex;
    gap: 12px;
}

[b-wwj1orpkff] .btn-primary, [b-wwj1orpkff] .btn-secondary {
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

[b-wwj1orpkff] .btn-primary {
    background: #e500cd;
    color: white;
    border: none;
    box-shadow: none;
}

[b-wwj1orpkff] .btn-primary:hover:not(:disabled) {
    background: #ff00e5;
    transform: translateY(-1px);
    box-shadow: none;
}

[b-wwj1orpkff] .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #64748b;
    box-shadow: none;
}

[b-wwj1orpkff] .btn-secondary {
    background: var(--st-fill-2);
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

[b-wwj1orpkff] .btn-secondary:hover {
    background: var(--st-fill-4);
    border-color: var(--st-border-strong);
}

@keyframes fadeInOverlay-b-wwj1orpkff {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal-b-wwj1orpkff {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* /xShared/Components/Modals/ChoiceModal.razor.rz.scp.css */
.choice-modal-overlay[b-1hp0dqagaj] {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.choice-modal-content[b-1hp0dqagaj] {
    background: var(--st-surface);
    border-radius: 20px;
    width: calc(100% - 32px);
    max-width: 440px;
    padding: 28px 24px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.choice-modal-title[b-1hp0dqagaj] {
    margin: 0 0 6px;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--st-text);
}

.choice-modal-message[b-1hp0dqagaj] {
    margin: 0 0 16px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--st-text-secondary);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.choice-modal-options[b-1hp0dqagaj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.choice-modal-options button[b-1hp0dqagaj] {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.choice-modal-option[b-1hp0dqagaj] {
    background-color: #D81B84;
    color: #ffffff;
}

.choice-modal-cancel[b-1hp0dqagaj] {
    background-color: var(--st-surface-sunken);
    border: 1px solid var(--st-border) !important;
    color: var(--st-text-secondary);
}
/* /xShared/Components/Modals/ConfirmModal.razor.rz.scp.css */
/* El fondo difuminado lo aporta la clase global .st-blurred-backdrop (app.css). */
.confirm-modal-overlay[b-5baw50qbwl] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: st-fade-in-b-5baw50qbwl 0.2s ease-out;
    transition: opacity 0.1s ease-in-out;
}

.confirm-modal-overlay.is-moving[b-5baw50qbwl] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.confirm-modal-overlay.is-ready[b-5baw50qbwl] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.confirm-modal-content[b-5baw50qbwl] {
    background: var(--st-surface);
    border-radius: 20px;
    width: calc(100% - 32px);
    max-width: 440px;
    padding: 28px 24px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: st-dialog-pop-b-5baw50qbwl 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.confirm-modal-close[b-5baw50qbwl] {
    background: none;
    border: none;
    color: var(--st-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.15s ease;
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-close:hover[b-5baw50qbwl] {
    background-color: var(--st-surface-sunken);
    color: var(--st-text-secondary);
}

.confirm-modal-close svg[b-5baw50qbwl] {
    width: 20px;
    height: 20px;
}

/* Icono Circular de Cabecera (Estilo HandOver) */
.confirm-modal-icon-wrapper[b-5baw50qbwl] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    flex-shrink: 0;
}

.confirm-modal-icon-wrapper.info[b-5baw50qbwl] {
    background: rgba(216, 27, 132, 0.12);
    color: #d81b84;
}

.confirm-modal-icon-wrapper.destructive[b-5baw50qbwl] {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* D362: a business rule the user may accept («Continuar igual»). */
.confirm-modal-icon-wrapper.warning[b-5baw50qbwl] {
    background: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
}

.confirm-modal-content.is-warning .scd-row[b-5baw50qbwl] {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}

.confirm-modal-content.is-warning .scd-label[b-5baw50qbwl] {
    color: var(--st-text);
}

.confirm-modal-content.is-warning .scd-value[b-5baw50qbwl] {
    font-weight: 400;
    text-align: left;
    color: var(--st-text-subtle);
}

/* «Registrar y cerrar»: the list of what the warning is about, one bullet each. */
.scd-items[b-5baw50qbwl] {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text);
    text-align: left;
}

.scd-items li + li[b-5baw50qbwl] {
    margin-top: 2px;
}

.confirm-modal-icon-wrapper svg[b-5baw50qbwl] {
    width: 28px;
    height: 28px;
}

.confirm-modal-title[b-5baw50qbwl] {
    margin: 0 0 6px;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--st-text);
    letter-spacing: -0.2px;
}

.confirm-modal-subtitle[b-5baw50qbwl] {
    font-size: 0.85rem;
    color: var(--st-text-subtle);
    margin-bottom: 14px;
    line-height: 1.4;
    padding: 0 8px;
}

.confirm-modal-body[b-5baw50qbwl] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.confirm-modal-header-hint[b-5baw50qbwl] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--st-text-secondary);
    text-align: left;
    margin-bottom: 6px;
    padding-left: 2px;
}

/* Caja de Resumen Estructurada (Estilo HandOver .ho-summary-row / .acd-summary) */
.confirm-modal-summary-box[b-5baw50qbwl] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    max-height: 42vh;
    overflow-y: auto;
}

.confirm-modal-summary-box[b-5baw50qbwl]::-webkit-scrollbar {
    width: 6px;
}

.confirm-modal-summary-box[b-5baw50qbwl]::-webkit-scrollbar-thumb {
    background-color: var(--st-scrollbar-thumb);
    border-radius: 10px;
}

.scd-row[b-5baw50qbwl] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid var(--st-border-subtle);
}

.scd-row:last-child[b-5baw50qbwl] {
    border-bottom: none;
}

.scd-label[b-5baw50qbwl] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text-subtle);
    flex-shrink: 0;
}

.scd-value[b-5baw50qbwl] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--st-text);
    text-align: right;
    word-break: break-word;
}

.scd-previous[b-5baw50qbwl] {
    color: var(--st-text-muted);
    text-decoration: line-through;
    margin-right: 4px;
    font-weight: 400;
}

.scd-arrow[b-5baw50qbwl] {
    color: #D81B84;
    margin: 0 4px;
    font-weight: 700;
}

.scd-next[b-5baw50qbwl] {
    color: var(--st-info-fg);
    font-weight: 700;
}

.confirm-modal-message[b-5baw50qbwl] {
    color: var(--st-text-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 16px;
    text-align: center;
}

/* Botones de Acción (Estilo HandOver) */
.confirm-modal-footer[b-5baw50qbwl] {
    display: flex;
    gap: 10px;
    width: 100%;
}

.confirm-modal-footer button[b-5baw50qbwl] {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.btn-cancel[b-5baw50qbwl] {
    background-color: var(--st-surface-sunken);
    border: 1px solid var(--st-border) !important;
    color: var(--st-text-secondary);
    flex: 1;
}

.btn-cancel:hover[b-5baw50qbwl] {
    background-color: var(--st-surface-strong);
    color: var(--st-text);
}

.btn-primary[b-5baw50qbwl] {
    background-color: #D81B84;
    color: #ffffff;
    flex: 1.4;
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover[b-5baw50qbwl] {
    background-color: #c21774;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(216, 27, 132, 0.35);
}

/* With a third answer, «Continuar igual» steps back so the warning's own action is the primary one. */
.btn-confirm.is-secondary[b-5baw50qbwl] {
    background-color: var(--st-surface-sunken);
    border: 1px solid var(--st-border) !important;
    color: var(--st-text);
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.btn-confirm.is-secondary:hover[b-5baw50qbwl] {
    background-color: var(--st-surface-strong);
    transform: none;
    box-shadow: none;
}

.btn-action[b-5baw50qbwl] {
    flex: 1.4;
}

.btn-danger[b-5baw50qbwl] {
    background-color: #EF4444;
    color: #ffffff;
    flex: 1.4;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-danger:hover[b-5baw50qbwl] {
    background-color: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

@keyframes st-fade-in-b-5baw50qbwl {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes st-dialog-pop-b-5baw50qbwl {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* The date the warning's action asks («Fecha de cierre») */
.confirm-modal-date[b-5baw50qbwl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    text-align: left;
}

.confirm-modal-date-label[b-5baw50qbwl] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.confirm-modal-date-input[b-5baw50qbwl] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: var(--st-surface-muted);
    color: var(--st-text);
    font: inherit;
    color-scheme: light dark;
}

.confirm-modal-date-input:focus[b-5baw50qbwl] {
    outline: none;
    border-color: var(--st-accent-border);
    box-shadow: 0 0 0 3px var(--st-accent-bg);
}

.confirm-modal-date-input.is-invalid[b-5baw50qbwl] {
    border-color: var(--st-danger-border);
}

.confirm-modal-date-error[b-5baw50qbwl] {
    font-size: 12px;
    color: var(--st-danger-text);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .confirm-modal-content[b-5baw50qbwl] {
        margin: 12px;
        padding: 20px 16px 16px;
    }

    .confirm-modal-footer[b-5baw50qbwl] {
        flex-direction: column-reverse;
    }

    .confirm-modal-footer button[b-5baw50qbwl] {
        width: 100%;
    }
}

/* Several answers of a warning, one under the other (SysTime Vision's invitation to assess, 2026-11-19). */
.confirm-modal-options[b-5baw50qbwl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.confirm-modal-option[b-5baw50qbwl] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--st-border);
    background-color: var(--st-surface-sunken);
    color: var(--st-text);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.confirm-modal-option:hover[b-5baw50qbwl] {
    background-color: var(--st-surface-strong);
}

.confirm-modal-option.is-primary[b-5baw50qbwl] {
    border-color: transparent;
    background-color: #D81B84;
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.25);
    color: #ffffff;
}

.confirm-modal-option.is-primary:hover[b-5baw50qbwl] {
    filter: brightness(1.08);
}

.confirm-modal-option-text[b-5baw50qbwl] {
    font-size: 0.9rem;
    font-weight: 700;
}

.confirm-modal-option-detail[b-5baw50qbwl] {
    font-size: 0.78rem;
    opacity: 0.8;
}

.confirm-modal-option-cancel[b-5baw50qbwl] {
    width: 100%;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

/* The photos of the assessment about to be finished from the web (2026-11-19). */
.confirm-modal-photos[b-5baw50qbwl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 6px;
    margin-top: 10px;
    max-height: 220px;
    overflow-y: auto;
}

.confirm-modal-photo img[b-5baw50qbwl] {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--st-border);
}
/* /xShared/Components/Modals/CopyFromExampleModal.razor.rz.scp.css */
.cfe-subtitle[b-ftif0t10ne] {
    margin: 0 0 12px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
}

.cfe-state[b-ftif0t10ne] {
    padding: 24px;
    text-align: center;
    color: var(--st-text-muted);
}

.cfe-select-all[b-ftif0t10ne] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    cursor: pointer;
}

.cfe-count[b-ftif0t10ne] {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

.cfe-list[b-ftif0t10ne] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 50vh;
    overflow-y: auto;
}

.cfe-item[b-ftif0t10ne] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    cursor: pointer;
}

.cfe-item.selected[b-ftif0t10ne] {
    border-color: var(--st-accent, #3498db);
}

.cfe-item.added[b-ftif0t10ne] {
    opacity: 0.45;
    cursor: default;
}

.cfe-text[b-ftif0t10ne] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cfe-name[b-ftif0t10ne] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cfe-desc[b-ftif0t10ne] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cfe-badge[b-ftif0t10ne] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
}

.cfe-progress[b-ftif0t10ne] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8rem;
    text-align: center;
}

.cfe-bar[b-ftif0t10ne] {
    height: 4px;
    border-radius: 2px;
    background: var(--st-surface-strong);
    overflow: hidden;
}

.cfe-bar > div[b-ftif0t10ne] {
    height: 100%;
    background: var(--st-accent, #3498db);
}

.cfe-errors[b-ftif0t10ne] {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--st-danger-fg);
    font-size: 0.8rem;
}
/* /xShared/Components/Modals/InfoListModal.razor.rz.scp.css */
/* InfoListModal - Modal universal para listas de informacion y permisos */

.ilm-overlay[b-qqvjn59jxh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.ilm-overlay.is-visible[b-qqvjn59jxh] {
    opacity: 1;
    pointer-events: auto;
}

.ilm-container[b-qqvjn59jxh] {
    width: 90vw;
    max-width: 520px;
    max-height: 85vh;
    background: var(--st-surface);
    border-radius: 20px;
    border: 1px solid var(--st-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 8px 24px -4px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ilm-overlay.is-visible .ilm-container[b-qqvjn59jxh] {
    transform: scale(1) translateY(0);
}

/* Header */
.ilm-header[b-qqvjn59jxh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.ilm-header-text[b-qqvjn59jxh] {
    flex: 1;
    min-width: 0;
}

.ilm-title[b-qqvjn59jxh] {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.ilm-subtitle[b-qqvjn59jxh] {
    font-size: 13px;
    color: var(--st-text-subtle);
    margin: 4px 0 0 0;
    line-height: 1.45;
}

.ilm-close-btn[b-qqvjn59jxh] {
    flex-shrink: 0;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--st-text-subtle);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

.ilm-close-btn:hover[b-qqvjn59jxh] {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

/* Body / List */
.ilm-body[b-qqvjn59jxh] {
    padding: 16px 24px;
    overflow-y: auto;
    max-height: 52vh;
    scrollbar-width: thin;
    scrollbar-color: var(--st-scrollbar-thumb) transparent;
}

.ilm-body[b-qqvjn59jxh]::-webkit-scrollbar {
    width: 6px;
}

.ilm-body[b-qqvjn59jxh]::-webkit-scrollbar-track {
    background: transparent;
}

.ilm-body[b-qqvjn59jxh]::-webkit-scrollbar-thumb {
    background-color: var(--st-scrollbar-thumb);
    border-radius: 10px;
}

.ilm-body[b-qqvjn59jxh]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-text-muted);
}

/* Empty State */
.ilm-empty-state[b-qqvjn59jxh] {
    padding: 32px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ilm-empty-icon[b-qqvjn59jxh] {
    color: var(--st-text-muted);
    background: var(--st-surface-muted);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--st-border);
}

.ilm-empty-message[b-qqvjn59jxh] {
    font-size: 14px;
    color: var(--st-text-subtle);
    margin: 0;
    line-height: 1.5;
    max-width: 360px;
}

/* List of Items */
.ilm-list[b-qqvjn59jxh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ilm-item[b-qqvjn59jxh] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 12px 14px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ilm-item:hover[b-qqvjn59jxh] {
    background: var(--st-surface);
    border-color: var(--st-border-strong);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ilm-item-header[b-qqvjn59jxh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.ilm-item-title[b-qqvjn59jxh] {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.35;
}

.ilm-item-badge[b-qqvjn59jxh] {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--st-info-bg-strong);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
    white-space: nowrap;
    text-transform: uppercase;
}

.ilm-item-description[b-qqvjn59jxh] {
    font-size: 13px;
    color: var(--st-text-subtle);
    line-height: 1.45;
    margin: 0;
}

/* Footer */
.ilm-footer[b-qqvjn59jxh] {
    padding: 14px 24px 18px;
    border-top: 1px solid var(--st-border-subtle);
    display: flex;
    justify-content: flex-end;
}

.ilm-btn-confirm[b-qqvjn59jxh] {
    padding: 10px 28px;
    min-width: 100px;
    background: linear-gradient(135deg, #d81b84 0%, #b8146e 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(216, 27, 132, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ilm-btn-confirm:hover[b-qqvjn59jxh] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(216, 27, 132, 0.35);
    filter: brightness(1.04);
}

.ilm-btn-confirm:active[b-qqvjn59jxh] {
    transform: translateY(0);
}
/* /xShared/Components/Modals/NewsBulletView.razor.rz.scp.css */
.news-bullet-text[b-bv65iac3go] {
    min-width: 0;
}
/* /xShared/Components/Modals/NewsModal.razor.rz.scp.css */
.news-modal-host[b-z5p4f077xn] {
    display: contents;
}

/* Ventana: ancha y con aire; el fondo del cuerpo es un degradado suave para que las tarjetas se despeguen. */
.news-modal-host[b-z5p4f077xn]  .news-modal.center-modal {
    width: min(1180px, 96vw);
    max-width: 1180px;
    border: 1px solid rgba(229, 0, 205, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.news-modal-host[b-z5p4f077xn]  .news-modal .modal-body-container {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(229, 0, 205, 0.05) 0%, rgba(0, 0, 0, 0) 160px);
}

/* Solo la lista se desplaza: pasa por debajo del encabezado, que queda fuera de la zona con scroll. */
.news-scroll[b-z5p4f077xn] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 26px 28px 30px;
    scrollbar-width: thin;
}

/* Encabezado del contenido: el icono, qué lanzamiento se está viendo y cuántas son nuevas, en una sola franja festiva. */
.news-hero[b-z5p4f077xn] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 76px 22px 28px;
    background: linear-gradient(120deg, #3a2a78 0%, #b0208f 100%);
    box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.55);
}

.news-hero-icon[b-z5p4f077xn] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #fff;
    color: #D33BB3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: rotate(-8deg);
}

.news-hero-text[b-z5p4f077xn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

/* Introducción: una línea corta sobre el degradado. */
.news-eyebrow[b-z5p4f077xn] {
    margin: 0;
    line-height: 1.2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
}

.news-hero-title[b-z5p4f077xn] {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.news-hero-sub[b-z5p4f077xn] {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.news-close[b-z5p4f077xn] {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.news-close:hover[b-z5p4f077xn] {
    background: rgba(255, 255, 255, 0.32);
}

.news-close:focus-visible[b-z5p4f077xn] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.news-hero-release[b-z5p4f077xn] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.news-hero-release-tag[b-z5p4f077xn] {
    padding: 1px 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
}

.news-hero-release-name[b-z5p4f077xn] {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.news-hero-total[b-z5p4f077xn] {
    flex-shrink: 0;
    padding: 5px 13px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.news-hero-count.is-calm[b-z5p4f077xn] {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

/* Sobre el degradado: píldora blanca con texto magenta oscuro, que se lee en los dos temas. */
.news-hero-count[b-z5p4f077xn] {
    flex-shrink: 0;
    padding: 5px 13px;
    border-radius: 9999px;
    background: #fff;
    color: #9d174d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-empty[b-z5p4f077xn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 8px 0 0;
    padding: 44px 20px;
    text-align: center;
    color: var(--st-text-muted);
    border: 1px dashed rgba(229, 0, 205, 0.35);
    border-radius: 18px;
    background: rgba(229, 0, 205, 0.04);
}

.news-empty-icon[b-z5p4f077xn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(229, 0, 205, 0.14);
    color: #e500cd;
}

/* Las tarjetas se reparten en columnas según el ancho: una sola ocupa todo, dos van lado a lado. */
.news-list[b-z5p4f077xn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 18px;
    /* Todas las tarjetas miden lo mismo: cada fila toma la altura de la más alta de la lista. */
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Cada tarjeta toma uno de cinco colores de acento, en orden; el rosa de marca se reserva para la cinta NUEVO y el botón Ver. */
.news-accent-0[b-z5p4f077xn] { --news-a: #d33bb3; }
.news-accent-1[b-z5p4f077xn] { --news-a: #f59e0b; }
.news-accent-2[b-z5p4f077xn] { --news-a: #14b8a6; }
.news-accent-3[b-z5p4f077xn] { --news-a: #8b5cf6; }
.news-accent-4[b-z5p4f077xn] { --news-a: #3b82f6; }

.news-card[b-z5p4f077xn] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--st-surface-strong);
    border: 1px solid var(--st-border);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 14px 30px -18px rgba(0, 0, 0, 0.4);
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s;
}

.news-card:hover[b-z5p4f077xn] {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 40px -18px color-mix(in srgb, var(--news-a) 55%, transparent);
}

.news-card.is-seen[b-z5p4f077xn] {
    opacity: 0.86;
}

/* Brillo suave del color de la tarjeta en la esquina. */
.news-card-glow[b-z5p4f077xn] {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--news-a) 26%, transparent), transparent);
    pointer-events: none;
}

/* El cuerpo da el aire; el pie con los botones queda pegado al fondo para que todas las tarjetas de una fila alineen. */
.news-card-body[b-z5p4f077xn] {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 26px 16px;
}

.news-card-meta[b-z5p4f077xn] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--st-text-muted);
}

/* Un único detalle: el megáfono pequeño de «novedad», sobre un círculo del color de la tarjeta. */
.news-card-mark[b-z5p4f077xn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--news-a) 18%, transparent);
    color: var(--news-a);
}

/* Cinta NUEVO: cuelga del borde de arriba de la tarjeta. */
.news-card-new[b-z5p4f077xn] {
    position: absolute;
    top: 0;
    right: 22px;
    z-index: 1;
    padding: 6px 9px 10px;
    background: #D33BB3;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

.news-card-seen[b-z5p4f077xn] {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--st-text-muted);
}

.news-card-month[b-z5p4f077xn] {
    padding: 2px 10px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--news-a) 14%, transparent);
    color: var(--st-text-brand);
    font-weight: 600;
    text-transform: capitalize;
}

.news-card-title[b-z5p4f077xn] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.012em;
    color: var(--st-text-strong);
}

.news-card-bullets[b-z5p4f077xn] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--st-text-brand);
}

.news-card-bullets li[b-z5p4f077xn] {
    display: flex;
    gap: 10px;
    line-height: 1.55;
}

/* Viñeta: círculo del color de la tarjeta con una marca de visto. */
.news-card-bullets li[b-z5p4f077xn]::before {
    content: "";
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 0.15em;
    border-radius: 50%;
    background: color-mix(in srgb, var(--news-a) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* La ruta («Ruta: …») va en su propio renglón, sin la marca de viñeta. */
.news-card-bullets li.news-route-line[b-z5p4f077xn]::before {
    display: none;
}

.news-card-actions[b-z5p4f077xn] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding: 4px 26px 22px;
}

.news-card-doc[b-z5p4f077xn] {
    padding: 8px 18px;
    border: 1px solid var(--st-border-strong, var(--st-border));
    border-radius: 9999px;
    background: transparent;
    color: var(--st-text-brand);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.news-card-doc:hover[b-z5p4f077xn] {
    border-color: #D33BB3;
    background: var(--st-fill-4, rgba(255, 255, 255, 0.08));
}

.news-card-see[b-z5p4f077xn] {
    align-self: flex-end;
    padding: 8px 20px;
    border: 0;
    border-radius: 9999px;
    background: #D33BB3;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease-in-out;
}

.news-card-see:hover[b-z5p4f077xn] {
    filter: brightness(1.1);
}

/* Enlace directo al Centro de ayuda, fijo debajo de la lista: franja con un toque de rosa de marca y el mismo botón rosa que «Ver». */
.news-help-foot[b-z5p4f077xn] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 28px;
    border-top: 1px solid rgba(211, 59, 179, 0.35);
    background: linear-gradient(100deg, rgba(211, 59, 179, 0.16) 0%, rgba(211, 59, 179, 0.04) 60%, transparent 100%);
}

.news-help-ico[b-z5p4f077xn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D33BB3;
    color: #fff;
    box-shadow: 0 6px 16px rgba(211, 59, 179, 0.4);
}

.news-help-text[b-z5p4f077xn] {
    flex: 1 1 240px;
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--st-text-brand);
}

.news-help-text strong[b-z5p4f077xn] {
    display: block;
    font-size: 0.95rem;
    color: var(--st-text-strong);
}

.news-help-link[b-z5p4f077xn] {
    flex-shrink: 0;
    padding: 9px 22px;
    border: 0;
    border-radius: 9999px;
    background: #D33BB3;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(211, 59, 179, 0.35);
    transition: filter 0.15s ease-in-out, box-shadow 0.15s;
}

.news-help-link:hover[b-z5p4f077xn] {
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(211, 59, 179, 0.5);
}

.news-help-link:focus-visible[b-z5p4f077xn] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 59, 179, 0.4);
}

/* Movimiento suave: las tarjetas entran una tras otra y el megáfono de la cabecera se mueve un poco. Sin animaciones si la persona las desactivó. */
@media (prefers-reduced-motion: no-preference) {
    .news-card[b-z5p4f077xn] {
        animation: news-card-rise-b-z5p4f077xn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
        animation-delay: calc(min(var(--i, 0), 10) * 80ms);
    }

    .news-hero-icon[b-z5p4f077xn] {
        animation: news-hero-wiggle-b-z5p4f077xn 3.6s ease-in-out infinite;
    }
}

@keyframes news-card-rise-b-z5p4f077xn {
    from { opacity: 0; transform: translateY(16px); }
}

@keyframes news-hero-wiggle-b-z5p4f077xn {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(6deg) scale(1.05); }
}

@media (max-width: 520px) {
    .news-scroll[b-z5p4f077xn] { padding: 18px 16px 22px; }
    .news-card-body[b-z5p4f077xn] { padding: 22px 18px 12px; }
    .news-card-actions[b-z5p4f077xn] { padding: 4px 18px 18px; }
    .news-help-foot[b-z5p4f077xn] { padding: 14px 16px; }
    .news-hero-title[b-z5p4f077xn] { font-size: 1.35rem; }
}
/* /xShared/Components/Modals/NewsRouteTags.razor.rz.scp.css */
.news-route[b-l9wc8z3joj] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    vertical-align: baseline;
}

.news-route-step[b-l9wc8z3joj] {
    padding: 1px 9px;
    border-radius: 9999px;
    border: 1px solid rgba(229, 0, 205, 0.4);
    background: rgba(229, 0, 205, 0.14);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--st-text-brand);
}

.news-route-step + .news-route-step[b-l9wc8z3joj]::before {
    content: "›";
    margin-right: 6px;
    color: var(--st-text-muted);
}
/* /xShared/Components/Modals/PaymentHistoryModal.razor.rz.scp.css */
/* PaymentHistoryModal - Modal de Historial de Pagos y Suscripcion */

.phm-overlay[b-jyh0hyrzml] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.phm-overlay.is-visible[b-jyh0hyrzml] {
    opacity: 1;
    pointer-events: auto;
}

.phm-container[b-jyh0hyrzml] {
    width: 92vw;
    max-width: 820px;
    max-height: 90vh;
    background: var(--st-surface);
    border-radius: 20px;
    border: 1px solid var(--st-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 8px 24px -4px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    transform: scale(0.95) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phm-overlay.is-visible .phm-container[b-jyh0hyrzml] {
    transform: scale(1) translateY(0);
}

/* Header */
.phm-header[b-jyh0hyrzml] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--st-border-subtle);
}

.phm-header-main[b-jyh0hyrzml] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.phm-icon-badge[b-jyh0hyrzml] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.24) 100%);
    color: var(--st-info-fg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.phm-title[b-jyh0hyrzml] {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text-strong);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.phm-subtitle[b-jyh0hyrzml] {
    font-size: 13px;
    color: var(--st-text-subtle);
    margin: 3px 0 0 0;
    line-height: 1.4;
}

.phm-close-btn[b-jyh0hyrzml] {
    flex-shrink: 0;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--st-text-subtle);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

.phm-close-btn:hover[b-jyh0hyrzml] {
    background: var(--st-surface-sunken);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

/* Workshop Meta Bar */
.phm-meta-bar[b-jyh0hyrzml] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    background: var(--st-surface-muted);
    padding: 10px 24px;
    border-bottom: 1px solid var(--st-border);
    font-size: 12px;
}

.phm-meta-item[b-jyh0hyrzml] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.phm-meta-label[b-jyh0hyrzml] {
    color: var(--st-text-subtle);
    font-weight: 500;
}

.phm-meta-value[b-jyh0hyrzml] {
    color: var(--st-text);
    font-weight: 600;
}

.phm-meta-value.font-bold[b-jyh0hyrzml] {
    font-weight: 700;
    color: var(--st-text-strong);
}

.phm-meta-fee[b-jyh0hyrzml] {
    margin-left: auto;
}

.phm-meta-badge[b-jyh0hyrzml] {
    background: var(--st-info-bg);
    color: var(--st-info-fg);
    border: 1px solid var(--st-info-border);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

/* KPI Cards Grid */
.phm-kpi-grid[b-jyh0hyrzml] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 18px 24px 12px;
}

.phm-kpi-card[b-jyh0hyrzml] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.phm-kpi-card:hover[b-jyh0hyrzml] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.phm-kpi-billed[b-jyh0hyrzml] {
    background: linear-gradient(180deg, var(--st-surface-muted) 0%, var(--st-surface-sunken) 100%);
    border-color: var(--st-border-strong);
}

.phm-kpi-paid[b-jyh0hyrzml] {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.phm-kpi-pending-warn[b-jyh0hyrzml] {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.14) 100%);
    border-color: rgba(245, 158, 11, 0.35);
}

.phm-kpi-pending-ok[b-jyh0hyrzml] {
    background: linear-gradient(180deg, var(--st-surface-muted) 0%, var(--st-surface-sunken) 100%);
    border-color: var(--st-border);
}

.phm-kpi-label[b-jyh0hyrzml] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.phm-kpi-value[b-jyh0hyrzml] {
    font-size: 18px;
    font-weight: 800;
    color: var(--st-text-strong);
    line-height: 1.25;
}

.phm-kpi-paid .phm-kpi-value[b-jyh0hyrzml] {
    color: var(--st-success-text);
}

.phm-kpi-pending-warn .phm-kpi-value[b-jyh0hyrzml] {
    color: var(--st-warning-fg);
}

.phm-kpi-detail[b-jyh0hyrzml] {
    font-size: 11px;
    color: var(--st-text-subtle);
    margin-top: 2px;
}

/* Body / Table Area */
.phm-body[b-jyh0hyrzml] {
    padding: 6px 24px 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.phm-table-wrap[b-jyh0hyrzml] {
    overflow-y: auto;
    max-height: 42vh;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--st-scrollbar-thumb) transparent;
}

.phm-table-wrap[b-jyh0hyrzml]::-webkit-scrollbar {
    width: 6px;
}

.phm-table-wrap[b-jyh0hyrzml]::-webkit-scrollbar-track {
    background: transparent;
}

.phm-table-wrap[b-jyh0hyrzml]::-webkit-scrollbar-thumb {
    background-color: var(--st-scrollbar-thumb);
    border-radius: 10px;
}

.phm-table-wrap[b-jyh0hyrzml]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-text-muted);
}

.phm-table[b-jyh0hyrzml] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.phm-table thead[b-jyh0hyrzml] {
    background: var(--st-surface-muted);
    position: sticky;
    top: 0;
    z-index: 1;
}

.phm-table th[b-jyh0hyrzml] {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--st-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--st-border);
    white-space: nowrap;
}

.phm-table td[b-jyh0hyrzml] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--st-border-subtle);
    color: var(--st-text-body);
    vertical-align: middle;
}

.phm-table tbody tr:last-child td[b-jyh0hyrzml] {
    border-bottom: none;
}

.phm-table tbody tr:hover[b-jyh0hyrzml] {
    background-color: var(--st-surface-muted);
}

.phm-period-cell[b-jyh0hyrzml] {
    font-weight: 600;
    color: var(--st-text-strong);
}

.phm-invoice-code[b-jyh0hyrzml] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 11px;
    background: var(--st-surface-sunken);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--st-text-body);
    border: 1px solid var(--st-border);
}

.phm-payment-date[b-jyh0hyrzml] {
    font-size: 12px;
    color: var(--st-success-fg);
    font-weight: 500;
}

.phm-payment-pending[b-jyh0hyrzml] {
    font-size: 12px;
    color: var(--st-warning-fg);
    font-weight: 500;
    font-style: italic;
}

.phm-empty-cell[b-jyh0hyrzml] {
    text-align: center;
    color: var(--st-text-subtle);
    padding: 32px 16px;
    font-style: italic;
}

/* Footer */
.phm-footer[b-jyh0hyrzml] {
    padding: 14px 24px 18px;
    border-top: 1px solid var(--st-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--st-surface-muted);
}

.phm-footer-note[b-jyh0hyrzml] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--st-text-subtle);
    line-height: 1.4;
    flex: 1;
}

.phm-footer-note svg[b-jyh0hyrzml] {
    flex-shrink: 0;
    color: var(--st-info-fg);
}

.phm-btn-confirm[b-jyh0hyrzml] {
    padding: 10px 24px;
    min-width: 90px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.phm-btn-confirm:hover[b-jyh0hyrzml] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    filter: brightness(1.04);
}

.phm-btn-confirm:active[b-jyh0hyrzml] {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .phm-kpi-grid[b-jyh0hyrzml] {
        grid-template-columns: 1fr;
    }
    .phm-meta-bar[b-jyh0hyrzml] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .phm-meta-fee[b-jyh0hyrzml] {
        margin-left: 0;
    }
    .phm-footer[b-jyh0hyrzml] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /xShared/Components/Modals/PendingItemsModal.razor.rz.scp.css */
.pim-message[b-zecnp3bzpf] {
    margin: 0 0 16px;
    color: var(--st-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    /* The shared pending summary puts one line per pending type. */
    white-space: pre-line;
}

.pim-list[b-zecnp3bzpf] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pim-item[b-zecnp3bzpf] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--st-border-subtle);
    border-radius: 14px;
    background: var(--st-surface-muted);
}

.pim-thumb[b-zecnp3bzpf] {
    width: 56px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-surface-sunken);
    color: var(--st-text-subtle);
}

.pim-thumb img[b-zecnp3bzpf] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pim-info[b-zecnp3bzpf] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pim-plate[b-zecnp3bzpf] {
    color: var(--st-text-strong);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pim-process[b-zecnp3bzpf] {
    color: var(--st-text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pim-type[b-zecnp3bzpf] {
    align-self: flex-start;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.pim-type.is-deliver[b-zecnp3bzpf] {
    color: var(--st-warning-text);
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
}

.pim-type.is-assign[b-zecnp3bzpf] {
    color: var(--st-accent-text);
    background: var(--st-accent-bg);
    border-color: var(--st-accent-border);
}

.pim-action[b-zecnp3bzpf],
.pim-btn[b-zecnp3bzpf] {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.pim-action[b-zecnp3bzpf] {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--st-accent-border);
    background: var(--st-accent);
    color: #fff;
}

.pim-action:hover:not(:disabled)[b-zecnp3bzpf] {
    background: var(--st-accent-hover);
}

.pim-btn[b-zecnp3bzpf] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--st-border);
}

.pim-btn-secondary[b-zecnp3bzpf] {
    background: transparent;
    color: var(--st-text);
}

.pim-btn-danger[b-zecnp3bzpf] {
    background: var(--st-danger-bg-strong);
    border-color: var(--st-danger-border);
    color: var(--st-danger-text);
}

.pim-action:disabled[b-zecnp3bzpf],
.pim-btn:disabled[b-zecnp3bzpf] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pim-state[b-zecnp3bzpf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 12px;
    color: var(--st-text-muted);
    text-align: center;
}

.pim-state p[b-zecnp3bzpf] {
    margin: 0;
}

.pim-state-clear svg[b-zecnp3bzpf] {
    color: var(--st-success-fg);
}

.pim-spinner[b-zecnp3bzpf] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--st-border);
    border-top-color: var(--st-accent);
    animation: pim-spin-b-zecnp3bzpf 0.8s linear infinite;
}

.pim-spinner-sm[b-zecnp3bzpf] {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

@keyframes pim-spin-b-zecnp3bzpf {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 520px) {
    .pim-item[b-zecnp3bzpf] {
        flex-wrap: wrap;
    }

    .pim-action[b-zecnp3bzpf] {
        width: 100%;
    }
}
/* /xShared/Components/Modals/ShareCredentialsModal.razor.rz.scp.css */
/* ShareCredentialsModal — mismo estándar visual que AlertModal (ver AlertModal.razor.css) */

.shared-modal-overlay[b-cokflpit9t] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.shared-modal-overlay.is-visible[b-cokflpit9t] {
    opacity: 1;
    pointer-events: auto;
}

.shared-modal-content[b-cokflpit9t] {
    width: auto;
    min-width: 320px;
    max-width: min(90vw, 460px);
    max-height: 85vh;
    background: var(--st-surface);
    border-radius: 28px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.is-visible .shared-modal-content[b-cokflpit9t] {
    transform: scale(1) translateY(0);
}

.shared-modal-illustration[b-cokflpit9t] {
    width: 100px;
    height: 100px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-alert-icon-container[b-cokflpit9t] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
}

.wizard-alert-pulse[b-cokflpit9t] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    animation: scm-success-pulse-b-cokflpit9t 2s ease-in-out infinite;
}

.wizard-alert-ring-mid[b-cokflpit9t] {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
}

.wizard-alert-circle-success[b-cokflpit9t] {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scm-success-pulse-b-cokflpit9t {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}

.shared-modal-title[b-cokflpit9t] {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-text-brand);
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.shared-modal-message[b-cokflpit9t] {
    font-size: 15px;
    line-height: 1.55;
    color: var(--st-text-secondary);
    margin: 0 0 20px 0;
    max-width: 100%;
}

/* ─── Bloque de texto a compartir ─── */
.scm-textarea[b-cokflpit9t] {
    width: 100%;
    min-height: 120px;
    max-height: 220px;
    resize: vertical;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: var(--st-surface-muted);
    color: var(--st-text-body);
    font-size: 13.5px;
    line-height: 1.5;
    font-family: inherit;
    scrollbar-color: var(--st-scrollbar-thumb) var(--st-surface-muted);
}

.scm-textarea[b-cokflpit9t]::-webkit-scrollbar {
    width: 10px;
}

.scm-textarea[b-cokflpit9t]::-webkit-scrollbar-track {
    background: var(--st-surface-muted);
    border-radius: 14px;
}

.scm-textarea[b-cokflpit9t]::-webkit-scrollbar-thumb {
    background-color: var(--st-scrollbar-thumb);
    border-radius: 14px;
    border: 2px solid var(--st-surface-muted);
}

.scm-textarea[b-cokflpit9t]::-webkit-scrollbar-thumb:hover {
    background-color: var(--st-text-muted);
}

.scm-actions-row[b-cokflpit9t] {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.scm-btn-copy[b-cokflpit9t],
.scm-btn-whatsapp[b-cokflpit9t] {
    flex: 1;
    padding: 11px 0;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--st-border);
}

.scm-btn-copy[b-cokflpit9t] {
    background: var(--st-surface);
    color: var(--st-text-brand);
}

.scm-btn-copy:hover[b-cokflpit9t] {
    background: var(--st-surface-sunken);
}

.scm-btn-whatsapp[b-cokflpit9t] {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.scm-btn-whatsapp:hover[b-cokflpit9t] {
    background: #1fb955;
}

.shared-modal-actions[b-cokflpit9t] {
    width: 100%;
}

.shared-modal-btn-confirm[b-cokflpit9t] {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(135deg, #D33BB2, #E147C1);
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(211, 59, 178, 0.35);
}

.shared-modal-btn-confirm:hover[b-cokflpit9t] {
    box-shadow: 0 12px 30px rgba(211, 59, 178, 0.5);
    transform: translateY(-2px);
}

.shared-modal-btn-confirm:active[b-cokflpit9t] {
    transform: translateY(0);
}
/* /xShared/Components/Modals/StopReasonModal.razor.rz.scp.css */
/* Overlay Backdrop */
.stop-reason-modal-overlay[b-1ei76oc9di] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: fadeIn-b-1ei76oc9di 0.2s ease-out;
    transition: opacity 0.15s ease-in-out;
    padding: 16px;
}

.stop-reason-modal-overlay.is-moving[b-1ei76oc9di] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.stop-reason-modal-overlay.is-ready[b-1ei76oc9di] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Modal Card */
.stop-reason-modal-card[b-1ei76oc9di] {
    background: linear-gradient(155deg, var(--st-surface-raised) 0%, var(--st-surface) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--st-border-strong);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 22px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: scaleUp-b-1ei76oc9di 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 85vh;
}

/* Header */
.stop-reason-header[b-1ei76oc9di] {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    padding-bottom: 4px;
}

.stop-reason-header-icon[b-1ei76oc9di] {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(222, 156, 2, 0.18);
    border: 1px solid rgba(222, 156, 2, 0.4);
    color: #DE9C02;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(222, 156, 2, 0.2);
}

.stop-reason-header-text[b-1ei76oc9di] {
    flex: 1;
    min-width: 0;
}

.stop-reason-title[b-1ei76oc9di] {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: -0.2px;
}

.stop-reason-subtitle[b-1ei76oc9di] {
    margin: 2px 0 0 0;
    font-size: 0.84rem;
    color: var(--st-text-subtle);
}

.stop-reason-close-btn[b-1ei76oc9di] {
    background: var(--st-fill-3);
    border: none;
    color: var(--st-text-subtle);
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stop-reason-close-btn:hover[b-1ei76oc9di] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
    transform: scale(1.05);
}

/* Search Wrapper */
.stop-reason-search-wrapper[b-1ei76oc9di] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-1ei76oc9di] {
    position: absolute;
    left: 14px;
    color: var(--st-text-muted);
    pointer-events: none;
}

.stop-reason-search-input[b-1ei76oc9di] {
    width: 100%;
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 10px 14px 10px 38px;
    color: var(--st-text-strong);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.18s ease;
}

.stop-reason-search-input:focus[b-1ei76oc9di] {
    border-color: #DE9C02;
    background: var(--st-fill-4);
    box-shadow: 0 0 0 3px rgba(222, 156, 2, 0.22);
}

.stop-reason-search-input[b-1ei76oc9di]::placeholder {
    color: var(--st-text-muted);
}

/* Body / Reasons List */
.stop-reason-body[b-1ei76oc9di] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    max-height: 52vh;
    padding-right: 4px;
}

.stop-reason-body[b-1ei76oc9di]::-webkit-scrollbar {
    width: 5px;
}

.stop-reason-body[b-1ei76oc9di]::-webkit-scrollbar-track {
    background: var(--st-fill-2);
    border-radius: 10px;
}

.stop-reason-body[b-1ei76oc9di]::-webkit-scrollbar-thumb {
    background: var(--st-fill-6);
    border-radius: 10px;
}

.stop-reason-body[b-1ei76oc9di]::-webkit-scrollbar-thumb:hover {
    background: #DE9C02;
}

/* Loading Skeletons */
.stop-reason-loading[b-1ei76oc9di] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stop-reason-skeleton[b-1ei76oc9di] {
    height: 52px;
    background: var(--st-fill-3);
    border-radius: 14px;
    animation: skeletonPulse-b-1ei76oc9di 1.4s infinite ease-in-out;
}

@keyframes skeletonPulse-b-1ei76oc9di {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.stop-reason-empty[b-1ei76oc9di] {
    text-align: center;
    color: var(--st-text-muted);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Reason Items */
.stop-reason-list[b-1ei76oc9di] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stop-reason-item[b-1ei76oc9di] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
    user-select: none;
}

.stop-reason-item:hover[b-1ei76oc9di] {
    background: rgba(222, 156, 2, 0.12);
    border-color: rgba(222, 156, 2, 0.35);
    transform: translateY(-1px);
}

.stop-reason-item.is-selected[b-1ei76oc9di] {
    background: linear-gradient(135deg, #DE9C02 0%, #B88200 100%);
    border-color: #DE9C02;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(222, 156, 2, 0.35);
    transform: translateY(-1px);
}

.reason-item-left[b-1ei76oc9di] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.reason-icon-circle[b-1ei76oc9di] {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--st-fill-4);
    color: var(--st-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.reason-icon-circle.icon-selected[b-1ei76oc9di] {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.reason-text-group[b-1ei76oc9di] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reason-name[b-1ei76oc9di] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-strong);
    line-height: 1.2;
}

.reason-desc[b-1ei76oc9di] {
    font-size: 0.78rem;
    color: var(--st-text-subtle);
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The selected item is a solid gold fill: its text stays white in both themes. */
.stop-reason-item.is-selected .reason-name[b-1ei76oc9di] {
    color: #FFFFFF;
}

.stop-reason-item.is-selected .reason-desc[b-1ei76oc9di] {
    color: rgba(255, 255, 255, 0.88);
}

/* Radio Badge */
.reason-radio-badge[b-1ei76oc9di] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--st-border-stronger);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.reason-radio-badge.radio-checked[b-1ei76oc9di] {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #DE9C02;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Footer Actions */
.stop-reason-footer[b-1ei76oc9di] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--st-border);
}

.btn-stop-cancel[b-1ei76oc9di] {
    background: var(--st-fill-3);
    border: 1px solid var(--st-border);
    color: var(--st-text-body);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-stop-cancel:hover[b-1ei76oc9di] {
    background: var(--st-fill-6);
    color: var(--st-text-strong);
}

.btn-stop-confirm[b-1ei76oc9di] {
    background: #DE9C02;
    border: none;
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(222, 156, 2, 0.35);
}

.btn-stop-confirm:hover:not(:disabled)[b-1ei76oc9di] {
    background: #C48800;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(222, 156, 2, 0.45);
}

.btn-stop-confirm:disabled[b-1ei76oc9di] {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Animations */
@keyframes fadeIn-b-1ei76oc9di {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp-b-1ei76oc9di {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .stop-reason-modal-card[b-1ei76oc9di] {
        padding: 18px;
        border-radius: 20px;
    }

    .stop-reason-footer[b-1ei76oc9di] {
        flex-direction: column-reverse;
    }

    .stop-reason-footer button[b-1ei76oc9di] {
        width: 100%;
    }
}
/* /xShared/Components/Modals/SummaryConfirmDialog.razor.rz.scp.css */
/* Mismas filas que el resumen de entrega del HandOver, para que el modal se lea igual en todos los flujos. */
.scd-row[b-kh0bb4e36r] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
}

.scd-row:last-child[b-kh0bb4e36r] {
    border-bottom: none;
}

.scd-label[b-kh0bb4e36r] {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-secondary);
}

.scd-value[b-kh0bb4e36r] {
    font-size: 13px;
    font-weight: 400;
    color: var(--st-text-strong);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* En edición: lo que había queda tachado y atenuado, y lo nuevo resaltado. */
.scd-previous[b-kh0bb4e36r] {
    color: var(--st-text-muted);
    text-decoration: line-through;
}

.scd-arrow[b-kh0bb4e36r] {
    color: var(--st-text-muted);
    margin: 0 6px;
}

.scd-next[b-kh0bb4e36r] {
    font-weight: 600;
}
/* /xShared/Components/Navigation/TenantRouteGuard.razor.rz.scp.css */
.tenant-route-status[b-1ah4a8u6hy] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    color: var(--st-text-strong);
    background: var(--st-surface);
}
/* /xShared/Components/PanelLoading.razor.rz.scp.css */
.st-panel-loading[b-5xp31lpsvb] {
    flex: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    animation: st-panel-loading-fade-in-b-5xp31lpsvb 0.25s ease;
}

.st-panel-loading.compact[b-5xp31lpsvb] {
    flex: none;
    min-height: 100px;
    gap: 10px;
}

.st-panel-loading-spinner[b-5xp31lpsvb] {
    width: 34px;
    height: 34px;
    border: 3px solid var(--st-border);
    border-top-color: #FE00E4;
    border-radius: 50%;
    animation: st-panel-loading-spin-b-5xp31lpsvb 0.8s linear infinite;
}

.st-panel-loading.compact .st-panel-loading-spinner[b-5xp31lpsvb] {
    width: 24px;
    height: 24px;
    border-width: 2.5px;
}

.st-panel-loading-text[b-5xp31lpsvb] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text-muted);
    letter-spacing: 0.2px;
}

.st-panel-loading.compact .st-panel-loading-text[b-5xp31lpsvb] {
    font-size: 0.85rem;
}

@keyframes st-panel-loading-spin-b-5xp31lpsvb {
    to {
        transform: rotate(360deg);
    }
}

@keyframes st-panel-loading-fade-in-b-5xp31lpsvb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Single-line variant: a refresh notice must not reserve height, or the content jumps. */
.st-panel-loading.inline[b-5xp31lpsvb] {
    flex: none;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.st-panel-loading.inline .st-panel-loading-spinner[b-5xp31lpsvb] {
    width: 14px;
    height: 14px;
    border-width: 2px;
    flex: none;
}

.st-panel-loading.inline .st-panel-loading-text[b-5xp31lpsvb] {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /xShared/Components/SavingToast.razor.rz.scp.css */
.st-saving-toast[b-rr1bh772li] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #2f3b26;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    animation: st-saving-toast-in-b-rr1bh772li 0.2s ease-out;
}

.st-saving-toast-spinner[b-rr1bh772li] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: st-saving-spin-b-rr1bh772li 0.7s linear infinite;
}

@keyframes st-saving-spin-b-rr1bh772li {
    to {
        transform: rotate(360deg);
    }
}

@keyframes st-saving-toast-in-b-rr1bh772li {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /xShared/Components/ScannerQR/ST_ScannerButton.razor.rz.scp.css */
.st-scanner-btn[b-5n9d0vqwzu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0ea5e9;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    flex-shrink: 0;
}

.st-scanner-btn:hover:not(.disabled)[b-5n9d0vqwzu] {
    background: #0284c7;
    border-color: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.35);
}

.st-scanner-btn:active:not(.disabled)[b-5n9d0vqwzu] {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.st-scanner-btn.disabled[b-5n9d0vqwzu] {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.scanner-svg-icon[b-5n9d0vqwzu] {
    width: 60%;
    height: 60%;
    stroke: #ffffff;
    transition: stroke 0.2s ease;
}

.st-scanner-btn:hover .scanner-svg-icon[b-5n9d0vqwzu] {
    stroke: #ffffff;
}

.scanner-btn-icon[b-5n9d0vqwzu] {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.scanner-btn-text[b-5n9d0vqwzu] {
    margin-left: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* /xShared/Components/ScannerQR/ST_ScannerModal.razor.rz.scp.css */
/* ============================================================
   ST_ScannerModal — Escáner Inteligente con Estilo Systime
   ============================================================ */

.st-scanner-modal-overlay[b-26hgcptpx7] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
    animation: fadeIn-b-26hgcptpx7 0.2s ease-out;
}

.st-scanner-modal-container[b-26hgcptpx7] {
    position: relative;
    z-index: 10;
    isolation: isolate;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(211, 59, 178, 0.15);
    overflow: hidden;
    color: var(--st-text-strong);
    animation: slideUp-b-26hgcptpx7 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header */
.st-scanner-modal-header[b-26hgcptpx7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--st-surface-muted);
    border-bottom: 1px solid var(--st-border-subtle);
}

.header-title[b-26hgcptpx7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-scanner-icon[b-26hgcptpx7] {
    color: #D33BB2;
    flex-shrink: 0;
}

.header-title h3[b-26hgcptpx7] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.3px;
}

.btn-close-modal[b-26hgcptpx7] {
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.btn-close-modal:hover[b-26hgcptpx7] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

/* Body */
.st-scanner-modal-body[b-26hgcptpx7] {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Dropzone */
.dropzone-container[b-26hgcptpx7] {
    border: 2px dashed rgba(211, 59, 178, 0.4);
    background: var(--st-surface-muted);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dropzone-container:hover[b-26hgcptpx7] {
    border-color: #D33BB2;
    background: rgba(211, 59, 178, 0.06);
}

.dropzone-content[b-26hgcptpx7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dropzone-icon[b-26hgcptpx7] {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #D33BB2;
}

.dropzone-content h4[b-26hgcptpx7] {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--st-text);
}

.dropzone-hint[b-26hgcptpx7] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    margin-bottom: 18px;
}

/* Botones con estilo Systime */
.btn-systime-primary[b-26hgcptpx7] {
    background: #D33BB2;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(211, 59, 178, 0.4);
    transition: all 0.2s ease;
    user-select: none;
}

.btn-systime-primary:hover[b-26hgcptpx7] {
    background: linear-gradient(135deg, #D33BB2, #E88AD4);
    box-shadow: 0 6px 18px rgba(211, 59, 178, 0.55);
    transform: translateY(-1px);
}

.btn-systime-secondary[b-26hgcptpx7] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    border: 1px solid var(--st-border);
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-systime-secondary:hover[b-26hgcptpx7] {
    background: var(--st-surface-stronger);
    color: var(--st-text-strong);
}

.btn-browse[b-26hgcptpx7] {
    cursor: pointer;
    margin: 0 auto;
}

/* Dropzone Analyzing State */
.analyzing-dropzone[b-26hgcptpx7] {
    border-color: #D33BB2 !important;
    background: rgba(211, 59, 178, 0.08) !important;
    animation: borderPulse-b-26hgcptpx7 1.8s ease-in-out infinite;
}

.analyzing-title-lg[b-26hgcptpx7] {
    margin: 12px 0 4px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #D33BB2;
    letter-spacing: 0.3px;
}

/* Previews & Results */
.preview-container[b-26hgcptpx7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.image-preview-wrapper[b-26hgcptpx7] {
    position: relative;
    max-height: 220px;
    min-height: 170px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--st-border);
}

.image-placeholder-scanning[b-26hgcptpx7] {
    height: 170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    opacity: 0.3;
}

.image-preview-wrapper.scanning-active[b-26hgcptpx7] {
    border-color: #D33BB2;
    box-shadow: 0 0 20px rgba(211, 59, 178, 0.3);
}

.image-preview[b-26hgcptpx7] {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.image-preview-wrapper.scanning-active .image-preview[b-26hgcptpx7] {
    filter: brightness(0.65) contrast(1.1);
}

/* Laser Scan Animation */
.scanner-laser[b-26hgcptpx7] {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(211, 59, 178, 0) 0%, #D33BB2 20%, #E88AD4 80%, rgba(211, 59, 178, 0) 100%);
    box-shadow: 0 0 12px 2px #D33BB2, 0 0 24px 6px rgba(211, 59, 178, 0.5);
    z-index: 5;
    animation: laserScan-b-26hgcptpx7 1.6s ease-in-out infinite alternate;
}

/* HUD Tech Corners */
.scan-corner[b-26hgcptpx7] {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #D33BB2;
    z-index: 6;
    pointer-events: none;
}

.scan-corner.tl[b-26hgcptpx7] { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.scan-corner.tr[b-26hgcptpx7] { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.scan-corner.bl[b-26hgcptpx7] { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.scan-corner.br[b-26hgcptpx7] { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Analyzing Overlay & Card */
.analyzing-overlay[b-26hgcptpx7] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 7;
}

.analyzing-card[b-26hgcptpx7] {
    background: var(--st-surface-glass);
    border: 1px solid rgba(211, 59, 178, 0.4);
    border-radius: 12px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 18px rgba(211, 59, 178, 0.25);
    min-width: 240px;
    animation: fadeIn-b-26hgcptpx7 0.25s ease-out;
}

.spinner-pulse-container[b-26hgcptpx7] {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-spinner[b-26hgcptpx7] {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 3px solid rgba(211, 59, 178, 0.2);
    border-top: 3px solid #D33BB2;
    border-right: 3px solid #EFCE7D;
    border-radius: 50%;
    animation: spin-b-26hgcptpx7 0.85s linear infinite;
}

.scanner-pulse-icon[b-26hgcptpx7] {
    font-size: 1.15rem;
    animation: pulseScale-b-26hgcptpx7 1.2s ease-in-out infinite alternate;
}

.analyzing-text-block[b-26hgcptpx7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.analyzing-title[b-26hgcptpx7] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-text-strong);
    letter-spacing: 0.3px;
}

.analyzing-subtitle[b-26hgcptpx7] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
}

/* Progress Shimmer Bar */
.scanner-progress-bar[b-26hgcptpx7] {
    width: 100%;
    max-width: 220px;
    height: 4px;
    background: var(--st-fill-4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
}

.scanner-progress-fill[b-26hgcptpx7] {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #D33BB2, #EFCE7D, transparent);
    border-radius: 4px;
    animation: shimmerProgress-b-26hgcptpx7 1.4s ease-in-out infinite;
}

.result-card[b-26hgcptpx7] {
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border-subtle);
}

.result-card.success[b-26hgcptpx7] {
    border-color: rgba(211, 59, 178, 0.35);
}

.result-card.error[b-26hgcptpx7] {
    border-color: rgba(239, 68, 68, 0.35);
}

.result-header[b-26hgcptpx7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.badge-success[b-26hgcptpx7] {
    background: var(--st-success-bg-strong);
    color: var(--st-success-fg);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-multi-detected[b-26hgcptpx7] {
    background: rgba(211, 59, 178, 0.18);
    color: var(--st-accent-text);
    border: 1px solid rgba(211, 59, 178, 0.35);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-error[b-26hgcptpx7] {
    background: var(--st-danger-bg-strong);
    color: var(--st-danger-fg);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Extraction Selector Pills */
.extraction-selector-container[b-26hgcptpx7] {
    margin: 8px 0 10px 0;
    padding: 10px 12px;
    background: var(--st-surface-muted);
    border: 1px solid rgba(211, 59, 178, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selector-label[b-26hgcptpx7] {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selector-pills[b-26hgcptpx7] {
    display: flex;
    gap: 8px;
}

.selector-pill[b-26hgcptpx7] {
    flex: 1;
    background: var(--st-surface);
    border: 1.5px solid var(--st-border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-align: left;
}

.selector-pill:hover[b-26hgcptpx7] {
    background: var(--st-surface-strong);
    border-color: rgba(211, 59, 178, 0.5);
}

.selector-pill.active[b-26hgcptpx7] {
    background: rgba(211, 59, 178, 0.2);
    border-color: #D33BB2;
    box-shadow: 0 0 12px rgba(211, 59, 178, 0.3);
}

.pill-radio-icon[b-26hgcptpx7] {
    font-size: 1rem;
    color: #D33BB2;
    user-select: none;
    line-height: 1;
}

.selector-pill.active .pill-radio-icon[b-26hgcptpx7] {
    color: var(--st-accent-text);
}

.pill-text-group[b-26hgcptpx7] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pill-title[b-26hgcptpx7] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.selector-pill.active .pill-title[b-26hgcptpx7] {
    color: var(--st-accent-text);
    font-weight: 600;
}

.pill-value[b-26hgcptpx7] {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--st-gold-text);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.primary-val[b-26hgcptpx7] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--st-gold-text);
    letter-spacing: 0.5px;
}

.result-edit-section[b-26hgcptpx7] {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-hint-label[b-26hgcptpx7] {
    font-size: 0.75rem;
    color: var(--st-text-muted);
    margin: 0;
}

.result-input-group[b-26hgcptpx7] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-editable-input[b-26hgcptpx7] {
    background: var(--st-input-bg) !important;
    border: 1px solid #D33BB2 !important;
    color: var(--st-gold-text) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 36px 6px 12px !important;
    border-radius: 6px !important;
    width: 100%;
}

.result-editable-input:focus[b-26hgcptpx7] {
    box-shadow: 0 0 0 2px rgba(211, 59, 178, 0.35) !important;
    border-color: #E88AD4 !important;
}

.btn-clear-result[b-26hgcptpx7] {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--st-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.btn-clear-result:hover[b-26hgcptpx7] {
    color: var(--st-danger-fg);
    background: rgba(239, 68, 68, 0.15);
}

.error-fallback[b-26hgcptpx7] {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(239, 68, 68, 0.3);
}

.btn-sm-validate[b-26hgcptpx7] {
    padding: 6px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.result-details-grid[b-26hgcptpx7] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--st-border-subtle);
}

.detail-item[b-26hgcptpx7] {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    padding: 6px 10px;
    background: var(--st-fill-2);
    border: 1px solid transparent;
    transition: all 0.15s ease;
    min-width: 0;
    overflow: hidden;
}

.detail-item.clickable[b-26hgcptpx7] {
    cursor: pointer;
    border: 1px solid var(--st-border-subtle);
}

.detail-item.clickable:hover[b-26hgcptpx7] {
    background: var(--st-fill-3);
    border-color: rgba(211, 59, 178, 0.35);
}

.detail-item.selected-field[b-26hgcptpx7] {
    background: rgba(211, 59, 178, 0.18);
    border: 1px solid #D33BB2;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.25);
    padding: 6px 10px;
}

.detail-item.detail-item-wide[b-26hgcptpx7] {
    grid-column: span 2;
}

.detail-item .label[b-26hgcptpx7] {
    font-size: 0.72rem;
    color: var(--st-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.detail-item .val[b-26hgcptpx7] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-text);
    word-break: break-all;
    overflow-wrap: anywhere;
}

.detail-item.selected-field .val[b-26hgcptpx7] {
    color: var(--st-gold-text);
}

.preview-actions[b-26hgcptpx7] {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.btn-apply[b-26hgcptpx7] {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 22px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply:hover[b-26hgcptpx7] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
}

/* Manual Input */
.manual-input-box[b-26hgcptpx7] {
    background: var(--st-surface-muted);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--st-border-subtle);
}

.manual-label[b-26hgcptpx7] {
    font-size: 0.8rem;
    color: var(--st-text-muted);
    margin-bottom: 6px;
    display: block;
}

.manual-input-row[b-26hgcptpx7] {
    display: flex;
    gap: 8px;
}

.manual-input[b-26hgcptpx7] {
    background: var(--st-input-bg) !important;
    border: 1px solid var(--st-border) !important;
    color: var(--st-text-strong) !important;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 8px 12px;
    outline: none;
    flex: 1;
}

.manual-input:focus[b-26hgcptpx7] {
    border-color: #D33BB2 !important;
    box-shadow: 0 0 10px rgba(211, 59, 178, 0.25);
}

.btn-validate-manual[b-26hgcptpx7] {
    white-space: nowrap;
    padding: 8px 18px;
}

/* Footer: Selector de Modos en la parte inferior */
.st-scanner-modal-footer-modes[b-26hgcptpx7] {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    background: var(--st-surface-muted);
    border-top: 1px solid var(--st-border-subtle);
}

.tab-btn[b-26hgcptpx7] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-muted);
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover[b-26hgcptpx7] {
    background: var(--st-surface-strong);
    color: var(--st-text-strong);
    border-color: var(--st-border-strong);
}

.tab-btn.active[b-26hgcptpx7] {
    background: #D33BB2;
    border-color: #D33BB2;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(211, 59, 178, 0.4);
}

.tab-btn-icon[b-26hgcptpx7] {
    font-size: 0.9rem;
}

.tab-icon[b-26hgcptpx7] {
    flex-shrink: 0;
}

/* Animations */
@keyframes spin-b-26hgcptpx7 {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn-b-26hgcptpx7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-26hgcptpx7 {
    from { transform: translateY(20px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes laserScan-b-26hgcptpx7 {
    0% { top: 0%; opacity: 0.8; }
    50% { opacity: 1; }
    100% { top: 98%; opacity: 0.8; }
}

@keyframes shimmerProgress-b-26hgcptpx7 {
    0% { left: -50%; width: 40%; }
    50% { width: 70%; }
    100% { left: 110%; width: 40%; }
}

@keyframes pulseScale-b-26hgcptpx7 {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

@keyframes borderPulse-b-26hgcptpx7 {
    0%, 100% { border-color: rgba(211, 59, 178, 0.4); }
    50% { border-color: #D33BB2; box-shadow: inset 0 0 15px rgba(211, 59, 178, 0.15); }
}
/* /xShared/Components/Selectors/ActionSelectorCard.razor.rz.scp.css */
/* ─── ActionSelectorCard — componente reutilizable de selección ─── */

/* Contenedor base */
.st-as-card[b-zzze8dyr5h] {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1.5px solid var(--st-border);
    border-bottom: 2.5px solid #FE00E4;
    border-radius: 12px;
    background: var(--st-surface);
    position: relative;
    overflow: visible;
    transition: border-color 0.15s;
}

.st-as-card.st-as-disabled[b-zzze8dyr5h] {
    opacity: 0.5;
    pointer-events: none;
}

/* ── Variante Standard ── */

/* Sección izquierda gris con el label */
.st-as-label-section[b-zzze8dyr5h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    background: var(--st-surface-sunken);
    border-radius: 10px 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--st-text-brand);
    flex-shrink: 0;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.st-as-label-icon[b-zzze8dyr5h] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-brand);
    opacity: 0.8;
}

.st-as-label-text[b-zzze8dyr5h] {
    display: block;
}

/* Wrapper del trigger — posicionamiento relativo para el menú Standard */
.st-as-trigger-wrapper[b-zzze8dyr5h] {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

/* Botón trigger sección derecha */
.st-as-trigger[b-zzze8dyr5h] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--st-text-brand);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    min-width: 0;
}

.st-as-placeholder[b-zzze8dyr5h] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron */
.st-as-chevron[b-zzze8dyr5h] {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.st-as-chevron.st-as-chevron-up[b-zzze8dyr5h] {
    transform: rotate(180deg);
}

/* En variante Responsable el menú abre hacia la izquierda (trigger en borde derecho del panel) */
.st-as-card.st-as-responsable .st-as-menu[b-zzze8dyr5h] {
    left: auto;
    right: 0;
}

/* ── Variante Responsable ── */
.st-as-card.st-as-responsable[b-zzze8dyr5h] {
    border-radius: 50px;
    border: 1.5px solid var(--st-border);
    display: inline-flex;
    width: auto;
}

/* Con TriggerLabel el picker pasa a ocupar todo el ancho del contenedor (en vez de encogerse al
   contenido) para que la flecha tenga espacio hasta dónde empujarse — ver .has-trigger-label
   .st-as-chevron más abajo. Sin TriggerLabel (el resto de los usos) sigue en width:auto/compacto. */
.st-as-card.st-as-responsable.has-trigger-label[b-zzze8dyr5h] {
    display: flex;
    width: 100%;
}

.st-as-avatar-trigger[b-zzze8dyr5h] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 3px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.st-as-avatar-trigger.has-trigger-label[b-zzze8dyr5h] {
    width: 100%;
}

.st-as-avatar-trigger.has-trigger-label .st-as-chevron[b-zzze8dyr5h] {
    margin-left: auto;
}

.st-as-avatar-circle[b-zzze8dyr5h] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-as-avatar-img[b-zzze8dyr5h] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-as-avatar-initials[b-zzze8dyr5h] {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

/* Sólo aparece cuando el consumidor pasa TriggerLabel (ver ActionSelectorCard.razor) — nombre
   incrustado en el trigger, en vez de quedar como texto suelto afuera del componente. */
.st-as-trigger-label[b-zzze8dyr5h] {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.st-as-avatar-trigger.has-trigger-label[b-zzze8dyr5h] {
    padding: 3px 10px 3px 3px;
}

/* ── Overlay (cierre al click fuera) ── */
.st-as-overlay[b-zzze8dyr5h] {
    position: fixed;
    inset: 0;
    z-index: 998;
}

/* ── Menú desplegable ── */
.st-as-menu[b-zzze8dyr5h] {
    position: absolute;
    left: 0;
    min-width: 160px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    /* When fit() (action-selector-card.js) gives it its own scroll, the scroll stays in the menu. */
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* fit() narrowed the menu to the part of its panel that can be seen (#118): the whole name on two lines instead of cut. */
.st-as-menu[data-fit="wrap"] .st-as-item-label[b-zzze8dyr5h],
.st-as-menu[data-fit="wrap"] .st-as-item-subtitle[b-zzze8dyr5h] {
    white-space: normal;
    overflow-wrap: break-word;
}

.st-as-menu.st-as-menu-down[b-zzze8dyr5h] {
    top: calc(100% + 6px);
    animation: stAsMenuDown-b-zzze8dyr5h 0.15s ease-out;
}

.st-as-menu.st-as-menu-up[b-zzze8dyr5h] {
    bottom: calc(100% + 6px);
    animation: stAsMenuUp-b-zzze8dyr5h 0.15s ease-out;
}

@keyframes stAsMenuDown-b-zzze8dyr5h {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes stAsMenuUp-b-zzze8dyr5h {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Ítems del menú ── */
.st-as-item[b-zzze8dyr5h] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--st-text);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
    /* With a capped height the menu scrolls; its rows keep their height. */
    flex-shrink: 0;
}

.st-as-item:hover[b-zzze8dyr5h] {
    background: var(--st-fill-4);
    color: var(--st-text-strong);
}

.st-as-item.st-as-item-selected[b-zzze8dyr5h] {
    color: var(--st-text-strong);
}

/* Avatar dentro del ítem (variante responsable) */
.st-as-item-avatar[b-zzze8dyr5h] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-as-item-avatar img[b-zzze8dyr5h] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-as-item-initials[b-zzze8dyr5h] {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
}

.st-as-item-label[b-zzze8dyr5h] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Two-line text (label + subtitle), badge and disabled ── */
.st-as-item-text[b-zzze8dyr5h] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.st-as-item-text .st-as-item-label[b-zzze8dyr5h] {
    flex: none;
}

.st-as-item-subtitle[b-zzze8dyr5h] {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--st-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-as-card.st-as-light .st-as-item-subtitle[b-zzze8dyr5h] {
    color: var(--st-text-subtle);
}

.st-as-item-badge[b-zzze8dyr5h] {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--st-warning-bg-strong);
    color: var(--st-warning-text);
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.st-as-item.st-as-item-disabled[b-zzze8dyr5h] {
    opacity: 0.55;
    cursor: not-allowed;
}

.st-as-item-icon[b-zzze8dyr5h] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.7;
    color: var(--st-text);
}

.st-as-item:hover .st-as-item-icon[b-zzze8dyr5h] {
    opacity: 1;
}

.st-as-item-check[b-zzze8dyr5h] {
    flex-shrink: 0;
    margin-left: auto;
}

/* ── Variante clara (Light=true): popup blanco, hover gris clarito, igual a PickerDropdown Light ── */
.st-as-card.st-as-light .st-as-menu[b-zzze8dyr5h] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.st-as-card.st-as-light .st-as-item[b-zzze8dyr5h] {
    color: var(--st-text-brand);
}

.st-as-card.st-as-light .st-as-item:hover[b-zzze8dyr5h] {
    background: var(--st-surface-sunken);
    color: var(--st-text-brand);
}

.st-as-card.st-as-light .st-as-item.st-as-item-selected[b-zzze8dyr5h] {
    color: #D33BB2;
}

.st-as-card.st-as-light .st-as-item-icon[b-zzze8dyr5h] {
    color: var(--st-text-subtle);
}

.st-as-card.st-as-light .st-as-item:hover .st-as-item-icon[b-zzze8dyr5h] {
    color: var(--st-text-brand);
    opacity: 1;
}
/* /xShared/Components/Selectors/Cards/CustomerSelectorCard.razor.rz.scp.css */
.customer-card-squared[b-hbv428vkwd] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 100%; /* Permite que el grid estire todas las tarjetas a la misma altura */
}

.customer-card-squared.selected[b-hbv428vkwd] {
    background: #eab308;
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

.customer-card-squared:hover[b-hbv428vkwd] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.customer-avatar-circle[b-hbv428vkwd] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-img[b-hbv428vkwd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder.person-icon[b-hbv428vkwd] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 18px;
}

.customer-card-name[b-hbv428vkwd] {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.customer-stats-row[b-hbv428vkwd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto; /* Empuja las estadísticas al fondo */
    min-height: 2px;
}
/* /xShared/Components/Selectors/Cards/InsuranceSelectorCard.razor.rz.scp.css */
.process-card-squared[b-luzgbqw54g] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 100%;
}

.process-card-squared.selected[b-luzgbqw54g] {
    background: #eab308;
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

.process-card-squared:hover[b-luzgbqw54g] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.process-avatar-circle[b-luzgbqw54g] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-img[b-luzgbqw54g] {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.avatar-placeholder.process-icon[b-luzgbqw54g] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.process-card-name[b-luzgbqw54g] {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.process-stats-row[b-luzgbqw54g] {
    width: 100%;
    margin-top: auto;
    min-height: 20px;
}
/* /xShared/Components/Selectors/Cards/ProcessSelectorCard.razor.rz.scp.css */
.process-card-squared[b-9oa1lac999] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 100%;
}





.process-card-squared.selected[b-9oa1lac999] {
    background: #eab308;
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

.process-card-squared:hover[b-9oa1lac999] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-avatar-circle[b-9oa1lac999] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-img[b-9oa1lac999] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avatar-placeholder.process-icon[b-9oa1lac999] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

/* Icono generico de proceso: el SVG es blanco, se oscurece para verse sobre el circulo blanco */
.process-fallback-img[b-9oa1lac999] {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: invert(0.5);
}

.process-card-name[b-9oa1lac999] {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.process-stats-row[b-9oa1lac999] {
    width: 100%;
    margin-top: auto;
    min-height: 20px;
}
.process-card-squared.disabled[b-9oa1lac999] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
/* /xShared/Components/Selectors/Cards/StakeholderSelectorCard.razor.rz.scp.css */
.stakeholder-card-squared[b-k856uj2jvn] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 100%; /* Permite que el grid estire todas las tarjetas a la misma altura */
}





.stakeholder-card-squared.selected[b-k856uj2jvn] {
    background: #eab308;
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

.stakeholder-card-squared:hover[b-k856uj2jvn] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stakeholder-avatar-circle[b-k856uj2jvn] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stakeholder-img[b-k856uj2jvn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder.person-icon[b-k856uj2jvn] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 18px;
}

.stakeholder-card-name[b-k856uj2jvn] {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stakeholder-stats-row[b-k856uj2jvn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto; /* Empuja las estadísticas al fondo */
    min-height: 20px;
}


.stat-pill[b-k856uj2jvn] {
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.stakeholder-card-squared.disabled[b-k856uj2jvn] {
    opacity: 0.4;
    cursor: not-allowed;
}

.stakeholder-card-squared.disabled:hover[b-k856uj2jvn] {
    transform: none;
    box-shadow: none;
}
/* /xShared/Components/Selectors/Cards/WorklevelSelectorCard.razor.rz.scp.css */
/* Same squared card as ProcessSelectorCard: gray, gold when selected. */
.worklevel-card-squared[b-d714g6x3ps] {
    background: #94a3b8;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 100%;
}

.worklevel-card-squared.selected[b-d714g6x3ps] {
    background: #eab308;
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

.worklevel-card-squared:hover[b-d714g6x3ps] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.worklevel-letter-circle[b-d714g6x3ps] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.worklevel-card-name[b-d714g6x3ps] {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 4px;
    width: 100%;
}

.worklevel-card-desc[b-d714g6x3ps] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
}
/* /xShared/Components/Selectors/PickerDropdown.razor.rz.scp.css */
.st-native-selector[b-h0ipyym3p7] {
    position: relative;
    width: 100%;
    cursor: pointer;
    min-height: 48px;
    outline: none;
    user-select: none;
    z-index: 50;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.st-native-selector-trigger[b-h0ipyym3p7] {
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 0 44px 0 16px;
    height: 48px;
    display: flex;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.st-native-selector:hover .st-native-selector-trigger[b-h0ipyym3p7],
.st-native-selector.is-open .st-native-selector-trigger[b-h0ipyym3p7] {
    border-color: #D33BB2;
    box-shadow: 0 4px 12px rgba(211, 59, 178, 0.08);
}

.st-native-selector.is-open[b-h0ipyym3p7] {
    z-index: 2000;
}

/* Solo lectura: mismo tratamiento que PickerTrigger.is-disabled */
.st-native-selector.is-disabled[b-h0ipyym3p7] {
    cursor: not-allowed;
    opacity: 0.6;
}

.st-native-selector.is-disabled .st-native-selector-trigger[b-h0ipyym3p7] {
    background: var(--st-surface-sunken);
}

.st-native-selector.is-disabled:hover .st-native-selector-trigger[b-h0ipyym3p7] {
    border-color: var(--st-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.st-native-selector-value[b-h0ipyym3p7] {
    width: 0;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.st-native-selector.is-empty .st-native-selector-value[b-h0ipyym3p7] {
    color: var(--st-text-muted);
    font-weight: 500;
}

.st-native-selector-arrow-container[b-h0ipyym3p7] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-native-selector-pink-triangle[b-h0ipyym3p7] {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #D33BB2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.st-native-selector-pink-triangle.up[b-h0ipyym3p7] {
    transform: rotate(180deg);
}

/* Dropdown list */
.st-native-selector-dropdown[b-h0ipyym3p7] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--st-surface);
    /* Color del select de tiempo */
    border: 1px solid var(--st-border);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    /* Permite scroll si hay muchos ítems */
    max-height: 280px;
    /* Evita que la lista se salga de la pantalla */
    animation: st-selector-slide-down-b-h0ipyym3p7 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;

    /* Ocultamos la barra de scroll visualmente */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.st-native-selector-dropdown[b-h0ipyym3p7]::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, etc. */
}

@keyframes st-selector-slide-down-b-h0ipyym3p7 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.st-native-selector-search[b-h0ipyym3p7] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--st-border-subtle);
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1001;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.st-native-selector-search-input[b-h0ipyym3p7] {
    width: 100%;
    background: var(--st-fill-2);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--st-text-body);
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s;
}

.st-native-selector-search-input:focus[b-h0ipyym3p7] {
    border-color: rgba(211, 59, 178, 0.5);
    background: var(--st-fill-3);
}

.st-native-selector-search-input[b-h0ipyym3p7]::placeholder {
    color: var(--st-text-muted);
}

.st-native-selector-item[b-h0ipyym3p7] {
    padding: 12px 16px;
    font-size: 13.5px;
    color: var(--st-text-body);
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--st-border-subtle);
}

.st-native-selector-item:last-child[b-h0ipyym3p7] {
    border-bottom: none;
}

.st-native-selector-item:hover[b-h0ipyym3p7] {
    background: rgba(211, 59, 178, 0.15);
    /* Magenta sutil */
    color: var(--st-text-strong);
    padding-left: 20px;
    /* Micro-animación */
}

.st-native-selector-item.selected[b-h0ipyym3p7] {
    background: rgba(211, 59, 178, 0.12);
    /* Transparente magenta */
    color: #D33BB2;
    font-weight: 700;
}

/* ── Variante clara (Light=true): popup blanco estilo lista, acento magenta clarito, hover gris ── */
.st-native-selector.light .st-native-selector-dropdown[b-h0ipyym3p7] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.st-native-selector.light .st-native-selector-item[b-h0ipyym3p7] {
    color: var(--st-text-brand);
    border-bottom: 1px solid var(--st-border-subtle);
}

.st-native-selector.light .st-native-selector-search[b-h0ipyym3p7] {
    border-bottom: 1px solid var(--st-border-subtle);
    background: var(--st-surface);
}

.st-native-selector.light .st-native-selector-search-input[b-h0ipyym3p7] {
    background: var(--st-surface-muted);
    border: 1px solid var(--st-border);
    color: var(--st-text-brand);
}

.st-native-selector.light .st-native-selector-search-input:focus[b-h0ipyym3p7] {
    border-color: #D33BB2;
    background: var(--st-surface);
    box-shadow: 0 0 0 2px rgba(211, 59, 178, 0.1);
}

.st-native-selector.light .st-native-selector-item:hover[b-h0ipyym3p7] {
    background: var(--st-surface-sunken);
    /* gris clarito */
    color: var(--st-text-brand);
    padding-left: 20px;
}

.st-native-selector.light .st-native-selector-item.selected[b-h0ipyym3p7] {
    background: var(--st-surface-sunken);
    /* magenta clarito */
    color: #D33BB2;
    font-weight: 700;
}

.st-native-selector.light .st-native-selector-item.selected:hover[b-h0ipyym3p7] {
    background: var(--st-surface-strong);
}

/* ── Variante oscura (Dark=true): fondo translúcido, bordes sutiles para panel glassmorphism ── */
.st-native-selector.dark .st-native-selector-trigger[b-h0ipyym3p7] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: none;
}

.st-native-selector.dark:hover .st-native-selector-trigger[b-h0ipyym3p7],
.st-native-selector.dark.is-open .st-native-selector-trigger[b-h0ipyym3p7] {
    border-color: var(--st-border-stronger);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.st-native-selector.dark .st-native-selector-value[b-h0ipyym3p7] {
    color: var(--st-text-body);
}

.st-native-selector.dark.is-empty .st-native-selector-value[b-h0ipyym3p7] {
    color: var(--st-text-muted);
}

.st-native-selector.dark .st-native-selector-dropdown[b-h0ipyym3p7] {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ── Variante compacta (Compact=true): píldora en línea para títulos y tarjetas ──
   Va al final para ganar a las reglas de .dark/.light con igual especificidad. */
.st-native-selector.compact[b-h0ipyym3p7] {
    display: inline-block;
    width: auto;
    min-height: 0;
    vertical-align: middle;
}

.st-native-selector.compact .st-native-selector-trigger[b-h0ipyym3p7] {
    height: 24px;
    padding: 0 24px 0 10px;
    border-radius: 20px;
    background: var(--st-fill-2);
    box-shadow: none;
}

.st-native-selector.compact:hover .st-native-selector-trigger[b-h0ipyym3p7],
.st-native-selector.compact.is-open .st-native-selector-trigger[b-h0ipyym3p7] {
    background: var(--st-fill-4);
    border-color: var(--st-border-stronger);
    box-shadow: none;
}

.st-native-selector.compact .st-native-selector-value[b-h0ipyym3p7] {
    width: auto;
    flex: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: var(--st-text-strong);
}

.st-native-selector.compact .st-native-selector-arrow-container[b-h0ipyym3p7] {
    right: 9px;
}

.st-native-selector.compact .st-native-selector-pink-triangle[b-h0ipyym3p7] {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 5px;
}

.st-native-selector.compact .st-native-selector-dropdown[b-h0ipyym3p7] {
    top: calc(100% + 6px);
    width: max-content;
    min-width: 100%;
    border-radius: 12px;
}

.st-native-selector.compact .st-native-selector-item[b-h0ipyym3p7] {
    padding: 8px 14px;
    font-size: 0.75rem;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
}

.st-native-selector.compact .st-native-selector-item:hover[b-h0ipyym3p7] {
    padding-left: 18px;
}

/* VM-configuracion-10: optional «create new» row of the picker. */
.st-native-selector-create[b-h0ipyym3p7] {
    font-weight: 600;
    color: #e6007e;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.st-native-selector-create.is-disabled[b-h0ipyym3p7] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /xShared/Components/Selectors/PickerMultiSelect.razor.rz.scp.css */
[b-zcbzpou2bp] .multi-select-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    padding: 4px;
    background: var(--st-surface);
    margin-top: 8px;
}
[b-zcbzpou2bp] .multi-select-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--st-text-body);
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.2s;
    margin-bottom: 2px;
}
[b-zcbzpou2bp] .multi-select-item span {
    flex: 1 1 auto;
    line-height: 1.2;
}
[b-zcbzpou2bp] .multi-select-item:hover {
    background: var(--st-fill-2);
}
[b-zcbzpou2bp] .multi-select-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    border: 1px solid var(--st-border-stronger);
    border-radius: 4px;
    background: var(--st-input-bg);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
[b-zcbzpou2bp] .multi-select-item input[type="checkbox"]:checked {
    background: #d33bb2;
    border-color: #d33bb2;
}
[b-zcbzpou2bp] .multi-select-item input[type="checkbox"]:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}
/* /xShared/Components/Selectors/PickerTime.razor.rz.scp.css */
.st-time-wheel-picker[b-i9m2hqqaj7] {
    position: absolute;
    top: 100%;
    right: 0;
    width: 210px;
    background: var(--st-surface-raised);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    overflow: hidden;
    
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.st-time-wheel-picker.visible[b-i9m2hqqaj7] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.st-time-wheel-picker.inline[b-i9m2hqqaj7] {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
}

.st-time-wheel-container[b-i9m2hqqaj7] {
    padding: 4px;
    display: flex;
    justify-content: center;
    position: relative;
    height: 190px; /* Alrededor de 5 items */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Spacer should be half the container height minus half an item height */
.st-time-wheel-spacer[b-i9m2hqqaj7] {
    min-height: 76px; /* 190/2 - 38/2 = 95 - 19 = 76 */
}

/* The gradient overlays are now replaced by native mask-image on the container */

.st-time-wheel-highlight[b-i9m2hqqaj7] {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 38px;
    transform: translateY(-50%);
    background: rgba(254, 0, 228, 0.15); /* Rosadito theme FE00E4 */
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
}

.st-time-wheel-column[b-i9m2hqqaj7] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
}

.st-time-wheel-column[b-i9m2hqqaj7]::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.st-time-wheel-item[b-i9m2hqqaj7] {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text-muted);
    cursor: pointer;
    width: 100%;
    scroll-snap-align: center;
    transition: all 0.2s;
    z-index: 3;
}

.st-time-wheel-item.active[b-i9m2hqqaj7] {
    color: var(--st-text-strong);
    font-size: 18px;
    font-weight: 800;
}

.st-time-wheel-footer[b-i9m2hqqaj7] {
    display: flex;
    border-top: 1px solid var(--st-border-subtle);
    background: var(--st-fill-1);
}

.st-time-wheel-btn[b-i9m2hqqaj7] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.st-time-wheel-btn.cancel[b-i9m2hqqaj7] {
    color: #ef4444;
}

.st-time-wheel-btn.confirm[b-i9m2hqqaj7] {
    color: #10b981;
}

.st-time-wheel-btn:hover[b-i9m2hqqaj7] {
    background: var(--st-fill-2);
}

.st-time-wheel-btn:active[b-i9m2hqqaj7] {
    background: var(--st-fill-4);
}
/* /xShared/Components/Selectors/PickerTrigger.razor.rz.scp.css */
.st-picker-trigger[b-i9pbmkhmt7] {
    cursor: pointer;
    width: 100%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 10px 44px 10px 44px;
    min-height: 46px;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.st-picker-trigger.has-icon-right[b-i9pbmkhmt7] {
    padding: 10px 56px 10px 14px;
}

.st-picker-trigger:hover[b-i9pbmkhmt7] {
    border-color: #D33BB2;
    box-shadow: 0 0 0 3px rgba(211, 59, 178, 0.08);
}

.st-picker-value[b-i9pbmkhmt7] {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-brand);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.st-picker-trigger.is-empty .st-picker-value[b-i9pbmkhmt7] {
    color: var(--st-text-muted);
    font-weight: 500;
}

.st-picker-icon-container[b-i9pbmkhmt7] {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    pointer-events: none;
    overflow: hidden;
}

.st-picker-icon-container.is-right[b-i9pbmkhmt7] {
    position: relative;
    left: auto;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.st-picker-icon-container.avatar-mode[b-i9pbmkhmt7] {
    background: var(--st-surface-stronger);
}

.st-picker-icon-container.avatar-mode .st-picker-img[b-i9pbmkhmt7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-picker-icon-container.process-mode[b-i9pbmkhmt7] {
    background: #ffffff; /* Siempre blanco, igual en tema claro y oscuro */
    border: 1px solid var(--st-border-strong);
}

.st-picker-icon-container.process-mode .st-picker-initials[b-i9pbmkhmt7] {
    color: #64748b;
}

.st-picker-icon-container.process-mode .st-picker-img[b-i9pbmkhmt7] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
}

.st-picker-initials[b-i9pbmkhmt7] {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-brand);
}

.st-picker-empty-process[b-i9pbmkhmt7] {
    width: 14px;
    height: 14px;
    background: var(--st-surface-stronger);
    border-radius: 50%;
}

.st-picker-overlay[b-i9pbmkhmt7] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 5;
}

.st-picker-pink-triangle[b-i9pbmkhmt7] {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #D33BB2;
    margin-top: 2px;
}

.st-picker-trigger.is-disabled[b-i9pbmkhmt7] {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--st-surface-sunken);
}

.st-picker-spinner[b-i9pbmkhmt7] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(211, 59, 178, 0.2);
    border-radius: 50%;
    border-top-color: #D33BB2;
    animation: stPickerSpin-b-i9pbmkhmt7 0.8s linear infinite;
}

@keyframes stPickerSpin-b-i9pbmkhmt7 {
    to { transform: rotate(360deg); }
}
/* /xShared/Components/Selectors/WorkshopDateTimePicker.razor.rz.scp.css */
.wdtp-row[b-cgvo2at4cf] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wdtp-row + .wdtp-row[b-cgvo2at4cf] {
    margin-top: 8px;
}

.wdtp-picker-wrapper[b-cgvo2at4cf] {
    flex: 1;
    min-width: 0;
}

.wdtp-picker-month[b-cgvo2at4cf] {
    flex: 1.6;
}

/* Hora/minuto tienen 24 y 60 opciones — sin un tope de alto, el menú se saldría de la pantalla.
   ::deep atraviesa el aislamiento de CSS de ActionSelectorCard para llegar a su .st-as-menu. */
.wdtp-picker-wrapper[b-cgvo2at4cf]  .st-as-menu {
    max-height: 220px;
    overflow-y: auto;
}

.wdtp-time-sep[b-cgvo2at4cf] {
    color: var(--st-text-subtle);
    font-weight: 700;
}
/* /xShared/Components/Sidebars/LeftSidebar.razor.rz.scp.css */
/* ============================================================
   LeftSidebar — Shell genérico (ESTÁNDAR CON REPORTES)
   ============================================================ */

/* MOUNT RULE: the panel is `position: absolute` against `.dashboard-container` (fixed, inset 0),
   so it must be rendered at the root of Home / DynamicPanel — never inside `.dynamic-panel`
   (or any ancestor with transform / overflow:hidden / border-radius). Mounted inside a board
   card it gets clipped to that card's rounded inset frame instead of spanning the viewport. */

/* Fondo difuminado detrás del panel (opt-in vía ShowBackdrop). Cubre todo el
   viewport y queda por debajo del panel (z-index 28) pero por encima del contenido,
   enfocando el formulario y bloqueando la interacción con lo de atrás. */
/* El fondo difuminado (background + blur) lo aporta la clase global .st-blurred-backdrop
   (app.css). Aquí solo va posición/z-index/transición propios de este panel. */
.slide-panel-backdrop[b-8n2fhcekzx] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    /* `left` and `clip-path` come inline from BackdropLeftStyle: the backdrop starts just inside
       the panel's right edge (so the rounded-corner cut-outs get dimmed too) and the panel's
       silhouette is carved out of it, so it never tints the panel nor the NavMenu. */
    /* Por encima de todo el contenido del Home (capas en z ~1000-2000) para que el blur no
       quede tapado, pero por debajo de los modales (Anular/Terminar en 9999+). El backdrop
       solo existe cuando ShowBackdrop=true (forms de crear/editar), así que no afecta los
       usos normales del LeftSidebar. */
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
    cursor: pointer;
}

.slide-panel-backdrop.open[b-8n2fhcekzx] {
    opacity: 1;
    visibility: visible;
}

.slide-panel[b-8n2fhcekzx] {
    position: absolute;
    /* Edge to edge vertically, like the NavMenu it slides out of (no gap above/below: it would
       show the shadow and read as a margin). `top/bottom` instead of `height: 100vh` so mobile
       browser bars never push the bottom off screen (see .dashboard-container). */
    top: 0;
    bottom: 0;
    left: -500px;
    /* The ONE width of every side panel in the app (432 visible + 12 under the NavMenu).
       Mirrored in LeftSidebar.razor (PanelWidth): change both together. */
    width: 444px;
    /* The frame of the app, like the NavMenu: navy in both themes. */
    background: var(--st-app-frame);
    border-right: 1px solid var(--st-border);
    /* Mirrored in LeftSidebar.razor (CornerRadius): the backdrop carves this silhouette out. */
    border-radius: 0 16px 16px 0;
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease-in-out,
        visibility 0.4s ease-in-out;

    visibility: hidden;
    opacity: 0;
    z-index: 28;
    /* Restauramos a 28 para que la animación pase por debajo del NavMenu (30) */
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.4);
}

.slide-panel.open[b-8n2fhcekzx] {
    visibility: visible;
    opacity: 1;
}

/* .slide-panel.has-backdrop.open {
    z-index: 9995;
} */

/* ===== Variante "ho-create-sidebar" =====
   Para alojar formularios de creación (Proceso/Entrega/Persona) del wizard de entrega, que vive
   dentro de .expanded-card-view (un containing block por su transform/backdrop-filter). Cambios:
   - position:fixed → se posiciona contra el viewport una vez que el contenedor neutraliza su
     transform/filter (regla .expanded-card-view.high-z-index), igual que el resto de LeftSidebars.
   - z-index alto → por encima del backdrop (9990) y del contenido del Home.
   - se fuerza a una sola columna el ProcessEditPanel (su 2-columnas depende del ancho de
     viewport, no del contenedor, y no cabría en el panel). El ancho es el estándar del shell. */
.slide-panel.ho-create-sidebar[b-8n2fhcekzx] {
    position: fixed;
    z-index: 10000;
}

.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .pe-columns {
    flex-direction: column;
}

.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .pe-handovers-column {
    border-left: none;
    border-top: 1px solid var(--st-border);
    padding-left: 0;
    padding-top: 24px;
    width: 100%;
    /* Its 400px min-width is for the 2-column page layout: wider than the panel, it overflowed on the right. */
    min-width: 0;
}

/* El host (LeftSidebar) ya muestra el título + subtítulo del formulario en su cabecera.
   Ocultamos la cabecera interna de cada formulario para evitar el doble encabezado y
   lograr una presentación limpia de un solo título. */
.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .pe-header,
.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .ue-header {
    display: none;
}

/* La tarjeta blanca del formulario ocupa el ancho del panel sin límites internos. */
.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .pe-form-column,
.slide-panel.ho-create-sidebar[b-8n2fhcekzx]  .process-edit-panel {
    max-width: 500px;
    min-width: 0;
    flex: 1 1 auto;
}

/* ===== Variantes "dcb-delivery-panel" (entrega del DCB, D113) y "kodawari-assign-panel" (asignar desde la ficha
   de la OT, D116) =====
   La entrega rápida y la asignación se desplazan por dentro y dejan sus botones fijos abajo: el cuerpo del panel no
   se desplaza ni deja aire debajo de esos botones. El título sube a la altura de la × y deja poco aire debajo: el
   alto es para el contenido.
   Child combinators on purpose: these panels nest other LeftSidebars (the "Cargo del proceso" form opens inside
   the delivery), and a descendant selector would clip the nested panel's body so its form could not scroll. */
.slide-panel.dcb-delivery-panel > .slide-panel-header[b-8n2fhcekzx],
.slide-panel.kodawari-assign-panel > .slide-panel-header[b-8n2fhcekzx] {
    margin-bottom: 12px;
}

.slide-panel.dcb-delivery-panel > .slide-panel-header > .slide-panel-title-block[b-8n2fhcekzx],
.slide-panel.kodawari-assign-panel > .slide-panel-header > .slide-panel-title-block[b-8n2fhcekzx] {
    margin-top: 2px;
}

.slide-panel.dcb-delivery-panel > .slide-panel-body[b-8n2fhcekzx],
.slide-panel.kodawari-assign-panel > .slide-panel-body[b-8n2fhcekzx],
.slide-panel.kodawari-team-panel > .slide-panel-body[b-8n2fhcekzx] {
    overflow: hidden;
    padding-bottom: 0;
}

/* Delivery/assignment of a pending item (settings): the full handover opens its summary as a fixed dialog
   inside the panel, which stayed trapped under the backdrop (9990). Above it, below the app modals (9999+). */
.slide-panel.pending-item-action-panel.open[b-8n2fhcekzx] {
    z-index: 9995;
}

/* The board's assignment brings its own «Cancelar» at the bottom: no × on top (D164). Escape and the backdrop still close. */
.slide-panel.kodawari-assign-panel > .slide-panel-header > .slide-panel-close-btn[b-8n2fhcekzx] {
    display: none;
}

.slide-panel-back-btn[b-8n2fhcekzx] {
    position: absolute;
    top: -8px;
    /* Compensación para padding 20px (12 - 20 = -8) */
    left: -3px;
    /* Compensación para padding 15px (12 - 15 = -3) */
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-strong);
    /* Blanco por defecto */
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    z-index: 10;
}

.slide-panel-close-btn[b-8n2fhcekzx] {
    position: absolute;
    top: -8px;
    /* Compensación para padding 20px (12 - 20 = -8) */
    right: -3px;
    /* Compensación para padding 15px (12 - 15 = -3) */
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-strong);
    /* Blanco por defecto */
    cursor: pointer;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 10;
}

/* Optional header buttons (HeaderActions): same row as the close button, right next to it (32 px + 4 px gap). */
.slide-panel-header-actions[b-8n2fhcekzx] {
    position: absolute;
    top: -8px;
    right: 33px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    /* Size of the glass help button (Reportes/Help), so it lines up with the close button. */
    --rh-btn-size: 32px;
}

/* ---- Header ---- */
.slide-panel-header[b-8n2fhcekzx] {
    display: flex;
    flex-direction: column;
    /* Cambiamos a columna para centrar sin interferencia de botones */
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    position: relative;
    width: 100%;
}

.slide-panel-back-btn:hover[b-8n2fhcekzx],
.slide-panel-close-btn:hover[b-8n2fhcekzx] {
    background: var(--st-fill-2);
    /* El círculo aparece solo en hover */
    border-color: var(--st-border);
    color: #D33BB2;
    /* Color magenta en hover */
    transform: scale(1.05);
}

.slide-panel-close-btn:disabled[b-8n2fhcekzx] {
    opacity: 0.45;
    cursor: not-allowed;
}

.slide-panel:focus-visible[b-8n2fhcekzx],
.slide-panel-back-btn:focus-visible[b-8n2fhcekzx],
.slide-panel-close-btn:focus-visible[b-8n2fhcekzx] {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}

/* El espaciador ya no es necesario con el nuevo layout de columna */
.slide-panel-header-spacer[b-8n2fhcekzx] {
    display: none;
}

.slide-panel-title-block[b-8n2fhcekzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    /* Bajamos solo los textos */
    box-sizing: border-box;
}

/* Custom header (opt-in via HeaderContent): full width, left aligned, and kept clear of the
   absolutely positioned close button on the right. */
.slide-panel-custom-header[b-8n2fhcekzx] {
    width: 100%;
    box-sizing: border-box;
    padding-right: 40px;
    text-align: left;
}

.slide-panel-label[b-8n2fhcekzx] {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--st-text-subtle);
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
}

.slide-panel-loading-text[b-8n2fhcekzx] {
    color: var(--st-text-strong);
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.slide-panel-subtitle[b-8n2fhcekzx] {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--st-text-strong);
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.slide-panel-description[b-8n2fhcekzx] {
    margin: 6px auto 0 auto;
    /* Centrado automático */
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text-muted);
    line-height: 1.4;
    font-family: 'Segoe UI', sans-serif;
    max-width: 280px;
    animation: slidePanelDescInit-b-8n2fhcekzx 0.8s ease-out backwards;
    animation-delay: 0.2s;
}

@keyframes slidePanelDescInit-b-8n2fhcekzx {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Botón cerrar (X)  ---- */
/* El hover ya está agrupado arriba */

/* ---- Body ---- */
/* The content box (st-chrome-box in css/theme.css): the part of the panel that follows the theme. */
.slide-panel-body[b-8n2fhcekzx] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 16px;
    padding: 14px 12px 24px;
}

.slide-panel-body.is-loading[b-8n2fhcekzx] {
    overflow: hidden !important;
}

/* ===== Variante "flush" (opt-in via Flush) =====
   Edge-to-edge layout for list/detail drawers (metrics drawer of the control boards): the
   content brings its own paddings, so the shell drops its inner padding, the header bottom
   margin and the body gap. The back/close buttons move inside the header area. */
.slide-panel.slide-panel--flush[b-8n2fhcekzx] {
    padding: 0;
}

.slide-panel.slide-panel--flush .slide-panel-header[b-8n2fhcekzx] {
    margin-bottom: 0;
}

/* 24px centers the 32px button on a 20px-padded, two-line header row (label + title). */
.slide-panel.slide-panel--flush .slide-panel-back-btn[b-8n2fhcekzx] {
    top: 24px;
    left: 16px;
}

.slide-panel.slide-panel--flush .slide-panel-close-btn[b-8n2fhcekzx] {
    top: 24px;
    right: 16px;
}

/* The consumer's header owns the paddings (and must leave room on the right for the close button). */
.slide-panel.slide-panel--flush .slide-panel-custom-header[b-8n2fhcekzx] {
    padding-right: 0;
}

.slide-panel.slide-panel--flush .slide-panel-body[b-8n2fhcekzx] {
    gap: 0;
    padding: 0;
    margin: 0 10px 10px;
}

/* Hide scrollbar for all browsers */
.slide-panel[b-8n2fhcekzx],
.slide-panel-body[b-8n2fhcekzx] {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slide-panel[b-8n2fhcekzx]::-webkit-scrollbar,
.slide-panel-body[b-8n2fhcekzx]::-webkit-scrollbar {
    display: none;
}

/* ---- Loading Spinner Estándar ---- */
.slide-panel-full-loading[b-8n2fhcekzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
    color: var(--st-text-strong);
}

.caf-btn-spinner[b-8n2fhcekzx] {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(211, 59, 178, 0.2);
    border-radius: 50%;
    border-top-color: #D33BB2;
    animation: caf-spin-b-8n2fhcekzx 0.8s ease-in-out infinite;
    display: inline-block;
}

.caf-btn-spinner-sm[b-8n2fhcekzx] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: caf-spin-b-8n2fhcekzx 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

/* ---- Botones Estándar (Globales vía ::deep) ---- */
[b-8n2fhcekzx] .caf-btn-cancel,
[b-8n2fhcekzx] .caf-btn-secondary,
[b-8n2fhcekzx] .caf-btn-next {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-wrap: nowrap;
}

[b-8n2fhcekzx] .caf-btn-cancel {
    background: var(--st-surface);
    color: var(--st-text);
    border: 1px solid var(--st-border-strong);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[b-8n2fhcekzx] .caf-btn-cancel:hover {
    background: var(--st-surface-muted);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

[b-8n2fhcekzx] .caf-btn-secondary {
    background: var(--st-btn-secondary-bg);
    color: var(--st-btn-secondary-text);
    border: 1px solid var(--st-border);
}

[b-8n2fhcekzx] .caf-btn-secondary:hover {
    background: var(--st-surface);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

[b-8n2fhcekzx] .caf-btn-next {
    background: #e500cd;
    color: white;
}

[b-8n2fhcekzx] .caf-btn-next:hover:not(:disabled) {
    background: #cc00b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 0, 205, 0.35);
}

[b-8n2fhcekzx] .caf-btn-next:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

[b-8n2fhcekzx] .caf-btn-spinner-sm {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: caf-spin-b-8n2fhcekzx 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes caf-spin-b-8n2fhcekzx {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slide-panel[b-8n2fhcekzx],
    .slide-panel-backdrop[b-8n2fhcekzx],
    .slide-panel-description[b-8n2fhcekzx],
    .slide-panel-back-btn[b-8n2fhcekzx],
    .slide-panel-close-btn[b-8n2fhcekzx] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* /xShared/Components/Sidebars/PickerSidebarDate.razor.rz.scp.css */
.st-picker-date-container[b-2y267wydsp] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.st-picker-sidebar-subtitle[b-2y267wydsp] {
    font-size: 13px;
    color: var(--st-text-muted);
    margin-bottom: 20px;
    text-align: left;
}

.st-picker-calendar-wrapper[b-2y267wydsp] {
    flex: none;
    display: flex;
    justify-content: center;
    background: var(--st-fill-1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Forzar que el flatpickr inline ocupe buen espacio y se reseten estilos intrusivos */
[b-2y267wydsp] .flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Controles de mes y año */
[b-2y267wydsp] .flatpickr-months {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Flechas a los extremos, mes al centro */
    margin-bottom: 12px;
    background: transparent !important;
    padding: 0 4px;
    /* Espacio para que las flechas no toquen el borde */
    width: 100% !important;
    box-sizing: border-box;
}

[b-2y267wydsp] .flatpickr-months .flatpickr-month {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    height: auto !important;
    color: var(--st-text-strong) !important;
    fill: var(--st-text-strong) !important;
}

/* Forzar que los contendores internos usen todo el espacio del Grid */
[b-2y267wydsp] .flatpickr-innerContainer,
[b-2y267wydsp] .flatpickr-rContainer {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

[b-2y267wydsp] .flatpickr-current-month {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    left: auto !important;
}

[b-2y267wydsp] .flatpickr-months .flatpickr-prev-month,
[b-2y267wydsp] .flatpickr-months .flatpickr-next-month {
    position: static !important;
    /* Quitar absoluto para que quede alineado perfecto con flex */
    height: auto !important;
    padding: 8px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    fill: var(--st-text-muted) !important;
    color: var(--st-text-muted) !important;
}

[b-2y267wydsp] .flatpickr-months .flatpickr-prev-month:hover,
[b-2y267wydsp] .flatpickr-months .flatpickr-next-month:hover {
    fill: #FE00E4 !important;
    background: rgba(254, 0, 228, 0.1);
}

[b-2y267wydsp] .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    /* Quitamos el recuadro gris feo */
    color: var(--st-text-strong);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    appearance: none;
    padding: 4px 8px;
    margin: 0;
    cursor: pointer;
    transition: color 0.2s;
}

[b-2y267wydsp] .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    color: #FE00E4;
}

[b-2y267wydsp] .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: var(--st-surface-raised);
    color: var(--st-text-strong);
}

/* Wrapper del año */
[b-2y267wydsp] .flatpickr-current-month .numInputWrapper {
    width: 6ch;
    margin-left: 4px;
}

[b-2y267wydsp] .flatpickr-current-month input.cur-year {
    background: transparent !important;
    color: var(--st-text-strong);
    font-weight: 700;
    font-size: 1rem;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.2s;
}

[b-2y267wydsp] .flatpickr-current-month input.cur-year:hover {
    color: #FE00E4;
}

/* --- Alineación de Días de la Semana usando GRID --- */
[b-2y267wydsp] .flatpickr-weekdays {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
    background: transparent !important;
    height: auto !important;
    /* resetear alturas locas de flatpickr */
}

[b-2y267wydsp] .flatpickr-weekdaycontainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100%;
    background: transparent !important;
    /* quitar si habia gris */
}

[b-2y267wydsp] span.flatpickr-weekday {
    text-align: center;
    color: var(--st-text-subtle);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent !important;
    /* Quitar cualquier fondo heredado de themes */
    margin: 0 !important;
    padding: 0 !important;
}

/* Alineación de los Días usando GRID */
[b-2y267wydsp] .flatpickr-days {
    width: 100% !important;
    display: flex;
    justify-content: center;
    border: none !important;
    padding: 6px 0 !important;
    overflow: visible !important;
}

[b-2y267wydsp] .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    justify-items: center;
    gap: 8px 0;
    /* Espaciado vertical entre filas */
    box-shadow: none !important;
}

/* Estilo individual de cada día */
[b-2y267wydsp] .flatpickr-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    color: var(--st-text-body);
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Días de otros meses */
[b-2y267wydsp] .flatpickr-day.prevMonthDay,
[b-2y267wydsp] .flatpickr-day.nextMonthDay {
    color: var(--st-text-faint);
}

/* Hover de días */
[b-2y267wydsp] .flatpickr-day:hover {
    background: rgba(254, 0, 228, 0.15);
    border-color: rgba(254, 0, 228, 0.3);
    color: var(--st-text-strong);
}

/* Día Seleccionado con color #FE00E4 */
[b-2y267wydsp] .flatpickr-day.selected,
[b-2y267wydsp] .flatpickr-day.startRange,
[b-2y267wydsp] .flatpickr-day.endRange,
[b-2y267wydsp] .flatpickr-day.selected:focus,
[b-2y267wydsp] .flatpickr-day.selected:hover {
    background: #FE00E4 !important;
    border-color: #FE00E4 !important;
    color: #ffffff !important;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(254, 0, 228, 0.5);
    transform: scale(1.05);
    /* Efecto pop premium */
}

/* Hoy */
[b-2y267wydsp] .flatpickr-day.today {
    border-color: #FE00E4;
    border-width: 2px;
}

[b-2y267wydsp] .flatpickr-day.today:hover {
    border-color: #FE00E4;
}

/* Domingos: slate gray / cerrado / tachado cuando deshabilitado */
[b-2y267wydsp] .flatpickr-day.st-sunday-day {
    color: var(--st-text-muted);
    position: relative;
}

[b-2y267wydsp] .flatpickr-day.st-sunday-day:not(.flatpickr-disabled):hover {
    background: rgba(148, 163, 184, 0.18);
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--st-text);
}

[b-2y267wydsp] .flatpickr-day.st-sunday-day.flatpickr-disabled,
[b-2y267wydsp] .flatpickr-day.st-sunday-day.flatpickr-disabled:hover {
    color: var(--st-text-subtle) !important;
    background: rgba(148, 163, 184, 0.08) !important;
    border-color: transparent !important;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Festivos oficiales: golden amber / festivo / indicador con punto */
[b-2y267wydsp] .flatpickr-day.st-holiday-day {
    color: #f59e0b !important;
    font-weight: 700;
    position: relative;
}

[b-2y267wydsp] .flatpickr-day.st-holiday-day::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #f59e0b;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.6);
}

[b-2y267wydsp] .flatpickr-day.st-holiday-day:not(.flatpickr-disabled):hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--st-warning-fg);
}

[b-2y267wydsp] .flatpickr-day.st-holiday-day.flatpickr-disabled,
[b-2y267wydsp] .flatpickr-day.st-holiday-day.flatpickr-disabled:hover {
    color: #d97706 !important;
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: transparent !important;
    cursor: not-allowed !important;
    opacity: 0.75;
}

[b-2y267wydsp] .flatpickr-day.st-holiday-day.selected {
    color: #ffffff !important;
}

[b-2y267wydsp] .flatpickr-day.st-holiday-day.selected::after {
    background-color: #ffffff;
    box-shadow: none;
}

/* Dia sugerido (resaltado especial) */
[b-2y267wydsp] .flatpickr-day.st-suggested-day {
    box-shadow: inset 0 0 0 2px #06b6d4 !important;
}

/* Acciones inferiores (Botones) */
.st-picker-date-actions[b-2y267wydsp] {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: auto;
    padding-bottom: 20px;
}

.st-picker-date-actions .limpiar-btn[b-2y267wydsp] {
    width: auto;
    min-width: 120px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text);
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.st-picker-date-actions .limpiar-btn:hover[b-2y267wydsp] {
    background: var(--st-surface-muted);
    color: var(--st-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.st-picker-date-actions .aplicar-btn[b-2y267wydsp] {
    width: auto;
    min-width: 120px;
    background: #e500cd;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    padding: 10px 24px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.25);
}

.st-picker-date-actions .aplicar-btn:hover[b-2y267wydsp] {
    background: #cc00b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 0, 205, 0.35);
}

.st-picker-date-actions .aplicar-btn:active[b-2y267wydsp] {
    transform: translateY(0);
}
/* /xShared/Components/Sidebars/PickerSidebarSearch.razor.rz.scp.css */
.st-picker-sidebar-subtitle[b-quj25n6e1y] {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-muted);
    margin: 0 0 16px 0;
    text-transform: lowercase;
}

.st-picker-sidebar-empty[b-quj25n6e1y] {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--st-text-muted);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.st-picker-sidebar-spinner[b-quj25n6e1y] {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(211, 59, 178, 0.2);
    border-radius: 50%;
    border-top-color: #D33BB2;
    animation: stPickerSidebarSpin-b-quj25n6e1y 0.8s linear infinite;
}

@keyframes stPickerSidebarSpin-b-quj25n6e1y {
    to { transform: rotate(360deg); }
}

.st-sidebar-search-container[b-quj25n6e1y] {
    margin-bottom: 12px;
}

.st-sidebar-search-input[b-quj25n6e1y] {
    width: 100%;
    background: var(--st-surface-sunken);
    border: 1px solid var(--st-border-subtle);
    border-radius: 10px;
    color: var(--st-text-strong);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.st-sidebar-search-input[b-quj25n6e1y]::placeholder {
    color: var(--st-text-subtle);
}

.st-sidebar-search-input:focus[b-quj25n6e1y] {
    border-color: var(--st-border-strong);
    background: var(--st-input-bg);
}

.st-picker-grid[b-quj25n6e1y] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 8px 0;
    overflow: visible;
}

.st-picker-grid-leading[b-quj25n6e1y] {
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--st-border-subtle);
}
/* VM-configuracion-10: optional «create new» action of the picker. */
.st-picker-sidebar-create[b-quj25n6e1y] {
    width: 100%;
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.st-picker-sidebar-create:disabled[b-quj25n6e1y] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /xShared/Components/Sidebars/PickerSidebarTime.razor.rz.scp.css */
.st-picker-date-container[b-a6stvrguzd] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.st-picker-sidebar-subtitle[b-a6stvrguzd] {
    font-size: 13px;
    color: var(--st-text-muted);
    margin-bottom: 20px;
    text-align: left;
}


.st-picker-calendar-wrapper[b-a6stvrguzd] {
    flex: none;
    display: flex;
    justify-content: center;
    background: var(--st-fill-1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--st-border-subtle);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Acciones inferiores (Botones) */
.st-picker-date-actions[b-a6stvrguzd] {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: auto;
    padding-bottom: 20px;
}

.st-picker-date-actions .limpiar-btn[b-a6stvrguzd] {
    width: auto;
    min-width: 120px;
    background: var(--st-surface);
    border: 1px solid var(--st-border-strong);
    color: var(--st-text);
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.st-picker-date-actions .limpiar-btn:hover[b-a6stvrguzd] {
    background: var(--st-surface-muted);
    color: var(--st-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.st-picker-date-actions .aplicar-btn[b-a6stvrguzd] {
    width: auto;
    min-width: 120px;
    background: #e500cd;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    padding: 10px 24px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(229, 0, 205, 0.25);
}

.st-picker-date-actions .aplicar-btn:hover[b-a6stvrguzd] {
    background: #cc00b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 0, 205, 0.35);
}

.st-picker-date-actions .aplicar-btn:active[b-a6stvrguzd] {
    transform: translateY(0);
}
/* /xShared/Components/Sidebars/RightSidebar.razor.rz.scp.css */
/* El fondo difuminado (tinte + desenfoque) es el de la clase global .st-blurred-backdrop (app.css), pero aquí entra y sale
   sin opacidad: en Safari un `backdrop-filter` sobre un elemento que se desvanece con `opacity` deja, al rato o al volver de
   otra pantalla, solo el tinte (el fondo blanco sin desenfoque). Cerrado no tiene tinte ni desenfoque y está oculto; abierto,
   el tinte y el desenfoque de siempre, con su transición. Va en su propia capa (translateZ) para que el navegador no la
   rehaga con lo que cambia debajo (el tablero se repinta solo). Quien la quiere transparente (el semáforo) la anula con
   !important, como antes. */
.right-sidebar-overlay[b-1arlmy5aq4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 200000;
    /* Super alto para cubrir NavMenu y todo */
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateZ(0);
    transition: background-color 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease, visibility 0.4s ease;
}

.right-sidebar-overlay.open[b-1arlmy5aq4] {
    visibility: visible;
    background-color: var(--st-backdrop-tint);
    -webkit-backdrop-filter: blur(var(--st-backdrop-blur));
    backdrop-filter: blur(var(--st-backdrop-blur));
}

.right-sidebar-content[b-1arlmy5aq4] {
    width: var(--sidebar-width, 450px);
    max-width: 92vw;
    height: 100vh;
    height: 100dvh;
    background: var(--st-app-frame);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-radius: 16px 0 0 16px;
    border-left: 1px solid var(--st-border);

    /* Añadimos el padding del contenedor igual que en LeftSidebar */
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
}

.right-sidebar-content.open[b-1arlmy5aq4] {
    transform: translateX(0);
}

.right-sidebar-header[b-1arlmy5aq4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Align to bottom of header space */
    padding: 0 20px 16px 20px;
    border-bottom: 1px solid var(--st-border-subtle);
    position: relative;
    min-height: 45px;
}

.right-sidebar-title[b-1arlmy5aq4] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.right-sidebar-close[b-1arlmy5aq4] {
    position: absolute;
    top: -12px;
    right: -8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--st-text-strong);
    cursor: pointer;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.right-sidebar-close:hover[b-1arlmy5aq4] {
    background: var(--st-fill-2);
    border-color: var(--st-border);
    color: #D33BB2;
    transform: scale(1.05);
}

/* ===== Variante "kodawari-order-sheet" (ficha de la OT de los tableros, D116) =====
   La cabecera trae la OT y la placa a la izquierda, a la altura de la ×: sin título centrado, sin la línea de abajo
   y sin su aire, así el alto es para la ficha. */
.right-sidebar-content.kodawari-order-sheet .right-sidebar-header[b-1arlmy5aq4] {
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0 36px 0 2px;
    border-bottom: none;
}

/* The content box (st-chrome-box in css/theme.css): the part of the panel that follows the theme. */
.right-sidebar-body[b-1arlmy5aq4] {
    flex: 1;
    overflow-y: auto;
    margin-top: 12px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar for right sidebar body */
.right-sidebar-body[b-1arlmy5aq4]::-webkit-scrollbar {
    width: 6px;
}

.right-sidebar-body[b-1arlmy5aq4]::-webkit-scrollbar-track {
    background: transparent;
}

.right-sidebar-body[b-1arlmy5aq4]::-webkit-scrollbar-thumb {
    background: var(--st-fill-6);
    border-radius: 10px;
}

.right-sidebar-body[b-1arlmy5aq4]::-webkit-scrollbar-thumb:hover {
    background: var(--st-fill-7);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .right-sidebar-content[b-1arlmy5aq4] {
        width: 100%;
    }
}
/* /xShared/Components/TaggedText.razor.rz.scp.css */
/* Las etiquetas de TaggedText: el rosa de la marca en un tinte suave (fondo, borde y texto salen de --st-accent-*, que cambian con
   el modo claro/oscuro). Los elementos los pinta el componente por código, por eso se llega a ellos con ::deep desde su raíz. */
.tt-host[b-q1a5b9kjvt] {
    display: inline;
}

.tt-host[b-q1a5b9kjvt]  .tt {
    display: inline;
    padding: 1px 7px;
    border: 1px solid var(--st-accent-border, rgba(216, 27, 132, 0.4));
    border-radius: 6px;
    background: var(--st-accent-bg, rgba(216, 27, 132, 0.15));
    color: var(--st-accent-text, #f9a8d4);
    font-weight: 700;
    font-size: 0.93em;
    line-height: 1.6;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
/* /xShared/Components/ToggleSwitch.razor.rz.scp.css */
.st-toggle[b-hpb69o7hpd] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.st-toggle input[b-hpb69o7hpd] {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-toggle-slider[b-hpb69o7hpd] {
    position: absolute;
    inset: 0;
    background-color: var(--st-surface-stronger);
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.st-toggle-slider[b-hpb69o7hpd]::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.st-toggle input:checked + .st-toggle-slider[b-hpb69o7hpd] {
    background-color: #4CAF50;
}

.st-toggle input:checked + .st-toggle-slider[b-hpb69o7hpd]::before {
    transform: translateX(20px);
}

.st-toggle.is-disabled[b-hpb69o7hpd] {
    opacity: 0.6;
}

.st-toggle.is-disabled .st-toggle-slider[b-hpb69o7hpd] {
    cursor: not-allowed;
}
/* /xShared/Components/Tours/GuidedHelp.razor.rz.scp.css */
/* La «i» de la ayuda guiada. En pantallas claras, un círculo de 36 px con los tokens de la app (sigue el modo claro y el
   oscuro) junto a los botones de la cabecera; con Glass, el cristal translúcido de las barras oscuras (Reportes, Documentación). */
.gh[b-7rsxq3icxg] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.gh[b-7rsxq3icxg]  .info-carousel-btn {
    width: var(--gh-size, 36px);
    height: var(--gh-size, 36px);
    color: var(--st-text-subtle);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.gh[b-7rsxq3icxg]  .info-carousel-btn svg {
    width: 18px;
    height: 18px;
}

.gh[b-7rsxq3icxg]  .info-carousel-btn:hover,
.gh[b-7rsxq3icxg]  .info-carousel-btn.active {
    color: var(--st-text-strong);
    background: var(--st-surface-stronger, var(--st-surface));
    border-color: var(--st-border);
    transform: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.gh[b-7rsxq3icxg]  .info-carousel-btn:focus-visible {
    outline: 2px solid #FF00FF;
    outline-offset: 2px;
}

.gh.is-glass[b-7rsxq3icxg]  .info-carousel-btn {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(30, 41, 59, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.gh.is-glass[b-7rsxq3icxg]  .info-carousel-btn:hover,
.gh.is-glass[b-7rsxq3icxg]  .info-carousel-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.gh[b-7rsxq3icxg]  .info-carousel-card {
    width: 380px;
    text-align: left;
}

.gh[b-7rsxq3icxg]  .gh-text,
.gh[b-7rsxq3icxg]  .gh-list {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

.gh[b-7rsxq3icxg]  .gh-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
}

.gh[b-7rsxq3icxg]  .gh-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 12px;
    color: #9d174d;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    background: #fdf2f8;
    border: 1px solid #f3a8d0;
    border-radius: 999px;
    cursor: pointer;
}

.gh[b-7rsxq3icxg]  .gh-tour-btn:hover {
    color: #fff;
    background: #d81b84;
    border-color: #d81b84;
}

.gh[b-7rsxq3icxg]  .gh-tour-btn:focus-visible {
    outline: 2px solid #d81b84;
    outline-offset: 2px;
}
/* /xShared/Components/Tours/GuidedTour.razor.rz.scp.css */
/* Recorrido guiado genérico. El aspecto sale de los tokens de la app (theme.css, --st-*): la tarjeta es una superficie elevada
   que sigue el modo claro y el oscuro, la acción principal lleva el magenta de la marca, el contador y el marco del foco el oro, y
   los botones secundarios son los translúcidos de los demás paneles. Los valores de respaldo (el modo oscuro) solo se usan si
   el tema no estuviera cargado. guided-tour.js coloca el foco y la tarjeta en las medidas de la raíz; sin el script la tarjeta va
   en el centro. Encima de todo, también de los modales y paneles laterales que se abren durante un paso «hazlo tú» (el selector
   del catálogo usa 200000 y hay modales en el máximo): el recorrido sigue explicando lo que se abrió. guided-tour.js lo deja
   último en el body cuando otro elemento se pone después, porque a igual z-index pinta encima el que va último. */
.gt[b-wy1myxatlh] {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    color: var(--st-text, #f1f5f9);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.gt[hidden][b-wy1myxatlh] {
    display: none;
}

.gt-dim[b-wy1myxatlh] {
    position: absolute;
    inset: 0;
    /* No blur behind it: under it the 3D map redraws every frame, and the blur was redone with it (the whole PC slowed down). */
    background: rgba(8, 15, 30, 0.66);
    animation: gt-fade-b-wy1myxatlh 0.25s ease both;
}

/* The hole's shadow covers the whole screen: anything that changes on it every frame (an animated outline, a transition of
   «all») repaints the screen every frame over the map. It only moves (its box, briefly); what pulses is its ::after, which only
   changes its opacity and goes on its own layer, so the compositor animates it without painting. */
.gt-hole[b-wy1myxatlh] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(8, 15, 30, 0.62), 0 0 0 5px rgba(229, 185, 0, 0.25), 0 0 22px 4px rgba(229, 185, 0, 0.35);
    outline: 2px solid var(--st-brand-gold, #e5b900);
    pointer-events: none;
    transition: left 0.2s ease, top 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.gt-hole[b-wy1myxatlh]::after {
    content: '';
    position: absolute;
    inset: -7px;
    border: 2px solid var(--st-brand-magenta, #d81b84);
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
}

/* La parte del paso ya no está en pantalla: todo atenuado, sin marco. */
.gt-hole[data-empty][b-wy1myxatlh] {
    outline: none;
    box-shadow: 0 0 0 9999px rgba(8, 15, 30, 0.62);
}

.gt-card[b-wy1myxatlh] {
    position: absolute;
    top: max(16px, calc(50% - 95px));
    left: max(16px, calc(50% - 170px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100% - 24px);
    padding: 16px 18px;
    border: 1px solid var(--st-border-strong, rgba(255, 255, 255, 0.18));
    border-radius: 14px;
    background: var(--st-surface-raised, #26394f);
    color: var(--st-text, #f1f5f9);
    box-shadow: var(--st-shadow-lg, 0 20px 40px -10px rgba(0, 0, 0, 0.55));
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    animation: gt-pop-b-wy1myxatlh 0.22s ease both;
}

.gt-card h3[b-wy1myxatlh] {
    margin: 0;
    color: var(--st-text-strong, #f8fafc);
    font-size: 17px;
    font-weight: 700;
}

.gt-card p[b-wy1myxatlh] {
    margin: 0;
    color: var(--st-text-secondary, #cbd5e1);
    line-height: 1.5;
}

/* «Paso 2 de 8»: en oro, como las cifras que la app quiere destacar. */
.gt-n[b-wy1myxatlh] {
    color: var(--st-brand-gold, #e5b900);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gt-acts[b-wy1myxatlh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.gt-gap[b-wy1myxatlh] {
    flex: 1;
}

.gt-btn[b-wy1myxatlh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 15px;
    border: 1px solid var(--st-border-strong, rgba(255, 255, 255, 0.18));
    border-radius: 8px;
    background: var(--st-fill-3, rgba(255, 255, 255, 0.08));
    color: var(--st-text, #f1f5f9);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gt-btn:hover[b-wy1myxatlh] {
    border-color: var(--st-border-stronger, rgba(255, 255, 255, 0.3));
    background: var(--st-fill-5, rgba(255, 255, 255, 0.15));
}

.gt-btn.is-ghost[b-wy1myxatlh] {
    border-color: transparent;
    background: transparent;
    color: var(--st-text-subtle, #b0b8c6);
}

.gt-btn.is-ghost:hover[b-wy1myxatlh] {
    background: var(--st-fill-3, rgba(255, 255, 255, 0.08));
    color: var(--st-text, #f1f5f9);
}

/* La acción principal: el magenta de la marca, como «Agregar» y los demás botones de acción de la app. */
.gt-btn.is-pri[b-wy1myxatlh] {
    border-color: transparent;
    background: var(--st-accent, #d81b84);
    color: #ffffff;
    box-shadow: 0 6px 16px -6px rgba(216, 27, 132, 0.65);
}

.gt-btn.is-pri:hover[b-wy1myxatlh] {
    background: var(--st-accent-hover, #c21875);
    box-shadow: 0 8px 20px -6px rgba(216, 27, 132, 0.8);
    transform: translateY(-1px);
}

.gt-btn.is-big[b-wy1myxatlh] {
    height: 40px;
    padding: 0 20px;
    font-size: 13.5px;
}

.gt-btn:focus-visible[b-wy1myxatlh] {
    outline: 3px solid rgba(216, 27, 132, 0.45);
    outline-offset: 2px;
}

/* ── Bienvenida ─────────────────────────────────────────────────────────── */
.gt-card.is-welcome[b-wy1myxatlh] {
    top: 50%;
    left: 50%;
    width: 420px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    transform: translate(-50%, -50%);
    animation: gt-pop-center-b-wy1myxatlh 0.3s ease both;
}

/* La franja de arriba: el magenta de la marca que se funde hacia el oro, con un icono de gráfica que destella. */
.gt-hero[b-wy1myxatlh] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    background: linear-gradient(120deg, #d81b84 0%, #b0176c 45%, #e5b900 130%);
    overflow: hidden;
}

.gt-hero[b-wy1myxatlh]::before,
.gt-hero[b-wy1myxatlh]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.gt-hero[b-wy1myxatlh]::before {
    top: -46px;
    left: -30px;
    width: 140px;
    height: 140px;
}

.gt-hero[b-wy1myxatlh]::after {
    right: -26px;
    bottom: -58px;
    width: 160px;
    height: 160px;
}

.gt-hero-icon[b-wy1myxatlh] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}

.gt-body[b-wy1myxatlh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 26px 22px;
}

.is-welcome h3[b-wy1myxatlh] {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.is-welcome p[b-wy1myxatlh] {
    font-size: 14.5px;
    line-height: 1.55;
}

.gt-note[b-wy1myxatlh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 5px 11px;
    border: 1px solid var(--st-gold-border, rgba(229, 185, 0, 0.4));
    border-radius: 999px;
    background: var(--st-gold-bg, rgba(229, 185, 0, 0.14));
    color: var(--st-gold-text, #fde68a);
    font-size: 12px;
    font-weight: 700;
}

.is-welcome .gt-acts[b-wy1myxatlh] {
    margin-top: 14px;
}

@keyframes gt-fade-b-wy1myxatlh {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gt-pop-b-wy1myxatlh {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes gt-pop-center-b-wy1myxatlh {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)) scale(0.97); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: reduce) {
    .gt-hole[b-wy1myxatlh],
    .gt-btn[b-wy1myxatlh] {
        transition: none;
    }

    .gt-dim[b-wy1myxatlh],
    .gt-card[b-wy1myxatlh],
    .gt-card.is-welcome[b-wy1myxatlh] {
        animation: none;
    }
}

@media (max-width: 480px) {
    .gt-card.is-welcome[b-wy1myxatlh] {
        width: calc(100% - 24px);
    }

    .gt-hero[b-wy1myxatlh] {
        height: 84px;
    }
}

/* «Hazlo tú»: la parte iluminada recibe el ratón. La raíz lo deja pasar; lo atajan la tarjeta y los cuatro velos que
   guided-tour.js pone alrededor del foco. El foco late en el magenta de la marca para invitar al clic. */
.gt[data-hands][b-wy1myxatlh] {
    pointer-events: none;
}

.gt[data-hands] .gt-card[b-wy1myxatlh],
.gt[data-waiting] .gt-wait[b-wy1myxatlh] {
    pointer-events: auto;
}

.gt-shade[b-wy1myxatlh] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: auto;
}

.gt[data-hands] .gt-hole:not([data-empty])[b-wy1myxatlh] {
    outline-color: var(--st-brand-magenta, #d81b84);
}

.gt[data-hands] .gt-hole:not([data-empty])[b-wy1myxatlh]::after {
    animation: gt-invite-b-wy1myxatlh 1.6s ease-in-out infinite;
}

@keyframes gt-invite-b-wy1myxatlh {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .gt[data-hands] .gt-hole:not([data-empty])[b-wy1myxatlh]::after {
        animation: none;
    }
}

/* The part of the step is not there and the card says what comes first: the person has to do it on the page (close a dialog,
   open what holds the part), so the page takes the mouse and is not dimmed; only the card keeps its own. Blocking it left «Omitir»
   as the only way on. */
.gt[data-missing][b-wy1myxatlh] {
    pointer-events: none;
}

.gt[data-missing] .gt-card[b-wy1myxatlh] {
    pointer-events: auto;
}

.gt[data-missing] .gt-hole[b-wy1myxatlh] {
    box-shadow: none;
    outline-color: transparent;
}

/* Mientras la persona termina lo que abrió (un diálogo), el recorrido se aparta: no atenúa ni ataja nada, solo esta píldora. */
.gt[data-waiting][b-wy1myxatlh] {
    pointer-events: none;
}

.gt-wait[b-wy1myxatlh] {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border-radius: 999px;
    background: var(--st-surface-elevated, #1f2f45);
    border: 1px solid var(--st-border, rgba(255, 255, 255, 0.12));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    max-width: calc(100vw - 24px);
    animation: gt-fade-b-wy1myxatlh 0.25s ease both;
}

/* The lit part is low on the screen (the photo of the sidebar): what it opens shows there, so the pill goes up, out of its way. */
.gt[data-lit-low] .gt-wait[b-wy1myxatlh] {
    top: 16px;
    bottom: auto;
}

/* A narrow screen: the words keep a readable width and the buttons go to the next line, instead of one word per line. */
@media (max-width: 820px) {
    .gt-wait[b-wy1myxatlh] {
        flex-wrap: wrap;
        justify-content: center;
        width: calc(100vw - 24px);
        border-radius: 16px;
    }

    .gt-wait > span:not(.gt-wait-dot)[b-wy1myxatlh] {
        flex: 1 1 14em;
    }
}

/* Mientras se busca la parte del paso (su pantalla aún carga), la tarjeta espera oculta: solo se ve esta píldora, y solo si tarda. */
.gt[data-locating] .gt-card[b-wy1myxatlh],
.gt[data-locating] .gt-hole[b-wy1myxatlh],
.gt[data-locating] .gt-shade[b-wy1myxatlh],
.gt[data-locating] .gt-point[b-wy1myxatlh],
.gt[data-locating] .gt-hand[b-wy1myxatlh] {
    visibility: hidden;
}

.gt-wait.is-locating[b-wy1myxatlh] {
    padding-right: 10px;
    pointer-events: auto;
    animation: gt-fade-b-wy1myxatlh 0.25s ease 0.5s both;
}

/* El clic anterior debía abrir esta parte y no está en la pantalla: la tarjeta lo dice, en el centro, con «Atrás» y «Omitir». */
.gt-missing[b-wy1myxatlh] {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--st-text-strong, #fff);
    background: rgba(245, 197, 66, 0.14);
    border: 1px solid rgba(245, 197, 66, 0.45);
}

.gt-do[b-wy1myxatlh] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-text-strong, #fff);
}

.gt-wait-dot[b-wy1myxatlh] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--st-brand-magenta, #d81b84);
    animation: gt-invite-dot-b-wy1myxatlh 1.2s ease-in-out infinite;
}

@keyframes gt-invite-dot-b-wy1myxatlh {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* The hand of a «hazlo tú» step: it shows the gesture over the control (guided-tour.js sets where and how far it moves). */
.gt-hand[b-wy1myxatlh] {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    display: none;
}

.gt-hand[data-gesture][b-wy1myxatlh] {
    display: block;
}

.gt-hand-icon[b-wy1myxatlh] {
    position: absolute;
    left: -6px;
    top: -4px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    animation: gt-hand-move-b-wy1myxatlh 2.2s ease-in-out infinite;
}

.gt-hand-ring[b-wy1myxatlh] {
    position: absolute;
    left: -14px;
    top: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--st-brand-magenta, #d81b84);
    animation: gt-hand-ring-b-wy1myxatlh 2.2s ease-in-out infinite;
}

.gt-hand[data-gesture="tap"] .gt-hand-icon[b-wy1myxatlh] {
    animation-name: gt-hand-tap-b-wy1myxatlh;
}

@keyframes gt-hand-tap-b-wy1myxatlh {
    0%, 100% { transform: translate(8px, 10px) scale(1); }
    40%, 60% { transform: translate(0, 0) scale(0.92); }
}

@keyframes gt-hand-move-b-wy1myxatlh {
    0%, 15% { transform: translate(0, 0) scale(0.94); }
    70%, 100% { transform: translate(var(--gt-dx, 90px), var(--gt-dy, 0px)) scale(0.94); }
}

@keyframes gt-hand-ring-b-wy1myxatlh {
    0%, 15% { transform: translate(0, 0) scale(0.6); opacity: 0.9; }
    70%, 100% { transform: translate(var(--gt-dx, 90px), var(--gt-dy, 0px)) scale(1.2); opacity: 0; }
}

.gt-hand[data-gesture="tap"] .gt-hand-ring[b-wy1myxatlh] {
    animation-name: gt-hand-tap-ring-b-wy1myxatlh;
}

@keyframes gt-hand-tap-ring-b-wy1myxatlh {
    0%, 100% { transform: scale(0.5); opacity: 0; }
    40% { transform: scale(0.8); opacity: 0.9; }
    80% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .gt-hand-icon[b-wy1myxatlh],
    .gt-hand-ring[b-wy1myxatlh] {
        animation: none;
    }
}

/* A frame around the exact control the hand works on, when it is not the lit part (one card inside the whole grid). */
.gt-point[b-wy1myxatlh] {
    position: absolute;
    display: none;
    pointer-events: none;
    border: 2px dashed var(--st-brand-magenta, #d81b84);
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(216, 27, 132, 0.18);
}

.gt-point[data-on][b-wy1myxatlh] {
    display: block;
}
