@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
    --bg: #e8dfd0;
    --card: #f7f1e6;
    --ink: #1c1915;
    --muted: #7a7268;
    --line: #d4c8b4;
    --ok: #c4bfb6;
    --warn: #7a7268;
    --bad: #5c574f;
    --acc: #c4bfb6;
    --gray: #c4bfb6;
    --paper: #f4eee3;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.campo-body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
}
a { color: var(--ink); }
h1, h2, .campo-logo b {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
}
.campo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.campo-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
    color: var(--ink);
}
.campo-logo img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 220px;
    background: transparent;
}
.campo-logo small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-family: "Source Sans 3", sans-serif; }
.campo-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.campo-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    background: #efe8db;
    font-size: 14px;
    font-weight: 600;
}
.campo-nav a.on, .campo-nav a:hover {
    background: var(--gray);
    color: #111;
}
.nav-ico { width: 16px; height: 16px; flex-shrink: 0; }
.campo-wrap { max-width: 960px; margin: 0 auto; padding: 18px 14px 40px; }
.campo-box, .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}
h1 { margin: 0 0 8px; font-size: 1.7rem; }
h2 { margin: 0 0 12px; font-size: 1.25rem; }
.muted { color: var(--muted); }
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
    width: 100%;
    padding: 14px 12px;
    border-radius: 10px;
    border: 1px solid #cbbba3;
    background: #fffdf8;
    color: var(--ink);
    font-size: 17px;
    font-family: inherit;
}
.btn, button.btn {
    display: inline-block;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
    background: var(--gray);
    color: #111;
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-ok { background: var(--gray); color: #111; }
.btn-ghost { background: #efe8db; color: #111; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sec-catalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.sec-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 6px solid #4a4a4a;
    border-radius: 10px;
    padding: 10px 12px;
}
.sec-card b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-family: "Source Sans 3", sans-serif; }
.sec-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.sec-punto { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.sec-catalogo-grande { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sec-pets { margin: 10px 0 0; padding: 0 0 0 18px; color: var(--ink); font-size: 13px; }
.sec-pets li { margin: 3px 0; }
.sec-destino {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-left: 6px solid #4a4a4a;
    border-radius: 10px;
    background: #efe8db;
    font-size: 15px;
}
.sec-pill { display: inline-block; color: #fff; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.sec-apagada { opacity: .55; }
.color-fila { display: flex; gap: 10px; align-items: center; }
.color-fila input[type="color"] {
    width: 56px;
    height: 46px;
    padding: 4px;
    cursor: pointer;
    background: #fffdf8;
    flex: 0 0 auto;
}
.color-fila input[type="text"], .color-fila input:not([type="color"]) { margin: 0; }
.pet-row { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.pet-row input { margin: 0; }
.pet-row .btn { width: auto; margin: 0; padding: 10px 12px; flex: 0 0 auto; }
.comprobante .folio { font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; margin: 8px 0; font-family: "Cormorant Garamond", Georgia, serif; }
.comprobante-txt {
    white-space: pre-wrap;
    background: #efe8db;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.45;
}
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-size: 1.6rem; }
.kpi span { color: var(--muted); font-size: 13px; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.verde { background: #1c1915; color: #f7f1e6; }
.amarillo { background: #c4bfb6; color: #111; }
.rojo { background: #efe8db; color: #1c1915; }
.prio-urgente { background: #7a3030; color: #f7f1e6; }
.prio-media { background: #8a5a2b; color: #f7f1e6; }
.prio-normal { background: #efe8db; color: #1c1915; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.flash { padding: 12px; border-radius: 10px; margin-bottom: 12px; }
.flash.ok { background: #efe8db; }
.flash.error { background: #e4d5c4; }
.campo-mapa {
    height: 440px;
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    background: #efe8db;
    z-index: 1;
}
.campo-mapa-ruta { height: 520px; cursor: crosshair; }
#mapa-ruta, #alta-sec { scroll-margin-top: 12px; }
.zona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 14px;
}
.zona-brujula {
    grid-template-columns: 1fr 1fr 1fr;
}
.zona-eje {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 6px 4px;
    border-radius: 12px;
    background: #e8dfd0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}
.zona-eje span {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.zona-brujula .zona-card {
    padding: 10px 8px;
}
.zona-brujula .zona-card b { font-size: 1rem; line-height: 1.15; }
.zona-brujula .zona-card span { font-size: 11px; }
.zona-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #efe8db;
    font: inherit;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    position: relative;
    opacity: .62;
    transition: background .15s ease, color .15s ease, opacity .15s ease, box-shadow .15s ease, transform .15s ease;
}
.zona-card b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; }
.zona-card span { color: var(--muted); font-size: 13px; font-weight: 700; }
.zona-card.falta { border-left: 6px solid #c45c4a; }
.zona-card.hoy { border-left: 6px solid #d4a017; }
.zona-card.visitada { border-left: 6px solid #2d6a4f; }
.zona-card.on {
    opacity: 1;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 6px 0 rgba(28, 25, 21, .22);
    border-width: 3px !important;
    border-left-width: 8px !important;
}
.zona-card.on b,
.zona-card.on span { color: #fff; }
.zona-card.on .zona-punto {
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.35);
}
.zona-card.on::after {
    content: "Elegido";
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255,255,255,.2);
    padding: 3px 8px;
    border-radius: 99px;
}
.zona-card[data-zona="norte"].on { background: #3d5a80; border-color: #2a3f5c !important; }
.zona-card[data-zona="oriente_norte"].on { background: #3d6b5c; border-color: #2a4c42 !important; }
.zona-card[data-zona="oriente"].on { background: #4d6b3c; border-color: #3a522e !important; }
.zona-card[data-zona="oriente_sur"].on { background: #6b6b30; border-color: #4f4f24 !important; }
.zona-card[data-zona="sur"].on { background: #8a5a2b; border-color: #6b4520 !important; }
.zona-card[data-zona="poniente_sur"].on { background: #8a3d2b; border-color: #6b2e20 !important; }
.zona-card[data-zona="poniente"].on { background: #7a3030; border-color: #5c2424 !important; }
.zona-card[data-zona="poniente_norte"].on { background: #5a3d58; border-color: #3f2b3e !important; }
.zona-punto {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 4px;
}
.zona-etiq {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center;
    color: #1c1915;
    font-weight: 800;
    line-height: 1.15;
}
.zona-etiq b { display: block; font-size: 13px; }
.zona-etiq small { display: block; font-size: 11px; font-weight: 700; color: #5c574f; }
.ruta-busca-fila {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 6px;
}
.ruta-busca-fila input { margin: 0; }
.ruta-busca-fila .btn { width: auto; flex: 0 0 auto; white-space: nowrap; }
.ruta-num {
    background: #1c1915 !important;
    border: 1px solid #f7f1e6 !important;
    border-radius: 50% !important;
    color: #f7f1e6;
    font-weight: 800;
    font-size: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(28, 25, 21, .25);
}
.ruta-num.hecho {
    background: #f7f1e6 !important;
    color: #1c1915;
    border-color: #1c1915 !important;
}
.ruta-pinta {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.ruta-pinta b {
    display: block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(28, 25, 21, .28);
}
.leyenda-pinta {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    background: #8a5a2b;
    opacity: .7;
    vertical-align: middle;
    margin-right: 4px;
}
.ruta-pick {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #efe8db;
}
.ruta-pick-txt { font-weight: 700; margin: 0 0 10px; }
.lugar-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.lugar-chip {
    border: 1px solid var(--line);
    background: #f7f1e6;
    border-radius: 999px;
    padding: 6px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    color: var(--ink);
}
.lugar-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
.ruta-badge {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1c1915;
    color: #f7f1e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    margin-top: 2px;
}
.ruta-badge.hecho { background: #1b8a48; color: #fff; border: 0; }
.bandera-ico {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.bandera {
    position: relative;
    display: block;
    width: 22px;
    height: 32px;
    pointer-events: auto;
}
.bandera .asta {
    position: absolute;
    left: 3px;
    top: 0;
    width: 2px;
    height: 32px;
    background: #1c1915;
    border-radius: 1px;
    z-index: 2;
}
.bandera .pano {
    position: absolute;
    left: 5px;
    top: 1px;
    width: 16px;
    height: 11px;
    transform-origin: left center;
    animation: ondear 1.15s ease-in-out infinite;
    clip-path: polygon(0 0, 100% 10%, 78% 50%, 100% 90%, 0 100%);
    box-shadow: 1px 1px 2px rgba(28, 25, 21, .18);
}
.bandera.falta .pano { background: #d32f2f; }
.bandera.visitada .pano { background: #1b8a48; }
.bandera.leyenda-bandera {
    width: 20px;
    height: 22px;
    flex-shrink: 0;
}
.bandera.leyenda-bandera .asta { height: 22px; }
@keyframes ondear {
    0%, 100% { transform: skewY(0deg) scaleX(1); }
    25% { transform: skewY(-11deg) scaleX(0.92); }
    50% { transform: skewY(5deg) scaleX(1.06); }
    75% { transform: skewY(-7deg) scaleX(0.96); }
}
@media (prefers-reduced-motion: reduce) {
    .bandera .pano { animation: none; }
}
.leyenda-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--muted);
}
.leyenda-muestra {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    background: #f7f1e6;
    color: #1c1915;
}
.leyenda-muestra.falta { color: #6e675e; }
.leyenda-muestra.hoy {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1c1915;
    color: #f7f1e6;
    justify-content: center;
    padding: 0;
    font-size: 11px;
}
.leyenda-muestra.visitada { color: #1c1915; }
.mapa-leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
}
.mapa-leyenda label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.mapa-leyenda input { width: auto; margin: 0; }
.mapa-etiq {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2px 7px;
    font-weight: 800;
    font-size: 12px;
    box-shadow: none;
}
.mapa-etiq::before { display: none; }
.campo-opcional {
    margin: 14px 0;
    padding: 10px 12px;
    border: 1px dashed #cbbba3;
    border-radius: 10px;
    background: #efe8db;
}
.campo-opcional summary {
    cursor: pointer;
    font-weight: 700;
}
.visita-zona-tit { margin: 18px 0 8px; font-size: 1.1rem; }
.cadena-box {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #efe8db;
}
.cadena-lista {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.cadena-nodo {
    position: relative;
    margin: 0;
    padding: 12px 12px 12px 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}
.cadena-nodo + .cadena-nodo { margin-top: 22px; }
.cadena-nodo + .cadena-nodo::before {
    content: "";
    position: absolute;
    left: 16px;
    top: -22px;
    width: 2px;
    height: 22px;
    background: var(--ink);
}
.cadena-nodo::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 3px #efe8db;
}
.cadena-nodo.hoy {
    background: #e4d9c6;
    box-shadow: inset 0 0 0 2px var(--ink);
}
.cadena-nodo.on {
    background: #dcc9a8;
    box-shadow: inset 0 0 0 3px var(--ink);
}
.cadena-elegir {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.cadena-elegir b {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    letter-spacing: .04em;
    line-height: 1.1;
}
.cadena-acciones {
    margin-top: 14px;
}
.cadena-acciones .btn {
    width: auto;
}
.cadena-trae {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.35;
}
.cadena-trae b { font-size: 15px; letter-spacing: 0; font-family: inherit; }
.cadena-previa {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e8dcc8;
    font-size: 15px;
    line-height: 1.4;
}
.cadena-previa:empty { display: none; }
.cadena-nodo.pendiente {
    border-style: dashed;
    background: #f7f1e6;
}
.cadena-nodo.pendiente::after {
    background: transparent;
    border: 2px solid var(--ink);
    box-sizing: border-box;
}
.cadena-nodo b {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    letter-spacing: .04em;
    line-height: 1.1;
}
.cadena-nodo > .muted { display: block; margin: 2px 0 6px; font-size: 13px; }
.cadena-nodo ul { list-style: none; padding: 0; margin: 6px 0 0; }
.cadena-nodo li { font-size: 14px; margin: 6px 0; }
.cadena-nodo li small { color: var(--muted); margin-left: 6px; }
.cadena-nodo li a { margin-left: 8px; font-size: 12px; }
.cadena-nodo li form { display: inline; margin-left: 6px; }
.cadena-nodo li .btn { width: auto; display: inline-block; margin: 0; padding: 4px 8px; font-size: 12px; }
.paso-preg {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 8px;
}
.paso-preg span { font-weight: 700; }
.paso-preg .btn { width: auto; display: inline-block; margin: 0; padding: 6px 14px; }
.visita-cadena {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin: 0 0 16px;
}
.visita-flecha {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: var(--muted);
    font-size: 22px;
    font-weight: 700;
}
.visita-pack {
    flex: 1 1 180px;
    max-width: 280px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #efe8db;
}
.visita-pack.hoy { background: var(--gray); }
.visita-pack b { display: block; font-size: 1.3rem; letter-spacing: .04em; }
.visita-pack ul { list-style: none; padding: 0; margin: 8px 0 0; }
.visita-pack li { font-size: 14px; margin: 6px 0; }
.visita-pack li small { color: var(--muted); margin-left: 6px; }
.visita-pack li a { margin-left: 8px; font-size: 12px; }
.visita-pack li form { display: inline; margin-left: 6px; }
.visita-pack li .btn { width: auto; display: inline-block; margin: 0; padding: 4px 8px; font-size: 12px; }
.ruta-lista { list-style: none; padding: 0; margin: 12px 0 0; }
.ruta-lista li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.check-lista label { font-weight: 600; margin: 6px 0; display: flex; gap: 8px; align-items: center; }
.check-lista input { width: auto; }
.mesa-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #efe8db; }
.foto-rep { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }

body.campo-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: #1c1915;
    overflow: hidden;
    position: relative;
}
.login-collage {
    position: fixed;
    inset: -2%;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.15fr;
    grid-template-rows: 1.1fr 1.2fr;
    gap: 22px;
    background: #000;
    z-index: 0;
    pointer-events: none;
}
.login-collage span {
    display: block;
    overflow: hidden;
    min-height: 0;
    background: #111;
    will-change: transform;
}
.login-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.2) contrast(1.08);
    animation: collagePulso 22s ease-in-out infinite;
}
.login-collage span:nth-child(2) img { animation-delay: -6s; }
.login-collage span:nth-child(3) img { animation-delay: -11s; }
.login-collage span:nth-child(4) img { animation-delay: -3s; }
.login-collage span:nth-child(5) img { animation-delay: -15s; }
.login-collage span:nth-child(6) img { animation-delay: -8s; }
@keyframes collagePulso {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.login-velo {
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 72% 50%, rgba(28, 25, 21, .18), transparent 42%),
        linear-gradient(90deg, rgba(28, 25, 21, .55) 0%, rgba(28, 25, 21, .28) 42%, rgba(28, 25, 21, .5) 100%),
        linear-gradient(180deg, rgba(28, 25, 21, .15), rgba(28, 25, 21, .42));
    pointer-events: none;
}
.login-escena {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 40px;
    align-items: center;
}
.login-frase {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 600;
    line-height: 1.05;
    color: #f7f1e6;
    text-shadow: 0 12px 40px rgba(28, 25, 21, .55);
    letter-spacing: .01em;
}
.login-shell {
    width: 100%;
    position: relative;
}
.login-card {
    background: rgba(247, 241, 230, .94);
    backdrop-filter: blur(10px);
    padding: 42px 36px 30px;
    border-radius: 8px;
    border: 1px solid rgba(247, 241, 230, .7);
    box-shadow: 0 30px 80px rgba(20, 14, 8, .45);
    position: relative;
}
.login-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(150, 130, 100, .28);
    pointer-events: none;
}
.login-card .campo-logo { margin-bottom: 6px; }
.login-marca { display: block; text-decoration: none; }
.login-marca img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
    background: transparent;
}
.login-marca-sub {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.login-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4b396, transparent);
    margin: 18px 0 8px;
    border: 0;
}
.login-card h1 {
    margin: 10px 0 4px;
    font-size: 2.1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.login-card .lead {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}
.login-card form { margin-top: 8px; }
.login-foot {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: center;
}
.login-foot a {
    font-weight: 700;
    text-underline-offset: 2px;
}
.login-card .flash { margin: 10px 0 0; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 84px; }
.pass-ver {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: var(--gray);
    color: #111;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .login-collage img { animation: none; }
    .login-collage span { transition: none; }
}
@media (max-width: 700px) {
    .kpis, .grid, .zona-grid, .ruta-busca-fila { grid-template-columns: 1fr; }
    .ruta-busca-fila { flex-direction: column; }
    .campo-top { flex-direction: column; align-items: flex-start; }
    .login-escena { grid-template-columns: 1fr; gap: 18px; }
    .login-frase { font-size: 2rem; text-align: left; }
    .login-card { padding: 32px 22px 24px; }
}
