/* WAW · Barra común de las herramientas (2026-11, v2)
   Blindada contra los estilos de cada herramienta: sin etiquetas header/nav (FAT les
   pone bordes, márgenes y sticky), reinicio de todo lo interno con .wtb * y reglas
   con doble clase. Alto fijo de 56 px (48 px en celular), contenido centrado.
   Íconos con la fuente local «WAW Icons» bajo clase propia (.wtb-i). */
@font-face{font-family:"WAW TB Icons";font-style:normal;font-weight:900;font-display:block;src:url("../fonts/waw-icons-solid.woff2?v=4") format("woff2")}
.wtb{all:initial;display:block;box-sizing:border-box;position:relative;z-index:2147482000;width:100%;
  background:linear-gradient(90deg,#040a1c 0%,#0a1733 60%,#0b1a3d 100%);border-bottom:1px solid rgba(103,232,249,.16);
  box-shadow:0 6px 18px -10px rgba(0,0,0,.7);color:#e2e8f0;font:500 14px/1.2 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.wtb *,.wtb *::before,.wtb *::after{box-sizing:border-box;margin:0;padding:0;border:0;background:none;box-shadow:none;position:static;float:none;
  font:inherit;color:inherit;text-decoration:none;text-transform:none;letter-spacing:normal;width:auto;min-width:0;max-width:none;height:auto;min-height:0;top:auto;list-style:none;transform:none;filter:none;opacity:1}
.wtb .wtb__in{display:flex;align-items:center;gap:12px;height:56px;max-width:1440px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-left))}
.wtb .wtb-i{font-family:"WAW TB Icons";font-weight:900;font-style:normal;display:inline-block;width:1.2em;text-align:center;line-height:1;flex:none}
.wtb-i.fa-bolt::before{content:"\f0e7"}.wtb-i.fa-calculator::before{content:"\f1ec"}.wtb-i.fa-receipt::before{content:"\f543"}.wtb-i.fa-clipboard-check::before{content:"\f46c"}.wtb-i.fa-truck::before{content:"\f0d1"}.wtb-i.fa-file-lines::before{content:"\f15c"}.wtb-i.fa-plug-circle-bolt::before{content:"\e55b"}.wtb-i.fa-warehouse::before{content:"\f494"}.wtb-i.fa-cash-register::before{content:"\f788"}.wtb-i.fa-store::before{content:"\f54e"}.wtb-i.fa-list-check::before{content:"\f0ae"}.wtb-i.fa-cloud::before{content:"\f0c2"}.wtb-i.fa-building::before{content:"\f1ad"}.wtb-i.fa-user-shield::before{content:"\f505"}.wtb-i.fa-house::before{content:"\f015"}.wtb-i.fa-building-columns::before{content:"\f19c"}.wtb-i.fa-bullhorn::before{content:"\f0a1"}.wtb-i.fa-robot::before{content:"\f544"}.wtb-i.fa-shield-halved::before{content:"\f3ed"}.wtb-i.fa-users-gear::before{content:"\f509"}.wtb-i.fa-graduation-cap::before{content:"\f19d"}.wtb-i.fa-envelope::before{content:"\f0e0"}.wtb-i.fa-gem::before{content:"\f3a5"}.wtb-i.fa-book::before{content:"\f02d"}.wtb-i.fa-handshake::before{content:"\f2b5"}.wtb-i.fa-id-badge::before{content:"\f2c1"}.wtb-i.fa-microscope::before{content:"\f610"}.wtb-i.fa-cube::before{content:"\f1b2"}.wtb-i.fa-layer-group::before{content:"\f5fd"}.wtb-i.fa-circle-question::before{content:"\f059"}.wtb-i.fa-headset::before{content:"\f590"}.wtb-i.fa-user-circle::before{content:"\f2bd"}.wtb-i.fa-chevron-down::before{content:"\f078"}.wtb-i.fa-play::before{content:"\f04b"}.wtb-i.fa-briefcase::before{content:"\f0b1"}.wtb-i.fa-right-from-bracket::before{content:"\f2f5"}
.wtb .wtb__brand{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 8px 0 4px;border-radius:10px;font-weight:800;letter-spacing:.06em;color:#fff;flex:none}
.wtb .wtb__brand:hover{background:rgba(255,255,255,.06)}
.wtb .wtb__brand img{width:28px;height:28px;object-fit:contain;display:block;border-radius:6px}
.wtb .wtb__div{width:1px;height:24px;background:rgba(148,163,184,.25);flex:none}
.wtb .wtb__tool{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 14px 0 6px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);font-weight:700;color:#fff;min-width:0;flex:0 1 auto}
.wtb .wtb__tool .wtb-i{width:28px;height:28px;line-height:28px;border-radius:999px;background:var(--ac,#0e7fa8);color:#fff;font-size:13px}
.wtb .wtb__tname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wtb .wtb__sp{flex:1 1 auto}
.wtb .wtb__actions{display:flex;align-items:center;gap:8px;flex:none}
.wtb .wtb__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 14px;border-radius:10px;border:1px solid rgba(103,232,249,.2);background:rgba(255,255,255,.04);color:#e2e8f0;cursor:pointer;position:relative;white-space:nowrap;font-weight:600;transition:background .15s,border-color .15s}
.wtb .wtb__btn::-webkit-details-marker{display:none}
.wtb .wtb__btn::marker{content:""}
.wtb .wtb__btn:hover,.wtb .wtb__dd[open]>.wtb__btn{background:rgba(34,211,238,.12);border-color:rgba(103,232,249,.5);color:#fff}
.wtb .wtb__btn:focus-visible{outline:2px solid #22d3ee;outline-offset:2px}
.wtb .wtb__btn--pri{background:linear-gradient(135deg,#2f6bff,#22d3ee);border-color:transparent;color:#03122e;font-weight:700}
.wtb .wtb__btn--pri:hover{background:linear-gradient(135deg,#3b78ff,#3fdcf2);border-color:transparent;color:#03122e}
.wtb .wtb__btn .fa-chevron-down{font-size:10px;opacity:.7;transition:transform .15s}
.wtb .wtb__dd[open] .fa-chevron-down{transform:rotate(180deg)}
.wtb .wtb__badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font:700 11px/18px system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px #0a1733}
.wtb .wtb__dd{position:relative;display:block}
.wtb .wtb__menu{position:absolute;right:0;top:calc(100% + 8px);width:min(340px,calc(100vw - 24px));max-height:min(70vh,520px);overflow:auto;background:#0b1730;border:1px solid rgba(103,232,249,.25);border-radius:14px;padding:6px;box-shadow:0 22px 50px -12px rgba(0,0,0,.65);z-index:2}
.wtb .wtb__item{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;color:#dbe7fb}
.wtb .wtb__item:hover,.wtb .wtb__item:focus-visible{background:rgba(34,211,238,.1);color:#fff;outline:none}
.wtb .wtb__item .wtb-i{width:32px;height:32px;line-height:32px;border-radius:9px;background:var(--ac,#0e7fa8);color:#fff;font-size:14px}
.wtb .wtb__item>span{display:block;font-weight:600}
.wtb .wtb__item small{display:block;color:#8ea3c4;font-size:12px;font-weight:400;line-height:1.35;margin-top:2px;white-space:normal}
.wtb .wtb__item[aria-current="page"]{background:rgba(34,211,238,.12);box-shadow:inset 3px 0 0 #22d3ee}
.wtb .wtb__empty{display:block;padding:10px;color:#8ea3c4}
@media (max-width:900px){.wtb .wtb__btn{padding:0 11px}.wtb .wtb__brand span{display:none}}
@media (max-width:640px){
  .wtb .wtb__in{height:52px;gap:8px;padding:0 10px}
  .wtb .wtb__div{display:none}
  .wtb .wtb__btn span{display:none}
  .wtb .wtb__btn{width:40px;padding:0}
  .wtb .wtb__btn .fa-chevron-down{display:none}
  .wtb .wtb__btn--pri{width:auto;padding:0 12px}
  .wtb .wtb__btn--pri span{display:inline}
  .wtb .wtb__tool{padding:0 10px 0 5px;font-size:13px}
  .wtb .wtb__menu{position:fixed;left:12px;right:12px;top:58px;width:auto}
}
@media (max-width:440px){.wtb .wtb__tname{display:none}.wtb .wtb__tool{padding:0 5px;width:40px;justify-content:center}.wtb .wtb__in{gap:6px;padding:0 8px}.wtb .wtb__actions{gap:4px}.wtb .wtb__btn{width:36px}.wtb .wtb__btn--pri span{display:none}.wtb .wtb__btn--pri{width:36px;padding:0}}
@media (max-width:340px){.wtb .wtb__btn--pri span{display:none}.wtb .wtb__btn--pri{width:40px;padding:0}}
@media print{.wtb{display:none!important}}

/* Modo ERP: «Salir» es un formulario (POST con token) con el mismo aspecto que los botones */
.wtb .wtb__out{display:contents;margin:0}
/* 2026-12-16 · selector de idioma (es / en / ar) y escritura de derecha a izquierda */
.wtb .wtb-lang .wtb__menu{width:180px}
.wtb .wtb-lang .wtb__item{width:100%;background:none;border:0;font:inherit;cursor:pointer;text-align:start}
.wtb .wtb-lang .wtb__item[aria-checked="true"]{background:rgba(34,211,238,.12);box-shadow:inset 3px 0 0 #22d3ee}
[dir="rtl"] .wtb .wtb__menu{right:auto;left:0}
[dir="rtl"] .wtb .wtb__item[aria-current="page"],[dir="rtl"] .wtb .wtb-lang .wtb__item[aria-checked="true"]{box-shadow:inset -3px 0 0 #22d3ee}
@media (max-width:760px){[dir="rtl"] .wtb .wtb__menu{left:12px;right:12px}}
.wtb .wtb-lang__ic{flex:none;display:block}
.wtb .wtb-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
