@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* /Components/Aviso.razor.rz.scp.css */
.aviso[b-w6vgndtdzv] {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
}

/* Ámbar: avisos informativos / bloqueos suaves. */
.aviso.warn[b-w6vgndtdzv] {
    background: #FEF3E2;
    color: var(--warn, #B45309);
}

/* Rojo: errores. */
.aviso.alert[b-w6vgndtdzv] {
    background: #FDECEA;
    color: var(--alert);
    border: 1px solid #f3c9c5;
    font-weight: 500;
}

.aviso .ti[b-w6vgndtdzv] { vertical-align: -2px; flex-shrink: 0; }
/* /Components/EncabezadoPagina.razor.rz.scp.css */
.ih-titulo-row[b-7mvuuyu9n9] { display: flex; align-items: center; gap: 12px; }

.btn-volver[b-7mvuuyu9n9] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s, border-color 0.12s;
}
.btn-volver:hover[b-7mvuuyu9n9] { background: var(--paper); border-color: var(--ink); }
.btn-volver .ti[b-7mvuuyu9n9] { font-size: 20px; }

/* En mobile el encabezado (título + acciones) se muestra apilado y cada
   acción ocupa su propia fila a ancho completo. */
@media (max-width: 767px) {
    .page-header[b-7mvuuyu9n9] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .ih-titulo[b-7mvuuyu9n9] { min-width: 0; }
    .ih-acciones[b-7mvuuyu9n9] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    .ih-acciones[b-7mvuuyu9n9]  > * { width: 100%; }
    .ih-acciones[b-7mvuuyu9n9]  .btn-primary { justify-content: center; }
    .ih-acciones[b-7mvuuyu9n9]  .campo-fecha .fecha,
    .ih-acciones[b-7mvuuyu9n9]  .campo-fecha .fecha-btn { width: 100%; }
    .ih-acciones[b-7mvuuyu9n9]  .campo-fecha .fecha-btn { justify-content: space-between; }
}
/* /Components/EstadoVacio.razor.rz.scp.css */
.estado-vacio[b-m0c0z89aho] {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 30px 0;
    margin: 0;
}
/* /Components/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-leeoxf3r56] {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(244, 244, 242, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-box[b-leeoxf3r56] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 2rem;
}

/* Logo Rosen en versión oscura (fondo claro). */
.loading-logo[b-leeoxf3r56] { height: 40px; width: auto; filter: brightness(0); }

.loading-slogan[b-leeoxf3r56] {
    color: rgba(0, 0, 0, 0.42);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: -6px;
}

.loading-spinner[b-leeoxf3r56] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--red);
    animation: loading-spin-b-leeoxf3r56 0.8s linear infinite;
}

@keyframes loading-spin-b-leeoxf3r56 { to { transform: rotate(360deg); } }

.loading-msg[b-leeoxf3r56] {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.78);
    font-weight: 500;
}
/* /Components/ModalConfirmacion.razor.rz.scp.css */
.mc-overlay[b-gfrwew5fyc] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.mc-modal[b-gfrwew5fyc] {
    background: var(--surface);
    border-radius: 12px;
    padding: 26px 26px 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}
