html, body {
    font-family: Roboto, "Segoe UI", sans-serif;
    margin: 0;
    background: #f4f6f8;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(#d61f26, #d61f26) top/100% 6px no-repeat,
        linear-gradient(160deg, #1b365d 0%, #10243f 100%);
}

.login-card {
    width: min(460px, 92vw);
    background: #fff;
}

.login-card .mud-paper {
    background: #fff;
}

.login-label {
    display: block;
    font-size: 12px;
    color: #5c6b7a;
    margin: 0 0 6px 2px;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 14px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #eef4fb;
    font-size: 16px;
    color: #1b365d;
}

.login-input:focus {
    outline: 2px solid #1b365d;
    outline-offset: 0;
    background: #fff;
}

.login-submit,
.login-secondary {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.login-submit {
    border: 0;
    background: #1b365d;
    color: #fff;
}

.login-secondary {
    margin-top: 8px;
    border: 1px solid #1b365d;
    background: #fff;
    color: #1b365d;
}

.login-link {
    display: block;
    margin-top: 16px;
    text-align: center;
    color: #1b365d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .03em;
    text-transform: uppercase;
}

#blazor-error-ui {
    display: none;
}

.contenido-principal {
    padding: 72px 24px 24px 24px;
}

.pagina-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.anuncios-anden {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.anuncios-anden-grupo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.anuncios-anden-en {
    padding-left: 12px;
    border-left: 2px solid #26c6da;
}

.anuncios-anden-idioma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #0d47a1;
    color: #fff;
}

.anuncios-anden-idioma-en {
    background: #00838f;
}

.btn-agregar {
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
    background: #d61f26;
    color: #ffffff !important;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
}

.btn-agregar:hover {
    background: #b31b21;
    color: #ffffff !important;
}

.mapa-bus {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mapa-fila {
    display: grid;
    grid-template-columns: 1fr 1fr 18px 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.mapa-pasillo {
    height: 36px;
}

.asiento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

button.asiento {
    cursor: pointer;
}

.asiento-libre {
    background: #e8f5e9;
    color: #1b5e20;
}

.asiento-sel {
    background: #d61f26;
    color: #ffffff;
}

.cupo-numeros {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.cupo-numeros strong {
    font-size: 2.2rem;
    line-height: 1;
    color: #1b365d;
}

.cupo-barra {
    height: 14px;
    background: #e8eaf0;
    border-radius: 8px;
    overflow: hidden;
}

.cupo-lleno {
    height: 100%;
    background: #d61f26;
    min-width: 0;
}

.asiento-ocup {
    background: #cfd8dc;
    color: #546e7a;
    cursor: default;
}

.mapa-leyenda {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.marca-login {
    display: block;
    width: min(240px, 100%);
    height: auto;
    margin: 0 auto 12px;
}

.marca-appbar {
    height: 28px;
    width: auto;
    margin-left: 4px;
}

.drawer-gechisa .mud-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.drawer-marca {
    flex: 0 0 auto;
    padding: 10px 12px 6px;
}

.drawer-marca .mud-typography {
    color: #eef3f7;
}

.marca-drawer {
    display: block;
    width: auto;
    max-width: 108px;
    max-height: 60px;
    height: auto;
    margin: 0 auto 6px;
    padding: 5px 7px;
    background: #ffffff;
    border-radius: 10px;
}

.marca-drawer img,
img.marca-drawer {
    display: block;
    width: auto;
    max-width: 96px;
    max-height: 48px;
    height: auto;
    margin: 0 auto;
}

.drawer-menu {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.drawer-gechisa .mud-nav-link,
.drawer-gechisa .mud-nav-link .mud-nav-link-text,
.drawer-gechisa .mud-nav-link .mud-icon-root,
.drawer-gechisa .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled),
.drawer-gechisa .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-nav-link-text,
.drawer-gechisa .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-nav-link-icon {
    color: #eef3f7 !important;
}

.drawer-gechisa .mud-nav-link.active {
    background: rgba(255, 255, 255, 0.12);
}

.drawer-gechisa .mud-nav-link.active .mud-nav-link-text,
.drawer-gechisa .mud-nav-link.active .mud-icon-root,
.drawer-gechisa .mud-nav-link.active .mud-nav-link-icon {
    color: #ffffff !important;
}

.drawer-gechisa .mud-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.drawer-gechisa .mud-nav-group,
.drawer-gechisa .mud-nav-group .mud-nav-link-text,
.drawer-gechisa .mud-nav-group .mud-icon-root,
.drawer-gechisa .mud-nav-group .mud-expand-icon {
    color: #eef3f7 !important;
}

.mud-drawer .mud-drawer-header {
    min-height: 0 !important;
    height: auto !important;
    flex-shrink: 0;
    padding: 12px !important;
}

.marca-comprobante {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 4px;
}

.comprobante-print {
    max-width: 320px;
    background: #fff;
    padding: 10px 12px;
    border: 1px solid #d7dee5;
    font-size: 12px;
    line-height: 1.25;
    color: #111;
}

.comprobante-print .comprobante-cabecera,
.comprobante-print .comprobante-titulo {
    text-align: center;
}

.comprobante-print h2 {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.comprobante-print h3 {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 700;
}

.comprobante-print p {
    margin: 0 0 2px;
}

.comprobante-print hr {
    border: 0;
    border-top: 1px dashed #999;
    margin: 6px 0;
}

.comprobante-print .numero {
    font-size: 15px;
    font-weight: 700;
    margin: 2px 0;
}

.comprobante-print .comprobante-cliente {
    margin: 4px 0;
}

.comprobante-print .comprobante-desc {
    margin: 4px 0;
    font-size: 11px;
}

.comprobante-print table {
    width: 100%;
    margin: 4px 0;
    border-collapse: collapse;
}

.comprobante-print td:last-child {
    text-align: right;
}

.comprobante-print .comprobante-detalle-linea th,
.comprobante-print .comprobante-detalle-linea td {
    text-align: left;
    padding: 2px 3px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
    font-size: 10px;
    line-height: 1.2;
}

.comprobante-print .comprobante-detalle-linea th:not(:first-child),
.comprobante-print .comprobante-detalle-linea td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.comprobante-print .comprobante-totales td {
    padding: 1px 0;
    font-size: 12px;
}

.comprobante-print .comprobante-total td {
    font-weight: 700;
    font-size: 13px;
    padding-top: 3px;
}

.comprobante-print .comprobante-pago {
    margin-top: 4px;
}

.comprobante-print .sunat {
    color: #555;
    font-size: 9px;
    margin-top: 4px;
    line-height: 1.2;
}

.comprobante-print .anulado {
    color: #c62828;
    font-weight: 700;
    text-align: center;
    margin-top: 4px;
}

.boleto-acciones {
    margin-bottom: 16px;
}

.boleto-papel {
    max-width: 360px;
    background: #fff;
    border: 1px solid #d7dee5;
    padding: 20px;
    text-align: center;
}

.boleto-logo {
    max-width: 140px;
    max-height: 56px;
    object-fit: contain;
}

.boleto-grupo {
    color: #1b365d;
    font-size: 12px;
    margin: 4px 0 12px;
}

.boleto-papel h1 {
    margin: 0 0 8px;
    font-size: 20px;
}

.boleto-ruta {
    font-weight: 700;
    font-size: 16px;
}

.boleto-qr {
    width: 180px;
    height: 180px;
    margin: 12px 0;
}

.boleto-nota {
    font-size: 12px;
    color: #607d8b;
}

/* Comprobante térmico de boletería (ancho típico 80 mm). */
.boleto-etiqueta {
    width: 72mm;
    max-width: 72mm;
    margin: 0 auto;
    padding: 4mm 2mm;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #000;
    background: #fff;
}
.boleto-etiqueta .etq-razon { font-size: 13px; font-weight: 700; margin: 0 0 1mm; }
.boleto-etiqueta .etq-meta,
.boleto-etiqueta p { margin: 0 0 1mm; font-size: 12px; line-height: 1.3; }
.boleto-etiqueta .etq-tipo { font-size: 13px; font-weight: 700; margin: 2mm 0 1mm; }
.boleto-etiqueta .etq-numero { font-size: 16px; font-weight: 700; margin: 0 0 1mm; }
.boleto-etiqueta .etq-ruta { font-size: 14px; font-weight: 700; margin: 0 0 1mm; }
.boleto-etiqueta .etq-sep { border: 0; border-top: 1px dashed #000; margin: 2mm 0; }
.boleto-etiqueta table { width: 100%; border-collapse: collapse; margin: 0 0 1mm; }
.boleto-etiqueta td { font-size: 12px; padding: 0.4mm 0; }
.boleto-etiqueta td:last-child { text-align: right; }
.boleto-etiqueta .etq-qr { width: 42mm; height: 42mm; margin: 2mm auto; display: block; }
.boleto-etiqueta .etq-nota { font-size: 10px; }

.manifiesto-print {
    max-width: 900px;
    background: #fff;
    border: 1px solid #d7dee5;
    padding: 24px 28px 32px;
    color: #10243f;
}

.manifiesto-logo {
    display: block;
    max-width: 140px;
    max-height: 52px;
    margin: 0 auto 4px;
    object-fit: contain;
}

.manifiesto-grupo {
    text-align: center;
    color: #1b365d;
    font-size: 12px;
    margin: 0 0 10px;
}

.manifiesto-print h1 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.manifiesto-sub {
    text-align: center;
    margin: 4px 0 16px;
    font-size: 13px;
    color: #4a5d73;
}

.manifiesto-datos {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.manifiesto-datos th {
    text-align: left;
    width: 18%;
    padding: 5px 8px;
    background: #eef3f8;
    border: 1px solid #d7dee5;
}

.manifiesto-datos td {
    padding: 5px 8px;
    border: 1px solid #d7dee5;
    width: 32%;
}

.manifiesto-lista {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.manifiesto-lista th,
.manifiesto-lista td {
    border: 1px solid #c5d0db;
    padding: 6px 8px;
    text-align: left;
}

.manifiesto-lista th {
    background: #1b365d;
    color: #fff;
}

.manifiesto-lista td:first-child,
.manifiesto-lista th:first-child {
    width: 40px;
    text-align: center;
}

.manifiesto-vacio {
    text-align: center;
    color: #607d8b;
}

.manifiesto-total {
    margin: 14px 0 8px;
    font-size: 14px;
}

.manifiesto-nota {
    font-size: 12px;
    color: #4a5d73;
    margin-bottom: 28px;
}

.manifiesto-firmas {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 36px;
}

.manifiesto-firmas > div {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.manifiesto-firmas .linea {
    display: block;
    border-top: 1px solid #10243f;
    margin-bottom: 8px;
}

.manifiesto-firmas p {
    margin: 0;
    font-size: 12px;
}

.contrato-print {
    max-width: 800px;
    background: #fff;
    padding: 28px 32px;
    border: 1px solid #d7dee5;
    font-size: 13px;
    line-height: 1.45;
    color: #1b1b1b;
}

.contrato-print h2 {
    margin: 0 0 4px 0;
    font-size: 18px;
    text-align: center;
}

.contrato-print h3 {
    margin: 16px 0 6px 0;
    font-size: 13px;
}

.contrato-print .numero {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.contrato-print .contrato-ejemplar {
    text-align: right;
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #1b365d;
    margin: 0 0 8px 0;
}

.contrato-print .contrato-partes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0 12px 0;
}

.contrato-print .contrato-partes p {
    margin: 2px 0;
}

.contrato-print table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 16px 0;
}

.contrato-print th,
.contrato-print td {
    border-bottom: 1px solid #d7dee5;
    padding: 4px 6px;
    text-align: left;
}

.contrato-print td:last-child,
.contrato-print th:last-child {
    text-align: right;
}

.contrato-print .contrato-firmas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 36px;
    text-align: center;
}

.contrato-print .contrato-firmas .linea {
    border-top: 1px solid #1b1b1b;
    margin: 56px 24px 8px 24px;
}

.contrato-print .contrato-firmas p {
    margin: 2px 0;
}

.contrato-print .anulado {
    color: #c62828;
    font-weight: 700;
    text-align: center;
}

.contrato-segunda-copia {
    display: none;
}

.movil-logo-caja {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80px;
    overflow: hidden;
    margin: 4px auto 12px;
}

.movil-logo-login {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 72px;
    height: auto;
    object-fit: contain;
}

.movil-saldo {
    background: #1b365d;
    color: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.movil-saldo small {
    opacity: 0.85;
}

.movil-acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.movil-accion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 88px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.movil-accion-rojo {
    background: #d61f26;
    color: #fff;
}

.movil-accion-navy {
    background: #1b365d;
    color: #fff;
}

.movil-accion-linea {
    background: #fff;
    color: #1b365d;
    border: 1px solid #d5dde6;
}

.movil-saldo-recargar {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.movil-comprar-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #d61f26;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(214, 31, 38, 0.28);
}

.movil-comprar-cta strong {
    display: block;
    font-size: 18px;
}

.movil-comprar-cta small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.movil-pasaje-mini {
    display: block;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid #d5dde6;
    border-left: 4px solid #d61f26;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.movil-saldo-linea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d5dde6;
    color: #1b365d;
    font-size: 14px;
}

.movil-saldo-linea a {
    color: #d61f26;
    font-weight: 700;
    text-decoration: none;
}

.movil-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.movil-filtro {
    padding: 8px 14px;
    border-radius: 18px;
    border: 1px solid #d5dde6;
    background: #fff;
    color: #1b365d;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.movil-filtro-activo {
    background: #1b365d;
    border-color: #1b365d;
    color: #fff;
}

.movil-turno {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #d5dde6;
    background: #fff;
}

.movil-turno-elegido {
    border-color: #d61f26;
    box-shadow: 0 0 0 2px rgba(214, 31, 38, 0.18);
}

.movil-turno-fila {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.movil-turno-fila strong {
    display: block;
    color: #1b365d;
    font-size: 16px;
}

.movil-turno-fila small {
    display: block;
    color: #5b6b7d;
    font-size: 12px;
}

.movil-turno-precio {
    color: #d61f26;
    font-size: 18px;
    white-space: nowrap;
}

.movil-turno-confirmar {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d5dde6;
}

.movil-boleto {
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d5dde6;
    overflow: hidden;
    text-align: center;
    padding-bottom: 12px;
}

.movil-boleto-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #1b365d;
    color: #fff;
    text-align: left;
}

.movil-boleto-cabecera span {
    font-size: 12px;
    opacity: 0.85;
}

.movil-boleto-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 8px 4px;
}

.movil-boleto-datos small {
    display: block;
    color: #5b6b7d;
    font-size: 11px;
}

.movil-boleto-datos b {
    color: #1b365d;
}

.movil-boleto img {
    width: 200px;
    height: 200px;
    margin: 8px auto 4px;
    display: block;
}

.pago-tarjeta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 8px 10px;
    border: 1px solid #e2e8ef;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

.pago-tarjeta img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 16px;
}

.pago-tarjeta span {
    font-size: 13px;
    font-weight: 700;
    color: #1b365d;
    text-align: center;
}

.pagos-grilla {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.pago-metodo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px 8px;
    border: 1px solid #e2e8ef;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    min-height: 108px;
}

.pago-metodo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
}

.pago-metodo span {
    font-size: 11px;
    font-weight: 700;
    color: #1b365d;
    text-align: center;
    line-height: 1.2;
}

.pago-metodo:active {
    background: #eef3f8;
}

.probar-poster {
    width: min(920px, 96vw);
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.probar-logo {
    display: block;
    width: auto;
    max-width: 140px;
    max-height: 56px;
    height: auto;
    margin: 0 auto 12px;
    object-fit: contain;
}

.probar-qrs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.probar-qr {
    text-align: center;
    padding: 8px;
}

.probar-qr img {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 1;
    background: #fff;
}

.probar-qr-unico {
    max-width: 320px;
    margin: 0 auto;
}

.probar-qr-unico img {
    width: min(260px, 100%);
}

@media (max-width: 720px) {
    .probar-qrs {
        grid-template-columns: 1fr;
    }
}

.boleteria-shell {
    background: #f3f5f8;
    color: #1b2430;
}

.boleteria-cuerpo {
    padding: 20px 24px 48px;
    max-width: 1180px;
    margin: 0 auto;
}

.boleteria-identidad {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.boleteria-numero {
    min-width: 84px;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: #1b365d;
}

.boleteria-direccion {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #d0d7e2;
    border-radius: 6px;
    font-family: ui-monospace, Consolas, monospace;
}

.boleteria-direcciones {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.megafono-panel {
    border-color: #1b365d !important;
}

.megafono-volumen {
    max-width: 420px;
}

.megafono-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: #1b365d;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    touch-action: none;
}

.megafono-boton:hover {
    background: #274a75;
}

.megafono-boton.megafono-activo {
    background: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.25);
}

.boleteria-direccion-tarjeta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.boleteria-direccion-tarjeta:hover {
    border-color: #1b365d;
}

.boleteria-direccion-tarjeta code {
    font-size: 12px;
    word-break: break-all;
}

@media (max-width: 1100px) {
    .boleteria-direcciones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .boleteria-direcciones {
        grid-template-columns: 1fr;
    }
}

.lector-shell {
    min-height: 100vh;
    background: #10243f;
    color: #eef3f7;
}

.lector-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #1b365d;
}

.lector-top img {
    width: 36px;
    height: 36px;
}

.lector-top strong {
    display: block;
    font-size: 15px;
}

.lector-top span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.lector-salir {
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 6px 12px;
}

.lector-cuerpo {
    padding: 12px 14px 24px;
}

.lector-bus-etiqueta {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.lector-bus {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 0;
    font-size: 15px;
    margin-bottom: 12px;
}

.lector-cupo {
    background: #1b365d;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.lector-cupo strong {
    font-size: 22px;
}

.lector-cupo span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin: 2px 0 8px;
}

.lector-camara {
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.lector-camara video {
    width: 100% !important;
    height: auto !important;
}

.lector-resultado {
    margin-top: 12px;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lector-resultado.ok {
    background: #1b7a3a;
}

.lector-nombre {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 2px;
}

.lector-resultado.no {
    background: #a61b22;
}

.lector-lista-titulo {
    margin: 16px 0 6px;
    font-size: 13px;
    opacity: 0.85;
}

.lector-lista {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.lector-estado {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 700;
}

.lector-ayuda {
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.75;
}

@media print {
    .mud-drawer,
    .mud-appbar,
    .no-print {
        display: none !important;
    }

    .login-shell {
        background: #fff;
        display: block;
        min-height: auto;
        padding: 0;
    }

    .probar-poster {
        box-shadow: none;
        width: 100%;
        border-radius: 0;
    }

    .contenido-principal {
        padding: 0;
    }

    .comprobante-print {
        border: 0;
        max-width: 72mm;
        width: 72mm;
        padding: 0;
        margin: 0 auto;
        font-size: 10pt;
    }

    .comprobante-print .marca-comprobante {
        width: 28mm;
        margin: 0 auto 1mm;
    }

    .comprobante-print h2 {
        font-size: 10pt;
    }

    .comprobante-print h3,
    .comprobante-print .numero {
        font-size: 11pt;
    }

    .comprobante-print .comprobante-detalle-linea th,
    .comprobante-print .comprobante-detalle-linea td,
    .comprobante-print .sunat {
        font-size: 8pt;
    }

    .comprobante-print hr {
        margin: 1.5mm 0;
    }

    .comprobante-print table {
        margin: 1mm 0;
    }

    .boleto-acciones {
        display: none !important;
    }

    .boleto-papel,
    .boleto-etiqueta {
        border: 0;
        max-width: none;
    }

    .contrato-print {
        border: 0;
        max-width: none;
        padding: 0;
    }

    .manifiesto-print {
        border: 0;
        max-width: none;
        padding: 0;
    }

    .contrato-segunda-copia {
        display: block;
        page-break-before: always;
        break-before: page;
    }
}

.resumen-pago {
    border-left: 4px solid #1b365d;
}

.turnos-tablero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.turnos-dia {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.turnos-dia-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f6;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
}

.turnos-dia-fijos {
    padding: 8px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.turnos-dia-cola {
    flex: 1;
    min-height: 140px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.turnos-dia-cola.turno-dia-destino {
    background: rgba(214, 31, 38, 0.05);
    outline: 2px dashed #d61f26;
    outline-offset: -4px;
}

.turnos-drop-vacio {
    flex: 1;
    min-height: 120px;
    border: 2px dashed #c5d0da;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #607d8b;
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
}

.turno-tarjeta {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    padding: 10px 12px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #fff;
}

.turno-tarjeta-cuerpo {
    font-size: 0.9rem;
}

.turno-tarjeta-acciones {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.turno-tarjeta-fija {
    background: #f4f6f8;
    cursor: default;
}

.turnos-tabla tbody tr.turno-fila-arrastrable,
.turno-tarjeta.turno-fila-arrastrable {
    cursor: grab;
    user-select: none;
}

.turnos-tabla tbody tr.turno-fila-arrastrable:active,
.turno-tarjeta.turno-fila-arrastrable:active {
    cursor: grabbing;
}

.turno-orden {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.turno-agarre {
    color: #90a4ae;
}

.turnos-tabla tbody tr.turno-fila-arrastrando,
.turno-tarjeta-arrastrando {
    opacity: 0.4;
    cursor: grabbing;
}

.turnos-tabla tbody tr.turno-drop-antes,
.turno-tarjeta.turno-drop-antes {
    box-shadow: inset 0 3px 0 #d61f26;
    background: rgba(214, 31, 38, 0.06);
}

.turnos-tabla tbody tr.turno-drop-despues,
.turno-tarjeta.turno-drop-despues {
    box-shadow: inset 0 -3px 0 #d61f26;
    background: rgba(214, 31, 38, 0.06);
}

@media (max-width: 1100px) {
    .turnos-tablero {
        grid-template-columns: 1fr;
    }
}

.resumen-efectivo { border-left-color: #2e7d32; }
.resumen-yape { border-left-color: #6a1b9a; }
.resumen-plin { border-left-color: #0277bd; }
.resumen-app { border-left-color: #d61f26; }
.resumen-total { border-left-color: #1b365d; background: #f8fafc; }

/* Daily dispatch register: screen and two-column A4 paper. */
.hoja-salidas { background: #fff; border: 1px solid #c7cdd4; padding: 24px; color: #172b41; }
.hoja-salidas-cabecera { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 2px solid #243b53; padding-bottom: 14px; }
.hoja-salidas-cabecera h1 { font-size: 17px; margin: 5px 0 0; font-weight: 700; }
.hoja-fecha { display: flex; flex-direction: column; text-align: right; white-space: nowrap; text-transform: capitalize; }
.hoja-fecha span { font-size: 20px; font-weight: 700; }
.hoja-resumen { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 13px; }
.hoja-tabla-scroll { overflow-x: auto; }
.hoja-tabla { border-collapse: collapse; width: 100%; color: #172b41; }
.hoja-tabla th, .hoja-tabla td { border: 1px solid #b7c2cd; padding: 9px 10px; text-align: left; }
.hoja-tabla th { background: #edf1f5; font-size: 12px; text-transform: uppercase; }
.hoja-tabla td { font-size: 13px; }
.hoja-tabla small { display: block; color: #64748b; font-size: 11px; margin-top: 3px; }
.hoja-placa, .hoja-hora-salida { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.hoja-fila-salida { background: #f2f8f3; }
.hoja-acciones { min-width: 220px; }
.hoja-acciones .mud-button-root { margin: 2px; }
.hoja-nota { margin-top: 14px; color: #64748b; font-size: 12px; }
.hoja-vacia { text-align: center !important; padding: 40px !important; }
.hojas-impresion { display: none; }
@media (max-width: 700px) {
    .hoja-salidas { padding: 12px; }
    .hoja-salidas-cabecera { align-items: flex-start; }
    .hoja-salidas-cabecera h1 { font-size: 13px; }
    .hoja-fecha span { font-size: 16px; }
    .hoja-resumen { flex-wrap: wrap; }
}
@page hojaSalidas { size: A4 portrait; margin: 10mm; }
@media print {
    body:has(.hojas-impresion) { background: white !important; page: hojaSalidas; }
    body:has(.hojas-impresion) .mud-main-content { margin: 0 !important; padding: 0 !important; }
    body:has(.hojas-impresion) .contenido-principal { margin: 0 !important; padding: 0 !important; max-width: none !important; }
    body:has(.hojas-impresion) .mud-overlay, body:has(.hojas-impresion) #mud-snackbar-container { display: none !important; }
    .hojas-impresion { display: block; color: black; font-family: Arial, sans-serif; }
    .hoja-papel { page: hojaSalidas; break-after: page; break-inside: avoid; }
    .hoja-papel:last-child { break-after: auto; }
    .hoja-papel .hoja-salidas-cabecera { border: 0; padding-bottom: 4mm; gap: 4mm; }
    .hoja-papel .hoja-salidas-cabecera strong { font-size: 10pt; }
    .hoja-papel .hoja-salidas-cabecera h1 { font-size: 10pt; }
    .hoja-papel .hoja-fecha span { font-size: 12pt; }
    .hoja-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; align-items: start; }
    .hoja-tabla-impresa { table-layout: fixed; color: black; }
    .hoja-tabla-impresa th, .hoja-tabla-impresa td { border: .2mm solid #333; padding: .2mm .6mm; font-size: 6pt; line-height: 2.7mm; height: 3.45mm; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .hoja-tabla-impresa th { font-size: 5.8pt; background: white; }
    .hoja-tabla-impresa td:first-child { text-align: center; }
    .hoja-tabla-impresa td:nth-child(4), .hoja-tabla-impresa td:nth-child(5) { text-align: center; font-variant-numeric: tabular-nums; }
    .hoja-papel footer { font-size: 7pt; margin-top: 3mm; }
}

@media print { .hoja-tabla-impresa td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; line-height: 1.8mm; font-size: 6pt; } }

/* Daily sheets for dispatch operators: 1, 2 or 3 visible days. */
.turnos-hojas { display: grid; gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 100px; width: 100%; }
.turnos-hojas--1 { grid-template-columns: minmax(0, 1fr); }
.turnos-hojas--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.turnos-hojas--3 { grid-template-columns: repeat(3, minmax(260px, 1fr)); }
.turnos-dias-vista { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0; padding: 0 4px; }
.turnos-dias-vista .mud-checkbox { margin: 0; }
.turnos-hojas .hoja-salidas { padding: 12px; border-radius: 4px; }
.hoja-dia-titulo { display: flex; justify-content: space-between; align-items: center; padding-bottom: 9px; border-bottom: 2px solid #243b53; }
.hoja-dia-titulo strong { display: block; font-size: 17px; }
.hoja-dia-titulo span { display: block; font-size: 12px; text-transform: capitalize; }
.turnos-hojas .hoja-resumen { font-size: 11px; padding: 9px 0; }
.turnos-hojas .hoja-tabla { table-layout: fixed; }
.turnos-hojas .hoja-tabla th, .turnos-hojas .hoja-tabla td { padding: 5px 3px; font-size: 11px; vertical-align: middle; }
.turnos-hojas .hoja-tabla th { font-size: 9px; }
.turnos-hojas .hoja-tabla th:first-child { width: 27px; }
.turnos-hojas .hoja-tabla th:nth-child(3), .turnos-hojas .hoja-tabla th:nth-child(4) { width: 39px; }
.turnos-hojas .hoja-tabla th:last-child { width: 35%; }
.hoja-acciones-compactas { text-align: center !important; }
.hoja-acciones-compactas .hoja-icono { width: 32px; height: 32px; margin: 2px; }
.hoja-acciones-compactas .hoja-mas { margin: 2px; }
.hoja-acciones-compactas .hoja-mas summary { width: 32px; height: 32px; line-height: 32px; }
.hoja-empresa { overflow-wrap: anywhere; }
.hoja-empresa > strong { display: block; line-height: 1.3; }
.hoja-empresa .hoja-placa { display: block; margin-top: 3px; color: #19395b; font-size: 12px; }
.hoja-empresa small { font-size: 10px; }
.hoja-fila-libre td { color: #94a3b8; background: #f8fafc; }
.hoja-fila-libre .hoja-numero { color: #334155; font-weight: 700; }
.hoja-libre { font-style: italic; }
.hoja-fila-libre a { color: #1b365d; font-weight: 600; text-decoration: none; }
.hoja-mas-uno { display: inline; margin-left: 1px; color: #9aabba; font-weight: 400; font-size: 1em; line-height: inherit; text-decoration: none; }
.hoja-mas-uno:hover, .hoja-mas-uno:focus-visible { color: #1b365d; }
.hoja-numero { text-align: center !important; }
.hoja-agarre { display: block; color: #8a99a8; font-size: 17px; }
.hoja-fila-movible { cursor: grab; }
.hoja-fila-movible:active { cursor: grabbing; }
.hoja-icono { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 28px; padding: 2px; border: 0; border-radius: 4px; background: transparent; color: #1b365d; cursor: pointer; vertical-align: middle; }
.hoja-icono:hover { background: #dce7f2; }
.hoja-icono:focus-visible, .hoja-mas summary:focus-visible { outline: 2px solid #1b365d; outline-offset: 1px; }
.hoja-icono:disabled { opacity: .4; cursor: wait; }
.hoja-icono-salida { background: #1b365d; color: white; }
.hoja-icono-salida:hover { background: #315b88; }
.hoja-icono-pago-ok { color: #1b7a3d; background: #e7f6ec; cursor: default; }
.hoja-icono-pago-pendiente { color: #a35b00; background: #fff3e0; }
button.hoja-icono-pago-pendiente:hover { background: #ffe0b2; }
button.hoja-icono-pago-pendiente:focus-visible { outline: 2px solid #a35b00; outline-offset: 1px; }
.hoja-icono-vallejo { background: #e8f0fa; color: #0d47a1; }
button.hoja-icono-vallejo:hover { background: #c5daf0; }
.hoja-ruta-vallejo { display: block; margin-top: 2px; color: #0d47a1; font-size: 10px; font-weight: 600; }
.hoja-mas { display: inline-block; position: relative; vertical-align: middle; }
.hoja-mas summary { list-style: none; font-size: 23px; cursor: pointer; width: 26px; text-align: center; border-radius: 4px; }
.hoja-mas summary::-webkit-details-marker { display: none; }
.hoja-mas-panel { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 155px; padding: 5px; background: white; border: 1px solid #bcc8d4; box-shadow: 0 4px 12px #10243f22; border-radius: 5px; }
.hoja-mas-panel button, .hoja-mas-panel a { display: block; width: 100%; padding: 8px; text-align: left; color: #1b365d; background: white; border: 0; font-size: 12px; cursor: pointer; }
.hoja-mas-panel button:hover, .hoja-mas-panel a:hover { background: #edf2f7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media print { .hoja-omitir-impresion { display: none !important; } }
.turnos-hojas .hoja-tabla th:nth-child(3), .turnos-hojas .hoja-tabla th:nth-child(4) { font-size: 8px; text-align: center; }
.turnos-hojas--1 .hoja-salidas { padding: 20px 24px; }
.turnos-hojas--1 .hoja-dia-titulo strong { font-size: 22px; }
.turnos-hojas--1 .hoja-dia-titulo span { font-size: 15px; }
.turnos-hojas--1 .hoja-resumen { font-size: 14px; }
.turnos-hojas--1 .hoja-tabla th, .turnos-hojas--1 .hoja-tabla td { padding: 10px 12px; font-size: 15px; }
.turnos-hojas--1 .hoja-tabla th { font-size: 12px; }
.turnos-hojas--1 .hoja-tabla th:first-child { width: 72px; }
.turnos-hojas--1 .hoja-tabla th:nth-child(3), .turnos-hojas--1 .hoja-tabla th:nth-child(4) { width: 110px; font-size: 12px; text-align: center; }
.turnos-hojas--1 .hoja-tabla th:last-child { width: 180px; }
.turnos-hojas--1 .hoja-empresa .hoja-placa { font-size: 16px; }
.turnos-hojas--2 .hoja-salidas { padding: 16px; }
.turnos-hojas--2 .hoja-tabla th, .turnos-hojas--2 .hoja-tabla td { padding: 8px 8px; font-size: 13px; }
.turnos-hojas--2 .hoja-tabla th { font-size: 11px; }
.turnos-hojas--2 .hoja-tabla th:first-child { width: 52px; }
.turnos-hojas--2 .hoja-tabla th:nth-child(3), .turnos-hojas--2 .hoja-tabla th:nth-child(4) { width: 72px; font-size: 11px; text-align: center; }
.turnos-hojas--2 .hoja-tabla th:last-child { width: 150px; }
.turnos-hojas .hoja-tabla-pantalla th,
.turnos-hojas .hoja-tabla-pantalla td { padding: 0 6px; height: 26px; font-size: 12px; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.turnos-hojas .hoja-tabla-pantalla th:first-child,
.turnos-hojas .hoja-tabla-pantalla td.hoja-numero {
    width: 4.6em;
    overflow: visible;
    text-overflow: clip;
}
.turnos-hojas .hoja-tabla-pantalla .hoja-fila-libre .hoja-acciones-compactas { text-align: right; }
.turnos-hojas .hoja-tabla-pantalla .hoja-fila-libre .hoja-acciones-compactas > .hoja-mas-uno,
.turnos-hojas .hoja-tabla-pantalla tr.hoja-fila-activa.hoja-fila-libre .hoja-acciones-compactas > .hoja-mas-uno {
    display: inline; width: auto; height: auto; margin: 0; padding: 0; font-size: 1em; font-weight: 400; line-height: inherit;
}
.turnos-hojas .hoja-tabla-pantalla th:nth-child(3),
.turnos-hojas .hoja-tabla-pantalla th:nth-child(4) { width: 58px; text-align: center; }
.turnos-hojas .hoja-tabla-pantalla th:last-child { width: 76px; }
.turnos-hojas .hoja-tabla-pantalla .hoja-empresa > strong,
.turnos-hojas .hoja-tabla-pantalla .hoja-empresa .hoja-placa,
.turnos-hojas .hoja-tabla-pantalla .hoja-empresa small,
.turnos-hojas .hoja-tabla-pantalla .hoja-ruta-vallejo,
.turnos-hojas .hoja-tabla-pantalla .hoja-agarre { display: inline; margin: 0; font-size: 12px; line-height: 26px; }
.turnos-hojas .hoja-tabla-pantalla .hoja-placa::before,
.turnos-hojas .hoja-tabla-pantalla .hoja-empresa small::before { content: " · "; }
.turnos-hojas .hoja-tabla-pantalla .hoja-acciones-compactas > * { display: none; }
.turnos-hojas .hoja-tabla-pantalla tr.hoja-fila-activa td { height: auto; line-height: 1.3; padding-top: 4px; padding-bottom: 4px; white-space: normal; overflow: visible; background: #e7f0fa; }
.turnos-hojas .hoja-tabla-pantalla tr.hoja-fila-activa .hoja-acciones-compactas > * { display: inline-flex; width: 32px; height: 32px; margin: 2px; overflow: visible; }
.turnos-hojas .hoja-tabla-pantalla tr.hoja-fila-activa .hoja-acciones-compactas a { display: inline-flex; align-items: center; width: auto; padding: 0 8px; font-weight: 700; }
.turnos-hojas .hoja-tabla-pantalla .hoja-acciones-compactas { text-align: right !important; }
.turnos-hojas .hoja-tabla-pantalla tr { cursor: pointer; }
.turnos-hojas .hoja-tabla-pantalla .hoja-acciones-compactas > .hoja-pago,
.turnos-hojas .hoja-tabla-pantalla tr.hoja-fila-activa .hoja-acciones-compactas > .hoja-pago {
    display: inline-block; width: 7px; height: 7px; min-width: 7px; margin: 0; padding: 0; border-radius: 50%; vertical-align: middle; overflow: hidden;
}
.hoja-pago-si { background: #1b7a3d; }
.hoja-pago-no { background: #d32f2f; }

.turnos-hojas .hoja-salidas { min-height: 360px; transition: box-shadow .12s, background-color .12s; }
.turnos-hojas .hoja-salidas.turno-dia-destino { box-shadow: inset 0 0 0 3px #1976d2; background-color: #f1f7ff; }
.turnos-hojas tr.turno-tarjeta-arrastrando { opacity: .4; }
.turnos-linea-insercion { position: fixed; height: 4px; background: #0969da; z-index: 10000; pointer-events: none; box-shadow: 0 0 0 1px white; }
.turnos-linea-insercion[hidden] { display: none; }
.turnos-linea-insercion::before { content: ''; position: absolute; left: -3px; top: -4px; border-radius: 50%; width: 12px; height: 12px; background: #0969da; border: 2px solid white; }
.turnos-linea-insercion span { position: absolute; right: 0; bottom: 5px; padding: 4px 8px; background: #0969da; color: white; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.turnos-movimiento { min-height: 24px; margin-bottom: 4px; color: #174b80; font-size: 13px; font-weight: 600; }
@media print { .turnos-linea-insercion { display: none !important; } }
.destino-hero { background: linear-gradient(140deg,#10243f,#264f7a); padding: 24px; margin-bottom: 18px; border-radius: 14px; color: #fff; }
.destino-hero > span { font-size: 10px; letter-spacing: 1.4px; color: #b8d5f0; }
.destino-hero h1 { font-size: 28px; font-weight: 700; margin: 8px 0; }
.destino-hero p { font-size: 14px; margin-bottom: 18px; color: #d7e5f2; }
.destino-hero > strong { display: block; padding-top: 14px; border-top: 1px solid #ffffff33; }
.destino-filtros { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.destino-tabs { display: flex; gap: 6px; border-bottom: 1px solid #d5dfe8; margin: 12px 0 22px; flex-wrap: wrap; }
.destino-tabs button { padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #52677c; font-weight: 600; cursor: pointer; }
.destino-tabs button.activo { color: #1b365d; border-color: #d61f26; }
.destino-catalogo { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 16px; }
.destino-producto, .destino-pedido { background: #fff; border: 1px solid #d9e2eb; padding: 20px; border-radius: 12px; margin-bottom: 14px; }
.destino-categoria { font-size: 11px; color: #496c8c; text-transform: uppercase; letter-spacing: .4px; }
.destino-producto h2, .destino-pedido h2 { font-size: 19px; line-height: 1.35; color: #183650; margin: 10px 0; font-weight: 650; }
.destino-producto p, .destino-pedido p { font-size: 13px; color: #5a6d7f; margin: 10px 0; }
.destino-producto > small { display: block; margin: 8px 0; font-size: 12px; color: #5a6d7f; }
.destino-precio { font-size: 24px; color: #1b365d; display: block; margin: 18px 0 12px; }
.destino-producto > .mud-button-root { margin-top: 12px; }
.destino-pedido header { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; align-items: center; }
.destino-estado { display: inline-block; border-radius: 15px; background: #e9f1f8; color: #1b365d; padding: 6px 10px; font-weight: 600; }
.destino-codigo { background: #f1f6fa; padding: 14px; margin: 15px 0; border-radius: 8px; font-size: 12px; }
.destino-codigo strong { display: block; font-size: 30px; letter-spacing: 5px; color: #183650; }
.destino-codigo small { display: block; color: #65788a; }
.destino-estadisticas { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.destino-estadisticas > div { padding: 18px; background: white; border: 1px solid #d9e2eb; border-radius: 10px; font-size: 12px; color: #62758a; }
.destino-estadisticas strong { display: block; color: #1b365d; font-size: 28px; }
.destino-pedidos-gestion { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: 16px; margin-top: 15px; }
@media(max-width:700px) { .destino-estadisticas { grid-template-columns:1fr 1fr; } .destino-filtros { gap: 10px; } }

.turno-pago-grupo { display: flex; flex-wrap: wrap; gap: 8px; }
.turno-pago-grupo .mud-button-root { min-width: 120px; }
.hoja-agregar-bus { display:flex; justify-content:flex-end; }
.hoja-agregar-inicio { margin:0 0 8px; }
.hoja-agregar-fin { margin:10px 0 0; }
.usb-flujo{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.usb-flujo span{padding:10px 14px;background:#e9f0f8;border-radius:6px;color:#1b365d;font-size:14px}.usb-dispositivos{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:20px 0}.usb-dispositivo{display:flex;flex-direction:column;gap:8px;text-align:left;border:1px solid #bccadd;background:white;color:#1b365d;border-radius:8px;padding:18px;cursor:pointer}.usb-dispositivo strong{font-size:19px}.usb-dispositivo.seleccionado{border:2px solid #1b365d;background:#edf4fc}.usb-dispositivo:disabled{opacity:.6}.usb-operacion{display:grid;grid-template-columns:1fr 1fr;gap:20px}.usb-etiqueta{display:block;font-weight:600;margin-bottom:8px}.usb-entrada{width:100%;border:1px solid #b8c7d9;padding:10px;border-radius:6px;font:inherit;margin-bottom:14px;resize:vertical}.usb-pasajero{display:flex;flex-direction:column;gap:7px;background:#edf5fb;border-radius:7px;padding:16px;margin:20px 0 12px}.usb-pasajero strong{font-size:22px}.usb-denominaciones{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.usb-total{display:flex;flex-direction:column;gap:9px;padding:20px;background:#f1f7f1;margin:20px 0;border-radius:7px}.usb-total strong{font-size:32px;color:#1c5b35}.usb-lecturas{display:grid;gap:8px;margin-top:15px}.usb-lecturas>div,.usb-historial{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #dde4ed}.usb-historial>div{display:flex;flex-direction:column;gap:8px}.usb-historial span{font-size:13px;color:#53657b}@media(max-width:900px){.usb-operacion{grid-template-columns:1fr}.usb-dispositivos{grid-template-columns:1fr}.usb-total strong{font-size:27px}}
/* Passenger UI: flexible cards and readable labels on narrow screens. */
.movil-shell { background: #f5f7fb; }
.movil-body, .movil-body * { box-sizing: border-box; }
.movil-body { min-width: 0; overflow-wrap: anywhere; }
.movil-body .mud-button-label { white-space: normal; line-height: 1.4; }
.movil-body .mud-button-root { max-width: 100%; }
.movil-body .mud-paper { border-radius: 18px; }
.movil-body .mud-input-control { min-width: 0; }
.movil-saldo { position: relative; background: radial-gradient(ellipse at top right, #35678b 0, transparent 65%), linear-gradient(135deg, #1b365d, #10243f); border: 1px solid #ffffff20; border-radius: 24px; padding: 22px; box-shadow: 0 10px 24px #1b365d1a; }
.movil-saldo-cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.movil-saldo-cabecera small { min-width: 0; line-height: 1.5; }
.movil-saldo-cabecera .mud-icon-root { flex-shrink: 0; opacity: .7; }
.movil-saldo .mud-typography-h4 { font-size: clamp(2rem, 9vw, 2.65rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.3; }
.movil-saldo-recargar { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 1px solid #ffffff30; border-radius: 12px; }
.movil-comprar-cta { background: linear-gradient(120deg, #d61f26, #b71531); border-radius: 20px; padding: 18px; gap: 14px; box-shadow: 0 8px 20px #d61f2624; }
.movil-comprar-cta > .mud-icon-root { width: 38px; height: 38px; flex-shrink: 0; padding: 6px; box-sizing: content-box; border-radius: 14px; background: #ffffff20; }
.movil-comprar-cta > span { min-width: 0; }
.movil-comprar-cta strong { font-size: 17px; line-height: 1.3; }
.movil-comprar-cta small { margin-top: 5px; line-height: 1.5; }
.movil-seccion-titulo { margin: 24px 0 12px; }
.movil-seccion-titulo h2 { color: #1b365d; font-size: 18px; font-weight: 750; line-height: 1.4; margin: 0; }
.movil-seccion-titulo > span { color: #65758a; font-size: 12px; }
.movil-acciones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.movil-accion { min-width: 0; min-height: 146px; align-items: flex-start; justify-content: flex-start; padding: 16px 14px; gap: 7px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; color: #1b365d; letter-spacing: normal; box-shadow: 0 4px 12px #1b365d06; transition: transform .18s, box-shadow .18s; }
.movil-accion strong { font-size: 14px; line-height: 1.35; }
.movil-accion small { font-size: 12px; line-height: 1.45; font-weight: 400; color: #617184; }
.movil-accion-icono { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 14px; margin-bottom: 4px; }
.movil-accion-destino .movil-accion-icono { color: #a75a0b; background: #fff1da; }
.movil-accion-pasajes .movil-accion-icono { color: #285cab; background: #eaf1ff; }
.movil-accion-movimientos .movil-accion-icono { color: #18776e; background: #e1f5ef; }
.movil-accion-servicios .movil-accion-icono { color: #a73c62; background: #fce9f0; }
.movil-vacio { display: flex; align-items: flex-start; gap: 12px; background: #edf2f8; border: 1px dashed #ced9e6; border-radius: 18px; padding: 18px 16px; }
.movil-vacio-icono { color: #6481a3; flex-shrink: 0; }
.movil-vacio strong { color: #1b365d; font-size: 14px; line-height: 1.4; }
.movil-vacio p { color: #617184; font-size: 13px; line-height: 1.6; margin: 6px 0 0; }
.movil-turno-fila > *, .movil-boleto-datos > * { min-width: 0; }
.movil-boleto-datos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.movil-saldo-linea { flex-wrap: wrap; gap: 8px; }
.movil-body img { max-width: 100%; object-fit: contain; }
.movil-accion:focus-visible, .movil-comprar-cta:focus-visible, .movil-saldo-recargar:focus-visible { outline: 3px solid #e9aa36; outline-offset: 4px; }
@media (hover: hover) { .movil-accion:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #1b365d14; } }
@media (prefers-reduced-motion: reduce) { .movil-accion { transition: none; } }
@media (max-width: 350px) { .movil-accion { padding: 14px 10px; } .movil-comprar-cta { padding: 14px; gap: 10px; } .movil-comprar-cta > .mud-icon-root { width: 28px; height: 28px; } }

/* Local reference images: reserve space while loading and retain mobile bounds. */
.destino-foto { position: relative; margin: -4px -4px 16px; border-radius: 14px; overflow: hidden; background: #f5f0e9; }
.destino-foto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.destino-foto figcaption { position: absolute; bottom: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 9px; border-radius: 8px; color: #fff; background: #10243fe8; font-size: 10px; line-height: 1.4; }
.destino-producto { min-width: 0; border-radius: 20px; }
.destino-producto h2, .destino-producto p, .destino-producto small { overflow-wrap: anywhere; }

.lector-shell.boleteria-shell { background: #e7eef6; color: #1b2430; }
.cabina-top { display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 0 22px; background: #12325f; color: #fff; }
.cabina-logo { height: 38px; width: auto; background: #fff; border-radius: 8px; padding: 3px 8px; }
.cabina-titulo { font-size: 22px; font-weight: 800; }
.cabina-serie-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
}
.cabina-serie-control { background: #ffd100; color: #10243f; }
.cabina-serie-venta { background: #e10600; color: #fff; }
.cabina-modo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}
.cabina-modo strong { font-size: 18px; font-weight: 900; }
.cabina-modo-serie {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fff;
    font-weight: 900;
}
.cabina-modo-control {
    background: #fff4c2;
    border: 2px solid #c9a000;
    color: #10243f;
}
.cabina-modo-venta {
    background: #ffe8e8;
    border: 2px solid #e10600;
    color: #7f1d1d;
}
.cabina-modo-print {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 8px;
    background: #16325c;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.cabina-modo-print:hover { background: #0f2444; color: #fff !important; }
.cabina-modo-control .cabina-modo-serie { margin-left: 0; }
.cabina-modo-venta .cabina-modo-serie { margin-left: 0; }
.cabina-agencia, .cabina-estado, .cabina-cajero { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.cabina-espacio { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.cabina-punto { width: 10px; height: 10px; border-radius: 50%; background: #3ddc76; box-shadow: 0 0 0 3px #3ddc7633; }
.cabina-top .login-salir, .cabina-top button, .cabina-top a { color: #fff; }
.cabina { display: flex; flex-direction: column; gap: 14px; color: #1b2430; }
.cabina-buses, .cabina-panel { background: #fff; border: 1px solid #d5deea; border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 24px #12325f0d; }
.cabina-buses-titulo, .cabina-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #16325c; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cabina-buses-fila { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)) 230px; gap: 14px; align-items: start; }
.cabina-buses-fila.cabina-buses-solo { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
.cabina-coincidencias { list-style: none; margin: 4px 0 0; padding: 0; max-height: 220px; overflow: auto; border: 1px solid #8aa0b8; border-radius: 10px; background: #fff; }
.cabina-coincidencias button { display: block; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #e4ebf3; background: #fff; color: #10243f; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.cabina-coincidencias button strong { color: #0b1f33; font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.cabina-coincidencias button:hover { background: #e7eef8; color: #0b1f33; }
.cabina-slot-label, .cabina-campo, .cabina-volumen span, .cabina-grupo { display: block; color: #5d6d82; font-size: 12px; margin-bottom: 4px; }
.cabina-select, .cabina-input, .cabina-buscar-input { width: 100%; box-sizing: border-box; border: 1px solid #c5d0de; border-radius: 10px; min-height: 40px; padding: 8px 12px; background: #fff; color: #10243f; font-size: 15px; font-weight: 600; caret-color: #10243f; }
.cabina-select::placeholder, .cabina-input::placeholder { color: #8aa0b8; font-weight: 500; }
.cabina-placa { position: relative; display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 8px; padding: 8px; border: 2px solid #e1e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: #10243f; }
.cabina-placa-activa { border-color: #1f9d55; box-shadow: 0 0 0 3px #1f9d5526; background: #f3fbf6; }
.cabina-placa-numero { display: flex; flex-direction: column; justify-content: center; min-width: 118px; min-height: 58px; padding: 0 10px 8px; border-radius: 8px; background: #ffd100; color: #10243f; font-size: 22px; font-weight: 900; letter-spacing: .04em; line-height: 1; border: 1px solid #c9a000; }
.cabina-placa:not(.cabina-placa-activa) .cabina-placa-numero { background: #ffd100; }
.cabina-placa-activa .cabina-placa-numero { background: #2ecc71; border-color: #147a3f; color: #0b1f33; }
.cabina-placa-tope { display: flex; align-items: center; gap: 5px; margin: 0 -10px 5px; padding: 3px 8px; background: #d71920; }
.cabina-placa-activa .cabina-placa-tope { background: #147a3f; }
.cabina-placa-numero small { color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cabina-bandera { width: 14px; height: 10px; border-radius: 1px; background: linear-gradient(90deg, #d71920 0 33%, #fff 33% 66%, #d71920 66% 100%); box-shadow: 0 0 0 1px #ffffff55; flex-shrink: 0; }
.cabina-placa-cupo { display: flex; flex-direction: column; color: #5d6d82; font-size: 12px; }
.cabina-placa-cupo strong { color: #16325c; font-size: 18px; }
.cabina-placa-faltan { margin-top: 2px; color: #c2410c; font-size: 12px; font-weight: 800; }
.cabina-placa-miventa {
    margin-top: 4px;
    color: #16325c;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}
.cabina-placa-miventa small {
    display: block;
    color: #5d6d82;
    font-size: 11px;
    font-weight: 700;
}
.cabina-placa-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; font-size: 13px; }
.cabina-quitar { margin-left: auto; border: 1px solid #e10600; background: #fff; color: #e10600; border-radius: 8px; min-height: 32px; padding: 0 10px; font-weight: 800; cursor: pointer; }
.cabina-quitar:disabled { opacity: .5; cursor: wait; }
.cabina-placa-vacia { display: grid; place-items: center; min-height: 74px; margin-top: 8px; border: 1px dashed #c9d4e3; border-radius: 12px; color: #8aa0b8; background: #f8fafc; }
.cabina-aviso { border: 1px solid #d5deea; border-radius: 16px; padding: 12px; background: #fff; }
.cabina-volumen input { width: 100%; accent-color: #e10600; }
.cabina-hablar { width: 100%; margin-top: 8px; min-height: 42px; border: 0; border-radius: 10px; background: #e10600; color: #fff; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.cabina-hablar:disabled { background: #e7a0a3; }
.cabina-micro, .cabina-nota { color: #5d6d82; font-size: 12px; }
.cabina-trabajo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.cabina-ficha { border: 1px solid #d5deea; border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.cabina-doc { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 10px; }
.cabina-grupo { min-width: 120px; }
.cabina-grupo-crece { flex: 1; }
.cabina-doc-linea { display: flex; gap: 8px; }
.cabina-campo { margin: 8px 0; }
.cabina-menores-accion { display: flex; align-items: end; min-height: 36px; }
.cabina-menores { width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid #e6edf5; }
.cabina-menores h3 { margin: 0 0 6px; color: #16325c; font-size: 14px; font-weight: 800; }
.cabina-menor { margin-top: 10px; padding: 12px; border: 1px solid #d7e0ec; border-radius: 12px; background: #f8fafc; }
.cabina-menor-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cabina-menor-cab strong { color: #16325c; }
.cabina-cobra-pasaje {
    margin-top: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #c9d4e3;
    border-radius: 10px;
    background: #fff;
    color: #5d6d82;
    font-weight: 700;
    cursor: pointer;
}
.cabina-cobra-pasaje-on {
    border-color: #1f9d55;
    background: #e8f7ee;
    color: #166534;
}
.cabina-precio-detalle { margin-left: 6px; color: #6b7c90; font-size: 13px; font-weight: 600; }
.cabina-icono, .cabina-secundario { border: 1px solid #c9d4e3; background: #fff; color: #16325c; border-radius: 8px; min-height: 36px; min-width: 36px; padding: 0 10px; font-weight: 700; }
.cabina-itinerario { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 0; }
.cabina-itinerario > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e6edf5; }
.cabina-itinerario dt { color: #5d6d82; font-size: 13px; }
.cabina-itinerario dd { margin: 0; font-weight: 800; color: #16325c; text-align: right; }
.cabina-lleno-acciones {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid #c2410c;
    background: #fff7ed;
    color: #9a3412;
    display: grid;
    gap: 4px;
}
.cabina-lleno-acciones strong {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cabina-despacho { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.cabina-despacho-urgente .cabina-manifiesto,
.cabina-despacho-urgente .cabina-liquidar {
    min-height: 52px;
    font-size: 15px;
    font-weight: 900;
    border: 2px solid #16325c;
    background: #ffd100;
    color: #10243f;
}
.cabina-despacho-urgente .cabina-liquidar {
    background: #e10600;
    border-color: #9f0000;
    color: #fff;
}
.cabina-manifiesto,
.cabina-liquidar {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #8a96a8;
    border-radius: 4px;
    background: #e8ecf1;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}
.cabina-manifiesto:hover,
.cabina-liquidar:hover { background: #dde3eb; }
.cabina-manifiesto:disabled,
.cabina-liquidar:disabled { opacity: .55; cursor: not-allowed; }
a.cabina-registros-salidas {
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    box-sizing: border-box;
}
a.cabina-mensajes-cfg {
    display: inline-grid;
    place-items: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #8a96a8;
    border-radius: 4px;
    background: #e8ecf1;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
}
a.cabina-mensajes-cfg:hover { background: #dde3eb; }
.cabina-textarea {
    width: 100%;
    min-height: 96px;
    margin: 8px 0;
    padding: 10px 12px;
    border: 1px solid #c9d4e3;
    border-radius: 10px;
    font: inherit;
    line-height: 1.35;
    resize: vertical;
}
.cabina-audio-volumen { margin-bottom: 14px; }
.cabina-audio-volumen .cabina-volumen { margin-top: 8px; }
.cabina-mensajes-lista { display: grid; gap: 12px; }
.cabina-mensajes-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cabina-mensajes-cab h2 { margin: 0; font-size: 15px; }
.cabina-mensajes-activo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #16325c; }
.cabina-mensajes-acciones { display: flex; gap: 8px; }
.cabina-salidas-cab {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
}
.cabina-salidas-cab h1 {
    margin: 0 0 6px;
    color: #16325c;
    font-size: 20px;
    font-weight: 800;
}
.cabina-salidas-cab-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.cabina-salidas-atajo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e6edf5;
}
.cabina-salidas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: #16325c;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
}
.cabina-salidas-btn:hover { background: #0f2444; color: #fff; }
.cabina-contabilidad {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    margin: 12px 0 16px;
}
.cabina-contabilidad-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #d5deea;
    border-radius: 12px;
    background: #f8fafc;
}
.cabina-contabilidad-item span { color: #5d6d82; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cabina-contabilidad-item strong { color: #16325c; font-size: 22px; font-weight: 900; }
.cabina-contabilidad-titulo {
    margin: 8px 0 10px;
    color: #16325c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cabina-empresas-scroll { max-height: min(28vh, 240px); margin-bottom: 14px; }
.cabina-salidas-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.cabina-salidas-acciones a.cabina-secundario {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
@media (max-width: 900px) {
    .cabina-contabilidad { grid-template-columns: 1fr 1fr; }
}
.cabina-tabla tr.cabina-fila-activa td { background: #eef4fb; }
.cabina-chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #ffd000; color: #16325c; }
.cabina-asiento-num, .cabina-libres, .cabina-faltan { display: inline-grid; place-items: center; min-width: 46px; min-height: 34px; border-radius: 8px; color: #fff; font-size: 18px; }
.cabina-asiento-num { background: #e10600; }
.cabina-libres { background: #1f9d55; }
.cabina-faltan { background: #c2410c; font-weight: 900; }
.cabina-faltan-txt { margin-left: 6px; color: #9a3412; font-size: 13px; font-weight: 700; }
.cabina-lleno { display: inline-block; padding: 6px 12px; border-radius: 8px; background: #16325c; color: #fff; font-weight: 800; }
.cabina-faltan-fila { grid-column: 1 / -1; }
.cabina-faltan-fila dd { display: inline-flex; align-items: center; gap: 2px; }
.cabina-miventa-caja {
    margin-top: 14px;
    padding: 14px 16px;
    border: 2px solid #16325c;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
}
.cabina-miventa-etiqueta {
    color: #5d6d82;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cabina-miventa-monto {
    margin-top: 4px;
    color: #e10600;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.1;
}
.cabina-miventa-detalle {
    margin-top: 4px;
    color: #16325c;
    font-size: 14px;
    font-weight: 700;
}
.cabina-miventa-bus {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #d5deea;
    color: #5d6d82;
    font-size: 13px;
}
.cabina-miventa-bus strong { color: #16325c; }
.cabina-fila-mia td { background: #f3fbf6; }
.cabina-fila-otra { opacity: .72; }
.cabina-leyenda { display: flex; gap: 14px; margin: 10px 0; color: #5d6d82; font-size: 12px; }
.cabina-leyenda i { display: inline-block; width: 14px; height: 14px; margin-right: 4px; border: 1px solid #c9d4e3; vertical-align: -2px; }
.cabina-leyenda .elegido { background: #d61f26; }
.cabina-leyenda .ocupado { background: #8aa0b8; }
.cabina-mapa { display: grid; grid-template-columns: repeat(4, 42px); gap: 6px; }
.cabina-silla { height: 32px; border: 1px solid #c9d4e3; border-radius: 6px; background: #fff; }
.cabina-silla.elegido { background: #d61f26; color: #fff; border-color: #d61f26; }
.cabina-silla.ocupado { background: #8aa0b8; color: #fff; }
.cabina-cobro { display: flex; align-items: center; gap: 22px; margin: 14px 0; padding: 14px 18px; background: #fff; border: 1px solid #d5deea; border-radius: 16px; box-shadow: 0 8px 24px #12325f0d; }
.cabina-cobro-junto {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 16px 0 0;
    padding: 12px 14px;
    box-shadow: none;
    background: #f7f9fc;
}
.cabina-cobro-acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cabina-enter-ayuda { margin: 0; }
.cabina-precio { color: #5d6d82; font-size: 14px; }
.cabina-precio strong { color: #16325c; font-size: 22px; margin-left: 6px; }
.cabina-total { color: #e10600; font-size: 30px; }
.cabina-cobrar { min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: #e10600; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; flex: 1 1 auto; }
.cabina-cobrar:disabled { background: #e7a0a3; }
.cabina-limpiar { min-height: 52px; padding: 0 18px; border: 1px solid #c9d4e3; border-radius: 12px; background: #fff; color: #16325c; font-weight: 700; }
.cabina-alerta { color: #9a3412; background: #fff7ed; border-radius: 8px; padding: 8px 10px; }
.cabina-vendidos { margin-top: 0; }
.cabina-vendidos-cab { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cabina-vendidos-cab h2 { margin: 0 0 4px; }
.cabina-vendidos-ayuda { margin: 0; max-width: 42rem; }
.cabina-vendidos-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.cabina-vendidos .cabina-quitar { margin-left: 0; }
.cabina-vendidos-scroll {
    max-height: min(42vh, 420px);
    overflow: auto;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #fff;
}
.cabina-vendidos-scroll .cabina-tabla { margin: 0; }
.cabina-vendidos-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 1px 0 #e6edf5;
}
.cabina-fila-bloqueada { opacity: .62; }
.cabina-tabla { width: 100%; border-collapse: collapse; font-size: 13px; }
.cabina-tabla th, .cabina-tabla td { padding: 8px 10px; border-bottom: 1px solid #e6edf5; text-align: left; color: #16325c; }
.cabina-tabla th { color: #5d6d82; font-weight: 700; background: #f4f7fb; }
.cabina-tabla tr:hover td { background: #f8fafc; }
.cabina-tabla .cabina-secundario { min-height: 30px; font-size: 12px; }
@media (max-width: 1100px) {
    .cabina-buses-fila, .cabina-trabajo { grid-template-columns: 1fr; }
    .cabina-top { flex-wrap: wrap; height: auto; padding: 10px 16px; }
}

/* Gestión comercial · oficina */
.gc-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
    padding: 22px 24px;
    border-radius: 18px;
    color: #f4f7fb;
    background:
        radial-gradient(circle at 88% 12%, #d61f2640 0%, transparent 42%),
        linear-gradient(135deg, #10243f 0%, #1b365d 55%, #16325c 100%);
    box-shadow: 0 16px 36px #10243f22;
}
.gc-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9eb6d4;
}
.gc-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.gc-hero-copy p:last-child {
    margin: 0;
    max-width: 54ch;
    color: #c9d8ea;
    line-height: 1.45;
}
.gc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}
.gc-hero-actions .mud-input-control { min-width: 160px; background: #fff; border-radius: 10px; }
.gc-hero-actions .gc-btn-facturas {
    background: #fff !important;
    color: #10243f !important;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 10px;
    min-height: 42px;
    box-shadow: none;
}
.gc-acciones {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.gc-acciones-principales {
    grid-template-columns: minmax(200px, 300px) minmax(180px, 260px) minmax(160px, 220px);
    justify-content: start;
}
.gc-mes-resumen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: baseline;
    margin-bottom: 14px;
    color: #5d6d82;
    font-size: 14px;
}
.gc-mes-resumen strong {
    color: #10243f;
    font-size: 1.15rem;
    text-transform: capitalize;
}
.gc-calendario {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
.gc-cal-cab {
    text-align: center;
    color: #6b7c90;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 0;
}
.gc-cal-vacio { min-height: 72px; }
.gc-cal-dia {
    min-height: 84px;
    padding: 10px;
    border: 1px solid #d7e0ec;
    border-radius: 12px;
    background: #fff;
    color: #16325c;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.gc-cal-dia:hover {
    border-color: #1b365d;
    box-shadow: 0 10px 22px #12325f12;
}
.gc-cal-dia-activo {
    border-color: #1b365d;
    background: #f3f7fc;
    box-shadow: 0 12px 24px #1b365d14;
}
.gc-cal-dia-vacio {
    opacity: .72;
}
.gc-cal-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.gc-cal-meta {
    display: block;
    color: #6b7c90;
    font-size: 11px;
    line-height: 1.35;
}
.gc-cal-ok { color: #1f7a45; font-weight: 600; }
.gc-acciones-tipos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0;
}
.gc-accion-meta {
    display: block;
    margin-top: 2px;
    color: #6b7c90;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}
.gc-acciones .mud-button-root.gc-accion-principal {
    background: #1b365d;
    border-color: #1b365d;
    color: #fff;
}
.gc-acciones .mud-button-root.gc-accion-principal .mud-button-icon-start,
.gc-acciones .mud-button-root.gc-accion-principal .mud-icon-root {
    color: #fff;
}
.gc-acciones .mud-button-root.gc-accion-principal:hover {
    background: #152a4a;
    border-color: #152a4a;
    color: #fff;
}
.gc-accion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 96px;
    padding: 16px;
    border: 1px solid #d7e0ec;
    border-radius: 14px;
    background: #fff;
    color: #16325c;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 8px 20px #12325f08;
}
.gc-accion:hover {
    transform: translateY(-2px);
    border-color: #1b365d;
    box-shadow: 0 14px 28px #12325f14;
}
.gc-accion .mud-icon-root { color: #1b365d; }
.gc-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.gc-kpi {
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2eaf3;
    box-shadow: 0 10px 24px #12325f0a;
}
.gc-kpi-label {
    display: block;
    margin-bottom: 8px;
    color: #5d6d82;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.gc-kpi strong {
    display: block;
    color: #10243f;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.gc-kpi-meta { display: block; margin-top: 8px; color: #6b7c90; font-size: 12px; }
.gc-kpi-up { color: #1f7a45; font-weight: 600; }
.gc-kpi-warn { color: #b45309; font-weight: 600; }
.gc-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .9fr);
    gap: 14px;
    margin-bottom: 18px;
}
.gc-panel {
    margin-bottom: 18px;
    padding: 18px 18px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2eaf3;
    box-shadow: 0 12px 28px #12325f0a;
}
.gc-panel h2, .gc-subtitulo {
    margin: 0 0 4px;
    color: #10243f;
    font-size: 1.1rem;
    font-weight: 800;
}
.gc-panel-cab p, .gc-panel > p {
    margin: 0;
    color: #6b7c90;
    font-size: 13px;
}
.gc-panel-cab {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.gc-panel-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: end;
}
.gc-panel-lado { align-self: start; }
.gc-estado-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gc-estado-lista li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    color: #5d6d82;
    font-size: 13px;
}
.gc-estado-lista strong { color: #16325c; font-weight: 700; }
.gc-ok { color: #1f7a45 !important; }
.gc-warn { color: #b45309 !important; }
.gc-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.gc-chip-ok { background: #e8f7ee; color: #166534; }
.gc-chip-warn { background: #fff4e5; color: #9a3412; }
.gc-chip-bad { background: #fde8e8; color: #b91c1c; }
.gc-chip-muted { background: #eef2f7; color: #475569; }
.gc-tabla .mud-table-head .mud-table-cell { background: #f4f7fb; color: #5d6d82; font-weight: 700; }
.gc-emitir { scroll-margin-top: 84px; }
@media (max-width: 1100px) {
    .gc-acciones, .gc-kpis, .gc-panel-grid { grid-template-columns: 1fr 1fr; }
    .gc-acciones-principales { grid-template-columns: 1fr 1fr; }
    .gc-acciones-tipos { grid-template-columns: 1fr 1fr; }
    .gc-calendario { gap: 6px; }
    .gc-cal-dia { min-height: 72px; padding: 8px; }
}
@media (max-width: 700px) {
    .gc-acciones, .gc-kpis, .gc-panel-grid { grid-template-columns: 1fr; }
    .gc-acciones-principales, .gc-acciones-tipos { grid-template-columns: 1fr; }
    .gc-cal-meta { display: none; }
    .gc-cal-dia { min-height: 48px; }
}
.gc-acciones .mud-button-root.gc-accion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-height: 96px;
    height: 100%;
    padding: 16px;
    border-radius: 14px;
    text-transform: none;
    font-weight: 700;
    letter-spacing: 0;
    color: #16325c;
    background: #fff;
    border-color: #d7e0ec;
    box-shadow: 0 8px 20px #12325f08;
}
.gc-acciones .mud-button-root.gc-accion .mud-button-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.gc-acciones .mud-button-root.gc-accion .mud-button-icon-start {
    margin: 0;
    color: #1b365d;
}
.gc-acciones .mud-button-root.gc-accion-activa,
.gc-acciones .mud-button-root.gc-accion:hover {
    border-color: #1b365d;
    background: #f3f7fc;
    box-shadow: 0 14px 28px #12325f14;
}
.gc-emitir-activo {
    border-color: #1b365d !important;
    box-shadow: 0 16px 32px #1b365d1a !important;
}
