.location-search textarea{display:block;width:100%;padding:15px;margin:10px 0;border:1px solid #a9c2d3;border-radius:10px;font:18px monospace}.location-search form>label{display:block;margin:16px 0}.location-dialog{width:min(1150px,96vw);max-height:94vh;overflow:auto;border:0;border-radius:20px;padding:28px;color:#18344b;box-shadow:0 20px 80px #0006;animation:location-enter .25s ease}.location-dialog::backdrop{background:#102b46c9}.location-top h2{font-size:30px;margin:0 0 10px}.location-top{border-bottom:1px solid #c5d7e2;padding-bottom:18px}.location-actions{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:20px 0}.location-actions label{display:block}.location-actions input{display:block;padding:12px;border:1px solid #9fb8ca;border-radius:8px;margin-top:8px}.location-actions p{flex-basis:100%;margin:0}.location-query>h3{font-size:22px;overflow-wrap:anywhere}.location-result{padding:24px;margin:18px 0;border:2px solid #c6d9e5;border-left-width:9px;border-radius:14px;background:#f5f9fc;overflow-wrap:anywhere}.location-state{font-size:20px;font-weight:800;letter-spacing:.04em;margin:0}.location-result>h3{font-size:27px;margin:12px 0}.location-serial{font:bold 19px monospace}.location-cliente{border-color:#159373;background:#edf9f3}.location-bodega{border-color:#277fa5;background:#edf7ff}.location-ruta{border-color:#795dc1;background:#f5f0ff}.location-devuelto{border-color:#566878;background:#eef1f4}.location-revision{border-color:#d77f13;background:#fff6e4}.location-warning{padding:15px;border-radius:8px;background:#fff1d7;color:#693900;font-weight:700}.location-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.location-fields dt{font-size:12px;text-transform:uppercase;color:#40596c}.location-fields dd{margin:5px 0;font-weight:600}.location-event{padding:12px 0;border-bottom:1px solid #c2d1db}.location-event p{margin:6px 0}.location-result summary{cursor:pointer;padding:16px 0;font-weight:700}@keyframes location-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media(max-width:680px){.location-dialog{padding:17px}.location-result{padding:17px}.location-fields{grid-template-columns:1fr}.location-actions{align-items:stretch;flex-direction:column}.location-result>h3{font-size:23px}}@media(prefers-reduced-motion:reduce){.location-dialog{animation:none}}

/* Acceso visual a búsqueda: lupa y texto comparten una sola acción. */
.equipment-search-card{border:2px solid #1183bd!important;background:linear-gradient(120deg,#effbff,#fff)!important;box-shadow:0 8px 25px #0a639419!important}.equipment-search-launch.button{display:flex;align-items:center;justify-content:flex-start;gap:20px;width:100%;min-height:118px;padding:20px 24px;border:2px solid #073e68;border-radius:17px;background:linear-gradient(115deg,#064c7c,#087797);color:#fff;text-align:left;box-shadow:0 5px 16px #07567930}.equipment-search-launch.button:hover{background:#064467;box-shadow:0 7px 22px #07567950}.equipment-search-launch.button:focus-visible{outline:4px solid #f6bf32;outline-offset:4px}.equipment-search-glass{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border-radius:50%;background:#ffda68;color:#17354a;box-shadow:0 0 0 7px #ffda6820}.equipment-search-glass svg{width:57px;height:57px;animation:equipment-lupa 3.6s ease-in-out infinite}.equipment-search-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.equipment-search-copy strong{font-size:clamp(22px,3vw,30px);line-height:1.15;letter-spacing:.025em}.equipment-search-copy>span{font-size:16px;line-height:1.4;color:#fff}.equipment-search-arrow{margin-left:auto;font-size:32px;font-weight:700}
.nav-btn[data-page="ubicacion"]{border:2px solid #ffda68!important;background:#ffda68!important;color:#12354d!important;box-shadow:0 3px 15px #0002;margin-top:10px!important;margin-bottom:10px!important;font-weight:800!important}.nav-btn[data-page="ubicacion"] .nav-label small{color:#27465b!important;opacity:1!important}.nav-btn[data-page="ubicacion"] .nav-icon{background:#12354d!important;color:#ffda68!important;width:44px!important;height:44px!important;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.nav-btn[data-page="ubicacion"] .nav-icon svg{width:30px;height:30px;animation:equipment-lupa 3.6s ease-in-out infinite}.nav-btn[data-page="ubicacion"]:focus-visible{outline:3px solid white;outline-offset:3px}.nav-btn[data-page="ubicacion"].active{background:#ffe89e!important;border-color:white!important}
@keyframes equipment-lupa{0%,65%,100%{transform:translate(0,0) rotate(0)}20%{transform:translate(-3px,-2px) rotate(-9deg)}42%{transform:translate(3px,1px) rotate(7deg)}}
@media(max-width:540px){.equipment-search-launch.button{gap:14px;padding:18px 14px;min-height:110px}.equipment-search-glass{flex-basis:58px;width:58px;height:58px}.equipment-search-glass svg{width:43px;height:43px}.equipment-search-copy strong{font-size:21px}.equipment-search-copy>span{font-size:14px}.equipment-search-arrow{display:none}}
@media(prefers-reduced-motion:reduce){.equipment-search-glass svg,.nav-btn[data-page="ubicacion"] .nav-icon svg{animation:none}}

.equipment-status-dialog{max-width:760px;text-align:center}.equipment-status-icon{font-size:56px;font-weight:800;color:#23864f;margin:8px 0 20px}.equipment-status-dialog h2,.equipment-status-panel h2{font-size:clamp(21px,3vw,32px);line-height:1.2}.equipment-status-dialog .button{margin:10px 5px;min-height:48px}.equipment-status-panel{margin:16px 0}.equipment-status-panel .location-result{padding:24px}.equipment-status-dialog::backdrop{background:rgba(12,37,61,.65)}

/* Una ficha por pantalla; los datos extensos se abren solo a pedido. */
.location-dialog.location-compact{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;box-sizing:border-box;text-align:center}.location-compact-card{padding:20px 16px;border:1px solid #b9d8e8;border-radius:14px;overflow-wrap:anywhere}.location-compact-icon{color:#176a90;margin:0 auto 12px;width:58px;height:58px}.location-compact-icon svg{width:100%;height:100%}.location-compact h2{font-size:clamp(19px,4vw,25px);line-height:1.2;margin:8px 0 14px}.location-compact .location-serial{font-size:16px;margin:10px 0}.location-compact-place{font-size:19px;font-weight:750;margin:12px 0}.location-compact-note{font-size:15px;margin:8px 0}.location-compact-warning{font-size:13px;line-height:1.35;background:#fff0d1;color:#784708;padding:9px;border-radius:8px;margin:10px 0}.location-compact-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.location-compact-actions .button,.location-compact-pager .button{min-height:42px;font-size:14px;padding:10px 14px}.location-compact-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:13px}@media(max-height:600px){.location-dialog.location-compact{padding:10px}.location-compact-card{padding:12px}.location-compact-icon{width:36px;height:36px;margin-bottom:6px}.location-compact h2{font-size:19px;margin:6px 0}.location-compact-actions{margin-top:10px}.location-compact p{margin:7px 0}}

.location-dialog.location-compact{width:min(620px,calc(100vw - 24px))}.location-compact-card.location-cliente{background:white;border-color:#d6e4ed}.location-compact-card.location-cliente .location-compact-icon{width:76px;height:68px}.location-client-summary{text-align:left;margin:16px auto;padding:0 8px;max-width:480px}.location-client-summary p{display:block;font-size:16px;line-height:1.4;margin:10px 0}.location-client-name{font-weight:650}.location-client-order{font-weight:650}.location-compact-card.location-cliente .location-compact-warning{text-align:left;padding:12px;font-size:14px}.location-compact-card.location-cliente .location-compact-note{font-weight:650}.location-compact-actions .button:last-child{background:white;color:#075d9d;border:1px solid #075d9d}@media(max-height:600px){.location-compact-card.location-cliente .location-compact-icon{width:42px;height:38px}.location-client-summary{margin:8px auto}.location-client-summary p{font-size:14px;margin:6px 0}.location-compact-card.location-cliente .location-compact-warning{padding:8px;font-size:12px}}
.search-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.search-choice{display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 22px;border:2px solid #b8d4e6;border-radius:18px;background:white;color:#153752;cursor:pointer;font:inherit;box-shadow:0 5px 16px #163b5b12}.search-choice:hover{border-color:#087ab8;background:#eef8ff}.search-choice-icon{font-size:48px;background:#e1f2ff;border-radius:18px;padding:18px}.search-choice strong{font-size:22px}.search-choice small{font-size:15px}.history-dialog{width:min(900px,94vw)}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.history-heading h2{margin:0}.history-form{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.history-form label{font-size:14px;font-weight:700}.history-form input{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:13px;border:1px solid #aecada;border-radius:8px;font:inherit}.history-form .button{min-height:44px}.history-result{padding:18px;border:1px solid #bbd4e4;border-radius:12px;margin:12px 0}.history-result small{display:block;margin-bottom:12px;color:#6b541d}.history-coverage{font-size:14px}.history-pdf{width:100%;height:65vh;border:0;margin-top:15px}@media(max-width:620px){.search-choice-grid{grid-template-columns:1fr}.search-choice{padding:22px}.history-form{grid-template-columns:1fr 1fr}.history-form label:first-child{grid-column:1/-1}.history-heading h2{font-size:21px}.history-form .button{grid-column:1/-1}}

/* Estado persistente durante la consulta, con movimiento reducido accesible. */
.history-progress{display:flex;align-items:center;gap:18px;padding:22px;margin:18px 0;background:#e8f4ff;border:2px solid #2481bf;border-radius:16px;color:#123f60}.history-progress[hidden]{display:none}.history-progress strong{display:block;font-size:20px;line-height:1.35}.history-progress span:not(.history-spinner){display:block;font-size:15px;line-height:1.4;margin-top:7px}.history-spinner{flex:0 0 42px;width:42px;height:42px;border:5px solid #bcdcf1;border-top-color:#0876b9;border-radius:50%;animation:history-spin 1s linear infinite;box-sizing:border-box}@keyframes history-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.history-spinner{animation:none}}@media(max-width:620px){.history-dialog{width:calc(100vw - 24px);box-sizing:border-box;padding:18px}.history-progress{padding:15px;gap:12px}.history-progress strong{font-size:18px}.history-spinner{flex-basis:34px;width:34px;height:34px}}