.mc-icon[b-gfrwew5fyc] { font-size: 40px; color: var(--ink); }
.mc-icon.peligro[b-gfrwew5fyc] { color: var(--alert, var(--red)); }
.mc-icon.warn[b-gfrwew5fyc] { color: var(--warn, #B45309); }
.mc-icon.info[b-gfrwew5fyc] { color: var(--info, #1565C0); }
.mc-icon.ok[b-gfrwew5fyc] { color: var(--ok, #2E7D32); }
.mc-titulo[b-gfrwew5fyc] { font-size: 1.15rem; font-weight: 600; margin: 10px 0 6px; }
.mc-texto[b-gfrwew5fyc] { font-size: 13px; color: var(--ink); margin: 0 0 20px; }
.mc-acciones[b-gfrwew5fyc] { display: flex; gap: 10px; justify-content: center; }

.mc-btn-ghost[b-gfrwew5fyc] {
    background: var(--surface);
    border: 1px solid #cfcdc7;
    color: var(--ink);
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.mc-btn-ghost:hover[b-gfrwew5fyc] { background: var(--paper); }

.mc-btn-peligro[b-gfrwew5fyc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.mc-btn-peligro:hover[b-gfrwew5fyc] { background: #c8121f; }
/* /Components/PreguntaAccordion.razor.rz.scp.css */
.acc[b-qygjfa6a1d] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.acc.open[b-qygjfa6a1d] { border-color: #c9c7c1; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }

/* ── Header ── */
.acc-header[b-qygjfa6a1d] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.acc-marker[b-qygjfa6a1d] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid #cfcdc7;
    color: #b0aea8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}
.acc.open .acc-marker[b-qygjfa6a1d] { border-color: #9b9992; color: var(--ink); }
.acc-marker.done[b-qygjfa6a1d] { border: none; color: var(--ok); }
.acc-marker.done .ti[b-qygjfa6a1d] { font-size: 21px; }

.acc-title[b-qygjfa6a1d] { font-weight: 600; font-size: 14px; color: var(--ink); }

.acc-value[b-qygjfa6a1d] {
    margin-left: auto;
    background: #EAF4EA;
    color: var(--ok);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 100px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-pending[b-qygjfa6a1d] { margin-left: auto; font-size: 11px; color: var(--muted); }
.acc-chevron[b-qygjfa6a1d] { color: var(--muted); font-size: 18px; flex-shrink: 0; }
.acc.open .acc-chevron[b-qygjfa6a1d] { color: var(--ink); }

/* ── Body ── */
.acc-body[b-qygjfa6a1d] { border-top: 1px solid var(--border); padding: 12px 16px; }

.acc-help[b-qygjfa6a1d] {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 10px;
}
.acc-help .ti[b-qygjfa6a1d] { vertical-align: -2px; }

/* ── Texto libre / Fecha ── */
.acc-texto[b-qygjfa6a1d] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    resize: vertical;
    background: var(--surface);
    color: var(--ink);
}
.acc-texto:focus[b-qygjfa6a1d] { border-color: var(--ink); }

.acc-fecha[b-qygjfa6a1d] { display: flex; }

/* ── Pie de navegación ── */
.acc-nav[b-qygjfa6a1d] {
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 16px;
}

/* Botones redondos de navegación entre preguntas (izquierda/derecha). */
.nav-round[b-qygjfa6a1d] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #cfcdc7;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.nav-round:hover:not(:disabled)[b-qygjfa6a1d] { background: var(--paper); border-color: var(--ink); }
.nav-round:disabled[b-qygjfa6a1d] { opacity: 0.35; cursor: default; }
.nav-round .ti[b-qygjfa6a1d] { font-size: 18px; }

.nav-prev[b-qygjfa6a1d], .nav-next[b-qygjfa6a1d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.nav-prev[b-qygjfa6a1d] {
    background: var(--surface);
    border: 1px solid #cfcdc7;
    color: var(--ink);
}
.nav-prev:hover:not(:disabled)[b-qygjfa6a1d] { background: var(--paper); }
.nav-prev:disabled[b-qygjfa6a1d] { opacity: 0.4; cursor: default; }

.nav-pos[b-qygjfa6a1d] { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }

.nav-next[b-qygjfa6a1d] {
    background: var(--ink);
    border: none;
    color: #fff;
}
.nav-next:hover[b-qygjfa6a1d] { background: var(--ink-hover); }

.nav-prev .ti[b-qygjfa6a1d], .nav-next .ti[b-qygjfa6a1d] { font-size: 16px; }
/* /Components/SelectorFecha.razor.rz.scp.css */
.fecha-btn[b-5d0snolacd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
}
.fecha-btn:hover[b-5d0snolacd] { border-color: var(--ink); }
.fecha-ico[b-5d0snolacd] { font-size: 17px; color: var(--muted); }
.fecha-txt[b-5d0snolacd] { font-weight: 600; }
.fecha-chev[b-5d0snolacd] { font-size: 15px; color: var(--muted); }

/* ── Modal del calendario ── */
.cal-overlay[b-5d0snolacd] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.cal[b-5d0snolacd] {
    background: var(--surface);
    border-radius: 14px;
    padding: 16px;
    width: 320px;
    max-width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.cal-header[b-5d0snolacd] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.cal-nav[b-5d0snolacd] {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--paper);
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-nav:hover[b-5d0snolacd] { background: #ecebe7; }
.cal-titulo[b-5d0snolacd] {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-dark);
    cursor: pointer;
    text-transform: capitalize;
}

.cal-semana[b-5d0snolacd] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}
.cal-semana span[b-5d0snolacd] {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    padding: 4px 0;
}

.cal-grid[b-5d0snolacd] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-dia[b-5d0snolacd] {
    aspect-ratio: 1;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-dia:hover:not(:disabled):not(.vacio)[b-5d0snolacd] { background: var(--paper); }
.cal-dia.vacio[b-5d0snolacd] { cursor: default; }
.cal-dia:disabled[b-5d0snolacd] { color: #cfcdc7; cursor: default; }
.cal-dia.hoy[b-5d0snolacd] { box-shadow: inset 0 0 0 1.5px var(--border); color: var(--red); }
.cal-dia.sel[b-5d0snolacd] { background: var(--red); color: #fff; font-weight: 700; }
.cal-dia.sel:hover[b-5d0snolacd] { background: #c8121f; }

.cal-pie[b-5d0snolacd] {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.cal-hoy[b-5d0snolacd], .cal-cerrar[b-5d0snolacd] {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}
.cal-hoy[b-5d0snolacd] { color: var(--red); }
.cal-cerrar[b-5d0snolacd] { color: var(--muted); }
.cal-hoy:hover[b-5d0snolacd], .cal-cerrar:hover[b-5d0snolacd] { background: var(--paper); }
/* /Components/SelectorImpresora.razor.rz.scp.css */
.si-chip[b-djnxqzroc7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.si-chip:hover[b-djnxqzroc7] {
    border-color: #d8d5d0;
}

.si-chip.si-sin span[b-djnxqzroc7] {
    color: var(--warn);
}

.si-caret[b-djnxqzroc7] {
    color: var(--muted);
    font-size: .8rem;
}

.si-overlay[b-djnxqzroc7] {
    position: fixed;
    inset: 0;
    background: rgba(30,30,30,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.si-modal[b-djnxqzroc7] {
    box-sizing: border-box;
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
    width: min(480px, 92%);
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.si-modal h3[b-djnxqzroc7] {
    margin: 0;
    font-size: 1.05rem;
}

.si-sub[b-djnxqzroc7] {
    margin: 0;
    font-size: .85rem;
    color: var(--muted);
}

/* Buscador por nombre o IP */
.si-search[b-djnxqzroc7] {
    position: relative;
    display: flex;
    align-items: center;
}

.si-search-icon[b-djnxqzroc7] {
    position: absolute;
    left: 14px;
    color: var(--muted);
    font-size: 1.05rem;
    pointer-events: none;
}

.si-search-input[b-djnxqzroc7] {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 40px 10px 40px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
}

.si-search-input:focus[b-djnxqzroc7] {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(30,30,30,.08);
}

.si-search-clear[b-djnxqzroc7] {
    position: absolute;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.si-lista[b-djnxqzroc7] {
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.si-area[b-djnxqzroc7] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.si-item[b-djnxqzroc7] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.si-item:last-child[b-djnxqzroc7] {
    border-bottom: none;
}

.si-item-txt[b-djnxqzroc7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.si-item-nom[b-djnxqzroc7] {
    font-weight: 600;
    color: var(--ink);
}

.si-item-ip[b-djnxqzroc7] {
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.si-item.on[b-djnxqzroc7] {
    background: #FDECEE;
    box-shadow: inset 3px 0 0 var(--red);
}

.si-check[b-djnxqzroc7] {
    margin-left: auto;
    color: var(--red);
}

.si-cancelar[b-djnxqzroc7] {
    flex: none;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

/* En mobile y tablet el modal ocupa toda la pantalla; en web (≥1025px) se
   conserva como diálogo centrado. El encabezado, buscador y botón Cancelar
   quedan fijos y solo la lista scrollea, de modo que con muchas áreas/impresoras
   el alto siga acotado y adaptado a la pantalla. */
@media (max-width: 1024px) {
    .si-overlay[b-djnxqzroc7] {
        align-items: stretch;
        justify-content: stretch;
    }

    .si-modal[b-djnxqzroc7] {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    /* La lista toma el espacio disponible y scrollea dentro del modal. */
    .si-lista[b-djnxqzroc7] {
        flex: 1;
        max-height: none;
        min-height: 0;
    }
}
/* /Components/SelectorOpciones.razor.rz.scp.css */
.selector[b-enc9h9wgwy] { display: flex; flex-direction: column; }

/* ── Buscador + micrófono ── */
.selector-search[b-enc9h9wgwy] { display: flex; gap: 8px; margin-bottom: 8px; }

.search-box[b-enc9h9wgwy] { position: relative; flex: 1; }

.search-icon[b-enc9h9wgwy] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 17px;
}

.search-input[b-enc9h9wgwy] {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 38px 0 38px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    background: var(--paper);
    color: var(--ink);
}
.search-input:focus[b-enc9h9wgwy] { border-color: var(--ink); }

.search-clear[b-enc9h9wgwy] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.search-clear:hover[b-enc9h9wgwy] { background: rgba(0,0,0,0.05); }

.mic-btn[b-enc9h9wgwy] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ink);
    transition: background 0.12s, color 0.12s;
}
.mic-btn:hover[b-enc9h9wgwy] { background: var(--paper); }
.mic-btn.listening[b-enc9h9wgwy] {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    animation: mic-pulse-b-enc9h9wgwy 1s ease-in-out infinite;
}
@keyframes mic-pulse-b-enc9h9wgwy { 50% { opacity: 0.6; } }

.selector-count[b-enc9h9wgwy] { font-size: 11px; color: var(--muted); margin-bottom: 6px; }

/* ── Lista de alto acotado ──
   Solo limita las listas largas (las cortas se ajustan a su contenido).
   Responsivo: hasta ~520px pero sin pasar del 55% del alto visible, para que en
   tablet vertical (10") se vean ~10-11 ítems y en móvil no empuje la navegación. */
.selector-list[b-enc9h9wgwy] {
    max-height: min(520px, 55vh);
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--paper);
    -webkit-overflow-scrolling: touch;
}

.selector-empty[b-enc9h9wgwy] {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 26px 0;
    margin: 0;
}

.selector-group[b-enc9h9wgwy] {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
    padding: 8px 14px 4px;
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 1;
}

.selector-item[b-enc9h9wgwy] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
}
.selector-item:last-child[b-enc9h9wgwy] { border-bottom: none; }
.selector-item:active[b-enc9h9wgwy] { background: var(--paper); }

.item-radio[b-enc9h9wgwy] { font-size: 18px; color: #d8d6d0; flex-shrink: 0; }

.selector-item.selected[b-enc9h9wgwy] {
    background: #FDECEA;
    color: var(--alert);
}
.selector-item.selected .item-radio[b-enc9h9wgwy] { color: var(--alert); }

.selector-item.otro[b-enc9h9wgwy] { font-style: italic; color: var(--info); }
.selector-item.otro.selected[b-enc9h9wgwy] { color: var(--alert); font-style: normal; }

/* ── Caja "Otro" ── */
.selector-otro-box[b-enc9h9wgwy] { margin-top: 10px; }
.otro-label[b-enc9h9wgwy] { font-size: 12px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 5px; }
.otro-label .req[b-enc9h9wgwy] { color: var(--red); }

.otro-input[b-enc9h9wgwy] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    resize: vertical;
    background: var(--surface);
    color: var(--ink);
}
.otro-input:focus[b-enc9h9wgwy] { border-color: var(--ink); }
/* /Layout/MainLayout.razor.rz.scp.css */
/* ── Shell ── */
.shell[b-gmjcz96oci] {
    display: flex;
    height: 100dvh;
    overflow: hidden;
}

/* ── Sidebar ── */
.sidebar[b-gmjcz96oci] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    overflow: hidden;
    z-index: 200;
    transition: width 0.18s ease;
}

.sidebar-closed .sidebar[b-gmjcz96oci] { width: 52px; cursor: pointer; }
.sidebar-open  .sidebar[b-gmjcz96oci]  { width: 264px; cursor: default; }

/* ── Sidebar header ── */
.sidebar-header[b-gmjcz96oci] {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-logo[b-gmjcz96oci] {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.12s;
    white-space: nowrap;
}

.sidebar-open .sidebar-logo[b-gmjcz96oci] { opacity: 1; }

/* ── Nav container ── */
.sidebar-nav[b-gmjcz96oci] {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

/* ── Hide labels in rail ── */
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-label        { display: none; }
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-arrow        { display: none; }
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-section-label { display: none; }
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-sub-indent   { display: none; }

/* ── Center items in rail ── */
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  a.nav-item,
.sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-group-header {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

/* ── Sidebar footer ── */
.sidebar-footer[b-gmjcz96oci] {
    flex-shrink: 0;
    border-top: 1px solid var(--sidebar-border);
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-user[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar[b-gmjcz96oci] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.user-name[b-gmjcz96oci] {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.12s;
}

.sidebar-open .user-name[b-gmjcz96oci] { opacity: 1; }

.sidebar-meta[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.12s;
    white-space: nowrap;
}

.sidebar-open .sidebar-meta[b-gmjcz96oci] { opacity: 1; }

.sidebar-plant[b-gmjcz96oci] {
    font-size: 11px;
    color: rgba(255,255,255,0.32);
    font-weight: 500;
}

.sidebar-version[b-gmjcz96oci] {
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    font-weight: 400;
}

/* ── Overlay mobile ── */
.sidebar-overlay[b-gmjcz96oci] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
}

/* ── Main area ── */
.main-area[b-gmjcz96oci] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

/* ── Topbar ── */
.topbar[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 48px;
    padding: 0 20px 0 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.hamburger[b-gmjcz96oci] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    color: var(--muted);
    font-size: 17px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background 0.12s, color 0.12s;
    flex-shrink: 0;
}

.hamburger:hover[b-gmjcz96oci] {
    background: var(--paper);
    color: var(--ink);
}

/* ── Identity block ── */
.topbar-identity[b-gmjcz96oci] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
    padding-left: 14px;
    margin-left: 6px;
    border-left: 1px solid var(--border);
}

.identity-product[b-gmjcz96oci] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.identity-system[b-gmjcz96oci] {
    font-size: 9px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Breadcrumb (solo multi-nivel) ── */
.topbar-breadcrumb[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

/* ── Mobile breadcrumb bar (debajo del topbar) ── */
.mobile-breadcrumb[b-gmjcz96oci] {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 36px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.breadcrumb-parent[b-gmjcz96oci] {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.breadcrumb-current[b-gmjcz96oci] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.breadcrumb-sep[b-gmjcz96oci] {
    font-size: 13px;
    color: var(--border);
    user-select: none;
}

.topbar-spacer[b-gmjcz96oci] { flex: 1; }

/* ── Bell ── */
.topbar-bell[b-gmjcz96oci] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    color: var(--muted);
    font-size: 17px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background 0.12s, color 0.12s;
    flex-shrink: 0;
}

.topbar-bell:hover[b-gmjcz96oci] {
    background: var(--paper);
    color: var(--ink);
}

/* ── User button ── */
.topbar-user[b-gmjcz96oci] { position: relative; }

.topbar-user-btn[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.12s;
    font-family: inherit;
}

.topbar-user-btn:hover[b-gmjcz96oci] { background: var(--paper); }

.topbar-avatar[b-gmjcz96oci] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.topbar-user-name[b-gmjcz96oci] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.topbar-chevron[b-gmjcz96oci] {
    font-size: 12px;
    color: var(--muted);
    transition: transform 0.12s;
}

.topbar-chevron.open[b-gmjcz96oci] { transform: rotate(180deg); }

/* ── Dropdown animation ── */
@keyframes dropdown-enter-b-gmjcz96oci {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── User dropdown ── */
.user-dropdown[b-gmjcz96oci] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 500;
    overflow: hidden;
    padding: 4px 0;
    animation: dropdown-enter-b-gmjcz96oci 0.12s ease-out forwards;
}

.user-dropdown-item[b-gmjcz96oci] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.12s;
}

.user-dropdown-item:hover:not(:disabled)[b-gmjcz96oci] { background: var(--paper); }

.user-dropdown-item:disabled[b-gmjcz96oci] {
    color: var(--muted);
    cursor: default;
}

.user-dropdown-item.danger[b-gmjcz96oci] { color: var(--alert); }
.user-dropdown-item.danger:hover[b-gmjcz96oci] { background: #FDECEA; }

.user-dropdown-sep[b-gmjcz96oci] {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* ── Page content ── */
.page-content[b-gmjcz96oci] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 0 0;
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
    .sidebar[b-gmjcz96oci] {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 280px !important;
        transform: translateX(-100%);
        transition: transform 0.18s ease;
    }

    .sidebar-open .sidebar[b-gmjcz96oci] {
        transform: translateX(0);
    }

    .sidebar-open .sidebar-overlay[b-gmjcz96oci] {
        display: block;
    }

    .sidebar-logo[b-gmjcz96oci] { opacity: 1; }
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-label         { display: flex; }
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-arrow         { display: flex; }
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-section-label { display: block; }
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-sub-indent    { display: inline-block; }
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  a.nav-item,
    .sidebar-closed .sidebar-nav[b-gmjcz96oci]  .nav-group-header {
        justify-content: flex-start;
        padding-left: 18px;
        padding-right: 18px;
    }
    .sidebar-open .user-name[b-gmjcz96oci]  { opacity: 1; }
    .sidebar-open .sidebar-meta[b-gmjcz96oci] { opacity: 1; }

    .topbar-user-name[b-gmjcz96oci] { display: none; }
    .topbar-breadcrumb[b-gmjcz96oci] { display: none; }
    .mobile-breadcrumb[b-gmjcz96oci] { display: flex; }

    .page-content[b-gmjcz96oci] { padding: 0; }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Section labels ── */
.nav-section-label[b-x4tbj4c8nw] {
    padding: 20px 18px 6px 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    white-space: nowrap;
    user-select: none;
}

.nav-section-label:first-child[b-x4tbj4c8nw] {
    padding-top: 12px;
}

/* ── Leaf link ── */
.nav-list[b-x4tbj4c8nw]  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    color: var(--sidebar-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: none;
    white-space: nowrap;
    transition: background 0.10s, color 0.10s;
    box-sizing: border-box;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-list[b-x4tbj4c8nw]  .nav-item:hover:not(.disabled) {
    background: var(--sidebar-hover);
    color: rgba(255,255,255,0.9);
}

/* Activo — barra roja con margen vertical */
.nav-list[b-x4tbj4c8nw]  .nav-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
    border-left: 3px solid transparent;
}

.nav-list[b-x4tbj4c8nw]  .nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: var(--red);
    border-radius: 0 2px 2px 0;
}

.nav-list[b-x4tbj4c8nw]  .nav-item.disabled {
    color: rgba(255,255,255,0.25);
    cursor: default;
    pointer-events: none;
}

/* Indent por nivel */
.nav-list[b-x4tbj4c8nw]  .nav-item.lvl2 { padding-left: 44px; }
.nav-list[b-x4tbj4c8nw]  .nav-item.lvl3 { padding-left: 60px; }

/* ── Group header ── */
.nav-group-header[b-x4tbj4c8nw] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    color: var(--sidebar-text);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    transition: background 0.12s, color 0.12s;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
}

.nav-group-header:hover:not(:disabled)[b-x4tbj4c8nw] {
    background: var(--sidebar-hover);
    color: rgba(255,255,255,0.9);
}

.nav-group-header:disabled[b-x4tbj4c8nw] {
    color: rgba(255,255,255,0.25);
    cursor: default;
}

.nav-group-header.lvl2[b-x4tbj4c8nw] { padding-left: 44px; }
.nav-group-header.lvl3[b-x4tbj4c8nw] { padding-left: 60px; }

/* ── Compact (rail) ── */
.nav-list.compact[b-x4tbj4c8nw]  .nav-item,
.nav-list.compact .nav-group-header[b-x4tbj4c8nw] {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    border-left: 3px solid transparent;
}

.nav-list.compact[b-x4tbj4c8nw]  .nav-item.active {
    border-left: 3px solid transparent;
    background: var(--sidebar-active-bg);
}

/* ── Expand arrow ── */
.nav-arrow[b-x4tbj4c8nw] {
    margin-left: auto;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: transform 0.14s ease;
    flex-shrink: 0;
}

.nav-group.open > .nav-group-header .nav-arrow[b-x4tbj4c8nw] {
    transform: rotate(180deg);
}

/* ── Icons ── */
.nav-icon[b-x4tbj4c8nw] { font-size: 18px; flex-shrink: 0; }

/* Sub-level indent indicator */
.nav-sub-indent[b-x4tbj4c8nw] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
    margin-left: 2px;
}

.nav-list[b-x4tbj4c8nw]  .nav-item.active .nav-sub-indent {
    background: rgba(255,255,255,0.7);
}

.nav-label[b-x4tbj4c8nw] { flex: 1; min-width: 0; }

/* ── Children ── */
.nav-children[b-x4tbj4c8nw] { overflow: hidden; }
/* /Pages/Calidad/Devoluciones.razor.rz.scp.css */
/* ── Página Devoluciones (optimizada para tablet: campos ≥48px táctiles) ── */

.dev-pagina[b-afhcjsu9q2] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
    min-width: 0;
}

.dev-card[b-afhcjsu9q2] {
    box-sizing: border-box;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
}

.dev-card h2[b-afhcjsu9q2] {
    margin: 0 0 4px;
    font-size: .95rem;
    font-weight: 700;
}

.dev-paso[b-afhcjsu9q2] {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ink-dark);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    vertical-align: -4px;
}

.dev-hint[b-afhcjsu9q2] {
    margin: 0 0 14px;
    font-size: .8rem;
    color: var(--muted);
}

/* Sector: botones segmentados */
.dev-seg[b-afhcjsu9q2] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dev-seg-btn[b-afhcjsu9q2] {
    min-height: 52px;
    padding: 8px 22px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.dev-seg-btn span[b-afhcjsu9q2] {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.dev-seg-btn.on[b-afhcjsu9q2] {
    border-color: var(--red);
    background: #FDECEE;
    color: var(--ink-dark);
}

.dev-seg-btn.on span[b-afhcjsu9q2] {
    color: #b1424c;
}

/* Campos */
.dev-fila[b-afhcjsu9q2] {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.dev-campo[b-afhcjsu9q2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dev-campo label[b-afhcjsu9q2] {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

/* Caja de texto estándar del proyecto (misma altura/estilo que el buscador). */
.dev-campo input[b-afhcjsu9q2] {
    box-sizing: border-box;
    height: 44px;
    width: 200px;
    padding: 0 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
}

.dev-campo input:focus[b-afhcjsu9q2] {
    border-color: var(--ink);
}

.dev-campo-ancho input[b-afhcjsu9q2] {
    width: min(360px, 100%);
}

.dev-oper-input[b-afhcjsu9q2] {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

/* El input se encoge para que el botón Buscar nunca se salga del margen
   de la tarjeta en pantallas angostas. */
.dev-campo[b-afhcjsu9q2] { min-width: 0; }
.dev-oper-input .dev-input[b-afhcjsu9q2] { flex: 1 1 auto; min-width: 0; }

.dev-btn-buscar[b-afhcjsu9q2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ink-dark);
    border-radius: 8px;
    background: var(--ink-dark);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.dev-btn-buscar:hover[b-afhcjsu9q2] {
    background: var(--ink-hover);
}

.dev-btn-buscar:disabled[b-afhcjsu9q2] {
    opacity: .45;
    cursor: default;
}

/* Botón de cámara para leer QR (junto al Buscar). */
.dev-btn-qr[b-afhcjsu9q2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
}

.dev-btn-qr:hover[b-afhcjsu9q2] {
    background: var(--paper);
}

.dev-btn-qr:disabled[b-afhcjsu9q2] {
    opacity: .45;
    cursor: default;
}

.dev-oper-res[b-afhcjsu9q2] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--paper);
    border-radius: 12px;
    padding: 10px 16px;
    min-height: 52px;
}

.dev-oper-res i[b-afhcjsu9q2] {
    color: var(--ok);
    font-size: 1.3rem;
}

.dev-oper-nom[b-afhcjsu9q2] {
    font-weight: 700;
}

.dev-oper-cor[b-afhcjsu9q2] {
    font-size: .8rem;
    color: var(--muted);
}

/* Toggle táctil */
.dev-toggle[b-afhcjsu9q2] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.dev-tk[b-afhcjsu9q2] {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d9d6d2;
    position: relative;
    transition: background .15s;
    flex: none;
}

.dev-tk[b-afhcjsu9q2]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: left .15s;
}

.dev-toggle.on .dev-tk[b-afhcjsu9q2] {
    background: var(--red);
}

.dev-toggle.on .dev-tk[b-afhcjsu9q2]::after {
    left: 25px;
}

@media (prefers-reduced-motion: reduce) {
    .dev-tk[b-afhcjsu9q2], .dev-tk[b-afhcjsu9q2]::after {
        transition: none;
    }
}

/* Buscador con micrófono (ítems ZBA1) — mismo patrón que SelectorOpciones. */
.dev-search[b-afhcjsu9q2] {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.dev-search-box[b-afhcjsu9q2] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.dev-search-icon[b-afhcjsu9q2] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 17px;
}

.dev-search-input[b-afhcjsu9q2] {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 38px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
}

.dev-search-input:focus[b-afhcjsu9q2] {
    border-color: var(--ink);
}

.dev-search-clear[b-afhcjsu9q2] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-search-clear:hover[b-afhcjsu9q2] {
    background: rgba(0,0,0,.05);
}

.dev-mic[b-afhcjsu9q2] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-mic:hover[b-afhcjsu9q2] {
    background: var(--paper);
}

.dev-mic.listening[b-afhcjsu9q2] {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    animation: dev-mic-pulse-b-afhcjsu9q2 1s ease-in-out infinite;
}

@keyframes dev-mic-pulse-b-afhcjsu9q2 {
    50% { opacity: .6; }
}

/* Buscador del modal de catálogos (picker) — caja estándar. */
.dev-buscador[b-afhcjsu9q2] {
    margin-bottom: 10px;
}

.dev-buscador input[b-afhcjsu9q2] {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    font-family: inherit;
    font-size: 16px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
}

.dev-buscador input:focus[b-afhcjsu9q2] {
    border-color: var(--ink);
}

.dev-lista[b-afhcjsu9q2] {
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 240px;
    overflow-y: auto;
}

.dev-lista.alta[b-afhcjsu9q2] {
    max-height: 340px;
}

.dev-lista-item[b-afhcjsu9q2] {
    box-sizing: border-box;
    display: flex;
    gap: 12px;
    align-items: baseline;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.dev-lista-item:last-child[b-afhcjsu9q2] {
    border-bottom: none;
}

.dev-lista-item code[b-afhcjsu9q2] {
    font-size: .85rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.dev-lista-item.on[b-afhcjsu9q2] {
    background: #FDECEE;
    box-shadow: inset 3px 0 0 var(--red);
}

/* Panel del ticket */
.dev-ticket-info[b-afhcjsu9q2] {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
    background: var(--paper);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
}

.dev-ticket-info .span-todo[b-afhcjsu9q2] {
    grid-column: 1 / -1;
}

.dev-ticket-info b[b-afhcjsu9q2] {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.dev-ticket-info span[b-afhcjsu9q2] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Selectores modales de clasificación */
.dev-sel-grid[b-afhcjsu9q2] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 18px;
}

.dev-sel[b-afhcjsu9q2] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.dev-sel:hover[b-afhcjsu9q2] {
    border-color: #d8d5d0;
}

.dev-sel .ph[b-afhcjsu9q2] {
    color: var(--muted);
    font-weight: 500;
}

/* Texto largo en selectores de una sola línea: recorta con puntos suspensivos. */
.dev-sel:not(.dev-sel-multi) > span[b-afhcjsu9q2] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Selector de ítem: código y descripción en dos líneas, sin cortar. */
.dev-sel-multi[b-afhcjsu9q2] {
    align-items: flex-start;
    min-height: 56px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.dev-sel-multi > i[b-afhcjsu9q2] {
    margin-top: 4px;
    flex: none;
}

.dev-sel-item[b-afhcjsu9q2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dev-sel-item .dev-sel-cod[b-afhcjsu9q2] {
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.dev-sel-desc[b-afhcjsu9q2] {
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
}

.dev-sel i[b-afhcjsu9q2] {
    color: var(--muted);
    font-size: .85rem;
}

.dev-req[b-afhcjsu9q2] {
    font-size: .68rem;
    font-weight: 700;
    color: var(--red);
    background: #FDECEE;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 6px;
    text-transform: none;
    letter-spacing: 0;
}

/* Resumen */
.dev-resumen[b-afhcjsu9q2] {
    background: var(--paper);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: .92rem;
    display: grid;
    gap: 8px;
}

.dev-resumen > div[b-afhcjsu9q2] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.dev-resumen[b-afhcjsu9q2]  .falta,
.dev-resumen .falta[b-afhcjsu9q2] {
    color: var(--muted);
    font-style: italic;
}

.dev-res-imp[b-afhcjsu9q2] {
    border-top: 1px dashed var(--border);
    padding-top: 8px;
}

/* En pantallas pequeñas el label y el valor se apilan para evitar cortes
   feos cuando la descripción del ítem/operario es larga. */
@media (max-width: 480px) {
    /* Ítem devuelto: dos columnas para que Código|Orden y Serial Falla|Serial Prod
       no se solapen (la Descripción sigue ocupando toda la fila con .span-todo). */
    .dev-ticket-info[b-afhcjsu9q2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dev-resumen[b-afhcjsu9q2] {
        padding: 12px 14px;
        gap: 10px;
    }

    .dev-resumen > div[b-afhcjsu9q2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .dev-resumen > div > span:first-child[b-afhcjsu9q2] {
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--muted);
    }

    .dev-resumen > div > b[b-afhcjsu9q2],
    .dev-resumen[b-afhcjsu9q2]  .falta,
    .dev-resumen[b-afhcjsu9q2]  b {
        font-size: .95rem;
        word-break: break-word;
    }
}

/* Botón principal (dentro del bloque Resumen, mismo ancho que la card) */
.dev-footer[b-afhcjsu9q2] {
    display: flex;
    margin-top: 16px;
}

.btn-grande[b-afhcjsu9q2] {
    box-sizing: border-box;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 24px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .01em;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(30,30,30,.22);
    transition: transform .12s ease, box-shadow .15s ease, background .12s ease;
}

.btn-grande i[b-afhcjsu9q2] {
    font-size: 1.3rem;
}

.btn-grande:hover[b-afhcjsu9q2] {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(30,30,30,.28);
}

.btn-grande:active[b-afhcjsu9q2] {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(30,30,30,.24);
}

.btn-grande.rec[b-afhcjsu9q2] {
    background: var(--ink-dark);
}

.btn-ghost-grande[b-afhcjsu9q2] {
    min-height: 56px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

/* Modal del picker */
.dev-overlay[b-afhcjsu9q2] {
    position: fixed;
    inset: 0;
    background: rgba(30,30,30,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dev-modal[b-afhcjsu9q2] {
    box-sizing: border-box;
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
    width: min(520px, 92%);
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dev-modal h3[b-afhcjsu9q2] {
    margin: 0;
    font-size: 1.05rem;
}

.dev-cancelar[b-afhcjsu9q2] {
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

/* En mobile y tablet los modales de selección ocupan toda la pantalla;
   en web (≥1025px) se conservan como diálogo centrado. */
@media (max-width: 1024px) {
    .dev-overlay[b-afhcjsu9q2] {
        align-items: stretch;
        justify-content: stretch;
    }

    .dev-modal[b-afhcjsu9q2] {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
        overflow: hidden;
        padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .dev-modal .dev-lista[b-afhcjsu9q2] {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

    .dev-modal .dev-cancelar[b-afhcjsu9q2] {
        flex: none;
    }
}

/* Pantalla de éxito */
.dev-exito[b-afhcjsu9q2] {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.ex-check[b-afhcjsu9q2] {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #E7F2E8;
    color: var(--ok);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 2.2rem;
}

.dev-exito h2[b-afhcjsu9q2] {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.ex-sub[b-afhcjsu9q2] {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

.ex-serial[b-afhcjsu9q2] {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    margin: 10px 0 4px;
}

.ex-estado[b-afhcjsu9q2] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 18px auto 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
}

.ex-estado.ok[b-afhcjsu9q2] {
    background: #E7F2E8;
    color: var(--ok);
}

.ex-estado.warn[b-afhcjsu9q2] {
    background: #FBF3E7;
    color: var(--warn);
}

.ex-acciones[b-afhcjsu9q2] {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 26px;
    flex-wrap: wrap;
}

.ex-acciones .btn-grande[b-afhcjsu9q2] {
    flex: none;
    padding: 0 34px;
}
/* /Pages/Calidad/EncuestaEditor.razor.rz.scp.css */
.editor-body[b-6r2jw03tct] { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; width: 100%; box-sizing: border-box; }

.editor-card[b-6r2jw03tct] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editor-label[b-6r2jw03tct] { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.req[b-6r2jw03tct] { color: var(--red); }

.editor-input[b-6r2jw03tct] {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    width: 100%;
    box-sizing: border-box;
}
.editor-input:focus[b-6r2jw03tct] { outline: none; border-color: var(--ink); }

/* Dropdowns: mismo look que el resto del proyecto (chevron propio + foco). */
select.editor-input[b-6r2jw03tct] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 10px;
    padding-right: 34px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    transition: border-color .15s ease, box-shadow .15s ease;
}
select.editor-input:hover[b-6r2jw03tct] { border-color: #d9d6d1; }
select.editor-input:focus[b-6r2jw03tct] {
    box-shadow: 0 0 0 3px rgba(58, 58, 58, .08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.editor-icono[b-6r2jw03tct] { display: flex; align-items: center; gap: 10px; }

/* Recuadro del ícono = botón que abre el selector */
.icono-preview[b-6r2jw03tct] {
    position: relative;
    width: 40px; height: 40px; flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #FDECEA;
    color: var(--red);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    padding: 0;
}
.icono-preview:hover[b-6r2jw03tct] { border-color: var(--red); }
.icono-edit[b-6r2jw03tct] {
    position: absolute;
    right: -5px; bottom: -5px;
    font-size: 11px;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}

.icon-grid[b-6r2jw03tct] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.icon-opt[b-6r2jw03tct] {
    height: 46px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-opt:hover[b-6r2jw03tct] { background: var(--paper); border-color: var(--ink); }
.icon-opt.sel[b-6r2jw03tct] { background: #FDECEA; border-color: var(--red); color: var(--red); }

.icon-hint[b-6r2jw03tct] { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.icon-hint a[b-6r2jw03tct] { color: var(--red); }
.icon-hint code[b-6r2jw03tct] { background: var(--paper); padding: 1px 5px; border-radius: 4px; }

.editor-preguntas[b-6r2jw03tct] { display: flex; flex-direction: column; gap: 12px; }

.pregunta-edit[b-6r2jw03tct] { gap: 10px; }
.pe-head[b-6r2jw03tct] { display: flex; align-items: center; gap: 10px; }
.pe-num[b-6r2jw03tct] {
    width: 26px; height: 26px; flex-shrink: 0;
    border-radius: 50%; background: var(--paper); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.pe-titulo[b-6r2jw03tct] { flex: 1; }
.pe-orden[b-6r2jw03tct] { display: flex; gap: 6px; }

.pe-grid[b-6r2jw03tct] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pe-flags[b-6r2jw03tct] { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--ink); }
.pe-flags label[b-6r2jw03tct] { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.pe-opciones[b-6r2jw03tct] { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.opcion-row[b-6r2jw03tct] { display: flex; gap: 8px; align-items: center; }
.op-grupo[b-6r2jw03tct] { max-width: 180px; }
.pe-opc-acciones[b-6r2jw03tct] { margin-top: 4px; }

.pe-bulk[b-6r2jw03tct] { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pe-bulk-toggle[b-6r2jw03tct] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pe-bulk-toggle:hover[b-6r2jw03tct] { color: var(--ink); }
.pe-bulk textarea[b-6r2jw03tct] { margin: 8px 0; }
.pe-bulk-check[b-6r2jw03tct] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--ink);
    cursor: pointer;
}

/* Botón "Agregar pregunta": destacado con color de acento (distinto al resto). */
.agregar-pregunta[b-6r2jw03tct] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FDECEA;
    border: 1px dashed var(--red);
    color: var(--red);
    font-weight: 600;
}
.agregar-pregunta:hover[b-6r2jw03tct] { background: #fbddd9; }

/* Botón "Agregar sección": acción primaria de la página, a todo el ancho. */
.agregar-seccion[b-6r2jw03tct] {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--surface);
    border: 1.5px dashed #cfcdc7;
    color: var(--ink);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.agregar-seccion:hover[b-6r2jw03tct] { background: var(--paper); border-color: var(--ink); }

/* Resumen de una sección colapsada. */
.seccion-resumen[b-6r2jw03tct] {
    font-size: 12px;
    color: var(--muted);
    padding: 2px 2px 0;
}

/* ── Secciones ── */
.seccion-edit[b-6r2jw03tct] { gap: 12px; border-left: 3px solid var(--red); }
.seccion-num[b-6r2jw03tct] { background: var(--red); color: #fff; }
.seccion-edit > .editor-preguntas[b-6r2jw03tct] { padding-left: 4px; }

.pe-ruteo-switch[b-6r2jw03tct] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.op-destino[b-6r2jw03tct] { max-width: 280px; }

.seccion-salida[b-6r2jw03tct] {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.editor-acciones[b-6r2jw03tct] { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* En el editor los botones de acción son un poco más compactos (van en línea con inputs). */
.acc-btn[b-6r2jw03tct] { width: 32px; height: 32px; font-size: 16px; }

@media (max-width: 767px) {
    .pe-grid[b-6r2jw03tct] { grid-template-columns: 1fr; }
}
/* /Pages/Calidad/EncuestaIngresos.razor.rz.scp.css */
.campo-fecha[b-rs85cxoiyn] { display: flex; flex-direction: column; gap: 3px; }
.campo-fecha label[b-rs85cxoiyn] { font-size: 11px; color: var(--muted); }
.campo-fecha input[b-rs85cxoiyn] {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
}

.ingresos-lista[b-rs85cxoiyn] { display: flex; flex-direction: column; }

.ingresos-cabecera[b-rs85cxoiyn] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 120px 52px 84px 84px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.ingreso-fila[b-rs85cxoiyn] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 120px 52px 84px 84px;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.if-folio[b-rs85cxoiyn] { font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 600; color: var(--ink); }
.ingreso-fila.borrador[b-rs85cxoiyn] {
    background: #FEF9F2;
    border-bottom: 1px solid var(--border);
    grid-template-columns: auto 1fr auto auto;
}

.if-icono[b-rs85cxoiyn] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.if-icono.warn[b-rs85cxoiyn] { background: #FEF3E2; color: var(--warn); font-size: 18px; }

.if-detalle[b-rs85cxoiyn] { min-width: 0; }
.if-titulo[b-rs85cxoiyn] { font-weight: 600; }
.if-meta[b-rs85cxoiyn] { font-size: 11px; color: var(--muted); }

.if-usuario[b-rs85cxoiyn] { font-size: 12px; color: var(--ink); }
.if-hora[b-rs85cxoiyn] { font-size: 12px; color: var(--muted); }

.if-acciones[b-rs85cxoiyn] { display: flex; gap: 6px; }

.btn-ver[b-rs85cxoiyn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
}
.btn-ver:hover[b-rs85cxoiyn] { background: var(--paper); border-color: var(--ink); }
.btn-ver .ti[b-rs85cxoiyn] { font-size: 15px; }

/* ── Modal ancho: respuestas del ingreso ── */
.modal-wide[b-rs85cxoiyn] {
    max-width: 640px;
    text-align: left;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.ver-header[b-rs85cxoiyn] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ver-folio[b-rs85cxoiyn] { font-family: var(--font-mono, monospace); font-size: 14px; font-weight: 700; color: var(--ink); }
.ver-sub[b-rs85cxoiyn] { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ver-body[b-rs85cxoiyn] { overflow-y: auto; padding: 6px 2px; }
.ver-row[b-rs85cxoiyn] { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--border); font-size: 13px; }
.ver-row:last-child[b-rs85cxoiyn] { border-bottom: none; }
.ver-k[b-rs85cxoiyn] { color: var(--muted); }
.ver-v[b-rs85cxoiyn] { color: var(--ink); font-weight: 500; }

@media (max-width: 767px) {
    .ver-row[b-rs85cxoiyn] { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 767px) {
    .ingresos-header[b-rs85cxoiyn] { margin-top: 14px; }
    .ingresos-cabecera[b-rs85cxoiyn] { display: none; }

    /* Fila 1: folio + usuario + hora · Fila 2: ver respuestas + estado + acciones */
    .ingreso-fila:not(.borrador)[b-rs85cxoiyn] {
        display: flex;
        align-items: center;
        gap: 6px 10px;
        flex-wrap: wrap;
    }
    .ingreso-fila:not(.borrador) .if-folio[b-rs85cxoiyn]    { order: 0; }
    .ingreso-fila:not(.borrador) .if-usuario[b-rs85cxoiyn]  { order: 1; margin-left: auto; }
    .ingreso-fila:not(.borrador) .if-hora[b-rs85cxoiyn]     { order: 2; }
    .ingreso-fila:not(.borrador)[b-rs85cxoiyn]::after       { content: ""; flex-basis: 100%; height: 0; order: 3; }
    .ingreso-fila:not(.borrador) .if-detalle[b-rs85cxoiyn]  { order: 4; flex: 1; min-width: 120px; }
    .ingreso-fila:not(.borrador) .pill-ok[b-rs85cxoiyn]     { order: 5; }
    .ingreso-fila:not(.borrador) .if-acciones[b-rs85cxoiyn] { order: 6; margin-left: auto; }
    .if-usuario[b-rs85cxoiyn], .if-hora[b-rs85cxoiyn] { display: inline-block; }

    /* Borrador: icono + detalle arriba, chip debajo y acciones al pie,
       para que no se rompa cuando el texto es largo en mobile. */
    .ingreso-fila.borrador[b-rs85cxoiyn] {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icono detalle"
            "pill  pill"
            "acciones acciones";
        gap: 8px 10px;
        align-items: start;
    }
    .ingreso-fila.borrador .if-icono[b-rs85cxoiyn] { grid-area: icono; }
    .ingreso-fila.borrador .if-detalle[b-rs85cxoiyn] { grid-area: detalle; }
    .ingreso-fila.borrador .pill-warn[b-rs85cxoiyn] { grid-area: pill; justify-self: start; }
    .ingreso-fila.borrador .if-acciones[b-rs85cxoiyn] { grid-area: acciones; justify-self: end; margin-left: 0; }
}
/* /Pages/Calidad/EncuestaLlenado.razor.rz.scp.css */
.llenado-body[b-6yqqb6fumu] { max-width: 760px; margin: 0 auto; padding: 14px 18px; }

/* ── Barra de progreso ── */
.progreso[b-6yqqb6fumu] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 12px 18px;
    /* Full-bleed: cubre todo el ancho para que las preguntas no asomen por las esquinas. */
    margin: -14px -18px 14px;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.progreso-txt[b-6yqqb6fumu] { font-size: 12px; font-weight: 600; white-space: nowrap; }
.progreso-bar[b-6yqqb6fumu] { flex: 1; height: 6px; background: #eceae7; border-radius: 100px; overflow: hidden; }
.progreso-fill[b-6yqqb6fumu] { height: 100%; background: var(--red); transition: width 0.2s; }

.btn-limpiar[b-6yqqb6fumu], .btn-cancelar[b-6yqqb6fumu] {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 6px;
    cursor: pointer;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-limpiar .ti[b-6yqqb6fumu], .btn-cancelar .ti[b-6yqqb6fumu] { font-size: 17px; }
/* Empuja el grupo de botones hacia la derecha. */
.btn-cancelar[b-6yqqb6fumu] { margin-left: auto; }
.btn-limpiar:hover[b-6yqqb6fumu] { background: var(--paper); color: var(--alert); }
.btn-cancelar:hover[b-6yqqb6fumu] { background: #FDECEA; border-color: #f0d4d4; color: var(--red); }

.btn-finalizar[b-6yqqb6fumu] {
    background: #cfcdc7;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.btn-finalizar.ready[b-6yqqb6fumu] { background: var(--red); }
.btn-finalizar.ready:hover[b-6yqqb6fumu] { background: #c8121f; }
.btn-finalizar.full[b-6yqqb6fumu] { width: 100%; padding: 12px; margin-top: 12px; font-size: 14px; }

/* ── Sección actual (wizard) ── */
.seccion-desc[b-6yqqb6fumu] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.seccion-nav[b-6yqqb6fumu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}
.seccion-nav .nav-prev[b-6yqqb6fumu], .seccion-nav .nav-next[b-6yqqb6fumu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.seccion-nav .nav-prev[b-6yqqb6fumu] {
    background: var(--surface);
    border: 1px solid #cfcdc7;
    color: var(--ink);
}
.seccion-nav .nav-prev:hover[b-6yqqb6fumu] { background: var(--paper); }
.seccion-nav .nav-prev:disabled[b-6yqqb6fumu] { opacity: 0.4; cursor: default; }
.seccion-nav .nav-next[b-6yqqb6fumu] {
    background: var(--ink);
    border: none;
    color: #fff;
    margin-left: auto;
}
.seccion-nav .nav-next:hover[b-6yqqb6fumu] { background: #000; }
.seccion-nav .btn-finalizar[b-6yqqb6fumu] { margin-left: auto; }

/* ── Panel de resumen ── */
.acc-resumen[b-6yqqb6fumu] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.resumen-header[b-6yqqb6fumu] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}
.resumen-header .ti[b-6yqqb6fumu] { font-size: 18px; color: var(--muted); }
.resumen-body[b-6yqqb6fumu] { border-top: 1px solid var(--border); padding: 8px 16px 16px; }

.res-row[b-6yqqb6fumu] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.res-row:last-of-type[b-6yqqb6fumu] { border-bottom: none; }
.res-k[b-6yqqb6fumu] { color: var(--muted); flex-shrink: 0; }
/* min-width:0 anula el mínimo por defecto de flexbox (que impide encogerse bajo el
   ancho del contenido) para que los valores largos bajen de línea en vez de desbordar. */
.res-v[b-6yqqb6fumu] { font-weight: 600; text-align: right; min-width: 0; word-break: break-word; }
.res-v.missing[b-6yqqb6fumu] { color: var(--warn); font-weight: 500; font-style: italic; }

/* ── Pantalla de éxito ── */
.exito[b-6yqqb6fumu] {
    max-width: 640px;
    width: 100%;
    margin: 40px auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 40px;
}
.exito-icon[b-6yqqb6fumu] { font-size: 54px; color: var(--ok); }
.exito-titulo[b-6yqqb6fumu] { font-size: 1.3rem; font-weight: 600; margin: 12px 0 4px; }
.exito-sub[b-6yqqb6fumu] { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

.exito-folio[b-6yqqb6fumu] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 20px;
}
.folio-label[b-6yqqb6fumu] { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.folio-valor[b-6yqqb6fumu] { font-size: 15px; font-weight: 700; color: var(--ink-dark); font-family: var(--font-mono, monospace); letter-spacing: 0.02em; }
.exito-resumen[b-6yqqb6fumu] { text-align: left; margin-bottom: 22px; }
.exito-acciones[b-6yqqb6fumu] { display: flex; gap: 10px; justify-content: center; }

@media (max-width: 767px) {
    .llenado-body[b-6yqqb6fumu] { padding: 10px 12px; }
    .progreso[b-6yqqb6fumu] {
        margin: -10px -12px 12px;
        padding: 10px 12px;
        flex-wrap: wrap;
        row-gap: 8px;
    }
    /* El título ocupa toda la primera fila y los botones bajan a la segunda,
       evitando que se salgan del margen cuando el nombre de sección es largo. */
    .progreso-txt[b-6yqqb6fumu] { width: 100%; white-space: normal; }
    .btn-cancelar[b-6yqqb6fumu] { margin-left: 0; }
    .exito[b-6yqqb6fumu] { padding: 24px 18px; margin: 20px auto; }
}
/* /Pages/Calidad/Encuestas.razor.rz.scp.css */
.encuestas-grid[b-wcqy1hkzuf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    padding: 16px 18px;
}

.encuesta-card[b-wcqy1hkzuf] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.12s, box-shadow 0.12s;
}
.encuesta-card:hover[b-wcqy1hkzuf] { border-color: var(--ink); }
.encuesta-card.inactiva[b-wcqy1hkzuf] { opacity: 0.7; }

.ec-main[b-wcqy1hkzuf] {
    display: flex;
    align-items: center;
    gap: 14px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.ec-icono[b-wcqy1hkzuf] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #FDECEA;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.ec-texto[b-wcqy1hkzuf] { flex: 1; min-width: 0; }
.ec-nombre[b-wcqy1hkzuf] { font-weight: 600; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ec-desc[b-wcqy1hkzuf] { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ec-meta[b-wcqy1hkzuf] { font-size: 11px; color: var(--muted); margin-top: 6px; }

.ec-acciones[b-wcqy1hkzuf] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

/* ── Modal ancho de visualización ── */
.modal-wide[b-wcqy1hkzuf] {
    max-width: 720px;
    text-align: left;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.ver-header[b-wcqy1hkzuf] { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ver-icono[b-wcqy1hkzuf] {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px; background: #FDECEA; color: var(--red);
    display: flex; align-items: center; justify-content: center; font-size: 23px;
}
.ver-titulo[b-wcqy1hkzuf] { flex: 1; min-width: 0; }
.ver-nombre[b-wcqy1hkzuf] { font-size: 17px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ver-version[b-wcqy1hkzuf] { font-size: 12px; color: var(--muted); font-weight: 500; }
.ver-desc[b-wcqy1hkzuf] { font-size: 13px; color: var(--muted); margin-top: 4px; }

.ver-body[b-wcqy1hkzuf] { overflow-y: auto; padding: 14px 2px; display: flex; flex-direction: column; gap: 12px; }

.ver-seccion[b-wcqy1hkzuf] { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; border-left: 3px solid var(--red); }
.ver-seccion-head[b-wcqy1hkzuf] { display: flex; align-items: center; gap: 8px; }
.ver-seccion-titulo[b-wcqy1hkzuf] { font-weight: 700; font-size: 14px; color: var(--ink); }
.seccion-num[b-wcqy1hkzuf] {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%; background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
}

.ver-preg[b-wcqy1hkzuf] { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.ver-preg-head[b-wcqy1hkzuf] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ver-num[b-wcqy1hkzuf] {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%; background: var(--paper); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
}
.ver-preg-titulo[b-wcqy1hkzuf] { font-weight: 600; font-size: 14px; color: var(--ink); }
.ver-tipo[b-wcqy1hkzuf] { font-size: 11px; background: var(--paper); color: var(--muted); padding: 3px 9px; border-radius: 100px; }
.ver-req[b-wcqy1hkzuf] { font-size: 11px; color: var(--red); font-weight: 600; }
.ver-ayuda[b-wcqy1hkzuf] { font-size: 11px; color: var(--muted); margin-top: 6px; }
.ver-ayuda .ti[b-wcqy1hkzuf] { vertical-align: -2px; }
.ver-opciones[b-wcqy1hkzuf] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ver-chip[b-wcqy1hkzuf] { font-size: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; }
.ver-chip.otro[b-wcqy1hkzuf] { font-style: italic; color: var(--muted); }
.ver-meta[b-wcqy1hkzuf] { font-size: 11px; color: var(--muted); margin-top: 8px; }

@media (max-width: 767px) {
    .modal-wide[b-wcqy1hkzuf] { max-height: 90vh; }
}
/* /Pages/Login.razor.rz.scp.css */
/* ── Entry animation ── */
@keyframes login-enter-b-uhjh5600x8 {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Login page shell ── */
.login-page[b-uhjh5600x8] {
    position: relative;
    width: 100vw;
    min-height: 100dvh;
    background: #1a1a1a;
    overflow: hidden;
}

/* Background photo */
.login-page[b-uhjh5600x8]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #2a2a2a url('/images/img-gc-01.webp') center / cover no-repeat;
    z-index: 0;
}

/* Overlay — slightly darker than before */
.login-page[b-uhjh5600x8]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(20,20,20,0.97) 0%,
        rgba(20,20,20,0.70) 38%,
        rgba(20,20,20,0.20) 100%);
    z-index: 1;
}

/* ── Brand panel ── */
.login-brand[b-uhjh5600x8] {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.brand-top[b-uhjh5600x8] {
    position: absolute;
    top: 60px;
    left: 68px;
}

.brand-logo[b-uhjh5600x8] {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.brand-sublabel[b-uhjh5600x8] {
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 16px 0 0;
    font-weight: 500;
}

.brand-sublabel2[b-uhjh5600x8] {
    color: rgba(255,255,255,0.70);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 5px 0 0;
    font-weight: 600;
}

.brand-bottom[b-uhjh5600x8] {
    position: absolute;
    left: 68px;
    bottom: 84px;
    max-width: 280px;
}

.accent[b-uhjh5600x8] {
    width: 28px;
    height: 3px;
    background: var(--red);
}

.tagline-section[b-uhjh5600x8] {
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 20px 0 0;
    font-weight: 500;
}

.tagline[b-uhjh5600x8] {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    margin: 10px 0 0;
    letter-spacing: 0.02em;
}

/* ── Form card host ── */
.login-host[b-uhjh5600x8] {
    position: absolute;
    top: 0;
    right: 72px;
    bottom: 0;
    width: 36%;
    min-width: 420px;
    max-width: 500px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    box-sizing: border-box;
}

/* ── Card ── */
.login-card[b-uhjh5600x8] {
    width: 100%;
    background: var(--surface);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    padding: 64px 56px 16px;
    box-sizing: border-box;
    position: relative;
    animation: login-enter-b-uhjh5600x8 0.22s ease-out forwards;
}

.login-inner[b-uhjh5600x8] {
    width: 100%;
    margin: 0 auto;
}

/* ── Form header ── */
.login-welcome[b-uhjh5600x8] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 0 0 6px;
    font-weight: 500;
}

.login-title[b-uhjh5600x8] {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-dark);
    margin: 0 0 50px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ── Fields ── */
.login-form[b-uhjh5600x8] {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.field-group[b-uhjh5600x8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label[b-uhjh5600x8] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
}

.field-input[b-uhjh5600x8] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink-dark);
    background: var(--surface);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.12s, box-shadow 0.12s;
    appearance: none;
    -webkit-appearance: none;
}

.field-input:focus[b-uhjh5600x8] {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(58,58,58,0.08);
}

.field-input:disabled[b-uhjh5600x8] {
    background: var(--paper);
    color: var(--muted);
    cursor: not-allowed;
}

.field-input[b-uhjh5600x8]::placeholder { color: #bbb; }

/* Select — differentiated visually */
select.field-input.field-select[b-uhjh5600x8] {
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

select.field-input.field-select:focus[b-uhjh5600x8] {
    background-color: var(--surface);
}

/* Password wrapper */
.field-password[b-uhjh5600x8] { position: relative; }
.field-password .field-input[b-uhjh5600x8] { padding-right: 44px; }

.eye-btn[b-uhjh5600x8] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 6px;
    display: flex;
    align-items: center;
    font-size: 18px;
    border-radius: 4px;
    transition: color 0.12s;
}

.eye-btn:hover[b-uhjh5600x8] { color: var(--ink); }

/* ── Error ── */
.login-error[b-uhjh5600x8] {
    padding: 11px 14px;
    background: #fdecea;
    color: var(--alert);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid var(--alert);
}

/* ── Imagen dentro del modal "Permiso de red local" (ver ModalConfirmacion) ── */
.hint-img[b-uhjh5600x8] {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ── Switch ── */
.switch-label[b-uhjh5600x8] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.switch-track[b-uhjh5600x8] {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.switch-track input[b-uhjh5600x8] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch-thumb[b-uhjh5600x8] {
    position: absolute;
    inset: 0;
    background: #d0d0d0;
    border-radius: 100px;
    transition: background 0.15s;
}

.switch-thumb[b-uhjh5600x8]::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch-track input:checked + .switch-thumb[b-uhjh5600x8] { background: var(--ink); }
.switch-track input:checked + .switch-thumb[b-uhjh5600x8]::before { transform: translateX(16px); }

.switch-text[b-uhjh5600x8] {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
}

/* ── Submit button ── */
.btn-login[b-uhjh5600x8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: var(--ink-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
    letter-spacing: 0.01em;
}

.btn-login:hover:not(:disabled)[b-uhjh5600x8] { background: var(--ink-hover); }
.btn-login:disabled[b-uhjh5600x8] { opacity: 0.5; cursor: not-allowed; }

/* ── Footer ── */
.login-divider[b-uhjh5600x8] {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0 16px;
}

.login-footer[b-uhjh5600x8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.footer-dot[b-uhjh5600x8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    flex-shrink: 0;
}

.footer-label[b-uhjh5600x8] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.footer-sep[b-uhjh5600x8] {
    font-size: 12px;
    color: var(--border);
}

.footer-email[b-uhjh5600x8] {
    font-size: 12px;
    color: var(--muted);
}

/* ── Version — bottom right of card ── */
.login-version[b-uhjh5600x8] {
    position: absolute;
    bottom: 14px;
    right: 20px;
    font-size: 10px;
    color: #ccc;
    margin: 0;
}

/* ── Success state ── */
.login-success[b-uhjh5600x8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 0;
    text-align: center;
}

.success-icon[b-uhjh5600x8] {
    font-size: 48px;
    color: var(--ok);
}

/* ── Mobile logo (hidden on desktop) ── */
.login-mobile-logo[b-uhjh5600x8] { display: none; }

/* ── Tablet / Desktop responsive ── */
@media (max-width: 1100px) {
    .login-host[b-uhjh5600x8] {
        width: 44%;
        min-width: 400px;
    }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
    .login-page[b-uhjh5600x8] {
        background: var(--paper);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-page[b-uhjh5600x8]::before, .login-page[b-uhjh5600x8]::after { display: none; }
    .login-brand[b-uhjh5600x8] { display: none; }

    .login-host[b-uhjh5600x8] {
        position: static;
        width: 100%;
        max-width: 440px;
        min-width: 0;
        padding: 0;
    }

    .login-card[b-uhjh5600x8] {
        border-radius: 0;
        box-shadow: none;
        padding: 40px 28px 36px;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .login-mobile-logo[b-uhjh5600x8] {
        display: block;
        text-align: center;
        margin-bottom: 32px;
    }

    .login-mobile-logo img[b-uhjh5600x8] { height: 30px; width: auto; }

    .login-mobile-accent[b-uhjh5600x8] {
        width: 24px;
        height: 3px;
        background: var(--red);
        margin: 12px auto 0;
    }
}
/* /Pages/NotFoundPage.razor.rz.scp.css */
.nf-page[b-388d390tar] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    background: var(--paper);
}

.nf-card[b-388d390tar] {
    text-align: center;
    max-width: 380px;
    padding: 40px 24px;
}

.nf-code[b-388d390tar] {
    font-size: 72px;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--ink);
    line-height: 1;
}

.nf-title[b-388d390tar] {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--ink);
}

.nf-body[b-388d390tar] {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}
